/* Author and Contact Sections Styles */

/* Author Section */
.author-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.author-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.author-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.author-avatar {
    flex-shrink: 0;
}

.author-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25);
    transition: transform 0.3s ease;
}

.author-image:hover {
    transform: scale(1.05);
}

.author-details {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.author-name {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 8px;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.author-title {
    font-size: 1.25rem;
    color: var(--color-secondary);
    margin-bottom: 16px;
    font-weight: 600;
}

.author-bio {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.author-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.credential {
    font-size: 0.875rem;
    color: #3b82f6;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.2s ease;
}

.credential:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-method {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-method:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--color-secondary);
    stroke-width: 2;
}

.contact-method h3 {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 12px;
}

.contact-method p {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.response-time {
    font-size: 0.875rem;
    color: var(--color-success);
    font-weight: 500;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.5;
}

.btn-primary {
    background: var(--color-secondary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-border);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .author-section {
        padding: 60px 0;
    }
    
    .author-content {
        padding: 40px;
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        justify-content: center;
    }
    
    .author-details {
        text-align: center;
        min-width: auto;
    }
    
    .author-image {
        width: 140px;
        height: 140px;
    }
    
    .author-credentials {
        justify-content: center;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-method {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .author-section {
        padding: 40px 0;
    }
    
    .author-content {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .contact-section {
        padding: 40px 0;
    }
    
    .author-name {
        font-size: 1.5rem;
    }
    
    .author-title {
        font-size: 1.125rem;
    }
    
    .author-bio {
        font-size: 1rem;
    }
    
    .author-image {
        width: 120px;
        height: 120px;
    }
    
    .credential {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    .contact-method {
        padding: 20px;
    }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(10px) translateX(-10px);
    }
    75% {
        transform: translateY(-10px) translateX(5px);
    }
}