/* ============================================================
   FEP Healthcare - Main Stylesheet
   Brand Colors: #37b2d3 (Sky Blue), #5e6a9e (Indigo)
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
    --primary:       #37b2d3;
    --primary-dark:  #2a90ab;
    --primary-light: #d0f0f9;
    --secondary:     #5e6a9e;
    --secondary-dark:#4a5480;
    --secondary-light:#e8eaf6;
    --white:         #ffffff;
    --off-white:     #f8fafd;
    --light-gray:    #f0f4f8;
    --mid-gray:      #9aa5b4;
    --dark:          #1a2340;
    --text-body:     #3d4a5c;
    --text-light:    #6b7a8d;

    --gradient-primary:   linear-gradient(135deg, #37b2d3 0%, #5e6a9e 100%);
    --gradient-soft:      linear-gradient(135deg, rgba(55,178,211,0.08) 0%, rgba(94,106,158,0.08) 100%);
    --gradient-hero:      linear-gradient(135deg, rgba(26,35,64,0.82) 0%, rgba(55,178,211,0.55) 100%);

    --shadow-sm:   0 2px 8px rgba(55,178,211,0.10);
    --shadow-md:   0 8px 32px rgba(55,178,211,0.15);
    --shadow-lg:   0 20px 60px rgba(55,178,211,0.20);
    --shadow-card: 0 4px 24px rgba(26,35,64,0.08);

    --radius-sm:  8px;
    --radius-md:  16px;
    --radius-lg:  24px;
    --radius-xl:  40px;

    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.18s ease;

    --font-display: 'Playfair Display', serif;
    --font-body:    'DM Sans', sans-serif;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--dark);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p {
    color: var(--text-body);
    line-height: 1.8;
}

/* ── Section Spacing ── */
section {
    position: relative;
    overflow: hidden;
}

.section-pad {
    padding: 100px 0;
}

.section-pad-sm {
    padding: 60px 0;
}

/* ── Section Headings ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.25;
}

.section-title span {
    color: var(--primary);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.8;
}

.section-heading-center {
    text-align: center;
    margin-bottom: 64px;
}

.section-heading-center .section-label {
    justify-content: center;
}

.section-heading-center .section-desc {
    margin: 0 auto;
}

/* ── Buttons ── */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(55,178,211,0.35);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #5e6a9e 0%, #37b2d3 100%);
    opacity: 0;
    transition: var(--transition);
}

.btn-primary-custom:hover::before {
    opacity: 1;
}

.btn-primary-custom span,
.btn-primary-custom i {
    position: relative;
    z-index: 1;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(55,178,211,0.45);
    color: var(--white);
}

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--primary);
    padding: 13px 30px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-white-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--dark);
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(255,255,255,0.25);
}

.btn-white-custom:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ── Navbar ── */
#mainNav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}

#mainNav.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 32px rgba(55,178,211,0.12);
}

.navbar-brand img {
    height: 86px;
    width: auto;
    transition: var(--transition);
}

#mainNav.scrolled .navbar-brand img {
    height: 88px;
}

.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255,255,255,0.92);
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition-fast);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

#mainNav.scrolled .navbar-nav .nav-link {
    color: var(--text-body);
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
}

#mainNav.scrolled .navbar-nav .nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-cta {
    background: var(--gradient-primary) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 16px rgba(55,178,211,0.35);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(55,178,211,0.5) !important;
    background: var(--secondary) !important;
}

.navbar-toggler {
    border: 2px solid rgba(255,255,255,0.5);
    padding: 6px 10px;
    border-radius: 8px;
}

#mainNav.scrolled .navbar-toggler {
    border-color: var(--primary);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mainNav.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2337b2d3' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Preloader ── */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    animation: preloaderPulse 1.4s ease-in-out infinite;
    margin: 0 auto 20px;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--light-gray);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar-inner {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: preloaderBar 1.6s ease forwards;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.8; }
}

@keyframes preloaderBar {
    from { width: 0; }
    to { width: 100%; }
}

/* ── Scroll To Top ── */
#scrollTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollTop:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ── Hero Slider ── */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    transition: opacity 1.2s ease, transform 8s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

/* .hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
} */

/* .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 28px;
    border: 1px solid rgba(255,255,255,0.25);
    animation: fadeInDown 0.8s ease both;
} */

.hero-title {
    color: var(--white);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.9s ease 0.2s both;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    color: rgba(255,255,255,0.88);
    font-size: 1.1rem;
    max-width: 540px;
    margin-bottom: 40px;
    animation: fadeInUp 0.9s ease 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.9s ease 0.6s both;
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero-dot.active {
    width: 28px;
    border-radius: 4px;
    background: var(--primary);
}

/* Hero floating shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(55,178,211,0.12);
    z-index: 5;
    animation: floatShape 6s ease-in-out infinite;
}

.hero-shape-1 {
    width: 280px;
    height: 280px;
    top: 15%;
    right: 8%;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 160px;
    height: 160px;
    bottom: 20%;
    right: 18%;
    background: rgba(94,106,158,0.14);
    animation-delay: 2s;
}

.hero-shape-3 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 22%;
    background: rgba(255,255,255,0.08);
    animation-delay: 4s;
}

/* ── Background Blobs / Decorative Elements ── */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    z-index: 0;
    pointer-events: none;
}

.bg-blob-primary {
    background: rgba(55,178,211,0.12);
}

.bg-blob-secondary {
    background: rgba(94,106,158,0.10);
}

.bg-circle-outline {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(55,178,211,0.15);
    z-index: 0;
    pointer-events: none;
}

.bg-dots {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
    background-image: radial-gradient(circle, var(--primary) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ── About Preview ── */
.about-preview {
    background: var(--white);
}

.about-image-collage {
    position: relative;
    height: 520px;
}

.collage-img {
    position: absolute;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.collage-img-main {
    width: 68%;
    height: 74%;
    top: 0;
    left: 0;
    z-index: 2;
}

.collage-img-secondary {
    width: 48%;
    height: 52%;
    bottom: 0;
    right: 0;
    z-index: 3;
    border: 4px solid var(--white);
}

.collage-badge {
    position: absolute;
    bottom: 28%;
    left: 4%;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
    z-index: 4;
    min-width: 160px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.collage-badge-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.collage-badge-text strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
    font-family: var(--font-display);
}

.collage-badge-text span {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.about-value-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.about-value-item:hover .about-value-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotate(6deg);
}

.about-value-item h5 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--dark);
}

/* ── Services Overview ── */
.services-overview {
    background: var(--off-white);
}

.service-flip-card {
    perspective: 1000px;
    height: 360px;
    cursor: pointer;
}

.service-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4,0.2,0.2,1);
    transform-style: preserve-3d;
}

.service-flip-card:hover .service-flip-inner {
    transform: rotateY(180deg);
}

.service-flip-front,
.service-flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-md);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-flip-front {
    background: var(--white);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(55,178,211,0.08);
}

.service-flip-back {
    background: var(--gradient-primary);
    transform: rotateY(180deg);
    justify-content: center;
    align-items: flex-start;
    box-shadow: var(--shadow-lg);
}

.service-icon-wrap {
    width: 72px;
    height: 72px;
    background: var(--gradient-soft);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-icon-wrap i {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-flip-front h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.service-flip-front p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
}

.service-flip-back h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-flip-back p {
    color: rgba(255,255,255,0.88);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.service-flip-back .btn-white-custom {
    font-size: 0.85rem;
    padding: 10px 22px;
}

.service-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: rgba(55,178,211,0.1);
    line-height: 1;
}

/* ── Why Choose Us ── */
.why-us-section {
    background: var(--white);
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    border: 1px solid rgba(55,178,211,0.1);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(55,178,211,0.25);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.why-icon i {
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--gradient-primary);
}

.why-card:hover .why-icon i {
    color: var(--white);
    transform: scale(1.1);
}

.why-card h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* ── Care Journey Section ── */
.care-journey {
    background: var(--dark);
    color: var(--white);
}

.journey-step {
    position: relative;
    text-align: center;
    padding: 0 16px;
}

.journey-step-num {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-display);
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(55,178,211,0.4);
}

.journey-step-line {
    position: absolute;
    top: 36px;
    left: calc(50% + 36px);
    right: calc(-50% + 36px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    z-index: 1;
}

.journey-step h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.journey-step p {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
}

/* ── Testimonials ── */
.testimonials-section {
    background: var(--off-white);
}

.testimonial-slider-wrap {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 36px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(55,178,211,0.08);
    min-width: 100%;
    position: relative;
}

.testimonial-quote {
    font-size: 4rem;
    line-height: 1;
    color: var(--primary);
    font-family: var(--font-display);
    margin-bottom: 16px;
    opacity: 0.25;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.85;
    font-style: italic;
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-display);
    flex-shrink: 0;
}

.testimonial-author-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.95rem;
    display: block;
}

.testimonial-author-role {
    font-size: 0.82rem;
    color: var(--text-light);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.testi-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
}

.testi-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.testi-btn:hover {
    background: var(--primary);
    color: var(--white);
}

/* ── Partners Logos ── */
.partners-section {
    background: var(--white);
    padding: 60px 0;
    overflow: hidden;
}

.partners-track {
    display: flex;
    gap: 60px;
    animation: scrollLogos 22s linear infinite;
    width: max-content;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 56px;
    filter: grayscale(1) opacity(0.45);
    transition: var(--transition);
    flex-shrink: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--mid-gray);
    letter-spacing: 0.05em;
}

.partner-logo:hover {
    filter: grayscale(0) opacity(1);
    color: var(--primary);
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── CTA Banner ── */
.cta-banner {
    background: var(--gradient-primary);
    position: relative;
    padding: 90px 0;
    overflow: hidden;
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-banner p {
    color: rgba(255,255,255,0.88);
    font-size: 1.1rem;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Footer ── */
.site-footer {
    background: var(--dark);
    padding: 55px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-brand .footer-logo {
    height: 56px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 24px;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(55,178,211,0.2);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.5;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-contact-icon {
    width: 38px;
    height: 38px;
    background: rgba(55,178,211,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.footer-contact-item p {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

.footer-contact-item strong {
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    display: block;
    margin-bottom: 2px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 20px 0;
    margin-top: 60px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    margin: 0;
}

/* ── Inner Hero (Sub-pages) ── */
/* ── Inner Hero (Sub-pages) ── */
.inner-hero {
    position: relative;
    padding: 200px 0 110px;
    overflow: hidden;
    text-align: center;

    /* Default background image — overridden per page via modifier classes */
    background-image: url('assets/images/inner-hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

/* ── Per-page background images ── */
.inner-hero--about {
    background-image: url('../images//hero-about.jpg');
    background-position: center 30%;
}

.inner-hero--services {
    background-image: url('../images/hero-services.jpg');
    background-position: center 40%;
}

.inner-hero--contact {
    background-image: url('../images/hero-contact.jpg');
    background-position: center 35%;
}

.inner-hero--appointment {
    background-image: url('../images/hero-appointment.png');
    background-position: center 25%;
}

/* ── Dual-layer overlay ──
   Layer 1 (bottom): deep dark gradient for readability
   Layer 2 (top):    brand colour tint for identity           */
.inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 35, 64, 0.82) 0%,
        rgba(26, 35, 64, 0.65) 50%,
        rgba(55, 178, 211, 0.45) 100%
    );
    z-index: 1;
}

.inner-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 35, 64, 0.30) 0%,
        rgba(26, 35, 64, 0.10) 40%,
        rgba(26, 35, 64, 0.55) 100%
    );
    z-index: 2;
}

/* ── All direct children sit above both overlay layers ── */
.inner-hero > * {
    position: relative;
    z-index: 3;
}

/* ── Decorative background blobs (sit above bg image, below overlay) ──
   We give them their own stacking so they show through the tint       */
.inner-hero .bg-blob,
.inner-hero .bg-dots {
    z-index: 3;
    pointer-events: none;
}

/* ── Content ── */
.inner-hero h1 {
    color: var(--white);
    margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.inner-hero p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

/* ── Section label inside inner hero ── */
.inner-hero .section-label {
    color: rgba(255, 255, 255, 0.82);
    justify-content: center;
    margin-bottom: 18px;
}

.inner-hero .section-label::before {
    background: rgba(255, 255, 255, 0.6);
}

/* ── Breadcrumb ── */
.breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    font-size: 0.88rem;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 8px 20px;
    border-radius: 50px;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
    color: var(--white);
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.7rem;
}

.breadcrumb-current {
    color: var(--white);
    font-weight: 600;
}

/* ── Decorative bottom fade (blends hero into next section) ── */
.inner-hero .inner-hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(248, 250, 253, 0.25));
    z-index: 4;
    pointer-events: none;
}

/* ── About Page ── */
.mission-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(55,178,211,0.08);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mission-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.timeline-section {
    background: var(--off-white);
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 27px;
    top: 56px;
    bottom: -48px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

.timeline-dot {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-family: var(--font-display);
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(55,178,211,0.35);
}

.timeline-content {
    padding-top: 12px;
}

.timeline-content h4 {
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 8px;
}

/* ── Services Page ── */
.service-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(55,178,211,0.08);
    transition: var(--transition);
    height: 100%;
}

.service-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-detail-card-head {
    background: var(--gradient-primary);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
}

.service-detail-card-head i {
    font-size: 2.8rem;
    color: rgba(255,255,255,0.3);
    position: absolute;
    right: 24px;
    top: 24px;
}

.service-detail-card-head h3 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.service-detail-card-body {
    padding: 28px;
}

.service-feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.service-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-body);
}

.service-feature-list li i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

/* FAQ Accordion */
.faq-item {
    border: 1px solid rgba(55,178,211,0.12);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--transition-fast);
    user-select: none;
}

.faq-question:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.faq-question.open {
    background: var(--gradient-primary);
    color: var(--white);
}

.faq-icon {
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.faq-question.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: var(--off-white);
    padding: 0 24px;
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.8;
}

.faq-answer.open {
    max-height: 400px;
    padding: 20px 24px;
}

/* ── Contact Page ── */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(55,178,211,0.1);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(55,178,211,0.25);
}

.contact-card-icon {
    width: 68px;
    height: 68px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(55,178,211,0.3);
}

.contact-info-card h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-form-section {
    background: var(--white);
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 44px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(55,178,211,0.08);
}

.form-control-custom {
    width: 100%;
    padding: 14px 20px;
    border: 1.5px solid rgba(55,178,211,0.2);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition-fast);
    outline: none;
}

.form-control-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(55,178,211,0.1);
}

.form-control-custom::placeholder {
    color: var(--text-light);
}

.form-label-custom {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group-custom {
    margin-bottom: 24px;
}

/* ── Appointment Page ── */
.appointment-form-section {
    background: var(--off-white);
}

.appt-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 52px 48px;
    box-shadow: var(--shadow-lg);
}

.appt-step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--light-gray);
}

.appt-step-num {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.appt-step-header h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.select-custom {
    width: 100%;
    padding: 14px 20px;
    border: 1.5px solid rgba(55,178,211,0.2);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition-fast);
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2337b2d3' d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

.select-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(55,178,211,0.1);
}

.success-message {
    display: none;
    text-align: center;
    padding: 48px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto 24px;
    box-shadow: 0 12px 36px rgba(55,178,211,0.4);
}

/* ── Hours Card ── */
.hours-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(55,178,211,0.1);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.9rem;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-day {
    color: var(--text-body);
    font-weight: 500;
}

.hours-time {
    color: var(--primary);
    font-weight: 600;
}

.hours-closed {
    color: var(--text-light);
}

/* ── Map Section ── */
.map-section {
    height: 420px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ── Glassmorphism Panels ── */
.glass-panel {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(55,178,211,0.12);
}

/* ── Animations ── */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(4deg); }
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ── Scroll Animations ── */
.anim-fade-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-fade-left {
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-fade-right {
    opacity: 0;
    transform: translateX(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-visible {
    opacity: 1 !important;
    transform: none !important;
}

/* Stagger delays */
.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }
.anim-delay-5 { transition-delay: 0.5s; }
.anim-delay-6 { transition-delay: 0.6s; }

/* ── NDIS Badge ── */
.ndis-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(55,178,211,0.3);
}

/* ── Dividers ── */
.divider-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 2;
    line-height: 0;
}

.divider-wave svg {
    display: block;
    width: 100%;
}

/* ── Misc Utilities ── */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-soft {
    background: var(--gradient-soft);
}

.rounded-custom {
    border-radius: var(--radius-md) !important;
}

.shadow-custom {
    box-shadow: var(--shadow-card) !important;
}

/* ── Notify Badge ── */
.pulse-dot {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.3;
    animation: pulse-ring 2s ease infinite;
}

/* ── Process Steps (Services page) ── */
.process-step {
    text-align: center;
    position: relative;
    padding: 0 12px;
}

.process-icon-wrap {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid rgba(55,178,211,0.2);
    transition: var(--transition);
}

.process-step:hover .process-icon-wrap {
    background: var(--gradient-primary);
    border-color: transparent;
}

.process-icon-wrap i {
    font-size: 1.7rem;
    color: var(--primary);
    transition: var(--transition);
}

.process-step:hover .process-icon-wrap i {
    color: var(--white);
}

.process-step h5 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ── Leadership Card ── */
.leader-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    text-align: center;
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.leader-avatar {
    width: 100%;
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3.5rem;
    font-family: var(--font-display);
}

.leader-info {
    padding: 24px 20px;
}

.leader-info h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.leader-info span {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
}
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    transition: opacity 1.2s ease, transform 8s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: none;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    /* padding: 140px 0 100px; */
}

/* Active slide content */
.hero-content.active {
    display: flex;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    /* margin-bottom: 28px; */
    border: 1px solid rgba(255,255,255,0.25);
    animation: fadeInDown 0.8s ease both;
}

.hero-title {
    color: var(--white);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.9s ease 0.2s both;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    color: rgba(255,255,255,0.88);
    font-size: 1.1rem;
    max-width: 540px;
    margin-bottom: 40px;
    animation: fadeInUp 0.9s ease 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.9s ease 0.6s both;
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero-dot.active {
    width: 28px;
    border-radius: 4px;
    background: var(--primary);
}

/* Hero floating shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(55,178,211,0.12);
    z-index: 5;
    animation: floatShape 6s ease-in-out infinite;
}

.hero-shape-1 {
    width: 280px;
    height: 280px;
    top: 15%;
    right: 8%;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 160px;
    height: 160px;
    bottom: 20%;
    right: 18%;
    background: rgba(94,106,158,0.14);
    animation-delay: 2s;
}

.hero-shape-3 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 22%;
    background: rgba(255,255,255,0.08);
    animation-delay: 4s;
}
/* Hero Content Animation Classes */
.hero-content-fade-out {
    animation: heroContentFadeOut 0.4s ease forwards;
}

.hero-content-fade-in {
    animation: heroContentFadeIn 0.6s ease forwards;
}

@keyframes heroContentFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes heroContentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced hero title highlight */
.hero-title .highlight {
    position: relative;
    display: inline-block;
}

.hero-title .highlight::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--primary);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}/* Hero Content Wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
}




.hero-content.active {
    opacity: 1;
    visibility: visible;
}

/* Fade animations for content */
.hero-content-fade-out {
    animation: heroFadeOut 0.4s ease forwards;
}

.hero-content-fade-in {
    animation: heroFadeIn 0.5s ease forwards;
}

@keyframes heroFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-15px);
    }
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure hero title stays within 2 lines */
.hero-title {
    line-height: 1.2;
    max-width: 100%;
    margin-bottom: 20px;
}

.hero-title br {
    display: block;
}

/* Enhanced hero title highlight */
.hero-title .highlight {
    position: relative;
    display: inline-block;
}

.hero-title .highlight::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--primary);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}

/* Hero section height fix */


/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
}

/* ── Background Blobs / Decorative Elements ── */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    z-index: 0;
    pointer-events: none;
}

.bg-blob-primary {
    background: rgba(55,178,211,0.12);
}

.bg-blob-secondary {
    background: rgba(94,106,158,0.10);
}

.bg-circle-outline {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(55,178,211,0.15);
    z-index: 0;
    pointer-events: none;
}

.bg-dots {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
    background-image: radial-gradient(circle, var(--primary) 1px, transparent 1px);
    background-size: 24px 24px;
}
/* ===== SIMPLE CLEAN DROPDOWN ===== */

.navbar .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar .dropdown-toggle::after {
    margin-left: 2px;
    vertical-align: middle;
}

.services-dropdown {
    position: relative;
}

.services-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    position: relative;
}
.dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.35s ease;
}

.services-dropdown.show .dropdown-icon {
    transform: rotate(180deg);
}

.navbar .dropdown-menu {
    border: none;
    border-radius: 16px;
    padding: 12px;
    min-width: 260px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    animation: fadeDropdown 0.25s ease;
}

.navbar .dropdown-item {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
    background: #f4f8ff;
    transform: translateX(4px);
    color: #37b2d3;
}

@keyframes fadeDropdown {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ============================================
   Realistic Healthcare Features Section
   ============================================ */

.healthcare-features {
    position: relative;
    background: #f8fafc;
    padding: 80px 0;
    margin-top: -30px;
    border-radius: 0 0 40px 40px;
}

@media (max-width: 991px) {
    .healthcare-features {
        padding: 60px 0;
        margin-top: -20px;
        border-radius: 0 0 30px 30px;
    }
}

@media (max-width: 768px) {
    .healthcare-features {
        padding: 50px 0;
        margin-top: 0;
        border-radius: 0;
    }
}

/* Feature Card */
.healthcare-feature-card {
    background: white;
    border-radius: 24px;
    padding: 32px 28px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e8edf2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.healthcare-feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 24px rgba(55, 178, 211, 0.08);
}

/* Feature Icon */
.healthcare-feature-icon {
    margin-bottom: 24px;
}

.feature-icon-circle {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(55, 178, 211, 0.1) 0%, rgba(94, 106, 158, 0.1) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-icon-circle i {
    font-size: 1.8rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.healthcare-feature-card:hover .feature-icon-circle {
    background: var(--gradient-primary);
    transform: scale(1.05);
}

.healthcare-feature-card:hover .feature-icon-circle i {
    color: white;
}

/* Feature Title */
.healthcare-feature-title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Feature Description */
.healthcare-feature-desc {
    color: #5a6e85;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Footer */
.healthcare-feature-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #eef2f6;
}

.feature-availability {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    background: #e8f4f8;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.feature-learn-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s ease;
}

.feature-learn-more:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .healthcare-feature-card {
        padding: 28px 24px;
    }
    
    .healthcare-feature-title {
        font-size: 1.1rem;
    }
    
    .healthcare-feature-desc {
        font-size: 0.85rem;
    }
    
    .feature-icon-circle {
        width: 56px;
        height: 56px;
    }
    
    .feature-icon-circle i {
        font-size: 1.5rem;
    }
}

/* ============================================
   CTA Banner with Background Image
   ============================================ */

/* Option 1 CSS - Simple Background */
.cta-banner {
    position: relative;
    background: var(--gradient-primary);
    padding: 90px 0;
    overflow: hidden;
}

.cta-banner[style*="background-image"] {
    background: none;
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26,35,64,0.85) 0%, rgba(55,178,211,0.75) 100%);
    z-index: 1;
}
/* Enhanced Service Flip Cards - Image on Front */
.service-flip-card {
    perspective: 1000px;
    height: 420px;
    cursor: pointer;
}

.service-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

.service-flip-card:hover .service-flip-inner {
    transform: rotateY(180deg);
}

.service-flip-front,
.service-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 24px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}

/* Front Side with Image */
.service-flip-front {
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.service-flip-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: 24px;
    z-index: 0;
}

.service-flip-front .service-number,
.service-flip-front .service-icon-wrap,
.service-flip-front h4,
.service-flip-front p {
    position: relative;
    z-index: 2;
}

.service-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
}

.service-icon-wrap {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
/* Enhanced Service Flip Cards - Image on Front with Visible Icons */
.service-flip-card {
    perspective: 1000px;
    height: 420px;
    cursor: pointer;
}

.service-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

.service-flip-card:hover .service-flip-inner {
    transform: rotateY(180deg);
}

.service-flip-front,
.service-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 24px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}

/* Front Side with Image */
.service-flip-front {
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

/* Darker overlay for better text/icon visibility */
.service-flip-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    border-radius: 24px;
    z-index: 0;
}

.service-flip-front .service-number,
.service-flip-front .service-icon-wrap,
.service-flip-front h4,
.service-flip-front p {
    position: relative;
    z-index: 2;
}

.service-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
}

/* Icon wrapper - More prominent */
.service-icon-wrap {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.service-flip-card:hover .service-icon-wrap {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

/* Icon color - Bright white for visibility */
.service-icon-wrap i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.service-flip-front h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.service-flip-front p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    margin-bottom: 0;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

/* Back Side */
.service-flip-back {
    background: white;
    transform: rotateY(180deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(55, 178, 211, 0.08);
}

.flip-back-content {
    width: 100%;
}

.flip-back-content h4 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-body);
}

.service-features-list li i {
    color: var(--primary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.flip-back-content .btn-white-custom {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 24px;
    font-size: 0.85rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
}

.flip-back-content .btn-white-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(55, 178, 211, 0.3);
    gap: 12px;
}

/* Responsive */
@media (max-width: 991px) {
    .service-flip-card {
        height: 400px;
    }
    
    .service-flip-front,
    .service-flip-back {
        padding: 28px 24px;
    }
    
    .service-flip-front h4 {
        font-size: 1.2rem;
    }
    
    .service-icon-wrap {
        width: 70px;
        height: 70px;
    }
    
    .service-icon-wrap i {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .service-flip-card {
        height: 380px;
    }
    
    .service-flip-front,
    .service-flip-back {
        padding: 24px 20px;
    }
    
    .service-icon-wrap {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .service-icon-wrap i {
        font-size: 1.5rem;
    }
}

/* Touch device fallback */
@media (hover: none) {
    .service-flip-card:focus-within .service-flip-inner,
    .service-flip-card.touched .service-flip-inner {
        transform: rotateY(180deg);
    }
}

.service-icon-wrap i {
    font-size: 1.8rem;
    color: white;
}

.service-flip-front h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: white;
}

.service-flip-front p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Back Side */
.service-flip-back {
    background: white;
    transform: rotateY(180deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(55, 178, 211, 0.08);
}

.flip-back-content {
    width: 100%;
}

.flip-back-content h4 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-body);
}

.service-features-list li i {
    color: var(--primary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.flip-back-content .btn-white-custom {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 24px;
    font-size: 0.85rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
}

.flip-back-content .btn-white-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(55, 178, 211, 0.3);
    gap: 12px;
}

/* Responsive */
@media (max-width: 991px) {
    .service-flip-card {
        height: 400px;
    }
    
    .service-flip-front,
    .service-flip-back {
        padding: 28px 24px;
    }
    
    .service-flip-front h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .service-flip-card {
        height: 380px;
    }
    
    .service-flip-front,
    .service-flip-back {
        padding: 24px 20px;
    }
}

/* Touch device fallback */
@media (hover: none) {
    .service-flip-card:focus-within .service-flip-inner,
    .service-flip-card.touched .service-flip-inner {
        transform: rotateY(180deg);
    }
}
/* ============================================
   Premium Community Nursing Section - FIXED
   ============================================ */

/* Hero Banner */
.nursing-hero-banner {
    margin-bottom: 50px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.nursing-hero-image {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.nursing-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.nursing-hero-banner:hover .nursing-hero-image img {
    transform: scale(1.05);
}

.nursing-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26,35,64,0.7) 0%, rgba(55,178,211,0.6) 100%);
}

.nursing-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: white;
}

.hero-badge-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-badge-icon i {
    font-size: 1rem;
}

.nursing-hero-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.nursing-hero-content h3 span {
    color: var(--primary);
}

.nursing-hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}

/* Trust Badges */
.nursing-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f7fa;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.trust-badge i {
    font-size: 0.9rem;
}

/* Highlight Card */
.nursing-highlight-card {
    background: var(--gradient-primary);
    border-radius: 28px;
    padding: 32px;
    color: white;
    height: 100%;
    transition: transform 0.3s ease;
}

.nursing-highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.highlight-icon i {
    font-size: 1.8rem;
    color: white;
}

.nursing-highlight-card h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.nursing-highlight-card p {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.highlight-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.stat-label {
    font-size: 0.7rem;
    opacity: 0.8;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.2);
}

/* Section Subheading */
.section-subheading {
    text-align: center;
    margin-bottom: 40px;
}

.subheading-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-subheading h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

.section-subheading h3 span {
    color: var(--primary);
}

/* ============================================
   Premium Community Nursing Section - FIXED
   Only Hovered Card Lifts
   ============================================ */

/* Hero Banner */
.nursing-hero-banner {
    margin-bottom: 50px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.nursing-hero-image {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.nursing-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.nursing-hero-banner:hover .nursing-hero-image img {
    transform: scale(1.05);
}

.nursing-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26,35,64,0.7) 0%, rgba(55,178,211,0.6) 100%);
}

.nursing-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: white;
}

.hero-badge-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-badge-icon i {
    font-size: 1rem;
}

.nursing-hero-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.nursing-hero-content h3 span {
    color: var(--primary);
}

.nursing-hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}

/* Trust Badges */
.nursing-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f7fa;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.trust-badge i {
    font-size: 0.9rem;
}

/* Highlight Card */
.nursing-highlight-card {
    background: var(--gradient-primary);
    border-radius: 28px;
    padding: 32px;
    color: white;
    height: 100%;
    transition: transform 0.3s ease;
}

.nursing-highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.highlight-icon i {
    font-size: 1.8rem;
    color: white;
}

.nursing-highlight-card h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.nursing-highlight-card p {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.highlight-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.stat-label {
    font-size: 0.7rem;
    opacity: 0.8;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.2);
}

/* Section Subheading */
.section-subheading {
    text-align: center;
    margin-bottom: 40px;
}

.subheading-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-subheading h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

.section-subheading h3 span {
    color: var(--primary);
}

/* ========== FIXED: Premium Cards - Individual Hover Only ========== */
.nursing-premium-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

/* CRITICAL FIX: Only the hovered card lifts - no sibling effects */
.nursing-premium-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(55,178,211,0.15);
    border: 1px solid var(--primary);
}

/* Ensure no other cards are affected */
.col-lg-4 .nursing-premium-card,
.col-md-6 .nursing-premium-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.col-lg-4 .nursing-premium-card:hover,
.col-md-6 .nursing-premium-card:hover {
    transform: translateY(-8px);
}

/* Prevent any global row hover effects */
.row.g-4 {
    --bs-gutter-y: 0;
}

.row.g-4 > [class*="col-"] {
    transition: none;
}

/* Card Image Wrapper */
.card-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.nursing-premium-card:hover .card-image-wrapper img {
    transform: scale(1.08);
}

/* Icon Overlay - Always Visible */
.card-icon-overlay {
    position: absolute;
    bottom: 15px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(55,178,211,0.3);
    z-index: 10;
    pointer-events: none;
}

.card-icon-overlay i {
    font-size: 1.3rem;
    color: white;
}

/* Card Content */
.card-content {
    padding: 28px 20px 20px;
}

.card-content h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.card-content > p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Hover Details - Only expands on hovered card */
.card-hover-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.nursing-premium-card:hover .card-hover-details {
    max-height: 120px;
    margin-top: 15px;
}

.card-hover-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-hover-details ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.card-hover-details ul li i {
    color: var(--primary);
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 991px) {
    .nursing-hero-image {
        height: 300px;
    }
    
    .nursing-hero-content {
        padding: 30px;
    }
    
    .nursing-hero-content h3 {
        font-size: 1.6rem;
    }
    
    .section-subheading h3 {
        font-size: 1.5rem;
    }
    
    .card-image-wrapper {
        height: 180px;
    }
    
    .card-icon-overlay {
        width: 45px;
        height: 45px;
        bottom: 12px;
        right: 15px;
    }
    
    .card-icon-overlay i {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .nursing-hero-image {
        height: 250px;
    }
    
    .nursing-hero-content {
        padding: 20px;
    }
    
    .nursing-hero-content h3 {
        font-size: 1.3rem;
    }
    
    .nursing-hero-content p {
        font-size: 0.85rem;
    }
    
    .hero-badge-icon {
        padding: 5px 12px;
        font-size: 0.7rem;
    }
    
    .nursing-trust-badges {
        gap: 10px;
    }
    
    .trust-badge {
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    
    .card-image-wrapper {
        height: 160px;
    }
    
    .card-icon-overlay {
        width: 40px;
        height: 40px;
        bottom: 10px;
        right: 12px;
    }
    
    .card-icon-overlay i {
        font-size: 1rem;
    }
    
    .card-content {
        padding: 22px 16px 16px;
    }
}

/* Ensure smooth transitions and no flickering */
.nursing-premium-card,
.nursing-premium-card * {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
/* ============================================
   CRITICAL FIX: Only Hovered Card Lifts
   ============================================ */

/* Force isolation for each column */
.row.g-4 > .col-lg-4,
.row.g-4 > .col-md-6 {
    transition: none !important;
    transform: none !important;
}

/* Individual card styling - completely isolated */
.nursing-premium-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    position: relative;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

/* CRITICAL: Only the exact hovered card lifts */
.nursing-premium-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(55,178,211,0.15) !important;
}

/* Ensure no parent hover affects children */
.row.g-4:hover .nursing-premium-card:not(:hover) {
    transform: none !important;
}

/* Fix for anim-fade-up class that might be causing issues */
.anim-fade-up {
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-fade-up.anim-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure animation doesn't interfere with hover */
.nursing-premium-card,
.nursing-premium-card * {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Card Image Wrapper */
.card-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.nursing-premium-card:hover .card-image-wrapper img {
    transform: scale(1.08);
}

/* Icon Overlay */
.card-icon-overlay {
    position: absolute;
    bottom: 15px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(55,178,211,0.3);
    z-index: 10;
    pointer-events: none;
}

.card-icon-overlay i {
    font-size: 1.3rem;
    color: white;
}

/* Card Content */
.card-content {
    padding: 28px 20px 20px;
}

.card-content h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.card-content > p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Hover Details */
.card-hover-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.nursing-premium-card:hover .card-hover-details {
    max-height: 120px;
    margin-top: 15px;
}

.card-hover-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-hover-details ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.card-hover-details ul li i {
    color: var(--primary);
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 991px) {
    .card-image-wrapper {
        height: 180px;
    }
    
    .card-icon-overlay {
        width: 45px;
        height: 45px;
        bottom: 12px;
        right: 15px;
    }
    
    .card-icon-overlay i {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .card-image-wrapper {
        height: 160px;
    }
    
    .card-icon-overlay {
        width: 40px;
        height: 40px;
        bottom: 10px;
        right: 12px;
    }
    
    .card-icon-overlay i {
        font-size: 1rem;
    }
    
    .card-content {
        padding: 22px 16px 16px;
    }
}
/* Simplified version - guaranteed to work */
.nursing-premium-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nursing-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(55,178,211,0.15);
}

/* This ensures other cards don't move */
.row.g-4 {
    align-items: flex-start;
}

.col-lg-4, .col-md-6 {
    transition: none;
}

.whatsapp-chat {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 999;
    font-family: var(--font-body);
}

.whatsapp-chat-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-chat-btn i {
    font-size: 32px;
    color: white;
}

.whatsapp-chat-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(37, 211, 102, 0.4);
    border-radius: 50%;
    animation: pulse-green 2s infinite;
    pointer-events: none;
}

@keyframes pulse-green {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.whatsapp-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.whatsapp-chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-chat-header {
    background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.whatsapp-chat-header-avatar {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-chat-header-avatar i {
    font-size: 24px;
    color: #25D366;
}

.whatsapp-chat-header-info {
    flex: 1;
}

.whatsapp-chat-header-info h4 {
    font-size: 14px;
    margin: 0;
    color: white;
    font-family: var(--font-body);
    font-weight: 600;
}

.whatsapp-chat-header-info p {
    font-size: 11px;
    margin: 2px 0 0;
    color: rgba(255,255,255,0.8);
}

.whatsapp-chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
}

.whatsapp-chat-body {
    padding: 20px;
    background: #E8F0E8;
    max-height: 150px;
    overflow-y: auto;
}

.whatsapp-chat-message {
    display: flex;
    margin-bottom: 12px;
}

.whatsapp-chat-message.received {
    justify-content: flex-start;
}

.message-bubble {
    background: white;
    padding: 12px 16px;
    border-radius: 18px;
    border-top-left-radius: 4px;
    max-width: 85%;
    font-size: 13px;
    line-height: 1.5;
    color: #1a1a1a;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.message-bubble ul {
    font-size: 12px;
    margin-top: 6px;
    padding-left: 16px;
}

.message-bubble li {
    margin: 4px 0;
}

.whatsapp-chat-footer {
    padding: 16px 20px 20px;
    background: white;
    border-top: 1px solid #eee;
}

.whatsapp-start-chat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.whatsapp-start-chat:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    color: white;
}

.whatsapp-start-chat i {
    font-size: 18px;
}

.whatsapp-chat-note {
    font-size: 10px;
    color: #999;
    text-align: center;
    margin-top: 12px;
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .whatsapp-chat-window {
        width: 320px;
        right: -10px;
    }
    .whatsapp-chat {
        bottom: 80px;
        right: 20px;
    }
}

/* ============================================================
   RESPONSIVE FIXES — appended (do not duplicate above)
   ============================================================ */

/* ── Hero content wrapper — NEW multi-slide structure ── */
.hero-content-wrapper {
    position: absolute;
    inset: 0;
    z-index: 10;
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease, visibility 0.9s ease;
    padding-top: 126px; /* navbar height (86px logo + 20px*2 padding) */
    padding-bottom: 60px;
}

.hero-content.active {
    opacity: 1;
    visibility: visible;
}

/* ── CTA overlay fix ── */
.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,35,64,0.80) 0%, rgba(55,178,211,0.55) 100%);
    z-index: 1;
}

/* ── Dropdown icon ── */
.services-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

.dropdown-icon {
    font-size: 0.72rem;
    transition: transform 0.25s ease;
}

.services-dropdown.show .dropdown-icon {
    transform: rotate(180deg);
}

/* ── Ensure long emails/links wrap in footer ── */
.footer-contact-item p {
    word-break: break-all;
}

/* ── Ensure blobs never create horizontal scroll ── */
section {
    overflow: hidden;
}

.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .desktop-only {
        display: block;
    }
}