/* ABOUT PAGE STYLES */

/* ===== ABOUT HERO WITH BACKGROUND IMAGE ===== */
.about-hero {
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
    background: #1A3A2E; /* fallback colour */
}

/* Background Image */
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1920&h=600&fit=crop&crop=center');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Dark overlay for text readability */
.about-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 58, 46, 0.78);
    z-index: 1;
}

/* Container sits on top of the overlay */
.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.about-hero .accent-line {
    width: 60px;
    height: 3px;
    background: #c89f6c;
    margin: 12px auto 20px;
    border-radius: 4px;
}

.about-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== PSYCHOLOGIST SECTION ===== */
.psychologist-section {
    padding: 60px 0 70px;
    background: #ffffff;
}

.psychologist-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

/* ---------- MEDIUM CIRCLE PHOTO ---------- */
.psychologist-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.psychologist-photo {
    width: 100%;
    max-width: 250px;          /* medium size */
    aspect-ratio: 1/1;         /* square */
    border-radius: 50%;        /* circle */
    object-fit: cover;
    box-shadow: 0 12px 40px rgba(26, 58, 46, 0.15);
    display: block;
    margin: 0 auto;
}

/* ---------- PSYCHOLOGIST INFO ---------- */
.psychologist-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1A3A2E;
    margin-bottom: 4px;
}

.psychologist-info .title {
    font-size: 1.1rem;
    color: #c89f6c;
    font-weight: 600;
    margin-bottom: 16px;
}

.psychologist-info .bio {
    font-size: 1rem;
    color: #3a4a5a;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ===== 3-COLUMN QUALIFICATIONS LIST ===== */
.qualifications-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.qualifications-list li {
    display: flex;
    flex-direction: column;      /* icon above text for better vertical fit */
    align-items: flex-start;
    gap: 6px;
    padding: 16px 18px;
    background: #f8fafb;
    border-radius: 12px;
    border-left: 4px solid #c89f6c;
    transition: all 0.3s ease;
    font-size: 0.88rem;
    color: #1e1e2a;
    line-height: 1.5;
}

.qualifications-list li:hover {
    background: #f0f5f2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 58, 46, 0.08);
}

.qualifications-list li i {
    color: #c89f6c;
    font-size: 1.2rem;
    margin-bottom: 2px;
    flex-shrink: 0;
}

.qualifications-list li strong {
    color: #1A3A2E;
    font-weight: 700;
    display: block;
    font-size: 0.95rem;
}

.qualifications-list li .qual-desc {
    color: #3a4a5a;
    font-size: 0.82rem;
}

/* ===== ABOUT VALUES ===== */
.about-values {
    padding: 70px 0;
    background: #f8fafb;
}

.about-values .values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-values .value-card {
    background: #fff;
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid #eef2f4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-values .value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 77, 94, 0.06);
}

.about-values .value-card .icon {
    font-size: 2.2rem;
    color: #c89f6c;
    margin-bottom: 12px;
}

.about-values .value-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1A3A2E;
    margin-bottom: 6px;
}

.about-values .value-card p {
    color: #3a4a5a;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== ABOUT CTA – SEAMLESS FOOTER BLEND ===== */
.about-cta {
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
    isolation: isolate;
    background: radial-gradient(circle at 50% 30%, #3a4a3a 0%, #1f2c26 60%, #1d2622 100%);
    color: #fff;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(200, 159, 108, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
}

.about-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: radial-gradient(circle at 90% 10%, rgba(200, 159, 108, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 10% 90%, rgba(200, 159, 108, 0.05) 0%, transparent 40%);
    z-index: -1;
}

.about-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.about-cta p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
    opacity: 0.85;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.about-cta .btn-primary {
    background: #c89f6c;
    color: #1e1e2a;
    box-shadow: 0 4px 24px rgba(200, 159, 108, 0.35);
    transition: all 0.3s ease;
    font-weight: 600;
}

.about-cta .btn-primary:hover {
    background: #dab07e;
    box-shadow: 0 8px 40px rgba(200, 159, 108, 0.5);
    transform: translateY(-3px) scale(1.02);
}

/* ===== FLOATING WHATSAPP ICON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    font-size: 2.2rem;
    color: #fff;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 40px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .psychologist-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .psychologist-photo {
        max-width: 200px;
        margin: 0 auto;
    }

    .about-values .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-cta h2 {
        font-size: 2.2rem;
    }

    /* On tablet, qualifications go to 2 columns */
    .qualifications-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 80px 0 100px;
        min-height: 350px;
    }

    .about-hero h1 {
        font-size: 2.4rem;
    }

    .about-values .values-grid {
        grid-template-columns: 1fr;
    }

    .psychologist-info h2 {
        font-size: 1.8rem;
    }

    .about-cta {
        padding: 50px 0 60px;
    }

    .about-cta h2 {
        font-size: 2rem;
    }

    .about-cta p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float i {
        font-size: 1.8rem;
    }

    /* On mobile, qualifications stack */
    .qualifications-list {
        grid-template-columns: 1fr;
    }

    .qualifications-list li {
        text-align: left;
        flex-direction: row;      /* revert to icon+text side‑by‑side on small screens */
        align-items: flex-start;
        gap: 12px;
    }

    .qualifications-list li i {
        margin-bottom: 0;
        margin-top: 2px;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 60px 0 80px;
        min-height: 280px;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero p {
        font-size: 1rem;
    }

    .psychologist-photo {
        max-width: 150px;
    }

    .about-cta {
        padding: 40px 0 50px;
    }

    .about-cta h2 {
        font-size: 1.6rem;
    }

    .about-cta p {
        font-size: 0.95rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float i {
        font-size: 1.6rem;
    }
}