/* ============================================================
   ABOUT.CSS — Section 2 (Creamy Gradient Background)
   Dr. Sk. Sarfaraz Ahmed — Family Physician, Naturopath & Nutrition Specialist
   ============================================================ */

.about-section {
    background: linear-gradient(135deg, #F8F6F1 0%, #F2EEE8 50%, #E8E2D7 100%);
    position: relative;
    overflow: hidden;
    padding: clamp(75px, 9vh, 90px) 0 clamp(16px, 2.5vh, 28px);
    display: flex;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.about-section .container-xl {
    width: 100%;
}

/* ── Three-Card Layout ──────────────────────────────────── */

.about-container-wrapper {
    display: grid;
    grid-template-columns: 0.95fr 0.95fr 1.1fr;
    gap: clamp(14px, 1.8vw, 24px);
    align-items: stretch;
}

/* ── Card 1: Left Banner Card ──────────────────── */

.about-card-left {
    background: #FFFFFF;
    border-radius: clamp(20px, 2vw, 28px);
    padding: clamp(20px, 2.8vh, 32px) clamp(18px, 2vw, 28px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: auto;
    border: 1px solid #E6E6E6;
    box-shadow: 0 12px 36px rgba(47, 58, 47, 0.04);
    position: relative;
    overflow: hidden;
}

.about-card-left::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(109, 138, 99, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.about-card-badge {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.68rem, 0.75vw, 0.72rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6D8A63;
    background: rgba(109, 138, 99, 0.12);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: clamp(6px, 1vh, 10px);
}

.about-card-left-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.45rem, 1.9vw, 1.95rem);
    font-weight: 600;
    color: #2F3A2F;
    line-height: 1.15;
    position: relative;
    z-index: 1;
    margin-bottom: clamp(10px, 1.4vh, 16px);
}

.about-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 clamp(10px, 1.4vh, 16px) 0;
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.1vh, 12px);
    position: relative;
    z-index: 1;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.78rem, 0.85vw, 0.84rem);
    color: #3A4A35;
    line-height: 1.42;
}

.about-feature-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: #6D8A63;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.about-feature-icon svg {
    width: 10px;
    height: 10px;
}

.about-card-left-bottom {
    position: relative;
    z-index: 1;
    padding-top: clamp(6px, 1vh, 10px);
}

.about-card-left-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.76rem, 0.82vw, 0.82rem);
    color: #5A6B5A;
    line-height: 1.5;
    margin: 0;
}

/* ── Card 2: Center Image Card with Pill Overlay Button ── */

.about-card-center {
    position: relative;
    border-radius: clamp(20px, 2vw, 28px);
    overflow: hidden;
    min-height: auto;
    height: 100%;
    box-shadow: 0 16px 40px rgba(47, 58, 47, 0.1);
}

.about-card-center-img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s ease;
}

.about-card-center:hover .about-card-center-img {
    transform: scale(1.04);
}

.about-card-center-btn-overlay {
    position: absolute;
    bottom: clamp(14px, 2.5vh, 22px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: max-content;
    max-width: 88%;
}

.about-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #6D8A63 0%, #7C9A72 100%);
    color: #FFFFFF !important;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.72rem, 0.8vw, 0.78rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: clamp(9px, 1.3vh, 12px) clamp(18px, 1.8vw, 26px);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(47, 58, 47, 0.25);
    transition: all 0.35s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

.about-pill-btn:hover {
    background: linear-gradient(135deg, #4D6845 0%, #6D8A63 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(47, 58, 47, 0.35);
}

/* ── Card 3: Right Details Card ─────────────────────────── */

.about-card-right {
    background: #FFFFFF;
    border-radius: clamp(20px, 2vw, 28px);
    padding: clamp(20px, 2.8vh, 32px) clamp(18px, 2vw, 28px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: auto;
    border: 1px solid #E6E6E6;
    box-shadow: 0 12px 36px rgba(47, 58, 47, 0.04);
}

.about-doctor-tagline {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.68rem, 0.75vw, 0.72rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6D8A63;
    margin-bottom: clamp(3px, 0.6vh, 6px);
}

.about-doctor-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 2.1vw, 2.1rem);
    font-weight: 600;
    color: #2F3A2F;
    margin-bottom: clamp(8px, 1.2vh, 14px);
    line-height: 1.15;
}

.about-doctor-bio {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.78rem, 0.85vw, 0.84rem);
    color: #5A6B5A;
    line-height: 1.55;
    margin-bottom: clamp(10px, 1.8vh, 18px);
}

.about-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(8px, 1.2vh, 14px) clamp(12px, 1.5vw, 20px);
    margin-bottom: clamp(12px, 2vh, 20px);
    padding-top: clamp(10px, 1.5vh, 14px);
    border-top: 1px solid #E6E6E6;
}

.about-meta-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.about-meta-label {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.7rem, 0.76vw, 0.74rem);
    font-weight: 700;
    color: #6D8A63;
    letter-spacing: 0.03em;
}

.about-meta-value {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.76rem, 0.82vw, 0.82rem);
    color: #2F3A2F;
    font-weight: 500;
    line-height: 1.35;
}

.about-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #6D8A63;
    color: #FFFFFF !important;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.72rem, 0.8vw, 0.78rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: clamp(9px, 1.3vh, 12px) clamp(18px, 1.8vw, 26px);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    white-space: nowrap;
}

.about-more-btn:hover {
    background-color: #4D6845;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(109, 138, 99, 0.35);
}

.about-more-btn svg {
    width: 14px;
    height: 14px;
    stroke: #FFFFFF;
    fill: none;
}

/* ── Responsive Layouts ─────────────────────────────────── */

@media (max-width: 1199px) and (min-width: 992px) {
    .about-container-wrapper {
        grid-template-columns: 1fr 0.9fr 1.1fr;
        gap: 14px;
    }
}

@media (max-width: 991px) {
    .about-section {
        min-height: auto;
        height: auto;
        padding: 70px 0;
        display: block;
    }
    .about-container-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .about-card-left {
        grid-column: span 2;
        min-height: auto;
    }
    .about-card-center {
        min-height: 380px;
    }
    .about-card-center-img {
        min-height: 380px;
    }
    .about-card-right {
        grid-column: span 2;
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .about-section {
        padding: 50px 0;
    }
    .about-container-wrapper {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .about-card-left {
        grid-column: span 1;
        min-height: auto;
        padding: 24px 20px;
    }
    .about-card-center {
        min-height: 360px;
    }
    .about-card-center-img {
        min-height: 360px;
    }
    .about-card-right {
        grid-column: span 1;
        min-height: auto;
        padding: 24px 20px;
    }
    .about-meta-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
