/* About Doctor Pages Styles - Modern & Interactive */

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.about-hero-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Background mesh blobs for modern feel */
.about-hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -5%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 92, 48, 0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.about-hero-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 30%;
    height: 50%;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.about-hero-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.about-bio-col {
    flex: 1 1 500px;
    max-width: 600px;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.about-subtitle {
    display: inline-block;
    color: var(--color-accent-orange);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
}

.about-subtitle::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--color-accent-orange);
    margin-top: 5px;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.about-bio-col:hover .about-subtitle::after {
    width: 80px;
}

.about-title {
    color: var(--color-dark-blue);
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.about-qualifications {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 35px;
    line-height: 1.6;
    padding: 20px;
    background: rgba(0, 92, 48, 0.05);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 10px 10px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-qualifications:hover {
    transform: translateX(10px);
    box-shadow: 5px 5px 20px rgba(0,0,0,0.05);
}

.about-description p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366; 
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    animation: pulse-glow 2s infinite;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4);
}

.btn-icon {
    width: 24px;
    height: 24px;
}

/* Right Profile Column */
.about-profile-col {
    flex: 1 1 400px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
    opacity: 0;
}

.profile-image-wrap {
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding: 20px;
}

.profile-image-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--color-primary);
    border-radius: 30px;
    transform: rotate(-3deg);
    z-index: 0;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.profile-image-wrap:hover::before {
    transform: rotate(0deg) scale(1.02);
}

.doctor-img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    border-radius: 20px;
    height: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    animation: float 6s ease-in-out infinite;
}

.profile-mission {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    position: relative;
    border-top: 3px solid var(--color-accent-orange);
    transition: transform 0.3s ease;
}

.profile-mission:hover {
    transform: translateY(-5px);
}

.profile-mission p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-dark-blue);
    line-height: 1.7;
    margin: 0;
    font-weight: 600;
    font-style: italic;
}

.memberships-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.memberships-list li {
    position: relative;
    padding: 15px 15px 15px 40px;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    font-family: var(--font-body);
    color: var(--color-dark-blue);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.memberships-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-left-color: var(--color-accent-orange);
}

.memberships-list li::before {
    content: "✓";
    color: #fff;
    background: var(--color-primary);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
}

.about-socials {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.social-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-btn.facebook { background: #3b5998; }
.social-btn.linkedin { background: #0077b5; }
.social-btn.youtube { background: #ff0000; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
}
.social-btn:hover svg {
    transform: scale(1.2);
}

.social-btn.facebook:hover { box-shadow: 0 10px 20px rgba(59, 89, 152, 0.4); }
.social-btn.linkedin:hover { box-shadow: 0 10px 20px rgba(0, 119, 181, 0.4); }
.social-btn.youtube:hover { box-shadow: 0 10px 20px rgba(255, 0, 0, 0.4); }
.social-btn.instagram:hover { box-shadow: 0 10px 20px rgba(225, 48, 108, 0.4); }


/* FAQ & Booking Section */
.about-faq-section {
    padding: 0;
    background: #fff;
    border-top: 1px solid var(--color-border);
}

.faq-booking-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    padding: 0; 
    max-width: 100%;
}

.appointment-col {
    flex: 1 1 50%;
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, #001B36 100%);
    padding: 100px 5%;
    display: flex;
    justify-content: flex-end; 
    position: relative;
    overflow: hidden;
}

/* Glassmorphism Card for Booking */
.appointment-card {
    width: 100%;
    max-width: 500px;
    margin-right: auto;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

.form-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.form-subtitle {
    color: #cbd5e1;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

.about-appointment-form .form-group {
    margin-bottom: 20px;
}

.about-appointment-form .input-wrap {
    position: relative;
}

.about-appointment-form .form-control {
    width: 100%;
    padding: 18px 45px 18px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: rgba(255,255,255,0.05);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.about-appointment-form .form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

.about-appointment-form textarea.form-control {
    border-radius: 12px;
    resize: none;
}

.about-appointment-form .form-control:focus {
    border-color: var(--color-accent-orange);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1);
}

.about-appointment-form .input-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: rgba(255,255,255,0.6);
    pointer-events: none;
    transition: color 0.3s ease;
}

.about-appointment-form .form-control:focus + .input-icon {
    color: var(--color-accent-orange);
}

.about-appointment-form .input-wrap.align-top .input-icon {
    top: 20px;
    transform: none;
}

.submit-btn {
    background: var(--color-accent-orange);
    color: #fff;
    border: none;
    padding: 18px 35px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #e66b00;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 122, 0, 0.4);
}

/* FAQ Column */
.faq-col {
    flex: 1 1 50%;
    background: #f8fafc;
    padding: 100px 5%;
    display: flex;
    justify-content: flex-start;
}

.faq-list {
    width: 100%;
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.faq-toggle {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-dark-blue);
    transition: color 0.3s ease;
}

.faq-toggle:hover {
    color: var(--color-primary);
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: rgba(0, 92, 48, 0.1);
    color: var(--color-primary);
    font-size: 1.4rem;
    line-height: 1;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.faq-item.active .faq-icon {
    background: var(--color-primary);
    color: #fff;
    transform: rotate(135deg); /* playful spin to turn + into x */
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
    padding: 0 20px 0 72px; /* aligns with text, accounting for icon */
}

.faq-item.active .faq-content {
    padding-bottom: 25px;
}

.faq-content p {
    font-family: var(--font-body);
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-hero-section {
        padding: 60px 0;
    }
    .about-title {
        font-size: 2.2rem;
    }
    .faq-booking-container {
        flex-direction: column;
    }
    
    .appointment-col, .faq-col {
        padding: 60px 20px;
    }
    
    .appointment-card, .faq-list {
        margin: 0 auto;
    }
}

/* Feature Blocks */
.bio-blocks-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.bio-block-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.bio-block-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-left: 4px solid var(--color-primary);
}

.bio-block-card.highlight {
    background: linear-gradient(135deg, rgba(0, 92, 48, 0.05) 0%, rgba(0, 92, 48, 0.1) 100%);
    border-color: rgba(0, 92, 48, 0.1);
}

.bio-block-card.highlight:hover {
    border-left: 4px solid var(--color-accent-orange);
}

.bio-block-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.bio-block-card.highlight .bio-block-icon {
    color: var(--color-accent-orange);
}

.bio-block-icon svg {
    width: 24px;
    height: 24px;
}

.bio-block-text h4 {
    font-family: var(--font-heading);
    color: var(--color-dark-blue);
    font-size: 1.15rem;
    margin-bottom: 8px;
    margin-top: 0;
}

.bio-block-text p {
    font-family: var(--font-body);
    font-size: 0.95rem !important; 
    color: #475569 !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

.bio-block-text p strong {
    color: var(--color-dark-blue);
}
