
/* =========================================
   ANNAI THERESA HOSPITAL - HOME PAGE
   Classic Editorial Healthcare Design
========================================= */

:root {
    --hospital-green: #005c50;
    --hospital-green-dark: #00483f;
    --hospital-green-light: #e4f2ef;

    --hospital-blue: #153b60;
    --hospital-text: #193b5b;
    --hospital-muted: #64788a;

    --hospital-bg: #f3f9f8;
    --hospital-white: #ffffff;
    --hospital-cream: #f7f5ec;

    --hospital-border: #d9e6e4;

    --font-heading: "Playfair Display", Georgia, serif;
    --font-body: "DM Sans", Arial, sans-serif;
}


/* =========================================
   GENERAL
========================================= */

.home-page {
    width: 100%;
    overflow: hidden;
    color: var(--hospital-text);
    font-family: var(--font-body);
    background: var(--hospital-white);
}

.home-page *,
.home-page *::before,
.home-page *::after {
    box-sizing: border-box;
}

.home-page img {
    display: block;
    max-width: 100%;
}

.home-page a {
    text-decoration: none;
    color: inherit;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page p {
    margin-top: 0;
}

.section-padding {
    padding: 85px 5.5%;
}

.section-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--hospital-green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.home-page h2 {
    color: var(--hospital-blue);
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 40px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -1.4px;
}


/* =========================================
   BUTTONS
========================================= */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    min-height: 48px;
    padding: 0 22px;

    border-radius: 9px;

    font-size: 12px;
    font-weight: 600;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.btn-primary {
    background: var(--hospital-green);
    color: white !important;
}

.btn-primary:hover {
    background: var(--hospital-green-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 92, 80, 0.15);
}

.btn-secondary {
    border: 1px solid #bdcfce;
    background: rgba(255, 255, 255, 0.8);
    color: var(--hospital-text) !important;
}

.btn-secondary:hover {
    background: var(--hospital-green-light);
    border-color: var(--hospital-green);
    transform: translateY(-3px);
}

.btn-primary i,
.btn-secondary i {
    font-size: 13px;
}


/* =========================================
   HERO SECTION
========================================= */

.home-hero {
    position: relative;

    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;

    min-height: 450px;
    padding: 65px 5.5% 70px;

    background:
        linear-gradient(
            115deg,
            #f0f8f7 0%,
            #e7f4f2 55%,
            #dcefeb 100%
        );

    isolation: isolate;
}


/* Decorative background shape */

.hero-background-shape {
    position: absolute;
    z-index: -1;

    top: -130px;
    left: -180px;

    width: 470px;
    height: 470px;

    border: 1px solid rgba(0, 92, 80, 0.08);
    border-radius: 50%;
}

.hero-background-shape::after {
    content: "";

    position: absolute;

    top: 70px;
    left: 80px;

    width: 320px;
    height: 320px;

    border: 1px solid rgba(0, 92, 80, 0.08);
    border-radius: 50%;
}


/* Hero text */

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 520px;

    animation: heroContentIn 0.9s ease both;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;

    color: var(--hospital-green);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.1px;
}

.hero-eyebrow span {
    width: 25px;
    height: 2px;
    background: var(--hospital-green);
}

.hero-content h1 {
    margin-bottom: 23px;

    color: var(--hospital-blue);

    font-family: var(--font-heading);
    font-size: clamp(40px, 5.3vw, 60px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -2.5px;
}

.hero-content h1 span {
    color: var(--hospital-green);
    font-style: italic;
}

.hero-description {
    max-width: 440px;

    margin-bottom: 25px;

    color: #50677a;

    font-size: 14px;
    line-height: 1.85;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}


/* Trust row */

.hero-trust {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 30px;
}

.trust-avatars {
    display: flex;
    align-items: center;
}

.trust-avatars span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    margin-left: -7px;

    border: 3px solid #e7f4f2;
    border-radius: 50%;

    background: #c9e3dd;
    color: var(--hospital-green);
    font-size: 13px;
}

.trust-avatars span:first-child {
    margin-left: 0;
}

.trust-avatars span:nth-child(2) {
    background: #f1e5d8;
}

.trust-avatars span:nth-child(3) {
    background: #d5e5ef;
}

.hero-trust p {
    margin: 0;

    color: var(--hospital-muted);

    font-size: 11px;
    line-height: 1.5;
}


/* Hero image */

.hero-visual {
    position: relative;

    min-width: 0;
    height: 430px;

    animation: heroImageIn 1s ease both;
}

.hero-image-frame {
    position: absolute;
    inset: 0;

    overflow: hidden;

    border-radius: 180px 18px 18px 18px;

    background: #d7e9e5;
}

.hero-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.8s ease;
}

.hero-image-frame:hover .hero-image {
    transform: scale(1.035);
}

.hero-image-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(0, 44, 39, 0.15),
            transparent 55%
        );

    pointer-events: none;
}


/* Floating information card */

.hero-floating-card {
    position: absolute;
    z-index: 3;

    right: -20px;
    bottom: 70px;

    display: flex;
    align-items: center;
    gap: 13px;

    max-width: 260px;
    padding: 17px 20px;

    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 13px;

    background: rgba(255, 255, 255, 0.96);

    box-shadow: 0 15px 45px rgba(19, 59, 91, 0.12);

    animation: floatCard 4s ease-in-out infinite;
}

.floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 43px;
    height: 43px;

    border-radius: 12px;

    background: var(--hospital-green-light);
    color: var(--hospital-green);

    font-size: 20px;
}

.hero-floating-card h3 {
    margin-bottom: 5px;

    color: var(--hospital-blue);
    font-size: 13px;
}

.hero-floating-card p {
    margin: 0;

    color: var(--hospital-muted);
    font-size: 10px;
    line-height: 1.5;
}


/* Emergency card */

.hero-emergency-card {
    position: absolute;
    z-index: 3;

    left: 25px;
    bottom: 22px;

    display: flex;
    align-items: center;
    gap: 13px;

    padding: 16px 18px;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;

    background: var(--hospital-green);
    color: white !important;

    box-shadow: 0 12px 35px rgba(0, 92, 80, 0.2);

    transition: transform 0.3s ease;
}

.hero-emergency-card:hover {
    transform: translateY(-4px);
}

.emergency-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.14);

    font-size: 15px;
}

.hero-emergency-card span {
    display: block;

    margin-bottom: 5px;

    color: #b8dfd6;

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.hero-emergency-card h3 {
    margin: 0;
    font-size: 13px;
}

.emergency-arrow {
    margin-left: 10px;
    font-size: 12px;
}


/* =========================================
   HOSPITAL HIGHLIGHTS
========================================= */

.hospital-highlights {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 6%;

    border-bottom: 1px solid var(--hospital-border);

    background: var(--hospital-green);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;

    border-radius: 50%;

    background: var(--hospital-green-light);
    color: var(--hospital-green);

    font-size: 19px;
}

.highlight-item h3 {
    margin-bottom: 3px;

    color: #ffff;
    font-size: 20px;
    font-weight: 700;
}

.highlight-item p {
    margin: 0;

    color: var(--hospital-green-light);
    font-size: 11px;
}

.highlight-divider {
    width: 1px;
    height: 45px;
    background: var(--hospital-border);
}


/* =========================================
   SPECIALTIES
========================================= */

.specialties-section {
    background: #ffff;
}

.specialties-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 40px;

    margin-bottom: 35px;
}

.specialties-heading h2 {
    margin-bottom: 0;
}

.heading-description {
    max-width: 470px;
    padding-bottom: 5px;
}

.heading-description p {
    margin-bottom: 22px;

    color: var(--hospital-muted);
    font-size: 13px;
    line-height: 1.8;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding-bottom: 5px;

    border-bottom: 1px solid rgba(0, 92, 80, 0.4);

    color: var(--hospital-green) !important;

    font-size: 12px;
    font-weight: 700;

    transition: gap 0.3s ease;
}

.text-link:hover {
    gap: 16px;
}

.text-link i {
    font-size: 11px;
}


/* Specialty cards */

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 17px;
}

.specialty-card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    overflow: hidden;

    border: 1px solid #dce8e6;
    border-radius: 12px;

    background: white;

    box-shadow: 0 5px 18px rgba(19, 59, 91, 0.035);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.specialty-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 18px 35px rgba(19, 59, 91, 0.12);
}

.specialty-image {
    height: 150px;
    overflow: hidden;
    background: #e1eeeb;
}

.specialty-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.specialty-card:hover .specialty-image img {
    transform: scale(1.08);
}

.specialty-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    min-height: 100px;
    padding: 16px 13px;
}

.specialty-card-content h3 {
    margin-bottom: 7px;

    color: var(--hospital-blue);
    font-size: 13px;
    font-weight: 700;
}

.specialty-card-content p {
    margin: 0;

    color: var(--hospital-muted);
    font-size: 10px;
    line-height: 1.7;
}

.card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 29px;
    height: 29px;

    border-radius: 50%;

    background: var(--hospital-green);
    color: white;

    font-size: 10px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.specialty-card:hover .card-arrow {
    transform: rotate(-45deg);
    background: var(--hospital-blue);
}


/* =========================================
   HOSPITAL DIFFERENCE
========================================= */

/* =========================================
   DIFFERENCE SECTION
========================================= */

/* =========================================
   ANNAI THERESA HOSPITAL
   DIFFERENCE SECTION
========================================= */

.difference-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 105px;

    width: 100%;
    min-height: 380px;

    background: #e6f2ef;
    align-items: stretch;
    overflow: hidden;
    box-sizing: border-box;
}

.difference-section *,
.difference-section *::before,
.difference-section *::after {
    box-sizing: border-box;
}


/* =========================================
   DIFFERENCE IMAGE
========================================= */

.difference-visual {
    position: relative;
    width: 100%;
    height: 455px;
    min-height: 0;

    overflow: hidden;
    border-radius: 0 100px 100px 0;

    background: #ffffff;
}

.difference-visual > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* Image overlay */

.difference-visual::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        0deg,
        rgba(0, 42, 37, 0.72),
        transparent 60%
    );

    pointer-events: none;
}


/* Image text */

.difference-image-label {
    position: absolute;
    z-index: 1;

    left: 7%;
    bottom: 35px;

    color: #ffffff;
}

.difference-image-label span {
    display: block;
    margin-bottom: 10px;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.difference-image-label h3 {
    margin: 0;

    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.25;
}


/* =========================================
   DIFFERENCE CONTENT
========================================= */

.difference-content {
    align-self: center;

    width: 100%;
    max-width: 570px;

    padding: 30px 25px 30px 40px;
}

.difference-content h2 {
    margin-top: 0;
    margin-bottom: 14px;

    color: var(--hospital-blue);
    font-family: var(--font-heading);

    font-size: clamp(28px, 3vw, 40px);
    font-weight: 500;
    line-height: 1.15;
}

.difference-description {
    margin-top: 0;
    margin-bottom: 20px;

    color: var(--hospital-muted);

    font-size: 12px;
    line-height: 1.8;
}


/* =========================================
   DIFFERENCE FEATURE ROWS
========================================= */

.difference-feature {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 13px;
}

.difference-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 38px;
    height: 38px;

    border: 1px solid #d1e4df;
    border-radius: 10px;

    background: #ffffff;
    color: var(--hospital-green);

    font-size: 16px;
}

.difference-feature h3 {
    margin: 0 0 4px;

    color: var(--hospital-blue);

    font-size: 12px;
    font-weight: 600;
}

.difference-feature p {
    margin: 0;

    color: var(--hospital-muted);

    font-size: 10px;
    line-height: 1.5;
}


/* =========================================
   COMPACT CIRCULAR ARROW BUTTON
========================================= */

.difference-content .difference-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    margin-top: 8px;

    border-radius: 50%;

    background: #ffff;
    color: #ffffff;

    text-decoration: none;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.difference-content .difference-more i {
    font-size: 15px;
    color: #ffffff;
}

.difference-content .difference-more:hover {
    background: var(--hospital-green-dark);
    transform: translateX(4px);
}


/* =========================================
   DIFFERENCE SIDE PANEL
========================================= */

.difference-side-panel {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;
    gap: 18px;

    width: 100%;
    min-height: 380px;

    padding: 20px 8px;

    background: #d3e9e4;

    text-align: center;
}

.difference-side-panel > span {
    display: block;

    width: 35px;
    height: 1px;

    flex-shrink: 0;

    background: #ffff;
}

.difference-side-panel p {
    margin: 0;

    color: var(--hospital-green-dark);

    font-family: var(--font-heading);
    font-size: 17px;
    line-height: 1.5;
}

.difference-side-panel i {
    color: var(--hospital-green);
    font-size: 26px;
}


/* =========================================
   RESPONSIVE - TABLETS
========================================= */

@media (max-width: 1000px) {

    .difference-section {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        min-height: 0;
    }

    .difference-visual {
        height: 100%;
        min-height: 380px;
    }

    .difference-content {
        max-width: 100%;
        padding: 30px;
    }

    .difference-side-panel {
        display: none;
    }

}


/* =========================================
   RESPONSIVE - MOBILE
========================================= */

@media (max-width: 650px) {

    .difference-section {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .difference-visual {
        width: 100%;
        height: 280px;
        min-height: 280px;

        border-radius: 0 0 65px 0;
    }

    .difference-image-label {
        left: 6%;
        bottom: 25px;
    }

    .difference-image-label h3 {
        font-size: 26px;
    }

    .difference-content {
        width: 100%;
        max-width: 100%;

        padding: 30px 6%;
    }

    .difference-content h2 {
        font-size: 32px;
    }

    .difference-description {
        font-size: 12px;
    }

    .difference-feature {
        gap: 12px;
        margin-bottom: 14px;
    }

    .difference-side-panel {
        display: none;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .difference-visual {
        height: 240px;
        min-height: 240px;
    }

    .difference-image-label h3 {
        font-size: 23px;
    }

    .difference-content h2 {
        font-size: 28px;
    }

    .difference-content {
        padding: 25px 5%;
    }

}

/* =========================================
   PATIENT STORIES - MODERN SLIDER
========================================= */

.patient-stories {
    display: grid;
    grid-template-columns: 0.75fr 1.65fr;
    align-items: center;
    gap: 55px;

    padding: 65px 6%;
    background: #ffffff;
    overflow: hidden;
}

/* Heading */

.stories-heading h2 {
    margin-bottom: 16px;

    color: var(--hospital-blue);
    font-family: var(--font-heading);
    font-size: clamp(32px, 3.2vw, 42px);
    font-weight: 500;
    line-height: 1.15;
}

.stories-heading > p {
    max-width: 290px;
    margin-bottom: 22px;

    color: var(--hospital-muted);
    font-size: 12px;
    line-height: 1.8;
}

/* Carousel */

.stories-carousel {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.stories-track {
    display: flex;
    width: 100%;

    transition: transform 0.65s ease-in-out;
}

.story-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 18px;

    flex: 0 0 100%;
    min-width: 0;
    padding: 5px;
    box-sizing: border-box;
}

/* Image */

.story-photo {
    position: relative;
    min-width: 0;
    height: 320px;

    overflow: hidden;
    border-radius: 14px;

    background: #d3e5df;
}

.story-photo img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;
    object-position: center;

    transition: transform 0.7s ease;
}

.story-slide:hover .story-photo img {
    transform: scale(1.04);
}

.story-photo-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        0deg,
        rgba(0, 44, 39, 0.88),
        transparent 75%
    );
}

/* Text over image */

.story-photo-content {
    position: absolute;
    left: 22px;
    right: 18px;
    bottom: 22px;

    color: #ffffff;
}

.story-photo-content span {
    display: block;
    margin-bottom: 10px;

    color: #c0e0d8;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.story-photo-content h3 {
    margin-bottom: 6px;

    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.2;
}

.story-photo-content p {
    margin: 0;
    font-size: 11px;
}

/* Testimonial */

.story-quote {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
    padding: 25px;

    border: 1px solid var(--hospital-border);
    border-radius: 14px;

    background: #f3f8f7;
}

.story-quote > i {
    margin-bottom: 18px;

    color: #6a9e94;
    font-size: 22px;
}

.story-quote blockquote {
    margin: 0 0 22px;

    color: var(--hospital-blue);
    font-family: var(--font-heading);
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.65;
}

/* Author */

.story-author {
    display: flex;
    align-items: center;
    gap: 12px;

    padding-top: 16px;
    border-top: 1px solid var(--hospital-border);
}

.story-author-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
    width: 40px;
    height: 40px;

    border-radius: 50%;
    background: #d6e9e4;
    color: var(--hospital-green);
}

.story-author h4 {
    margin: 0 0 4px;

    color: var(--hospital-blue);
    font-size: 12px;
}

.story-author p {
    margin: 0;

    color: var(--hospital-muted);
    font-size: 10px;
}

/* Dots */

.stories-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    padding-top: 20px;
}

.story-dot {
    width: 8px;
    height: 8px;
    padding: 0;

    border: none;
    border-radius: 50%;

    background: #c8dcd7;
    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease;
}

.story-dot.active {
    width: 24px;
    border-radius: 10px;
    background: var(--hospital-green);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .patient-stories {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 50px 5%;
    }

    .stories-heading > p {
        max-width: 450px;
    }

    .story-slide {
        gap: 14px;
    }

    .story-photo {
        height: 300px;
    }

    .story-quote {
        padding: 22px;
    }
}

@media (max-width: 600px) {

    .patient-stories {
        padding: 40px 5%;
        gap: 25px;
    }

    .story-slide {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .story-photo {
        height: 260px;
    }

    .story-quote {
        padding: 22px;
    }

    .story-quote blockquote {
        font-size: 17px;
    }

    .stories-dots {
        padding-top: 16px;
    }
}
/* =========================================
   HEALTH LIBRARY
========================================= */

.health-library {
    padding-top: 1px;
    background: #ffff;
}

.library-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;

    margin-bottom: 30px;
}

.library-heading h2 {
    margin: 0;
    font-size: clamp(29px, 3.5vw, 41px);
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}


/* Article card */

.library-card {
    overflow: hidden;

    border: 1px solid #dbe7e5;
    border-radius: 13px;

    background: white;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.library-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 15px 30px rgba(19, 59, 91, 0.09);
}

.library-image {
    display: block;

    height: 200px;
    overflow: hidden;

    background: #e2eeeb;
}

.library-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.library-card:hover .library-image img {
    transform: scale(1.06);
}

.library-content {
    padding: 23px;
}

.article-category {
    display: block;

    margin-bottom: 12px;

    color: var(--hospital-green);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.library-content h3 {
    min-height: 46px;

    margin-bottom: 17px;

    color: var(--hospital-blue);

    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.4;
}

.library-content .text-link {
    font-size: 11px;
}


/* =========================================
   APPOINTMENT CTA
========================================= */

.home-appointment {
    display: flex;
    align-items: center;
    gap: 25px;

    padding: 32px 6%;

    background: var(--hospital-green-light);
    color: white;
}

.appointment-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 62px;
    height: 62px;

    border-radius: 50%;

    background: white;
    color: var(--hospital-green);

    font-size: 25px;
}

.appointment-content {
    flex: 1;
}

.appointment-content > span {
    display: block;

    margin-bottom: 8px;

    color: var(--hospital-green);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.appointment-content h2 {
    margin-bottom: 7px;

    color: var(--hospital-green);
    font-size: 30px;
}

.appointment-content p {
    margin: 0;

    color: var(--hospital-green);
    font-size: 12px;
}

.appointment-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    flex-shrink: 0;

    min-height: 48px;
    padding: 0 23px;

    border-radius: 8px;

    background: white;
    color: var(--hospital-green) !important;

    font-size: 12px;
    font-weight: 700;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.appointment-button:hover {
    background: var(--hospital-green);
    color: #ffff !important;
    transform: translateY(-3px);
}


/* =========================================
   ANIMATIONS
========================================= */

@keyframes heroContentIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroImageIn {
    from {
        opacity: 0;
        transform: translateX(25px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .home-page *,
    .home-page *::before,
    .home-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

}


/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 1100px) {

    .home-hero {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .hero-visual {
        height: 390px;
    }

    .hero-floating-card {
        right: -10px;
    }

    .specialties-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .specialty-image {
        height: 180px;
    }

    .difference-side-panel {
        display: none;
    }

    .difference-content {
        padding-right: 7%;
    }

    .patient-stories {
        grid-template-columns: 1fr 1fr;
    }

    .stories-heading {
        grid-column: 1 / -1;
    }

    .stories-heading h2 br {
        display: none;
    }

    .stories-heading > div > p {
        max-width: 500px;
    }

}


@media (max-width: 768px) {

    .section-padding {
        padding: 60px 5%;
    }


    /* Hero */

    .home-hero {
        grid-template-columns: 1fr;
        gap: 35px;

        padding: 50px 5% 45px;
    }

    .hero-content {
        max-width: 600px;
    }

    .hero-content h1 {
        font-size: clamp(43px, 9vw, 62px);
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-visual {
        height: 370px;
        margin: 0 5px;
    }

    .hero-image-frame {
        border-radius: 100px 15px 15px 15px;
    }

    .hero-floating-card {
        right: 10px;
        bottom: 95px;
    }

    .hero-emergency-card {
        left: 15px;
        bottom: 15px;
    }


    /* Highlights */

    .hospital-highlights {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px;

        padding: 30px 5%;
    }

    .highlight-divider {
        display: none;
    }

    .highlight-item {
        gap: 10px;
    }

    .highlight-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .highlight-item h3 {
        font-size: 18px;
    }

    .highlight-item p {
        font-size: 10px;
    }


    /* Specialties */

    .specialties-heading {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .specialties-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .specialty-image {
        height: 145px;
    }


    /* Difference */

    .difference-section {
        grid-template-columns: 1fr;
    }

    .difference-visual {
        min-height: 350px;
        border-radius: 0 0 80px 0;
    }

    .difference-content {
        max-width: 650px;
        padding: 45px 6%;
    }


    /* Stories */

    .patient-stories {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stories-heading {
        grid-column: auto;
    }

    .stories-heading h2 {
        font-size: 36px;
    }

    .story-image-card {
        height: 300px;
    }


    /* Library */

    .library-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .library-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .library-image {
        height: 170px;
    }

    .library-content {
        padding: 17px;
    }

    .library-content h3 {
        font-size: 18px;
    }


    /* CTA */

    .home-appointment {
        flex-wrap: wrap;
        gap: 18px;
        padding: 30px 5%;
    }

    .appointment-content {
        flex-basis: calc(100% - 85px);
    }

    .appointment-content h2 {
        font-size: 25px;
    }

    .appointment-button {
        margin-left: 80px;
    }

}


@media (max-width: 480px) {

    .hero-eyebrow {
        font-size: 8px;
        letter-spacing: 1.3px;
    }

    .hero-content h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-buttons a {
        width: 100%;
    }

    .hero-visual {
        height: 300px;
    }

    .hero-floating-card {
        right: 5px;
        bottom: 80px;

        max-width: 215px;
        padding: 12px;
    }

    .hero-floating-card h3 {
        font-size: 11px;
    }

    .hero-floating-card p {
        font-size: 9px;
    }

    .hero-emergency-card {
        left: 8px;
        bottom: 8px;

        gap: 8px;
        padding: 12px;
    }

    .hero-emergency-card h3 {
        font-size: 11px;
    }

    .hero-emergency-card span {
        font-size: 7px;
    }

    .hospital-highlights {
        gap: 20px 10px;
    }

    .highlight-item {
        gap: 8px;
    }

    .highlight-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .highlight-item h3 {
        font-size: 16px;
    }

    .highlight-item p {
        font-size: 9px;
    }

    .specialties-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .specialty-image {
        height: 120px;
    }

    .specialty-card-content {
        min-height: 95px;
        padding: 12px 9px;
    }

    .specialty-card-content h3 {
        font-size: 11px;
    }

    .specialty-card-content p {
        font-size: 9px;
    }

    .card-arrow {
        width: 25px;
        height: 25px;
    }

    .difference-visual {
        min-height: 270px;
    }

    .difference-image-label h3 {
        font-size: 27px;
    }

    .difference-content h2 {
        font-size: 32px;
    }

    .story-card {
        padding: 22px;
    }

    .story-card blockquote {
        font-size: 16px;
    }

    .story-image-card {
        height: 250px;
    }

    .library-grid {
        grid-template-columns: 1fr;
    }

    .library-image {
        height: 200px;
    }

    .library-content h3 {
        min-height: auto;
    }

    .home-appointment {
        align-items: flex-start;
    }

    .appointment-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .appointment-content {
        flex-basis: calc(100% - 70px);
    }

    .appointment-content h2 {
        font-size: 23px;
    }

    .appointment-content p {
        font-size: 11px;
        line-height: 1.7;
    }

    .appointment-button {
        margin-left: 0;
        width: 100%;
    }

}
/* =========================================
   REMOVE WHITE SPACE AROUND HOME PAGE
========================================= */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

/* Prevent horizontal overflow */
html {
    overflow-x: clip;
}

body {
    overflow-x: clip;
}

/* Main page wrapper */
main {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Remove unwanted spacing around footer */
footer {
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure footer content doesn't create extra width */
footer * {
    box-sizing: border-box;
}