/* =========================================
   ABOUT PAGE
========================================= */


/* =========================================
   ABOUT HERO
========================================= */

.about-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            #001f4d 0%,
            #003b75 60%,
            #0056a6 100%
        );
    overflow: hidden;
}

.about-hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -150px;
    top: -100px;
    border: 80px solid rgba(255,255,255,.03);
    border-radius: 50%;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(212,160,23,.12),
            transparent 35%
        );
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero-content {
    max-width: 760px;
    padding: 80px 0;
}

.about-hero .section-tag {
    background: rgba(255,255,255,.10);
    color: var(--accent);
    border: 1px solid rgba(255,255,255,.15);
}

.about-hero h1 {
    color: #fff;
    font-size: 68px;
    line-height: 1.05;
    margin: 25px 0;
}

.about-hero h1 span {
    color: var(--accent);
}

.about-hero p {
    max-width: 680px;
    color: rgba(255,255,255,.88);
    font-size: 19px;
    line-height: 1.8;
}


/* =========================================
        MEET THE CEO
========================================= */

.ceo-section {
    position: relative;

    padding: 110px 0;

    background: #ffffff;

    overflow: hidden;
}


/* SUBTLE BACKGROUND DETAIL */

.ceo-section::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    top: -180px;

    border-radius: 50%;

    background: rgba(212,160,23,.06);

    pointer-events: none;
}


/* =========================================
        CEO GRID
========================================= */

.ceo-grid {
    position: relative;

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 90px;

    align-items: center;
}


/* =========================================
        CEO IMAGE
========================================= */

.ceo-visual {
    position: relative;

    padding: 0 20px 20px 0;
}


.ceo-image-frame {
    position: relative;

    z-index: 2;

    width: 100%;

    height: 580px;

    overflow: hidden;

    border-radius: 24px;

    background: #eef4f9;

    box-shadow:
        0 30px 70px rgba(0,0,0,.14);
}


/* GOLD FRAME */

.ceo-image-frame::before {
    content: "";

    position: absolute;

    inset: 0;

    border: 1px solid rgba(212,160,23,.35);

    border-radius: 24px;

    z-index: 2;

    pointer-events: none;
}


.ceo-image-frame img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition: transform .6s ease;
}


.ceo-image-frame:hover img {
    transform: scale(1.03);
}


/* GOLD OFFSET FRAME */

.ceo-visual::before {
    content: "";

    position: absolute;

    top: 25px;
    left: 25px;

    width: 100%;
    height: 100%;

    border: 2px solid var(--accent);

    border-radius: 24px;

    z-index: 1;
}


/* =========================================
        CEO BADGE
========================================= */

.ceo-badge {
    position: absolute;

    left: -15px;
    bottom: 45px;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 16px 22px;

    background: #ffffff;

    border-radius: 14px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.14);

    border-left: 4px solid var(--accent);
}


.ceo-badge > i {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0,74,153,.08);

    color: var(--primary);

    font-size: 17px;
}


.ceo-badge div {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.ceo-badge strong {
    color: var(--primary);

    font-size: 12px;

    letter-spacing: .06em;
}


.ceo-badge span {
    color: #718096;

    font-size: 11px;
}


/* =========================================
        CEO CONTENT
========================================= */

.ceo-content {
    position: relative;

    max-width: 680px;
}


.ceo-content .section-tag {
    margin-bottom: 22px;
}


.ceo-content h2 {
    margin: 0 0 25px;

    color: var(--primary);

    font-family: 'Poppins', sans-serif;

    font-size: clamp(2.5rem, 4vw, 4rem);

    line-height: 1.12;

    letter-spacing: -.035em;

    font-weight: 700;
}


.ceo-content h2 span {
    display: block;

    color: var(--accent);
}


.ceo-content > p {
    margin: 0 0 18px;

    color: #5f6f81;

    font-size: 16px;

    line-height: 1.9;
}


.ceo-content .ceo-intro {
    color: #405468;

    font-size: 18px;

    line-height: 1.85;

    font-weight: 500;
}


/* =========================================
        CEO QUOTE
========================================= */

.ceo-quote {
    position: relative;

    display: flex;

    gap: 18px;

    margin-top: 35px;

    padding: 25px 28px;

    background: #f8fbff;

    border-left: 4px solid var(--accent);

    border-radius: 0 16px 16px 0;
}


.quote-icon {
    flex-shrink: 0;

    color: var(--accent);

    font-size: 22px;
}


.ceo-quote p {
    margin: 0;

    color: var(--primary);

    font-size: 15px;

    line-height: 1.8;

    font-style: italic;
}


/* =========================================
        CEO SIGNATURE
========================================= */

.ceo-signature {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 30px;
}


.ceo-line {
    width: 45px;

    height: 2px;

    background: var(--accent);
}


.ceo-signature h3 {
    margin: 0 0 3px;

    color: var(--primary);

    font-size: 18px;

    font-weight: 700;
}


.ceo-signature span {
    color: #718096;

    font-size: 13px;
}


/* =========================================
        TABLET
========================================= */

@media (max-width: 992px) {

    .ceo-section {
        padding: 90px 0;
    }

    .ceo-grid {
        grid-template-columns: 1fr 1fr;

        gap: 55px;
    }

    .ceo-image-frame {
        height: 500px;
    }

    .ceo-content h2 {
        font-size: 2.7rem;
    }

    .ceo-content .ceo-intro {
        font-size: 16px;
    }

}


/* =========================================
        MOBILE
========================================= */

@media (max-width: 768px) {

    .ceo-section {
        padding: 70px 0;
    }


    .ceo-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }


    /* IMAGE */

    .ceo-visual {
        width: calc(100% - 15px);

        max-width: 520px;

        margin: 0 auto;

        padding-right: 15px;
        padding-bottom: 15px;
    }


    .ceo-image-frame {
        height: 460px;

        border-radius: 20px;
    }


    .ceo-image-frame::before {
        border-radius: 20px;
    }


    .ceo-visual::before {
        top: 15px;
        left: 15px;

        border-radius: 20px;
    }


    /* BADGE */

    .ceo-badge {
        left: -5px;

        bottom: 30px;

        padding: 13px 16px;
    }


    .ceo-badge > i {
        width: 36px;
        height: 36px;

        font-size: 14px;
    }


    .ceo-badge strong {
        font-size: 10px;
    }


    .ceo-badge span {
        font-size: 10px;
    }


    /* CONTENT */

    .ceo-content {
        max-width: 100%;

        text-align: center;
    }


    .ceo-content h2 {
        font-size: clamp(2rem, 9vw, 2.8rem);

        line-height: 1.15;
    }


    .ceo-content h2 span {
        display: inline;
    }


    .ceo-content > p,
    .ceo-content .ceo-intro {
        font-size: 15px;

        line-height: 1.8;
    }


    /* QUOTE */

    .ceo-quote {
        text-align: left;

        padding: 22px;
    }


    /* SIGNATURE */

    .ceo-signature {
        justify-content: center;
    }

}


/* =========================================
        SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .ceo-section {
        padding: 60px 0;
    }


    .ceo-image-frame {
        height: 390px;
    }


    .ceo-content h2 {
        font-size: 2rem;
    }


    .ceo-content .section-tag {
        font-size: 11px;
    }


    .ceo-quote {
        gap: 12px;

        padding: 18px;
    }


    .ceo-quote p {
        font-size: 13px;

        line-height: 1.7;
    }


    .ceo-badge {
        bottom: 20px;

        padding: 11px 13px;
    }

}

/* =========================================
   ABOUT INTRO
========================================= */

.about-intro {
    padding: 110px 0;
    background: #fff;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 80px;
    align-items: center;
}

.about-intro-content {
    max-width: 700px;
}

.about-intro-content h2 {
    color: var(--primary);
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 25px;
}

.about-intro-content h2 span {
    color: var(--accent);
}

.about-intro-content > p {
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-highlight {
    margin-top: 35px;
    padding: 25px 30px;
    border-left: 4px solid var(--accent);
    background: #f8fbff;
    border-radius: 0 15px 15px 0;
}

.about-highlight i {
    color: var(--accent);
    font-size: 22px;
    margin-bottom: 10px;
}

.about-highlight p {
    color: var(--primary);
    font-weight: 600;
    line-height: 1.7;
    margin: 0;
}


/* ABOUT CARD */

.about-intro-card {
    position: relative;
    padding: 55px 40px;
    text-align: center;
    background: linear-gradient(
        145deg,
        #002f67,
        #004f98
    );
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,.15);
}

.about-intro-card::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 50px solid rgba(255,255,255,.03);
    border-radius: 50%;
    top: -130px;
    right: -100px;
}

.about-card-logo {
    position: relative;
    z-index: 2;
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.about-card-logo span:first-child {
    color: var(--accent);
}

.about-intro-card h3 {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 25px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about-intro-card > p {
    position: relative;
    z-index: 2;
    color: var(--accent);
    font-weight: 600;
}

.about-card-line {
    width: 70px;
    height: 3px;
    background: var(--accent);
    margin: 25px auto;
}

.about-card-items {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.about-card-items div {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255,255,255,.08);
    border-radius: 12px;
    color: #fff;
}

.about-card-items i {
    width: 35px;
    color: var(--accent);
    text-align: center;
}


/* =========================================
   MISSION & VISION
========================================= */

.mission-vision {
    padding: 110px 0;
    background: #062e61;
}

.mission-vision .section-header h2 {
    color: #fff;
}

.mission-vision .section-header p {
    color: rgba(255,255,255,.8);
}

.mission-vision .section-tag {
    background: rgba(255,255,255,.10);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 90px 1fr;
    align-items: center;
    gap: 35px;
}

.mission-card,
.vision-card {
    position: relative;
    padding: 50px 45px;
    border-radius: 25px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
}

.vision-card {
    background: rgba(212,160,23,.10);
    border-color: rgba(212,160,23,.3);
}

.mv-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 28px;
    margin-bottom: 25px;
}

.mv-label {
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
}

.mission-card h3,
.vision-card h3 {
    color: #fff;
    font-size: 48px;
    margin: 5px 0 15px;
}

.mv-line {
    width: 70px;
    height: 4px;
    background: var(--accent);
    margin-bottom: 25px;
}

.mission-card p,
.vision-card p {
    color: rgba(255,255,255,.82);
    line-height: 1.9;
    margin: 0;
}

.mv-divider {
    height: 100%;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mv-divider::before {
    content: "";
    width: 2px;
    height: 100%;
    background: var(--accent);
    opacity: .6;
}

.mv-cross {
    position: absolute;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #fff;
    color: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}


/* =========================================
   CORE VALUES
========================================= */

.core-values {
    padding: 110px 0;
    background: #fff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
}

.value-card {
    display: grid;
    grid-template-columns: 90px 65px 1fr;
    gap: 20px;
    align-items: center;
    padding: 30px;
    border-radius: 20px;
    background: #f8fbff;
    border: 1px solid #e7edf4;
    transition: .3s ease;
}

.value-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(0,0,0,.08);
    border-color: var(--accent);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    background: var(--primary);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    border: 3px solid var(--accent);
}

.value-gold .value-icon {
    background: var(--accent);
}

.value-letter {
    color: var(--accent);
    font-family: Georgia, serif;
    font-size: 65px;
    font-weight: 700;
}

.value-content h3 {
    color: var(--primary);
    font-size: 25px;
    margin-bottom: 10px;
}

.value-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.values-motto {
    margin-top: 70px;
    text-align: center;
    color: var(--primary);
    font-family: Georgia, serif;
    font-size: 35px;
    font-style: italic;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.values-motto i {
    color: var(--accent);
    font-size: 20px;
}


/* =========================================
   WHY CHOOSE US
========================================= */

.why-us {
    padding: 110px 0;
    background: #f8fbff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.why-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #edf2f7;
    transition: .3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,.08);
}

.why-card > i {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 18px;
    background: rgba(212,160,23,.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.why-card h3 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--text-light);
    line-height: 1.7;
}


/* =========================================
   ABOUT CTA
========================================= */

.about-cta {
    padding: 100px 0;
    background:
        linear-gradient(
            135deg,
            #002f67,
            #0056a6
        );
    text-align: center;
}

.about-cta-content {
    max-width: 850px;
    margin: auto;
}

.about-cta .section-tag {
    background: rgba(255,255,255,.10);
}

.about-cta h2 {
    color: #fff;
    font-size: 50px;
    line-height: 1.15;
    margin: 20px 0;
}

.about-cta p {
    max-width: 700px;
    margin: 0 auto 35px;
    color: rgba(255,255,255,.85);
    font-size: 18px;
    line-height: 1.8;
}

.about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.about-cta .btn-outline {
    border: 2px solid rgba(255,255,255,.6);
    color: #fff;
}

.about-cta .btn-outline:hover {
    background: #fff;
    color: var(--primary);
}



/*=========================================
        SERVICES PAGE HERO
=========================================*/

.services-hero {
    position: relative;
    padding: 120px 0;
    background:
        linear-gradient(
            90deg,
            #061f49 0%,
            #003b75 55%,
            #005f6b 100%
        );
    overflow: hidden;
}

.services-hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -180px;
    top: -150px;
    border: 2px solid rgba(212,160,23,.25);
    border-radius: 50%;
}

.services-hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.services-hero .section-tag {
    background: rgba(255,255,255,.10);
    color: var(--accent);
    border: 1px solid rgba(255,255,255,.15);
}

.services-hero h1 {
    color: #fff;
    font-size: 64px;
    line-height: 1.05;
    margin: 25px 0;
}

.services-hero h1 span {
    color: #fff;
}

.services-hero h1 strong {
    color: var(--accent);
}

.services-hero p {
    max-width: 650px;
    color: rgba(255,255,255,.85);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.services-hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}


/*=========================================
        SERVICES INTRO
=========================================*/

.services-intro {
    padding: 100px 0 40px;
    background: #fff;
}


/*=========================================
        SERVICES GRID
=========================================*/

.services-list {
    padding: 40px 0 100px;
    background: #f8fbff;
}

.services-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-page-card {
    position: relative;
    background: #fff;
    padding: 35px 30px;
    border-radius: 20px;
    border: 1px solid #e7edf4;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    transition: .35s ease;
    display: flex;
    flex-direction: column;
}

.service-page-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 45px rgba(0,0,0,.10);
}

.service-page-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: rgba(0,74,153,.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-page-icon i {
    font-size: 28px;
}

.service-page-card h3 {
    color: var(--primary);
    font-size: 21px;
    margin-bottom: 15px;
}

.service-page-card p {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 25px;
    flex: 1;
}

.service-page-card a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.service-page-card a:hover {
    gap: 15px;
}

.service-page-card:hover .service-page-icon {
    background: var(--primary);
    color: #fff;
}


/*=========================================
        COMING SOON
=========================================*/

.service-page-card.coming-soon {
    border-top: 4px solid var(--accent);
}

.coming-soon-badge {
    position: absolute;
    top: 25px;
    right: 20px;
    padding: 6px 10px;
    background: rgba(212,160,23,.12);
    color: var(--accent);
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}


/*=========================================
        SERVICES CTA
=========================================*/

.services-cta {
    padding: 100px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border: 1px solid rgba(212,160,23,.25);
    border-radius: 50%;
    right: -180px;
    top: -180px;
}

.services-cta-content {
    max-width: 750px;
    text-align: center;
    margin: auto;
    position: relative;
    z-index: 2;
}

.services-cta .section-tag {
    color: var(--accent);
    background: rgba(255,255,255,.08);
}

.services-cta h2 {
    color: #fff;
    font-size: 48px;
    margin: 20px 0;
}

.services-cta p {
    color: rgba(255,255,255,.85);
    line-height: 1.8;
    margin-bottom: 35px;
    font-size: 17px;
}

/*=========================================
        SERVICES PAGE ANIMATIONS
=========================================*/

/* Initial state */

.services-hero-content,
.services-intro .section-header,
.service-page-card,
.services-cta-content {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}


/* Visible state */

.services-hero-content.show,
.services-intro .section-header.show,
.service-page-card.show,
.services-cta-content.show {
    opacity: 1;
    transform: translateY(0);
}


/* Hero animation */

.services-hero-content {
    animation: servicesHeroIn 1s ease forwards;
}

@keyframes servicesHeroIn {

    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


/* Service cards */

.service-page-card {
    transition:
        opacity .7s ease,
        transform .7s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}


/* Stagger cards */

.service-page-card:nth-child(1) {
    transition-delay: .05s;
}

.service-page-card:nth-child(2) {
    transition-delay: .10s;
}

.service-page-card:nth-child(3) {
    transition-delay: .15s;
}

.service-page-card:nth-child(4) {
    transition-delay: .20s;
}

.service-page-card:nth-child(5) {
    transition-delay: .25s;
}

.service-page-card:nth-child(6) {
    transition-delay: .30s;
}

.service-page-card:nth-child(7) {
    transition-delay: .35s;
}

.service-page-card:nth-child(8) {
    transition-delay: .40s;
}

.service-page-card:nth-child(9) {
    transition-delay: .45s;
}

.service-page-card:nth-child(10) {
    transition-delay: .50s;
}

.service-page-card:nth-child(11) {
    transition-delay: .55s;
}

.service-page-card:nth-child(12) {
    transition-delay: .60s;
}

.service-page-card:nth-child(13) {
    transition-delay: .65s;
}

.service-page-card:nth-child(14) {
    transition-delay: .70s;
}


/* Card icon animation */

.service-page-icon {
    transition:
        transform .4s ease,
        background .4s ease,
        color .4s ease;
}

.service-page-card:hover .service-page-icon {
    transform: rotateY(180deg);
}


/* Card hover */

.service-page-card:hover {
    transform: translateY(-10px) !important;
}


/* Button arrow */

.service-page-card a i {
    transition: transform .3s ease;
}

.service-page-card a:hover i {
    transform: translateX(6px);
}


/* CTA animation */

.services-cta {
    position: relative;
}

.services-cta-content {
    transition-delay: .15s;
}


/* Decorative circle animation */

.services-hero::after,
.services-cta::before {
    animation: rotateDecoration 18s linear infinite;
}

@keyframes rotateDecoration {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* Button pulse */

.services-hero-buttons .btn-primary,
.services-cta .btn-primary {
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.services-hero-buttons .btn-primary:hover,
.services-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212,160,23,.30);
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

}
.btn {
    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease,
        box-shadow .3s ease;
}
.btn:hover {
    transform: translateY(-3px);
}



/*=========================================
        APPOINTMENT PAGE
=========================================*/

.appointment-hero {
    padding: 110px 0;
    background: linear-gradient(
        135deg,
        #002f68 0%,
        #004a99 100%
    );
    position: relative;
    overflow: hidden;
}

.appointment-hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    right: -180px;
    top: -180px;
}

.appointment-hero-content {
    max-width: 800px;
    color: #fff;
    position: relative;
    z-index: 2;
    animation: appointmentHeroFade 1s ease both;
}

.appointment-hero .section-tag {
    background: rgba(255,255,255,.12);
    color: var(--accent);
    border: 1px solid rgba(255,255,255,.15);
}

.appointment-hero h1 {
    font-size: 60px;
    line-height: 1.1;
    margin: 25px 0;
    color: #fff;
}

.appointment-hero h1 span {
    color: var(--accent);
}

.appointment-hero p {
    max-width: 700px;
    font-size: 19px;
    line-height: 1.8;
    color: rgba(255,255,255,.88);
}


/*=========================================
        APPOINTMENT BOOKING
=========================================*/

.appointment-section {
    padding: 100px 0;
    background: #f8fbff;
}

.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 70px;
    align-items: center;
}


/* LEFT CONTENT */

.appointment-info h2 {
    font-size: 48px;
    line-height: 1.15;
    color: var(--primary);
    margin: 20px 0;
}

.appointment-info h2 span {
    color: var(--accent);
}

.appointment-info > p {
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 40px;
}


/* FEATURES */

.appointment-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.appointment-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: rgba(212,160,23,.12);
    color: var(--accent);

    font-size: 22px;

    transition: .35s ease;
}

.appointment-feature:hover .feature-icon {
    background: var(--accent);
    color: #fff;
    transform: translateY(-5px);
}

.appointment-feature h3 {
    color: var(--primary);
    font-size: 19px;
    margin-bottom: 6px;
}

.appointment-feature p {
    color: var(--text-light);
    line-height: 1.6;
}


/*=========================================
        APPOINTMENT FORM CARD
=========================================*/

.appointment-card {
    background: var(--accent);
    padding: 45px;
    border-radius: 25px;

    box-shadow:
        0 25px 70px rgba(0,0,0,.16);

    animation: appointmentCardFade 1s ease .2s both;
}

.appointment-card-header {
    margin-bottom: 30px;
}

.appointment-card-header > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #fff;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.appointment-card-header h2 {
    color: #fff;
    font-size: 32px;
    margin: 12px 0 8px;
}

.appointment-card-header p {
    color: rgba(255,255,255,.9);
}


/*=========================================
        FORM
=========================================*/

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.input-box {
    position: relative;
}

.input-box > i {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);

    color: var(--accent);

    z-index: 2;
}

.input-box input,
.input-box select,
.input-box textarea {
    width: 100%;

    border: none;
    outline: none;

    background: #fff;

    color: #263238;

    border-radius: 12px;

    padding: 15px 18px 15px 48px;

    font-family: inherit;
    font-size: 14px;

    transition: .3s ease;
}

.input-box textarea {
    resize: vertical;
    min-height: 120px;
}

.input-box textarea + i {
    top: 22px;
    transform: none;
}

.input-box input:focus,
.input-box select:focus,
.input-box textarea:focus {
    box-shadow:
        0 0 0 4px rgba(0,47,104,.18);
}


/*=========================================
        SUBMIT BUTTON
=========================================*/

.appointment-submit {
    border: none;
    outline: none;

    width: 100%;

    padding: 16px 25px;

    border-radius: 50px;

    background: var(--primary);
    color: #fff;

    font-family: inherit;
    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    transition: .35s ease;
}

.appointment-submit:hover {
    background: #002b5c;
    transform: translateY(-3px);

    box-shadow:
        0 15px 30px rgba(0,0,0,.2);
}

.appointment-note {
    text-align: center;
    color: rgba(255,255,255,.9);
    font-size: 12px;
}

.appointment-note i {
    margin-right: 5px;
}

/* =========================================================
   APPOINTMENT ALERTS
========================================================= */

.appointment-alert {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    padding: 18px 20px;
    margin-bottom: 25px;

    border-radius: 12px;

    animation: appointmentAlertIn 0.6s ease forwards;
}

.appointment-alert > i {
    font-size: 24px;
    margin-top: 2px;
}

.appointment-alert strong {
    display: block;
    margin-bottom: 5px;
}

.appointment-alert p {
    margin: 0;
    line-height: 1.6;
}


/* SUCCESS */

.appointment-success {
    background: #eaf8f0;
    border: 1px solid #b9e5ca;
    color: #176b3a;
}

.appointment-success > i {
    color: #1e9b55;
}


/* ERROR */

.appointment-error {
    background: #fff1f1;
    border: 1px solid #f0c2c2;
    color: #9d2525;
}

.appointment-error > i {
    color: #d93636;
}


/* ANIMATION */

@keyframes appointmentAlertIn {

    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.appointment-submit {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.appointment-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 86, 166, 0.22);
}

.appointment-submit i {
    transition: transform 0.3s ease;
}

.appointment-submit:hover i {
    transform: translateX(-3px) rotate(-5deg);
}


/*=========================================
        ANIMATIONS
=========================================*/

@keyframes appointmentHeroFade {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes appointmentCardFade {

    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}

/*=========================================
        APPOINTMENT RESPONSIVE
=========================================*/

@media (max-width: 992px) {

    .appointment-hero {
        padding: 90px 0;
    }

    .appointment-hero h1 {
        font-size: 50px;
    }

    .appointment-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .appointment-info {
        max-width: 800px;
    }

    .appointment-card {
        max-width: 800px;
        width: 100%;
    }

}


/* TABLET */

@media (max-width: 768px) {

    .appointment-hero {
        padding: 75px 0;
    }

    .appointment-hero h1 {
        font-size: 42px;
    }

    .appointment-hero p {
        font-size: 17px;
    }

    .appointment-section {
        padding: 75px 0;
    }

    .appointment-info h2 {
        font-size: 38px;
    }

    .appointment-card {
        padding: 35px 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

}


/* MOBILE */

@media (max-width: 480px) {

    .appointment-hero {
        padding: 60px 0;
    }

    .appointment-hero h1 {
        font-size: 34px;
    }

    .appointment-hero p {
        font-size: 16px;
        line-height: 1.7;
    }

    .appointment-section {
        padding: 60px 0;
    }

    .appointment-info h2 {
        font-size: 32px;
    }

    .appointment-info > p {
        font-size: 15px;
    }

    .appointment-feature {
        gap: 15px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .appointment-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .appointment-card-header h2 {
        font-size: 26px;
    }

    .input-box input,
    .input-box select,
    .input-box textarea {
        padding: 14px 15px 14px 45px;
    }

}

/*=========================================
        CONTACT PAGE
=========================================*/

.contact-page {
    background: #f8fbff;
}


/*=========================================
        CONTACT HERO
=========================================*/

.contact-hero {
    position: relative;
    padding: 110px 0;
    background: linear-gradient(135deg, #002f6c, #0056a6);
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    border: 80px solid rgba(255,255,255,.04);
    right: -180px;
    top: -180px;
}

.contact-hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 50px solid rgba(212,160,23,.08);
    left: -150px;
    bottom: -150px;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    color: #fff;
    animation: contactFadeUp .8s ease;
}

.contact-hero .section-tag {
    background: rgba(212,160,23,.15);
    color: #f0b323;
    border: 1px solid rgba(255,255,255,.15);
}

.contact-hero h1 {
    font-size: 60px;
    line-height: 1.1;
    margin: 25px 0;
    color: #fff;
}

.contact-hero p {
    max-width: 650px;
    font-size: 19px;
    line-height: 1.8;
    color: rgba(255,255,255,.9);
}


/*=========================================
        CONTACT INFORMATION
=========================================*/

.contact-info-section {
    padding: 100px 0;
    background: #fff;
}

.contact-info-section .section-header {
    margin-bottom: 55px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-info-card {
    display: flex;
    gap: 20px;
    padding: 30px 25px;
    background: #f8fbff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    transition: .35s ease;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 45px rgba(0,0,0,.08);
}

.contact-info-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    border-radius: 15px;
    background: rgba(212,160,23,.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon i {
    font-size: 21px;
    color: var(--accent);
}

.contact-info-card h3 {
    color: var(--primary);
    font-size: 19px;
    margin-bottom: 10px;
}

.contact-info-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 14px;
}

.contact-info-card a {
    color: var(--text-light);
    text-decoration: none;
    transition: .3s;
}

.contact-info-card a:hover {
    color: var(--accent);
}


/*=========================================
        CONTACT FORM + MAP
=========================================*/

.contact-main {
    padding: 100px 0;
    background: #f8fbff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}


/* FORM */

.contact-form-wrapper {
    background: var(--accent);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0,0,0,.12);
}

.contact-form-wrapper .section-tag {
    background: rgba(0,47,108,.12);
    color: var(--primary);
}

.contact-form-wrapper h2 {
    color: var(--primary);
    font-size: 42px;
    line-height: 1.2;
    margin: 20px 0 15px;
}

.contact-form-wrapper > p {
    color: rgba(0,38,82,.8);
    line-height: 1.7;
    margin-bottom: 35px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 15px 16px;
    background: rgba(255,255,255,.9);
    color: #222;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: .3s ease;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8a8a8a;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0,47,108,.08);
}

.contact-form .btn {
    align-self: flex-start;
    border: none;
    cursor: pointer;
}


/* MAP */

.contact-map-wrapper {
    padding-top: 10px;
}

.contact-map-wrapper h2 {
    color: var(--primary);
    font-size: 42px;
    margin: 20px 0 12px;
}

.contact-map-wrapper > p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-map {
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
    border: 5px solid #fff;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}


/*=========================================
        EMERGENCY CTA
=========================================*/

.contact-emergency {
    position: relative;
    padding: 85px 0;
    background: var(--primary);
    overflow: hidden;
}

.contact-emergency::after {
    content: "";
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    background: url('../images/emergency-doctor.png') center/contain no-repeat;
    opacity: 0.12;
    pointer-events: none;
}

.emergency-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.emergency-content .section-tag {
    background: rgba(212,160,23,.15);
    color: var(--accent);
}

.emergency-content h2 {
    color: #fff;
    font-size: 42px;
    line-height: 1.2;
    margin: 20px 0 15px;
}

.emergency-content p {
    max-width: 650px;
    color: rgba(255,255,255,.85);
    line-height: 1.7;
}

.emergency-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 30px;
    border-radius: 50px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: .3s ease;
}

.emergency-btn:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

.emergency-btn i {
    font-size: 17px;
}

/*=========================================
        CONTACT ANIMATION
=========================================*/

@keyframes contactFadeUp {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.contact-info-card {
    animation: contactFadeUp .7s ease both;
}

.contact-info-card:nth-child(2) {
    animation-delay: .1s;
}

.contact-info-card:nth-child(3) {
    animation-delay: .2s;
}

.contact-info-card:nth-child(4) {
    animation-delay: .3s;
}

/* =========================================
   CONTACT PAGE RESPONSIVE
========================================= */

/* Tablets */
@media (max-width: 992px) {

    .emergency-content {
        gap: 30px;
    }

    .emergency-content h2 {
        font-size: 36px;
    }

    .emergency-btn {
        padding: 15px 24px;
        white-space: nowrap;
    }

}


/* Mobile */
@media (max-width: 768px) {

    .contact-emergency {
        padding: 60px 20px;
    }

    .emergency-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .emergency-content h2 {
        font-size: 32px;
        line-height: 1.25;
    }

    .emergency-content p {
        font-size: 15px;
    }

    .emergency-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 20px;
    }

    .contact-emergency::after {
        width: 220px;
        height: 220px;
        right: -60px;
        opacity: 0.08;
    }

}


/* Small Mobile */
@media (max-width: 480px) {

    .contact-emergency {
        padding: 50px 16px;
    }

    .emergency-content h2 {
        font-size: 27px;
    }

    .emergency-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .emergency-btn {
        font-size: 15px;
        padding: 14px 18px;
    }

    .contact-emergency::after {
        width: 180px;
        height: 180px;
        right: -70px;
    }

}

/* =========================================
   CONTACT PAGE RESPONSIVE
========================================= */

@media (max-width: 768px) {

    /* Contact information cards */
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* FORM + MAP */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Contact form */
    .contact-form-wrapper {
        width: 100%;
        box-sizing: border-box;
    }

    /* Form rows */
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* Form fields */
    .contact-form .form-group {
        width: 100%;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        box-sizing: border-box;
    }

    /* Map */
    .contact-map-wrapper {
        width: 100%;
    }

    .contact-map {
        width: 100%;
        overflow: hidden;
        border-radius: 15px;
    }

    .contact-map iframe {
        width: 100%;
        height: 350px;
        display: block;
    }

    /* Emergency section */
    .emergency-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 480px) {

    .contact-info-section,
    .contact-main {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Stack contact information */
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    /* Stack form and map */
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    /* Form */
    .contact-form-wrapper {
        width: 100%;
        padding: 30px 20px;
        box-sizing: border-box;
    }

    .contact-form .form-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Map */
    .contact-map-wrapper {
        width: 100%;
    }

    .contact-map {
        width: 100%;
    }

    .contact-map iframe {
        width: 100%;
        height: 320px;
    }

    /* Headings */
    .contact-form-wrapper h2,
    .contact-map-wrapper h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    /* Emergency */
    .emergency-content h2 {
        font-size: 28px;
        line-height: 1.25;
    }

    .emergency-content p {
        font-size: 15px;
        line-height: 1.6;
    }

    .emergency-content .btn {
        width: 100%;
        justify-content: center;
    }

}


/* =========================================
   DEPARTMENTS PAGE
========================================= */

.departments-page {
    overflow: hidden;
}


/* =========================================
   HERO
========================================= */

.departments-hero {
    position: relative;
    background: #063f7d;
    color: #fff;
    padding: 110px 0 100px;
    overflow: hidden;
}

.departments-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    right: -180px;
    top: -180px;
}

.departments-hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(218, 163, 14, 0.08);
    border-radius: 50%;
    left: -150px;
    bottom: -180px;
}

.departments-hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.departments-hero-content {
    max-width: 720px;
}

.departments-hero .section-tag {
    color: #daa30e;
    border-color: rgba(218, 163, 14, 0.4);
    background: rgba(218, 163, 14, 0.12);
}

.departments-hero h1 {
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.05;
    margin: 25px 0;
    letter-spacing: -2px;
}

.departments-hero h1 span {
    color: #daa30e;
}

.departments-hero p {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,0.82);
}

.departments-hero-number {
    width: 190px;
    height: 190px;
    flex-shrink: 0;
    border: 2px solid #daa30e;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: rotate(5deg);
}

.departments-hero-number strong {
    font-size: 65px;
    line-height: 1;
    color: #daa30e;
}

.departments-hero-number span {
    margin-top: 8px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
}


/* =========================================
   INTRO
========================================= */

.departments-intro {
    padding: 100px 0;
    background: #f7faff;
}

.departments-intro .section-header {
    max-width: 760px;
    margin: 0 auto 65px;
    text-align: center;
}

.departments-intro .section-header h2 {
    color: #063f7d;
    font-size: clamp(38px, 5vw, 56px);
    margin: 20px 0;
}

.departments-intro .section-header p {
    color: #65758b;
    line-height: 1.8;
}


/* =========================================
   DEPARTMENT GRID
========================================= */

.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.department-card {
    position: relative;
    background: #fff;
    min-height: 320px;
    padding: 38px 32px 32px;
    border-radius: 4px;
    border: 1px solid #e5ebf2;
    overflow: hidden;
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.department-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 0;
    background: #daa30e;
    transition: height 0.4s ease;
}

.department-card:hover {
    transform: translateY(-10px);
    border-color: #daa30e;
    box-shadow: 0 20px 45px rgba(6, 63, 125, 0.12);
}

.department-card:hover::before {
    height: 100%;
}

.department-number {
    position: absolute;
    top: 22px;
    right: 25px;
    font-size: 13px;
    font-weight: 700;
    color: #b9c4d1;
    letter-spacing: 2px;
}

.department-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #063f7d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    margin-bottom: 28px;
    transition:
        background 0.4s ease,
        transform 0.4s ease;
}

.department-card:hover .department-icon {
    background: #daa30e;
    transform: rotate(8deg) scale(1.08);
}

.department-content h3 {
    color: #063f7d;
    font-size: 22px;
    margin-bottom: 13px;
}

.department-content p {
    color: #68798d;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.department-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #063f7d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}

.department-link i {
    color: #daa30e;
}

.department-link:hover {
    color: #daa30e;
    gap: 14px;
}


/* =========================================
   CTA
========================================= */

.departments-cta {
    position: relative;
    padding: 100px 0;
    background: #063f7d;
    overflow: hidden;
}

.departments-cta::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border: 70px solid rgba(255,255,255,0.025);
    border-radius: 50%;
    right: -150px;
    top: -150px;
}

.departments-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.departments-cta .section-tag {
    color: #daa30e;
    background: rgba(218,163,14,0.12);
}

.departments-cta h2 {
    color: #fff;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    margin: 22px 0;
}

.departments-cta p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 30px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 992px) {

    .departments-hero .container {
        align-items: flex-start;
    }

    .departments-hero-number {
        width: 150px;
        height: 150px;
    }

    .departments-hero-number strong {
        font-size: 50px;
    }

    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 768px) {

    .departments-hero {
        padding: 75px 0;
    }

    .departments-hero .container {
        flex-direction: column;
    }

    .departments-hero h1 {
        font-size: 48px;
    }

    .departments-hero-number {
        width: 120px;
        height: 120px;
    }

    .departments-hero-number strong {
        font-size: 42px;
    }

    .departments-intro {
        padding: 70px 0;
    }

    .departments-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .department-card {
        min-height: auto;
    }

}


@media (max-width: 480px) {

    .departments-hero h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .departments-hero p {
        font-size: 16px;
    }

    .departments-intro .section-header h2 {
        font-size: 36px;
    }

    .department-card {
        padding: 30px 25px;
    }

    .departments-cta {
        padding: 70px 0;
    }

}

/* =========================================================
   DEPARTMENT DETAIL PAGE
========================================================= */

.department-page {
    background: #fff;
}


/* =========================================================
   DEPARTMENT HERO
========================================================= */

.department-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    background: linear-gradient(135deg, #002f68, #0056a6);
    color: #fff;
}

.department-detail-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.12);
    right: -150px;
    top: -180px;
}

.department-detail-hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 1px solid rgba(212,160,23,.25);
    left: -150px;
    bottom: -180px;
}

.department-detail-hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.department-detail-hero-content {
    max-width: 700px;
}

.department-detail-hero .section-tag {
    background: rgba(255,255,255,.12);
    color: var(--accent);
    border: 1px solid rgba(255,255,255,.15);
}

.department-detail-hero h1 {
    font-size: 64px;
    line-height: 1.1;
    margin: 25px 0 20px;
    color: #fff;
}

.department-detail-hero p {
    max-width: 650px;
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255,255,255,.85);
    margin-bottom: 35px;
}

.department-detail-icon {
    width: 220px;
    height: 220px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.department-detail-icon i {
    font-size: 90px;
    color: var(--accent);
}


/* =========================================================
   ABOUT DEPARTMENT
========================================================= */

.department-about {
    padding: 100px 0;
    background: #fff;
}

.department-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.department-about h2 {
    font-size: 48px;
    line-height: 1.2;
    color: var(--primary);
}

.department-about h2 span {
    color: var(--accent);
}

.department-about p {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-light);
}


/* =========================================================
   SERVICES
========================================================= */

.department-services {
    padding: 100px 0;
    background: #f8fbff;
}

.department-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.department-service-card {
    position: relative;
    padding: 35px 30px;
    min-height: 210px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e9eef4;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
    transition: .35s ease;
    overflow: hidden;
}

.department-service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 25px 50px rgba(0,0,0,.10);
}

.department-service-card::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    right: -30px;
    bottom: -30px;
    background: rgba(212,160,23,.08);
}

.service-number {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 30px;
}

.department-service-card > i {
    font-size: 25px;
    color: var(--primary);
    margin-bottom: 20px;
}

.department-service-card h3 {
    color: var(--primary);
    font-size: 20px;
    line-height: 1.4;
}


/* =========================================================
   CONDITIONS
========================================================= */

.department-conditions {
    padding: 100px 0;
    background: #fff;
}

.department-conditions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.department-conditions h2 {
    font-size: 48px;
    line-height: 1.2;
    color: var(--primary);
    margin: 20px 0;
}

.department-conditions h2 span {
    color: var(--accent);
}

.department-conditions p {
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.8;
    max-width: 550px;
}

.conditions-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.condition-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8fbff;
    border-radius: 14px;
    border: 1px solid #edf2f7;
    transition: .3s ease;
}

.condition-item:hover {
    transform: translateX(6px);
    border-color: var(--accent);
}

.condition-item i {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(212,160,23,.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.condition-item span {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}


/* =========================================================
   CTA
========================================================= */

.department-detail-cta {
    padding: 70px 0;
    background: linear-gradient(135deg, #002f68, #004b91);
}

.department-detail-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.department-detail-cta .section-tag {
    background: rgba(255,255,255,.10);
    color: var(--accent);
}

.department-detail-cta h2 {
    color: #fff;
    font-size: 40px;
    line-height: 1.2;
    margin: 20px 0 10px;
}

.department-detail-cta p {
    color: rgba(255,255,255,.8);
}


/* =========================================================
   DEPARTMENT ANIMATIONS
========================================================= */

.department-detail-hero-content {
    animation: departmentFadeUp .8s ease both;
}

.department-detail-icon {
    animation: departmentFloat 4s ease-in-out infinite;
}

.department-service-card {
    animation: departmentFadeUp .7s ease both;
}

.department-service-card:nth-child(2) {
    animation-delay: .1s;
}

.department-service-card:nth-child(3) {
    animation-delay: .2s;
}

.department-service-card:nth-child(4) {
    animation-delay: .3s;
}

@keyframes departmentFadeUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes departmentFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

}

/* =========================================================
   DEPARTMENT DETAIL PAGE - RESPONSIVE
========================================================= */


/* =========================================================
   TABLET
   992px and below
========================================================= */

@media (max-width: 992px) {

    /* HERO */

    .department-detail-hero {
        padding: 90px 0;
    }

    .department-detail-hero .container {
        gap: 40px;
    }

    .department-detail-hero h1 {
        font-size: 50px;
    }

    .department-detail-hero p {
        font-size: 18px;
    }

    .department-detail-icon {
        width: 180px;
        height: 180px;
    }

    .department-detail-icon i {
        font-size: 70px;
    }


    /* ABOUT */

    .department-about {
        padding: 80px 0;
    }

    .department-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .department-about h2 {
        font-size: 40px;
    }


    /* SERVICES */

    .department-services {
        padding: 80px 0;
    }

    .department-service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }


    /* CONDITIONS */

    .department-conditions {
        padding: 80px 0;
    }

    .department-conditions-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .department-conditions h2 {
        font-size: 40px;
    }


    /* CTA */

    .department-detail-cta {
        padding: 60px 0;
    }

    .department-detail-cta-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .department-detail-cta h2 {
        font-size: 36px;
    }

}


/* =========================================================
   MOBILE
   768px and below
========================================================= */

@media (max-width: 768px) {

    /* HERO */

    .department-detail-hero {
        padding: 75px 0;
    }

    .department-detail-hero .container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .department-detail-hero-content {
        max-width: 100%;
    }

    .department-detail-hero h1 {
        font-size: 42px;
    }

    .department-detail-hero p {
        font-size: 16px;
        line-height: 1.7;
    }

    .department-detail-icon {
        width: 140px;
        height: 140px;
        align-self: center;
    }

    .department-detail-icon i {
        font-size: 55px;
    }


    /* ABOUT */

    .department-about {
        padding: 70px 0;
    }

    .department-about h2 {
        font-size: 34px;
    }

    .department-about p {
        font-size: 16px;
        line-height: 1.8;
    }


    /* SERVICES */

    .department-services {
        padding: 70px 0;
    }

    .department-service-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .department-service-card {
        min-height: auto;
        padding: 30px 25px;
    }


    /* CONDITIONS */

    .department-conditions {
        padding: 70px 0;
    }

    .department-conditions h2 {
        font-size: 34px;
    }

    .conditions-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .condition-item {
        padding: 17px;
    }


    /* CTA */

    .department-detail-cta {
        padding: 55px 0;
    }

    .department-detail-cta-content {
        gap: 25px;
    }

    .department-detail-cta h2 {
        font-size: 32px;
    }

    .department-detail-cta p {
        line-height: 1.7;
    }

}


/* =========================================================
   SMALL MOBILE
   480px and below
========================================================= */

@media (max-width: 480px) {

    /* HERO */

    .department-detail-hero {
        padding: 60px 0;
    }

    .department-detail-hero h1 {
        font-size: 34px;
    }

    .department-detail-hero p {
        font-size: 15px;
    }

    .department-detail-icon {
        width: 120px;
        height: 120px;
    }

    .department-detail-icon i {
        font-size: 45px;
    }


    /* ABOUT */

    .department-about h2 {
        font-size: 30px;
    }


    /* SERVICES */

    .department-service-card {
        padding: 25px 22px;
    }

    .department-service-card h3 {
        font-size: 18px;
    }


    /* CONDITIONS */

    .department-conditions h2 {
        font-size: 30px;
    }

    .condition-item {
        padding: 15px;
    }


    /* CTA */

    .department-detail-cta h2 {
        font-size: 28px;
    }

}

/* =========================================================
   MEDICAL TEAM PAGE
========================================================= */


/* =========================================================
   HERO
========================================================= */

.medical-team-hero {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    display: flex;
    align-items: center;
    background: linear-gradient(
        135deg,
        #002f68 0%,
        #004b91 60%,
        #003b75 100%
    );
    color: #fff;
}

.medical-team-hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.08);
    right: -220px;
    top: -180px;
}

.medical-team-hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 1px solid rgba(212,160,23,.18);
    left: -180px;
    bottom: -200px;
}

.medical-team-hero-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    min-height: 680px;

    gap: 40px;
}


/* HERO CONTENT */

.medical-team-hero-content {
    max-width: 650px;
    animation: medicalHeroText .9s ease both;
}

.medical-team-hero .section-tag {
    background: rgba(255,255,255,.10);
    color: var(--accent);
    border: 1px solid rgba(255,255,255,.15);
}

.medical-team-hero h1 {
    font-size: 68px;
    line-height: 1.05;
    font-weight: 700;
    color: #fff;
    margin: 25px 0;
}

.medical-team-hero h1 span {
    color: var(--accent);
    display: block;
}

.medical-team-hero p {
    max-width: 620px;

    font-size: 19px;
    line-height: 1.8;

    color: rgba(255,255,255,.85);

    margin-bottom: 35px;
}


/* HERO BUTTONS */

.medical-team-hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.medical-team-hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}


/* HERO FEATURES */

.medical-team-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;

    margin-top: 40px;
}

.medical-team-hero-features span {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 14px;
    font-weight: 600;

    color: rgba(255,255,255,.9);
}

.medical-team-hero-features i {
    color: var(--accent);
}


/* =========================================================
   TRANSPARENT HERO IMAGE AREA
========================================================= */

.medical-team-hero-image {
    position: relative;

    height: 600px;

    display: flex;
    align-items: flex-end;
    justify-content: center;
}


/*
    This is intentionally large.

    When the transparent PNG is added,
    it will occupy this entire area.
*/

.medical-team-hero-image img {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 600px;
    height: auto;

    max-height: 650px;

    object-fit: contain;

    object-position: bottom center;

    animation: medicalDoctorFloat 5s ease-in-out infinite;
}


/* Temporary placeholder */

.medical-team-image-placeholder {
    width: 420px;
    height: 420px;

    border-radius: 50%;

    background: rgba(255,255,255,.07);

    border: 1px solid rgba(255,255,255,.12);

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    animation: medicalDoctorFloat 5s ease-in-out infinite;
}

.medical-team-image-placeholder::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.08);
}

.medical-team-image-placeholder i {
    font-size: 150px;
    color: rgba(255,255,255,.18);
}


/* =========================================================
   INTRO
========================================================= */

.medical-team-intro {
    padding: 100px 0 60px;
    background: #fff;
}

.medical-team-intro .section-header {
    max-width: 850px;
}

.medical-team-intro .section-header h2 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   TEAM DIRECTORY
========================================================= */

.medical-team-directory {
    padding: 60px 0 110px;
    background: #f8fbff;
}

.medical-team-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    margin-top: 60px;
}


/* TEAM CARD */

.medical-team-card {
    background: #fff;

    border-radius: 22px;

    overflow: hidden;

    border: 1px solid #e8eef5;

    box-shadow: 0 12px 35px rgba(0,0,0,.05);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.medical-team-card:hover {
    transform: translateY(-10px);

    border-color: rgba(212,160,23,.5);

    box-shadow: 0 25px 55px rgba(0,0,0,.11);
}


/* TEAM IMAGE */

.medical-team-image {
    position: relative;

    height: 350px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #edf4fa,
            #f8fbff
        );
}

.medical-team-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,47,104,.35),
        transparent 45%
    );

    pointer-events: none;
}

.medical-team-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}

.medical-team-card:hover .medical-team-image img {
    transform: scale(1.06);
}


/* TEAM CONTENT */

.medical-team-content {
    padding: 30px;
}

.medical-team-role {
    display: inline-block;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: var(--accent);

    margin-bottom: 10px;
}

.medical-team-content h3 {
    font-size: 25px;

    color: var(--primary);

    margin-bottom: 12px;
}

.medical-team-content p {
    color: var(--text-light);

    line-height: 1.7;

    margin-bottom: 22px;
}


/* PROFILE LINK */

.medical-team-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--primary);

    font-weight: 700;

    text-decoration: none;

    transition: .3s ease;
}

.medical-team-link i {
    color: var(--accent);

    transition: .3s ease;
}

.medical-team-link:hover {
    color: var(--accent);
}

.medical-team-link:hover i {
    transform: translateX(5px);
}


/* =========================================================
   TEAM VALUES
========================================================= */

.medical-team-values {
    padding: 110px 0;

    background: #fff;
}

.medical-team-values-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}

.medical-team-values-content {
    max-width: 600px;
}

.medical-team-values-content h2 {
    font-size: 50px;

    line-height: 1.15;

    color: var(--primary);

    margin: 20px 0;
}

.medical-team-values-content h2 span {
    color: var(--accent);
}

.medical-team-values-content > p {
    color: var(--text-light);

    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 30px;
}


/* VALUES LIST */

.medical-team-values-list {
    display: flex;

    flex-direction: column;

    gap: 20px;
}

.medical-value {
    display: flex;

    gap: 20px;

    padding: 25px;

    background: #f8fbff;

    border: 1px solid #edf2f7;

    border-radius: 18px;

    transition: .35s ease;
}

.medical-value:hover {
    transform: translateX(8px);

    border-color: var(--accent);

    box-shadow: 0 15px 35px rgba(0,0,0,.07);
}

.medical-value-icon {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    border-radius: 15px;

    background: rgba(212,160,23,.12);

    color: var(--accent);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 23px;
}

.medical-value h3 {
    color: var(--primary);

    font-size: 18px;

    margin-bottom: 7px;
}

.medical-value p {
    color: var(--text-light);

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   CTA
========================================================= */

.medical-team-cta {
    padding: 70px 0;

    background:
        linear-gradient(
            135deg,
            #002f68,
            #004b91
        );
}

.medical-team-cta-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;
}

.medical-team-cta .section-tag {
    background: rgba(255,255,255,.10);

    color: var(--accent);
}

.medical-team-cta h2 {
    font-size: 42px;

    color: #fff;

    margin: 20px 0 10px;
}

.medical-team-cta p {
    color: rgba(255,255,255,.8);

    line-height: 1.7;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes medicalHeroText {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes medicalDoctorFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

}