
:root {
    --primary: #F4B728;
    --primary-dark: #C88B00;
    --primary-deep: #09233F;
    --accent: #F4B728;
    --accent-soft: #FFF3D4;
    --bg: #FAF9F6;
    --surface: #FAF9F6;
    --surface-2: #F4F6F8;
    --text: #09233F;
    --muted: #5B6875;
    --border: #D9DEE3;
    --shadow: 0 16px 45px rgba(9, 35, 63, .10);
    --shadow-hover: 0 24px 60px rgba(9, 35, 63, .17);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: background .35s ease, color .35s ease;
    padding-top: 30px;
}

a {
    text-decoration: none;
}

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

/* ========================= NAVBAR ========================= */
.glass-nav {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(9, 35, 63, .08);
    box-shadow: 0 5px 28px rgba(9, 35, 63, .07);
    transition: transform .35s ease, background .35s ease, box-shadow .35s ease;
    z-index: 1000;
}

.glass-nav.nav-hidden {
    transform: translateY(-110%);
}

.logo-wrap {
    min-height: 72px;
    display: flex;
    align-items: center;
}

.clinic-logo {
    width: 125px;
    height: auto;
    object-fit: contain;
    transition: transform .25s ease;
}

.clinic-logo:hover {
    transform: scale(1.03);
}

.nav-link {
    color: var(--primary-deep) !important;
    font-weight: 600;
    position: relative;
    transition: color .25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: .65rem;
    right: .65rem;
    bottom: .15rem;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform .25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.navbar-toggler {
    border: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.theme-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--surface);
    color: var(--primary-deep);
    cursor: pointer;
    transition: .25s ease;
}

.theme-btn:hover {
    background: var(--accent-soft);
    color: var(--primary);
    transform: rotate(10deg);
}

/* ========================= HERO ========================= */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 18%, rgba(244, 183, 40, .16), transparent 28%),
        linear-gradient(135deg, #FAF9F6 0%, #F4F6F8 100%);
}

.hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -190px;
    top: 70px;
    border: 1px solid rgba(244, 183, 40, .25);
    border-radius: 50%;
}

.hero h1 {
    color: var(--primary-deep);
    line-height: 1.06;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    max-width: 680px;
    color: var(--muted);
}

.hero-image-wrap {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: contain;
    object-position: center;

    border-radius: 36px 36px 36px 110px;
    box-shadow: 0 28px 70px rgba(9, 35, 63, .18);
}

.hero-image-wrap::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -25px;
    bottom: -25px;
    border-radius: 32px;
    background: rgba(244, 183, 40, .16);
    z-index: -1;
}

.badge-soft,
.section-label {
    display: inline-block;
    padding: .48rem .85rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--primary);
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 2rem;
}

.hero-feature {
    padding: 1rem 1.1rem;
    border-right: 1px solid var(--border);
}

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

.hero-feature i {
    color: var(--primary);
    font-size: 1.55rem;
}

.hero-feature strong {
    display: block;
    font-size: .92rem;
    margin-top: .35rem;
}

.hero-feature span {
    color: var(--muted);
    font-size: .76rem;
}

/* ========================= BUTTONS ========================= */
.btn-medical {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: .78rem 1.25rem;
    transition: .25s ease;
}

.btn-medical:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-medical {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    border-radius: 999px;
    padding: .78rem 1.25rem;
    transition: .25s ease;
}

.btn-outline-medical:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ========================= SECTIONS / CARDS ========================= */
.section-padding {
    padding: 100px 0;
}

.section-title {
    color: var(--primary-deep);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-top: .7rem;
}

.section-intro {
    color: var(--muted);
    max-width: 700px;
}

.section-soft {
    background: var(--surface-2);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-card,
.service-card,
.partner-card,
.contact-card,
.ceo-card,
.about-panel {
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.info-card:hover,
.service-card:hover,
.partner-card:hover,
.contact-card:hover,
.ceo-card:hover,
.about-panel:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(244, 183, 40, .38);
}

.info-card,
.contact-card {
    padding: 2rem;
}

.info-card i,
.contact-card>i {
    color: var(--primary);
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.info-card p,
.contact-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* ========================= SPECIALTIES ========================= */
.specialty-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.specialty-image {
    width: 100%;
    height: 235px;
    object-fit: cover;
}

.specialty-content {
    padding: 1.35rem 1.35rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.specialty-content h3 {
    color: var(--primary-deep);
    font-size: 1.18rem;
    font-weight: 800;
}

.specialty-content p {
    color: var(--muted);
    line-height: 1.65;
    flex: 1;
}

.specialty-card .btn-outline-medical {
    align-self: flex-start;
    padding: .58rem 1rem;
}

.specialty-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

/* ========================= PAGE HERO ========================= */
.page-top {
    padding-top: 150px;
    min-height: 75vh;
}

/* ========================= SPECIALTY DETAILS ========================= */
.detail-hero {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.detail-hero img {
    width: 85%;
    height: 420px;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: 0 auto;
    border-radius: 24px;
}

.detail-body {
    padding: 2.4rem;
}

.detail-body p {
    color: var(--muted);
    line-height: 1.85;
}

.detail-box {
    height: 100%;
    padding: 1.5rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.detail-box h4 {
    color: var(--primary-deep);
    font-weight: 800;
}

/* edit slider */
/* =========================================
   SPECIALTIES CUSTOM SLIDER
========================================= */

.specialties-slider-section {
    overflow: hidden;
}

.specialties-slider-wrapper {
    overflow: hidden;
    margin-top: 2.5rem;
}

.specialties-slider {
    display: flex;
    gap: 24px;

    transition: transform .65s var(--ease-premium);

    will-change: transform;
}

.specialty-slide {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
}

/* Make cards same height */
.specialty-slide .specialty-card {
    height: 100%;
}

/* =========================================
   SLIDER ARROWS
========================================= */

.specialties-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.specialties-nav {
    display: flex;
    gap: .65rem;
}

.specialties-arrow {
    width: 48px;
    height: 48px;

    border-radius: 50%;

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

    background: var(--surface);

    color: var(--primary-deep);

    display: grid;
    place-items: center;

    cursor: pointer;

    font-size: 1.1rem;

    transition:
        transform .3s var(--ease-premium),
        background .3s ease,
        color .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.specialties-arrow:hover {
    background: var(--primary);
    color: #fff;

    border-color: var(--primary);

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(244, 183, 40, .22);
}

.specialties-arrow:active {
    transform: scale(.94);
}

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

@media (max-width: 991.98px) {

    .specialty-slide {
        flex-basis: calc((100% - 24px) / 2);
    }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .specialties-header-actions {
        width: 100%;

        justify-content: space-between;
    }

    .specialty-slide {
        flex-basis: 100%;
    }

}



/* ========================= CEO ========================= */
.ceo-card {
    overflow: hidden;
}

.ceo-image {
    width: 100%;
    height: 100%;
    min-height: 540px;
    object-fit: cover;
    background: linear-gradient(145deg, var(--accent-soft), #F4F6F8);
}

.ceo-content {
    padding: 3rem;
}

.ceo-role {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: .04em;
}

.ceo-content p {
    color: var(--muted);
    line-height: 1.8;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.tag {
    padding: .48rem .7rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--primary-dark);
    font-size: .82rem;
    font-weight: 700;
}

.qualification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qualification-list li {
    padding: .65rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
}

.qualification-list li:last-child {
    border-bottom: 0;
}

/* ========================= ABOUT ========================= */
.about-panel {
    padding: 2rem;
}

.about-panel h3 {
    color: var(--primary-deep);
    font-weight: 800;
}

.about-panel p,
.about-panel li {
    color: var(--muted);
    line-height: 1.8;
}

.about-list {
    padding-left: 1.15rem;
}

.hospital-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
}

.hospital-card i {
    color: var(--primary);
    font-size: 1.4rem;
}

.patient-first {
    background: linear-gradient(135deg, var(--primary-deep), var(--primary));
    color: #fff;
    border-radius: 28px;
    padding: 2.3rem;
    box-shadow: var(--shadow);
}

.patient-first h2 {
    font-weight: 800;
}

.patient-first p {
    color: rgba(255, 255, 255, .85);
    line-height: 1.8;
}

.text-navy {
    color: var(--primary) !important;
}
/* about-ceo */
/* ========================= CEO HIGHLIGHT ========================= */

.ceo-highlight {
    position: relative;
    overflow: hidden;
    padding: 3rem;
    border-radius: 32px;
    background:
        radial-gradient(circle at 92% 15%,
            rgba(244, 183, 40, .16),
            transparent 28%),
        radial-gradient(circle at 5% 85%,
            rgba(9, 35, 63, .06),
            transparent 30%),
        var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}


/* LEFT SIDE */

.ceo-vision {
    position: relative;
    z-index: 2;
}

.ceo-vision h2 {
    color: var(--primary-deep);
    font-weight: 800;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.15;
    margin: 1rem 0 1.5rem;
}

.ceo-vision p {
    color: var(--muted);
    line-height: 1.85;
    font-size: 1rem;
}


/* HEART LINE */

.ceo-vision-line {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-top: 2rem;
    max-width: 280px;
}

.ceo-vision-line span {
    flex: 1;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary)
    );
}

.ceo-vision-line span:last-child {
    background: linear-gradient(
        90deg,
        var(--primary),
        transparent
    );
}

.ceo-vision-line i {
    color: var(--primary);
    font-size: 1.35rem;
    animation: ceoHeartBeat 2.4s ease-in-out infinite;
}

@keyframes ceoHeartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

}


/* RIGHT CEO CARD */

.ceo-profile-card {
    position: relative;
    overflow: hidden;

    min-height: 390px;

    padding: 3rem;

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

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            var(--primary-deep),
            #123a61
        );

    color: #fff;

    box-shadow:
        0 24px 60px rgba(9, 35, 63, .22);

    transition:
        transform .4s var(--ease-premium),
        box-shadow .4s ease;
}

.ceo-profile-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 32px 75px rgba(9, 35, 63, .3);
}

/* img ceo */

    /* Main CEO Card */
    .ceo-card {
        overflow: hidden;
        border-radius: 30px;
    }


    /* Image Wrapper */
    .ceo-image-wrapper {
        width: 100%;
        height: 100%;
        min-height: 700px;
        overflow: hidden;
    }


    /* CEO Image */
    .ceo-image {
        width: 100%;
        height: 100%;
        min-height: 700px;

        display: block;

        object-fit: cover;
        object-position: center top;

        transition: transform 0.5s ease;
    }


    /* Hover Effect */
    .ceo-card:hover .ceo-image {
        transform: scale(1.03);
    }


    
/* ========================= ABOUT PANELS PREMIUM GRADIENT ========================= */

body:has(main.page-top) .about-panel {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(244, 183, 40, .13),
            transparent 32%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(9, 35, 63, .06),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .96) 0%,
            rgba(250, 249, 246, .98) 48%,
            rgba(244, 246, 248, .96) 100%
        );

    border: 1px solid rgba(244, 183, 40, .18);

    box-shadow:
        0 16px 45px rgba(9, 35, 63, .09);
}


/* TOP GOLD ACCENT */

body:has(main.page-top) .about-panel::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--primary),
            transparent
        );

    opacity: .85;
}


/* DECORATIVE GLOW */

body:has(main.page-top) .about-panel::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    right: -80px;
    bottom: -90px;

    background:
        radial-gradient(
            circle,
            rgba(244, 183, 40, .10),
            transparent 70%
        );

    pointer-events: none;

    transition: transform .5s ease;
}


/* HOVER EFFECT */

body:has(main.page-top) .about-panel:hover::after {
    transform: scale(1.25) translate(-15px, -15px);
}

body:has(main.page-top) .about-panel:hover {
    border-color: rgba(244, 183, 40, .4);

    box-shadow:
        0 24px 60px rgba(9, 35, 63, .15);
}


/* ========================= DARK MODE ========================= */

body.dark:has(main.page-top) .about-panel {
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(244, 183, 40, .12),
            transparent 32%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(244, 183, 40, .04),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #0B1D2E 0%,
            #0E263A 50%,
            #0B1D2E 100%
        );

    border-color:
        rgba(244, 183, 40, .16);
}

/* DECORATIVE GLOW */

.ceo-profile-glow {
    position: absolute;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    right: -100px;
    top: -100px;

    background:
        radial-gradient(
            circle,
            rgba(244, 183, 40, .32),
            transparent 68%
        );

    animation: ceoGlowMove 7s ease-in-out infinite;

    pointer-events: none;
}

@keyframes ceoGlowMove {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-25px, 35px) scale(1.12);
    }

}


/* ICON */

.ceo-profile-icon {
    position: relative;
    z-index: 2;

    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    margin-bottom: 1.5rem;

    border-radius: 20px;

    background:
        rgba(244, 183, 40, .15);

    border:
        1px solid rgba(244, 183, 40, .3);

    color: var(--primary);

    font-size: 1.7rem;

    transition: .35s ease;
}

.ceo-profile-card:hover .ceo-profile-icon {
    transform: rotate(-8deg) scale(1.08);
    background: var(--primary);
    color: var(--primary-deep);
}


/* TEXT */

.ceo-small-label {
    position: relative;
    z-index: 2;

    color: var(--primary);

    font-size: .75rem;
    font-weight: 800;

    letter-spacing: .12em;

    margin-bottom: .8rem;
}

.ceo-profile-card h2 {
    position: relative;
    z-index: 2;

    color: #fff;

    font-size: clamp(2rem, 3vw, 3.1rem);

    font-weight: 800;

    line-height: 1.08;

    margin-bottom: .7rem;
}

.ceo-title {
    position: relative;
    z-index: 2;

    color:
        rgba(255, 255, 255, .72);

    font-size: 1rem;

    font-weight: 600;

    margin-bottom: 2rem;
}


/* BUTTON */

.ceo-details-btn {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: .7rem;

    padding:
        .85rem 1.35rem;
}

.ceo-details-btn i {
    transition: transform .25s ease;
}

.ceo-details-btn:hover i {
    transform: translateX(5px);
}


/* ========================= DARK MODE ========================= */

body.dark .ceo-highlight {

    background:
        radial-gradient(
            circle at 92% 15%,
            rgba(244, 183, 40, .1),
            transparent 28%
        ),
        var(--surface);

    border-color:
        var(--border);
}

body.dark .ceo-profile-card {

    background:
        linear-gradient(
            135deg,
            #0B1D2E,
            #123a61
        );
}


/* ========================= RESPONSIVE ========================= */

@media (max-width: 991.98px) {

    .ceo-highlight {
        padding: 2rem;
    }

    .ceo-profile-card {
        min-height: 350px;
    }

}


@media (max-width: 767px) {

    .ceo-highlight {
        padding: 1.35rem;
        border-radius: 24px;
    }

    .ceo-vision h2 {
        font-size: 2rem;
    }

    .ceo-profile-card {
        min-height: auto;

        padding: 2rem;

        border-radius: 24px;
    }

    .ceo-profile-card h2 {
        font-size: 2.25rem;
    }

}

@media (max-width: 991.98px) {

        .ceo-image-wrapper {
            height: 520px;
            min-height: 520px;
        }

        .ceo-image {
            height: 520px;
            min-height: 520px;

            object-position: center top;
        }

    }

    @media (max-width: 767px) {

        .ceo-card {
            border-radius: 20px;
        }

        .ceo-image-wrapper {
            height: 420px;
            min-height: 420px;
        }

        .ceo-image {
            height: 420px;
            min-height: 420px;

            object-position: center top;
        }

    }
/* ========================= PARTNERS ========================= */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.partner-card {
    overflow: hidden;
    padding: 0;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.partner-card img.partner-small {
    width: 85%;
    height: 100%;
    object-fit: contain;
}

/* ========================= CONTACT / FORM ========================= */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
}

.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.form-label {
    color: var(--primary-deep);
    font-weight: 700;
    margin-bottom: .45rem;
}

.form-control,
.form-select {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: .82rem 1rem;
    background: var(--surface);
    color: var(--text);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(20, 121, 184, .10);
}

/* ========================= ANIMATIONS ========================= */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.show {
    opacity: 1;
    transform: none;
}

.delay-1 {
    transition-delay: .12s;
}

.delay-2 {
    transition-delay: .24s;
}

.delay-3 {
    transition-delay: .36s;
}

.floating {
    animation: floatCard 5s ease-in-out infinite;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}


/* ========================= FOOTER ========================= */
footer {
    background: var(--primary-deep);
    color: #F4F6F8;
}

.footer-link {
    color: #F4F6F8;
    display: block;
    margin-bottom: .65rem;
    transition: .2s;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-title {
    color: #fff;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-muted {
    color: #C8D1D9;
    line-height: 1.7;
}

.footer-form {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 24px;
    padding: 1.35rem;
}

.footer-form .form-label {
    color: #F4F6F8;
}

.footer-form .form-control {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .15);
    color: #fff;
}

.footer-form .form-control::placeholder {
    color: #C8D1D9;
}

.footer-form .form-control:focus {
    border-color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .10);
    color: #C8D1D9;
    font-size: .84rem;
}

.socials {
    display: flex;
    gap: .55rem;
}

.socials a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #F4F6F8;
    transition: .25s;
}

.socials a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    z-index: 999;
    font-size: 1.5rem;
    transition: .25s;
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
}

/* ========================= DARK MODE ========================= */
body.dark {
    --bg: #071522;
    --surface: #0B1D2E;
    --surface-2: #0E263A;
    --text: #FAF9F6;
    --muted: #B9C4CF;
    --border: #203A52;
    --primary: #F4B728;
    --primary-dark: #C88B00;
    --primary-deep: #FAF9F6;
    --accent: #F4B728;
    --accent-soft: #1B3043;
    --shadow: 0 16px 45px rgba(0, 0, 0, .28);
    --shadow-hover: 0 24px 60px rgba(0, 0, 0, .40);
}

body.dark .glass-nav {
    background: rgba(7, 21, 34, .94);
    border-bottom-color: rgba(255, 255, 255, .07);
}

body.dark .nav-link {
    color: #FAF9F6 !important;
}

body.dark .nav-link:hover,
body.dark .nav-link.active {
    color: var(--primary) !important;
}

body.dark .theme-btn {
    background: #0E263A;
    border-color: #203A52;
    color: var(--primary);
}

body.dark .hero,
body.dark .page-banner {
    background: linear-gradient(135deg, #071522, #0B1D2E);
}

body.dark .hero h1,
body.dark .section-title,
body.dark .specialty-content h3,
body.dark .detail-box h4,
body.dark .about-panel h3 {
    color: #FAF9F6;
}

body.dark .hero p,
body.dark .section-intro,
body.dark .specialty-content p,
body.dark .detail-body p,
body.dark .about-panel p,
body.dark .about-panel li {
    color: #B9C4CF;
}

body.dark .btn-outline-medical {
    color: var(--primary);
    border-color: var(--primary);
}

body.dark .btn-outline-medical:hover {
    color: #071522;
    background: var(--primary);
}

body.dark footer {
    background: #050F18;
}

/* ========================= RESPONSIVE ========================= */
@media (max-width: 1199px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-image {
        height: 520px;
    }
}

@media (max-width: 991.98px) {
    .nav-link::after {
        display: none;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-feature:nth-child(2) {
        border-right: 0;
    }

    .hero-image {
        height: 480px;
        margin-top: 1rem;
        border-radius: 30px;
    }

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

    .contact-layout {
        grid-template-columns: 1fr;
    }

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

    .ceo-content {
        padding: 2rem;
    }

    .ceo-image {
        min-height: 420px;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 72px 0;
    }

    .page-top {
        padding-top: 120px;
    }

    .logo-wrap {
        min-height: 64px;
    }

    .clinic-logo {
        width: 100px;
    }

    .hero h1 {
        font-size: 2.55rem;
    }

    .hero-image {
        height: 360px;
    }

    .hero-features {
        grid-template-columns: 1fr 1fr;
    }

    .hero-feature {
        padding: .8rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 14px;
    }

    .partner-card img {
        height: 125px;
    }

    .detail-body,
    .form-card,
    .about-panel,
    .info-card,
    .contact-card {
        padding: 1.35rem;
    }

    .detail-hero img {
        height: 280px;
    }

    .ceo-content {
        padding: 1.4rem;
    }

    .ceo-image {
        min-height: 340px;
    }

    .footer-form {
        margin-top: 1rem;
    }
}

@media (max-width: 420px) {
    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-feature {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .hero-feature:last-child {
        border-bottom: 0;
    }

    .partners-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ========================= PREMIUM MOTION POLISH ========================= */
:root {
    --ease-premium: cubic-bezier(.16, 1, .3, 1);
    --ease-soft: cubic-bezier(.25, 1, .5, 1);
}

body {
    overflow-x: hidden;
}

.glass-nav.nav-scrolled {
    box-shadow: 0 12px 35px rgba(9, 35, 63, .12);
}

.btn-medical,
.btn-outline-medical {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-medical::before,
.btn-outline-medical::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .28) 48%, transparent 75%);
    transform: translateX(-120%);
    transition: transform .65s var(--ease-premium);
    z-index: -1;
}

.btn-medical:hover::before,
.btn-outline-medical:hover::before {
    transform: translateX(120%);
}

.btn-medical:active,
.btn-outline-medical:active {
    transform: translateY(0) scale(.97);
}

.service-card,
.info-card,
.partner-card,
.contact-card,
.ceo-card,
.about-panel {
    will-change: transform;
}

.specialty-card .specialty-image {
    transition: transform .65s var(--ease-premium), filter .45s ease;
}

.specialty-card:hover .specialty-image {
    transform: scale(1.06);
    filter: saturate(1.06) contrast(1.02);
}

.specialty-card .specialty-icon {
    transition: transform .35s var(--ease-premium), background .35s ease, color .35s ease;
}

.specialty-card:hover .specialty-icon {
    transform: rotate(-6deg) scale(1.08);
    background: var(--primary);
    color: #fff;
}

.partner-card img {
    transition: transform .45s var(--ease-premium), filter .35s ease;
}

.partner-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.03);
}

.hero::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    right: 9%;
    top: 20%;
    background: var(--primary);
    box-shadow: 0 0 0 12px rgba(244, 183, 40, .08), 0 0 0 28px rgba(244, 183, 40, .04);
    animation: goldPulse 3.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes goldPulse {

    0%,
    100% {
        transform: scale(.9);
        opacity: .65
    }

    50% {
        transform: scale(1.12);
        opacity: 1
    }
}

.hero-image-wrap {
    animation: heroIn .9s var(--ease-premium) both .08s;
}

.hero .container>.row>div:first-child {
    animation: heroTextIn .75s var(--ease-premium) both;
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateX(34px) scale(.98)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateY(26px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.reveal {
    transition: opacity .65s var(--ease-premium), transform .65s var(--ease-premium);
}

.reveal.show {
    animation: revealGlow .65s var(--ease-premium) both;
}

@keyframes revealGlow {
    from {
        opacity: 0;
        transform: translateY(28px);
        filter: blur(2px)
    }

    to {
        opacity: 1;
        transform: none;
        filter: none
    }
}

.page-banner>.container {
    animation: heroTextIn .65s var(--ease-premium) both;
}

.form-control,
.form-select {
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.form-control:focus,
.form-select:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(9, 35, 63, .08), 0 0 0 .2rem rgba(244, 183, 40, .14);
}

.whatsapp-float {
    animation: whatsAppBreath 2.8s ease-in-out infinite;
}

@keyframes whatsAppBreath {

    0%,
    100% {
        box-shadow: 0 12px 30px rgba(0, 0, 0, .18)
    }

    50% {
        box-shadow: 0 16px 38px rgba(244, 183, 40, .32)
    }
}

.whatsapp-float:hover {
    animation: none;
    transform: translateY(-4px) scale(1.08);
}

body.dark .glass-nav.nav-scrolled {
    box-shadow: 0 12px 35px rgba(0, 0, 0, .35);
}

/* ========================= INNER PAGES BACKGROUND ========================= */
/* الصفحات الداخلية فقط */

body:has(main.page-top) {
    background:
        radial-gradient(circle at 8% 18%,
            rgba(244, 183, 40, 0.10),
            transparent 24%),
        radial-gradient(circle at 92% 62%,
            rgba(9, 35, 63, 0.055),
            transparent 30%),
        linear-gradient(135deg,
            #FAF9F6 0%,
            #F4F6F8 48%,
            #FAF9F6 100%);
}


/* ========================= BACKGROUND GLOW ========================= */

body:has(main.page-top)::before,
body:has(main.page-top)::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}


/* Gold Glow */

body:has(main.page-top)::before {
    width: 260px;
    height: 260px;

    top: 18%;
    left: -130px;

    background: radial-gradient(circle,
            rgba(244, 183, 40, 0.12) 0%,
            rgba(244, 183, 40, 0) 70%);

    animation: ambientFloatLeft 10s ease-in-out infinite;
}


/* Navy Glow */

body:has(main.page-top)::after {
    width: 340px;
    height: 340px;

    right: -170px;
    bottom: 10%;

    background: radial-gradient(circle,
            rgba(9, 35, 63, 0.075) 0%,
            rgba(9, 35, 63, 0) 70%);

    animation: ambientFloatRight 12s ease-in-out infinite;
}


/* ========================= BACKGROUND ANIMATIONS ========================= */

@keyframes ambientFloatLeft {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.65;
    }

    50% {
        transform: translate3d(35px, 28px, 0) scale(1.08);
        opacity: 1;
    }

}


@keyframes ambientFloatRight {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.55;
    }

    50% {
        transform: translate3d(-30px, -35px, 0) scale(1.10);
        opacity: 0.95;
    }

}


/* ========================= PAGE TOP BACKGROUND ========================= */

body:has(main.page-top) main.page-top {
    background:
        radial-gradient(circle at 86% 24%,
            rgba(244, 183, 40, 0.10),
            transparent 24%),
        linear-gradient(135deg,
            rgba(244, 246, 248, 0.75),
            rgba(250, 249, 246, 0.95));
}


/* ========================= SOFT SECTION GRADIENTS ========================= */

body:has(main.page-top) main>section:nth-of-type(even) {

    background: linear-gradient(135deg,
            rgba(244, 246, 248, 0.72),
            rgba(250, 249, 246, 0.92));

}


/* ========================= CARD ENTER ANIMATION ========================= */

body:has(main.page-top) .info-card,
body:has(main.page-top) .service-card,
body:has(main.page-top) .partner-card,
body:has(main.page-top) .contact-card,
body:has(main.page-top) .about-panel,
body:has(main.page-top) .form-card,
body:has(main.page-top) .detail-hero,
body:has(main.page-top) .ceo-card {

    animation: innerCardEnter 0.7s ease both;

}


@keyframes innerCardEnter {

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

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

}


/* ========================= DARK MODE ========================= */

body.dark:has(main.page-top) {

    background:
        radial-gradient(circle at 8% 18%,
            rgba(244, 183, 40, 0.07),
            transparent 24%),
        linear-gradient(135deg,
            #071522 0%,
            #0B1D2E 50%,
            #071522 100%);

}


body.dark:has(main.page-top) main.page-top {

    background:
        radial-gradient(circle at 86% 24%,
            rgba(244, 183, 40, 0.08),
            transparent 24%),
        linear-gradient(135deg,
            #071522,
            #0B1D2E);

}


body.dark:has(main.page-top) main>section:nth-of-type(even) {

    background: linear-gradient(135deg,
            rgba(14, 38, 58, 0.68),
            rgba(7, 21, 34, 0.78));

}

/* edit */

body:has(main.page-top) {
    position: relative;
    overflow-x: hidden;

    background:
        radial-gradient(circle at 8% 15%,
            rgba(244, 183, 40, 0.10),
            transparent 28%),
        radial-gradient(circle at 92% 75%,
            rgba(9, 35, 63, 0.06),
            transparent 30%),
        #FAF9F6;
}


/* ==========================
   FLOATING BACKGROUND BLOBS
========================== */

body:has(main.page-top)::before,
body:has(main.page-top)::after {
    content: "";
    position: fixed;

    pointer-events: none;
    z-index: -1;

    border-radius: 50%;
}


/* GOLD BLOB */

body:has(main.page-top)::before {

    width: 320px;
    height: 320px;

    top: 20%;
    left: -160px;

    background: radial-gradient(circle,
            rgba(244, 183, 40, 0.14),
            transparent 70%);

    animation: floatGoldBlob 12s ease-in-out infinite;
}


/* NAVY BLOB */

body:has(main.page-top)::after {

    width: 400px;
    height: 400px;

    bottom: 5%;
    right: -200px;

    background: radial-gradient(circle,
            rgba(9, 35, 63, 0.08),
            transparent 70%);

    animation: floatNavyBlob 15s ease-in-out infinite;
}


/* ==========================
   BLOB ANIMATIONS
========================== */

@keyframes floatGoldBlob {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, 40px) scale(1.15);
    }

}


@keyframes floatNavyBlob {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-50px, -45px) scale(1.12);
    }

}


/* ==========================
   DECORATIVE DOT PATTERN
========================== */

body:has(main.page-top) main {

    background-image:
        radial-gradient(rgba(244, 183, 40, 0.16) 1px,
            transparent 1px);

    background-size: 32px 32px;
}


/* ===============
   PAGE TOP DECORATION
=============== */

body:has(main.page-top) main.page-top {

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(circle at 90% 15%,
            rgba(244, 183, 40, 0.13),
            transparent 25%),
        linear-gradient(135deg,
            rgba(244, 246, 248, 0.75),
            rgba(250, 249, 246, 0.95));
}


/* ===============
   FLOATING CIRCLES
=============== */

body:has(main.page-top) main.page-top::before {

    content: "";

    position: absolute;

    width: 160px;
    height: 160px;

    border-radius: 50%;

    border: 1px solid rgba(244, 183, 40, 0.25);

    box-shadow:
        0 0 0 25px rgba(244, 183, 40, 0.03),
        0 0 0 50px rgba(244, 183, 40, 0.02);

    right: 7%;
    top: 10%;

    animation: floatingCircle 8s ease-in-out infinite;

    pointer-events: none;
}


/* SECOND CIRCLE */

body:has(main.page-top) main.page-top::after {

    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    border-radius: 50%;

    border: 1px solid rgba(242, 190, 69, 0.15);
    box-shadow:
        0 0 0 25px rgba(244, 183, 40, 0.03),
        0 0 0 50px rgba(244, 183, 40, 0.02);


    left: 5%;
    bottom: 10%;

    animation: floatingCircleReverse 10s ease-in-out infinite;

    pointer-events: none;
}


/* ===============
   CIRCLE ANIMATIONS
=============== */

@keyframes floatingCircle {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-25px) rotate(12deg);
    }

}


@keyframes floatingCircleReverse {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(25px) rotate(-12deg);
    }

}


/* ===============
   SECTION DECORATIONS
=============== */

body:has(main.page-top) main section {

    position: relative;

    isolation: isolate;
}


/* GOLD LIGHT ON ALTERNATING SECTIONS */

body:has(main.page-top) main section:nth-of-type(even)::before {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    top: -150px;
    right: -150px;

    background: radial-gradient(circle,
            rgba(244, 183, 40, 0.08),
            transparent 70%);

    z-index: -1;

    pointer-events: none;
}


/* ===============
   PREMIUM CARD HOVER
=============== */

body:has(main.page-top) .info-card,
body:has(main.page-top) .service-card,
body:has(main.page-top) .partner-card,
body:has(main.page-top) .contact-card,
body:has(main.page-top) .about-panel,
body:has(main.page-top) .form-card,
body:has(main.page-top) .detail-hero,
body:has(main.page-top) .ceo-card {

    position: relative;

    overflow: hidden;
}


/* SHINE EFFECT */

body:has(main.page-top) .info-card::before,
body:has(main.page-top) .service-card::before,
body:has(main.page-top) .contact-card::before,
body:has(main.page-top) .about-panel::before {

    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 60%;
    height: 100%;

    background: linear-gradient(90deg,
            transparent,
            rgba(244, 183, 40, 0.08),
            transparent);

    transform: skewX(-20deg);

    transition: left 0.8s ease;

    pointer-events: none;
}


/* CARD SHINE ON HOVER */

body:has(main.page-top) .info-card:hover::before,
body:has(main.page-top) .service-card:hover::before,
body:has(main.page-top) .contact-card:hover::before,
body:has(main.page-top) .about-panel:hover::before {

    left: 150%;
}


/* ===============
   IMAGE ANIMATION
=============== */

body:has(main.page-top) .partner-card img,
body:has(main.page-top) .ceo-image,
body:has(main.page-top) .detail-hero img {

    transition:
        transform 0.7s ease,
        filter 0.5s ease;
}


body:has(main.page-top) .partner-card:hover img,
body:has(main.page-top) .ceo-card:hover .ceo-image,
body:has(main.page-top) .detail-hero:hover img {

    transform: scale(1.05);

    filter: saturate(1.08);
}


/* =========================================================
   DARK MODE
========================================================= */

body.dark:has(main.page-top) {

    background:
        radial-gradient(circle at 8% 15%,
            rgba(244, 183, 40, 0.07),
            transparent 28%),
        radial-gradient(circle at 92% 75%,
            rgba(255, 255, 255, 0.025),
            transparent 30%),
        #071522;
}


/* DOTS IN DARK MODE */

body.dark:has(main.page-top) main {

    background-image:
        radial-gradient(rgba(244, 183, 40, 0.10) 1px,
            transparent 1px);
}


/* DARK PAGE BACKGROUND */

body.dark:has(main.page-top) main.page-top {

    background:
        radial-gradient(circle at 90% 15%,
            rgba(244, 183, 40, 0.08),
            transparent 25%),
        linear-gradient(135deg,
            #071522,
            #0B1D2E);
}


/* DARK NAVY CIRCLE */

body.dark:has(main.page-top) main.page-top::after {

    border-color:
        rgba(250, 249, 246, 0.10);
}


/* DARK SECTION LIGHT */

body.dark:has(main.page-top) main section:nth-of-type(even)::before {

    background:
        radial-gradient(circle,
            rgba(244, 183, 40, 0.05),
            transparent 70%);
}


/* DARK CARD SHINE */

body.dark:has(main.page-top) .info-card::before,
body.dark:has(main.page-top) .service-card::before,
body.dark:has(main.page-top) .contact-card::before,
body.dark:has(main.page-top) .about-panel::before {

    background: linear-gradient(90deg,
            transparent,
            rgba(244, 183, 40, 0.06),
            transparent);
}


/* =================
   ACCESSIBILITY — REDUCE MOTION
================= */

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

    body:has(main.page-top)::before,
    body:has(main.page-top)::after,
    body:has(main.page-top) main.page-top::before,
    body:has(main.page-top) main.page-top::after {

        animation: none !important;
    }

}

/* footer design */

/* =================
   PREMIUM MEDICAL FOOTER
   FLOATING GOLD ORBS + RIGHT GOLD GRADIENT
   ALL PAGES EXCEPT HOME
================= */

footer:not(.home-footer) {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    background:
        /* Soft gold glow on the right */
        radial-gradient(ellipse 58% 90% at 108% 50%,
            rgba(244, 183, 40, 0.18) 0%,
            rgba(244, 183, 40, 0.09) 40%,
            rgba(244, 183, 40, 0.02) 62%,
            transparent 78%),

        /* Soft atmosphere */
        radial-gradient(circle at 15% 25%,
            rgba(244, 183, 40, 0.06),
            transparent 40%),

        /* Main background */
        linear-gradient(135deg,
            #09233F 0%,
            #0B3157 50%,
            #09233F 100%) !important;

    background-size:
        145% 145%,
        130% 130%,
        100% 100%;

    animation: footerBackgroundFlow 20s ease-in-out infinite;
}


/* =================
   KEEP CONTENT ABOVE DECORATION
================= */

footer:not(.home-footer)>*,
footer:not(.home-footer) .container {
    position: relative;
    z-index: 3;
}


/* =================
    EXTRA CIRCLES USING BOX-SHADOW
================= */

footer:not(.home-footer)::before {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    left: -100px;
    top: 35px;

    border-radius: 50%;

    background:
        radial-gradient(circle at 32% 25%,
            rgba(255, 255, 255, 0.07) 0%,
            rgba(244, 183, 40, 0.13) 32%,
            rgba(244, 183, 40, 0.05) 62%,
            transparent 100%);

    border: 1px solid rgba(244, 183, 40, 0.42);

    box-shadow:
        0 0 45px rgba(244, 183, 40, 0.08),

        /* Medium circle */
        390px 80px 0 -110px rgba(244, 183, 40, 0.07),

        /* Small circle */
        520px 250px 0 -145px rgba(244, 183, 40, 0.13),

        /* Tiny circle */
        250px 390px 0 -150px rgba(244, 183, 40, 0.11),

        /* Another soft bubble */
        620px 420px 0 -120px rgba(244, 183, 40, 0.05);

    pointer-events: none;

    z-index: 1;

    animation: goldOrbGroupOne 18s ease-in-out infinite;
}


/* ================
    SMALL FLOATING BUBBLES
================ */

footer:not(.home-footer)::after {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    left: 23%;
    bottom: -60px;

    border-radius: 50%;

    background:
        radial-gradient(circle at 30% 25%,
            rgba(255, 255, 255, 0.09) 0%,
            rgba(244, 183, 40, 0.15) 35%,
            rgba(244, 183, 40, 0.05) 65%,
            transparent 100%);

    border: 1px solid rgba(244, 183, 40, 0.40);

    box-shadow:
        0 0 35px rgba(244, 183, 40, 0.08),

        /* Small floating circle */
        240px -150px 0 -60px rgba(244, 183, 40, 0.10),

        /* Tiny circle */
        410px -40px 0 -72px rgba(244, 183, 40, 0.09),

        /* Another small circle */
        -120px -250px 0 -65px rgba(244, 183, 40, 0.08);

    pointer-events: none;

    z-index: 1;

    animation: goldOrbGroupTwo 15s ease-in-out infinite;
}


/* ==========================
   THIRD ORB LAYER
========================== */

footer:not(.home-footer) .container::before {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    left: 42%;
    top: 25%;

    border-radius: 50%;

    background:
        radial-gradient(circle at 30% 25%,
            rgba(255, 255, 255, 0.08),
            rgba(244, 183, 40, 0.11) 40%,
            rgba(244, 183, 40, 0.03) 70%,
            transparent);

    border: 1px solid rgba(244, 183, 40, 0.30);

    box-shadow:
        0 0 25px rgba(244, 183, 40, 0.07),

        /* Extra tiny bubbles */
        160px 180px 0 -42px rgba(244, 183, 40, 0.09),
        -280px 280px 0 -48px rgba(244, 183, 40, 0.08),
        300px 90px 0 -50px rgba(244, 183, 40, 0.07);

    pointer-events: none;

    z-index: -1;

    animation: goldOrbGroupThree 22s ease-in-out infinite;
}


/* ==========================
   GLASS APPOINTMENT FORM
========================== */

footer:not(.home-footer) .footer-form {
    background: rgba(255, 255, 255, 0.075) !important;

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

    border: 1px solid rgba(255, 255, 255, 0.16) !important;

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}


/* ==========================
   INPUTS
========================== */

footer:not(.home-footer) .footer-form .form-control {
    background: rgba(255, 255, 255, 0.075) !important;

    border: 1px solid rgba(255, 255, 255, 0.16) !important;

    color: #fff !important;

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


footer:not(.home-footer) .footer-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.72) !important;
}


footer:not(.home-footer) .footer-form .form-control:focus {
    background: rgba(255, 255, 255, 0.10) !important;

    border-color: #F4B728 !important;

    box-shadow:
        0 0 0 3px rgba(244, 183, 40, 0.12) !important;

    transform: translateY(-1px);
}


/* ==========================
   SOCIAL ICONS
========================== */

footer:not(.home-footer) .socials a {
    background: rgba(255, 255, 255, 0.045);

    border: 1px solid rgba(255, 255, 255, 0.16);

    transition: all 0.3s ease;
}


footer:not(.home-footer) .socials a:hover {
    background: rgba(244, 183, 40, 0.16);

    border-color: #F4B728;

    color: #F4B728;

    box-shadow:
        0 8px 20px rgba(244, 183, 40, 0.15);

    transform:
        translateY(-4px) scale(1.06);
}


/* ==========================
   FOOTER LINKS
========================== */

footer:not(.home-footer) .footer-link {
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


footer:not(.home-footer) .footer-link:hover {
    color: #F4B728 !important;

    transform: translateX(5px);
}


/* ==========================
   BACKGROUND ANIMATION
========================== */

@keyframes footerBackgroundFlow {

    0%,
    100% {
        background-position:
            100% 50%,
            0% 0%,
            0 0;
    }

    50% {
        background-position:
            94% 55%,
            12% 10%,
            0 0;
    }
}


/* ==========================
   ORB GROUP ANIMATIONS
========================== */

@keyframes goldOrbGroupOne {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.85;
    }

    50% {
        transform: translate(40px, 25px) scale(1.05);
        opacity: 1;
    }
}


@keyframes goldOrbGroupTwo {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.82;
    }

    50% {
        transform: translate(-30px, -35px) scale(1.07);
        opacity: 1;
    }
}


@keyframes goldOrbGroupThree {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.75;
    }

    50% {
        transform: translate(35px, -25px) scale(1.08);
        opacity: 0.95;
    }
}


/* ==========================
   DARK MODE
========================== */

body.dark footer:not(.home-footer) {
    background:

        radial-gradient(ellipse 58% 90% at 108% 50%,
            rgba(244, 183, 40, 0.10) 0%,
            rgba(244, 183, 40, 0.04) 42%,
            transparent 75%),

        radial-gradient(circle at 15% 25%,
            rgba(244, 183, 40, 0.025),
            transparent 40%),

        linear-gradient(135deg,
            #071522 0%,
            #09233F 50%,
            #071522 100%) !important;
}


body.dark footer:not(.home-footer)::before,
body.dark footer:not(.home-footer)::after,
body.dark footer:not(.home-footer) .container::before {
    border-color: rgba(244, 183, 40, 0.30);
}


/* ==========================
   MOBILE
========================== */

@media (max-width: 767px) {

    footer:not(.home-footer)::before {
        width: 240px;
        height: 240px;

        left: -100px;
        top: 35px;
    }


    footer:not(.home-footer)::after {
        width: 130px;
        height: 130px;

        left: 20%;
        bottom: -40px;
    }


    footer:not(.home-footer) .container::before {
        width: 90px;
        height: 90px;

        left: 50%;
        top: 30%;
    }
}


/* ==========================
   REDUCE MOTION
========================== */

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

    footer:not(.home-footer),
    footer:not(.home-footer)::before,
    footer:not(.home-footer)::after,
    footer:not(.home-footer) .container::before {
        animation: none !important;
    }
}

/* =========================================
   SPECIALTIES SLIDER — CLEAN FINISH
========================================= */

.specialties-slider-section {
    position: relative;
    overflow: hidden;
    background: transparent !important;
}

.specialties-slider-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 2.5rem;
    padding: 0 !important;

    background: transparent !important;
}

.specialty-slide .specialty-card {
    position: relative;
    height: 100%;

    background: #FAF9F6 !important;
    border: 1px solid #D9DEE3 !important;

    border-radius: 26px !important;
    overflow: hidden !important;

    box-shadow:
        0 8px 25px rgba(9, 35, 63, 0.07) !important;

    transform: translateZ(0);
}

.specialty-slide .specialty-image {
    display: block;

    width: 100%;
    height: 235px;

    margin: 0;
    padding: 0;

    object-fit: cover;

    border: 0;
    border-radius: 0;

    transform: scale(1);
    transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}


.specialty-slide .specialty-content {
    position: relative;

    background: #FAF9F6 !important;

    padding: 1.35rem 1.35rem 1.5rem;

    border: 0 !important;
}

.specialty-slide .specialty-card::before,
.specialty-slide .specialty-card::after {
    display: none !important;
}

/* Hover */
.specialty-slide .specialty-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 40px rgba(9, 35, 63, 0.11) !important;
}

.specialty-slide .specialty-card:hover .specialty-image {
    transform: scale(1.04);
}

/* =========================================
   FIX SECTION / SLIDER BOTTOM
========================================= */

.specialties-slider-section,
.specialties-slider-wrapper,
.specialties-slider {
    background-color: transparent !important;
}

.specialties-slider {
    padding-bottom: 1px;
}

/* =========================================
   DARK MODE
========================================= */

body.dark .specialty-slide .specialty-card {
    background: #0B1D2E !important;
    border-color: #203A52 !important;
}

body.dark .specialty-slide .specialty-content {
    background: #0B1D2E !important;
}
/* =========================================
   SPECIALTIES SLIDER DOTS
========================================= */

.specialties-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    margin-top: 2rem;
}

.specialty-dot {
    width: 9px;
    height: 9px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(9, 35, 63, .18);

    cursor: pointer;

    transition:
        width .35s var(--ease-premium),
        transform .35s var(--ease-premium),
        background .35s ease,
        opacity .35s ease;
}

.specialty-dot:hover {
    transform: scale(1.2);
    background: var(--primary);
}

.specialty-dot.active {
    width: 32px;

    border-radius: 999px;

    background: var(--primary);

    box-shadow:
        0 5px 15px rgba(244, 183, 40, .28);
}


/* DARK MODE */

body.dark .specialty-dot {
    background: rgba(255, 255, 255, .22);
}

body.dark .specialty-dot.active,
body.dark .specialty-dot:hover {
    background: var(--primary);
}


/* =========================================
   PARTNERS SLIDER
========================================= */

.partners-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.partners-slider {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}


/* =========================================
   PARTNER SLIDES
========================================= */

.partner-slide {
    position: absolute;
    inset: 0;

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

    opacity: 0;
    transform: translateX(30px);

    transition:
        opacity .65s var(--ease-premium),
        transform .65s var(--ease-premium);

    pointer-events: none;
}

.partner-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}


/* =========================================
   PARTNER IMAGE
========================================= */

.partner-slide img {
    width: 100%;
    height: 150px;

    object-fit: contain;
    object-position: center;

    display: block;

    transition:
        transform .45s var(--ease-premium),
        filter .35s ease;
}


/* =========================================
   IMAGE HOVER
========================================= */

.partner-slide:hover img {
    transform: scale(1.05);
    filter: brightness(1.03);
}


/* =========================================
   PARTNERS DOTS
========================================= */

.partners-dots {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 10px;

    margin-top: 2rem;
}


/* Individual Dot */

.partner-dot {
    width: 9px;
    height: 9px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(9, 35, 63, .18);

    cursor: pointer;

    transition:
        width .35s var(--ease-premium),
        transform .35s var(--ease-premium),
        background .35s ease,
        opacity .35s ease;
}


/* Dot Hover */

.partner-dot:hover {
    transform: scale(1.2);
    background: var(--primary);
}


/* Active Dot */

.partner-dot.active {
    width: 32px;

    border-radius: 999px;

    background: var(--primary);

    box-shadow:
        0 5px 15px rgba(244, 183, 40, .28);
}


/* =========================================
   DARK MODE
========================================= */

body.dark .partner-dot {
    background: rgba(255, 255, 255, .22);
}

body.dark .partner-dot.active,
body.dark .partner-dot:hover {
    background: var(--primary);
}


/* =========================================
   DARK MODE IMAGE
========================================= */

body.dark .partner-slide img {
    filter: none;
}

body.dark .partner-slide:hover img {
    filter: brightness(1.08);
}


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

@media (max-width: 991.98px) {

    .partners-slider {
        height: 140px;
    }

    .partner-slide img {
        height: 140px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .partners-slider {
        height: 125px;
    }

    .partner-slide img {
        height: 125px;
    }

    .partners-dots {
        gap: 8px;
        margin-top: 1.5rem;
    }

    .partner-dot {
        width: 8px;
        height: 8px;
    }

    .partner-dot.active {
        width: 26px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 420px) {

    .partners-slider {
        height: 110px;
    }

    .partner-slide img {
        height: 110px;
    }

    .partners-dots {
        gap: 7px;
    }

    .partner-dot {
        width: 7px;
        height: 7px;
    }

    .partner-dot.active {
        width: 23px;
    }

}


/* =========================================
   REDUCE MOTION
========================================= */

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

    .partner-slide,
    .partner-slide img,
    .partner-dot {
        transition: none !important;
    }

}