/*
===========================================
MODERN SCHOOL LANDING PAGE - REDESIGN CSS
===========================================
Design System:
- Primary Color: #4F46E5 (Indigo)
- Secondary Color: #06B6D4 (Cyan)
- Accent Color: #F59E0B (Amber)
- Success: #10B981 (Emerald)
- Background: #F9FAFB (Light Gray)
- Text Primary: #1F2937 (Dark Gray)
- Text Secondary: #6B7280 (Medium Gray)

Typography:
- Headings: 'Poppins', sans-serif
- Body: 'Inter', sans-serif

Spacing Scale: 8px, 16px, 24px, 32px, 48px, 64px, 96px
Border Radius: 8px, 12px, 16px, 24px
*/

/* ========== GLOBAL STYLES ========== */
:root {
    --primary: #2563EB;
    /* Bright Blue - changed from Indigo */
    --primary-dark: #1E40AF;
    --primary-light: #60A5FA;
    --secondary: #0EA5E9;
    /* Sky Blue - changed from Cyan */
    --secondary-dark: #0284C7;
    --accent: #F59E0B;
    /* Keep Amber for contrast */
    --success: #10B981;
    --danger: #EF4444;
    --bg-light: #F0F9FF;
    /* Light blue tint */
    --bg-white: #FFFFFF;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-light: #94A3B8;
    --border: #E2E8F0;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    --radius-sm: 12px;
    /* Increased from 8px */
    --radius-md: 20px;
    /* Increased from 12px */
    --radius-lg: 28px;
    /* Increased from 16px */
    --radius-xl: 36px;
    /* Increased from 24px */
    --radius-full: 9999px;

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

/* ========== MODERN NAVBAR ========== */
.modern-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: transparent;
    transition: var(--transition);
    padding: 24px 0;
    overflow: visible !important;
}

.modern-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    padding: 16px 0;
}

/* Hero Floating Navbar (Pill Style) */
.modern-navbar.navbar-hero {
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    /* Full width minus margins */
    max-width: 1250px;
    /* Wider Pill */
    background: #ffffff;
    border-radius: 50px;
    padding: 12px 0;
    /* Vertical padding only, let container handle horizontal */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    /* Ensure it sits on top */
    overflow: visible !important;
}

/* Force dark text in Hero Mode */
.modern-navbar.navbar-hero,
.modern-navbar.navbar-hero .navbar-menu li a,
.modern-navbar.navbar-hero .navbar-logo span {
    color: #1F2937 !important;
}

/* Remove container override so it aligns with page content */
/* .modern-navbar.navbar-hero .navbar-container rule removed */

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible !important;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
    /* Konsisten hitam */
    transition: var(--transition);
}

.navbar-logo span {
    color: #1F2937 !important;
    /* Pastikan span juga hitam */
}

.modern-navbar.scrolled .navbar-logo,
.modern-navbar.scrolled .navbar-logo span {
    color: #1F2937;
    /* Tetap hitam saat scrolled */
}

.navbar-logo img {
    height: 48px;
    width: auto;
}

.navbar-menu {
    display: none;
    gap: 32px;
    list-style: none;
}

@media (min-width: 1024px) {
    .navbar-menu {
        display: flex;
        overflow: visible !important;
    }
}

.navbar-menu li a {
    font-weight: 500;
    color: #1F2937;
    /* Konsisten hitam */
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
}

.modern-navbar.scrolled .navbar-menu li a {
    color: #1F2937;
    /* Tetap hitam saat scrolled */
}

.navbar-menu li a:hover {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.1);
}

.navbar-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.navbar-cta {
    display: none;
}

@media (min-width: 1024px) {
    .navbar-cta {
        display: block;
    }
}

.navbar-toggle {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 10001;
    /* Above navbar content */
}

@media (min-width: 1024px) {
    .navbar-toggle {
        display: none;
    }
}

.navbar-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #1F2937;
    /* Konsisten hitam */
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 3px;
}

.modern-navbar.scrolled .navbar-toggle span {
    background: #1F2937;
    /* Tetap hitam saat scrolled */
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: #ffffff !important;
    /* Explicitly solid white */
    box-shadow: var(--shadow-2xl);
    padding: 96px 32px 32px;
    transition: var(--transition);
    overflow-y: auto;
    z-index: 100005;
    /* Highest priority */
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.mobile-menu-close:hover {
    background: var(--bg-light);
}

.mobile-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-list li a {
    display: block;
    padding: 16px;
    color: var(--text-primary);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.mobile-menu-list li a:hover,
.mobile-menu-list li a.active {
    background: var(--primary);
    color: var(--bg-white);
}

/* ========== MODERN HERO SECTION ========== */
.modern-hero {
    position: relative;
    height: 100vh;
    /* Exactly viewport height */
    display: flex;
    align-items: center;
    background: #000;
    /* Hitam solid - fallback jika video tidak load */
    overflow: hidden;
    padding: 0;
    /* Remove padding for exact fit */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    /* Tidak ada gradient biru */
    z-index: 1;
}

/* Video Background Styles */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Professional gradient overlay - darker at bottom for text readability */
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.65) 100%);
    z-index: 5;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(40px);
    animation: float 20s infinite ease-in-out;
}

.hero-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.hero-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {

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

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.hero-text {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    color: var(--bg-white);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    color: var(--bg-white);
    margin-bottom: 24px;
    line-height: 1.1;
    /* Professional text shadow for video background */
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
    background: linear-gradient(to right, #F59E0B, #EF4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    /* Text shadow for readability */
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1024px) {
    .hero-description {
        margin-left: 0;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.hero-image {
    position: relative;
    display: none;
}

@media (min-width: 1024px) {
    .hero-image {
        display: block;
    }
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.hero-stat {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 1024px) {
    .hero-stat {
        text-align: left;
    }
}

.hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 8px;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== MODERN BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--bg-white);
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

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

.btn-accent {
    background: var(--accent);
    color: var(--bg-white);
    box-shadow: var(--shadow-lg);
}

.btn-accent:hover {
    background: #D97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.875rem;
}

/* ========== FEATURES/SERVICES SECTION ========== */
.features-section {
    padding: 96px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

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

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    color: var(--bg-white);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Default 2 columns for mobile */
    gap: 15px;
    /* Smaller gap for mobile */
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

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

.feature-card {
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    font-size: 2rem;
    transition: var(--transition);
}

.feature-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: var(--bg-white);
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: var(--bg-white);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: var(--bg-white);
}

.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: var(--bg-white);
}

.feature-card:nth-child(5) .feature-icon {
    background: linear-gradient(135deg, #fa709a, #fee140);
    color: var(--bg-white);
}

.feature-card:nth-child(6) .feature-icon {
    background: linear-gradient(135deg, #30cfd0, #330867);
    color: var(--bg-white);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

@media (max-width: 767px) {
    .feature-card {
        padding: 24px 16px;
        border-radius: var(--radius-md);
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
        margin-bottom: 16px;
    }

    .feature-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .feature-description {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .feature-link {
        font-size: 0.85rem;
    }
}

.feature-link:hover {
    gap: 12px;
}

/* ========== ABOUT/PROFILE SECTION ========== */
/* ========== NEW ABOUT SECTION STYLES ========== */
/* ========== NEW ABOUT SECTION STYLES (MODERN PREMIUM) ========== */
.about-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    position: relative;
    overflow: hidden;
}

/* Abstract Background Shapes */
.about-bg-shape {
    position: absolute;
    z-index: 0;
    filter: blur(80px);
    opacity: 0.6;
    pointer-events: none;
}

.about-bg-shape.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation: floatShape 10s infinite alternate ease-in-out;
}

.about-bg-shape.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #E0E7FF 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation: floatShape 12s infinite alternate-reverse ease-in-out;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 30px);
    }
}

/* Slider Navigation Arrows (Modern Minimalist) */
.slider-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.slider-nav-arrow:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    border-color: transparent;
}

.slider-nav-arrow.prev {
    left: 40px;
}

.slider-nav-arrow.next {
    right: 40px;
}

/* Dots Container */
.slider-dots-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 64px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CBD5E1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.4);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

/* Layout Specifics */
.about-content {
    display: grid;
    gap: 80px;
    align-items: center;
    padding: 0 60px;
    max-width: 1600px;
    margin: 0 auto;
}

/* History Layout */
.history-layout {
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .history-layout {
        grid-template-columns: 0.9fr 1.1fr;
    }
}

.history-logo {
    width: 90px;
    height: auto;
    margin-bottom: 32px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.history-text-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
    text-align: justify;
    font-weight: 400;
}

/* Modern Overlapping Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    height: 500px;
    position: relative;
}

.media-main-item {
    grid-column: 1 / 10;
    grid-row: 1 / 11;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.media-main-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.media-main-item:hover img {
    transform: scale(1.05);
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.media-main-item:hover .play-icon-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: #fff;
    color: var(--primary);
}

.media-sub-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border: 4px solid #fff;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.media-sub-item:hover {
    transform: translateY(-10px);
    z-index: 3;
}

.media-sub-item:nth-child(2) {
    grid-column: 9 / 13;
    grid-row: 2 / 7;
}

.media-sub-item:nth-child(3) {
    grid-column: 8 / 12;
    grid-row: 8 / 12;
}

.media-sub-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Principal Layout */
.principal-layout {
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .principal-layout {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

/* Principal Card Style (Glassmorphism) */
.principal-card-wrapper {
    position: relative;
    padding: 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 32px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    max-width: 420px;
    margin: 0 auto;
    transition: transform 0.4s ease;
}

.principal-card-wrapper:hover {
    transform: translateY(-10px);
}

.principal-image {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 3/4;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.principal-name-tag {
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border-radius: 16px;
}

.principal-name-tag h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.principal-name-tag span {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Typography & Buttons */
.serif-title {
    font-family: 'Lora', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.greeting-text {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 32px;
    font-weight: 500;
    font-family: 'Lora', serif;
    font-style: italic;
}

.btn-wide-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--primary);
    color: #fff;
    padding: 18px 40px;
    border-radius: 100px;
    /* Pill shape */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    border: none;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .btn-wide-blue {
        width: auto;
        min-width: 280px;
    }
}

.btn-wide-blue:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
}

.btn-wide-blue i {
    transition: transform 0.3s ease;
}

.btn-wide-blue:hover i {
    transform: translateX(5px);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }

    .about-section .container-fluid {
        padding: 0 24px !important;
    }

    .slider-nav-arrow {
        display: none;
    }

    .about-content {
        padding: 0;
        gap: 48px;
    }

    .serif-title {
        font-size: 2.25rem;
    }

    .media-grid {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 16px;
    }

    .media-main-item,
    .media-sub-item {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        aspect-ratio: 16/9;
    }

    .media-sub-item {
        border: none;
    }

    /* History Slide Specific Mobile Adjustments */
    .history-layout {
        display: flex !important;
        flex-direction: column !important;
    }

    .history-layout .about-media-col {
        order: -1;
        /* Move video to top */
        margin-bottom: 24px;
    }

    .history-layout .media-sub-item {
        display: none !important;
        /* Hide sub images */
    }

    .history-layout .about-text-col {
        order: 1;
    }
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 32px 0;
}

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

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.about-feature-item:hover {
    background: var(--primary);
    color: var(--bg-white);
}

.about-feature-item:hover .about-feature-icon {
    background: var(--bg-white);
    color: var(--primary);
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--bg-white);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    transition: var(--transition);
}

.about-feature-text {
    flex: 1;
}

/* ========== MODERN STATS SECTION ========== */
.modern-stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    /* Dark Blue Gradient */
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern overlay if desired */
.modern-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
}

.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    text-align: center;
}

@media (max-width: 575px) {
    .stats-counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (min-width: 576px) {
    .stats-counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

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

.counter-item {
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.counter-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.counter-item:hover .counter-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: #fff;
    color: var(--primary);
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1;
    color: #2563EB !important;
    /* Primary Blue - Solid Color */
    background: none !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    -webkit-text-fill-color: #2563EB !important;
    font-family: 'Inter', sans-serif;
}

.counter-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #64748B !important;
    /* Slate 500 - Dark enough for white bg */
    text-transform: capitalize;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

/* ========== STATS RAILWAY ANIMATION ========== */
.stats-rail-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.stats-rail-track {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.5s ease;
}

.stats-rail-svg {
    display: none;
}

/* ========== NEWS SECTION MODERN ========== */
.news-section-modern {
    padding: 100px 0;
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

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

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

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
    .news-card:not(:first-child) {
        display: none !important;
    }
}

.news-thumb {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

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

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.news-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.news-read-more:hover {
    gap: 12px;
    text-decoration: none;
    color: var(--primary-dark);
}

/* Modern Button Style */
.btn-modern-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-modern-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
    color: #fff;
    text-decoration: none;
}

.btn-modern-primary i {
    transition: transform 0.3s ease;
}

.btn-modern-primary:hover i {
    transform: translateX(5px);
}

.btn-modern-primary:hover i {
    transform: translateX(5px);
}

/* ========== INSTAGRAM STYLE GALLERY ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Default 2 columns for mobile */
    gap: 15px;
    /* Smaller gap for mobile */
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }
}

.insta-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.insta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
    .insta-card:nth-child(n+5) {
        display: none !important;
    }

    .insta-details h3 {
        font-size: 0.95rem !important;
        margin-bottom: 4px !important;
    }

    .insta-details p {
        font-size: 0.75rem !important;
    }

    .insta-content {
        padding: 12px !important;
    }
}

.insta-image-wrapper {
    position: relative;
    padding-top: 75%;
    /* 4:3 Aspect Ratio */
    overflow: hidden;
    background: #f0f0f0;
}

.insta-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insta-card:hover .insta-image-wrapper img {
    transform: scale(1.05);
}

.insta-content {
    padding: 15px;
}

.insta-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.action-left {
    display: flex;
    gap: 15px;
}

.btn-insta-action {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #262626;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.btn-insta-action:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.btn-insta-action.liked {
    color: #ed4956;
    animation: likeBounce 0.4s;
}

@keyframes likeBounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

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

.insta-details h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.insta-details p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* Modal Styling */
.modern-modal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.modern-modal .modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px 24px;
}

.modern-modal .modal-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.modern-modal .modal-body {
    padding: 24px;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    text-align: center;
}

.share-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.8rem;
    cursor: pointer;
}

.share-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    transition: transform 0.2s ease;
}

.share-item:hover .share-icon {
    transform: scale(1.1);
}

.bg-whatsapp {
    background: #25D366;
}

.bg-facebook {
    background: #1877F2;
}

.bg-twitter {
    background: #1DA1F2;
}

.bg-copy {
    background: #7f8c8d;
}

/* MODAL FIXES (Fallback if Bootstrap CSS fails) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal.show {
    display: block;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal.fade .modal-dialog {
    transition: transform .3s ease-out;
    transform: translate(0, -50px);
}

.modal.show .modal-dialog {
    transform: none;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.show {
    opacity: .5;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }

    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
        display: flex;
        align-items: center;
    }
}

.stats-train {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.8);
    z-index: 100;
    /* Ensure it's on top */
    transition: left 1s cubic-bezier(0.4, 0, 0.2, 1), top 1s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
    /* Hidden initially */
    pointer-events: none;
    transform: translate(-50%, -50%);
    /* Always center on the coordinates */
}

.stats-train::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: pulseTrain 2s infinite;
}

@keyframes pulseTrain {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Counter Item Active State */
.counter-item {
    position: relative;
    z-index: 2;
    /* Above rail */
    opacity: 0.5;
    /* Dimmed initially */
    transform: scale(0.95);
    transition: all 0.5s ease;
}

.counter-item.active {
    opacity: 1;
    transform: scale(1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive Rail Positioning */
/* Mobile (Vertical Rail) */
/* Mobile (Snake Rail) */
@media (max-width: 991px) {
    .stats-rail-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 0;
    }

    .stats-rail-track {
        display: none;
        /* Hide old vertical rail */
    }

    .stats-rail-svg {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        fill: none;
        stroke: rgba(255, 255, 255, 0.2);
        stroke-width: 4;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .stats-train {
        z-index: 10;
    }
}

/* Desktop (Horizontal Rail) */
@media (min-width: 992px) {
    .stats-rail-track {
        top: 50%;
        left: 40px;
        right: 40px;
        height: 4px;
        transform: translateY(-50%);
    }

    /* Train moves horizontally */
    .stats-train {
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

.about-feature-text h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.about-feature-text p {
    font-size: 0.875rem;
    margin: 0;
    color: var(--text-secondary);
}

.about-feature-item:hover .about-feature-text p {
    color: rgba(255, 255, 255, 0.9);
}

/* ========== ABOUT SLIDER STYLES ========== */
.about-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

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

/* Slider Navigation */
.about-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
}

.slider-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.25rem;
}

.slider-nav-btn:hover {
    background: var(--primary);
    color: var(--bg-white);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

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

.slider-dot:hover {
    background: var(--primary-light);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .slider-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .about-slider-nav {
        margin-top: 32px;
        gap: 16px;
    }
}

/* ========== GALLERY SECTION ========== */
.gallery-section {
    padding: 96px 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Match mobile 2 columns */
    gap: 15px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.gallery-category {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
    padding: 96px 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

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

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

.testimonial-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius-lg);
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 16px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-light);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ========== STATS SECTION ========== */
.stats-section {
    padding: 96px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

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

.stat-item {
    text-align: center;
    padding: 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
}

.stat-icon {
    font-size: 3rem;
    color: var(--bg-white);
    margin-bottom: 16px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== MODERN FOOTER ========== */
.modern-footer {
    background: #1F2937;
    color: rgba(255, 255, 255, 0.8);
    padding: 64px 0 24px;
}

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

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

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-about h3 {
    color: var(--bg-white);
    margin-bottom: 16px;
}

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

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--bg-white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-links h4 {
    color: var(--bg-white);
    margin-bottom: 16px;
    font-size: 1.125rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--bg-white);
    padding-left: 8px;
}

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

.footer-contact-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========== UTILITY CLASSES ========== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}

.mt-5 {
    margin-top: 48px;
}

.mt-6 {
    margin-top: 64px;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}

.mb-5 {
    margin-bottom: 48px;
}

.mb-6 {
    margin-bottom: 64px;
}

.pt-1 {
    padding-top: 8px;
}

.pt-2 {
    padding-top: 16px;
}

.pt-3 {
    padding-top: 24px;
}

.pt-4 {
    padding-top: 32px;
}

.pt-5 {
    padding-top: 48px;
}

.pt-6 {
    padding-top: 64px;
}

.pb-1 {
    padding-bottom: 8px;
}

.pb-2 {
    padding-bottom: 16px;
}

.pb-3 {
    padding-bottom: 24px;
}

.pb-4 {
    padding-bottom: 32px;
}

.pb-5 {
    padding-bottom: 48px;
}

.pb-6 {
    padding-bottom: 64px;
}

/* ========== NAVBAR MODERN UPDATE ========== */
.modern-navbar.navbar-hero {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    /* Adjust padding */
}

.navbar-container {
    display: flex;
    align-items: center;
    /* Critical for vertical alignment */
    justify-content: space-between;
    height: 100%;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-logo img {
    height: 42px;
    /* Slightly adjusted size */
    width: auto;
    object-fit: contain;
    display: block;
}

.navbar-logo span {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #1f2937 !important;
    /* Force dark color */
    line-height: 1;
    display: block;
    margin-top: 2px;
    /* Optical adjustment */
}

@media (min-width: 1024px) {
    .navbar-menu {
        display: flex;
        align-items: center;
        gap: 8px;
        /* Spacing between items */
        margin: 0;
        padding: 0;
    }
}

.navbar-menu li {
    display: flex;
    align-items: center;
}

.navbar-menu li a {
    position: relative;
    padding: 10px 18px;
    font-weight: 600;
    color: #4b5563;
    border-radius: 50px;
    /* Pill shape */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    display: inline-block;
    line-height: 1.5;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
    text-decoration: none;
}

.navbar-menu li a.active {
    font-weight: 700;
    color: var(--primary);
}

/* Remove old underline style */
.navbar-menu li a.active::after {
    display: none;
}

/* Navbar CTA Alignment */
.navbar-cta {
    display: flex;
    align-items: center;
}

.navbar-cta .btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
}

/* ========== NEWS SECTION MODERN UPDATE ========== */
.news-section-modern {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    position: relative;
    padding: 100px 0;
}

.news-card {
    border: none;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.15);
}

.news-thumb {
    height: 250px;
    position: relative;
    overflow: hidden;
}

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

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

/* Gradient Overlay on Image */
.news-thumb::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.news-card:hover .news-thumb::after {
    opacity: 0.8;
}

.news-date {
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary);
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

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

.news-title {
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 700;
}

.news-title a {
    background: linear-gradient(90deg, var(--text-primary), var(--text-primary));
    background-size: 0% 2px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.news-card:hover .news-title a {
    color: var(--primary);
    background-size: 100% 2px;
}

.news-excerpt {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
}

.news-read-more {
    margin-top: auto;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.news-read-more i {
    transition: transform 0.3s ease;
}

.news-read-more:hover i {
    transform: translateX(5px);
}

/* ========== NEWS SECTION VIBRANT UPDATE (REVISED 2) ========== */
.news-section-modern {
    background-color: #f0f9ff;
    /* Colorful Mesh Gradient Background */
    background-image:
        radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(245, 158, 11, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(16, 185, 129, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
    position: relative;
    padding: 100px 0;
}

/* Hapus overlay putih agar warna background terlihat */
.news-section-modern::after {
    display: none;
}

.news-section-modern .container {
    position: relative;
    z-index: 1;
}

.news-card {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Glassy border */
    transition: all 0.3s ease;
}

.news-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(45deg, #4f46e5, #06b6d4, #f59e0b);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.news-card:hover::before {
    opacity: 1;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.25);
    background-color: #1f2937;
    /* Dark Gray background on hover */
    border-color: transparent;
}

.news-date {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    border: none;
}

/* Judul Kembali Hitam, Putih saat Hover */
.news-title a {
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: initial;
    color: #1f2937;
    /* Dark Gray / Black */
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card:hover .news-title a {
    color: #ffffff;
    /* Putih saat hover */
}

/* Excerpt text color change on hover */
.news-excerpt {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.news-card:hover .news-excerpt {
    color: #d1d5db;
    /* Light Gray text on hover */
}

.news-read-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-text-fill-color: initial;
    /* Reset text fill from previous style */
    width: fit-content;
}

.news-read-more i {
    transition: transform 0.3s ease;
}

.news-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    color: #fff;
    letter-spacing: normal;
    /* Reset letter spacing effect */
}

.news-read-more:hover i {
    transform: translateX(4px);
}

/* Adjust button when card is hovered (Dark Mode) */
.news-card:hover .news-read-more {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
    color: #fff;
    -webkit-text-fill-color: initial;
}

.news-card:hover .news-read-more:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ========== MODAL MODERN VIBRANT UPDATE ========== */
.modern-modal.show {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.modern-modal .modal-dialog {
    width: 100%;
    max-width: 500px;
    margin: 1.75rem auto;
}

@media (max-width: 576px) {
    .modern-modal .modal-dialog {
        margin: 1rem !important;
        max-width: calc(100% - 2rem) !important;
    }
}

.modern-modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modern-modal .modal-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 24px;
    border: none;
    align-items: center;
}

.modern-modal .modal-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.modern-modal .close {
    color: #fff;
    opacity: 0.8;
    text-shadow: none;
    transition: opacity 0.3s;
    padding: 24px;
    margin: -24px -24px -24px auto;
}

.modern-modal .close:hover {
    opacity: 1;
}

.modern-modal .modal-body {
    padding: 32px;
    background: #fff;
}

/* Form Styling */
.modern-modal .form-control {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.modern-modal .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    background-color: #fff;
}

.modern-modal .form-group {
    margin-bottom: 20px;
}

/* Submit Button */
.modern-modal .btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border: none;
    padding: 16px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
    transition: all 0.3s ease;
    width: 100%;
    color: #ffffff !important;
    /* Force White Text */
}

.modern-modal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.3);
}

/* Share Options Styling Update */
.share-options {
    padding: 10px 0;
}

.share-item {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.share-item:hover {
    transform: translateY(-5px);
}

.share-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #fff;
}

/* ========== ANIMATED FLOATING ICONS ========== */
.floating-icon-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.floating-icon {
    position: absolute;
    color: var(--primary);
    /* Solid color instead of gradient */
    opacity: 0.15;
    /* Increased base opacity */
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 8px 20px rgba(79, 70, 229, 0.3));
    z-index: -999;
    /* Very low z-index to stay behind everything */
}

.floating-icon.icon-lg {
    font-size: 8rem;
    opacity: 0.12;
}

.floating-icon.icon-md {
    font-size: 5rem;
    opacity: 0.18;
}

.floating-icon.icon-sm {
    font-size: 3rem;
    opacity: 0.25;
}

.floating-icon.spin {
    animation: float 8s ease-in-out infinite, spin 30s linear infinite;
}

.floating-icon.pulse {
    animation: float 5s ease-in-out infinite, pulse 4s ease-in-out infinite;
}

@keyframes float {

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

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

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

@keyframes pulse {

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

    50% {
        transform: scale(1.1);
    }
}

/* Specific Positions */
.pos-1 {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.pos-2 {
    top: 25%;
    right: 12%;
    animation-delay: 1.5s;
}

.pos-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 2.5s;
}

.pos-4 {
    bottom: 35%;
    right: 8%;
    animation-delay: 1s;
}

.pos-5 {
    top: 45%;
    left: 45%;
    animation-delay: 3s;
}

.pos-6 {
    top: 10%;
    left: 50%;
    animation-delay: 2s;
}

/* Force Hide ONLY Decorative Floating Icons in Hero Section */
.modern-hero .floating-icon-container,
.modern-hero .floating-icon {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* ========== PLAYFUL BLUE THEME (EDUKIDS INSPIRED) ========== */

/* Section Headers - Playful Style */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    position: relative;
}

.section-badge i {
    position: absolute;
    top: -12px;
    right: -12px;
    background: var(--accent);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
    border: 2px solid #fff;
    z-index: 2;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 20px 0;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Card Styling - More Rounded & Playful */
.news-card,
.insta-card,
.gallery-item {
    border-radius: var(--radius-xl) !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08) !important;
    border: 2px solid rgba(37, 99, 235, 0.05) !important;
}

.news-card:hover,
.insta-card:hover {
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.15) !important;
    border-color: rgba(37, 99, 235, 0.2) !important;
}

/* Button Styling - More Playful */
.btn-modern-primary,
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
    border-radius: var(--radius-full) !important;
    padding: 14px 32px !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25) !important;
    transition: all 0.3s ease !important;
}

.btn-modern-primary:hover,
.btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35) !important;
}

/* Stats Section - Playful Cards */
.counter-item {
    background: #fff !important;
    border-radius: var(--radius-xl) !important;
    padding: 40px 30px !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08) !important;
    border: 2px solid rgba(37, 99, 235, 0.05) !important;
}

.counter-icon,
.counter-icon-wrapper,
.counter-icon-wrapper i {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: #fff !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: var(--radius-lg) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2rem !important;
    margin: 0 auto 20px !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3) !important;
}

.counter-number,
.counter-item h3,
.counter-item .counter-value,
.counter-content h3 {
    color: #2563EB !important;
    /* Primary Blue */
    font-weight: 800 !important;
    font-size: 3rem !important;
}

@media (max-width: 768px) {
    .counter-item {
        padding: 20px 15px !important;
        border-radius: var(--radius-lg) !important;
    }

    .counter-icon-wrapper {
        width: 65px !important;
        height: 65px !important;
        font-size: 1.5rem !important;
        margin-bottom: 12px !important;
    }

    .counter-number,
    .counter-item h3,
    .counter-content h3 {
        font-size: 1.8rem !important;
    }

    .counter-label,
    .counter-item p,
    .counter-content p {
        font-size: 0.85rem !important;
    }
}

/* About Section Cards */
.about-card {
    border-radius: var(--radius-xl) !important;
    overflow: hidden !important;
}

/* About Section - Modern Card Style */
.about-card-modern {
    background: #ffffff !important;
    border-radius: 50px !important;
    /* Increased for more visible rounding */
    padding: 60px !important;
    box-shadow:
        0 10px 30px rgba(37, 99, 235, 0.08),
        0 30px 60px rgba(37, 99, 235, 0.12),
        0 1px 3px rgba(0, 0, 0, 0.05) !important;
    border: 2px solid rgba(37, 99, 235, 0.05) !important;
    margin-bottom: 30px !important;
    position: relative;
    overflow: hidden !important;
    /* Force clip children */
    z-index: 1;
    clip-path: inset(0 round 50px);
    /* Extra force for rounding */
}

.about-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 2;
    border-radius: 50px 50px 0 0;
    /* Match top radius */
}

@media (max-width: 768px) {
    .about-card-modern {
        padding: 30px 20px !important;
    }
}

/* Gallery Cards */
.insta-card {
    background: #fff !important;
}

.insta-image-wrapper {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
}

/* News Section Background */
.news-section-modern {
    background: linear-gradient(180deg, #F0F9FF 0%, #fff 100%) !important;
}

/* Gallery Section Background */
.gallery-section {
    background: linear-gradient(180deg, #fff 0%, #F0F9FF 100%) !important;
}

/* Stats Section - White Title & Rail Fix */
.modern-stats-section .section-title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.modern-stats-section .section-badge {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* Ensure rail is centered in the grid */
.modern-stats-section .stats-rail-track {
    background: rgba(255, 255, 255, 0.3) !important;
}

.modern-stats-section .stats-train {
    background: #ffffff !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 1) !important;
}

/* ========== NAVBAR DROPDOWN STYLES ========== */

/* Desktop Dropdown */
.has-dropdown {
    position: relative;
    display: flex !important;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #ffffff !important;
    min-width: 240px;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    display: block !important;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 99999 !important;
    list-style: none;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    pointer-events: none;
    overflow: visible !important;
}

/* Bridge the gap between menu and dropdown to prevent hover loss */
.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    display: block;
}

/* Arrow for dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.has-dropdown:hover>.dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    display: block !important;
    pointer-events: auto !important;
}

.dropdown-menu li a {
    display: block !important;
    padding: 12px 24px !important;
    color: var(--text-primary) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
    border-radius: 0 !important;
    text-align: left !important;
}

.dropdown-menu li a::after {
    display: none !important;
    /* Remove the underline effect from main nav */
}

.dropdown-menu li a:hover {
    background: rgba(37, 99, 235, 0.05) !important;
    color: var(--primary) !important;
    padding-left: 30px !important;
}

/* Sub-dropdown (opens to the right) */
.has-submenu {
    position: relative !important;
    overflow: visible !important;
}

.dropdown-submenu {
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    margin-left: 0 !important;
    background: #ffffff !important;
    min-width: 220px !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    padding: 10px 0 !important;
    display: none !important;
    z-index: 100000 !important;
    list-style: none !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    pointer-events: auto !important;
}

/* Hover Bridge: prevents menu from closing when moving cursor */
.has-submenu::after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 20px;
    height: 100%;
    display: none;
    z-index: 99999;
}

.has-submenu:hover::after {
    display: block;
}

.has-submenu:hover>.dropdown-submenu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.has-submenu>a {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

/* Mobile Sub-Dropdown */
.mobile-has-dropdown.active>.mobile-dropdown-menu {
    max-height: 2000px !important;
    /* Increased for deeper nesting */
    padding-bottom: 10px;
    margin-top: 5px;
    display: block !important;
    overflow: visible !important;
}

.mobile-submenu-toggle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

/* Mobile Dropdown */
.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    list-style: none;
    padding-left: 20px;
    transition: max-height 0.4s ease-out;
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--radius-sm);
}

.mobile-has-dropdown.active>.mobile-dropdown-menu {
    max-height: 1000px;
    padding-bottom: 10px;
    margin-top: 5px;
}

.mobile-dropdown-menu li a {
    font-size: 0.95rem !important;
    padding: 10px 0 !important;
    color: var(--text-secondary) !important;
    font-weight: 500 !important;
}

.mobile-dropdown-toggle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-toggle i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.mobile-has-dropdown.active .mobile-dropdown-toggle i {
    transform: rotate(180deg);
}