/* =====================================================
   CANNAN CARE HOSPITAL
   PROFESSIONAL RESPONSIVE STYLESHEET
===================================================== */


/* =====================================================
   1. RESET & ROOT
===================================================== */

:root {
    --primary: #087f8c;
    --primary-dark: #05616b;
    --primary-light: #e8f7f8;

    --dark: #102f34;
    --dark-2: #173f45;

    --text: #53676b;
    --muted: #809195;

    --white: #ffffff;
    --light: #f5fafb;
    --border: #e3eeee;

    --shadow: 0 20px 50px rgba(16, 47, 52, 0.10);

    --radius: 14px;

    --transition: 0.35s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", Arial, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

img {
    width: 100%;
    max-width: 100%;
    display: block;
}

section {
    position: relative;
}

::selection {
    background: var(--primary);
    color: white;
}


/* =====================================================
   2. PAGE LOADER
===================================================== */

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--dark);

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-cross {
    width: 55px;
    height: 55px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: var(--primary);

    font-size: 38px;
    font-weight: 800;

    animation: loaderPulse 1.4s infinite;
}

.loader-content h3 {
    font-family: "Manrope", sans-serif;

    font-size: 22px;
    letter-spacing: 3px;
}

.loader-content > span {
    display: block;

    margin-top: -2px;

    color: #9ebdc0;

    font-size: 9px;
    letter-spacing: 4px;
}

.loader-line {
    width: 100px;
    height: 2px;

    margin: 20px auto 0;

    overflow: hidden;

    background: rgba(255,255,255,0.15);
}

.loader-line::after {
    content: "";

    display: block;

    width: 50%;
    height: 100%;

    background: var(--primary);

    animation: loaderLine 1.2s infinite;
}

@keyframes loaderPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@keyframes loaderLine {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(200%);
    }
}


/* =====================================================
   3. HEADER
===================================================== */

.site-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 2000;

    transition:
        background 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

.site-header.scrolled {
    background: rgba(255,255,255,0.97);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow: 0 5px 30px rgba(16,47,52,0.09);
}

.header-container {
    width: min(92%, 1280px);

    min-height: 86px;

    margin: auto;

    display: flex;
    align-items: center;

    gap: 30px;
}


/* =====================================================
   4. BRAND
===================================================== */

.brand {
    display: inline-flex;
    align-items: center;

    gap: 11px;

    flex-shrink: 0;
}

.brand-logo-image {
    width: 44px;
    height: 44px;

    display: block;

    object-fit: contain;

    border-radius: 10px;

    box-shadow: 0 8px 20px rgba(8,127,140,0.18);
}

.brand-name {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.brand-name strong {
    font-family: "Manrope", sans-serif;

    color: white;

    font-size: 19px;

    letter-spacing: 1.2px;

    transition: color var(--transition);
}

.brand-name small {
    margin-top: 6px;

    color: rgba(255,255,255,0.7);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 2.6px;

    transition: color var(--transition);
}

.site-header.scrolled .brand-name strong {
    color: var(--dark);
}

.site-header.scrolled .brand-name small {
    color: var(--muted);
}


/* =====================================================
   5. DESKTOP NAV
===================================================== */

.main-nav {
    display: flex;
    align-items: center;

    gap: 2px;

    margin-left: auto;
}

.nav-link {
    position: relative;

    padding: 9px 12px;

    color: rgba(255,255,255,0.88);

    font-size: 13px;
    font-weight: 600;

    transition: color var(--transition);
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 12px;
    right: 12px;
    bottom: 1px;

    height: 2px;

    background: var(--primary);

    transform: scaleX(0);

    transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.site-header.scrolled .nav-link {
    color: #52666a;
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
    color: var(--primary);
}


/* =====================================================
   6. HEADER APPOINTMENT
===================================================== */

.header-appointment {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 17px;

    background: var(--primary);

    color: white;

    border-radius: 7px;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;

    transition: var(--transition);
}

.header-appointment i {
    font-style: normal;
    font-size: 16px;
}

.header-appointment:hover {
    background: var(--primary-dark);

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(8,127,140,0.22);
}


/* =====================================================
   7. MOBILE MENU BUTTON
===================================================== */

.mobile-menu {
    width: 45px;
    height: 45px;

    margin-left: auto;

    display: none;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    border: 0;
    border-radius: 9px;

    background: var(--primary);

    cursor: pointer;

    transition: var(--transition);
}

.mobile-menu span {
    width: 20px;
    height: 2px;

    background: white;

    border-radius: 5px;

    transition: transform 0.35s ease, opacity 0.25s ease;
}

.mobile-menu.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =====================================================
   8. MOBILE NAV
===================================================== */

.mobile-nav {
    position: fixed;

    top: 0;
    right: 0;

    width: min(88%, 430px);
    height: 100vh;

    padding: 105px 30px 30px;

    background: #ffffff;

    z-index: 1500;

    overflow-y: auto;

    transform: translateX(100%);

    transition: transform 0.45s cubic-bezier(.77,0,.18,1);

    box-shadow: -20px 0 60px rgba(0,0,0,0.12);
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;

    min-height: 100%;
}

.mobile-link {
    display: flex;
    align-items: center;

    gap: 18px;

    padding: 17px 5px;

    border-bottom: 1px solid var(--border);

    color: var(--dark);

    font-family: "Manrope", sans-serif;

    font-size: 22px;
    font-weight: 700;

    transition: var(--transition);
}

.mobile-link span {
    width: 28px;

    color: var(--primary);

    font-family: "DM Sans", sans-serif;

    font-size: 10px;

    font-weight: 700;
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--primary);

    padding-left: 10px;
}

.mobile-book {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 30px;

    padding: 17px 20px;

    border-radius: 9px;

    background: var(--primary);

    color: white;

    font-size: 14px;
    font-weight: 700;

    transition: var(--transition);
}

.mobile-book:hover {
    background: var(--primary-dark);
}

.mobile-book span {
    font-size: 20px;
}


/* =====================================================
   9. HERO
===================================================== */

.hero-section {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--dark);
}


/* VIDEO */

.hero-video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;
}


/* DARK OVERLAY */

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(5,31,35,0.92) 0%,
            rgba(5,31,35,0.72) 43%,
            rgba(5,31,35,0.35) 100%
        );
}


/* HERO CONTAINER */

.hero-container {
    position: relative;

    z-index: 2;

    width: min(92%, 1280px);

    margin: auto;

    padding: 150px 0 100px;

    display: flex;
    align-items: center;

    justify-content: space-between;

    gap: 60px;
}


/* HERO CONTENT */

.hero-content {
    max-width: 800px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 22px;

    color: #c8f0f1;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}

.pulse-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #59d5d5;

    box-shadow: 0 0 0 7px rgba(89,213,213,0.12);

    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% {
        box-shadow: 0 0 0 5px rgba(89,213,213,0.12);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(89,213,213,0.03);
    }
}

.hero-content h1 {
    max-width: 850px;

    margin-bottom: 25px;

    color: white;

    font-family: "Manrope", sans-serif;

    font-size: clamp(46px, 6.5vw, 84px);

    line-height: 1.03;

    letter-spacing: -3px;

    font-weight: 800;
}

.hero-content h1 em {
    color: #63d9da;

    font-style: normal;
}

.hero-content > p {
    max-width: 610px;

    margin-bottom: 35px;

    color: rgba(255,255,255,0.78);

    font-size: 16px;
}


/* HERO BUTTONS */

.hero-actions {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 12px;
}

.primary-button,
.outline-button,
.dark-button,
.outline-dark-button,
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 20px;

    min-height: 52px;

    padding: 0 22px;

    border-radius: 7px;

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}

.primary-button {
    background: var(--primary);

    color: white;
}

.primary-button strong {
    font-size: 19px;
    font-weight: 400;

    transition: transform var(--transition);
}

.primary-button:hover {
    background: #0b98a5;

    transform: translateY(-3px);

    box-shadow: 0 15px 30px rgba(8,127,140,0.3);
}

.primary-button:hover strong {
    transform: translateX(5px);
}

.outline-button {
    border: 1px solid rgba(255,255,255,0.35);

    color: white;

    background: rgba(255,255,255,0.05);
}

.outline-button:hover {
    background: white;

    border-color: white;

    color: var(--dark);

    transform: translateY(-3px);
}


/* HERO TRUST */

.hero-trust {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-top: 42px;
}

.trust-avatars {
    display: flex;
}

.trust-avatars div {
    width: 34px;
    height: 34px;

    margin-left: -7px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid rgba(255,255,255,0.6);

    border-radius: 50%;

    background: var(--primary);

    color: white;

    font-weight: 700;
}

.trust-avatars div:first-child {
    margin-left: 0;
}

.hero-trust strong,
.hero-trust span {
    display: block;
}

.hero-trust strong {
    color: white;

    font-size: 12px;
}

.hero-trust span {
    color: rgba(255,255,255,0.55);

    font-size: 11px;
}


/* HERO SIDE */

.hero-side {
    width: 235px;

    flex-shrink: 0;
}

.hero-side-card {
    padding: 22px 0;

    border-bottom: 1px solid rgba(255,255,255,0.2);

    color: white;
}

.hero-side-card:first-child {
    border-top: 1px solid rgba(255,255,255,0.2);
}

.side-number {
    color: #7fdcdd;

    font-size: 10px;
    font-weight: 700;
}

.side-line {
    width: 30px;
    height: 1px;

    margin: 12px 0;

    background: rgba(255,255,255,0.4);
}

.hero-side-card strong {
    display: block;

    margin-bottom: 5px;

    font-family: "Manrope", sans-serif;

    font-size: 16px;
}

.hero-side-card p {
    color: rgba(255,255,255,0.6);

    font-size: 11px;

    line-height: 1.6;
}


/* HERO BOTTOM */

.hero-bottom {
    position: absolute;

    bottom: 30px;
    left: 50%;

    z-index: 3;

    display: flex;
    align-items: center;

    gap: 14px;

    transform: translateX(-50%);

    color: rgba(255,255,255,0.55);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}

.scroll-line {
    width: 55px;
    height: 1px;

    background: rgba(255,255,255,0.4);

    overflow: hidden;
}

.scroll-line::after {
    content: "";

    display: block;

    width: 35%;

    height: 100%;

    background: white;

    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(300%);
    }
}


/* =====================================================
   10. GENERAL SECTIONS
===================================================== */

.section-container {
    width: min(92%, 1180px);

    margin: auto;
}

.section-label {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--primary);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2.5px;
}

.light-label {
    color: #7bd8d9;
}

.section-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;

    margin-bottom: 55px;
}

.section-top h2,
.intro-heading h2,
.about-text h2,
.why-header h2,
.testimonial-heading h2 {
    font-family: "Manrope", sans-serif;

    color: var(--dark-2);

    font-size: clamp(32px, 4vw, 53px);

    line-height: 1.08;

    letter-spacing: -1.8px;

    font-weight: 800;
}

.section-top h2 span,
.intro-heading h2 span,
.about-text h2 span,
.testimonial-heading h2 span {
    color: var(--primary);
}

.section-top > p {
    max-width: 360px;

    color: var(--text);

    font-size: 14px;
}


/* =====================================================
   11. INTRODUCTION
===================================================== */

.intro-section {
    padding: 115px 0 90px;

    background: white;
}

.intro-heading {
    max-width: 700px;
}

.intro-heading h2 {
    font-size: clamp(38px, 5vw, 65px);
}

.intro-description {
    max-width: 620px;

    margin: 25px 0 60px auto;
}

.intro-description p {
    margin-bottom: 20px;

    color: var(--text);

    font-size: 15px;
}

.arrow-link {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 700;
}

.arrow-link span {
    font-size: 18px;

    transition: transform var(--transition);
}

.arrow-link:hover span {
    transform: translate(4px, -4px);
}


/* =====================================================
   12. STATS
===================================================== */

.stats-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-card {
    min-height: 145px;

    padding: 28px 25px;

    display: flex;
    align-items: center;

    gap: 18px;

    border-right: 1px solid var(--border);
}

.stat-card:last-child {
    border-right: 0;
}

.stat-card strong {
    color: var(--primary);

    font-family: "Manrope", sans-serif;

    font-size: 36px;
    line-height: 1;
}

.stat-card span {
    color: var(--text);

    font-size: 11px;
    font-weight: 600;

    line-height: 1.5;
}

.stat-highlight {
    background: var(--primary);

    color: white;
}

.stat-highlight strong,
.stat-highlight span {
    color: white;
}


/* =====================================================
   13. ABOUT
===================================================== */

.about-section {
    padding: 110px 0;

    background: var(--light);
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image {
    position: relative;

    height: 460px;

    overflow: hidden;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #d7f1f2,
            #8dcdd0
        );
}

.about-image img {
    height: 100%;

    object-fit: cover;
}

.about-image img[src=""] {
    display: none;
}

.image-fallback {
    position: absolute;

    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: #17636b;

    background:
        radial-gradient(
            circle at center,
            rgba(255,255,255,0.35),
            transparent 60%
        );
}

.image-fallback span {
    width: 90px;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: rgba(255,255,255,0.65);

    font-size: 65px;
    font-weight: 800;
}

.image-fallback strong {
    margin-top: 20px;

    font-family: "Manrope", sans-serif;

    letter-spacing: 2px;
}

.image-fallback small {
    margin-top: 5px;

    font-size: 9px;

    letter-spacing: 3px;
}


/* EXPERIENCE CARD */

.experience-card {
    position: absolute;

    right: -25px;
    bottom: 35px;

    width: 190px;

    padding: 20px;

    background: white;

    border-radius: 12px;

    box-shadow: var(--shadow);
}

.experience-icon {
    display: block;

    margin-bottom: 12px;

    color: var(--primary);

    font-size: 22px;
}

.experience-card strong,
.experience-card small {
    display: block;
}

.experience-card strong {
    color: var(--dark);

    font-size: 13px;
}

.experience-card small {
    margin-top: 3px;

    color: var(--muted);

    font-size: 10px;
}


/* ABOUT TEXT */

.about-text h2 {
    margin-bottom: 24px;
}

.about-text > p {
    margin-bottom: 18px;

    color: var(--text);

    font-size: 14px;
}

.about-list {
    margin: 28px 0 32px;
}

.about-list > div {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 13px;
}

.about-list span {
    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 11px;
    font-weight: 800;
}

.about-list p {
    color: var(--dark);

    font-size: 12px;
    font-weight: 600;
}

.dark-button {
    background: var(--dark);

    color: white;
}

.dark-button strong {
    font-size: 18px;

    transition: transform var(--transition);
}

.dark-button:hover {
    background: var(--primary);

    transform: translateY(-3px);
}

.dark-button:hover strong {
    transform: translateX(5px);
}


/* =====================================================
   14. SERVICES
===================================================== */

.services-section {
    padding: 115px 0;
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.service-card {
    position: relative;

    min-height: 315px;

    padding: 27px;

    display: flex;
    flex-direction: column;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.service-card::before {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 3px;

    background: var(--primary);

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);

    border-color: transparent;

    box-shadow: var(--shadow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 55px;
}

.service-number {
    color: var(--muted);

    font-size: 10px;
    font-weight: 700;
}

.service-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 23px;

    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);

    color: white;

    transform: rotate(8deg);
}

.service-card h3 {
    margin-bottom: 11px;

    color: var(--dark-2);

    font-family: "Manrope", sans-serif;

    font-size: 18px;
}

.service-card p {
    color: var(--text);

    font-size: 12px;
}

.service-arrow {
    margin-top: auto;

    color: var(--primary);

    font-size: 22px;

    transition: transform var(--transition);
}

.service-card:hover .service-arrow {
    transform: translateX(7px);
}

.section-button {
    margin-top: 45px;

    text-align: center;
}

.outline-dark-button {
    border: 1px solid #cad8da;

    color: var(--dark);
}

.outline-dark-button span {
    font-size: 18px;

    transition: transform var(--transition);
}

.outline-dark-button:hover {
    border-color: var(--primary);

    color: var(--primary);
}

.outline-dark-button:hover span {
    transform: translateX(5px);
}


/* =====================================================
   15. WHY SECTION
===================================================== */

.why-section {
    padding: 110px 0;

    background: var(--dark);

    overflow: hidden;
}

.why-section::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -200px;
    top: -200px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.05);
}

.why-header {
    max-width: 700px;

    margin-bottom: 60px;
}

.why-header h2 {
    color: white;
}

.why-header h2 em {
    color: #62d7d8;

    font-style: normal;
}

.why-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid rgba(255,255,255,0.13);
}

.why-card {
    min-height: 290px;

    padding: 30px 25px;

    border-right: 1px solid rgba(255,255,255,0.13);

    transition: background var(--transition);
}

.why-card:last-child {
    border-right: 0;
}

.why-card:hover {
    background: rgba(255,255,255,0.04);
}

.why-card > span {
    color: #65d7d8;

    font-size: 10px;
    font-weight: 700;
}

.why-icon {
    width: 45px;
    height: 45px;

    margin: 40px 0 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: rgba(255,255,255,0.08);

    color: #73dcdd;

    font-size: 21px;
}

.why-card h3 {
    margin-bottom: 10px;

    color: white;

    font-family: "Manrope", sans-serif;

    font-size: 17px;
}

.why-card p {
    color: rgba(255,255,255,0.55);

    font-size: 12px;
}


/* =====================================================
   16. TEAM
===================================================== */

.team-section {
    padding: 115px 0;

    background: white;
}

.team-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.doctor-card {
    overflow: hidden;

    border-radius: 15px;

    background: var(--light);

    transition: var(--transition);
}

.doctor-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);
}

.doctor-image {
    position: relative;

    height: 320px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #d9f3f4,
            #91cdd0
        );
}

.doctor-image img {
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-fallback {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 100px;
}

.doctor-info {
    padding: 23px;
}

.doctor-info span {
    color: var(--primary);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.doctor-info h3 {
    margin-top: 7px;

    color: var(--dark-2);

    font-family: "Manrope", sans-serif;

    font-size: 18px;
}


/* =====================================================
   17. TESTIMONIALS
===================================================== */

.testimonial-section {
    padding: 115px 0;

    background: var(--light);
}

.testimonial-heading {
    max-width: 650px;

    margin-bottom: 50px;
}

.testimonial-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.testimonial-card {
    position: relative;

    padding: 35px 30px;

    min-height: 280px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 14px;

    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.testimonial-card.featured {
    background: var(--primary);

    border-color: var(--primary);

    transform: translateY(-12px);
}

.testimonial-card.featured:hover {
    transform: translateY(-18px);
}

.quote {
    color: var(--primary);

    font-family: Georgia, serif;

    font-size: 55px;

    line-height: 0.8;

    margin-bottom: 20px;
}

.featured .quote {
    color: rgba(255,255,255,0.55);
}

.testimonial-card > p {
    color: var(--text);

    font-size: 13px;

    font-style: italic;
}

.featured > p {
    color: rgba(255,255,255,0.85);
}

.testimonial-person {
    position: absolute;

    left: 30px;
    bottom: 28px;

    display: flex;
    align-items: center;

    gap: 10px;
}

.person-avatar {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 12px;
    font-weight: 800;
}

.featured .person-avatar {
    background: rgba(255,255,255,0.18);

    color: white;
}

.testimonial-person strong,
.testimonial-person span {
    display: block;
}

.testimonial-person strong {
    color: var(--dark);

    font-size: 11px;
}

.featured .testimonial-person strong {
    color: white;
}

.testimonial-person span {
    color: var(--muted);

    font-size: 9px;
}

.featured .testimonial-person span {
    color: rgba(255,255,255,0.55);
}


/* =====================================================
   18. NEWS
===================================================== */

.news-section {
    padding: 115px 0;
}

.news-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.news-card {
    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 14px;

    background: white;

    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);
}

.news-image {
    position: relative;

    height: 225px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #d8f3f4,
            #94ced1
        );
}

.news-image img {
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.06);
}

.news-fallback {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 65px;

    color: #17636b;
}

.news-content {
    padding: 25px;
}

.news-content > span {
    color: var(--primary);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.7px;
}

.news-content h3 {
    margin: 9px 0 10px;

    color: var(--dark-2);

    font-family: "Manrope", sans-serif;

    font-size: 18px;

    line-height: 1.3;
}

.news-content p {
    margin-bottom: 17px;

    color: var(--text);

    font-size: 12px;
}

.news-content a {
    color: var(--primary);

    font-size: 11px;
    font-weight: 700;
}


/* =====================================================
   19. CTA
===================================================== */

.cta-section {
    padding: 80px 0;

    background: var(--primary);
}

.cta-container {
    width: min(92%, 1180px);

    margin: auto;

    display: grid;

    grid-template-columns: 80px 1fr auto;

    align-items: center;

    gap: 30px;
}

.cta-symbol {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.3);

    border-radius: 15px;

    color: white;

    font-size: 42px;
    font-weight: 300;
}

.cta-content > span {
    color: #b5eeee;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;
}

.cta-content h2 {
    margin: 7px 0;

    color: white;

    font-family: "Manrope", sans-serif;

    font-size: clamp(28px, 4vw, 46px);

    line-height: 1.1;

    letter-spacing: -1px;
}

.cta-content h2 em {
    color: #a8e9ea;

    font-style: normal;
}

.cta-content p {
    max-width: 600px;

    color: rgba(255,255,255,0.72);

    font-size: 12px;
}

.cta-button {
    background: white;

    color: var(--primary);

    white-space: nowrap;
}

.cta-button span {
    font-size: 18px;

    transition: transform var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);

    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.cta-button:hover span {
    transform: translateX(5px);
}


/* =====================================================
   20. FOOTER
===================================================== */

.site-footer {
    padding-top: 80px;

    background: #0c292e;

    color: white;
}

.footer-container {
    width: min(92%, 1180px);

    margin: auto;

    display: grid;

    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;

    gap: 50px;

    padding-bottom: 65px;
}

.footer-brand .brand-name strong {
    color: white;
}

.footer-brand .brand-name small {
    color: #87a8ab;
}

.footer-brand > p {
    max-width: 280px;

    margin-top: 22px;

    color: #8ca6a9;

    font-size: 12px;
}

.footer-column h3 {
    margin-bottom: 20px;

    color: white;

    font-family: "Manrope", sans-serif;

    font-size: 14px;
}

.footer-column a {
    display: block;

    margin-bottom: 11px;

    color: #8ca6a9;

    font-size: 11px;

    transition: var(--transition);
}

.footer-column a:hover {
    color: #6cd7d8;

    transform: translateX(4px);
}

.contact-column p {
    margin-bottom: 10px;

    color: #8ca6a9;

    font-size: 11px;
}

.footer-bottom {
    width: min(92%, 1180px);

    margin: auto;

    padding: 22px 0;

    border-top: 1px solid rgba(255,255,255,0.08);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    color: #718c8f;

    font-size: 10px;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}

.footer-bottom a:hover {
    color: white;
}


/* =====================================================
   21. SCROLL REVEAL ANIMATIONS
===================================================== */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.show {
    opacity: 1;

    transform: translateY(0);
}

.reveal-delay {
    opacity: 0;

    transform: translateX(35px);

    transition:
        opacity 1s ease 0.25s,
        transform 1s ease 0.25s;
}

.reveal-delay.show {
    opacity: 1;

    transform: translateX(0);
}


/* =====================================================
   22. TABLET
===================================================== */

@media (max-width: 1100px) {

    .header-container {
        width: 94%;
    }

    .main-nav,
    .header-appointment {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-container {
        width: 94%;
    }

    .hero-side {
        width: 190px;
    }

    .about-grid {
        gap: 50px;
    }

    .experience-card {
        right: -10px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-card:nth-child(2) {
        border-right: 0;
    }

    .why-card:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,0.13);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =====================================================
   23. SMALL TABLET
===================================================== */

@media (max-width: 850px) {

    .hero-section {
        min-height: 850px;
    }

    .hero-container {
        padding-top: 145px;
        padding-bottom: 100px;

        align-items: flex-start;
    }

    .hero-side {
        display: none;
    }

    .hero-content {
        max-width: 750px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card:nth-child(2) {
        border-right: 0;
    }

    .stat-card:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 400px;
    }

    .about-text {
        max-width: 700px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-card.featured {
        transform: none;
    }

    .testimonial-card.featured:hover {
        transform: translateY(-5px);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-container {
        grid-template-columns: 65px 1fr;
    }

    .cta-button {
        grid-column: 2;
        justify-self: start;
    }
}


/* =====================================================
   24. PHONE
===================================================== */

@media (max-width: 600px) {

    .header-container {
        min-height: 72px;
    }

    .brand-symbol {
        width: 39px;
        height: 39px;
    }

    .brand-name strong {
        font-size: 16px;
    }

    .brand-name small {
        font-size: 6.5px;
        letter-spacing: 2px;
    }

    .mobile-menu {
        width: 42px;
        height: 42px;
    }

    .mobile-nav {
        width: 100%;

        padding-left: 24px;
        padding-right: 24px;
    }

    .hero-section {
        min-height: 780px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5,31,35,0.9),
                rgba(5,31,35,0.65)
            );
    }

    .hero-container {
        width: 92%;

        padding-top: 125px;
        padding-bottom: 90px;
    }

    .hero-content h1 {
        font-size: clamp(43px, 12vw, 62px);

        letter-spacing: -2px;
    }

    .hero-content > p {
        font-size: 14px;
    }

    .hero-eyebrow {
        font-size: 9px;

        letter-spacing: 1.5px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;

        max-width: 320px;
    }

    .primary-button,
    .outline-button {
        width: 100%;
    }

    .hero-trust {
        margin-top: 32px;
    }

    .hero-bottom {
        bottom: 18px;
    }

    .hero-bottom span {
        font-size: 8px;
    }

    .section-container {
        width: 92%;
    }

    .section-top {
        display: block;

        margin-bottom: 40px;
    }

    .section-top > p {
        margin-top: 20px;
    }

    .intro-section,
    .about-section,
    .services-section,
    .why-section,
    .team-section,
    .testimonial-section,
    .news-section {
        padding: 75px 0;
    }

    .intro-heading h2,
    .section-top h2,
    .about-text h2,
    .why-header h2,
    .testimonial-heading h2 {
        font-size: 35px;

        letter-spacing: -1px;
    }

    .intro-description {
        margin: 25px 0 45px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        min-height: 110px;

        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .stat-card:last-child {
        border-bottom: 0;
    }

    .about-image {
        height: 300px;
    }

    .experience-card {
        right: 15px;
        bottom: 15px;

        width: 165px;

        padding: 16px;
    }

    .services-grid,
    .team-grid,
    .testimonial-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 280px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card {
        min-height: 240px;

        border-right: 0;

        border-bottom: 1px solid rgba(255,255,255,0.13);
    }

    .why-card:last-child {
        border-bottom: 0;
    }

    .why-card:nth-child(2) {
        border-right: 0;
    }

    .doctor-image {
        height: 280px;
    }

    .testimonial-card {
        min-height: 260px;
    }

    .testimonial-card.featured {
        transform: none;
    }

    .news-image {
        height: 210px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-container {
        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 22px;
    }

    .cta-button {
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;

        gap: 35px;

        padding-bottom: 45px;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        padding: 20px 0;
    }

    .footer-bottom div {
        flex-wrap: wrap;
    }
}


/* =====================================================
   25. VERY SMALL PHONES
===================================================== */

@media (max-width: 380px) {

    .hero-content h1 {
        font-size: 39px;
    }

    .hero-eyebrow {
        font-size: 8px;
    }

    .hero-section {
        min-height: 750px;
    }

    .mobile-nav {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mobile-link {
        font-size: 20px;
    }

    .section-top h2,
    .intro-heading h2,
    .about-text h2,
    .why-header h2,
    .testimonial-heading h2 {
        font-size: 31px;
    }

    .about-image {
        height: 270px;
    }

    .doctor-image {
        height: 260px;
    }
}


/* =====================================================
   26. REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* =====================================================
   CANNAN CARE HOSPITAL
   PROFESSIONAL ABOUT PAGE DESIGN
===================================================== */

:root {
    --hospital-navy: #12304A;
    --hospital-blue: #1677A8;
    --hospital-blue-dark: #0D5D86;
    --hospital-green: #2A9D8F;
    --hospital-light-blue: #EAF4F8;
    --hospital-background: #F7FAFC;
    --hospital-white: #FFFFFF;
    --hospital-text: #1B2936;
    --hospital-muted: #64748B;
    --hospital-border: #E2E8F0;
}


/* =====================================================
   ABOUT HERO
===================================================== */

.about-hero {
    position: relative;
    min-height: 570px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            115deg,
            rgba(12, 39, 60, 0.98),
            rgba(18, 72, 101, 0.94)
        );

    color: var(--hospital-white);
    overflow: hidden;
}


/* Decorative circles */

.about-hero::before {
    content: "";
    position: absolute;

    width: 520px;
    height: 520px;

    right: -210px;
    top: -220px;

    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 50%;
}

.about-hero::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    left: -190px;
    bottom: -210px;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
}


.about-hero-container {
    position: relative;
    z-index: 2;

    padding-top: 100px;
    padding-bottom: 100px;
}


.about-hero .section-label {
    color: #9DDCE8;
    letter-spacing: 2px;
}


.about-hero h1 {
    max-width: 900px;

    margin: 20px 0;

    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.04;

    letter-spacing: -2px;
    font-weight: 700;
}


.about-hero h1 span {
    display: block;
    color: #8FD7E6;
}


.about-hero p {
    max-width: 650px;

    margin: 0;

    color: rgba(255,255,255,0.78);

    font-size: 18px;
    line-height: 1.8;
}


/* =====================================================
   WHO WE ARE
===================================================== */

.about-who-section {
    padding: 120px 20px;
    background: var(--hospital-white);
}


.about-who-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}


/* Main image */

.about-who-image {
    position: relative;

    min-height: 450px;

    overflow: hidden;

    border-radius: 8px;

    background: var(--hospital-light-blue);

    box-shadow:
        0 25px 70px rgba(18,48,74,0.12);
}


.about-who-image img {
    width: 100%;
    height: 450px;

    display: block;

    object-fit: cover;
}


/* Image placeholder */

.about-image-placeholder {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    background: var(--hospital-light-blue);

    color: var(--hospital-blue);

    text-align: center;
}


.about-image-placeholder strong {
    font-size: 26px;
}


.about-image-placeholder span {
    margin-top: 8px;

    color: var(--hospital-muted);

    font-size: 14px;
}


.about-image-placeholder,
.about-team-image .about-image-placeholder,
.partner-placeholder {
    display: none !important;
}


/* Content */

.about-who-content h2 {
    margin: 18px 0 25px;

    color: var(--hospital-navy);

    font-size: clamp(38px, 5vw, 60px);

    line-height: 1.08;

    letter-spacing: -1.5px;
}


.about-who-content h2 span {
    display: block;

    color: var(--hospital-blue);
}


.about-who-content p {
    color: var(--hospital-muted);

    font-size: 17px;

    line-height: 1.9;

    margin-bottom: 18px;
}


/* Check list */

.about-check-list {
    display: grid;

    gap: 15px;

    margin: 30px 0;
}


.about-check-list div {
    display: flex;

    align-items: center;

    gap: 13px;

    color: var(--hospital-text);

    font-weight: 600;
}


.about-check-list span {
    width: 28px;
    height: 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--hospital-light-blue);

    color: var(--hospital-blue);

    font-size: 13px;
}


/* =====================================================
   BUTTON
===================================================== */

.about-who-content .primary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 14px 27px;

    border-radius: 5px;

    background: var(--hospital-blue);

    color: #ffffff;

    text-decoration: none;

    font-weight: 700;

    transition: 0.3s ease;
}


.about-who-content .primary-button:hover {
    background: var(--hospital-blue-dark);

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(22,119,168,0.22);
}


/* =====================================================
   MISSION / VISION / VALUES
===================================================== */

.about-values-section {
    padding: 120px 20px;

    background: var(--hospital-background);
}


.about-section-heading {
    max-width: 760px;
}


.about-section-heading.center {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}


.about-section-heading h2 {
    margin: 16px 0;

    color: var(--hospital-navy);

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.1;

    letter-spacing: -1px;
}


.about-section-heading h2 span {
    color: var(--hospital-blue);
}


.about-section-heading p {
    color: var(--hospital-muted);

    font-size: 17px;

    line-height: 1.8;
}


.about-values-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    margin-top: 60px;
}


.about-value-card {
    position: relative;

    padding: 42px 35px;

    background: var(--hospital-white);

    border: 1px solid var(--hospital-border);

    border-radius: 8px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.about-value-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 45px rgba(18,48,74,0.10);
}


.about-value-icon {
    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 8px;

    background: var(--hospital-light-blue);

    color: var(--hospital-blue);

    font-size: 24px;
}


.value-number {
    position: absolute;

    top: 28px;
    right: 28px;

    color: #CBD5E1;

    font-size: 13px;

    font-weight: 700;
}


.about-value-card h3 {
    margin-bottom: 14px;

    color: var(--hospital-navy);

    font-size: 24px;
}


.about-value-card p {
    color: var(--hospital-muted);

    line-height: 1.8;
}


/* =====================================================
   TEAM & FACILITIES
===================================================== */

.about-team-section {
    padding: 120px 20px;

    background: var(--hospital-white);
}


.about-team-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;

    margin-top: 60px;
}


.about-team-card {
    overflow: hidden;

    background: var(--hospital-background);

    border: 1px solid var(--hospital-border);

    border-radius: 8px;

    transition: 0.3s ease;
}


.about-team-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 40px rgba(18,48,74,0.10);
}


.about-team-image {
    position: relative;

    height: 280px;

    overflow: hidden;

    background: var(--hospital-light-blue);
}


.about-team-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;
}


.about-team-card:hover .about-team-image img {
    transform: scale(1.04);
}


.about-team-content {
    padding: 34px;
}


.about-team-content > span {
    color: var(--hospital-blue);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1px;
}


.about-team-content h3 {
    margin: 10px 0 15px;

    color: var(--hospital-navy);

    font-size: 27px;
}


.about-team-content p {
    color: var(--hospital-muted);

    line-height: 1.8;

    margin-bottom: 18px;
}


.about-team-content a {
    color: var(--hospital-blue);

    text-decoration: none;

    font-weight: 700;
}


.about-team-content a:hover {
    color: var(--hospital-blue-dark);
}


/* =====================================================
   STATISTICS
===================================================== */

.about-stats-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    margin-top: 65px;

    background: var(--hospital-navy);

    border-radius: 8px;

    overflow: hidden;
}


.about-stat-box {
    padding: 38px 20px;

    text-align: center;

    border-right: 1px solid rgba(255,255,255,0.12);
}


.about-stat-box:last-child {
    border-right: none;
}


.about-stat-box strong {
    display: block;

    margin-bottom: 8px;

    color: #8FD7E6;

    font-size: 42px;
}


.about-stat-box span {
    color: rgba(255,255,255,0.72);

    font-size: 14px;
}


/* =====================================================
   PARTNERS
===================================================== */

.about-partners-section {
    padding: 120px 20px;

    background: var(--hospital-background);
}


.about-partners-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

    margin-top: 60px;
}


.partner-logo-box {
    position: relative;

    height: 170px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 25px;

    background: #ffffff;

    border: 1px solid var(--hospital-border);

    border-radius: 8px;

    transition: 0.3s ease;
}


.partner-logo-box:hover {
    transform: translateY(-5px);

    border-color: #C9DDE8;

    box-shadow:
        0 15px 35px rgba(18,48,74,0.08);
}


.partner-logo-box img {
    max-width: 90%;
    max-height: 100px;

    width: auto;
    height: auto;

    object-fit: contain;
}


.partner-placeholder {
    display: none;

    color: var(--hospital-muted);

    font-size: 14px;

    font-weight: 600;
}


/* =====================================================
   CTA
===================================================== */

.cta-section {
    background:
        linear-gradient(
            120deg,
            var(--hospital-navy),
            var(--hospital-blue-dark)
        );
}


.cta-section .section-label {
    color: #9DDCE8;
}


.cta-section h2 {
    color: #ffffff;
}


.cta-section h2 span {
    color: #8FD7E6;
}


.cta-section p {
    color: rgba(255,255,255,0.75);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 850px) {

    .about-hero {
        min-height: 500px;
    }


    .about-who-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .about-who-image {
        min-height: 380px;
    }


    .about-who-image img {
        height: 380px;
    }


    .about-values-grid {
        grid-template-columns: 1fr;
    }


    .about-team-grid {
        grid-template-columns: 1fr;
    }


    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .about-stat-box:nth-child(2) {
        border-right: none;
    }


    .about-stat-box:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }


    .about-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =====================================================
   PHONE
===================================================== */

@media (max-width: 600px) {

    .about-hero {
        min-height: 450px;
    }


    .about-hero-container {
        padding-top: 80px;
        padding-bottom: 80px;
    }


    .about-hero h1 {
        font-size: 42px;

        letter-spacing: -1px;
    }


    .about-hero p {
        font-size: 16px;
    }


    .about-who-section,
    .about-values-section,
    .about-team-section,
    .about-partners-section {
        padding: 75px 18px;
    }


    .about-who-image {
        min-height: 280px;

        border-radius: 6px;
    }


    .about-who-image img {
        height: 280px;
    }


    .about-values-grid {
        gap: 18px;
    }


    .about-value-card {
        padding: 32px 25px;
    }


    .about-team-image {
        height: 250px;
    }


    .about-team-content {
        padding: 26px;
    }


    .about-stats-grid {
        grid-template-columns: 1fr;
    }


    .about-stat-box {
        border-right: none;

        border-bottom: 1px solid rgba(255,255,255,0.12);
    }


    .about-stat-box:last-child {
        border-bottom: none;
    }


    .about-partners-grid {
        grid-template-columns: 1fr;
    }


    .partner-logo-box {
        height: 145px;
    }

}
/* =====================================================
   CANNAN CARE HOSPITAL
   SERVICES PAGE
   PROFESSIONAL DESIGN
===================================================== */


/* =====================================================
   SERVICES HERO
===================================================== */

.services-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(18, 48, 74, 0.96),
            rgba(13, 93, 134, 0.88)
        ),
        url("images/services-main.jpg") center/cover no-repeat;
}

.services-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(255,255,255,0.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(42,157,143,0.18),
            transparent 35%
        );
}

.services-hero-content {
    position: relative;
    z-index: 2;

    width: min(1200px, 92%);
    margin: auto;

    padding: 100px 0;
    color: #ffffff;
}

.services-hero-content .section-tag {
    color: #bce8e2;
}

.services-hero h1 {
    max-width: 760px;
    margin: 18px 0;

    font-size: clamp(45px, 7vw, 78px);
    line-height: 1.04;
    letter-spacing: -2px;
}

.services-hero h1 span {
    color: #7ddbd1;
}

.services-hero p {
    max-width: 680px;

    font-size: 18px;
    line-height: 1.8;

    color: rgba(255,255,255,0.88);

    margin-bottom: 32px;
}

.services-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}


/* =====================================================
   EMERGENCY BANNER
===================================================== */

.emergency-banner {
    background: #ffffff;
    border-bottom: 1px solid var(--hospital-border);
}

.emergency-content {
    width: min(1200px, 92%);
    margin: auto;

    min-height: 100px;

    display: flex;
    align-items: center;
    gap: 20px;
}

.emergency-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #fff1f1;

    font-size: 27px;
}

.emergency-content div:nth-child(2) {
    flex: 1;
}

.emergency-content span {
    display: block;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;

    color: #d9534f;

    margin-bottom: 5px;
}

.emergency-content h3 {
    margin: 0;

    font-size: 18px;
    color: var(--hospital-navy);
}

.emergency-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 24px;

    border-radius: 8px;

    background: var(--hospital-navy);
    color: #ffffff;

    text-decoration: none;
    font-weight: 700;

    transition: 0.3s ease;
}

.emergency-button:hover {
    background: var(--hospital-blue);
    transform: translateY(-2px);
}


/* =====================================================
   SERVICES INTRO
===================================================== */

.services-intro {
    padding: 110px 0;

    background: #ffffff;
}

.section-container {
    width: min(1200px, 92%);
    margin: auto;
}

.services-intro-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 80px;

    align-items: center;
}

.services-intro-image {
    position: relative;
}

.services-intro-image img {
    width: 100%;
    height: 420px;

    object-fit: cover;

    border-radius: 22px;

    box-shadow:
        0 25px 60px rgba(18,48,74,0.16);
}

.experience-badge {
    position: absolute;

    right: -25px;
    bottom: 30px;

    width: 150px;
    min-height: 125px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: var(--hospital-navy);
    color: #ffffff;

    box-shadow:
        0 18px 45px rgba(18,48,74,0.25);
}

.experience-badge strong {
    font-size: 38px;
    line-height: 1;

    color: #7ddbd1;
}

.experience-badge span {
    margin-top: 8px;

    font-size: 13px;
    font-weight: 700;

    color: rgba(255,255,255,0.85);
}

.services-intro-content h2 {
    max-width: 560px;

    margin: 15px 0 22px;

    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.12;

    color: var(--hospital-navy);
}

.services-intro-content p {
    max-width: 610px;

    margin-bottom: 18px;

    font-size: 16px;
    line-height: 1.8;

    color: var(--hospital-muted);
}

.section-tag {
    display: inline-block;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.8px;

    color: var(--hospital-blue);
}

.services-intro-points {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin-top: 30px;
}

.services-intro-points div {
    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--hospital-text);

    font-size: 14px;
    font-weight: 600;
}

.services-intro-points span {
    width: 25px;
    height: 25px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--hospital-light-blue);

    color: var(--hospital-blue);
}


/* =====================================================
   SERVICE SEARCH SECTION
===================================================== */

.service-search-section {
    padding: 110px 0;

    background: var(--hospital-background);
}

.section-heading {
    max-width: 700px;

    margin: 0 auto 50px;

    text-align: center;
}

.section-heading h2 {
    margin: 14px 0;

    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.15;

    color: var(--hospital-navy);
}

.section-heading p {
    margin: 0;

    font-size: 16px;
    line-height: 1.7;

    color: var(--hospital-muted);
}

.service-search-box {
    max-width: 750px;

    margin: 0 auto 30px;
}

.service-search-input {
    display: flex;
    align-items: center;

    gap: 14px;

    padding: 5px 20px;

    min-height: 64px;

    border: 1px solid var(--hospital-border);

    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 10px 30px rgba(18,48,74,0.07);
}

.service-search-input span {
    font-size: 21px;
}

.service-search-input input {
    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    font-size: 16px;

    color: var(--hospital-text);
}

.service-search-input input::placeholder {
    color: #94a3b8;
}


/* =====================================================
   SERVICE FILTERS
===================================================== */

.service-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 50px;
}

.service-filter {
    border: 1px solid var(--hospital-border);

    background: #ffffff;

    color: var(--hospital-text);

    padding: 11px 20px;

    border-radius: 30px;

    cursor: pointer;

    font-size: 14px;
    font-weight: 700;

    transition: 0.3s ease;
}

.service-filter:hover,
.service-filter.active {
    background: var(--hospital-navy);
    border-color: var(--hospital-navy);

    color: #ffffff;

    transform: translateY(-2px);
}


/* =====================================================
   SERVICES GRID
===================================================== */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}

.service-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--hospital-border);

    border-radius: 18px;

    box-shadow:
        0 8px 30px rgba(18,48,74,0.05);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 45px rgba(18,48,74,0.13);
}

.service-card-image {
    position: relative;

    height: 185px;

    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.07);
}

.service-number {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(18,48,74,0.9);

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
}

.service-card-content {
    position: relative;

    padding: 30px 25px 28px;
}

.service-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    margin-bottom: 17px;

    border-radius: 12px;

    background: var(--hospital-light-blue);

    font-size: 23px;
}

.service-card-content h3 {
    margin: 0 0 12px;

    font-size: 21px;

    color: var(--hospital-navy);
}

.service-card-content p {
    min-height: 90px;

    margin: 0 0 18px;

    color: var(--hospital-muted);

    font-size: 14px;
    line-height: 1.75;
}

.service-card-content a {
    display: inline-flex;

    color: var(--hospital-blue);

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    transition: 0.3s ease;
}

.service-card-content a:hover {
    color: var(--hospital-green);

    transform: translateX(4px);
}


/* =====================================================
   NO RESULTS
===================================================== */

.service-no-results {
    text-align: center;

    padding: 70px 20px;

    border-radius: 18px;

    background: #ffffff;

    border: 1px solid var(--hospital-border);
}

.service-no-results > div {
    font-size: 40px;
}

.service-no-results h3 {
    margin: 15px 0 8px;

    color: var(--hospital-navy);
}

.service-no-results p {
    margin: 0;

    color: var(--hospital-muted);
}


/* =====================================================
   SPECIALIST FEATURE
===================================================== */

.specialist-feature {
    padding: 110px 0;

    background: #ffffff;
}

.specialist-feature-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 70px;

    align-items: center;
}

.specialist-feature-content h2 {
    max-width: 550px;

    margin: 15px 0 20px;

    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.12;

    color: var(--hospital-navy);
}

.specialist-feature-content > p {
    max-width: 590px;

    color: var(--hospital-muted);

    font-size: 16px;
    line-height: 1.8;
}

.specialist-list {
    list-style: none;

    padding: 0;
    margin: 30px 0;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.specialist-list li {
    display: flex;
    align-items: center;

    gap: 10px;

    font-size: 14px;
    font-weight: 700;

    color: var(--hospital-text);
}

.specialist-list span {
    width: 25px;
    height: 25px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #e5f5f2;

    color: var(--hospital-green);
}

.specialist-feature-image img {
    width: 100%;
    height: 420px;

    object-fit: cover;

    border-radius: 22px;

    box-shadow:
        0 25px 60px rgba(18,48,74,0.15);
}


/* =====================================================
   WHY SERVICES
===================================================== */

.why-services-section {
    padding: 110px 0;

    background: var(--hospital-background);
}

.why-services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}

.why-service-card {
    padding: 35px 25px;

    border-radius: 17px;

    background: #ffffff;

    border: 1px solid var(--hospital-border);

    transition: 0.35s ease;
}

.why-service-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 40px rgba(18,48,74,0.09);
}

.why-service-icon {
    width: 60px;
    height: 60px;

    display: grid;
    place-items: center;

    margin-bottom: 22px;

    border-radius: 15px;

    background: var(--hospital-light-blue);

    font-size: 27px;
}

.why-service-card h3 {
    margin: 0 0 12px;

    font-size: 19px;

    color: var(--hospital-navy);
}

.why-service-card p {
    margin: 0;

    font-size: 14px;
    line-height: 1.7;

    color: var(--hospital-muted);
}


/* =====================================================
   SERVICE PROCESS
===================================================== */

.service-process-section {
    padding: 110px 0;

    background: var(--hospital-navy);
}

.service-process-section .section-heading h2 {
    color: #ffffff;
}

.service-process-section .section-heading p {
    color: rgba(255,255,255,0.7);
}

.service-process-section .section-tag {
    color: #7ddbd1;
}

.service-process-grid {
    display: grid;

    grid-template-columns:
        1fr auto 1fr auto 1fr auto 1fr;

    align-items: center;

    gap: 15px;
}

.process-step {
    text-align: center;

    padding: 20px 10px;
}

.process-number {
    width: 62px;
    height: 62px;

    margin: 0 auto 18px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #ffffff;

    color: var(--hospital-navy);

    font-size: 14px;
    font-weight: 900;
}

.process-step h3 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 20px;
}

.process-step p {
    margin: 0;

    color: rgba(255,255,255,0.65);

    font-size: 13px;
    line-height: 1.7;
}

.process-line {
    width: 45px;
    height: 2px;

    background: rgba(255,255,255,0.2);
}


/* =====================================================
   FAQ
===================================================== */

.services-faq-section {
    padding: 110px 0;

    background: #ffffff;
}

.faq-container {
    max-width: 850px;

    margin: auto;
}

.faq-item {
    overflow: hidden;

    margin-bottom: 12px;

    border: 1px solid var(--hospital-border);

    border-radius: 12px;

    background: #ffffff;
}

.faq-question {
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 21px 24px;

    border: 0;

    background: transparent;

    color: var(--hospital-navy);

    text-align: left;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;
}

.faq-icon {
    width: 30px;
    height: 30px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--hospital-light-blue);

    color: var(--hospital-blue);

    font-size: 20px;

    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;

    grid-template-rows: 0fr;

    transition:
        grid-template-rows 0.35s ease;
}

.faq-answer p {
    overflow: hidden;

    margin: 0;
    padding: 0 24px;

    color: var(--hospital-muted);

    font-size: 14px;
    line-height: 1.8;

    transition:
        padding 0.35s ease;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
    padding: 0 24px 22px;
}


/* =====================================================
   CTA
===================================================== */

.cta-section {
    padding: 80px 0;

    background:
        linear-gradient(
            135deg,
            var(--hospital-navy),
            var(--hospital-blue-dark)
        );
}

.cta-container {
    width: min(1200px, 92%);
    margin: auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.cta-content {
    max-width: 700px;
}

.cta-content .section-tag {
    color: #7ddbd1;
}

.cta-content h2 {
    margin: 13px 0;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.12;

    color: #ffffff;
}

.cta-content p {
    margin: 0;

    color: rgba(255,255,255,0.75);

    line-height: 1.7;
}

.cta-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    flex-shrink: 0;
}

.cta-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 24px;

    border-radius: 8px;

    background: #ffffff;

    color: var(--hospital-navy);

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition: 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);

    background: #e5f5f2;
}

.outline-dark-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 24px;

    border: 1px solid rgba(255,255,255,0.5);

    border-radius: 8px;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition: 0.3s ease;
}

.outline-dark-button:hover {
    background: rgba(255,255,255,0.1);

    border-color: #ffffff;
}


/* =====================================================
   SERVICE CARD FILTER ANIMATION
===================================================== */

.service-card.service-hidden {
    display: none;
}

.service-card.service-show {
    animation: serviceCardShow 0.45s ease both;
}

@keyframes serviceCardShow {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .services-intro-grid,
    .specialist-feature-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .services-intro-image img {
        height: 380px;
    }

    .specialist-feature-image img {
        height: 380px;
    }

    .services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .why-services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .service-process-grid {
        grid-template-columns:
            1fr 1fr;

        gap: 30px;
    }

    .process-line {
        display: none;
    }

    .cta-container {
        flex-direction: column;

        align-items: flex-start;
    }

}


/* =====================================================
   TABLET / MOBILE
===================================================== */

@media (max-width: 700px) {

    .services-hero {
        min-height: 520px;
    }

    .services-hero-content {
        padding: 80px 0;
    }

    .services-hero h1 {
        letter-spacing: -1px;
    }

    .services-hero p {
        font-size: 15px;
    }

    .services-hero-buttons {
        flex-direction: column;

        align-items: stretch;

        max-width: 300px;
    }

    .emergency-content {
        padding: 22px 0;

        flex-wrap: wrap;
    }

    .emergency-content div:nth-child(2) {
        min-width: 180px;
    }

    .emergency-button {
        width: 100%;
    }

    .services-intro,
    .service-search-section,
    .specialist-feature,
    .why-services-section,
    .service-process-section,
    .services-faq-section {
        padding: 75px 0;
    }

    .services-intro-image img {
        height: 300px;

        border-radius: 16px;
    }

    .experience-badge {
        right: 15px;
        bottom: 15px;

        width: 125px;
        min-height: 105px;
    }

    .experience-badge strong {
        font-size: 30px;
    }

    .services-intro-points,
    .specialist-list {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-image {
        height: 200px;
    }

    .service-card-content p {
        min-height: auto;
    }

    .why-services-grid {
        grid-template-columns: 1fr;
    }

    .service-process-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        padding: 10px 20px 25px;
    }

    .specialist-feature-image img {
        height: 300px;

        border-radius: 16px;
    }

    .cta-container {
        gap: 25px;
    }

    .cta-buttons {
        width: 100%;

        flex-direction: column;
    }

    .cta-button,
    .outline-dark-button {
        width: 100%;
    }

}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 420px) {

    .section-container {
        width: 90%;
    }

    .services-hero-content {
        width: 90%;
    }

    .services-hero h1 {
        font-size: 43px;
    }

    .services-hero p {
        font-size: 14px;
    }

    .service-search-input {
        min-height: 58px;

        padding: 5px 15px;
    }

    .service-filter {
        width: 100%;
    }

    .service-card-content {
        padding: 25px 20px;
    }

    .faq-question {
        padding: 18px;

        font-size: 14px;
    }

    .faq-answer p {
        padding-left: 18px;
        padding-right: 18px;
    }

    .faq-item.active .faq-answer p {
        padding-left: 18px;
        padding-right: 18px;
    }

}

/* =====================================================
GALLERY PAGE
===================================================== */

.gallery-hero {
position: relative;
min-height: 500px;
display: flex;
align-items: center;
background:
linear-gradient(135deg, rgba(18, 48, 74, 0.96), rgba(22, 119, 168, 0.86)),
url("images/gallery/hospital-building.jpg") center/cover no-repeat;
overflow: hidden;
}

.gallery-hero::before,
.gallery-hero::after {
content: "";
position: absolute;
border-radius: 50%;
pointer-events: none;
}

.gallery-hero::before {
width: 420px;
height: 420px;
right: -180px;
top: -160px;
background: rgba(255, 255, 255, 0.08);
}

.gallery-hero::after {
width: 280px;
height: 280px;
left: -120px;
bottom: -140px;
background: rgba(255, 255, 255, 0.06);
}

.gallery-hero-overlay {
position: absolute;
inset: 0;
background: linear-gradient(
90deg,
rgba(18, 48, 74, 0.92),
rgba(22, 119, 168, 0.55)
);
}

.gallery-hero-content {
position: relative;
z-index: 2;
width: min(1200px, 92%);
margin: auto;
padding: 100px 0;
color: var(--hospital-white);
}

.gallery-hero-content h1 {
margin: 18px 0;
font-size: clamp(42px, 6vw, 76px);
line-height: 1.05;
font-weight: 800;
letter-spacing: -2px;
}

.gallery-hero-content p {
max-width: 650px;
margin: 0 0 28px;
font-size: 18px;
line-height: 1.8;
color: rgba(255, 255, 255, 0.88);
}

.hero-breadcrumb {
display: flex;
align-items: center;
gap: 10px;
font-size: 15px;
}

.hero-breadcrumb a {
color: #ffffff;
text-decoration: none;
opacity: 0.8;
}

.hero-breadcrumb a:hover {
opacity: 1;
}

.hero-breadcrumb span {
opacity: 0.6;
}

.hero-breadcrumb strong {
color: #ffffff;
}

/* =====================================================
GALLERY INTRO
===================================================== */

.gallery-intro {
padding: 90px 0 45px;
background: var(--hospital-white);
}

.gallery-intro-container {
width: min(1200px, 92%);
margin: auto;
}

.center-heading {
max-width: 800px;
margin: auto;
text-align: center;
}

.center-heading h2 {
font-size: clamp(32px, 4vw, 48px);
margin: 14px 0 18px;
color: var(--hospital-navy);
}

.center-heading h2 span {
color: var(--hospital-blue);
}

.center-heading p {
color: var(--hospital-muted);
font-size: 17px;
line-height: 1.8;
}

/* =====================================================
GALLERY CONTROLS
===================================================== */

.gallery-controls-section {
padding: 20px 0 50px;
background: var(--hospital-white);
}

.gallery-controls-container {
width: min(1200px, 92%);
margin: auto;
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 30px;
padding: 28px;
background: var(--hospital-light-blue);
border: 1px solid var(--hospital-border);
border-radius: 18px;
}

.gallery-search {
flex: 1;
max-width: 360px;
}

.gallery-search label {
display: block;
margin-bottom: 9px;
color: var(--hospital-navy);
font-size: 14px;
font-weight: 700;
}

.gallery-search-box {
position: relative;
}

.gallery-search-icon {
position: absolute;
left: 15px;
top: 50%;
transform: translateY(-50%);
font-size: 16px;
pointer-events: none;
}

.gallery-search-box input {
width: 100%;
height: 50px;
padding: 0 18px 0 45px;
border: 1px solid var(--hospital-border);
border-radius: 10px;
outline: none;
background: var(--hospital-white);
color: var(--hospital-text);
font-size: 15px;
transition: 0.3s ease;
}

.gallery-search-box input:focus {
border-color: var(--hospital-blue);
box-shadow: 0 0 0 4px rgba(22, 119, 168, 0.10);
}

.gallery-filters {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 10px;
}

.gallery-filter {
border: 1px solid var(--hospital-border);
background: var(--hospital-white);
color: var(--hospital-text);
padding: 12px 18px;
border-radius: 30px;
font-size: 14px;
font-weight: 700;
cursor: pointer;
transition: all 0.3s ease;
}

.gallery-filter:hover {
border-color: var(--hospital-blue);
color: var(--hospital-blue);
transform: translateY(-2px);
}

.gallery-filter.active {
background: var(--hospital-navy);
color: var(--hospital-white);
border-color: var(--hospital-navy);
}

/* =====================================================
GALLERY GRID
===================================================== */

.gallery-section {
padding: 25px 0 100px;
background: var(--hospital-background);
}

.gallery-container {
width: min(1250px, 92%);
margin: auto;
}

.gallery-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}

.gallery-item {
min-width: 0;
}

.gallery-image-wrapper {
position: relative;
height: 260px;
overflow: hidden;
border-radius: 18px;
background: #dfe8ed;
box-shadow: 0 12px 35px rgba(18, 48, 74, 0.10);
}

.gallery-image-wrapper img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-image-wrapper img {
transform: scale(1.08);
}

/* =====================================================
GALLERY OVERLAY
===================================================== */

.gallery-overlay {
position: absolute;
inset: 0;
display: flex;
align-items: flex-end;
padding: 25px;
background: linear-gradient(
to top,
rgba(18, 48, 74, 0.94),
rgba(18, 48, 74, 0.08) 70%
);
opacity: 0;
transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
opacity: 1;
}

.gallery-overlay-content {
transform: translateY(18px);
transition: transform 0.35s ease;
}

.gallery-item:hover .gallery-overlay-content {
transform: translateY(0);
}

.gallery-overlay-content span {
display: inline-block;
margin-bottom: 7px;
color: #bde7f5;
font-size: 12px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 1px;
}

.gallery-overlay-content h3 {
margin: 0 0 14px;
color: #ffffff;
font-size: 22px;
}

.gallery-view {
border: 1px solid rgba(255, 255, 255, 0.45);
background: rgba(255, 255, 255, 0.12);
color: #ffffff;
padding: 9px 15px;
border-radius: 8px;
cursor: pointer;
font-size: 13px;
font-weight: 700;
backdrop-filter: blur(5px);
transition: 0.3s ease;
}

.gallery-view:hover {
background: #ffffff;
color: var(--hospital-navy);
}

/* =====================================================
HIDDEN GALLERY ITEMS
===================================================== */

.gallery-item.gallery-hidden {
display: none;
}

.gallery-item.gallery-show {
animation: galleryShow 0.45s ease both;
}

@keyframes galleryShow {
from {
opacity: 0;
transform: translateY(15px);
}

to {
    opacity: 1;
    transform: translateY(0);
}

}

/* =====================================================
NO RESULTS
===================================================== */

.gallery-no-results {
display: none;
text-align: center;
padding: 70px 20px;
}

.gallery-no-results.show {
display: block;
}

.no-results-icon {
width: 70px;
height: 70px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
border-radius: 50%;
background: var(--hospital-light-blue);
font-size: 28px;
}

.gallery-no-results h3 {
margin: 0 0 10px;
color: var(--hospital-navy);
font-size: 25px;
}

.gallery-no-results p {
margin: 0;
color: var(--hospital-muted);
}

/* =====================================================
GALLERY MESSAGE
===================================================== */

.gallery-message-section {
padding: 90px 0;
background: var(--hospital-white);
}

.gallery-message-container {
width: min(1000px, 92%);
margin: auto;
}

.gallery-message-content {
padding: 60px;
text-align: center;
border-radius: 25px;
background:
linear-gradient(
135deg,
rgba(18, 48, 74, 0.97),
rgba(22, 119, 168, 0.94)
);
box-shadow: 0 20px 50px rgba(18, 48, 74, 0.15);
}

.gallery-message-content .section-tag {
color: #bde7f5;
}

.gallery-message-content h2 {
margin: 15px auto;
max-width: 700px;
color: #ffffff;
font-size: clamp(30px, 4vw, 48px);
}

.gallery-message-content h2 span {
color: #bde7f5;
}

.gallery-message-content p {
max-width: 650px;
margin: 0 auto 30px;
color: rgba(255, 255, 255, 0.84);
line-height: 1.8;
font-size: 16px;
}

/* =====================================================
LIGHTBOX
===================================================== */

.gallery-lightbox {
position: fixed;
inset: 0;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
padding: 35px;
background: rgba(5, 18, 29, 0.94);
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.active {
opacity: 1;
visibility: visible;
pointer-events: auto;
}

.lightbox-content {
position: relative;
width: min(950px, 90vw);
max-height: 90vh;
text-align: center;
}

.lightbox-content img {
display: block;
width: 100%;
max-height: 72vh;
object-fit: contain;
border-radius: 12px;
background: #ffffff;
box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.lightbox-caption {
padding-top: 18px;
}

.lightbox-caption span {
display: block;
margin-bottom: 5px;
color: #bde7f5;
font-size: 12px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 1px;
}

.lightbox-caption h3 {
margin: 0;
color: #ffffff;
font-size: 22px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
position: absolute;
z-index: 3;
border: none;
cursor: pointer;
color: #ffffff;
background: rgba(255, 255, 255, 0.12);
backdrop-filter: blur(8px);
transition: 0.3s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
background: rgba(255, 255, 255, 0.25);
}

.lightbox-close {
top: 25px;
right: 30px;
width: 48px;
height: 48px;
border-radius: 50%;
font-size: 32px;
line-height: 1;
}

.lightbox-prev,
.lightbox-next {
top: 50%;
transform: translateY(-50%);
width: 52px;
height: 52px;
border-radius: 50%;
font-size: 24px;
}

.lightbox-prev {
left: 25px;
}

.lightbox-next {
right: 25px;
}

/* =====================================================
RESPONSIVE — TABLET
===================================================== */

@media (max-width: 1000px) {

.gallery-controls-container {
    flex-direction: column;
    align-items: stretch;
}

.gallery-search {
    max-width: none;
}

.gallery-filters {
    justify-content: flex-start;
}

.gallery-grid {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-image-wrapper {
    height: 240px;
}

.gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    transform: translateY(0);
}

.lightbox-prev {
    left: 12px;
}

.lightbox-next {
    right: 12px;
}

}

/* =====================================================
RESPONSIVE — PHONE
===================================================== */

@media (max-width: 700px) {

.gallery-hero {
    min-height: 430px;
}

.gallery-hero-content {
    padding: 80px 0;
}

.gallery-hero-content h1 {
    font-size: 45px;
    letter-spacing: -1px;
}

.gallery-hero-content p {
    font-size: 16px;
}

.gallery-intro {
    padding: 65px 0 30px;
}

.gallery-controls-section {
    padding-bottom: 30px;
}

.gallery-controls-container {
    padding: 20px;
    border-radius: 14px;
}

.gallery-filters {
    gap: 8px;
}

.gallery-filter {
    padding: 10px 13px;
    font-size: 13px;
}

.gallery-section {
    padding: 15px 0 70px;
}

.gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
}

.gallery-image-wrapper {
    height: 220px;
    border-radius: 15px;
}

.gallery-message-section {
    padding: 60px 0;
}

.gallery-message-content {
    padding: 40px 22px;
    border-radius: 18px;
}

.gallery-message-content h2 {
    font-size: 31px;
}

.gallery-lightbox {
    padding: 20px;
}

.lightbox-content {
    width: 100%;
}

.lightbox-content img {
    max-height: 65vh;
}

.lightbox-close {
    top: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
    font-size: 27px;
}

.lightbox-prev,
.lightbox-next {
    top: auto;
    bottom: 80px;
    transform: none;
    width: 44px;
    height: 44px;
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

}

/* =====================================================
SMALL PHONE
===================================================== */

@media (max-width: 420px) {

.gallery-hero-content h1 {
    font-size: 38px;
}

.gallery-hero-content p {
    font-size: 15px;
}

.gallery-filter {
    flex: 1;
    min-width: 90px;
    text-align: center;
}

.gallery-image-wrapper {
    height: 260px;
}

.gallery-overlay {
    padding: 18px;
}

.gallery-overlay-content h3 {
    font-size: 19px;
}

.gallery-message-content h2 {
    font-size: 28px;
}

}

/* =====================================================
ACCESSIBILITY
===================================================== */

.gallery-view:focus-visible,
.gallery-filter:focus-visible,
.gallery-search-box input:focus-visible,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
outline: 3px solid rgba(42, 157, 143, 0.45);
outline-offset: 3px;
}

/* =====================================================
REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

.gallery-image-wrapper img,
.gallery-overlay,
.gallery-overlay-content,
.gallery-filter,
.gallery-view,
.gallery-lightbox {
    transition: none;
}

.gallery-item.gallery-show {
    animation: none;
}

}
/* =====================================================
APPOINTMENT PAGE
===================================================== */

.appointment-container {
width: min(1200px, 92%);
margin: 0 auto;
}

/* =====================================================
APPOINTMENT HERO
===================================================== */

.appointment-hero {
position: relative;
min-height: 500px;
display: flex;
align-items: center;
overflow: hidden;

background:
    linear-gradient(
        135deg,
        rgba(18, 48, 74, 0.97),
        rgba(22, 119, 168, 0.88)
    ),
    url("images/appointment.jpg") center/cover no-repeat;

}

.appointment-hero::before {
content: "";
position: absolute;
width: 450px;
height: 450px;
right: -180px;
top: -170px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.07);
}

.appointment-hero::after {
content: "";
position: absolute;
width: 300px;
height: 300px;
left: -140px;
bottom: -150px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.06);
}

.appointment-hero-overlay {
position: absolute;
inset: 0;
background: linear-gradient(
90deg,
rgba(18, 48, 74, 0.94),
rgba(22, 119, 168, 0.48)
);
}

.appointment-hero-content {
position: relative;
z-index: 2;
width: min(1200px, 92%);
margin: 0 auto;
padding: 100px 0;
color: #ffffff;
}

.appointment-hero-content h1 {
max-width: 800px;
margin: 18px 0;
font-size: clamp(42px, 6vw, 72px);
line-height: 1.05;
font-weight: 800;
letter-spacing: -2px;
}

.appointment-hero-content p {
max-width: 650px;
margin-bottom: 28px;
color: rgba(255, 255, 255, 0.88);
font-size: 18px;
line-height: 1.8;
}

.appointment-hero-content .section-tag {
color: #bde7f5;
}

.hero-breadcrumb {
display: flex;
align-items: center;
gap: 10px;
font-size: 15px;
}

.hero-breadcrumb a {
color: #ffffff;
text-decoration: none;
opacity: 0.8;
}

.hero-breadcrumb a:hover {
opacity: 1;
}

.hero-breadcrumb span {
opacity: 0.55;
}

/* =====================================================
EMERGENCY NOTICE
===================================================== */

.appointment-emergency-section {
padding: 35px 0 10px;
background: var(--hospital-background);
}

.appointment-emergency {
display: flex;
align-items: center;
gap: 20px;
padding: 22px 25px;
border: 1px solid #f2caca;
border-left: 5px solid #c94b4b;
border-radius: 14px;
background: #fff7f7;
box-shadow: 0 8px 25px rgba(18, 48, 74, 0.05);
}

.emergency-icon {
width: 55px;
height: 55px;
flex: 0 0 55px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: #ffffff;
font-size: 25px;
}

.emergency-text {
flex: 1;
}

.emergency-text h3 {
margin: 0 0 5px;
color: #8d2929;
font-size: 19px;
}

.emergency-text p {
margin: 0;
color: #6f4b4b;
font-size: 14px;
line-height: 1.6;
}

.emergency-button {
flex-shrink: 0;
padding: 12px 20px;
border-radius: 8px;
background: #b83b3b;
color: #ffffff;
text-decoration: none;
font-size: 14px;
font-weight: 700;
transition: 0.3s ease;
}

.emergency-button:hover {
background: #922b2b;
transform: translateY(-2px);
}

/* =====================================================
APPOINTMENT MAIN SECTION
===================================================== */

.appointment-section {
padding: 75px 0 100px;
background: var(--hospital-background);
}

.appointment-layout {
display: grid;
grid-template-columns: 0.75fr 1.25fr;
gap: 50px;
align-items: start;
}

/* =====================================================
LEFT INFORMATION
===================================================== */

.appointment-info {
position: sticky;
top: 110px;
}

.appointment-info h2 {
margin: 15px 0;
color: var(--hospital-navy);
font-size: clamp(32px, 4vw, 48px);
line-height: 1.15;
}

.appointment-info h2 span {
color: var(--hospital-blue);
}

.appointment-info > p {
color: var(--hospital-muted);
line-height: 1.8;
font-size: 16px;
}

.appointment-info-list {
margin-top: 30px;
display: flex;
flex-direction: column;
gap: 15px;
}

.appointment-info-card {
display: flex;
gap: 15px;
padding: 18px;
border: 1px solid var(--hospital-border);
border-radius: 13px;
background: #ffffff;
transition: all 0.3s ease;
}

.appointment-info-card:hover {
transform: translateY(-3px);
border-color: rgba(22, 119, 168, 0.35);
box-shadow: 0 12px 30px rgba(18, 48, 74, 0.08);
}

.appointment-info-icon {
width: 45px;
height: 45px;
flex: 0 0 45px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 11px;
background: var(--hospital-light-blue);
font-size: 20px;
}

.appointment-info-card h3 {
margin: 0 0 5px;
color: var(--hospital-navy);
font-size: 16px;
}

.appointment-info-card p {
margin: 0;
color: var(--hospital-muted);
font-size: 13px;
line-height: 1.6;
}

.appointment-contact-card {
margin-top: 25px;
padding: 25px;
border-radius: 15px;
background: var(--hospital-navy);
color: #ffffff;
}

.appointment-contact-card > span {
color: #bde7f5;
font-size: 11px;
font-weight: 800;
letter-spacing: 1.3px;
}

.appointment-contact-card h3 {
margin: 8px 0;
font-size: 21px;
}

.appointment-contact-card p {
margin: 0 0 15px;
color: rgba(255, 255, 255, 0.72);
font-size: 14px;
line-height: 1.7;
}

.appointment-contact-card a {
color: #bde7f5;
text-decoration: none;
font-size: 14px;
font-weight: 700;
}

.appointment-contact-card a:hover {
color: #ffffff;
}

/* =====================================================
APPOINTMENT FORM
===================================================== */

.appointment-form-wrapper {
padding: 40px;
border: 1px solid var(--hospital-border);
border-radius: 22px;
background: #ffffff;
box-shadow: 0 20px 50px rgba(18, 48, 74, 0.08);
}

.appointment-form-header {
padding-bottom: 28px;
border-bottom: 1px solid var(--hospital-border);
}

.appointment-form-header h2 {
margin: 12px 0 8px;
color: var(--hospital-navy);
font-size: 31px;
}

.appointment-form-header p {
margin: 0;
color: var(--hospital-muted);
line-height: 1.7;
}

/* =====================================================
FORM SECTIONS
===================================================== */

.form-section {
padding: 32px 0;
border-bottom: 1px solid var(--hospital-border);
}

.form-section:last-of-type {
border-bottom: none;
}

.form-section-heading {
display: flex;
align-items: flex-start;
gap: 14px;
margin-bottom: 25px;
}

.form-step {
width: 42px;
height: 42px;
flex: 0 0 42px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 11px;
background: var(--hospital-light-blue);
color: var(--hospital-blue);
font-size: 13px;
font-weight: 800;
}

.form-section-heading h3 {
margin: 0 0 4px;
color: var(--hospital-navy);
font-size: 20px;
}

.form-section-heading p {
margin: 0;
color: var(--hospital-muted);
font-size: 13px;
}

/* =====================================================
FORM GRID
===================================================== */

.form-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}

.form-group {
display: flex;
flex-direction: column;
}

.form-group.full-width {
grid-column: 1 / -1;
}

.form-group label {
margin-bottom: 8px;
color: var(--hospital-navy);
font-size: 14px;
font-weight: 700;
}

.form-group label span {
color: #c94b4b;
}

.form-group input,
.form-group select,
.form-group textarea {
width: 100%;
box-sizing: border-box;
border: 1px solid var(--hospital-border);
border-radius: 9px;
outline: none;
background: #ffffff;
color: var(--hospital-text);
font-family: inherit;
font-size: 14px;
transition: all 0.25s ease;
}

.form-group input,
.form-group select {
height: 50px;
padding: 0 14px;
}

.form-group textarea {
padding: 14px;
resize: vertical;
min-height: 110px;
line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
color: #9aa7b2;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
border-color: var(--hospital-blue);
box-shadow: 0 0 0 4px rgba(22, 119, 168, 0.10);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
border-color: #b9cbd6;
}

/* =====================================================
APPOINTMENT TYPE
===================================================== */

.appointment-type-options {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
}

.appointment-type-option {
position: relative;
cursor: pointer;
}

.appointment-type-option input {
position: absolute;
opacity: 0;
pointer-events: none;
}

.appointment-type-box {
min-height: 88px;
display: flex;
flex-direction: column;
justify-content: center;
padding: 15px;
border: 1px solid var(--hospital-border);
border-radius: 11px;
background: #ffffff;
transition: all 0.25s ease;
}

.appointment-type-box strong {
color: var(--hospital-navy);
font-size: 14px;
}

.appointment-type-box small {
margin-top: 6px;
color: var(--hospital-muted);
font-size: 12px;
}

.appointment-type-option:hover .appointment-type-box {
border-color: var(--hospital-blue);
transform: translateY(-2px);
}

.appointment-type-option input:checked + .appointment-type-box {
border-color: var(--hospital-blue);
background: var(--hospital-light-blue);
box-shadow: 0 0 0 2px rgba(22, 119, 168, 0.12);
}

/* =====================================================
CONSENT
===================================================== */

.appointment-consent {
padding: 25px 0;
}

.consent-checkbox {
display: flex;
align-items: flex-start;
gap: 12px;
cursor: pointer;
}

.consent-checkbox input {
position: absolute;
opacity: 0;
pointer-events: none;
}

.custom-checkbox {
width: 20px;
height: 20px;
flex: 0 0 20px;
margin-top: 1px;
border: 2px solid #b7c4cc;
border-radius: 5px;
background: #ffffff;
transition: 0.2s ease;
}

.consent-checkbox input:checked + .custom-checkbox {
background: var(--hospital-blue);
border-color: var(--hospital-blue);
box-shadow: inset 0 0 0 4px #ffffff;
}

.consent-text {
color: var(--hospital-muted);
font-size: 13px;
line-height: 1.6;
}

/* =====================================================
SUBMIT
===================================================== */

.appointment-submit {
text-align: center;
padding-top: 10px;
}

.appointment-submit-button {
width: 100%;
min-height: 55px;
display: flex;
align-items: center;
justify-content: center;
gap: 15px;
border: none;
cursor: pointer;
font-size: 15px;
font-weight: 800;
}

.appointment-submit > p {
margin: 13px 0 0;
color: var(--hospital-muted);
font-size: 12px;
line-height: 1.5;
}

/* =====================================================
APPOINTMENT PROCESS
===================================================== */

.appointment-process-section {
padding: 90px 0;
background: #ffffff;
}

.appointment-process-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
margin-top: 45px;
}

.appointment-process-card {
position: relative;
padding: 30px 22px;
text-align: center;
border: 1px solid var(--hospital-border);
border-radius: 16px;
background: var(--hospital-background);
transition: all 0.3s ease;
}

.appointment-process-card:hover {
transform: translateY(-7px);
background: #ffffff;
box-shadow: 0 15px 35px rgba(18, 48, 74, 0.10);
}

.process-number {
position: absolute;
top: 15px;
right: 17px;
color: rgba(22, 119, 168, 0.20);
font-size: 14px;
font-weight: 900;
}

.process-icon {
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 18px;
border-radius: 50%;
background: var(--hospital-light-blue);
font-size: 25px;
}

.appointment-process-card h3 {
margin: 0 0 10px;
color: var(--hospital-navy);
font-size: 18px;
}

.appointment-process-card p {
margin: 0;
color: var(--hospital-muted);
font-size: 13px;
line-height: 1.7;
}

/* =====================================================
FORM ERROR STATE
===================================================== */

.appointment-form .input-error {
border-color: #d9534f !important;
box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.08);
}

/* =====================================================
RESPONSIVE — TABLET
===================================================== */

@media (max-width: 1000px) {

.appointment-layout {
    grid-template-columns: 1fr;
    gap: 40px;
}

.appointment-info {
    position: static;
}

.appointment-info-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.appointment-info-card {
    flex-direction: column;
}

.appointment-process-grid {
    grid-template-columns: repeat(2, 1fr);
}

}

/* =====================================================
RESPONSIVE — SMALL TABLET
===================================================== */

@media (max-width: 800px) {

.appointment-form-wrapper {
    padding: 30px;
}

.appointment-info-list {
    grid-template-columns: 1fr;
}

.appointment-info-card {
    flex-direction: row;
}

.appointment-type-options {
    grid-template-columns: 1fr;
}

}

/* =====================================================
RESPONSIVE — PHONE
===================================================== */

@media (max-width: 700px) {

.appointment-hero {
    min-height: 430px;
}

.appointment-hero-content {
    padding: 80px 0;
}

.appointment-hero-content h1 {
    font-size: 43px;
    letter-spacing: -1px;
}

.appointment-hero-content p {
    font-size: 16px;
}

.appointment-emergency-section {
    padding: 25px 0 5px;
}

.appointment-emergency {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 20px;
}

.emergency-text {
    width: calc(100% - 75px);
}

.emergency-button {
    width: 100%;
    text-align: center;
}

.appointment-section {
    padding: 55px 0 70px;
}

.appointment-info h2 {
    font-size: 34px;
}

.appointment-form-wrapper {
    padding: 22px;
    border-radius: 16px;
}

.appointment-form-header h2 {
    font-size: 27px;
}

.form-section {
    padding: 27px 0;
}

.form-grid {
    grid-template-columns: 1fr;
    gap: 17px;
}

.form-group.full-width {
    grid-column: auto;
}

.form-section-heading h3 {
    font-size: 18px;
}

.appointment-process-section {
    padding: 65px 0;
}

.appointment-process-grid {
    grid-template-columns: 1fr;
    margin-top: 35px;
}

}

/* =====================================================
RESPONSIVE — SMALL PHONE
===================================================== */

@media (max-width: 420px) {

.appointment-hero-content h1 {
    font-size: 37px;
}

.appointment-hero-content p {
    font-size: 15px;
}

.appointment-form-wrapper {
    padding: 18px;
}

.form-step {
    width: 37px;
    height: 37px;
    flex-basis: 37px;
    font-size: 11px;
}

.form-section-heading {
    gap: 10px;
}

.appointment-info-card {
    padding: 15px;
}

.appointment-contact-card {
    padding: 20px;
}

}

/* =====================================================
ACCESSIBILITY
===================================================== */

.appointment-form input:focus-visible,
.appointment-form select:focus-visible,
.appointment-form textarea:focus-visible,
.appointment-form button:focus-visible,
.appointment-type-option input:focus-visible + .appointment-type-box {
outline: 3px solid rgba(42, 157, 143, 0.35);
outline-offset: 3px;
}

/* =====================================================
REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

.appointment-info-card,
.appointment-process-card,
.appointment-type-box,
.emergency-button {
    transition: none;
}

}

/* =====================================================
   CANNAN CARE HOSPITAL
   PROFESSIONAL CONTACT PAGE
===================================================== */


/* -----------------------------------------------------
   CONTACT CONTAINER
----------------------------------------------------- */

.contact-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* -----------------------------------------------------
   CONTACT HERO
----------------------------------------------------- */

.contact-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0b263d 0%,
            #12304a 50%,
            #0d5d86 100%
        );
}

.contact-hero::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    right: -120px;
    top: -160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.contact-hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    left: -120px;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(42, 157, 143, 0.12);
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 25, 41, 0.65),
            rgba(18, 48, 74, 0.15)
        );

    pointer-events: none;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 100px 0;
    color: #ffffff;
}

.contact-hero .hero-label {
    display: inline-block;
    margin-bottom: 18px;

    color: #63c7e9;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.contact-hero h1 {
    max-width: 800px;
    margin: 0 0 22px;

    font-size: clamp(48px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: -3px;
    font-weight: 800;
}

.contact-hero h1 span {
    color: #35b9df;
}

.contact-hero-content > p {
    max-width: 650px;
    margin: 0 0 30px;

    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.8;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 14px;
}

.hero-breadcrumb a {
    color: #63c7e9;
    text-decoration: none;
}

.hero-breadcrumb strong {
    color: #ffffff;
}

.hero-breadcrumb span {
    color: rgba(255, 255, 255, 0.45);
}


/* -----------------------------------------------------
   QUICK CONTACT CARDS
----------------------------------------------------- */

.contact-quick-section {
    position: relative;
    z-index: 5;
    padding: 0 20px;
    margin-top: -55px;
}

.contact-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.contact-quick-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;

    min-height: 150px;
    padding: 25px 20px;

    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;

    box-shadow:
        0 18px 45px rgba(18, 48, 74, 0.12);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-quick-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 25px 55px rgba(18, 48, 74, 0.17);
}

.contact-quick-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #eaf4f8;
    color: #1677a8;

    font-size: 20px;
    font-weight: 700;
}

.contact-quick-card span {
    display: block;
    margin-bottom: 6px;

    color: #1677a8;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.contact-quick-card h3 {
    margin: 0 0 7px;

    color: #12304a;

    font-size: 16px;
    line-height: 1.35;
}

.contact-quick-card p {
    margin: 0;

    color: #64748b;

    font-size: 13px;
    line-height: 1.6;
}


/* -----------------------------------------------------
   EMERGENCY SECTION
----------------------------------------------------- */

.contact-emergency-section {
    padding: 80px 20px 30px;
    background: #f7fafc;
}

.contact-emergency {
    display: flex;
    align-items: center;
    gap: 25px;

    padding: 28px 32px;

    border: 1px solid rgba(217, 83, 79, 0.15);
    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #fff8f7,
            #ffffff
        );

    box-shadow:
        0 12px 35px rgba(18, 48, 74, 0.07);
}

.contact-emergency-icon {
    flex: 0 0 58px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: #fff0ef;

    font-size: 25px;
}

.contact-emergency-content {
    flex: 1;
}

.contact-emergency-content > span {
    display: block;
    margin-bottom: 5px;

    color: #c44843;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.contact-emergency-content h2 {
    margin: 0 0 7px;

    color: #12304a;

    font-size: 22px;
}

.contact-emergency-content p {
    max-width: 700px;
    margin: 0;

    color: #64748b;

    font-size: 14px;
    line-height: 1.7;
}

.contact-emergency-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    flex-shrink: 0;

    padding: 14px 20px;

    border-radius: 9px;

    background: #c44843;
    color: #ffffff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition: 0.3s ease;
}

.contact-emergency-button:hover {
    transform: translateY(-3px);
    background: #a93834;
}

.contact-emergency-button span {
    font-size: 18px;
}


/* -----------------------------------------------------
   MAIN CONTACT SECTION
----------------------------------------------------- */

.contact-main-section {
    padding: 100px 20px;

    background: #f7fafc;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: start;
}


/* -----------------------------------------------------
   CONTACT INFORMATION
----------------------------------------------------- */

.contact-information {
    padding-top: 10px;
}

.contact-information .section-label,
.contact-form-header .section-label,
.contact-location-header .section-label,
.contact-faq-header .section-label {
    display: inline-block;
    margin-bottom: 12px;

    color: #1677a8;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.contact-information h2 {
    margin: 0 0 20px;

    color: #12304a;

    font-size: clamp(38px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.contact-information h2 span,
.contact-form-header h2 span,
.contact-location-header h2 span,
.contact-faq-header h2 span {
    color: #1677a8;
}

.contact-information > p {
    max-width: 510px;
    margin: 0 0 35px;

    color: #64748b;

    font-size: 16px;
    line-height: 1.85;
}


/* -----------------------------------------------------
   CONTACT DETAILS
----------------------------------------------------- */

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 17px;

    padding: 20px 0;

    border-top: 1px solid #e2e8f0;
}

.contact-detail-icon {
    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #eaf4f8;
    color: #1677a8;

    font-size: 19px;
}

.contact-detail strong {
    display: block;
    margin-bottom: 6px;

    color: #12304a;

    font-size: 15px;
}

.contact-detail p {
    margin: 0;

    color: #64748b;

    font-size: 14px;
    line-height: 1.7;
}


/* -----------------------------------------------------
   SOCIAL LINKS
----------------------------------------------------- */

.contact-socials {
    padding-top: 25px;
}

.contact-socials > span {
    display: block;
    margin-bottom: 12px;

    color: #12304a;

    font-size: 13px;
    font-weight: 700;
}

.contact-socials > div {
    display: flex;
    gap: 9px;
}

.contact-socials a {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dce5ec;
    border-radius: 50%;

    background: #ffffff;
    color: #12304a;

    text-decoration: none;
    font-size: 15px;
    font-weight: 700;

    transition: 0.3s ease;
}

.contact-socials a:hover {
    border-color: #1677a8;
    background: #1677a8;
    color: #ffffff;
    transform: translateY(-3px);
}


/* -----------------------------------------------------
   CONTACT FORM
----------------------------------------------------- */

.contact-form-wrapper {
    padding: 42px;

    border: 1px solid #e2e8f0;
    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 25px 70px rgba(18, 48, 74, 0.10);
}

.contact-form-header {
    margin-bottom: 30px;
}

.contact-form-header h2 {
    margin: 0 0 12px;

    color: #12304a;

    font-size: 34px;
    line-height: 1.2;
}

.contact-form-header p {
    margin: 0;

    color: #64748b;

    font-size: 14px;
    line-height: 1.7;
}


/* -----------------------------------------------------
   FORM GRID
----------------------------------------------------- */

.contact-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 21px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;

    color: #24384a;

    font-size: 13px;
    font-weight: 700;
}

.contact-form label > span {
    color: #1677a8;
}


/* -----------------------------------------------------
   FORM INPUTS
----------------------------------------------------- */

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;

    border: 1px solid #dbe4eb;
    border-radius: 9px;

    background: #fbfdfe;
    color: #1b2936;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.contact-form input,
.contact-form select {
    height: 50px;
    padding: 0 15px;
}

.contact-form textarea {
    min-height: 150px;
    padding: 14px 15px;

    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9aa8b5;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #1677a8;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(22, 119, 168, 0.10);
}


/* -----------------------------------------------------
   CONTACT CONSENT
----------------------------------------------------- */

.contact-consent {
    display: flex !important;
    align-items: flex-start;
    gap: 11px;

    margin: 4px 0 22px;

    cursor: pointer;
}

.contact-consent input {
    position: absolute;

    width: 1px !important;
    height: 1px !important;

    opacity: 0;
}

.contact-consent .custom-checkbox {
    flex: 0 0 19px;

    width: 19px;
    height: 19px;

    margin-top: 1px;

    border: 1px solid #cbd5df;
    border-radius: 5px;

    background: #ffffff;

    transition: 0.2s ease;
}

.contact-consent input:checked + .custom-checkbox {
    border-color: #1677a8;
    background: #1677a8;
}

.contact-consent input:checked + .custom-checkbox::after {
    content: "✓";

    display: block;

    color: #ffffff;

    text-align: center;
    line-height: 18px;

    font-size: 13px;
    font-weight: 800;
}

.contact-consent > span:last-child {
    color: #64748b;

    font-size: 12px;
    line-height: 1.6;
}


/* -----------------------------------------------------
   CONTACT SUBMIT BUTTON
----------------------------------------------------- */

.contact-submit-button {
    width: 100%;

    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    border: none;
    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #1677a8,
            #0d5d86
        );

    color: #ffffff;

    cursor: pointer;

    font-family: inherit;
    font-size: 14px;
    font-weight: 800;

    box-shadow:
        0 12px 25px rgba(22, 119, 168, 0.20);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-submit-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 18px 32px rgba(22, 119, 168, 0.28);
}

.contact-submit-button span {
    font-size: 19px;
}

.contact-submit-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.contact-form-note {
    margin: 13px 0 0;

    color: #94a3b8;

    font-size: 11px;
    text-align: center;
}


/* -----------------------------------------------------
   GOOGLE MAP SECTION
----------------------------------------------------- */

.contact-location-section {
    padding: 100px 20px;

    background: #ffffff;
}

.contact-location-header {
    max-width: 700px;

    margin: 0 auto 45px;

    text-align: center;
}

.contact-location-header h2 {
    margin: 0 0 15px;

    color: #12304a;

    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.1;
}

.contact-location-header p {
    margin: 0;

    color: #64748b;

    font-size: 16px;
    line-height: 1.8;
}

.contact-map-wrapper {
    overflow: hidden;

    min-height: 500px;

    border: 1px solid #dfe7ed;
    border-radius: 22px;

    background: #eaf4f8;

    box-shadow:
        0 20px 55px rgba(18, 48, 74, 0.12);
}

.contact-map-wrapper iframe {
    display: block;

    width: 100%;
    min-height: 500px;

    border: 0;
}

.contact-map-actions {
    display: flex;
    justify-content: center;
    gap: 14px;

    margin-top: 25px;
}

.map-direction-button,
.map-call-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-width: 170px;

    padding: 14px 20px;

    border-radius: 9px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition: 0.3s ease;
}

.map-direction-button {
    background: #1677a8;
    color: #ffffff;
}

.map-direction-button:hover {
    background: #0d5d86;
    transform: translateY(-3px);
}

.map-call-button {
    border: 1px solid #d5e0e7;

    background: #ffffff;
    color: #12304a;
}

.map-call-button:hover {
    border-color: #1677a8;
    color: #1677a8;
    transform: translateY(-3px);
}


/* -----------------------------------------------------
   FAQ SECTION
----------------------------------------------------- */

.contact-faq-section {
    padding: 100px 20px;

    background: #f7fafc;
}

.contact-faq-header {
    max-width: 700px;

    margin: 0 auto 45px;

    text-align: center;
}

.contact-faq-header h2 {
    margin: 0 0 15px;

    color: #12304a;

    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.1;
}

.contact-faq-header p {
    margin: 0;

    color: #64748b;

    font-size: 16px;
    line-height: 1.8;
}

.contact-faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.contact-faq-container .faq-item {
    overflow: hidden;

    margin-bottom: 13px;

    border: 1px solid #e1e8ee;
    border-radius: 12px;

    background: #ffffff;

    transition:
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.contact-faq-container .faq-item:hover {
    border-color: #cbdce6;

    box-shadow:
        0 10px 30px rgba(18, 48, 74, 0.06);
}

.contact-faq-container .faq-question {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 21px 24px;

    border: none;

    background: transparent;
    color: #12304a;

    cursor: pointer;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    text-align: left;
}

.contact-faq-container .faq-icon {
    flex: 0 0 auto;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eaf4f8;
    color: #1677a8;

    font-size: 19px;
    font-weight: 500;

    transition: transform 0.3s ease;
}

.contact-faq-container .faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.contact-faq-container .faq-answer {
    display: none;

    padding: 0 24px 22px;
}

.contact-faq-container .faq-item.active .faq-answer {
    display: block;
}

.contact-faq-container .faq-answer p {
    margin: 0;

    color: #64748b;

    font-size: 14px;
    line-height: 1.8;
}


/* -----------------------------------------------------
   CTA
----------------------------------------------------- */

.contact-main-section + .contact-location-section {
    border-top: 1px solid #edf2f5;
}


/* -----------------------------------------------------
   TABLET
----------------------------------------------------- */

@media (max-width: 1100px) {

    .contact-quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-main-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .contact-information {
        max-width: 800px;
    }

    .contact-information > p {
        max-width: 700px;
    }

}


/* -----------------------------------------------------
   TABLET
----------------------------------------------------- */

@media (max-width: 800px) {

    .contact-container {
        width: min(100% - 32px, 700px);
    }

    .contact-hero {
        min-height: 480px;
    }

    .contact-hero-content {
        width: min(100% - 32px, 700px);
        padding: 80px 0;
    }

    .contact-hero h1 {
        font-size: clamp(44px, 9vw, 65px);
        letter-spacing: -2px;
    }

    .contact-hero-content > p {
        font-size: 16px;
    }

    .contact-quick-section {
        margin-top: -40px;
        padding: 0 16px;
    }

    .contact-quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-emergency-section {
        padding-top: 65px;
    }

    .contact-emergency {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .contact-emergency-content {
        min-width: calc(100% - 90px);
    }

    .contact-emergency-button {
        margin-left: 83px;
    }

    .contact-main-section,
    .contact-location-section,
    .contact-faq-section {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .contact-form-wrapper {
        padding: 32px;
    }

    .contact-map-wrapper,
    .contact-map-wrapper iframe {
        min-height: 400px;
    }

}


/* -----------------------------------------------------
   PHONE
----------------------------------------------------- */

@media (max-width: 600px) {

    .contact-container {
        width: calc(100% - 28px);
    }

    .contact-hero {
        min-height: 430px;
    }

    .contact-hero-content {
        width: calc(100% - 28px);
        padding: 70px 0;
    }

    .contact-hero h1 {
        font-size: 43px;
        line-height: 1;
        letter-spacing: -1.5px;
    }

    .contact-hero-content > p {
        font-size: 14px;
        line-height: 1.7;
    }

    .contact-quick-section {
        padding: 0 14px;
        margin-top: -30px;
    }

    .contact-quick-grid {
        grid-template-columns: 1fr;
    }

    .contact-quick-card {
        min-height: auto;
        padding: 22px;
    }

    .contact-emergency-section {
        padding: 55px 14px 20px;
    }

    .contact-emergency {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 17px;

        padding: 24px 20px;
    }

    .contact-emergency-icon {
        width: 48px;
        height: 48px;
    }

    .contact-emergency-content {
        min-width: 0;
    }

    .contact-emergency-content h2 {
        font-size: 19px;
        line-height: 1.35;
    }

    .contact-emergency-content p {
        font-size: 13px;
    }

    .contact-emergency-button {
        grid-column: 1 / -1;

        width: 100%;
        margin-left: 0;
    }

    .contact-main-section,
    .contact-location-section,
    .contact-faq-section {
        padding: 60px 14px;
    }

    .contact-information h2 {
        font-size: 37px;
    }

    .contact-information > p {
        font-size: 14px;
    }

    .contact-detail {
        padding: 17px 0;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
        border-radius: 17px;
    }

    .contact-form-header h2 {
        font-size: 28px;
    }

    .contact-form .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form input,
    .contact-form select {
        height: 48px;
    }

    .contact-map-wrapper,
    .contact-map-wrapper iframe {
        min-height: 330px;
    }

    .contact-map-wrapper {
        border-radius: 15px;
    }

    .contact-map-actions {
        flex-direction: column;
    }

    .map-direction-button,
    .map-call-button {
        width: 100%;
    }

    .contact-faq-header h2 {
        font-size: 35px;
    }

    .contact-faq-header p {
        font-size: 14px;
    }

    .contact-faq-container .faq-question {
        padding: 18px;
        font-size: 14px;
    }

    .contact-faq-container .faq-answer {
        padding: 0 18px 19px;
    }

}


/* -----------------------------------------------------
   SMALL PHONES
----------------------------------------------------- */

@media (max-width: 420px) {

    .contact-hero h1 {
        font-size: 38px;
    }

    .contact-quick-card {
        padding: 19px;
    }

    .contact-quick-icon {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
    }

    .contact-emergency {
        padding: 21px 17px;
    }

    .contact-information h2 {
        font-size: 33px;
    }

    .contact-form-wrapper {
        padding: 22px 17px;
    }

    .contact-form-header h2 {
        font-size: 25px;
    }

    .contact-location-header h2,
    .contact-faq-header h2 {
        font-size: 31px;
    }

}


/* -----------------------------------------------------
   ACCESSIBILITY
----------------------------------------------------- */

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible,
.contact-submit-button:focus-visible,
.contact-emergency-button:focus-visible,
.map-direction-button:focus-visible,
.map-call-button:focus-visible,
.contact-faq-container .faq-question:focus-visible,
.contact-socials a:focus-visible {
    outline: 3px solid rgba(22, 119, 168, 0.25);
    outline-offset: 2px;
}


/* -----------------------------------------------------
   REDUCED MOTION
----------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .contact-quick-card,
    .contact-submit-button,
    .contact-emergency-button,
    .map-direction-button,
    .map-call-button,
    .contact-socials a {
        transition: none;
    }

}
/* =====================================================
   CONTACT FORM JAVASCRIPT MESSAGES
===================================================== */

.contact-form-message {
    margin-bottom: 22px;
    padding: 17px 19px;

    border-radius: 10px;

    font-size: 13px;
    line-height: 1.7;
}

.contact-form-message.success {
    border: 1px solid #b7e3dc;
    background: #e8f7f4;
    color: #176b60;
}

.contact-form-message.error {
    border: 1px solid #f0c8c6;
    background: #fff3f2;
    color: #a93834;
}

.message-character-counter {
    display: block;
    margin-top: 6px;

    color: #94a3b8;

    font-size: 11px;
    text-align: right;
}

.contact-form input.input-error,
.contact-form select.input-error,
.contact-form textarea.input-error {
    border-color: #d9534f !important;

    box-shadow:
        0 0 0 3px rgba(217, 83, 79, 0.08);
}

.contact-form-message strong {
    font-weight: 800;
}


/* =====================================================
   CANNAN CARE HOSPITAL
   PROFESSIONAL CAREERS PAGE
===================================================== */


/* -----------------------------------------------------
   CAREERS CONTAINER
----------------------------------------------------- */

.careers-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* -----------------------------------------------------
   CAREERS HERO
----------------------------------------------------- */

.careers-hero {
    position: relative;
    min-height: 560px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0b263d 0%,
            #12304a 50%,
            #0d5d86 100%
        );
}

.careers-hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: -180px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.045);
}

.careers-hero::after {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    left: -150px;
    bottom: -180px;

    border-radius: 50%;

    background: rgba(42, 157, 143, 0.12);
}

.careers-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 23, 38, 0.72),
            rgba(18, 48, 74, 0.18)
        );
}

.careers-hero-content {
    position: relative;
    z-index: 2;

    width: min(1200px, calc(100% - 40px));

    margin: 0 auto;

    padding: 100px 0;

    color: #ffffff;
}

.careers-hero .hero-label {
    display: inline-block;

    margin-bottom: 18px;

    color: #63c7e9;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2.5px;
}

.careers-hero h1 {
    max-width: 800px;

    margin: 0 0 22px;

    font-size: clamp(52px, 7vw, 86px);

    line-height: 0.98;

    letter-spacing: -3px;

    font-weight: 800;
}

.careers-hero h1 span {
    color: #35b9df;
}

.careers-hero-content > p {
    max-width: 680px;

    margin: 0 0 32px;

    color: rgba(255, 255, 255, 0.80);

    font-size: 18px;
    line-height: 1.8;
}

.careers-hero-buttons {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 35px;
}

.careers-hero-buttons .primary-button,
.careers-hero-buttons .outline-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 50px;

    padding: 13px 21px;

    border-radius: 9px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    transition: 0.3s ease;
}

.careers-hero-buttons .primary-button {
    background: #1677a8;
    color: #ffffff;
}

.careers-hero-buttons .primary-button:hover {
    background: #0d5d86;

    transform: translateY(-3px);
}

.careers-hero-buttons .outline-button {
    border: 1px solid rgba(255, 255, 255, 0.45);

    background: rgba(255, 255, 255, 0.05);

    color: #ffffff;
}

.careers-hero-buttons .outline-button:hover {
    background: #ffffff;
    color: #12304a;

    transform: translateY(-3px);
}

.careers-hero-buttons span {
    font-size: 17px;
}

.hero-breadcrumb {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 13px;
}

.hero-breadcrumb a {
    color: #63c7e9;

    text-decoration: none;
}

.hero-breadcrumb strong {
    color: #ffffff;
}

.hero-breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}


/* -----------------------------------------------------
   INTRO SECTION
----------------------------------------------------- */

.careers-intro-section {
    padding: 110px 20px;

    background: #ffffff;
}

.careers-intro-grid {
    display: grid;

    grid-template-columns: 0.95fr 1.05fr;

    gap: 75px;

    align-items: center;
}

.careers-intro-image {
    position: relative;

    min-height: 440px;

    border-radius: 22px;

    overflow: hidden;

    background: #eaf4f8;

    box-shadow:
        0 25px 65px rgba(18, 48, 74, 0.14);
}

.careers-intro-image img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 440px;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.careers-intro-image:hover img {
    transform: scale(1.04);
}

.careers-experience-badge {
    position: absolute;

    left: 25px;
    bottom: 25px;

    display: flex;

    flex-direction: column;

    padding: 18px 20px;

    border-radius: 13px;

    background: rgba(18, 48, 74, 0.94);

    color: #ffffff;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.18);
}

.careers-experience-badge strong {
    margin-bottom: 4px;

    color: #63c7e9;

    font-size: 13px;

    letter-spacing: 1.5px;
}

.careers-experience-badge span {
    color: rgba(255, 255, 255, 0.75);

    font-size: 12px;
}

.careers-intro-content .section-label,
.careers-section-header .section-label,
.careers-application-info .section-label,
.careers-form-header .section-label {
    display: inline-block;

    margin-bottom: 13px;

    color: #1677a8;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.careers-intro-content h2 {
    max-width: 650px;

    margin: 0 0 22px;

    color: #12304a;

    font-size: clamp(38px, 5vw, 57px);

    line-height: 1.08;

    letter-spacing: -1.8px;
}

.careers-intro-content h2 span {
    color: #1677a8;
}

.careers-intro-content p {
    max-width: 650px;

    margin: 0 0 18px;

    color: #64748b;

    font-size: 15px;

    line-height: 1.85;
}

.careers-benefits-list {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;

    margin-top: 30px;
}

.career-benefit {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #334155;

    font-size: 13px;
    font-weight: 600;
}

.career-check {
    flex: 0 0 25px;

    width: 25px;
    height: 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e8f7f4;

    color: #2a9d8f;

    font-size: 12px;
    font-weight: 900;
}


/* -----------------------------------------------------
   SECTION HEADERS
----------------------------------------------------- */

.careers-section-header {
    max-width: 760px;

    margin: 0 auto 50px;

    text-align: center;
}

.careers-section-header h2 {
    margin: 0 0 15px;

    color: #12304a;

    font-size: clamp(37px, 5vw, 54px);

    line-height: 1.1;

    letter-spacing: -1.5px;
}

.careers-section-header h2 span {
    color: #1677a8;
}

.careers-section-header p {
    max-width: 650px;

    margin: 0 auto;

    color: #64748b;

    font-size: 15px;

    line-height: 1.8;
}


/* -----------------------------------------------------
   WHY JOIN US
----------------------------------------------------- */

.careers-values-section {
    padding: 100px 20px;

    background: #f7fafc;
}

.careers-values-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.career-value-card {
    padding: 30px 25px;

    border: 1px solid #e1e8ee;

    border-radius: 17px;

    background: #ffffff;

    box-shadow:
        0 10px 35px rgba(18, 48, 74, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.career-value-card:hover {
    transform: translateY(-7px);

    border-color: #c8dce7;

    box-shadow:
        0 20px 45px rgba(18, 48, 74, 0.11);
}

.career-value-icon {
    width: 51px;
    height: 51px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 14px;

    background: #eaf4f8;

    color: #1677a8;

    font-size: 22px;
    font-weight: 700;
}

.career-value-card h3 {
    margin: 0 0 10px;

    color: #12304a;

    font-size: 18px;
}

.career-value-card p {
    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.8;
}


/* -----------------------------------------------------
   CAREER DEPARTMENTS
----------------------------------------------------- */

.careers-departments-section {
    padding: 105px 20px;

    background: #ffffff;
}

.careers-departments-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.career-department-card {
    position: relative;

    min-height: 185px;

    padding: 30px;

    overflow: hidden;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    background: #ffffff;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.career-department-card::after {
    content: "";

    position: absolute;

    right: -35px;
    bottom: -45px;

    width: 130px;
    height: 130px;

    border-radius: 50%;

    background: #eaf4f8;

    transition: transform 0.4s ease;
}

.career-department-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 17px 40px rgba(18, 48, 74, 0.09);
}

.career-department-card:hover::after {
    transform: scale(1.3);
}

.department-number {
    display: block;

    margin-bottom: 18px;

    color: #1677a8;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.career-department-card h3 {
    position: relative;
    z-index: 2;

    max-width: 280px;

    margin: 0 0 10px;

    color: #12304a;

    font-size: 19px;
}

.career-department-card p {
    position: relative;
    z-index: 2;

    max-width: 310px;

    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.7;
}


/* -----------------------------------------------------
   VACANCIES
----------------------------------------------------- */

.careers-vacancies-section {
    padding: 105px 20px;

    background: #f7fafc;
}

.vacancies-list {
    max-width: 1050px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    gap: 15px;
}

.vacancy-card {
    display: grid;

    grid-template-columns: 1.4fr 0.8fr auto;

    align-items: center;

    gap: 25px;

    padding: 23px 25px;

    border: 1px solid #e0e8ee;

    border-radius: 15px;

    background: #ffffff;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.vacancy-card:hover {
    transform: translateX(5px);

    box-shadow:
        0 13px 35px rgba(18, 48, 74, 0.08);
}

.vacancy-main {
    display: flex;

    align-items: center;

    gap: 16px;
}

.vacancy-icon {
    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #eaf4f8;

    color: #1677a8;

    font-size: 22px;
    font-weight: 500;
}

.vacancy-type {
    display: block;

    margin-bottom: 5px;

    color: #1677a8;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.vacancy-main h3 {
    margin: 0 0 4px;

    color: #12304a;

    font-size: 17px;
}

.vacancy-main p {
    margin: 0;

    color: #64748b;

    font-size: 12px;
}

.vacancy-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    color: #64748b;

    font-size: 12px;
}

.vacancy-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-width: 95px;

    padding: 11px 16px;

    border-radius: 8px;

    background: #1677a8;

    color: #ffffff;

    text-decoration: none;

    font-size: 12px;
    font-weight: 800;

    transition: 0.3s ease;
}

.vacancy-button:hover {
    background: #0d5d86;

    transform: translateY(-2px);
}


/* -----------------------------------------------------
   APPLICATION PROCESS
----------------------------------------------------- */

.careers-process-section {
    padding: 105px 20px;

    background: #ffffff;
}

.careers-process-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.career-process-card {
    position: relative;

    padding: 28px 23px;

    min-height: 235px;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    background: #ffffff;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.career-process-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 17px 40px rgba(18, 48, 74, 0.09);
}

.career-process-card > span {
    color: #1677a8;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.career-process-card > div {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 25px 0 20px;

    border-radius: 12px;

    background: #eaf4f8;

    color: #1677a8;

    font-size: 18px;
}

.career-process-card h3 {
    margin: 0 0 9px;

    color: #12304a;

    font-size: 17px;
}

.career-process-card p {
    margin: 0;

    color: #64748b;

    font-size: 12px;

    line-height: 1.8;
}


/* -----------------------------------------------------
   APPLICATION SECTION
----------------------------------------------------- */

.careers-application-section {
    padding: 110px 20px;

    background:
        linear-gradient(
            135deg,
            #f7fafc,
            #edf6fa
        );
}

.careers-application-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 70px;

    align-items: start;
}

.careers-application-info {
    padding-top: 20px;
}

.careers-application-info h2 {
    margin: 0 0 20px;

    color: #12304a;

    font-size: clamp(38px, 5vw, 55px);

    line-height: 1.05;

    letter-spacing: -1.5px;
}

.careers-application-info h2 span {
    color: #1677a8;
}

.careers-application-info > p {
    max-width: 520px;

    margin: 0 0 30px;

    color: #64748b;

    font-size: 15px;

    line-height: 1.85;
}

.application-note {
    padding: 24px;

    border-left: 3px solid #1677a8;

    border-radius: 0 12px 12px 0;

    background: #ffffff;

    box-shadow:
        0 10px 30px rgba(18, 48, 74, 0.06);
}

.application-note strong {
    display: block;

    margin-bottom: 13px;

    color: #12304a;

    font-size: 14px;
}

.application-note ul {
    margin: 0;

    padding-left: 19px;
}

.application-note li {
    margin-bottom: 8px;

    color: #64748b;

    font-size: 13px;

    line-height: 1.6;
}

.application-note li:last-child {
    margin-bottom: 0;
}


/* -----------------------------------------------------
   CAREER FORM
----------------------------------------------------- */

.careers-form-wrapper {
    padding: 40px;

    border: 1px solid #dfe7ed;

    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 25px 70px rgba(18, 48, 74, 0.10);
}

.careers-form-header {
    margin-bottom: 30px;
}

.careers-form-header h2 {
    margin: 0 0 9px;

    color: #12304a;

    font-size: 30px;

    line-height: 1.2;
}

.careers-form-header p {
    margin: 0;

    color: #64748b;

    font-size: 12px;
}

.career-form .form-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.career-form .form-group {
    margin-bottom: 21px;
}

.career-form label {
    display: block;

    margin-bottom: 8px;

    color: #24384a;

    font-size: 13px;
    font-weight: 700;
}

.career-form label > span {
    color: #1677a8;
}

.career-form input,
.career-form select,
.career-form textarea {
    width: 100%;

    box-sizing: border-box;

    border: 1px solid #dbe4eb;

    border-radius: 9px;

    background: #fbfdfe;

    color: #1b2936;

    font-family: inherit;

    font-size: 13px;

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.career-form input,
.career-form select {
    height: 50px;

    padding: 0 14px;
}

.career-form textarea {
    min-height: 150px;

    padding: 14px;

    resize: vertical;
}

.career-form input::placeholder,
.career-form textarea::placeholder {
    color: #9aa8b5;
}

.career-form input:focus,
.career-form select:focus,
.career-form textarea:focus {
    border-color: #1677a8;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(22, 119, 168, 0.10);
}


/* -----------------------------------------------------
   CV UPLOAD
----------------------------------------------------- */

.cv-upload {
    position: relative;

    min-height: 125px;

    overflow: hidden;

    border: 1px dashed #b8ccd8;

    border-radius: 11px;

    background: #f8fbfc;

    transition:
        border-color 0.3s ease,
        background 0.3s ease;
}

.cv-upload:hover {
    border-color: #1677a8;

    background: #f1f9fc;
}

.cv-upload input[type="file"] {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    cursor: pointer;
}

.cv-upload-content {
    min-height: 125px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    pointer-events: none;
}

.cv-upload-icon {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 8px;

    border-radius: 50%;

    background: #eaf4f8;

    color: #1677a8;

    font-size: 18px;
}

.cv-upload-content strong {
    color: #12304a;

    font-size: 13px;
}

.cv-upload-content small {
    margin-top: 4px;

    color: #94a3b8;

    font-size: 10px;
}


/* -----------------------------------------------------
   CAREER CONSENT
----------------------------------------------------- */

.career-consent {
    display: flex !important;

    align-items: flex-start;

    gap: 10px;

    margin: 3px 0 22px;

    cursor: pointer;
}

.career-consent input {
    position: absolute;

    width: 1px !important;
    height: 1px !important;

    opacity: 0;
}

.career-consent .custom-checkbox {
    flex: 0 0 19px;

    width: 19px;
    height: 19px;

    margin-top: 1px;

    border: 1px solid #cbd5df;

    border-radius: 5px;

    background: #ffffff;

    transition: 0.2s ease;
}

.career-consent input:checked + .custom-checkbox {
    border-color: #1677a8;

    background: #1677a8;
}

.career-consent input:checked + .custom-checkbox::after {
    content: "✓";

    display: block;

    color: #ffffff;

    text-align: center;

    line-height: 18px;

    font-size: 13px;
    font-weight: 800;
}

.career-consent > span:last-child {
    color: #64748b;

    font-size: 11px;

    line-height: 1.6;
}


/* -----------------------------------------------------
   SUBMIT BUTTON
----------------------------------------------------- */

.career-submit-button {
    width: 100%;

    min-height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 11px;

    border: none;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #1677a8,
            #0d5d86
        );

    color: #ffffff;

    cursor: pointer;

    font-family: inherit;

    font-size: 13px;
    font-weight: 800;

    box-shadow:
        0 12px 25px rgba(22, 119, 168, 0.20);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.career-submit-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 18px 32px rgba(22, 119, 168, 0.28);
}

.career-submit-button:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;
}

.career-submit-button span {
    font-size: 18px;
}

.career-form-note {
    margin: 12px 0 0;

    color: #94a3b8;

    font-size: 10px;

    text-align: center;
}


/* -----------------------------------------------------
   FORM JAVASCRIPT MESSAGES
----------------------------------------------------- */

.career-form-message {
    margin-bottom: 22px;

    padding: 16px 18px;

    border-radius: 10px;

    font-size: 13px;

    line-height: 1.7;
}

.career-form-message.success {
    border: 1px solid #b7e3dc;

    background: #e8f7f4;

    color: #176b60;
}

.career-form-message.error {
    border: 1px solid #f0c8c6;

    background: #fff3f2;

    color: #a93834;
}

.career-form input.input-error,
.career-form select.input-error,
.career-form textarea.input-error {
    border-color: #d9534f !important;

    box-shadow:
        0 0 0 3px rgba(217, 83, 79, 0.08);
}


/* -----------------------------------------------------
   RESPONSIVE — 1100px
----------------------------------------------------- */

@media (max-width: 1100px) {

    .careers-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .careers-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .careers-intro-grid {
        gap: 45px;
    }

    .careers-application-grid {
        gap: 45px;
    }

}


/* -----------------------------------------------------
   RESPONSIVE — 900px
----------------------------------------------------- */

@media (max-width: 900px) {

    .careers-intro-grid {
        grid-template-columns: 1fr;
    }

    .careers-intro-image {
        max-width: 700px;

        margin: 0 auto;

        width: 100%;
    }

    .careers-intro-content {
        max-width: 750px;

        margin: 0 auto;
    }

    .careers-departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .careers-application-grid {
        grid-template-columns: 1fr;
    }

    .careers-application-info {
        max-width: 750px;
    }

}


/* -----------------------------------------------------
   RESPONSIVE — 800px
----------------------------------------------------- */

@media (max-width: 800px) {

    .careers-container {
        width: min(100% - 32px, 700px);
    }

    .careers-hero {
        min-height: 500px;
    }

    .careers-hero-content {
        width: min(100% - 32px, 700px);

        padding: 85px 0;
    }

    .careers-hero h1 {
        font-size: clamp(48px, 9vw, 70px);

        letter-spacing: -2px;
    }

    .careers-hero-content > p {
        font-size: 16px;
    }

    .careers-intro-section,
    .careers-values-section,
    .careers-departments-section,
    .careers-vacancies-section,
    .careers-process-section,
    .careers-application-section {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .vacancy-card {
        grid-template-columns: 1fr auto;
    }

    .vacancy-meta {
        grid-column: 1;
    }

    .vacancy-button {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

}


/* -----------------------------------------------------
   RESPONSIVE — 600px
----------------------------------------------------- */

@media (max-width: 600px) {

    .careers-container {
        width: calc(100% - 28px);
    }

    .careers-hero {
        min-height: 450px;
    }

    .careers-hero-content {
        width: calc(100% - 28px);

        padding: 70px 0;
    }

    .careers-hero h1 {
        font-size: 43px;

        line-height: 1;

        letter-spacing: -1.5px;
    }

    .careers-hero-content > p {
        font-size: 14px;

        line-height: 1.7;
    }

    .careers-hero-buttons {
        flex-direction: column;

        align-items: stretch;

        max-width: 330px;
    }

    .careers-hero-buttons .primary-button,
    .careers-hero-buttons .outline-button {
        width: 100%;
    }

    .careers-intro-section,
    .careers-values-section,
    .careers-departments-section,
    .careers-vacancies-section,
    .careers-process-section,
    .careers-application-section {
        padding: 60px 14px;
    }

    .careers-intro-image,
    .careers-intro-image img {
        min-height: 380px;
    }

    .careers-experience-badge {
        left: 17px;
        bottom: 17px;
    }

    .careers-intro-content h2 {
        font-size: 37px;
    }

    .careers-benefits-list {
        grid-template-columns: 1fr;
    }

    .careers-values-grid {
        grid-template-columns: 1fr;
    }

    .careers-departments-grid {
        grid-template-columns: 1fr;
    }

    .career-department-card {
        min-height: auto;
    }

    .careers-process-grid {
        grid-template-columns: 1fr;
    }

    .career-process-card {
        min-height: auto;
    }

    .vacancy-card {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 18px;

        padding: 21px;
    }

    .vacancy-main {
        align-items: flex-start;
    }

    .vacancy-meta {
        flex-direction: column;

        gap: 7px;
    }

    .vacancy-button {
        width: 100%;
    }

    .careers-application-info h2 {
        font-size: 37px;
    }

    .careers-form-wrapper {
        padding: 25px 20px;

        border-radius: 17px;
    }

    .careers-form-header h2 {
        font-size: 27px;
    }

    .career-form .form-grid {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .career-form input,
    .career-form select {
        height: 48px;
    }

}


/* -----------------------------------------------------
   RESPONSIVE — 420px
----------------------------------------------------- */

@media (max-width: 420px) {

    .careers-hero h1 {
        font-size: 38px;
    }

    .careers-intro-image,
    .careers-intro-image img {
        min-height: 320px;
    }

    .careers-intro-content h2,
    .careers-application-info h2 {
        font-size: 33px;
    }

    .career-value-card {
        padding: 24px 20px;
    }

    .careers-form-wrapper {
        padding: 22px 17px;
    }

    .careers-form-header h2 {
        font-size: 24px;
    }

}


/* -----------------------------------------------------
   ACCESSIBILITY
----------------------------------------------------- */

.career-form input:focus-visible,
.career-form select:focus-visible,
.career-form textarea:focus-visible,
.career-submit-button:focus-visible,
.vacancy-button:focus-visible,
.careers-hero-buttons a:focus-visible {
    outline: 3px solid rgba(22, 119, 168, 0.25);

    outline-offset: 2px;
}


/* -----------------------------------------------------
   REDUCED MOTION
----------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .careers-intro-image img,
    .career-value-card,
    .career-department-card,
    .vacancy-card,
    .career-process-card,
    .career-submit-button {
        transition: none;
    }

}


/* =====================================================
   BOOK APPOINTMENT PAGE
   PROFESSIONAL HOSPITAL DESIGN
===================================================== */

.appointment-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* =====================================================
   APPOINTMENT HERO
===================================================== */

.appointment-hero {
    position: relative;
    min-height: 500px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(10, 38, 59, 0.78),
            rgba(18, 48, 74, 0.88)
        ),
        url("images/appointment.jpg") center/cover no-repeat;

    overflow: hidden;
}

.appointment-hero::before {
    content: "";
    position: absolute;

    width: 420px;
    height: 420px;

    right: -150px;
    top: -150px;

    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
}

.appointment-hero::after {
    content: "";
    position: absolute;

    width: 280px;
    height: 280px;

    left: -130px;
    bottom: -150px;

    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
}

.appointment-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 35, 54, 0.92),
            rgba(18, 48, 74, 0.55)
        );
}

.appointment-hero-content {
    position: relative;
    z-index: 2;

    width: min(1180px, 92%);
    margin: 0 auto;

    padding-top: 80px;
}

.appointment-hero .hero-label {
    display: inline-block;

    margin-bottom: 18px;

    color: #8FD3E8;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2.5px;
}

.appointment-hero h1 {
    max-width: 700px;

    margin: 0 0 20px;

    color: #ffffff;

    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 800;
}

.appointment-hero h1 span {
    display: block;
    color: #67C5B8;
}

.appointment-hero-content > p {
    max-width: 620px;

    margin: 0 0 25px;

    color: rgba(255,255,255,0.82);

    font-size: 18px;
    line-height: 1.8;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;

    color: rgba(255,255,255,0.65);

    font-size: 14px;
}

.hero-breadcrumb a {
    color: #ffffff;
    text-decoration: none;

    transition: 0.3s ease;
}

.hero-breadcrumb a:hover {
    color: #67C5B8;
}


/* =====================================================
   EMERGENCY NOTICE
===================================================== */

.appointment-emergency-section {
    padding: 28px 0;

    background: #EAF4F8;
}

.appointment-emergency {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 20px 25px;

    background: #ffffff;

    border-left: 5px solid #2A9D8F;

    border-radius: 12px;

    box-shadow: 0 10px 30px rgba(18,48,74,0.08);
}

.emergency-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #2A9D8F;
    color: #ffffff;

    border-radius: 50%;

    font-size: 26px;
    font-weight: 700;
}

.emergency-text {
    flex: 1;
}

.emergency-text strong {
    display: block;

    margin-bottom: 5px;

    color: #12304A;

    font-size: 17px;
}

.emergency-text p {
    margin: 0;

    color: #64748B;

    font-size: 14px;
    line-height: 1.6;
}

.emergency-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 22px;

    background: #12304A;
    color: #ffffff;

    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: 0.3s ease;
}

.emergency-button:hover {
    background: #1677A8;
    transform: translateY(-2px);
}


/* =====================================================
   MAIN APPOINTMENT SECTION
===================================================== */

.appointment-section {
    padding: 90px 0;

    background: #F7FAFC;
}

.appointment-layout {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.82fr)
        minmax(500px, 1.35fr);

    gap: 60px;

    align-items: start;
}


/* =====================================================
   APPOINTMENT INFORMATION
===================================================== */

.appointment-info {
    position: sticky;
    top: 110px;
}

.section-label {
    display: inline-block;

    margin-bottom: 12px;

    color: #1677A8;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.appointment-info h2 {
    margin: 0 0 18px;

    color: #12304A;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
}

.appointment-info h2 span {
    color: #1677A8;
}

.appointment-info > p {
    margin: 0 0 32px;

    color: #64748B;

    font-size: 16px;
    line-height: 1.8;
}


/* =====================================================
   INFORMATION CARDS
===================================================== */

.appointment-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;

    margin-bottom: 30px;
}

.appointment-info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    padding: 18px;

    background: #ffffff;

    border: 1px solid #E2E8F0;
    border-radius: 10px;

    transition: 0.3s ease;
}

.appointment-info-card:hover {
    transform: translateY(-3px);

    border-color: #B9DCE8;

    box-shadow: 0 12px 30px rgba(18,48,74,0.08);
}

.appointment-info-icon {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #EAF4F8;
    color: #1677A8;

    border-radius: 50%;

    font-size: 17px;
    font-weight: 800;
}

.appointment-info-card h3 {
    margin: 0 0 5px;

    color: #12304A;

    font-size: 16px;
}

.appointment-info-card p {
    margin: 0;

    color: #64748B;

    font-size: 13px;
    line-height: 1.6;
}


/* =====================================================
   CONTACT CARD
===================================================== */

.appointment-contact-card {
    padding: 28px;

    background:
        linear-gradient(
            135deg,
            #12304A,
            #1677A8
        );

    border-radius: 14px;

    color: #ffffff;

    box-shadow: 0 18px 40px rgba(18,48,74,0.16);
}

.appointment-contact-card > span {
    display: block;

    margin-bottom: 8px;

    color: #8FD3E8;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.appointment-contact-card h3 {
    margin: 0 0 10px;

    font-size: 24px;
}

.appointment-contact-card p {
    margin: 0 0 18px;

    color: rgba(255,255,255,0.78);

    font-size: 14px;
    line-height: 1.7;
}

.appointment-contact-card a {
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}

.appointment-contact-card a:hover {
    color: #8FD3E8;
}


/* =====================================================
   APPOINTMENT FORM
===================================================== */

.appointment-form-wrapper {
    background: #ffffff;

    border: 1px solid #E2E8F0;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 20px 55px rgba(18,48,74,0.09);
}

.appointment-form-header {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 28px 32px;

    background:
        linear-gradient(
            135deg,
            #12304A,
            #1677A8
        );

    color: #ffffff;
}

.form-number {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: rgba(255,255,255,0.12);

    border: 1px solid rgba(255,255,255,0.2);

    border-radius: 50%;

    font-size: 15px;
    font-weight: 800;
}

.appointment-form-header > div > span {
    display: block;

    margin-bottom: 4px;

    color: #8FD3E8;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}

.appointment-form-header h2 {
    margin: 0;

    font-size: 24px;
}


/* =====================================================
   FORM SECTIONS
===================================================== */

.form-section {
    padding: 35px 32px;

    border-bottom: 1px solid #E2E8F0;
}

.form-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    margin-bottom: 25px;
}

.form-section-heading > span {
    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #EAF4F8;
    color: #1677A8;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 800;
}

.form-section-heading h3 {
    margin: 0 0 4px;

    color: #12304A;

    font-size: 19px;
}

.form-section-heading p {
    margin: 0;

    color: #64748B;

    font-size: 13px;
}


/* =====================================================
   FORM GRID
===================================================== */

.form-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #1B2936;

    font-size: 13px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 14px 15px;

    background: #F8FAFC;

    border: 1px solid #DCE4EA;

    border-radius: 8px;

    color: #1B2936;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition: 0.3s ease;
}

.form-group input,
.form-group select {
    min-height: 48px;
}

.form-group textarea {
    resize: vertical;

    min-height: 120px;

    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94A3B8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: #ffffff;

    border-color: #1677A8;

    box-shadow:
        0 0 0 3px rgba(22,119,168,0.1);
}


/* =====================================================
   APPOINTMENT TYPE
===================================================== */

.appointment-type-group {
    margin-top: 25px;
}

.appointment-type-options {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}

.appointment-type-option {
    position: relative;

    cursor: pointer;
}

.appointment-type-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.appointment-type-box {
    display: block;

    padding: 17px;

    background: #F8FAFC;

    border: 1px solid #DCE4EA;

    border-radius: 9px;

    transition: 0.3s ease;
}

.appointment-type-box strong {
    display: block;

    margin-bottom: 5px;

    color: #12304A;

    font-size: 14px;
}

.appointment-type-box small {
    color: #64748B;

    font-size: 11px;
    line-height: 1.4;
}

.appointment-type-option:hover .appointment-type-box {
    border-color: #8CC8DA;
}

.appointment-type-option input:checked + .appointment-type-box {
    background: #EAF4F8;

    border-color: #1677A8;

    box-shadow:
        0 0 0 2px rgba(22,119,168,0.08);
}


/* =====================================================
   CONSENT
===================================================== */

.appointment-consent {
    padding: 25px 32px;

    background: #F8FAFC;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    cursor: pointer;

    color: #64748B;

    font-size: 13px;
    line-height: 1.6;
}

.consent-checkbox input {
    position: absolute;
    opacity: 0;
}

.custom-checkbox {
    width: 20px;
    height: 20px;

    flex-shrink: 0;

    margin-top: 1px;

    background: #ffffff;

    border: 1px solid #CBD5E1;

    border-radius: 5px;

    transition: 0.3s ease;
}

.consent-checkbox input:checked + .custom-checkbox {
    background: #1677A8;

    border-color: #1677A8;

    box-shadow:
        inset 0 0 0 4px #ffffff;
}


/* =====================================================
   SUBMIT BUTTON
===================================================== */

.appointment-submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    width: calc(100% - 64px);

    margin: 25px 32px 12px;

    padding: 17px 25px;

    border: none;

    background:
        linear-gradient(
            135deg,
            #1677A8,
            #2A9D8F
        );

    color: #ffffff;

    border-radius: 8px;

    cursor: pointer;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;

    box-shadow: 0 10px 25px rgba(22,119,168,0.18);

    transition: 0.3s ease;
}

.appointment-submit-button strong {
    font-size: 20px;

    transition: transform 0.3s ease;
}

.appointment-submit-button:hover {
    transform: translateY(-2px);

    box-shadow: 0 15px 30px rgba(22,119,168,0.25);
}

.appointment-submit-button:hover strong {
    transform: translateX(5px);
}

.appointment-submit-button:disabled {
    opacity: 0.7;

    cursor: not-allowed;

    transform: none;
}

.appointment-form-note {
    margin: 0;

    padding: 0 32px 28px;

    color: #94A3B8;

    text-align: center;

    font-size: 11px;
}


/* =====================================================
   FORM ERROR
===================================================== */

.appointment-form-wrapper .input-error {
    border-color: #D9534F !important;

    box-shadow:
        0 0 0 3px rgba(217,83,79,0.08);
}


/* =====================================================
   APPOINTMENT PROCESS
===================================================== */

.appointment-process-section {
    padding: 90px 0;

    background: #ffffff;
}

.section-header-center {
    max-width: 650px;

    margin: 0 auto 50px;

    text-align: center;
}

.section-header-center h2 {
    margin: 0 0 15px;

    color: #12304A;

    font-size: clamp(32px, 4vw, 46px);
}

.section-header-center h2 span {
    color: #1677A8;
}

.section-header-center p {
    margin: 0;

    color: #64748B;

    font-size: 16px;
    line-height: 1.7;
}

.appointment-process-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.appointment-process-card {
    position: relative;

    padding: 30px 24px;

    background: #F7FAFC;

    border: 1px solid #E2E8F0;

    border-radius: 12px;

    text-align: center;

    transition: 0.3s ease;
}

.appointment-process-card:hover {
    transform: translateY(-6px);

    background: #ffffff;

    border-color: #B9DCE8;

    box-shadow: 0 15px 35px rgba(18,48,74,0.08);
}

.process-number {
    position: absolute;

    top: 15px;
    right: 18px;

    color: #CBD5E1;

    font-size: 11px;
    font-weight: 800;
}

.process-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #EAF4F8;
    color: #1677A8;

    border-radius: 50%;

    font-size: 18px;
    font-weight: 800;
}

.appointment-process-card h3 {
    margin: 0 0 10px;

    color: #12304A;

    font-size: 17px;
}

.appointment-process-card p {
    margin: 0;

    color: #64748B;

    font-size: 13px;
    line-height: 1.7;
}


/* =====================================================
   CTA
===================================================== */

.cta-section {
    padding: 70px 0;

    background:
        linear-gradient(
            135deg,
            #12304A,
            #1677A8
        );
}

.cta-container {
    width: min(1180px, 92%);
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.cta-content h2 {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: clamp(30px, 4vw, 45px);
}

.cta-content h2 span {
    color: #67C5B8;
}

.cta-content p {
    max-width: 550px;

    margin: 0;

    color: rgba(255,255,255,0.78);

    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 12px;

    flex-shrink: 0;
}

.cta-buttons .primary-button,
.cta-buttons .outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 23px;

    border-radius: 7px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition: 0.3s ease;
}

.cta-buttons .primary-button {
    background: #ffffff;
    color: #12304A;
}

.cta-buttons .outline-button {
    background: transparent;
    color: #ffffff;

    border: 1px solid rgba(255,255,255,0.45);
}

.cta-buttons .primary-button:hover,
.cta-buttons .outline-button:hover {
    transform: translateY(-2px);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .appointment-layout {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .appointment-info {
        position: static;
    }

    .appointment-info-list {
        display: grid;

        grid-template-columns: repeat(3, 1fr);
    }

    .appointment-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-container {
        flex-direction: column;

        align-items: flex-start;
    }

}


/* =====================================================
   SMALL TABLET
===================================================== */

@media (max-width: 800px) {

    .appointment-hero {
        min-height: 430px;
    }

    .appointment-hero-content {
        padding-top: 50px;
    }

    .appointment-emergency {
        align-items: flex-start;
    }

    .appointment-info-list {
        grid-template-columns: 1fr;
    }

    .appointment-type-options {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

}


/* =====================================================
   PHONE
===================================================== */

@media (max-width: 700px) {

    .appointment-container {
        width: min(92%, 560px);
    }

    .appointment-hero {
        min-height: 390px;
    }

    .appointment-hero h1 {
        font-size: 42px;
    }

    .appointment-hero-content > p {
        font-size: 15px;
    }

    .appointment-emergency {
        flex-direction: column;

        padding: 22px;
    }

    .emergency-button {
        width: 100%;

        box-sizing: border-box;
    }

    .appointment-section {
        padding: 60px 0;
    }

    .appointment-form-header {
        padding: 24px 20px;
    }

    .appointment-form-header h2 {
        font-size: 20px;
    }

    .form-section {
        padding: 28px 20px;
    }

    .appointment-consent {
        padding: 22px 20px;
    }

    .appointment-submit-button {
        width: calc(100% - 40px);

        margin-left: 20px;
        margin-right: 20px;
    }

    .appointment-form-note {
        padding-left: 20px;
        padding-right: 20px;
    }

    .appointment-process-section {
        padding: 60px 0;
    }

    .appointment-process-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 55px 0;
    }

    .cta-buttons {
        width: 100%;

        flex-direction: column;
    }

    .cta-buttons .primary-button,
    .cta-buttons .outline-button {
        width: 100%;
        box-sizing: border-box;
    }

}


/* =====================================================
   SMALL PHONE
===================================================== */

@media (max-width: 420px) {

    .appointment-hero {
        min-height: 360px;
    }

    .appointment-hero h1 {
        font-size: 36px;
    }

    .appointment-hero-content > p {
        font-size: 14px;
    }

    .hero-breadcrumb {
        font-size: 12px;
    }

    .appointment-info h2 {
        font-size: 32px;
    }

    .appointment-form-header {
        gap: 12px;
    }

    .form-number {
        width: 44px;
        height: 44px;
    }

    .form-section-heading {
        gap: 10px;
    }

    .form-section-heading h3 {
        font-size: 17px;
    }

    .form-section-heading p {
        font-size: 12px;
    }

    .appointment-info-card {
        padding: 15px;
    }

    .appointment-contact-card {
        padding: 22px;
    }

}


/* =====================================================
   ACCESSIBILITY
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .appointment-info-card,
    .appointment-type-box,
    .appointment-submit-button,
    .appointment-process-card,
    .emergency-button,
    .cta-buttons .primary-button,
    .cta-buttons .outline-button {
        transition: none;
    }

}

/* =====================================================
   APPOINTMENT FORM MESSAGES
===================================================== */

.appointment-form-message {
    display: none;

    margin: 20px 32px 0;
    padding: 16px 18px;

    border-radius: 8px;

    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
}

.appointment-form-message.success {
    display: block;

    background: #E8F7F3;

    border: 1px solid #A8DDD2;

    color: #176B5F;
}

.appointment-form-message.error {
    display: block;

    background: #FFF1F0;

    border: 1px solid #F0B8B4;

    color: #A33A35;
}

.appointment-type-group.input-error
.appointment-type-box {
    border-color: #D9534F;
}

@media (max-width: 700px) {

    .appointment-form-message {
        margin-left: 20px;
        margin-right: 20px;
    }

}