/* =====================================================
   CLINICA MEDICARE®
   2-MINUTE HAIR ASSESSMENT
   MOBILE-FIRST DESIGN
===================================================== */

:root {

    --navy: #092c4c;
    --navy-dark: #061f38;
    --navy-soft: #173e61;

    --orange: #ff6b1a;
    --orange-dark: #e95708;
    --orange-soft: #fff0e8;

    --white: #ffffff;
    --off-white: #f7f9fb;
    --light: #eef3f7;
    --line: #dce5ec;

    --text: #102c48;
    --muted: #667588;

    --success: #16a66a;
    --danger: #d83a3a;

    --shadow-sm:
        0 8px 24px rgba(9, 44, 76, 0.06);

    --shadow-md:
        0 18px 45px rgba(9, 44, 76, 0.10);

    --shadow-lg:
        0 28px 70px rgba(9, 44, 76, 0.15);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;

    --container: 1240px;
}


/* =====================================================
   RESET
===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--white);
    color: var(--text);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =====================================================
   HEADER
===================================================== */

.site-header {
    position: relative;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(9, 44, 76, 0.08);
}

.header-inner {
    width: min(100% - 32px, var(--container));
    min-height: 76px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    width: auto;
    height: 48px;
    object-fit: contain;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px;
    border: 1px solid #dce5ee;
    border-radius: 999px;
    background: #ffffff;
}

.language-btn {
    min-width: 42px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #667588;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.language-btn.active {
    background: #092c4c;
    color: #ffffff;
}

.admin-portal-btn {
    min-height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #dce5ee;
    border-radius: 999px;
    background: #ffffff;
    color: #092c4c;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    font-family: 'Inter', sans-serif;
font-size: 13px;
font-weight: 600;
letter-spacing: 0;
}

.admin-portal-btn:hover {
    border-color: #092c4c;
    background: #f7f9fc;
}



/* =====================================================
   HERO
===================================================== */

.hero-section {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(255, 107, 26, 0.07),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f6f9fc 100%
        );

    padding: 26px 16px 0;
}

.hero-shell {
    position: relative;
    width: 100%;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;

    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 38px;

    min-height: 630px;
    box-sizing: border-box;
}
.hero-copy {
    position: relative;
    z-index: 3;

    padding: 8px 0 32px;
}
.hero-brand-line {
    display: inline-flex;
    align-items: center;

    margin-bottom: 18px;

    color: var(--navy);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-brand-line::before {
    content: "";

    width: 28px;
    height: 2px;

    margin-right: 10px;

    background: var(--orange);
}

.hero-title {
    max-width: 690px;

    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size: clamp(42px, 5.2vw, 74px);

    line-height: 0.98;

    letter-spacing: -0.055em;

    font-weight: 800;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    display: block;

    color: var(--orange);
}

.hero-description {
    max-width: 590px;

    margin-top: 24px;

    color: #41556c;

    font-size: 18px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-direction: column;

    gap: 10px;

    max-width: 500px;

    margin-top: 28px;
}

.hero-primary-btn,
.hero-secondary-btn {
    min-height: 58px;

    border-radius: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 14px 20px;

    font-size: 15px;
    font-weight: 800;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.hero-primary-btn {
    border: 1px solid var(--orange);

    background: var(--orange);
    color: var(--white);

    box-shadow:
        0 12px 28px rgba(255, 107, 26, 0.20);
}

.hero-primary-btn:hover {
    transform: translateY(-2px);

    background: var(--orange-dark);

    box-shadow:
        0 16px 34px rgba(255, 107, 26, 0.25);
}

.button-arrow {
    margin-left: 10px;

    font-size: 20px;
}

.hero-secondary-btn {
    border: 1px solid #9eb0c1;

    background: transparent;
    color: var(--navy);
}

.hero-secondary-btn:hover {
    background: var(--white);

    box-shadow: var(--shadow-sm);
}

.plan-icon {
    margin-right: 10px;
    font-size: 17px;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;

    gap: 18px;

    margin-top: 28px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--navy);
}

.benefit-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid #d9e4ed;
    border-radius: 50%;

    background: #f2f7fb;

    color: var(--navy);

    font-size: 19px;
}

.benefit-item span:last-child {
    display: flex;
    flex-direction: column;
}

.benefit-item strong {
    font-size: 13px;
    font-weight: 700;
}

.benefit-item small {
    color: var(--muted);

    font-size: 12px;
    line-height: 1.3;
}


/* =====================================================
   HERO VIDEO
===================================================== */

.hero-visual {
    position: relative;

    min-height: 570px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual::before {
    content: "";

    position: absolute;

    width: 480px;
    height: 680px;

    right: -160px;
    top: -20px;

background: transparent;

    border-radius: 48% 0 0 48%;

    transform: rotate(7deg);

    opacity: 0.98;
}

.hero-video-card {
    position: relative;
    z-index: 3;

    width: min(100%, 570px);

    aspect-ratio: 0.86 / 1;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 32px;

   background: transparent;

    box-shadow: var(--shadow-lg);
}

.hero-video {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.video-overlay-bottom {
    position: absolute;

    inset: auto 0 0 0;

    height: 32%;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(0, 0, 0, 0.45)
        );

    pointer-events: none;
}

.video-badge {
    position: absolute;
    z-index: 5;

    top: 18px;
    right: 18px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 15px;

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.96);

    color: var(--navy);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.12);

    font-size: 14px;
    font-weight: 800;
}

.video-badge small {
    display: block;

    margin-top: 2px;

    font-size: 10px;
    letter-spacing: 0.05em;
}

.video-badge-icon {
    font-size: 21px;
}

.video-play-indicator {
    position: absolute;
    z-index: 6;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;

    background: rgba(9, 44, 76, 0.28);

    color: var(--white);

    backdrop-filter: blur(8px);

    font-size: 20px;
}

.video-feature-stack {
    position: absolute;
    z-index: 7;

    right: -10px;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    flex-direction: column;

    gap: 10px;
}

.video-feature-card {
    width: 150px;
    min-height: 70px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 11px 13px;

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.96);

    box-shadow:
        0 12px 30px rgba(9, 44, 76, 0.14);

    color: var(--navy);

    font-size: 11px;
    line-height: 1.3;
}

.video-feature-card span {
    flex: 0 0 auto;

    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--orange-soft);

    color: var(--orange);

    font-size: 16px;
}


/* =====================================================
   HERO STATS
===================================================== */

.hero-stats {
    position: relative;
    z-index: 8;

    width: min(100%, 820px);

    margin: -16px auto 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid #e1e9ef;

    border-radius: 22px;

    box-shadow: var(--shadow-md);

    overflow: hidden;
}

.hero-stat {
    min-height: 96px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 15px;

    border-right: 1px solid #e2e9ef;
}

.hero-stat:last-child {
    border-right: 0;
}

.stat-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--orange-soft);

    color: var(--orange);

    font-size: 19px;
}

.hero-stat span:last-child {
    display: flex;
    flex-direction: column;
}

.hero-stat strong {
    color: var(--navy);

    font-size: 25px;
    line-height: 1;

    font-weight: 800;
}

.hero-stat small {
    margin-top: 4px;

    color: var(--muted);

    font-size: 11px;
}


/* =====================================================
   HAIR TEST SECTION
===================================================== */

.hair-test-section {
    padding: 90px 16px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7f9fb 100%
        );
}

.test-container {
    width: min(100%, 1120px);

    margin: 0 auto;
}

.progress-wrapper {
    max-width: 800px;

    margin: 0 auto 42px;
}

.progress-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 9px;

    color: var(--muted);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.progress-track {
    width: 100%;
    height: 5px;

    overflow: hidden;

    border-radius: 999px;

    background: #e4ebf1;
}

.progress-bar {
    width: 20%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--orange),
            #ff9b5e
        );

    transition: width 0.35s ease;
}


/* =====================================================
   TEST STEPS
===================================================== */

.test-step {
    display: none;

    animation: stepIn 0.35s ease both;
}

.test-step.active {
    display: block;
}

@keyframes stepIn {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.step-heading {
    max-width: 760px;

    margin-bottom: 32px;
}

.step-pill {
    display: inline-flex;
    align-items: center;

    padding: 7px 13px;

    margin-bottom: 14px;

    border-radius: 999px;

    background: var(--orange-soft);
    color: var(--orange-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.06em;
}

.step-heading h2,
.lead-heading h2 {
    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size: clamp(30px, 4vw, 52px);

    line-height: 1.05;

    letter-spacing: -0.035em;

    font-weight: 800;
}

.step-heading p,
.lead-heading p {
    margin-top: 13px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.65;
}



/* =====================================================
   GENDER — PREMIUM ASSESSMENT CARDS
===================================================== */

.gender-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.gender-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    text-align: left;
    box-shadow: var(--shadow-sm);
    cursor: pointer;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.gender-card:hover {
    transform: translateY(-3px);
    border-color: var(--orange);
    box-shadow: var(--shadow-md);
}

/* Image area */
.gender-card-image {
    position: relative;
    width: 100%;
    min-height: 250px;
    overflow: hidden;
    display: block;
    background-color: #eaf0f5;
    background-position: center 35%;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Hide old male/female symbols */
.gender-card-image span {
    display: none;
}

/* Men's assessment photo */
.gender-man {
    background-image:
        linear-gradient(
            180deg,
            rgba(9, 44, 76, 0.02),
            rgba(9, 44, 76, 0.10)
        ),
        url("../men-hair-assessment.jpg");
}

/* Women's assessment photo */
.gender-woman {
    background-image:
        linear-gradient(
            180deg,
            rgba(9, 44, 76, 0.02),
            rgba(9, 44, 76, 0.10)
        ),
        url("../women-hair-assessment.jpg");
}

/* Card text area */
.gender-card-content {
    padding: 22px 24px 26px;
}

.gender-card-content h3 {
    margin: 0;
    color: var(--navy);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
}

.gender-card-content p {
    margin: 7px 0 0;
    max-width: calc(100% - 28px);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

/* Arrow button */
.selection-arrow {
    position: absolute;
    right: 20px;
    bottom: 22px;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: var(--orange-soft);
    color: var(--orange);

    font-weight: 800;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.gender-card:hover .selection-arrow {
    background: var(--orange);
    color: #ffffff;
}

.gender-card:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

/* Mobile layout */
@media (max-width: 640px) {
    .gender-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gender-card-image {
        min-height: 210px;
    }

    .gender-card-content {
        padding: 18px 20px 22px;
    }

    .gender-card-content h3 {
        font-size: 21px;
    }

    .selection-arrow {
        right: 16px;
        bottom: 18px;
    }
}


/* =====================================================
   DURATION
===================================================== */

.duration-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.duration-card {
    position: relative;

    min-height: 170px;

    display: grid;
    grid-template-columns: auto 1fr auto;

    align-items: center;

    gap: 20px;

    padding: 28px;

    border: 1px solid var(--line);
    border-radius: 24px;

    background: var(--white);

    text-align: left;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.duration-card:hover {
    transform: translateY(-3px);

    border-color: var(--orange);

    box-shadow: var(--shadow-md);
}

.duration-number {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--orange-soft);

    color: var(--orange-dark);

    font-size: 13px;
    font-weight: 800;
}

.duration-card h3 {
    color: var(--navy);

    font-size: 21px;
    font-weight: 800;
}

.duration-card p {
    margin-top: 7px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.45;
}


/* =====================================================
   STAGE
===================================================== */

.stage-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 30px;
}

.not-sure-box {
    flex: 0 0 290px;

    display: flex;
    align-items: flex-start;

    gap: 12px;

    padding: 18px;

    border: 1px solid var(--line);
    border-radius: 18px;

    background: var(--white);
}

.not-sure-icon {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 50%;

    background: var(--orange-soft);

    color: var(--orange);

    font-weight: 800;
}

.not-sure-box strong {
    display: block;

    color: var(--navy);

    font-size: 14px;
}

.not-sure-box span:last-child {
    display: block;

    margin-top: 4px;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.4;
}

.stage-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 16px;
}

.stage-card {
    position: relative;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 20px;

    background: var(--white);

    text-align: left;

    box-shadow: 0 5px 20px rgba(9, 44, 76, 0.04);

    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.stage-card:hover,
.stage-card.selected {
    border-color: var(--orange);

    box-shadow:
        0 14px 32px rgba(255, 107, 26, 0.12);
}

.stage-card:hover {
    transform: translateY(-2px);
}

.stage-card.selected {
    transform: translateY(-2px);
}

.stage-image-wrap {
    position: relative;

    aspect-ratio: 1.45 / 1;

    overflow: hidden;

    background: #f0f3f5;
}

.stage-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.stage-selected-check {
    position: absolute;

    top: 12px;
    right: 12px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--orange);

    color: var(--white);

    font-weight: 800;

    opacity: 0;

    transform: scale(0.7);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.stage-card.selected .stage-selected-check {
    opacity: 1;

    transform: scale(1);
}

.stage-card-body {
    padding: 16px 17px 18px;
}

.stage-label {
    display: inline-flex;

    padding: 5px 9px;

    margin-bottom: 8px;

    border-radius: 999px;

    background: var(--orange-soft);

    color: var(--orange-dark);

    font-size: 11px;
    font-weight: 800;
}

.stage-card h3 {
    color: var(--navy);

    font-size: 18px;
    line-height: 1.25;

    font-weight: 800;
}

.stage-card p {
    margin-top: 7px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.45;
}


/* =====================================================
   PHOTO
===================================================== */

.photo-upload-box {
    max-width: 600px;

    margin: 0 auto;

    padding: 22px;

    border: 1px dashed #b9c9d6;
    border-radius: 24px;

    background: var(--white);
}

.photo-upload-label {
    min-height: 260px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: #f8fafc;

    color: var(--navy);

    text-align: center;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.photo-upload-label:hover {
    background: var(--orange-soft);
}

.upload-icon {
    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    margin-bottom: 14px;

    border-radius: 50%;

    background: var(--orange-soft);

    color: var(--orange);

    font-size: 25px;
    font-weight: 800;
}

.photo-upload-label strong {
    font-size: 18px;
}

.photo-upload-label small {
    margin-top: 7px;

    color: var(--muted);

    font-size: 12px;
}

.photo-preview-wrap {
    text-align: center;
}

.photo-preview {
    width: 100%;
    max-height: 450px;

    margin: 0 auto;

    object-fit: contain;

    border-radius: 18px;
}

.change-photo-btn {
    margin-top: 12px;

    border: 0;

    background: transparent;

    color: var(--orange-dark);

    font-size: 13px;
    font-weight: 800;
}


/* =====================================================
   ACTIONS
===================================================== */

.step-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    margin-top: 26px;
}

.back-btn {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 10px 15px;

    border: 1px solid var(--line);
    border-radius: 12px;

    background: var(--white);

    color: var(--navy);

    font-size: 13px;
    font-weight: 700;
}

.back-btn:hover {
    border-color: var(--navy);
}

.primary-test-btn {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 22px;

    border: 1px solid var(--orange);
    border-radius: 13px;

    background: var(--orange);

    color: var(--white);

    font-size: 14px;
    font-weight: 800;

    box-shadow:
        0 10px 24px rgba(255, 107, 26, 0.18);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.primary-test-btn:hover {
    transform: translateY(-2px);

    background: var(--orange-dark);
}

.full-width {
    width: 100%;
}


/* =====================================================
   QUESTIONS
===================================================== */

.question-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 16px;
}

.question-counter,
.question-type {
    color: var(--muted);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.question-type {
    color: var(--orange-dark);
}

.question-card {
    padding: clamp(22px, 5vw, 42px);

    border: 1px solid var(--line);
    border-radius: 26px;

    background: var(--white);

    box-shadow: var(--shadow-md);
}

.question-card h2 {
    max-width: 800px;

    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size: clamp(25px, 4vw, 39px);

    line-height: 1.16;

    letter-spacing: -0.025em;
}

.answer-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;

    margin-top: 28px;
}

.answer-btn {
    min-height: 72px;

    display: flex;
    align-items: center;

    padding: 15px 17px;

    border: 1px solid var(--line);
    border-radius: 15px;

    background: #fbfcfd;

    color: var(--navy);

    text-align: left;

    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.answer-btn:hover {
    border-color: var(--orange);

    background: var(--orange-soft);

    transform: translateY(-1px);
}

.answer-btn.selected {
    border-color: var(--orange);

    background: var(--orange-soft);

    box-shadow:
        0 8px 20px rgba(255, 107, 26, 0.10);
}

.question-actions {
    justify-content: flex-start;
}


/* =====================================================
   LEAD FORM
===================================================== */

.lead-heading {
    max-width: 800px;

    margin-bottom: 30px;
}

.lead-form {
    padding: clamp(22px, 5vw, 42px);

    border: 1px solid var(--line);
    border-radius: 26px;

    background: var(--white);

    box-shadow: var(--shadow-md);
}

.form-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.form-group {
    min-width: 0;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--navy);

    font-size: 13px;
    font-weight: 800;
}

.required {
    color: var(--orange);
}

.form-group input,
.form-group select {
    width: 100%;
    height: 54px;

    padding: 0 15px;

    border: 1px solid #cbd7e1;
    border-radius: 12px;

    outline: none;

    background: var(--white);

    color: var(--text);

    font-size: 15px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--orange);

    box-shadow:
        0 0 0 4px rgba(255, 107, 26, 0.08);
}

.phone-field {
    display: flex;

    overflow: hidden;

    border: 1px solid #cbd7e1;
    border-radius: 12px;

    background: var(--white);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.phone-field:focus-within {
    border-color: var(--orange);

    box-shadow:
        0 0 0 4px rgba(255, 107, 26, 0.08);
}

.phone-prefix {
    min-width: 54px;

    display: grid;
    place-items: center;

    border-right: 1px solid #e1e8ee;

    background: #f7f9fb;

    color: var(--navy);

    font-size: 14px;
    font-weight: 800;
}

.phone-field input {
    height: 52px;

    border: 0 !important;

    box-shadow: none !important;

    border-radius: 0;

    outline: none;
}

.field-message {
    display: block;

    min-height: 18px;

    margin-top: 5px;

    font-size: 11px;
    font-weight: 600;
}

.field-message.valid {
    color: var(--success);
}

.field-message.invalid {
    color: var(--danger);
}

.phone-field.valid {
    border-color: var(--success);
}

.phone-field.invalid {
    border-color: var(--danger);
}

.consent-row {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin-top: 22px;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.5;

    cursor: pointer;
}

.consent-row input {
    width: 17px;
    height: 17px;

    margin-top: 1px;

    accent-color: var(--orange);
}

.form-error {
    min-height: 20px;

    margin-top: 12px;

    color: var(--danger);

    font-size: 12px;
    font-weight: 600;
}


/* =====================================================
   RESULT
===================================================== */

.result-card {
    max-width: 940px;

    margin: 0 auto;

    padding: clamp(20px, 5vw, 42px);

    border: 1px solid var(--line);
    border-radius: 28px;

    background: var(--white);

    box-shadow: var(--shadow-lg);
}

.result-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;
}

.result-eyebrow {
    color: var(--orange-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.result-top h2 {
    margin-top: 7px;

    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size: clamp(30px, 4vw, 48px);

    line-height: 1.05;

    letter-spacing: -0.04em;
}

.result-type {
    margin-top: 8px;

    color: var(--muted);

    font-size: 14px;
}

.result-brand {
    padding: 9px 12px;

    border: 1px solid var(--line);
    border-radius: 999px;

    color: var(--navy);

    font-size: 11px;
    font-weight: 800;

    white-space: nowrap;
}

.result-stage-visual {
    position: relative;

    margin-top: 26px;

    overflow: hidden;

    border-radius: 22px;

    background: #f1f4f6;
}

.result-stage-visual img {
    width: 100%;
    max-height: 500px;

    object-fit: contain;

    margin: 0 auto;
}

.result-stage-badge {
    position: absolute;

    left: 18px;
    bottom: 18px;

    padding: 8px 13px;

    border-radius: 999px;

    background: var(--orange);

    color: var(--white);

    font-size: 12px;
    font-weight: 800;
}

.result-content {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;

    margin-top: 24px;
}

.result-block {
    padding: 22px;

    border: 1px solid var(--line);
    border-radius: 18px;

    background: #fbfcfd;
}

.result-block h3 {
    color: var(--navy);

    font-size: 15px;
    font-weight: 800;
}

.result-block p {
    margin-top: 9px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}

.recommendation-block {
    grid-column: 1 / -1;

    background:
        linear-gradient(
            135deg,
            #fff7f1,
            #ffffff
        );

    border-color: #ffd9c5;
}


/* =====================================================
   RECENT RESULT
===================================================== */

.recent-result {
    margin-top: 24px;
}

.early-result-banner {
    display: flex;
    align-items: flex-start;

    gap: 15px;

    padding: 22px;

    border: 1px solid #d9eadd;
    border-radius: 20px;

    background: #f5fbf7;
}

.early-result-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 50%;

    background: var(--success);

    color: var(--white);

    font-weight: 800;
}

.early-result-banner strong {
    color: var(--navy);

    font-size: 18px;
}

.early-result-banner p {
    margin-top: 7px;

    color: #526c5c;

    font-size: 14px;
    line-height: 1.7;
}

.factor-list {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 12px;
}

.factor-chip {
    display: inline-flex;

    padding: 8px 11px;

    border-radius: 999px;

    background: var(--orange-soft);

    color: var(--orange-dark);

    font-size: 12px;
    font-weight: 700;
}


/* =====================================================
   PLAN CARD
===================================================== */

.plan-card {
    display: grid;
    grid-template-columns: auto 1fr;

    gap: 16px;

    margin-top: 18px;

    padding: 24px;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            #173f62
        );

    color: var(--white);

    box-shadow:
        0 18px 42px rgba(9, 44, 76, 0.18);
}

.plan-card-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border-radius: 15px;

    background: rgba(255, 255, 255, 0.12);

    color: var(--white);

    font-size: 22px;
}

.plan-label {
    color: #ffd6c2;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.05em;
}

.plan-card h3 {
    margin-top: 7px;

    font-size: 21px;
    font-weight: 800;
}

.plan-card p {
    margin-top: 7px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 13px;
    line-height: 1.6;
}

.plan-download-btn {
    min-height: 46px;

    margin-top: 16px;

    padding: 10px 15px;

    border: 0;
    border-radius: 11px;

    background: var(--orange);

    color: var(--white);

    font-size: 12px;
    font-weight: 800;
}


/* =====================================================
   CONSULTATION
===================================================== */

.consultation-card {
    display: grid;
    grid-template-columns: auto 1fr;

    gap: 16px;

    margin-top: 18px;

    padding: 24px;

    border: 1px solid #ffd8c4;
    border-radius: 22px;

    background: #fff9f5;
}

.doctor-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--orange-soft);

    color: var(--orange);

    font-size: 23px;
}

.consultation-eyebrow {
    color: var(--orange-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.04em;
}

.consultation-card h3 {
    margin-top: 7px;

    color: var(--navy);

    font-size: 21px;
}

.consultation-card p {
    margin-top: 7px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.65;
}

.consultation-btn {
    min-height: 48px;

    margin-top: 15px;

    padding: 11px 17px;

    border: 0;
    border-radius: 11px;

    background: var(--orange);

    color: var(--white);

    font-size: 12px;
    font-weight: 800;
}

.result-disclaimer {
    margin-top: 22px;

    padding-top: 18px;

    border-top: 1px solid var(--line);

    color: #7a8794;

    font-size: 11px;
    line-height: 1.6;

    text-align: center;
}

.restart-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    margin: 18px auto 0;

    border: 0;

    background: transparent;

    color: var(--navy);

    font-size: 12px;
    font-weight: 700;
}


/* =====================================================
   TOAST
===================================================== */

.toast {
    position: fixed;

    left: 50%;
    bottom: 22px;

    z-index: 999;

    transform:
        translate(-50%, 20px);

    width: min(
        calc(100% - 32px),
        430px
    );

    padding: 13px 16px;

    border-radius: 12px;

    background: var(--navy);

    color: var(--white);

    font-size: 12px;
    line-height: 1.4;

    text-align: center;

    opacity: 0;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.toast.show {
    opacity: 1;

    transform:
        translate(-50%, 0);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 980px) {

    .hero-shell {
        grid-template-columns: 1fr;

        gap: 12px;

        min-height: auto;
    }

    .hero-copy {
        padding: 42px 0 10px;
    }

    .hero-title {
        max-width: 720px;
    }

    .hero-description {
        max-width: 680px;
    }

    .hero-visual {
        min-height: 520px;
    }

    .hero-visual::before {
        right: -220px;
    }

    .hero-video-card {
        width: min(100%, 600px);
    }

    .stage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .result-content {
        grid-template-columns: 1fr;
    }

    .recommendation-block {
        grid-column: auto;
    }

}


/* =====================================================
   MOBILE — PRIMARY PRIORITY
===================================================== */

@media (max-width: 640px) {

    body {
        font-size: 14px;
    }


    /* HEADER */

    .header-inner {
        width: min(100% - 22px, var(--container));

        min-height: 62px;
    }

    .brand-logo {
        height: 39px;
    }

    .language-btn {
        min-width: 37px;
        height: 28px;

        font-size: 10px;
    }


    /* HERO */

    .hero-section {
    padding: 0 10px 0;
}

    .hero-shell {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 12px;
    }

    .hero-copy {
    padding: 0 8px 0;
}
    .hero-brand-line {
        margin-bottom: 12px;

        font-size: 10px;
    }

    .hero-brand-line::before {
        width: 20px;

        margin-right: 7px;
    }

    .hero-title {
        font-size: clamp(37px, 11vw, 54px);

        line-height: 0.99;

        letter-spacing: -0.06em;
    }

    .hero-description {
        margin-top: 17px;

        font-size: 14px;

        line-height: 1.55;
    }

    .hero-actions {
        width: 100%;

        gap: 9px;

        margin-top: 20px;
    }

    .hero-primary-btn,
    .hero-secondary-btn {
        width: 100%;

        min-height: 55px;

        border-radius: 13px;

        font-size: 13px;
    }

    .hero-benefits {
        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 7px;

        margin-top: 18px;
    }

    .benefit-item {
        min-width: 0;

        flex-direction: column;

        gap: 6px;

        text-align: center;
    }

    .benefit-icon {
        width: 32px;
        height: 32px;

        font-size: 15px;
    }

    .benefit-item strong,
    .benefit-item small {
        display: block;

        font-size: 10px;

        line-height: 1.25;
    }

    .benefit-item small {
        margin-top: 2px;
    }


    /* MOBILE VIDEO */

    .hero-visual {
        width: 100%;

        min-height: 0;

        padding:
            0 8px 14px;
    }

    .hero-visual::before {
        width: 95%;

        height: 95%;

        right: -34%;

        top: 3%;

        border-radius: 40% 0 0 40%;

        transform: rotate(4deg);
    }

    .hero-video-card {
        width: 100%;

        aspect-ratio: 0.92 / 1;

        border-radius: 25px;
    }

    .video-badge {
        top: 12px;
        right: 12px;

        padding: 9px 10px;

        border-radius: 12px;

        font-size: 10px;
    }

    .video-badge small {
        font-size: 8px;
    }

    .video-badge-icon {
        font-size: 16px;
    }

    .video-play-indicator {
        width: 54px;
        height: 54px;
    }

    .video-feature-stack {
        right: 3px;

        top: auto;
        bottom: 32px;

        transform: none;

        gap: 6px;
    }

    .video-feature-card {
        width: 108px;
        min-height: 48px;

        gap: 6px;

        padding: 7px;

        border-radius: 11px;

        font-size: 8px;
    }

    .video-feature-card span {
        width: 24px;
        height: 24px;

        font-size: 11px;
    }


    /* STATS */

    .hero-stats {
        width: calc(100% - 16px);

        margin:
            -3px auto 0;

        grid-template-columns: repeat(3, 1fr);

        border-radius: 17px;
    }

    .hero-stat {
        min-height: 75px;

        gap: 5px;

        padding: 8px 5px;
    }

    .stat-icon {
        width: 29px;
        height: 29px;

        font-size: 13px;
    }

    .hero-stat strong {
        font-size: 18px;
    }

    .hero-stat small {
        font-size: 8px;

        white-space: nowrap;
    }


    /* TEST SECTION */

    .hair-test-section {
        padding:
            55px 12px;
    }

    .progress-wrapper {
        margin-bottom: 30px;
    }

    .progress-top {
        font-size: 9px;
    }

    .step-pill {
        padding: 6px 10px;

        margin-bottom: 11px;

        font-size: 9px;
    }

    .step-heading h2,
    .lead-heading h2 {
        font-size: 31px;

        line-height: 1.06;
    }

    .step-heading p,
    .lead-heading p {
        font-size: 13px;

        line-height: 1.55;
    }


    /* GENDER */

    .gender-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .gender-card-image {
        min-height: 170px;

        font-size: 70px;
    }

    .gender-card-content {
        padding: 17px 18px 21px;
    }

    .gender-card-content h3 {
        font-size: 20px;
    }


    /* DURATION */

    .duration-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .duration-card {
        min-height: 125px;

        grid-template-columns: auto 1fr auto;

        gap: 13px;

        padding: 18px;

        border-radius: 18px;
    }

    .duration-number {
        width: 43px;
        height: 43px;

        font-size: 11px;
    }

    .duration-card h3 {
        font-size: 17px;
    }

    .duration-card p {
        font-size: 12px;
    }


    /* STAGES */

    .stage-heading-row {
        display: block;

        margin-bottom: 20px;
    }

    .not-sure-box {
        width: 100%;

        margin-top: 17px;
    }

    .stage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 9px;
    }

    .stage-card {
        border-radius: 14px;
    }

    .stage-image-wrap {
        aspect-ratio: 1.15 / 1;
    }

    .stage-card-body {
        padding: 10px;
    }

    .stage-label {
        padding: 4px 7px;

        margin-bottom: 6px;

        font-size: 8px;
    }

    .stage-card h3 {
        font-size: 13px;
    }

    .stage-card p {
        margin-top: 5px;

        font-size: 10px;

        line-height: 1.35;
    }

    .stage-selected-check {
        width: 27px;
        height: 27px;

        top: 7px;
        right: 7px;

        font-size: 11px;
    }


    /* PHOTO */

    .photo-upload-box {
        padding: 12px;

        border-radius: 19px;
    }

    .photo-upload-label {
        min-height: 210px;

        border-radius: 14px;
    }

    .upload-icon {
        width: 54px;
        height: 54px;

        font-size: 20px;
    }


    /* QUESTIONS */

    .question-header {
        margin-bottom: 11px;
    }

    .question-counter,
    .question-type {
        font-size: 8px;
    }

    .question-card {
        padding: 19px 15px;

        border-radius: 19px;
    }

    .question-card h2 {
        font-size: 24px;

        line-height: 1.15;
    }

    .answer-grid {
        grid-template-columns: 1fr;

        gap: 8px;

        margin-top: 20px;
    }

    .answer-btn {
        min-height: 60px;

        padding: 12px 13px;

        border-radius: 12px;

        font-size: 12px;
    }


    /* FORM */

    .lead-form {
        padding: 17px;

        border-radius: 19px;
    }

    .form-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .form-group input,
    .form-group select {
        height: 51px;

        font-size: 14px;
    }

    .consent-row {
        font-size: 11px;
    }

    .primary-test-btn {
        min-height: 51px;

        font-size: 12px;
    }


    /* RESULT */

    .result-card {
        padding: 17px;

        border-radius: 21px;
    }

    .result-top {
        display: block;
    }

    .result-top h2 {
        font-size: 30px;
    }

    .result-brand {
        display: inline-flex;

        margin-top: 11px;

        font-size: 9px;
    }

    .result-stage-visual {
        margin-top: 17px;

        border-radius: 16px;
    }

    .result-stage-badge {
        left: 10px;
        bottom: 10px;

        padding: 6px 9px;

        font-size: 9px;
    }

    .result-content {
        gap: 9px;

        margin-top: 14px;
    }

    .result-block {
        padding: 16px;

        border-radius: 14px;
    }

    .result-block h3 {
        font-size: 13px;
    }

    .result-block p {
        font-size: 12px;

        line-height: 1.6;
    }

    .early-result-banner {
        padding: 15px;

        gap: 10px;

        border-radius: 15px;
    }

    .early-result-icon {
        width: 32px;
        height: 32px;
    }

    .early-result-banner strong {
        font-size: 14px;
    }

    .early-result-banner p {
        font-size: 11px;
    }

    .plan-card,
    .consultation-card {
        padding: 16px;

        gap: 11px;

        border-radius: 16px;
    }

    .plan-card-icon,
    .doctor-icon {
        width: 40px;
        height: 40px;
    }

    .plan-card h3,
    .consultation-card h3 {
        font-size: 16px;
    }

    .plan-card p,
    .consultation-card p {
        font-size: 11px;
    }

    .plan-download-btn,
    .consultation-btn {
        width: 100%;

        min-height: 44px;

        font-size: 10px;
    }

}


/* =====================================================
   VERY SMALL DEVICES
===================================================== */

@media (max-width: 380px) {

    .hero-title {
        font-size: 35px;
    }

    .hero-description {
        font-size: 13px;
    }

    .video-feature-card {
        width: 96px;

        font-size: 7px;
    }

    .video-feature-card span {
        width: 21px;
        height: 21px;
    }

    .stage-card h3 {
        font-size: 12px;
    }

    .stage-card p {
        font-size: 9px;
    }

}
/* =========================================================
   CLINICA MEDICARE®
   2-MINUTE HAIR ASSESSMENT
   MODAL + MOBILE FINAL PATCH
   ========================================================= */


/* =========================================================
   1. BODY MODAL LOCK
========================================================= */

body.modal-open {
    overflow: hidden;
}


/* =========================================================
   2. ADMIN PORTAL BUTTON
========================================================= */

.admin-portal-btn {

    min-height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 8px 13px;

    border: 1px solid var(--line);
    border-radius: 999px;

    background: var(--white);
    color: var(--navy);

    font-size: 11px;
    font-weight: 800;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.admin-portal-btn:hover {

    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(9, 44, 76, 0.12);
}


.admin-portal-icon {

    width: 18px;
    height: 18px;

    display: inline-grid;
    place-items: center;

    border-radius: 5px;

    background: var(--orange-soft);
    color: var(--orange);

    font-size: 10px;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.admin-portal-btn:hover .admin-portal-icon {

    background: rgba(255,255,255,0.14);
    color: var(--white);
}


/* =========================================================
   3. HAIR TEST MODAL OVERLAY
========================================================= */

.hair-test-modal {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 22px;

    background:
        rgba(6, 31, 56, 0.68);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


.hair-test-modal.active {

    opacity: 1;
    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   4. MODAL DIALOG
========================================================= */

.hair-test-modal-dialog {

    position: relative;

    width: min(1080px, 100%);

    max-height: calc(100vh - 44px);

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border:
        1px solid rgba(9, 44, 76, 0.10);

    border-radius: 26px;

    background: var(--white);

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.22);

    opacity: 0;

    transform:
        translateY(20px)
        scale(0.975);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


.hair-test-modal.active
.hair-test-modal-dialog {

    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}


/* =========================================================
   5. MODAL HEADER
========================================================= */

.hair-test-modal-header {

    position: relative;

    z-index: 5;

    min-height: 72px;

    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 16px;

    padding:
        14px 22px;

    border-bottom:
        1px solid var(--line);

    background:
        rgba(255,255,255,0.98);
}


.hair-test-modal-brand {

    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 0;
}


.hair-test-modal-brand-mark {

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: var(--navy);

    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.04em;

    box-shadow:
        0 6px 15px rgba(9,44,76,0.12);
}


.hair-test-modal-brand > div {

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 2px;
}


.hair-test-modal-brand strong {

    color: var(--navy);

    font-family: "Manrope", sans-serif;

    font-size: 14px;

    font-weight: 800;

    line-height: 1.2;
}


.hair-test-modal-brand small {

    color: var(--muted);

    font-size: 10px;

    font-weight: 600;

    line-height: 1.2;
}


/* =========================================================
   6. MODAL CLOSE BUTTON
========================================================= */

.hair-test-modal-close {

    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: grid;
    place-items: center;

    border:
        1px solid var(--line);

    border-radius: 50%;

    background: var(--white);

    color: var(--navy);

    font-size: 25px;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.hair-test-modal-close:hover {

    border-color: var(--orange);

    background: var(--orange-soft);

    color: var(--orange);

    transform: rotate(4deg);
}


.hair-test-modal-close:active {

    transform: scale(0.94);
}


/* =========================================================
   7. MODAL BODY
========================================================= */

.hair-test-modal-body {

    min-height: 0;

    flex: 1 1 auto;

    overflow-y: auto;

    overflow-x: hidden;

    overscroll-behavior: contain;

    -webkit-overflow-scrolling: touch;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7f9fb 100%
        );
}


.hair-test-modal-body::-webkit-scrollbar {

    width: 7px;
}


.hair-test-modal-body::-webkit-scrollbar-track {

    background: #f2f5f7;
}


.hair-test-modal-body::-webkit-scrollbar-thumb {

    background: #c5d0d9;

    border-radius: 999px;
}


.hair-test-modal-body::-webkit-scrollbar-thumb:hover {

    background: #aebdc9;
}


/* =========================================================
   8. TEST SECTION INSIDE MODAL
========================================================= */

.hair-test-modal-body
.hair-test-section {

    min-height: 100%;

    padding-top: 34px;
    padding-bottom: 46px;
}


/*
   The assessment is now inside the modal,
   so the old standalone section spacing is reduced.
*/

.hair-test-modal-body
.test-container {

    width: min(
        100%,
        980px
    );

    margin: 0 auto;

    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================================
   9. PROGRESS BAR
========================================================= */

.hair-test-modal-body
.progress-wrapper {

    max-width: 760px;

    margin:
        0 auto 30px;
}


.hair-test-modal-body
.progress-track {

    height: 5px;
}


.hair-test-modal-body
.progress-bar {

    min-width: 0;

    transition:
        width 0.35s ease;
}


/* =========================================================
   10. TEST STEP TRANSITION
========================================================= */

.hair-test-modal-body
.test-step {

    animation:
        modalStepIn 0.25s ease both;
}


@keyframes modalStepIn {

    from {

        opacity: 0;

        transform:
            translateY(8px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}


/* =========================================================
   11. GENDER CARD
========================================================= */

.hair-test-modal-body
.gender-card {

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;
}


.hair-test-modal-body
.gender-card:active {

    transform: scale(0.99);
}


/* =========================================================
   12. DURATION CARD
========================================================= */

.hair-test-modal-body
.duration-card {

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;
}


.hair-test-modal-body
.duration-card:active {

    transform: scale(0.99);
}


/* =========================================================
   13. STAGE GRID
========================================================= */

.hair-test-modal-body
.stage-grid {

    margin-bottom: 18px;
}


/* Stage cards generated dynamically by JS */

.hair-test-modal-body
.stage-card {

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   14. STAGE IMAGE
========================================================= */

.hair-test-modal-body
.stage-image {

    background: #f2f4f6;
}


/* =========================================================
   15. ANSWER CARDS
========================================================= */


/*
   Existing JS may generate .answer-btn
   or .choice-card.

   Both are supported.
*/


.hair-test-modal-body
.choice-card {

    min-height: 64px;

    width: 100%;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 15px;

    border:
        1px solid var(--line);

    border-radius: 14px;

    background: var(--white);

    color: var(--navy);

    text-align: left;

    font-size: 13px;

    font-weight: 600;

    line-height: 1.45;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.hair-test-modal-body
.choice-card:hover {

    border-color: var(--orange);

    background: var(--orange-soft);

    transform: translateY(-1px);
}


.hair-test-modal-body
.choice-card.selected {

    border-color: var(--orange);

    background: var(--orange-soft);

    box-shadow:
        0 8px 20px rgba(255,107,26,0.10);
}


.hair-test-modal-body
.choice-index {

    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f2f6f9;

    color: var(--navy);

    font-size: 11px;

    font-weight: 800;
}


.hair-test-modal-body
.choice-card.selected
.choice-index {

    background: var(--orange);

    color: var(--white);
}


.hair-test-modal-body
.choice-text {

    flex: 1;

    min-width: 0;
}


/* =========================================================
   16. QUESTION ANSWER ALIAS
========================================================= */

.hair-test-modal-body
.answer-btn {

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;
}


.hair-test-modal-body
.answer-btn:active {

    transform: scale(0.99);
}


/* =========================================================
   17. PHOTO OPTIONAL STATE
========================================================= */

.hair-test-modal-body
.photo-upload-box {

    position: relative;
}


.hair-test-modal-body
.photo-preview-wrap[hidden] {

    display: none !important;
}


.hair-test-modal-body
.photo-preview {

    display: block;

    max-width: 100%;

    width: auto;

    max-height: 420px;

    margin: 0 auto;

    object-fit: contain;
}


/*
   Important:
   Photo is optional.
   Continue button remains usable
   even when no photo is selected.
*/

.hair-test-modal-body
#photoContinue {

    min-width: 150px;
}


/* =========================================================
   18. FORM BUTTON LOADING
========================================================= */

.hair-test-modal-body
#submitLeadBtn.loading {

    position: relative;

    pointer-events: none;

    opacity: 0.75;
}


.hair-test-modal-body
#submitLeadBtn.loading::after {

    content: "";

    width: 16px;
    height: 16px;

    margin-left: 9px;

    display: inline-block;

    vertical-align: middle;

    border:
        2px solid rgba(255,255,255,0.45);

    border-top-color:
        var(--white);

    border-radius: 50%;

    animation:
        clinicaSpin 0.7s linear infinite;
}


@keyframes clinicaSpin {

    to {

        transform: rotate(360deg);
    }
}


/* =========================================================
   19. RESULT CTA IMPROVEMENT
========================================================= */

.hair-test-modal-body
.consultation-card {

    position: relative;

    overflow: hidden;
}


.hair-test-modal-body
.consultation-btn {

    min-height: 50px;

    cursor: pointer;

    box-shadow:
        0 8px 22px rgba(255,107,26,0.16);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.hair-test-modal-body
.consultation-btn:hover {

    background: var(--orange-dark);

    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(255,107,26,0.22);
}


/* =========================================================
   20. PLAN DOWNLOAD CTA
========================================================= */

.hair-test-modal-body
.plan-download-btn {

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.hair-test-modal-body
.plan-download-btn:hover {

    background: var(--orange-dark);

    transform: translateY(-1px);
}


/* =========================================================
   21. RESULT IMAGE — MOBILE SAFE
========================================================= */

.hair-test-modal-body
.result-stage-visual {

    min-height: 160px;

    display: flex;

    align-items: center;
    justify-content: center;
}


.hair-test-modal-body
.result-stage-visual img {

    max-width: 100%;

    width: 100%;

    height: auto;

    max-height: 470px;

    object-fit: contain;
}


/* =========================================================
   22. MODAL BACKDROP CLICK
========================================================= */

.hair-test-modal-backdrop {

    position: absolute;

    inset: 0;

    z-index: 0;

    background: transparent;
}


.hair-test-modal-dialog {

    z-index: 1;
}


/* =========================================================
   23. MOBILE — PRIMARY PRIORITY
========================================================= */

@media (max-width: 640px) {


    /* -----------------------------------------
       HEADER
    ----------------------------------------- */

    .header-actions {

        gap: 7px;
    }


    .admin-portal-btn {

        min-height: 32px;

        padding:
            6px 9px;

        gap: 5px;

        font-size: 9px;
    }


    .admin-portal-icon {

        width: 16px;
        height: 16px;

        font-size: 8px;
    }


    /* -----------------------------------------
       MODAL
    ----------------------------------------- */

    .hair-test-modal {

        align-items: stretch;

        justify-content: stretch;

        padding: 0;

        background:
            rgba(6, 31, 56, 0.70);

        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }


    .hair-test-modal-dialog {

        width: 100%;

        height: 100dvh;

        max-height: 100dvh;

        border: 0;

        border-radius: 0;

        box-shadow: none;

        transform:
            translateY(18px);

        padding:
            env(safe-area-inset-top)
            0
            env(safe-area-inset-bottom);

        background: var(--white);
    }


    .hair-test-modal.active
    .hair-test-modal-dialog {

        transform:
            translateY(0);
    }


    /* -----------------------------------------
       MODAL HEADER
    ----------------------------------------- */

    .hair-test-modal-header {

        min-height: 60px;

        padding:
            9px 13px;

        gap: 10px;

        box-shadow:
            0 2px 10px rgba(9,44,76,0.05);
    }


    .hair-test-modal-brand {

        gap: 8px;
    }


    .hair-test-modal-brand-mark {

        width: 33px;
        height: 33px;

        flex-basis: 33px;

        border-radius: 9px;

        font-size: 9px;
    }


    .hair-test-modal-brand strong {

        font-size: 12px;
    }


    .hair-test-modal-brand small {

        font-size: 9px;
    }


    .hair-test-modal-close {

        width: 36px;
        height: 36px;

        flex-basis: 36px;

        font-size: 23px;
    }


    /* -----------------------------------------
       MODAL BODY
    ----------------------------------------- */

    .hair-test-modal-body {

        height: calc(
            100dvh -
            60px -
            env(safe-area-inset-top) -
            env(safe-area-inset-bottom)
        );

        overflow-y: auto;

        overscroll-behavior-y: contain;
    }


    .hair-test-modal-body
    .hair-test-section {

        padding:
            22px 0 35px;
    }


    .hair-test-modal-body
    .test-container {

        width: 100%;

        padding-left: 13px;
        padding-right: 13px;
    }


    /* -----------------------------------------
       PROGRESS
    ----------------------------------------- */

    .hair-test-modal-body
    .progress-wrapper {

        margin:
            0 4px 23px;
    }


    .hair-test-modal-body
    .progress-top {

        font-size: 8px;
    }


    /* -----------------------------------------
       STEP HEADING
    ----------------------------------------- */

    .hair-test-modal-body
    .step-heading h2,
    .hair-test-modal-body
    .lead-heading h2 {

        font-size: 28px;

        line-height: 1.08;

        letter-spacing: -0.035em;
    }


    .hair-test-modal-body
    .step-heading p,
    .hair-test-modal-body
    .lead-heading p {

        font-size: 12px;

        line-height: 1.55;
    }


    /* -----------------------------------------
       GENDER
    ----------------------------------------- */

    .hair-test-modal-body
    .gender-grid {

        gap: 10px;
    }


    .hair-test-modal-body
    .gender-card {

        border-radius: 17px;
    }


    .hair-test-modal-body
    .gender-card-image {

        min-height: 150px;
    }


    .hair-test-modal-body
    .gender-card-content {

        padding:
            14px 15px 18px;
    }


    .hair-test-modal-body
    .gender-card-content h3 {

        font-size: 18px;
    }


    .hair-test-modal-body
    .gender-card-content p {

        font-size: 11px;
    }


    /* -----------------------------------------
       DURATION
    ----------------------------------------- */

    .hair-test-modal-body
    .duration-grid {

        gap: 10px;
    }


    .hair-test-modal-body
    .duration-card {

        min-height: 112px;

        padding: 15px;

        border-radius: 16px;

        gap: 11px;
    }


    .hair-test-modal-body
    .duration-number {

        width: 40px;
        height: 40px;
    }


    .hair-test-modal-body
    .duration-card h3 {

        font-size: 16px;
    }


    .hair-test-modal-body
    .duration-card p {

        font-size: 11px;
    }


    /* -----------------------------------------
       STAGE
    ----------------------------------------- */

    .hair-test-modal-body
    .stage-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;
    }


    .hair-test-modal-body
    .stage-card {

        min-width: 0;

        border-radius: 13px;
    }


    .hair-test-modal-body
    .stage-image-wrap {

        aspect-ratio:
            1.12 / 1;
    }


    .hair-test-modal-body
    .stage-card-body {

        padding:
            9px 9px 11px;
    }


    .hair-test-modal-body
    .stage-card h3 {

        font-size: 12px;

        line-height: 1.25;
    }


    .hair-test-modal-body
    .stage-card p {

        font-size: 9px;

        line-height: 1.35;
    }


    /* -----------------------------------------
       PHOTO
    ----------------------------------------- */

    .hair-test-modal-body
    .photo-upload-box {

        padding: 10px;

        border-radius: 17px;
    }


    .hair-test-modal-body
    .photo-upload-label {

        min-height: 190px;

        border-radius: 13px;
    }


    .hair-test-modal-body
    .upload-icon {

        width: 50px;
        height: 50px;

        margin-bottom: 11px;

        font-size: 19px;
    }


    /* -----------------------------------------
       QUESTIONS
    ----------------------------------------- */

    .hair-test-modal-body
    .question-header {

        margin-bottom: 9px;
    }


    .hair-test-modal-body
    .question-counter,
    .hair-test-modal-body
    .question-type {

        font-size: 8px;
    }


    .hair-test-modal-body
    .question-card {

        padding:
            18px 13px;

        border-radius: 17px;
    }


    .hair-test-modal-body
    .question-card h2 {

        font-size: 22px;

        line-height: 1.18;
    }


    .hair-test-modal-body
    .answer-grid {

        grid-template-columns: 1fr;

        gap: 8px;

        margin-top: 17px;
    }


    .hair-test-modal-body
    .choice-card {

        min-height: 59px;

        padding:
            12px;

        border-radius: 12px;

        font-size: 11px;
    }


    .hair-test-modal-body
    .choice-index {

        width: 28px;
        height: 28px;

        flex-basis: 28px;
    }


    .hair-test-modal-body
    .answer-btn {

        min-height: 59px;

        padding:
            11px 12px;

        border-radius: 12px;

        font-size: 11px;
    }


    /* -----------------------------------------
       FORM
    ----------------------------------------- */

    .hair-test-modal-body
    .lead-form {

        padding:
            15px;

        border-radius: 17px;
    }


    .hair-test-modal-body
    .form-grid {

        gap: 13px;
    }


    .hair-test-modal-body
    .form-group input,
    .hair-test-modal-body
    .form-group select {

        height: 50px;

        font-size: 13px;
    }


    .hair-test-modal-body
    .consent-row {

        font-size: 10px;

        line-height: 1.45;
    }


    .hair-test-modal-body
    .primary-test-btn {

        width: 100%;

        min-height: 50px;

        font-size: 12px;
    }


    /* -----------------------------------------
       RESULT
    ----------------------------------------- */

    .hair-test-modal-body
    .result-card {

        padding: 14px;

        border-radius: 18px;
    }


    .hair-test-modal-body
    .result-top h2 {

        font-size: 27px;
    }


    .hair-test-modal-body
    .result-brand {

        margin-top: 8px;
    }


    .hair-test-modal-body
    .result-stage-visual {

        min-height: 145px;

        margin-top: 14px;

        border-radius: 14px;
    }


    .hair-test-modal-body
    .result-stage-visual img {

        max-height: 320px;
    }


    .hair-test-modal-body
    .result-content {

        grid-template-columns: 1fr;

        gap: 8px;

        margin-top: 12px;
    }


    .hair-test-modal-body
    .result-block {

        padding: 14px;

        border-radius: 13px;
    }


    .hair-test-modal-body
    .result-block h3 {

        font-size: 12px;
    }


    .hair-test-modal-body
    .result-block p {

        font-size: 11px;

        line-height: 1.6;
    }


    /* -----------------------------------------
       EARLY RESULT
    ----------------------------------------- */

    .hair-test-modal-body
    .early-result-banner {

        padding: 14px;

        gap: 9px;

        border-radius: 14px;
    }


    .hair-test-modal-body
    .early-result-icon {

        width: 31px;
        height: 31px;
    }


    .hair-test-modal-body
    .early-result-banner strong {

        font-size: 13px;
    }


    .hair-test-modal-body
    .early-result-banner p {

        font-size: 10px;

        line-height: 1.55;
    }


    /* -----------------------------------------
       FACTORS
    ----------------------------------------- */

    .hair-test-modal-body
    .factor-list {

        gap: 6px;

        margin-top: 9px;
    }


    .hair-test-modal-body
    .factor-chip {

        padding:
            7px 9px;

        font-size: 9px;
    }


    /* -----------------------------------------
       PLAN
    ----------------------------------------- */

    .hair-test-modal-body
    .plan-card {

        grid-template-columns:
            auto 1fr;

        gap: 10px;

        padding: 15px;

        border-radius: 15px;
    }


    .hair-test-modal-body
    .plan-card-icon {

        width: 39px;
        height: 39px;
    }


    .hair-test-modal-body
    .plan-card h3 {

        font-size: 15px;

        line-height: 1.25;
    }


    .hair-test-modal-body
    .plan-card p {

        font-size: 10px;

        line-height: 1.5;
    }


    .hair-test-modal-body
    .plan-download-btn {

        width: 100%;

        min-height: 44px;

        margin-top: 12px;

        font-size: 9px;
    }


    /* -----------------------------------------
       CONSULTATION
    ----------------------------------------- */

    .hair-test-modal-body
    .consultation-card {

        grid-template-columns:
            auto 1fr;

        gap: 10px;

        padding: 15px;

        border-radius: 15px;
    }


    .hair-test-modal-body
    .doctor-icon {

        width: 40px;
        height: 40px;
    }


    .hair-test-modal-body
    .consultation-eyebrow {

        font-size: 9px;

        line-height: 1.3;
    }


    .hair-test-modal-body
    .consultation-card h3 {

        font-size: 15px;
    }


    .hair-test-modal-body
    .consultation-card p {

        font-size: 10px;

        line-height: 1.55;
    }


    .hair-test-modal-body
    .consultation-btn {

        width: 100%;

        min-height: 45px;

        font-size: 9px;
    }


    /* -----------------------------------------
       ACTIONS
    ----------------------------------------- */

    .hair-test-modal-body
    .step-actions {

        gap: 8px;

        margin-top: 18px;
    }


    .hair-test-modal-body
    .back-btn {

        min-height: 44px;

        padding:
            9px 12px;

        border-radius: 11px;

        font-size: 11px;
    }


    /* -----------------------------------------
       DISCLAIMER
    ----------------------------------------- */

    .hair-test-modal-body
    .result-disclaimer {

        font-size: 9px;

        line-height: 1.5;
    }


    .hair-test-modal-body
    .restart-btn {

        font-size: 10px;
    }

}


/* =========================================================
   24. VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {


    .admin-portal-btn {

        padding:
            6px 8px;

        font-size: 8px;
    }


    .admin-portal-icon {

        display: none;
    }


    .hair-test-modal-body
    .step-heading h2,
    .hair-test-modal-body
    .lead-heading h2 {

        font-size: 25px;
    }


    .hair-test-modal-body
    .stage-card h3 {

        font-size: 11px;
    }


    .hair-test-modal-body
    .stage-card p {

        font-size: 8px;
    }


    .hair-test-modal-body
    .question-card h2 {

        font-size: 20px;
    }


    .hair-test-modal-body
    .result-top h2 {

        font-size: 25px;
    }

}


/* =========================================================
   25. ACCESSIBILITY
========================================================= */

.hair-test-modal
button:focus-visible,
.hair-test-modal
input:focus-visible,
.hair-test-modal
select:focus-visible {

    outline:
        3px solid rgba(255,107,26,0.25);

    outline-offset: 2px;
}


/* =========================================================
   26. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .hair-test-modal,
    .hair-test-modal-dialog,
    .hair-test-modal-body .test-step,
    .admin-portal-btn,
    .hair-test-modal-close,
    .hair-test-modal-body button {

        transition: none !important;

        animation: none !important;
    }

}.result-brand {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.result-brand-logo {
    width: 145px;
    height: auto;
    max-height: 55px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .result-brand-logo {
        width: 115px;
        max-height: 45px;
    }
}.hair-test-modal-logo {
    width: 145px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .hair-test-modal-logo {
        width: 120px;
        max-height: 42px;
    }
}

/* FORCE STYLING FOR PATIENT SUMMARY */

#patientSummaryCard {
    display: block;
    margin: 28px 0;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #dce5ee;
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(9, 44, 76, 0.07);
    color: #092c4c;
    font-family: inherit;
}

#patientSummaryCard .patient-summary-header {
    margin-bottom: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e7edf2;
}

#patientSummaryCard .patient-summary-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #ff6b1a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

#patientSummaryCard .patient-summary-header h3 {
    margin: 0 0 6px;
    color: #092c4c;
    font-size: 25px;
    font-weight: 800;
}

#patientSummaryCard .patient-summary-header p {
    margin: 0;
    color: #667588;
    font-size: 14px;
}

#patientSummaryCard .patient-summary-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #eef2f5;
}

#patientSummaryCard .patient-summary-row span {
    color: #667588;
    font-size: 14px;
}

#patientSummaryCard .patient-summary-row strong {
    max-width: 60%;
    color: #092c4c;
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    overflow-wrap: anywhere;
}

#patientSummaryCard .provisional-diagnosis-box {
    margin-top: 20px;
    padding: 22px;
    background: #fff7f1;
    border: 1px solid #ffd7c2;
    border-radius: 16px;
}

#patientSummaryCard .diagnosis-label {
    display: block;
    color: #e95d12;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

#patientSummaryCard .provisional-diagnosis-box h4 {
    margin: 10px 0;
    color: #092c4c;
    font-size: 19px;
}

#patientSummaryCard .provisional-diagnosis-box p {
    margin: 0;
    color: #667588;
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 640px) {
    #patientSummaryCard {
        padding: 18px;
    }

    #patientSummaryCard .patient-summary-header h3 {
        font-size: 21px;
    }

    #patientSummaryCard .patient-summary-row {
        gap: 12px;
    }

    #patientSummaryCard .patient-summary-row span,
    #patientSummaryCard .patient-summary-row strong {
        font-size: 12px;
    }

    #patientSummaryCard .provisional-diagnosis-box {
        padding: 16px;
    }
}

/* FIX: Header alignment and navigation spacing */
.header-actions {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-width: 0;
}

.language-switch {
  flex-shrink: 0;
}

.main-navigation {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  gap: clamp(10px, 1.25vw, 22px);
  overflow: visible;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.main-navigation a {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: clamp(13px, 0.95vw, 16px);
  padding: 10px 0;
}

.admin-portal-btn {
  flex-shrink: 0;
  margin-left: 0;
  white-space: nowrap;
}

/* Smaller screens */
@media (max-width: 1200px) {
  .header-actions {
    gap: 12px;
    flex-wrap: wrap;
  }

  .main-navigation {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
}

@media (max-width: 600px) {
  .main-navigation {
    justify-content: flex-start;
    gap: 8px 14px;
  }
}

/* Fix: Move Clinica Medicare logo to the left */
.site-header .header-inner {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  box-sizing: border-box !important;
}

.site-header .brand {
  margin-left: 0 !important;
  flex-shrink: 0;
}

.site-header .brand-logo {
  display: block;
  margin-left: 0 !important;
}
/**
* Template Name: Clinic
* Template URL: https://bootstrapmade.com/clinic-bootstrap-template/
* Updated: Jul 23 2025 with Bootstrap v5.3.7
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Montserrat",  sans-serif;
  --nav-font: "Lato",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #3c4049; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #112344; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #f58320; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #3c4049;  /* The default color of the main navmenu links */
  --nav-hover-color: #0f4473; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #3c4049; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #0f4473; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f4f8ff;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #021418;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #11262a;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.header .topbar {
  background-color: var(--accent-color);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--contrast-color);
}

.header .branding {
  min-height: 60px;
  padding: 10px 0;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 60px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 600;
  color: var(--heading-color);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #ffffff;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer-16 {
  background: var(--background-color);
  color: var(--default-color);
  font-size: 15px;
  padding: 100px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.footer-16 .footer-main {
  margin-bottom: 80px;
}

.footer-16 .brand-section .logo {
  text-decoration: none;
}

.footer-16 .brand-section .logo .sitename {
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 300;
  color: var(--heading-color);
  letter-spacing: -0.5px;
}

.footer-16 .brand-section .brand-description {
  font-size: 18px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-weight: 300;
  max-width: 380px;
  margin: 0;
}

.footer-16 .brand-section .contact-info .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.footer-16 .brand-section .contact-info .contact-item i {
  font-size: 16px;
  color: var(--accent-color);
  margin-right: 12px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-16 .brand-section .contact-info .contact-item span {
  line-height: 1.6;
}

.footer-16 .footer-nav-wrapper {
  padding-left: 60px;
}

@media (max-width: 991px) {
  .footer-16 .footer-nav-wrapper {
    padding-left: 0;
    margin-top: 50px;
  }
}

.footer-16 .nav-column {
  margin-bottom: 40px;
}

.footer-16 .nav-column h6 {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 400;
  color: var(--heading-color);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.footer-16 .nav-column .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-16 .nav-column .footer-nav a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-decoration: none;
  font-size: 15px;
  font-weight: 300;
  transition: all 0.3s ease;
  line-height: 1.4;
}

.footer-16 .nav-column .footer-nav a:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

.footer-16 .footer-social {
  padding: 50px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 94%);
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 94%);
}

.footer-16 .footer-social .newsletter-section h5 {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.footer-16 .footer-social .newsletter-section p {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  margin: 0;
  line-height: 1.6;
  max-width: 340px;
}

.footer-16 .footer-social .social-section {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 991px) {
  .footer-16 .footer-social .social-section {
    justify-content: flex-start;
    margin-top: 30px;
  }
}

.footer-16 .footer-social .social-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

@media (max-width: 576px) {
  .footer-16 .footer-social .social-links {
    gap: 20px;
    flex-wrap: wrap;
  }
}

.footer-16 .footer-social .social-links .social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.footer-16 .footer-social .social-links .social-link i {
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-16 .footer-social .social-links .social-link span {
  transition: all 0.3s ease;
}

.footer-16 .footer-social .social-links .social-link:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

.footer-16 .footer-social .social-links .social-link:hover i {
  transform: scale(1.1);
}

.footer-16 .footer-bottom {
  padding: 30px 0;
}

.footer-16 .footer-bottom .copyright p {
  margin: 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
  font-weight: 300;
}

.footer-16 .footer-bottom .copyright p .sitename {
  color: var(--heading-color);
  font-weight: 400;
}

.footer-16 .footer-bottom .legal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

@media (max-width: 991px) {
  .footer-16 .footer-bottom .legal-links {
    justify-content: flex-start;
    margin-top: 20px;
    flex-wrap: wrap;
  }
}

.footer-16 .footer-bottom .legal-links a {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.3s ease;
}

.footer-16 .footer-bottom .legal-links a:hover {
  color: var(--accent-color);
}

.footer-16 .footer-bottom .legal-links .credits {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-left: 8px;
  padding-left: 24px;
  border-left: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

@media (max-width: 576px) {
  .footer-16 .footer-bottom .legal-links .credits {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    width: 100%;
    margin-top: 12px;
  }
}

.footer-16 .footer-bottom .legal-links .credits a {
  color: var(--accent-color);
  font-size: 12px;
}

.footer-16 .footer-bottom .legal-links .credits a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-16 {
    padding: 70px 0 0;
  }

  .footer-16 .brand-section {
    text-align: center;
    margin-bottom: 50px;
  }

  .footer-16 .brand-section .brand-description {
    max-width: none;
  }

  .footer-16 .brand-section .contact-info {
    text-align: left;
    display: inline-block;
  }

  .footer-16 .footer-nav-wrapper .nav-column {
    text-align: left;
  }

  .footer-16 .footer-nav-wrapper .nav-column h6 {
    margin-bottom: 16px;
  }

  .footer-16 .footer-nav-wrapper .nav-column .footer-nav {
    gap: 10px;
  }

  .footer-16 .footer-social {
    text-align: center;
  }

  .footer-16 .footer-social .newsletter-section p {
    max-width: none;
  }

  .footer-16 .footer-social .social-links {
    justify-content: center;
  }

  .footer-16 .footer-bottom {
    text-align: center;
  }

  .footer-16 .footer-bottom .legal-links {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
  padding-top: 100px;
}

.page-title .heading {
  padding: 80px 0;
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 500;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/* ===============================
   HERO SLIDER
================================ */

#header {
  position: relative !important;
  z-index: 1000;
}

.hero-slider-section {
  position: relative;
  z-index: 1;
}
.hero-slider-section {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

.hero-slider-section .carousel {
  width: 100%;
}

.hero-slider-section .carousel-item {
  width: 100%;
}

.hero-slider-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: cover;
}

/* Keep navigation arrows visible */
.hero-slider-section .carousel-control-prev,
.hero-slider-section .carousel-control-next {
  width: 6%;
  z-index: 5;
}

/* Indicators */
.hero-slider-section .carousel-indicators {
  z-index: 6;
  bottom: 20px;
}

/* Desktop */
@media (min-width: 992px) {

  .hero-slider-image {
    height: 600px;
    object-fit: cover;
  }

}

/* Tablet */
@media (max-width: 991px) {

  .hero-slider-image {
    height: 500px;
    object-fit: cover;
  }

}

/* Mobile */
@media (max-width: 767px) {

  .hero-slider-image {
    height: 550px;
    object-fit: cover;
    object-position: center;
  }

}
.home-about {
  padding: 100px 0;
  background-color: var(--surface-color);
}

.home-about .about-content .section-heading {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .home-about .about-content .section-heading {
    font-size: 2rem;
  }
}

.home-about .about-content .lead-text {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 1.5rem;
}

.home-about .about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 2.5rem;
}

.home-about .about-content .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 576px) {
  .home-about .about-content .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.home-about .about-content .stats-grid .stat-item {
  text-align: center;
}

.home-about .about-content .stats-grid .stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent-color);
  display: block;
  line-height: 1;
}

.home-about .about-content .stats-grid .stat-item .stat-number::after {
  content: "+";
  font-size: 1.5rem;
  margin-left: 2px;
}

.home-about .about-content .stats-grid .stat-item .stat-label {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-top: 0.5rem;
  font-weight: 400;
}

.home-about .about-content .cta-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.home-about .about-content .cta-section .btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.home-about .about-content .cta-section .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  color: var(--contrast-color);
}

.home-about .about-content .cta-section .btn-secondary {
  color: var(--heading-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.home-about .about-content .cta-section .btn-secondary i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.home-about .about-content .cta-section .btn-secondary:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.home-about .about-visual {
  position: relative;
}

.home-about .about-visual .main-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.home-about .about-visual .main-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.home-about .about-visual .main-image:hover img {
  transform: scale(1.05);
}

.home-about .about-visual .floating-card {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background-color: var(--surface-color);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 90%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

@media (max-width: 768px) {
  .home-about .about-visual .floating-card {
    position: static;
    margin-top: 2rem;
    left: auto;
    bottom: auto;
  }
}

.home-about .about-visual .floating-card .card-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.home-about .about-visual .floating-card .card-content .icon {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-about .about-visual .floating-card .card-content .icon i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.home-about .about-visual .floating-card .card-content .card-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.home-about .about-visual .floating-card .card-content .card-text p {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
  line-height: 1.4;
}

.home-about .about-visual .experience-badge {
  position: absolute;
  top: 20px;
  right: -20px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1.25rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 15px 40px color-mix(in srgb, var(--accent-color), transparent 70%);
}

@media (max-width: 768px) {
  .home-about .about-visual .experience-badge {
    position: static;
    margin-bottom: 2rem;
    right: auto;
    top: auto;
    display: inline-block;
  }
}

.home-about .about-visual .experience-badge .badge-content .years {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

.home-about .about-visual .experience-badge .badge-content .text {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  margin-top: 0.25rem;
  opacity: 0.9;
}

@media (max-width: 992px) {
  .home-about {
    padding: 80px 0;
  }

  .home-about .row {
    text-align: center;
  }

  .home-about .about-content .stats-grid {
    margin: 2rem 0;
  }
}

/*--------------------------------------------------------------
# Featured Departments Section
--------------------------------------------------------------*/
.featured-departments .specialty-card {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-departments .specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.featured-departments .specialty-content {
  padding: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-departments .specialty-meta {
  margin-bottom: 15px;
}

.featured-departments .specialty-meta .specialty-label {
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 20px;
}

.featured-departments h3 {
  font-size: 28px;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

.featured-departments .specialty-card p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 25px;
  flex: 1;
}

.featured-departments .specialty-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.featured-departments .specialty-features span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.featured-departments .specialty-features span i {
  color: var(--accent-color);
  font-size: 16px;
}

.featured-departments .specialty-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-color);
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.featured-departments .specialty-link:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateX(5px);
}

.featured-departments .specialty-link i {
  transition: transform 0.3s ease;
}

.featured-departments .specialty-link:hover i {
  transform: translateX(3px);
}

.featured-departments .specialty-visual {
  height: 250px;
  position: relative;
  overflow: hidden;
}

.featured-departments .specialty-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-departments .specialty-visual .visual-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: color-mix(in srgb, var(--contrast-color), transparent 10%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.featured-departments .specialty-visual .visual-overlay i {
  color: var(--accent-color);
  font-size: 24px;
}

.featured-departments .specialty-card:hover .specialty-visual img {
  transform: scale(1.08);
}

.featured-departments .department-highlight {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 40px 30px;
  height: 100%;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.3s ease;
}

.featured-departments .department-highlight:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  transform: translateY(-3px);
}

.featured-departments .highlight-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #667eea 30%));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.featured-departments .highlight-icon i {
  color: var(--contrast-color);
  font-size: 32px;
}

.featured-departments h4 {
  font-size: 22px;
  font-weight: 400;
  color: var(--heading-color);
  margin-bottom: 15px;
}

.featured-departments .department-highlight p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.featured-departments .highlight-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.featured-departments .highlight-list li {
  padding: 8px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 14px;
  position: relative;
}

.featured-departments .highlight-list li:before {
  content: "→";
  color: var(--accent-color);
  font-weight: bold;
  margin-right: 10px;
}

.featured-departments .highlight-cta {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-departments .highlight-cta:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.featured-departments .emergency-banner {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #667eea 30%));
  border-radius: 20px;
  padding: 40px;
  margin-top: 60px;
  color: var(--contrast-color);
}

.featured-departments .emergency-banner h3 {
  color: var(--contrast-color);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 10px;
}

.featured-departments .emergency-banner p {
  color: color-mix(in srgb, var(--contrast-color), transparent 15%);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

.featured-departments .emergency-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--contrast-color);
  color: var(--accent-color);
  padding: 16px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.featured-departments .emergency-btn:hover {
  background: color-mix(in srgb, var(--contrast-color), transparent 10%);
  transform: translateY(-2px);
  color: var(--accent-color);
}

.featured-departments .emergency-btn i {
  font-size: 18px;
}

@media (max-width: 992px) {
  .featured-departments .specialty-card {
    flex-direction: column;
  }

  .featured-departments .specialty-visual {
    height: 200px;
    order: -1;
  }
}

@media (max-width: 768px) {
  .featured-departments .specialty-content {
    padding: 30px 25px;
  }

  .featured-departments h3 {
    font-size: 24px;
  }

  .featured-departments .department-highlight {
    padding: 30px 20px;
    text-align: center;
  }

  .featured-departments .highlight-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .featured-departments .highlight-icon i {
    font-size: 24px;
  }

  .featured-departments h4 {
    font-size: 20px;
  }

  .featured-departments .emergency-banner {
    padding: 30px 25px;
    text-align: center;
  }

  .featured-departments .emergency-banner h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .featured-departments .emergency-banner .emergency-btn {
    margin-top: 20px;
    padding: 14px 25px;
    font-size: 15px;
  }
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services {
  padding: 100px 0;
}

.featured-services .featured-service-main {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-services .service-image-wrapper {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
}

.featured-services .service-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-services .service-image-wrapper:hover img {
  transform: scale(1.02);
}

.featured-services .service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 20%) 0%, transparent 70%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px;
}

.featured-services .service-badge {
  background: var(--surface-color);
  padding: 16px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 25px color-mix(in srgb, var(--default-color), transparent 90%);
}

.featured-services .service-badge i {
  font-size: 20px;
  color: var(--accent-color);
}

.featured-services .service-badge span {
  font-weight: 500;
  color: var(--heading-color);
  font-size: 14px;
}

.featured-services .service-details {
  padding: 40px 0 0 0;
}

.featured-services .service-details h2 {
  font-size: 32px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--heading-color);
}

.featured-services .service-details p {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 32px;
}

.featured-services .main-cta {
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  position: relative;
  transition: all 0.3s ease;
}

.featured-services .main-cta::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-color);
  transition: transform 0.3s ease;
}

.featured-services .main-cta:hover {
  color: var(--heading-color);
}

.featured-services .main-cta:hover::after {
  transform: scaleX(1.1);
}

.featured-services .services-sidebar {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 60px;
}

.featured-services .service-item {
  padding: 32px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}

.featured-services .service-item:last-child {
  border-bottom: none;
}

.featured-services .service-item:hover {
  transform: translateX(8px);
}

.featured-services .service-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.featured-services .service-icon-wrapper i {
  font-size: 20px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.service-item:hover .featured-services .service-icon-wrapper {
  background: var(--accent-color);
  transform: scale(1.1);
}

.service-item:hover .featured-services .service-icon-wrapper i {
  color: var(--contrast-color);
}

.featured-services .service-info {
  flex: 1;
}

.featured-services .service-info h4 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--heading-color);
  line-height: 1.4;
}

.featured-services .service-info p {
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 12px;
}

.featured-services .service-link {
  font-size: 13px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.featured-services .service-link:hover {
  color: var(--heading-color);
}

.featured-services .specialties-grid {
  margin-top: 80px;
}

.featured-services .specialty-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.featured-services .specialty-card:hover {
  transform: translateY(-5px);
}

.featured-services .specialty-card:hover .specialty-image img {
  transform: scale(1.05);
}

.featured-services .specialty-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  position: relative;
}

.featured-services .specialty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-services .specialty-content h5 {
  font-size: 16px;
  font-weight: 400;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.featured-services .specialty-content span {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .featured-services .services-sidebar {
    padding-left: 0;
    margin-top: 40px;
  }

  .featured-services .service-details h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .featured-services {
    padding: 60px 0;
  }

  .featured-services .service-image-wrapper {
    height: 280px;
  }

  .featured-services .service-overlay {
    padding: 24px;
  }

  .featured-services .service-details {
    padding-top: 24px;
  }

  .featured-services .service-details h2 {
    font-size: 24px;
  }

  .featured-services .service-details p {
    font-size: 15px;
  }

  .featured-services .service-item {
    padding: 24px 0;
  }

  .featured-services .specialties-grid {
    margin-top: 50px;
  }

  .featured-services .specialty-image {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
  }

  .featured-services .specialty-content h5 {
    font-size: 14px;
  }

  .featured-services .specialty-content span {
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# Find A Doctor Section
--------------------------------------------------------------*/
.find-a-doctor .search-section {
  max-width: 100%;
  margin: 0 auto;
}

.find-a-doctor .search-section .search-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.find-a-doctor .search-section .search-subtitle {
  font-size: 1.125rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 3rem;
  line-height: 1.6;
  font-weight: 300;
}

.find-a-doctor .search-section .search-form .search-input-group {
  display: flex;
  align-items: stretch;
  background: var(--surface-color);
  border-radius: 60px;
  padding: 8px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 94%);
  transition: all 0.4s ease;
}

.find-a-doctor .search-section .search-form .search-input-group:focus-within {
  box-shadow: 0 25px 80px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.find-a-doctor .search-section .search-form .input-wrapper,
.find-a-doctor .search-section .search-form .select-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.find-a-doctor .search-section .search-form .input-wrapper i,
.find-a-doctor .search-section .search-form .select-wrapper i {
  position: absolute;
  left: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 1.1rem;
  z-index: 2;
}

.find-a-doctor .search-section .search-form .form-control,
.find-a-doctor .search-section .search-form .form-select {
  border: none;
  background: transparent;
  padding: 20px 20px 20px 50px;
  font-size: 1rem;
  color: var(--default-color);
  border-radius: 0;
}

.find-a-doctor .search-section .search-form .form-control:focus,
.find-a-doctor .search-section .search-form .form-select:focus {
  box-shadow: none;
  background: transparent;
}

.find-a-doctor .search-section .search-form .form-control::placeholder,
.find-a-doctor .search-section .search-form .form-select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-weight: 300;
}

.find-a-doctor .search-section .search-form .search-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 50px;
  padding: 18px 32px;
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.find-a-doctor .search-section .search-form .search-btn:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.find-a-doctor .search-section .search-form .search-btn i {
  font-size: 1.1rem;
}

.find-a-doctor .doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.find-a-doctor .doctor-profile {
  background: var(--surface-color);
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}

.find-a-doctor .doctor-profile:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px color-mix(in srgb, var(--default-color), transparent 88%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.find-a-doctor .doctor-profile .profile-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.find-a-doctor .doctor-profile .profile-header .doctor-avatar {
  position: relative;
  flex-shrink: 0;
}

.find-a-doctor .doctor-profile .profile-header .doctor-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: cover;
}

.find-a-doctor .doctor-profile .profile-header .doctor-avatar .status-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--surface-color);
}

.find-a-doctor .doctor-profile .profile-header .doctor-avatar .status-indicator.available {
  background: #10b981;
}

.find-a-doctor .doctor-profile .profile-header .doctor-avatar .status-indicator.busy {
  background: #f59e0b;
}

.find-a-doctor .doctor-profile .profile-header .doctor-avatar .status-indicator.offline {
  background: color-mix(in srgb, var(--default-color), transparent 40%);
}

.find-a-doctor .doctor-profile .profile-header .doctor-details {
  flex: 1;
}

.find-a-doctor .doctor-profile .profile-header .doctor-details h4 {
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.find-a-doctor .doctor-profile .profile-header .doctor-details .specialty-tag {
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.find-a-doctor .doctor-profile .profile-header .doctor-details .experience-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.9rem;
}

.find-a-doctor .doctor-profile .profile-header .doctor-details .experience-info i {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  font-size: 1rem;
}

.find-a-doctor .doctor-profile .rating-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.find-a-doctor .doctor-profile .rating-section .stars {
  display: flex;
  gap: 2px;
}

.find-a-doctor .doctor-profile .rating-section .stars i {
  color: #fbbf24;
  font-size: 1rem;
}

.find-a-doctor .doctor-profile .rating-section .rating-score {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--heading-color);
}

.find-a-doctor .doctor-profile .rating-section .review-count {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.875rem;
}

.find-a-doctor .doctor-profile .action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.find-a-doctor .doctor-profile .action-buttons .btn-secondary,
.find-a-doctor .doctor-profile .action-buttons .btn-primary {
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.9rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid;
}

.find-a-doctor .doctor-profile .action-buttons .btn-secondary:hover,
.find-a-doctor .doctor-profile .action-buttons .btn-primary:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.find-a-doctor .doctor-profile .action-buttons .btn-secondary {
  background: transparent;
  color: var(--default-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.find-a-doctor .doctor-profile .action-buttons .btn-secondary:hover {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  color: var(--default-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.find-a-doctor .doctor-profile .action-buttons .btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.find-a-doctor .doctor-profile .action-buttons .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  border-color: color-mix(in srgb, var(--accent-color), black 10%);
  color: var(--contrast-color);
}

.find-a-doctor .btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 16px 32px;
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.find-a-doctor .btn-view-all:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.find-a-doctor .btn-view-all i {
  transition: transform 0.3s ease;
}

.find-a-doctor .btn-view-all:hover i {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .find-a-doctor .search-section .search-title {
    font-size: 2rem;
  }

  .find-a-doctor .search-section .search-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .find-a-doctor .search-section .search-input-group {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 24px;
  }

  .find-a-doctor .search-section .search-input-group .search-btn {
    border-radius: 16px;
    justify-content: center;
  }

  .find-a-doctor .search-section .search-input-group .form-control,
  .find-a-doctor .search-section .search-input-group .form-select {
    padding: 16px 20px;
  }

  .find-a-doctor .search-section .search-input-group .input-wrapper i,
  .find-a-doctor .search-section .search-input-group .select-wrapper i {
    display: none;
  }

  .find-a-doctor .doctors-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  .find-a-doctor .doctor-profile {
    padding: 1.5rem;
  }

  .find-a-doctor .doctor-profile .profile-header {
    gap: 1rem;
  }

  .find-a-doctor .doctor-profile .profile-header .doctor-avatar img {
    width: 60px;
    height: 60px;
  }

  .find-a-doctor .doctor-profile .profile-header .doctor-details h4 {
    font-size: 1.25rem;
  }

  .find-a-doctor .doctor-profile .action-buttons {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 576px) {
  .find-a-doctor .search-section .search-title {
    font-size: 1.75rem;
  }

  .find-a-doctor .doctor-profile {
    border-radius: 16px;
    padding: 1.25rem;
  }
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 120px 0 100px;
}

.call-to-action .hero-content {
  margin-bottom: 120px;
}

.call-to-action .hero-content .content-wrapper {
  padding-right: 40px;
}

@media (max-width: 992px) {
  .call-to-action .hero-content .content-wrapper {
    padding-right: 0;
    margin-bottom: 60px;
    text-align: center;
  }
}

.call-to-action .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 30px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .call-to-action .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .call-to-action .hero-content h1 {
    font-size: 2rem;
  }
}

.call-to-action .hero-content p {
  font-size: 18px;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 50px;
}

.call-to-action .hero-content .cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 992px) {
  .call-to-action .hero-content .cta-wrapper {
    align-items: center;
  }
}

.call-to-action .hero-content .cta-wrapper .primary-cta,
.call-to-action .hero-content .cta-wrapper .secondary-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  width: fit-content;
}

.call-to-action .hero-content .cta-wrapper .primary-cta span,
.call-to-action .hero-content .cta-wrapper .secondary-cta span {
  margin-right: 8px;
}

.call-to-action .hero-content .cta-wrapper .primary-cta i,
.call-to-action .hero-content .cta-wrapper .secondary-cta i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.call-to-action .hero-content .cta-wrapper .primary-cta:hover i,
.call-to-action .hero-content .cta-wrapper .secondary-cta:hover i {
  transform: translateX(4px);
}

.call-to-action .hero-content .cta-wrapper .primary-cta {
  color: var(--accent-color);
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 2px;
}

.call-to-action .hero-content .cta-wrapper .primary-cta:hover {
  color: color-mix(in srgb, var(--accent-color), black 20%);
  border-color: color-mix(in srgb, var(--accent-color), black 20%);
}

.call-to-action .hero-content .cta-wrapper .secondary-cta {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.call-to-action .hero-content .cta-wrapper .secondary-cta:hover {
  color: var(--default-color);
}

.call-to-action .hero-content .image-container {
  position: relative;
}

.call-to-action .hero-content .image-container img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .call-to-action .hero-content .image-container img {
    height: 300px;
  }
}

.call-to-action .features-section {
  margin-bottom: 120px;
}

.call-to-action .features-section .feature-block {
  padding: 60px 40px;
  text-align: left;
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  height: 100%;
}

@media (max-width: 992px) {
  .call-to-action .features-section .feature-block {
    border-right: none;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    text-align: center;
  }
}

.call-to-action .features-section .feature-block:last-child {
  border-right: none;
}

@media (max-width: 992px) {
  .call-to-action .features-section .feature-block:last-child {
    border-bottom: none;
  }
}

.call-to-action .features-section .feature-block .feature-icon {
  margin-bottom: 30px;
}

.call-to-action .features-section .feature-block .feature-icon i {
  font-size: 2.5rem;
  color: var(--accent-color);
}

.call-to-action .features-section .feature-block h3 {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.call-to-action .features-section .feature-block p {
  font-size: 15px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

.call-to-action .contact-block {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  padding: 60px 40px;
  border-radius: 4px;
}

.call-to-action .contact-block .contact-content h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .call-to-action .contact-block .contact-content h2 {
    font-size: 1.6rem;
  }
}

.call-to-action .contact-block .contact-content p {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .call-to-action .contact-block .contact-content p {
    margin-bottom: 30px;
  }
}

.call-to-action .contact-block .contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

@media (max-width: 992px) {
  .call-to-action .contact-block .contact-actions {
    align-items: center;
  }
}

.call-to-action .contact-block .contact-actions .emergency-call {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 15px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
}

.call-to-action .contact-block .contact-actions .emergency-call i {
  margin-right: 10px;
  font-size: 16px;
}

.call-to-action .contact-block .contact-actions .emergency-call:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
}

.call-to-action .contact-block .contact-actions .contact-link {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.call-to-action .contact-block .contact-actions .contact-link:hover {
  color: var(--default-color);
}

@media (max-width: 992px) {
  .call-to-action .contact-block {
    text-align: center;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding: 100px 0;
}

.about .about-content h2 {
  font-size: 2.8rem;
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.about .about-content p.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.about .about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.about .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 576px) {
  .about .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.about .stats-grid .stat-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  transition: transform 0.3s ease;
}

.about .stats-grid .stat-item:hover {
  transform: translateY(-5px);
}

.about .stats-grid .stat-item .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.about .stats-grid .stat-item .stat-label {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-weight: 500;
}

.about .image-wrapper {
  position: relative;
}

.about .image-wrapper .main-image {
  border-radius: 12px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.about .image-wrapper .floating-image {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid var(--surface-color);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 80%);
}

@media (max-width: 768px) {
  .about .image-wrapper .floating-image {
    width: 150px;
    height: 150px;
    bottom: -20px;
    right: -20px;
    border-width: 6px;
  }
}

.about .image-wrapper .floating-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about .values-section {
  margin-top: 120px;
}

.about .values-section h3 {
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.about .values-section .section-description {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.about .values-section .value-item {
  text-align: center;
  padding: 2rem 1rem;
  transition: transform 0.3s ease;
}

.about .values-section .value-item:hover {
  transform: translateY(-5px);
}

.about .values-section .value-item .value-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.about .values-section .value-item .value-icon i {
  font-size: 2rem;
  color: var(--accent-color);
}

.about .values-section .value-item h4 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.about .values-section .value-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
}

.about .values-section .value-item:hover .value-icon {
  background: var(--accent-color);
  transform: scale(1.1);
}

.about .values-section .value-item:hover .value-icon i {
  color: var(--contrast-color);
}

.about .certifications-section {
  margin-top: 80px;
  padding: 4rem 0;
  background: color-mix(in srgb, var(--accent-color), transparent 98%);
  border-radius: 16px;
}

.about .certifications-section h3 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.about .certifications-section .section-description {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.about .certifications-section .certification-item {
  padding: 1.5rem;
  background: var(--surface-color);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.about .certifications-section .certification-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 85%);
}

.about .certifications-section .certification-item img {
  max-height: 60px;
  max-width: 100%;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
}

.about .certifications-section .certification-item:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

@media (max-width: 992px) {
  .about {
    padding: 80px 0;
  }

  .about .about-content {
    margin-bottom: 3rem;
  }

  .about .about-content h2 {
    font-size: 2.4rem;
  }

  .about .values-section {
    margin-top: 80px;
  }

  .about .image-wrapper .floating-image {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 2rem auto 0;
    display: block;
  }
}

@media (max-width: 768px) {
  .about .about-content h2 {
    font-size: 2rem;
  }

  .about .stats-grid .stat-item .stat-number {
    font-size: 2rem;
  }

  .about .values-section .value-item {
    margin-bottom: 2rem;
  }

  .about .certifications-section {
    margin-top: 60px;
    padding: 3rem 1rem;
  }
}

/*--------------------------------------------------------------
# Departments Tabs Section
--------------------------------------------------------------*/
.departments-tabs .section-label {
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0;
  display: block;
}

.departments-tabs .medical-specialties {
  margin-top: 3rem;
}

.departments-tabs .specialty-navigation {
  margin-bottom: 2rem;
}

.departments-tabs .specialty-navigation .nav-pills {
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
}

@media (max-width: 768px) {
  .departments-tabs .specialty-navigation .nav-pills {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.departments-tabs .specialty-navigation .department-tab {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  border: none;
  border-radius: 0;
  color: var(--default-color);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
}

@media (max-width: 992px) {
  .departments-tabs .specialty-navigation .department-tab {
    font-size: 1rem;
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 768px) {
  .departments-tabs .specialty-navigation .department-tab {
    width: 100%;
    margin-bottom: 0;
  }
}

.departments-tabs .specialty-navigation .department-tab:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 10%);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.departments-tabs .specialty-navigation .department-tab.active {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.departments-tabs .specialty-navigation .department-tab.active::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--accent-color);
}

@media (max-width: 768px) {
  .departments-tabs .specialty-navigation .department-tab.active::after {
    display: none;
  }
}

.departments-tabs .department-content {
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 3rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .departments-tabs .department-content {
    padding: 2rem 1.5rem;
  }
}

.departments-tabs .department-layout {
  align-items: stretch;
}

.departments-tabs .department-image {
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.departments-tabs .department-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.departments-tabs .department-image img:hover {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .departments-tabs .department-image {
    height: 300px;
    margin-bottom: 2rem;
  }
}

.departments-tabs .department-info {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 992px) {
  .departments-tabs .department-info {
    height: auto;
  }
}

.departments-tabs .department-title {
  color: var(--heading-color);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .departments-tabs .department-title {
    font-size: 1.8rem;
  }
}

.departments-tabs .department-description {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.departments-tabs .service-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.departments-tabs .service-item:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  transform: translateY(-2px);
}

.departments-tabs .service-icon {
  background-color: var(--accent-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.departments-tabs .service-icon i {
  color: var(--contrast-color);
  font-size: 1.5rem;
}

.departments-tabs .service-content {
  flex: 1;
}

.departments-tabs .service-content h4 {
  color: var(--heading-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.departments-tabs .service-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.departments-tabs .tab-pane {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.departments-tabs .tab-pane.show.active {
  opacity: 1;
  transform: translateY(0);
}

/*--------------------------------------------------------------
# Departments Section
--------------------------------------------------------------*/
.departments .department-card {
  position: relative;
  background-color: var(--surface-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.departments .department-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.departments .department-card:hover .department-image img {
  transform: scale(1.05);
}

.departments .department-card:hover .department-icon {
  transform: scale(1.1);
  color: var(--contrast-color);
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 20%));
}

.departments .department-card:hover .learn-more {
  color: var(--accent-color);
}

.departments .department-card:hover .learn-more i {
  transform: translateX(5px);
}

.departments .department-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 24px;
  transition: all 0.4s ease;
  z-index: 2;
}

.departments .department-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.departments .department-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.departments .department-content {
  padding: 30px 25px 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.departments .department-content h3 {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 15px;
  color: var(--heading-color);
  font-family: var(--heading-font);
  line-height: 1.3;
}

.departments .department-content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.departments .department-content .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--heading-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: auto;
}

.departments .department-content .learn-more span {
  font-family: var(--heading-font);
}

.departments .department-content .learn-more i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .departments .department-card {
    margin-bottom: 20px;
  }

  .departments .department-image {
    height: 200px;
  }

  .departments .department-content {
    padding: 25px 20px 20px;
  }

  .departments .department-content h3 {
    font-size: 20px;
  }

  .departments .department-content p {
    font-size: 14px;
  }

  .departments .department-icon {
    width: 50px;
    height: 50px;
    top: 15px;
    right: 15px;
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# Department Details Section
--------------------------------------------------------------*/
.department-details .department-hero {
  padding: 2rem 0;
}

.department-details .department-hero .badge-wrap {
  margin-bottom: 1.5rem;
}

.department-details .department-hero .badge-wrap .specialty-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.department-details .department-hero .department-title {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.department-details .department-hero .department-intro {
  font-size: 1.125rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 3rem;
  max-width: 90%;
}

.department-details .department-hero .key-highlights {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.department-details .department-hero .key-highlights .highlight-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.department-details .department-hero .key-highlights .highlight-item .highlight-number {
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.department-details .department-hero .key-highlights .highlight-item .highlight-text {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.department-details .department-hero .action-group {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.department-details .department-hero .action-group .btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1rem 2.5rem;
  border-radius: 0;
  font-weight: 400;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--accent-color);
}

.department-details .department-hero .action-group .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateX(5px);
}

.department-details .department-hero .action-group .btn-secondary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--default-color);
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.department-details .department-hero .action-group .btn-secondary i {
  transition: transform 0.3s ease;
}

.department-details .department-hero .action-group .btn-secondary:hover {
  color: var(--accent-color);
}

.department-details .department-hero .action-group .btn-secondary:hover i {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .department-details .department-hero .department-title {
    font-size: 2.5rem;
  }

  .department-details .department-hero .key-highlights {
    gap: 1.5rem;
  }

  .department-details .department-hero .action-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

.department-details .department-visual .image-container {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.department-details .department-visual .image-container .primary-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.department-details .department-visual .image-container .floating-card {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background-color: var(--surface-color);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-width: 280px;
}

.department-details .department-visual .image-container .floating-card .card-icon {
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.department-details .department-visual .image-container .floating-card .card-icon i {
  font-size: 1.5rem;
  color: var(--contrast-color);
}

.department-details .department-visual .image-container .floating-card .card-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.department-details .department-visual .image-container .floating-card .card-content p {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .department-details .department-visual {
    margin-top: 3rem;
  }

  .department-details .department-visual .image-container {
    min-height: 400px;
  }

  .department-details .department-visual .image-container .floating-card {
    bottom: 1rem;
    left: 1rem;
    max-width: 250px;
  }
}

.department-details .services-overview {
  margin-top: 8rem;
  margin-bottom: 6rem;
}

.department-details .services-overview .overview-header {
  text-align: center;
  margin-bottom: 4rem;
}

.department-details .services-overview .overview-header h3 {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.department-details .services-overview .overview-header p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  max-width: 600px;
  margin: 0 auto;
}

.department-details .services-overview .services-grid .service-item {
  text-align: left;
  padding: 2rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.department-details .services-overview .services-grid .service-item:hover {
  padding-left: 1rem;
}

.department-details .services-overview .services-grid .service-item:hover .service-icon {
  background-color: var(--accent-color);
}

.department-details .services-overview .services-grid .service-item:hover .service-icon i {
  color: var(--contrast-color);
}

.department-details .services-overview .services-grid .service-item .service-icon {
  width: 60px;
  height: 60px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.department-details .services-overview .services-grid .service-item .service-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.department-details .services-overview .services-grid .service-item h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.department-details .services-overview .services-grid .service-item p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.6;
  margin-bottom: 0;
}

.department-details .expert-care-section {
  margin-top: 6rem;
}

.department-details .expert-care-section .expert-image img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.department-details .expert-care-section .expert-content {
  padding-left: 3rem;
}

.department-details .expert-care-section .expert-content h3 {
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.department-details .expert-care-section .expert-content .lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 2.5rem;
}

.department-details .expert-care-section .expert-content .expertise-list {
  margin-bottom: 3rem;
}

.department-details .expert-care-section .expert-content .expertise-list .expertise-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.department-details .expert-care-section .expert-content .expertise-list .expertise-item i {
  color: var(--accent-color);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.department-details .expert-care-section .expert-content .expertise-list .expertise-item span {
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  line-height: 1.6;
}

.department-details .expert-care-section .expert-content .contact-info .contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.department-details .expert-care-section .expert-content .contact-info .contact-item i {
  width: 40px;
  height: 40px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.department-details .expert-care-section .expert-content .contact-info .contact-item div {
  display: flex;
  flex-direction: column;
}

.department-details .expert-care-section .expert-content .contact-info .contact-item div .contact-label {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0.25rem;
}

.department-details .expert-care-section .expert-content .contact-info .contact-item div .contact-value {
  font-weight: 500;
  color: var(--default-color);
}

@media (max-width: 991px) {
  .department-details .expert-care-section .expert-content {
    padding-left: 0;
    margin-top: 3rem;
  }
}

@media (max-width: 768px) {
  .department-details .expert-care-section .expert-content h3 {
    font-size: 1.875rem;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  padding: 80px 0;
}

.services .service-item {
  background: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.services .service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.services .service-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.services .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.services .service-image .service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%));
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.services .service-image .service-overlay i {
  font-size: 3rem;
  color: var(--contrast-color);
  transform: scale(0.7);
  transition: transform 0.3s ease;
}

.services .service-image:hover img {
  transform: scale(1.05);
}

.services .service-image:hover .service-overlay {
  opacity: 0.9;
}

.services .service-image:hover .service-overlay i {
  transform: scale(1);
}

.services .service-content {
  padding: 30px 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.services .service-content h3 {
  color: var(--heading-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.3;
}

.services .service-content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.services .service-content .service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.services .service-content .service-features .feature-item {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--default-color);
}

.services .service-content .service-features .feature-item i {
  color: var(--accent-color);
  font-size: 0.75rem;
  margin-right: 8px;
}

.services .service-content .service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 20px;
  background: color-mix(in srgb, var(--accent-color), transparent 5%);
  color: var(--contrast-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: auto;
}

.services .service-content .service-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.services .service-content .service-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.services .service-content .service-btn:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .services {
    padding: 60px 0;
  }

  .services .service-image {
    height: 200px;
  }

  .services .service-content {
    padding: 25px 20px;
  }

  .services .service-content h3 {
    font-size: 1.3rem;
  }

  .services .service-content p {
    font-size: 0.9rem;
  }

  .services .service-content .service-features .feature-item {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .services .service-features {
    flex-direction: column;
    gap: 10px;
  }

  .services .service-features .feature-item {
    justify-content: flex-start;
  }
}

/*--------------------------------------------------------------
# Service Details 2 Section
--------------------------------------------------------------*/
.service-details-2 .service-header .service-category span {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%));
  color: var(--contrast-color);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
}

.service-details-2 .service-header h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
}

@media (max-width: 768px) {
  .service-details-2 .service-header h2 {
    font-size: 2.2rem;
  }
}

.service-details-2 .service-header .lead {
  font-size: 1.25rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-weight: 400;
  line-height: 1.5;
}

.service-details-2 .service-details .detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.service-details-2 .service-details .detail-item .icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 15%));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.service-details-2 .service-details .detail-item .icon-wrapper i {
  font-size: 1.5rem;
  color: var(--contrast-color);
}

.service-details-2 .service-details .detail-item .content h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--heading-color);
}

.service-details-2 .service-details .detail-item .content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
  margin: 0;
}

.service-details-2 .service-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.service-details-2 .service-visual img {
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-details-2 .service-visual .visual-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
}

.service-details-2 .service-visual .stats-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-around;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-details-2 .service-visual .stats-card .stat {
  text-align: center;
}

.service-details-2 .service-visual .stats-card .stat .number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.service-details-2 .service-visual .stats-card .stat .label {
  display: block;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-weight: 500;
  margin-top: 0.3rem;
}

.service-details-2 .service-overview {
  background: var(--surface-color);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.service-details-2 .service-overview h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .service-details-2 .service-overview h3 {
    font-size: 1.6rem;
  }
}

.service-details-2 .service-overview p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 2rem;
}

.service-details-2 .service-overview .features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 576px) {
  .service-details-2 .service-overview .features-grid {
    grid-template-columns: 1fr;
  }
}

.service-details-2 .service-overview .features-grid .feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 12px;
}

.service-details-2 .service-overview .features-grid .feature i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.service-details-2 .service-overview .features-grid .feature span {
  font-weight: 500;
  color: var(--heading-color);
}

.service-details-2 .service-overview .treatment-areas {
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  padding: 2rem;
  border-radius: 16px;
}

.service-details-2 .service-overview .treatment-areas h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  font-weight: 600;
}

.service-details-2 .service-overview .treatment-areas .condition-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.service-details-2 .service-overview .treatment-areas .condition-tags .tag {
  background: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.service-details-2 .service-overview .treatment-areas .condition-tags .tag:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .service-details-2 .service-overview {
    padding: 2rem;
  }

  .service-details-2 .service-overview .treatment-areas {
    margin-top: 2rem;
  }
}

.service-details-2 .action-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  height: 100%;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.service-details-2 .action-card.primary {
  border-color: var(--accent-color);
  background: linear-gradient(135deg, var(--surface-color), color-mix(in srgb, var(--accent-color), transparent 97%));
}

.service-details-2 .action-card.primary .card-header i {
  color: var(--accent-color);
}

.service-details-2 .action-card.primary .btn-action {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.service-details-2 .action-card.primary .btn-action:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-3px);
}

.service-details-2 .action-card.secondary {
  border-color: color-mix(in srgb, var(--heading-color), transparent 70%);
}

.service-details-2 .action-card.secondary .card-header i {
  color: var(--heading-color);
}

.service-details-2 .action-card.secondary .btn-action {
  background: transparent;
  color: var(--default-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 50%);
}

.service-details-2 .action-card.secondary .btn-action:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.service-details-2 .action-card.tertiary {
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.service-details-2 .action-card.tertiary .card-header i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.service-details-2 .action-card.tertiary .btn-action {
  background: transparent;
  color: var(--default-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 50%);
}

.service-details-2 .action-card.tertiary .btn-action:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.service-details-2 .action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-details-2 .action-card .card-header {
  margin-bottom: 1rem;
}

.service-details-2 .action-card .card-header i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.service-details-2 .action-card .card-header h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.service-details-2 .action-card p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.service-details-2 .action-card .card-footer .btn-action {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  width: 100%;
}

.service-details-2 .action-card .card-footer .availability {
  display: block;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
}

@media (max-width: 768px) {
  .service-details-2 .service-header {
    margin-bottom: 3rem;
  }

  .service-details-2 .service-header .service-category span {
    margin-bottom: 1rem;
  }

  .service-details-2 .service-details {
    margin-bottom: 3rem;
  }

  .service-details-2 .service-details .detail-item {
    margin-bottom: 2rem;
  }

  .service-details-2 .visual-overlay {
    position: static !important;
    margin-top: 1rem;
  }

  .service-details-2 .visual-overlay .stats-card {
    background: var(--surface-color);
    backdrop-filter: none;
  }
}

/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors .doctor-card {
  background: var(--surface-color);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
}

.doctors .doctor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 80%);
}

.doctors .doctor-card:hover .doctor-overlay {
  opacity: 1;
}

.doctors .doctor-image {
  position: relative;
  margin-bottom: 25px;
  overflow: hidden;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  margin: 0 auto 25px;
}

.doctors .doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.doctors .doctor-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.doctors .doctor-overlay .social-links {
  display: flex;
  gap: 10px;
}

.doctors .doctor-overlay .social-links a {
  width: 35px;
  height: 35px;
  background: var(--contrast-color);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.doctors .doctor-overlay .social-links a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.doctors .doctor-overlay .social-links a i {
  font-size: 16px;
}

.doctors .doctor-content h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.doctors .doctor-content .specialty {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 15px;
  display: block;
}

.doctors .doctor-content p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.doctors .doctor-meta {
  margin-bottom: 20px;
}

.doctors .doctor-meta .experience,
.doctors .doctor-meta .department {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 8px;
}

.doctors .doctor-meta .experience i,
.doctors .doctor-meta .department i {
  color: var(--accent-color);
  font-size: 14px;
}

.doctors .doctor-meta .department {
  margin-bottom: 0;
}

.doctors .btn-appointment {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}

.doctors .btn-appointment:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, black 15%);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .doctors .doctor-card {
    padding: 20px;
  }

  .doctors .doctor-image {
    width: 120px;
    height: 120px;
  }

  .doctors .doctor-content h4 {
    font-size: 20px;
  }

  .doctors .doctor-content .specialty {
    font-size: 14px;
  }

  .doctors .doctor-content p {
    font-size: 13px;
  }

  .doctors .btn-appointment {
    padding: 10px 25px;
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Appointmnet Section
--------------------------------------------------------------*/
.appointmnet .booking-wrapper {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 60px 40px;
  box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 90%);
}

.appointmnet .booking-header {
  margin-bottom: 50px;
}

.appointmnet .booking-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.appointmnet .booking-header p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  max-width: 600px;
  margin: 0 auto;
}

.appointmnet .booking-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
  padding: 30px 0;
}

.appointmnet .booking-steps .step {
  text-align: center;
  flex: 1;
  max-width: 200px;
  position: relative;
}

.appointmnet .booking-steps .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  right: -15px;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
  z-index: 1;
}

.appointmnet .booking-steps .step .step-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  position: relative;
  z-index: 2;
}

.appointmnet .booking-steps .step .step-icon i {
  font-size: 24px;
  color: var(--contrast-color);
}

.appointmnet .booking-steps .step .step-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.appointmnet .booking-steps .step .step-content p {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

@media (max-width: 768px) {
  .appointmnet .booking-steps {
    flex-direction: column;
    gap: 20px;
  }

  .appointmnet .booking-steps .step {
    max-width: none;
  }

  .appointmnet .booking-steps .step:not(:last-child)::after {
    display: none;
  }
}

.appointmnet .appointment-form .php-email-form input[type=text],
.appointmnet .appointment-form .php-email-form input[type=email],
.appointmnet .appointment-form .php-email-form input[type=tel],
.appointmnet .appointment-form .php-email-form input[type=date],
.appointmnet .appointment-form .php-email-form select,
.appointmnet .appointment-form .php-email-form textarea {
  color: var(--default-color);
  background-color: transparent;
  font-size: 14px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s ease;
}

.appointmnet .appointment-form .php-email-form input[type=text]:focus,
.appointmnet .appointment-form .php-email-form input[type=email]:focus,
.appointmnet .appointment-form .php-email-form input[type=tel]:focus,
.appointmnet .appointment-form .php-email-form input[type=date]:focus,
.appointmnet .appointment-form .php-email-form select:focus,
.appointmnet .appointment-form .php-email-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 80%);
  outline: none;
}

.appointmnet .appointment-form .php-email-form input[type=text]::placeholder,
.appointmnet .appointment-form .php-email-form input[type=email]::placeholder,
.appointmnet .appointment-form .php-email-form input[type=tel]::placeholder,
.appointmnet .appointment-form .php-email-form input[type=date]::placeholder,
.appointmnet .appointment-form .php-email-form select::placeholder,
.appointmnet .appointment-form .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.appointmnet .appointment-form .php-email-form .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.appointmnet .appointment-form .php-email-form .btn-book {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 15px 40px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  width: 100%;
  cursor: pointer;
}

.appointmnet .appointment-form .php-email-form .btn-book:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
}

.appointmnet .appointment-form .php-email-form .btn-book:active {
  transform: translateY(0);
}

.appointmnet .emergency-info {
  margin-top: 30px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 8px;
  text-align: center;
}

.appointmnet .emergency-info p {
  margin: 0;
  color: var(--heading-color);
  font-size: 0.9rem;
}

.appointmnet .emergency-info p i {
  color: #dc3545;
  margin-right: 8px;
}

.appointmnet .emergency-info p strong {
  color: #dc3545;
  font-weight: 700;
}

@media (max-width: 768px) {
  .appointmnet .booking-wrapper {
    padding: 40px 25px;
  }

  .appointmnet .booking-header h2 {
    font-size: 2rem;
  }
}

/*--------------------------------------------------------------
# Featured Testimonials Section
--------------------------------------------------------------*/
.featured-testimonials .testimonial-item {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 24px;
  border-radius: 8px;
  transition: all 0.3s;
}

.featured-testimonials .testimonial-item .stars {
  margin-bottom: 16px;
  color: #f7b50d;
}

.featured-testimonials .testimonial-item .stars i {
  font-size: 18px;
  margin: 0 2px;
}

.featured-testimonials .testimonial-item p {
  font-size: 15px;
  font-style: italic;
  margin: 0 0 20px 0;
}

.featured-testimonials .testimonial-item .profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.featured-testimonials .testimonial-item .profile .testimonial-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.featured-testimonials .testimonial-item .profile .info h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.featured-testimonials .testimonial-item .profile .info h4 i {
  font-size: 14px;
  color: var(--accent-color);
  margin-left: 4px;
}

.featured-testimonials .testimonial-item .profile .info span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.featured-testimonials .swiper-wrapper {
  height: auto !important;
}

.featured-testimonials .swiper-pagination {
  margin-top: 30px;
  position: relative;
}

.featured-testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: color-mix(in srgb, var(--default-color), transparent 70%);
  opacity: 1;
}

.featured-testimonials .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--accent-color);
  width: 20px;
  border-radius: 4px;
}

@media (max-width: 1199.98px) {
  .featured-testimonials .testimonial-item {
    margin: 0;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials .testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
  color: #FFD700;
}

.testimonials .testimonial-item .stars i {
  margin-right: 2px;
}

.testimonials .testimonial-item p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--default-color);
}

.testimonials .testimonial-item .testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author {
  display: flex;
  align-items: center;
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author div h5 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color);
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author div span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.testimonials .testimonial-item .testimonial-footer .quote-icon {
  font-size: 36px;
  color: color-mix(in srgb, var(--accent-color), transparent 70%);
  line-height: 1;
}

.testimonials .testimonial-item .testimonial-footer .quote-icon i {
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .testimonials .testimonial-item {
    padding: 25px 20px;
  }

  .testimonials .testimonial-item p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author img {
    width: 45px;
    height: 45px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author div h5 {
    font-size: 16px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author div span {
    font-size: 13px;
  }

  .testimonials .testimonial-item .testimonial-footer .quote-icon {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .testimonials .testimonial-item {
    padding: 20px 15px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery .gallery-item img {
  transition: 0.3s;
}

.gallery .gallery-links {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3;
}

.gallery .gallery-links .preview-link,
.gallery .gallery-links .details-link {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.5);
  transition: 0.3s;
  line-height: 1.2;
  margin: 30px 8px 0 8px;
}

.gallery .gallery-links .preview-link:hover,
.gallery .gallery-links .details-link:hover {
  color: #ffffff;
}

.gallery .gallery-links .details-link {
  font-size: 30px;
  line-height: 0;
}

.gallery .gallery-item:hover .gallery-links {
  opacity: 1;
}

.gallery .gallery-item:hover .preview-link,
.gallery .gallery-item:hover .details-link {
  margin-top: 0;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

.glightbox-clean .gslide-description {
  background: #272727;
}

.glightbox-clean .gslide-title {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-item {
  margin-bottom: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq .faq-item:last-child {
  border-bottom: none;
}

.faq .faq-item.faq-active .faq-header .faq-number {
  color: var(--accent-color);
  font-weight: 500;
}

.faq .faq-item.faq-active .faq-header h4 {
  color: var(--accent-color);
}

.faq .faq-item.faq-active .faq-header .faq-toggle {
  color: var(--accent-color);
  transform: rotate(0deg);
}

.faq .faq-item.faq-active .faq-header .faq-toggle i.bi-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.faq .faq-item.faq-active .faq-header .faq-toggle i.bi-dash {
  opacity: 1;
  transform: rotate(0deg);
}

.faq .faq-item.faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
}

.faq .faq-item:not(.faq-active) .faq-header .faq-toggle i.bi-plus {
  opacity: 1;
  transform: rotate(0deg);
}

.faq .faq-item:not(.faq-active) .faq-header .faq-toggle i.bi-dash {
  opacity: 0;
  transform: rotate(-90deg);
}

.faq .faq-item .faq-header {
  display: flex;
  align-items: center;
  padding: 40px 0;
  cursor: pointer;
  gap: 0;
  transition: all 0.3s ease;
}

.faq .faq-item .faq-header:hover .faq-number {
  transform: scale(1.1);
}

.faq .faq-item .faq-header:hover .faq-toggle {
  transform: scale(1.1);
}

.faq .faq-item .faq-header .faq-number {
  flex-shrink: 0;
  width: 80px;
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 300;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  transition: all 0.3s ease;
  letter-spacing: -0.02em;
}

.faq .faq-item .faq-header h4 {
  flex: 1;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--heading-color);
  transition: all 0.3s ease;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-right: 20px;
}

.faq .faq-item .faq-header .faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
}

.faq .faq-item .faq-header .faq-toggle i {
  position: absolute;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  visibility: hidden;
  opacity: 0;
}

.faq .faq-item .faq-content .content-inner {
  padding: 0 80px 40px 80px;
  overflow: hidden;
}

.faq .faq-item .faq-content .content-inner p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.8;
  font-size: 1rem;
  font-weight: 300;
}

@media (max-width: 768px) {
  .faq .faq-item .faq-header {
    padding: 30px 0;
  }

  .faq .faq-item .faq-header .faq-number {
    width: 60px;
    font-size: 1rem;
  }

  .faq .faq-item .faq-header h4 {
    font-size: 1.1rem;
    margin-right: 15px;
  }

  .faq .faq-item .faq-header .faq-toggle {
    width: 20px;
    height: 20px;
    font-size: 16px;
  }

  .faq .faq-item .faq-content .content-inner {
    padding: 0 60px 30px 60px;
  }

  .faq .faq-item .faq-content .content-inner p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .faq .faq-item .faq-header {
    padding: 25px 0;
  }

  .faq .faq-item .faq-header .faq-number {
    width: 50px;
    font-size: 0.9rem;
  }

  .faq .faq-item .faq-header h4 {
    font-size: 1rem;
    margin-right: 10px;
  }

  .faq .faq-item .faq-content .content-inner {
    padding: 0 50px 25px 50px;
  }

  .faq .faq-item .faq-content .content-inner p {
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact .contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact .contact-info-item .info-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .contact-info-item .info-icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.contact .contact-info-item .info-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact .contact-info-item .info-content p {
  margin-bottom: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
}

.contact .contact-info-item .info-content p:last-child {
  margin-bottom: 0;
}

.contact .contact-form-card {
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
}

.contact .contact-form-card h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact .contact-form-card p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact .contact-form-card .form-control {
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  padding: 15px 20px;
  height: calc(3.5rem + 2px);
  background-color: var(--surface-color);
  color: var(--default-color);
  margin-bottom: 20px;
}

.contact .contact-form-card .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 90%);
}

.contact .contact-form-card .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.contact .contact-form-card textarea.form-control {
  min-height: 150px;
  margin-bottom: 25px;
}

.contact .btn-submit {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 100%;
}

.contact .btn-submit:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.contact .map-container {
  position: relative;
  margin-top: 50px;
  padding: 0;
}

.contact .map-container .map-overlay {
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, var(--background-color), transparent);
  z-index: 10;
}

.contact .map-container iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
  .contact .contact-form-card {
    padding: 30px;
  }

  .contact .map-container {
    margin-top: 40px;
  }

  .contact .map-container .map-overlay {
    top: -25px;
    height: 50px;
  }

  .contact .map-container iframe {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .contact .contact-info-wrapper {
    gap: 25px;
  }

  .contact .contact-info-item {
    gap: 15px;
  }

  .contact .contact-info-item .info-icon {
    width: 50px;
    height: 50px;
  }

  .contact .contact-form-card {
    padding: 25px;
  }

  .contact .contact-form-card h2 {
    font-size: 24px;
  }

  .contact .map-container {
    margin-top: 30px;
  }

  .contact .map-container .map-overlay {
    top: -20px;
    height: 40px;
  }

  .contact .map-container iframe {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .contact .contact-form-card {
    padding: 20px;
  }

  .contact .map-container {
    margin-top: 25px;
  }

  .contact .map-container .map-overlay {
    top: -15px;
    height: 30px;
  }

  .contact .map-container iframe {
    height: 350px;
    border-radius: 8px;
  }
}

/*--------------------------------------------------------------
# Terms Of Service Section
--------------------------------------------------------------*/
.terms-of-service .tos-header {
  margin-bottom: 60px;
}

.terms-of-service .tos-header .last-updated {
  display: inline-block;
  padding: 8px 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 30px;
  color: var(--accent-color);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.terms-of-service .tos-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.terms-of-service .tos-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.terms-of-service .tos-content .content-section {
  margin-bottom: 50px;
  scroll-margin-top: 100px;
}

.terms-of-service .tos-content .content-section:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.terms-of-service .tos-content .content-section p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 20px;
}

.terms-of-service .tos-content .content-section p:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .info-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .info-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .info-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .list-items {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.terms-of-service .tos-content .content-section .list-items li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .list-items li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .list-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .alert-box {
  display: flex;
  gap: 20px;
  padding: 25px;
  background-color: var(--surface-color);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .alert-box i {
  font-size: 2rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .prohibited-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-content .content-section .prohibited-list {
    grid-template-columns: 1fr;
  }
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background-color: var(--surface-color);
  border-radius: 12px;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item i {
  color: #dc3545;
  font-size: 1.2rem;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item span {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .disclaimer-box {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .disclaimer-box p {
  margin-bottom: 15px;
  font-weight: 500;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .notice-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .notice-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .notice-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-contact {
  margin-top: 60px;
}

.terms-of-service .tos-contact .contact-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-contact .contact-box {
    flex-direction: column;
    text-align: center;
  }
}

.terms-of-service .tos-contact .contact-box .contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terms-of-service .tos-contact .contact-box .contact-icon i {
  font-size: 1.8rem;
  color: var(--contrast-color);
}

.terms-of-service .tos-contact .contact-box .contact-content {
  flex: 1;
}

.terms-of-service .tos-contact .contact-box .contact-content h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-contact .contact-box .contact-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 15px;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media print {
  .terms-of-service .tos-contact {
    display: none;
  }

  .terms-of-service .content-section {
    page-break-inside: avoid;
  }
}

/*--------------------------------------------------------------
# Privacy Section
--------------------------------------------------------------*/
.privacy {
  font-size: 1rem;
  line-height: 1.7;
}

.privacy .privacy-header {
  margin-bottom: 60px;
  text-align: center;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-bottom: 40px;
}

.privacy .privacy-header .header-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy .privacy-header .header-content .last-updated {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 20px;
}

.privacy .privacy-header .header-content h1 {
  font-size: 2.8rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.privacy .privacy-header .header-content .intro-text {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}

.privacy .privacy-content {
  max-width: 800px;
  margin: 0 auto 60px;
}

.privacy .privacy-content .content-section {
  margin-bottom: 50px;
}

.privacy .privacy-content .content-section:last-child {
  margin-bottom: 0;
}

.privacy .privacy-content .content-section h2 {
  font-size: 1.8rem;
  color: var(--heading-color);
  margin-bottom: 25px;
  font-weight: 600;
}

.privacy .privacy-content .content-section h3 {
  font-size: 1.4rem;
  color: var(--heading-color);
  margin: 30px 0 20px;
  font-weight: 500;
}

.privacy .privacy-content .content-section p {
  margin-bottom: 20px;
}

.privacy .privacy-content .content-section p:last-child {
  margin-bottom: 0;
}

.privacy .privacy-content .content-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.privacy .privacy-content .content-section ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
}

.privacy .privacy-content .content-section ul li:last-child {
  margin-bottom: 0;
}

.privacy .privacy-content .content-section ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}

.privacy .privacy-contact {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.privacy .privacy-contact h2 {
  font-size: 1.8rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.privacy .privacy-contact p {
  margin-bottom: 20px;
}

.privacy .privacy-contact .contact-details {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 10px;
}

.privacy .privacy-contact .contact-details p {
  margin-bottom: 10px;
}

.privacy .privacy-contact .contact-details p:last-child {
  margin-bottom: 0;
}

.privacy .privacy-contact .contact-details p strong {
  color: var(--heading-color);
  font-weight: 600;
}

@media print {
  .privacy {
    font-size: 12pt;
    line-height: 1.5;
  }

  .privacy .privacy-header {
    text-align: left;
    border-bottom: 1pt solid #000;
    padding-bottom: 20pt;
    margin-bottom: 30pt;
  }

  .privacy h1 {
    font-size: 24pt;
  }

  .privacy h2 {
    font-size: 18pt;
    page-break-after: avoid;
  }

  .privacy h3 {
    font-size: 14pt;
    page-break-after: avoid;
  }

  .privacy p,
  .privacy ul {
    page-break-inside: avoid;
  }

  .privacy .contact-details {
    border: 1pt solid #000;
    padding: 15pt;
  }
}

@media (max-width: 767px) {
  .privacy .privacy-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
  }

  .privacy .privacy-header .header-content h1 {
    font-size: 2.2rem;
  }

  .privacy .privacy-header .header-content .intro-text {
    font-size: 1.1rem;
  }

  .privacy .privacy-content .content-section {
    margin-bottom: 40px;
  }

  .privacy .privacy-content .content-section h2 {
    font-size: 1.6rem;
  }

  .privacy .privacy-content .content-section h3 {
    font-size: 1.3rem;
  }
}

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
  padding: 120px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 97%) 100%);
}

.error-404 .error-number {
  font-size: clamp(120px, 20vw, 280px);
  font-weight: 300;
  color: color-mix(in srgb, var(--heading-color), transparent 15%);
  line-height: 0.8;
  margin-bottom: 40px;
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

.error-404 .error-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.error-404 .error-description {
  font-size: 18px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.error-404 .error-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-bottom: 80px;
}

@media (min-width: 576px) {
  .error-404 .error-actions {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
}

.error-404 .error-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
}

.error-404 .error-actions .btn-primary:hover {
  background-color: transparent;
  color: var(--accent-color);
  transform: translateY(-2px);
}

.error-404 .error-actions .btn-primary i {
  font-size: 18px;
}

.error-404 .error-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: transparent;
  color: var(--heading-color);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.error-404 .error-actions .btn-secondary:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.error-404 .error-actions .btn-secondary i {
  font-size: 18px;
}

.error-404 .helpful-links {
  text-align: center;
}

.error-404 .helpful-links h3 {
  font-size: 24px;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 40px;
}

.error-404 .helpful-links .links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .error-404 .helpful-links .links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.error-404 .helpful-links .link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 20px;
  background-color: var(--surface-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--default-color);
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.error-404 .helpful-links .link-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--accent-color);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.error-404 .helpful-links .link-item i {
  font-size: 24px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.error-404 .helpful-links .link-item span {
  font-size: 16px;
  font-weight: 400;
}

.error-404 .helpful-links .link-item:hover i {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .error-404 {
    padding: 80px 0;
  }

  .error-404 .error-actions {
    margin-bottom: 60px;
  }

  .error-404 .helpful-links .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .error-404 .helpful-links .links-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================
   HERO IMAGE SLIDER
========================= */

.hero-slider-section {
  width: 100%;
  overflow: hidden;
}

#clinicHeroSlider {
  position: relative;
}

#clinicHeroSlider .carousel-item {
  height: 650px;
  position: relative;
}

#clinicHeroSlider .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay for better text visibility */
#clinicHeroSlider .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.05)
  );
  z-index: 1;
}

/* Caption */
#clinicHeroSlider .carousel-caption {
  position: absolute;
  z-index: 2;
  left: 8%;
  right: auto;
  bottom: 25%;
  text-align: left;
  max-width: 650px;
}

#clinicHeroSlider .carousel-caption h1,
#clinicHeroSlider .carousel-caption h2 {
  color: #ffffff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

#clinicHeroSlider .carousel-caption p {
  color: #ffffff;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Orange Theme Button */
.slider-btn {
  background: #ff7a18;
  color: #ffffff;
  border-radius: 30px;
  padding: 13px 28px;
  font-weight: 600;
  border: 2px solid #ff7a18;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: #ffffff;
  color: #ff7a18;
  border-color: #ffffff;
}

/* Indicators */
#clinicHeroSlider .carousel-indicators button {
  width: 35px;
  height: 5px;
  border-radius: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {

  #clinicHeroSlider .carousel-item {
    height: 550px;
  }

  #clinicHeroSlider .carousel-caption {
    left: 7%;
    right: 7%;
    bottom: 18%;
    text-align: left;
  }

  #clinicHeroSlider .carousel-caption h1,
  #clinicHeroSlider .carousel-caption h2 {
    font-size: 32px;
  }

  #clinicHeroSlider .carousel-caption p {
    font-size: 16px;
  }

  .slider-btn {
    padding: 10px 20px;
  }

}

/* =====================================================
   CLINICA MEDICARE RESPONSIVE HERO SLIDER
===================================================== */

.clinic-hero-slider {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}


/* Bootstrap carousel */
.clinic-hero-slider .carousel {
  width: 100%;
  overflow: hidden;
}


/* Picture */
.clinic-hero-slider picture {
  display: block;
  width: 100%;
}


/* Image */
.clinic-slider-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}


/* ================================
   DESKTOP
================================ */

@media (min-width: 1200px) {

  .clinic-slider-image {
    width: 100%;
    height: 620px;
    object-fit: cover;
    object-position: center center;
  }

}


/* ================================
   LAPTOP
================================ */

@media (min-width: 992px) and (max-width: 1199px) {

  .clinic-slider-image {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center center;
  }

}


/* ================================
   TABLET
================================ */

@media (min-width: 768px) and (max-width: 991px) {

  .clinic-slider-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center center;
  }

}


/* ================================
   MOBILE
================================ */

@media (max-width: 767px) {

  .clinic-hero-slider {
    width: 100%;
    overflow: hidden;
  }


  .clinic-slider-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center center;
  }


  /* Smaller arrows */
  .clinic-hero-slider .carousel-control-prev,
  .clinic-hero-slider .carousel-control-next {
    width: 13%;
  }


  /* Indicators */
  .clinic-hero-slider .carousel-indicators {
    bottom: 12px;
    margin-bottom: 0;
  }


  .clinic-hero-slider .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 4px;
  }

}


/* ================================
   SMALL MOBILE
================================ */

@media (max-width: 480px) {

  .clinic-slider-image {
    height: 540px;
    object-fit: cover;
  }

}