/* ═══════════════════════════════════════════════
   RSU 'Aisyiyah Ponorogo — Premium Modern UI
   Main Color: #F08519 (Orange)
   Font: Plus Jakarta Sans
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&family=Outfit:wght@300;400;500;600&display=swap');

:root {
    --primary: #F08519;
    --primary-light: #fff3e8;
    --primary-dark: #d97514;
    --primary-glow: rgba(240, 133, 25, 0.3);

    --secondary: #0197B2;
    /* Soft Medical Teal */
    --success: #10B981;
    --danger: #EF4444;
    --nav-bg: rgba(255, 255, 255, 0.95);

    --surface: #ffffff;
    --background: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 32px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px -10px rgba(240, 133, 25, 0.15);

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--background);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

/* --- Container --- */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), #ffb067);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 8px 20px rgba(1, 151, 178, 0.3);
    /* using secondary glow */
}

.btn-primary:hover {
    background: #017a91;
    /* darker teal */
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(1, 151, 178, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

/* --- Top Bar --- */
.topbar {
    background: var(--text-main);
    color: rgba(255, 255, 255, 0.8);
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-right {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.topbar i {
    color: var(--primary);
    margin-right: 6px;
}

/* --- Topbar Marquee --- */
.topbar-marquee {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    max-width: 60%;
    /* batasi agar tidak tabrakan dengan right-side */
}

.marquee-content {
    display: inline-flex;
    animation: topbar-scroll 25s linear infinite;
}

.marquee-content span {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-accr-logo {
    height: 18px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    border-radius: 2px;
}

@keyframes topbar-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {
    .topbar-marquee {
        max-width: 100%;
    }
}

/* --- Navbar (Glassmorphism) --- */
.navbar {
    position: absolute;
    top: 40px;
    /* below topbar */
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    position: fixed;
    top: 0;
    padding: 15px 0;
    background: var(--secondary);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .brand-title,
.navbar.scrolled .nav-link {
    color: white;
}

.navbar.scrolled .brand-sub {
    color: rgba(255, 255, 255, 0.9);
}

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

.navbar.scrolled .nav-cta {
    background: white;
    color: var(--secondary) !important;
}

.navbar.scrolled .nav-cta:hover {
    background: var(--primary);
    color: white !important;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 44px;
    width: 44px;
    object-fit: cover;
    border-radius: 50%;
    padding: 2px;
    box-shadow: var(--shadow-sm);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.brand-sub {
    font-weight: 400;
    font-size: 11.5px;
    color: var(--primary);
    letter-spacing: 2.5px;
    margin-top: 4px;
    line-height: 1;
    opacity: 0.85;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 4px;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.nav-cta {
    background: var(--secondary);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: #017a91;
    /* darker teal */
    color: white !important;
}

/* --- Hero Slider --- */
.hero-slider-wrap {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: var(--background);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.hero-slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.hero-slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-badge {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-title {
    font-size: 56px;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.slide-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(240, 133, 25, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: 12px;
}

/* Stats inside Hero */
.hero-stats {
    position: absolute;
    bottom: 0;
    right: 0;
    background: white;
    padding: 40px;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    z-index: 10;
    display: flex;
    gap: 40px;
    box-shadow: -10px -10px 40px rgba(0, 0, 0, 0.05);
}

.stat-item h4 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Sections Common --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    letter-spacing: -1px;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-light);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* --- Doctors Grid --- */
.section-doctors {
    background: var(--surface);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}

@media (min-width: 640px) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .doctors-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.doctor-card {
    background: var(--background);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.doctor-card:hover {
    background: var(--surface);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}

.doctor-img-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 20px;
    padding: 6px;
    background: white;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.doctor-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.doctor-name {
    font-size: 20px;
    margin-bottom: 8px;
}

.doctor-spec {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
}

/* --- News Section --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}

@media (min-width: 640px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.news-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}

.news-img {
    height: 240px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.05);
}

.news-date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--surface);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    font-size: 14px;
    z-index: 2;
}

.news-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.news-meta i {
    color: var(--primary);
}

.news-title {
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-title a {
    color: var(--text-main);
}

.news-title a:hover {
    color: var(--primary);
}

.news-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.news-link {
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.news-link:hover {
    gap: 10px;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: var(--primary);
    color: white;
    overflow: hidden;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    color: white;
    font-size: 40px;
    margin-bottom: 16px;
}

.cta-text p {
    font-size: 18px;
    opacity: 0.9;
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    background: var(--background);
    color: var(--primary-dark);
}

/* --- Contact Section --- */
.section-contact {
    background: #f4f7fb;
    padding: 80px 0;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
}

.contact-text {
    flex: 1;
    min-width: 300px;
}

.contact-text h2 {
    font-size: 36px;
    color: var(--text-main);
    line-height: 1.3;
}

.contact-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    flex: 2;
}

.contact-card {
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 250px;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-card-body {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    background: #f0fdf4;
    padding: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info {
    flex: 1;
}

.contact-info h5 {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info p {
    font-size: 15px;
    color: var(--text-main);
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.contact-arrow {
    color: #10B981;
    font-size: 24px;
    font-weight: bold;
}

.contact-card-footer {
    background: #f8fafc;
    padding: 12px 20px;
    font-size: 13px;
    color: var(--secondary);
    border-top: 1px solid var(--border);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Footer --- */
.footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.85);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-brand img {
    height: 48px;
    width: 48px;
    object-fit: cover;
    padding: 4px;
    border-radius: 50%;
}

.footer-brand-text {
    color: white;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.footer-brand-text span {
    display: block;
    color: var(--primary);
    font-size: 14px;
    text-transform: uppercase;
}

.footer-about p {
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-col ul a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    gap: 6px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

/* --- Smart Hospital App Banner --- */
.app-banner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.app-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.app-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.app-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.app-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.btn-dark {
    background: #0f172a;
    color: white;
    border: 2px solid #0f172a;
}

.btn-dark:hover {
    background: transparent;
    color: #0f172a;
    transform: translateY(-3px);
}

.btn-outline-dark {
    background: transparent;
    color: #0f172a;
    border: 2px solid #0f172a;
}

.btn-outline-dark:hover {
    background: #0f172a;
    color: white;
    transform: translateY(-3px);
}

.app-features-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.app-feature-pill {
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-main);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.app-feature-pill:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    color: var(--primary);
}

.app-feature-pill i {
    font-style: normal;
}

.app-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: var(--primary-glow);
    filter: blur(80px);
    border-radius: 50%;
    z-index: 1;
}

.app-banner::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(240, 133, 25, 0.1);
    filter: blur(100px);
    border-radius: 50%;
    z-index: 1;
}

@media (max-width: 768px) {
    .app-banner {
        padding: 40px 20px;
    }

    .app-title {
        font-size: 32px;
    }

    .app-desc {
        font-size: 16px;
    }

    .app-buttons {
        flex-direction: column;
    }
}

/* --- Scroll Animation Classes --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-stats {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .topbar {
        display: none;
    }

    .navbar {
        top: 0;
        position: absolute;
    }

    .navbar.scrolled {
        position: fixed;
    }

    .slide-title {
        font-size: 40px;
    }

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

    .hide-on-mobile {
        display: none !important;
    }

    .show-on-mobile {
        display: block !important;
    }
}

/* --- Dropdown Menu --- */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2000;
    border: 1px solid #e2e8f0;
    pointer-events: none;
}

/* Invisible bridge so mouse hover doesn't detach when moving from parent to dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: #fff3e8;
    color: #F08519;
    padding-left: 20px;
}

/* Arrow indicator on parent link */
.nav-item-dropdown>.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Scrolled state dropdown override */
.navbar.scrolled .dropdown-menu {
    background: white;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Chevron rotate on hover */
.nav-item-dropdown:hover>.nav-link svg {
    transform: rotate(180deg);
}

/* ═══════════════════════════════════════
   MOBILE NAVIGATION DRAWER
   ═══════════════════════════════════════ */
/* ===================================================
   MOBILE NAVIGATION — Hamburger + Drawer
   =================================================== */

/* --- Hamburger Button (hidden on desktop) --- */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    transition: background 0.2s;
    z-index: 1100;
}

.nav-hamburger:hover {
    background: rgba(240, 133, 25, 0.12);
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-main);
    border-radius: 4px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.navbar.scrolled .nav-hamburger span {
    background: white;
}

/* X animation when open */
.nav-hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* --- Overlay backdrop --- */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1199;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- Slide-in Drawer --- */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: white;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.mobile-drawer.active {
    transform: translateX(0);
}

/* Drawer Header */
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--background);
    flex-shrink: 0;
}

.mobile-drawer-close {
    background: var(--border);
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.2s;
    flex-shrink: 0;
}

.mobile-drawer-close:hover {
    background: var(--danger);
    color: white;
    transform: rotate(90deg);
}

/* Mobile Nav Links */
.mobile-nav {
    flex: 1;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    border-radius: 12px;
    transition: all 0.2s;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.mobile-nav-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.mobile-nav-icon {
    font-size: 20px;
    flex-shrink: 0;
}

/* Accordion */
.mobile-nav-accordion {
    display: flex;
    flex-direction: column;
}

.mobile-accordion-toggle .mobile-chevron {
    margin-left: auto;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.mobile-accordion-toggle.open .mobile-chevron {
    transform: rotate(180deg);
}

.mobile-accordion-toggle.open {
    background: var(--primary-light);
    color: var(--primary);
}

.mobile-accordion-body {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 4px 0 4px 16px;
    border-left: 3px solid var(--primary-light);
    margin-left: 28px;
    margin-bottom: 4px;
}

.mobile-accordion-body.open {
    display: flex;
}

.mobile-sub-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.mobile-sub-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Drawer Footer */
.mobile-drawer-footer {
    padding: 16px;
    border-top: 1px solid var(--border);
    background: var(--background);
    flex-shrink: 0;
}

/* Show hamburger only on mobile */
@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }
}

/* --- Info & Promo --- */
.info-slider-wrap {
    width: 100%;
    position: relative;
    overflow: hidden;
    /* For mobile snap hiding */
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.info-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    aspect-ratio: 4/5;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.info-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 50px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.info-badge-info {
    background: #0ea5e9;
}

.info-badge-event {
    background: #8b5cf6;
}

.info-badge-promo {
    background: #f59e0b;
}

.info-slider-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.info-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.info-dot.active {
    background: var(--primary);
    width: 20px;
    border-radius: 4px;
}

@media (max-width: 992px) {
    .info-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        /* space for scrollbar or dots */
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
    }

    .info-grid::-webkit-scrollbar {
        display: none;
    }

    .info-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    .info-slider-dots {
        display: flex;
    }
}

/* --- Global Lightbox --- */
.global-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.global-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.global-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    object-fit: contain;
}

.global-lightbox.active img {
    transform: scale(1);
}

.global-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.global-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.4);
}

.lightbox-trigger {
    cursor: zoom-in;
}

/* --- Insurance Marquee --- */
.insurance-section {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.insurance-marquee-wrap {
    display: flex;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

.insurance-marquee-wrap:hover {
    animation-play-state: paused;
}

.insurance-logo-item {
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.insurance-logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.insurance-logo-item img {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .insurance-logo-item {
        padding: 0 20px;
    }

    .insurance-logo-item img {
        height: 40px;
    }
}