/* ABOUT PAGE */
.about-main {
    padding-top: 2rem;
    padding-bottom: 4rem;
    overflow-x: hidden;
}

/* Image Hero Banner */
.about-hero-banner {
    position: relative;
    padding: 6rem 1.5rem 4rem;
    text-align: center;
    background-image: url('../../images/banners/banner-about.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: -6rem; /* adjust for main padding */
    margin-bottom: 0;
    min-height: 65vh; /* reasonable height for mobile */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 31, 63, 0.6), rgba(0, 31, 63, 0.8));
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 56rem;
    margin: 0 auto;
}

.about-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-family: "Manrope", sans-serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.about-hero-desc {
    font-size: 1.125rem;
    color: #e8f0ff;
    font-weight: 400;
    line-height: 1.625;
}

.about-hero-divider {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.about-hero-divider .divider-line {
    width: 4rem;
    height: 0.25rem;
    background-color: #b2fef6;
    border-radius: 9999px;
}

/* Our Story */
.about-story-section {
    padding: 2.5rem 1.5rem;
}

.story-grid {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
    align-items: stretch; /* Make items stretch to same height */
}

.story-image-col {
    position: relative;
    order: 2;
    perspective: 1000px;
    display: flex; /* Allow inner wrapper to take full height */
    flex-direction: column;
}

.story-image-backdrop {
    position: absolute;
    top: -1.5rem;
    right: -0.5rem;
    width: 14rem;
    height: 14rem;
    background: linear-gradient(135deg, rgba(0, 97, 164, 0.4), rgba(178, 254, 246, 0.4));
    border-radius: 50%;
    filter: blur(3rem);
    z-index: 1;
    animation: floatBackdrop 8s infinite ease-in-out alternate;
}

@keyframes floatBackdrop {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.1); }
}

.story-image-wrapper {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 97, 164, 0.2);
    background-color: #f2f4f6;
    position: relative;
    z-index: 10;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
    flex-grow: 1; /* Stretch to fill column */
    min-height: 24rem; /* Ensure fallback height on mobile */
}

.story-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 2rem;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 15;
}

.story-image-col:hover .story-image-wrapper {
    box-shadow: 0 35px 60px -15px rgba(0, 97, 164, 0.2);
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.story-floating-badge {
    position: absolute;
    bottom: -1rem;
    left: -0.5rem;
    background-color: #ffffff;
    padding: 1.25rem 1.75rem;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
    z-index: 20;
    animation: floatBadge 6s infinite ease-in-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.story-floating-badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px -5px rgba(0, 97, 164, 0.2);
    animation-play-state: paused;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.badge-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: #e8f0ff;
    color: #0061a4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon span {
    font-size: 1.75rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-text strong {
    font-size: 1.25rem;
    color: #191c1e;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
}

.badge-text span {
    font-size: 0.875rem;
    color: #43474a;
}

.story-text-col {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.story-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.story-subtitle {
    color: #136964;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.story-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #191c1e;
    font-family: "Manrope", sans-serif;
}

.story-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: #43474a;
    line-height: 1.625;
    font-size: 1.125rem;
}

.btn-approach {
    background-color: #0061a4;
    color: #ffffff;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    box-shadow: 0px 20px 40px rgba(0, 97, 164, 0.06);
    transition: opacity 0.2s;
    border: none;
    cursor: pointer;
    align-self: flex-start;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-approach:hover {
    opacity: 0.9;
}

.primary-color { color: #0061a4; }
.tertiary-color { color: #136964; }

/* Mission & Vision */
.about-mission-vision {
    padding: 4rem 1.5rem;
    background-color: #ffffff;
}

.mission-vision-container {
    max-width: 54rem;
    margin: 0 auto;
}

.mv-para-stack {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.mv-para {
    position: relative;
    padding: 2rem 2.5rem;
    background-color: #f8fbff;
    border-radius: 1.5rem;
    border-left: 5px solid #0061a4;
    transition: transform 0.3s ease;
}

.mv-para:nth-child(2) {
    background-color: #f1faf9;
    border-left-color: #136964;
}

.mv-para:hover {
    transform: translateX(10px);
}

.mv-label {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0061a4;
    margin-bottom: 0.75rem;
    display: block;
}

.mv-para:nth-child(2) .mv-label {
    color: #136964;
}

.mv-title-para {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1c1e;
    margin-bottom: 1rem;
    font-family: "Manrope", sans-serif;
}

.mv-desc-para {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #43474a;
    margin: 0;
}

/* Standardized Section Headers (Matched to Home Page "Excellence in Care") */
.section-header-block {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 3rem;
}

.section-header-subtitle {
    color: #f28c1b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
}

.section-header-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a1f44;
    font-family: "Manrope", sans-serif;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header-title .highlight-orange {
    color: #f28c1b;
}

.section-header-desc {
    color: #43474a;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 auto;
}

.section-header-block.left-aligned {
    text-align: left;
    margin-left: 0;
    margin-bottom: 0;
}

.section-header-title.no-margin {
    margin-bottom: 0;
}

/* Clinical Approach */
.about-clinical-approach {
    padding: 2.5rem 1.5rem;
}

.approach-container {
    max-width: 80rem;
    margin: 0 auto;
}

.approach-header {
    margin-bottom: 4rem;
    text-align: center;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.approach-title {
    font-size: 1.875rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: "Manrope", sans-serif;
}

.approach-desc {
    color: #43474a;
}

.approach-grid {
    display: grid;
    gap: 1.5rem;
}

.approach-card {
    padding: 2rem;
    border-radius: 1.5rem;
    background-color: rgba(232, 240, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s;
}

.approach-card.alt-bg {
    background-color: rgba(178, 254, 246, 0.3);
}
.approach-card.secondary-bg {
    background-color: rgba(217, 230, 218, 0.3);
}

.approach-icon-box {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.approach-card:hover .approach-icon-box {
    transform: scale(1.1);
}

.approach-icon {
    font-size: 1.875rem;
}
.compassion-icon {
    color: #0061a4;
}
.evidence-icon {
    color: #136964;
}
.holistic-icon {
    color: #556158;
}

.approach-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-family: "Inter", sans-serif;
}

.approach-card-desc {
    color: #43474a;
    font-size: 0.875rem;
    line-height: 1.625;
}

/* Achievements Redesign */
.about-achievements {
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #f8fbfd 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-achievements::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(178, 254, 246, 0.4) 0%, transparent 70%);
    z-index: 1;
}

.achievements-container {
    max-width: 80rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1.5rem;
}

.achievement-item {
    text-align: center;
    background-color: #ffffff;
    padding: 2.5rem 1rem;
    border-radius: 2rem;
    box-shadow: 0 20px 40px -15px rgba(0, 97, 164, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0, 97, 164, 0.05);
}

.achievement-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(0, 97, 164, 0.15);
    border-color: rgba(0, 97, 164, 0.15);
}

.achievement-number {
    font-size: 2.75rem;
    font-weight: 800;
    font-family: "Manrope", sans-serif;
    margin-bottom: 0.5rem;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.primary-number {
    background-image: linear-gradient(135deg, #0061a4, #003d6e);
}
.tertiary-number {
    background-image: linear-gradient(135deg, #136964, #0a3d3c);
}

.achievement-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #43474a;
    font-weight: 700;
}

/* CTA Section Redesign */
.about-cta-section {
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #00223d, #00497d);
    position: relative;
    overflow: hidden;
    margin: 3rem 1.5rem 0;
    border-radius: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 34, 61, 0.5);
}

.about-cta-section::after {
    content: '';
    position: absolute;
    bottom: -10rem;
    right: -10rem;
    width: 30rem;
    height: 30rem;
    background: radial-gradient(circle, rgba(178, 254, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-message {
    color: #ffffff;
    margin-bottom: 3rem;
    max-width: 42rem;
    font-size: 1.375rem;
    font-weight: 300;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    font-family: "Manrope", sans-serif;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.btn-secondary-link {
    padding: 1rem 2rem;
    border-radius: 9999px;
    background-color: transparent;
    color: #ffffff;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.125rem;
}
.btn-secondary-link:hover {
    border-color: #ffffff;
    background-color: rgba(255,255,255,0.1);
}

.btn-primary-link {
    padding: 1rem 2rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #136964, #0ecfa1);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 15px 30px -5px rgba(19, 105, 100, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.125rem;
}
.btn-primary-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -5px rgba(19, 105, 100, 0.6);
}

/* Responsive Styles */

@media (min-width: 768px) {
    /* Image Hero Banner */
    .about-hero-banner {
        padding: 3rem 3rem 3rem; /* adjust padding since min-height handles layout */
        min-height: 100vh; /* full height only on desktop/tablets */
        margin-bottom: 1rem;
    }
    .about-hero-title {
        font-size: 4.5rem; /* Make it more prominent on full screen */
    }
    .about-hero-desc {
        font-size: 1.5rem;
    }

    /* Our Story */
    .about-story-section {
        padding: 4rem 3rem;
    }
    .story-grid {
        grid-template-columns: 45fr 55fr;
    }
    .story-image-col {
        order: 1;
    }
    .story-image-backdrop {
        top: -3rem;
        right: -2rem;
    }
    .story-floating-badge {
        bottom: -1.5rem;
        left: -2rem;
    }
    .story-text-col {
        order: 2;
    }

    /* Mission & Vision */
    .about-mission-vision {
        padding: 4rem 3rem;
    }
    .mv-grid {
        grid-template-columns: 1fr 1fr;
    }
    .mv-card {
        padding: 3.5rem;
    }
    /* Clinical Approach */
    .about-clinical-approach {
        padding: 4rem 3rem;
    }
    .section-header-title {
        font-size: 2.5rem; /* keep consistent with home desktop */
    }
    .approach-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Achievements Responsive */
    .about-achievements {
        padding: 2rem 3rem;
    }
    .achievements-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    .achievement-number {
        font-size: 3.5rem;
    }

    /* CTA Section Responsive */
    .about-cta-section {
        padding: 5rem 4rem;
        margin: 3rem auto 2rem;
        max-width: 80rem;
    }
    .cta-message {
        font-size: 1.875rem;
        max-width: 48rem;
    }
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        width: auto;
        gap: 2rem;
    }
}

/* VERY LARGE SCREENS (TVs & Ultra-wide) */
@media (min-width: 1600px) {
    .story-grid,
    .mission-vision-container,
    .approach-container,
    .achievements-container,
    .about-cta-section {
        max-width: 100rem;
        width: 85%;
    }
}

@media (min-width: 2000px) {
    .story-grid,
    .mission-vision-container,
    .approach-container,
    .achievements-container,
    .about-cta-section {
        max-width: 125rem;
        width: 80%;
    }
    .about-hero-title {
        font-size: 6rem;
    }
    .about-hero-desc {
        font-size: 1.75rem;
    }
}

/* ================= SECTION ================= */

.about-clinical-approach {
    padding: 80px 5vw;
    background: #f8f9fb;
    text-align: center;
}

/* ================= HEADER ================= */

.section-header-subtitle {
    font-size: 12px;
    letter-spacing: 2px;
    color: #ff7a00;
    font-weight: 600;
}

.section-header-title {
    font-size: 42px;
    font-weight: 700;
    color: #0b1c39;
    margin: 10px 0;
}

.highlight-orange {
    color: #ff7a00;
}

.section-header-desc {
    color: #555;
    max-width: 600px;
    margin: auto;
}

/* ================= GRID ================= */

.approach-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ================= CARD ================= */

.approach-card {
    background: #f1f3f7;
    border-radius: 20px;
    padding: 40px 25px;
    transition: 0.4s ease;
    position: relative;
}

/* CENTER CARD (ACTIVE) */
.approach-card.active {
    background: #cfe8e8;
    transform: translateY(-10px);
}

/* HOVER EFFECT */
.approach-card:hover {
    transform: translateY(-10px);
}

/* ================= ICON ================= */

.icon-box {
    width: 70px;
    height: 70px;
    margin: auto;
    border-radius: 16px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* ================= TEXT ================= */

.approach-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.approach-card p {
    font-size: 14px;
    color: #555;
}

/* ================= RESPONSIVE ================= */

@media(max-width: 992px){
    .approach-grid{
        grid-template-columns: 1fr;
    }

    .approach-card.active{
        transform: none;
    }
}