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

:root {
    --primary: #3B82F6;
    --primary-bg: #EFF6FF;
    --secondary: #10B981;
    --secondary-bg: #ECFDF5;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --white: #FFFFFF;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Inter', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-primary);
    overflow-x: hidden;
}

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

/* --- Student Portal Theme --- */
.student-portal-theme {
    background: #F9FAFB;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-page-flex {
    display: flex;
    width: 100%;
    max-width: 900px;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.login-form-side {
    flex: 1;
    padding: 60px;
}

.login-illustration-side {
    flex: 1;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* --- Header --- */
.main-header {
    width: 100%;
    background: var(--white);
    padding: 16px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav.container {
    max-width: 100%;
    padding: 0 28px 0 clamp(24px, 4vw, 64px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.site-title {
    font-size: 24px;
    font-weight: 700;
    color: #2D3E50;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-tab {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-tab.active {
    color: var(--primary);
    position: relative;
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
}

.help-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    border: 1.5px solid #E5E7EB;
    border-radius: 50px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.help-btn:hover {
    background: #F9FAFB;
}

/* --- Header Status Pulse --- */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-right: 16px;
    background: #F3F4F6;
    padding: 4px 12px;
    border-radius: 50px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* --- Sections Control --- */
.tab-content {
    display: none;
}

.tab-content.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Layouts --- */
.hero-section {
    min-height: calc(100vh - 84px);
    background: linear-gradient(135deg, var(--white) 0%, #F0F7FF 100%);
    display: flex;
    align-items: flex-start;
    padding-top: 16px;
}

.hero-section > .container {
    max-width: 100%;
    width: 100%;
    padding-left: clamp(24px, 4vw, 64px);
    padding-right: 28px;
    box-sizing: border-box;
}

.main-flex {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
}

.left-column {
    flex: 1;
    max-width: 800px;
    padding: 8px 0 30px;
}

.right-column {
    width: auto;
    flex-shrink: 0;
    margin-left: auto;
    padding: 0 0 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* --- Content Sections --- */
.static-page-content {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 60px 0;
}

.static-page-content h2 {
    font-size: 36px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.static-page-content > p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 800px;
}

/* Grid Layouts */
.about-grid, .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.about-card, .f-detail-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.about-card:hover, .f-detail-card:hover { transform: translateY(-5px); }

.about-card i, .f-detail-card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-card h3, .f-detail-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.about-card p, .f-detail-card p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Contact Specific */
.contact-flex {
    display: flex;
    gap: 80px;
}

.contact-info { width: 45%; }
.contact-methods { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.method { display: flex; gap: 16px; align-items: center; }
.method i { font-size: 24px; color: var(--primary); }
.method h4 { font-size: 16px; }
.method p { color: var(--text-secondary); }

.contact-form-container { width: 55%; background: var(--white); padding: 40px; border-radius: 20px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 14px; font-weight: 600; }
.form-group input, .form-group textarea {
    padding: 12px;
    border: 1.5px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
}

/* --- Remaining Hero Styles --- */
.hero-text h1 { 
    font-size: clamp(26px, 2.7vw, 38px); 
    line-height: 1.25; 
    margin-bottom: 16px; 
    font-weight: 700; 
}
.hero-text h1 .hero-title-main {
    display: inline-block;
    white-space: nowrap;
}
.hero-text h1 span,
.hero-text h1 .hero-title-accent { 
    color: var(--primary); 
}
.hero-subtext { font-size: 16px; color: var(--text-secondary); margin-bottom: 48px; max-width: 500px; line-height: 1.6; }

.feature-slider-container { display: flex; align-items: center; gap: 20px; margin-bottom: 64px; }
.feature-slider { flex: 1; max-width: 500px; }
.feature-card { background: var(--white); padding: 24px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); display: flex; align-items: center; gap: 20px; }

.card-icon { width: 80px; height: 80px; background: #EFF6FF; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 32px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: #DCFCE7; color: #15803D; font-size: 12px; font-weight: 600; border-radius: 50px; }
.badge::before { content: ''; width: 6px; height: 6px; background: #22C55E; border-radius: 50%; }

.arrow-btn { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--white); box-shadow: 0 4px 10px rgba(0,0,0,0.08); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--text-primary); transition: all 0.3s ease; }
.arrow-btn:hover { background: var(--primary); color: var(--white); }

.dots-indicator { display: flex; gap: 8px; margin-top: 24px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #E5E7EB; cursor: pointer; transition: all 0.3s ease; }
.dot.active { background: var(--primary); width: 24px; border-radius: 10px; }

.bottom-features { display: flex; gap: 48px; margin-top: auto; padding-top: 40px; }
.f-item { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100px; }
.f-icon-small { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; background: #F3F4F6; }
.f-item span { font-size: 13px; font-weight: 500; color: var(--text-secondary); text-align: center; }

.login-card { background: var(--white); padding: 32px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); display: flex; flex-direction: column; gap: 16px; border: 1px solid #F3F4F6; transition: all 0.3s ease; }
.login-card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05); }
.card-header-flex { display: flex; align-items: center; gap: 16px; }
.login-icon-box { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.teacher-box { background: #EFF6FF; color: #3B82F6; }
.student-box { background: #ECFDF5; color: #10B981; }

.login-btn { width: 100%; padding: 14px; border: none; border-radius: 10px; font-weight: 600; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: all 0.3s ease; text-decoration: none; }
.btn-teacher { background: var(--primary); color: var(--white); }
.btn-student { background: var(--secondary); color: var(--white); }

.site-footer {
    background: #F9FAFB;
    padding: 80px 0 40px;
    border-top: 1px solid #E5E7EB;
}

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

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.brand-col p {
    max-width: 250px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    color: var(--text-secondary);
}

.social-links i {
    width: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.social-links i:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #E5E7EB;
    padding-top: 32px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

/* --- Student Portal Login Page Styles --- */
.student-portal-theme {
    background: #FAFDFF;
}

.login-page-flex {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 60px 0;
}

.login-form-side {
    flex: 1;
    max-width: 500px;
}

.login-title-box h2 {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--secondary);
}

.login-title-box p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.actual-login-form {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 14px;
    width: 18px;
    color: var(--text-secondary);
}

.input-with-icon input {
    width: 100%;
    padding: 14px 14px 14px 44px;
    border: 1.5px solid #E5E7EB;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-with-icon input:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 4px #ECFDF5;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.form-options a {
    color: var(--secondary);
    text-decoration: none;
}

.login-illustration-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

.illus-card {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    padding: 48px;
    border-radius: 30px;
    color: var(--white);
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.2);
}

.illus-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 24px;
}

.illus-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.illus-card p {
    opacity: 0.9;
    line-height: 1.6;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Animation Utils */
.animate-slide { animation: slideIn 0.5s ease forwards; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

.pulse-animation {
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* ==========================================================================
   TOP UTILITY BAR (Inspired by Edunext / Vidyalaya)
   ========================================================================== */
.top-utility-bar {
    background: #0B132B;
    color: #94A3B8;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1001;
}

.top-utility-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 7px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-utility-left,
.top-utility-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.top-contact-link {
    color: #CBD5E1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.top-contact-link:hover {
    color: #38BDF8;
}

.top-system-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34D399;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.pulsing-green-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn-utility-demo {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: #FFFFFF !important;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-utility-demo:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* ==========================================================================
   HEADER & NAVIGATION UPGRADES
   ========================================================================== */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #E2E8F0;
    transition: box-shadow 0.3s;
}

.header-brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

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

.brand-title-main {
    font-size: 21px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.1;
    letter-spacing: -0.4px;
}

.brand-subtitle-tag {
    font-size: 10px;
    color: #2563EB;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.header-nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-tab:hover {
    color: #2563EB;
    background: #EFF6FF;
}

.nav-tab.active {
    color: #2563EB;
    background: #EFF6FF;
}

.nav-tab.active::after {
    display: none;
}

.nav-badge-new {
    background: #DC2626;
    color: #FFFFFF;
    font-size: 9.5px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.nav-cta-btn {
    background: linear-gradient(135deg, #1E3A8A, #2563EB);
    color: #FFFFFF !important;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

/* Mobile Menu Toggle Button */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #0F172A;
    font-size: 22px;
    cursor: pointer;
    padding: 6px;
}

/* ==========================================================================
   HERO ENHANCEMENTS & LIVE STAT STRIP
   ========================================================================== */
.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #EEF2FF;
    border: 1px solid #C7D2FE;
    color: #4338CA;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.08);
}

.hero-actions-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #1E3A8A, #2563EB);
    color: #FFFFFF;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 12px;
    font-size: 14.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.38);
}

.btn-hero-outline {
    background: #FFFFFF;
    color: #1E293B;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #CBD5E1;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-hero-outline:hover {
    border-color: #2563EB;
    color: #2563EB;
    background: #F8FAFC;
    transform: translateY(-2px);
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px dashed #E2E8F0;
}

.hero-stat-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px 14px;
    text-align: left;
}

.hero-stat-num {
    font-size: 22px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hero-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    margin-top: 3px;
}

/* Quick Demo Credential Pills */
.demo-cred-row {
    margin-top: 12px;
    padding: 10px;
    background: #F8FAFC;
    border: 1px dashed #CBD5E1;
    border-radius: 10px;
}

.demo-cred-row-title {
    font-size: 10.5px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.demo-cred-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-quick-cred {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 10.5px;
    font-weight: 700;
    color: #1E293B;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-quick-cred:hover {
    background: #EEF2FF;
    border-color: #2563EB;
    color: #2563EB;
}

/* ==========================================================================
   HOMEPAGE LIVE ERP SIMULATOR (THE FLAGSHIP COMPONENT)
   ========================================================================== */
.simulator-section-wrapper {
    margin: 50px 0 30px;
    padding: 0 10px;
}

.simulator-header-box {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 28px;
}

.simulator-header-box h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.8px;
    line-height: 1.2;
}

.simulator-header-box h2 span {
    background: linear-gradient(135deg, #2563EB, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.simulator-header-box p {
    font-size: 15px;
    color: #64748B;
    margin-top: 8px;
}

/* Chrome Window Mockup */
.sim-window-frame {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1.5px solid #CBD5E1;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    position: relative;
}

.sim-window-titlebar {
    background: #0F172A;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #1E293B;
}

.sim-window-dots {
    display: flex;
    gap: 7px;
}

.sim-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.sim-dot.red { background: #EF4444; }
.sim-dot.amber { background: #F59E0B; }
.sim-dot.green { background: #10B981; }

.sim-window-address {
    background: rgba(255, 255, 255, 0.1);
    color: #94A3B8;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 18px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.sim-window-live-pill {
    color: #34D399;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Tab Bar inside Simulator */
.sim-tab-bar {
    background: #F8FAFC;
    border-bottom: 1.5px solid #E2E8F0;
    padding: 8px 16px 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.sim-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #64748B;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.sim-tab-btn:hover {
    color: #1E293B;
    background: #F1F5F9;
}

.sim-tab-btn.active {
    background: #FFFFFF;
    color: #2563EB;
    border-color: #E2E8F0;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.03);
    position: relative;
}

.sim-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1.5px;
    left: 0;
    right: 0;
    height: 3px;
    background: #2563EB;
}

.sim-panel-body {
    padding: 24px 26px;
    min-height: 480px;
    background: #FFFFFF;
}

.sim-panel {
    display: none;
    animation: simFade 0.25s ease forwards;
}

.sim-panel.active {
    display: block;
}

@keyframes simFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sub-panel layout components */
.sim-panel-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.sim-panel-title h3 {
    font-size: 19px;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sim-panel-title p {
    font-size: 12.5px;
    color: #64748B;
    margin: 3px 0 0 0;
}

.sim-panel-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sim-btn-action {
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    color: #334155;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.sim-btn-action:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.sim-btn-action.primary {
    background: linear-gradient(135deg, #1E3A8A, #2563EB);
    color: #FFFFFF;
    border-color: #2563EB;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.2);
}

.sim-btn-action.primary:hover {
    background: linear-gradient(135deg, #1E40AF, #1D4ED8);
}

/* KPI Strip inside simulator */
.sim-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.sim-kpi-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sim-kpi-info span {
    font-size: 11px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: block;
}

.sim-kpi-info h4 {
    font-size: 24px;
    font-weight: 800;
    color: #0F172A;
    margin: 4px 0 0 0;
}

.sim-kpi-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.sim-kpi-icon.blue { background: #EFF6FF; color: #2563EB; }
.sim-kpi-icon.emerald { background: #ECFDF5; color: #10B981; }
.sim-kpi-icon.amber { background: #FFFBEB; color: #F59E0B; }
.sim-kpi-icon.rose { background: #FEF2F2; color: #EF4444; }

/* Interactive Table Styling */
.sim-table-wrap {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
}

.sim-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    text-align: left;
}

.sim-table th {
    background: #F8FAFC;
    color: #475569;
    font-weight: 700;
    padding: 10px 14px;
    border-bottom: 1.5px solid #E2E8F0;
    text-transform: uppercase;
    font-size: 10.5px;
    letter-spacing: 0.5px;
}

.sim-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #F1F5F9;
    color: #1E293B;
}

.sim-table tr:hover {
    background: #F8FAFC;
}

/* Status Pill Buttons in Attendance Table */
.sim-att-btn-group {
    display: inline-flex;
    gap: 4px;
}

.sim-status-toggle {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1.5px solid #CBD5E1;
    background: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    color: #64748B;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.sim-status-toggle:hover {
    border-color: #94A3B8;
}

.sim-status-toggle.p-active {
    background: #10B981;
    color: #FFFFFF;
    border-color: #10B981;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
}

.sim-status-toggle.a-active {
    background: #EF4444;
    color: #FFFFFF;
    border-color: #EF4444;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

.sim-status-toggle.l-active {
    background: #F59E0B;
    color: #FFFFFF;
    border-color: #F59E0B;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

/* Interactive Timetable Grid */
.sim-day-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.sim-day-pill {
    padding: 7px 16px;
    border-radius: 20px;
    background: #F1F5F9;
    color: #475569;
    border: 1px solid #E2E8F0;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.sim-day-pill.active {
    background: #2563EB;
    color: #FFFFFF;
    border-color: #2563EB;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.sim-tt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.sim-tt-slot {
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px;
    position: relative;
    transition: transform 0.2s, border-color 0.2s;
}

.sim-tt-slot:hover {
    transform: translateY(-2px);
    border-color: #93C5FD;
}

.sim-tt-slot.current-period {
    background: #EFF6FF;
    border-color: #3B82F6;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.15);
}

.sim-period-badge {
    font-size: 10px;
    font-weight: 800;
    color: #2563EB;
    background: #DBEAFE;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 8px;
}

.sim-tt-subject {
    font-size: 14px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 4px;
}

.sim-tt-meta {
    font-size: 11.5px;
    color: #64748B;
    display: flex;
    justify-content: space-between;
}

/* Simulated GPS Bus Tracker */
.sim-gps-card {
    background: linear-gradient(135deg, #0F172A, #1E293B);
    color: #FFFFFF;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 18px;
}

.sim-gps-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.sim-bus-badge {
    background: #F59E0B;
    color: #000000;
    font-weight: 900;
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.sim-gps-route-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 10px 0;
}

.sim-gps-stop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.sim-stop-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #334155;
    border: 2px solid #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
}

.sim-stop-dot.completed {
    background: #10B981;
    border-color: #34D399;
}

.sim-stop-dot.active-bus {
    background: #2563EB;
    border-color: #60A5FA;
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.35);
    animation: busPulse 1.5s infinite;
}

@keyframes busPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.sim-stop-name {
    font-size: 11px;
    color: #CBD5E1;
    font-weight: 600;
}

/* ==========================================================================
   MODULES EXPLORER SECTION (Vidyalaya Categorized Tabs)
   ========================================================================== */
.modules-filter-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 9px 18px;
    border-radius: 30px;
    background: #F1F5F9;
    color: #475569;
    border: 1.5px solid #E2E8F0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filter-chip:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.filter-chip.active {
    background: #2563EB;
    color: #FFFFFF;
    border-color: #2563EB;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.modules-grid-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.module-card-item {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.module-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08);
    border-color: #93C5FD;
}

.module-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.module-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.module-tag {
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    background: #F1F5F9;
    color: #475569;
}

.module-card-item h3 {
    font-size: 16.5px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 6px;
}

.module-card-item p {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
    margin-bottom: 14px;
}

.module-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.module-bullets li {
    font-size: 12px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
}

.module-bullets li i {
    color: #10B981;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.btn-module-demo {
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    color: #2563EB;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-module-demo:hover {
    background: #EFF6FF;
    border-color: #2563EB;
}

/* ==========================================================================
   INTERACTIVE PORTAL DEMOS SECTION
   ========================================================================== */
.portals-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.portal-spotlight-card {
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    border-radius: 18px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.portal-spotlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.12);
}

.portal-spotlight-card.teacher-card { border-color: #A7F3D0; }
.portal-spotlight-card.student-card { border-color: #BAE6FD; }
.portal-spotlight-card.admin-card   { border-color: #DDD6FE; }

.portal-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    width: fit-content;
}

.portal-spotlight-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 6px;
}

.portal-spotlight-card p {
    font-size: 13.5px;
    color: #64748B;
    line-height: 1.5;
    margin-bottom: 18px;
}

.btn-portal-launch {
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

/* ==========================================================================
   MODALS: SAMPLE RECEIPT, CBSE REPORT CARD, BOOK DEMO
   ========================================================================== */
.sim-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sim-modal-overlay.active {
    display: flex;
}

.sim-modal-card {
    background: #FFFFFF;
    border-radius: 18px;
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
    animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}

.sim-modal-header {
    padding: 16px 22px;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sim-modal-header h4 {
    font-size: 16px;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sim-modal-close {
    background: transparent;
    border: none;
    font-size: 18px;
    color: #64748B;
    cursor: pointer;
    padding: 4px;
}

.sim-modal-body {
    padding: 22px;
}

/* Printable Sample Receipt Card */
.receipt-paper {
    background: #FAFAFA;
    border: 1.5px dashed #CBD5E1;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.receipt-header-row {
    text-align: center;
    border-bottom: 2px solid #E2E8F0;
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.receipt-header-row h3 {
    font-size: 19px;
    color: #1E3A8A;
    font-weight: 800;
    margin: 0;
}

.receipt-stamp-paid {
    position: absolute;
    right: 28px;
    top: 24px;
    border: 2px solid #10B981;
    color: #10B981;
    font-size: 13px;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: 6px;
    transform: rotate(10deg);
    letter-spacing: 1px;
}

/* Printable Sample Report Card */
.report-card-sheet {
    background: #FFFFFF;
    border: 2px solid #2563EB;
    border-radius: 12px;
    padding: 24px;
    font-family: 'Inter', sans-serif;
}

.report-crest-bar {
    text-align: center;
    border-bottom: 2px solid #2563EB;
    padding-bottom: 14px;
    margin-bottom: 16px;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS & TOAST ALERTS
   ========================================================================== */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    color: #FFFFFF;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 1500;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast-item {
    background: #0F172A;
    color: #FFFFFF;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid #10B981;
    animation: toastSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: auto;
}

@keyframes toastSlide {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .main-flex, .contact-flex { flex-direction: column; }
    .left-column, .right-column, .contact-info, .contact-form-container { width: 100%; max-width: 100%; padding: 24px 0; align-items: center; }
    .hero-section > .container { padding-left: 20px; padding-right: 20px; }
    
    .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .sim-kpi-row { grid-template-columns: repeat(2, 1fr); }
    .sim-tt-grid { grid-template-columns: repeat(2, 1fr); }
    .portals-cards-row { grid-template-columns: 1fr; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #FFFFFF;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid #E2E8F0;
        gap: 12px;
    }
    
    .nav-links.mobile-open {
        display: flex;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
}

@media (max-width: 640px) {
    .top-utility-bar { font-size: 11px; }
    .top-utility-container { padding: 6px 14px; justify-content: center; text-align: center; }
    .hero-stats-grid { grid-template-columns: 1fr; }
    .sim-kpi-row { grid-template-columns: 1fr; }
    .sim-tt-grid { grid-template-columns: 1fr; }
    .sim-panel-body { padding: 16px; }
    .hero-text h1 .hero-title-main { white-space: normal; }
}

/* ==========================================================================
   HOMEPAGE FLYERS SHOWCASE (PORTRAIT & LANDSCAPE MODES)
   ========================================================================== */
.homepage-flyers-section {
    width: 100%;
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1.5px solid #E2E8F0;
    box-sizing: border-box;
}

.flyers-section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 28px;
}

.flyers-title {
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.5px;
    margin: 10px 0 8px;
}

.flyers-title span {
    background: linear-gradient(135deg, #4F46E5, #06B6D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.flyers-subtitle {
    font-size: 14.5px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 20px;
}

.flyers-filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.flyer-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: #F1F5F9;
    color: #475569;
    border: 1px solid #E2E8F0;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.flyer-pill:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.flyer-pill.active {
    background: #4F46E5;
    color: #FFFFFF;
    border-color: #4F46E5;
    box-shadow: 0 4px 14px -2px rgba(79, 70, 229, 0.35);
}

/* ==========================================================================
   HOME SECTION FULL-WIDTH ARCHITECTURE & TWO-PART HOMEPAGE FLYER SHOWCASE
   ========================================================================== */
#home-section {
    display: flex;
    flex-direction: column !important;
    width: 100%;
    box-sizing: border-box;
}

.hero-top-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.homepage-full-flyer-showcase {
    width: 100%;
    margin-top: 20px;
    box-sizing: border-box;
}

.homepage-hero-flyer-box {
    background: radial-gradient(circle at 85% 15%, rgba(191, 219, 254, 0.45) 0%, transparent 40%),
                radial-gradient(circle at 10% 85%, rgba(186, 230, 253, 0.45) 0%, transparent 45%),
                linear-gradient(135deg, #F0F6FF 0%, #E8F2FE 45%, #F4F8FF 75%, #EBF3FE 100%);
    border: 2px solid #FFFFFF;
    border-radius: 30px;
    padding: 30px 32px;
    box-shadow: 0 0 0 1.5px rgba(191, 219, 254, 0.7),
                0 24px 60px -15px rgba(37, 99, 235, 0.12),
                0 10px 30px -8px rgba(15, 23, 42, 0.04);
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Ambient Glowing Orbs */
.flyer-ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
    z-index: 0;
}

.glow-top-right {
    top: -50px;
    right: -50px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.5) 0%, rgba(219, 234, 254, 0.15) 70%, transparent 100%);
}

.glow-bottom-left {
    bottom: -50px;
    left: -50px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(186, 230, 253, 0.5) 0%, rgba(224, 242, 254, 0.15) 70%, transparent 100%);
}

.glow-bottom-right {
    bottom: -40px;
    right: 12%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.35) 0%, transparent 70%);
}

/* Dot Grid Pattern Matrix */
.flyer-dot-grid {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, #93C5FD 2.2px, transparent 2.2px);
    background-size: 14px 14px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
}

.flyer-dot-grid.top-left {
    top: 24px;
    left: 24px;
}

.flyer-dot-grid.bottom-left {
    bottom: 24px;
    left: 24px;
}

.flyer-dot-grid.mid-right {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.homepage-two-part-flyers {
    display: grid;
    grid-template-columns: 2.15fr 1fr;
    gap: 28px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 980px) {
    .homepage-two-part-flyers {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .homepage-hero-flyer-box {
        padding: 20px 18px;
        border-radius: 22px;
    }
}

.flyer-display-column {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Desktop Mockup Frame */
.desktop-mockup-frame {
    background: #FFFFFF;
    border: 3.5px solid #FFFFFF;
    border-radius: 28px;
    box-shadow: 0 0 0 1.5px #BFDBFE,
                0 20px 48px -10px rgba(26, 54, 110, 0.16),
                0 8px 24px -6px rgba(15, 23, 42, 0.08);
    padding: 0;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.desktop-mockup-frame:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1.5px #93C5FD,
                0 26px 56px -12px rgba(26, 54, 110, 0.22),
                0 10px 28px -6px rgba(15, 23, 42, 0.1);
}

.desktop-top-corner-accent {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 54px;
    height: 54px;
    border-top: 4.5px solid #0D3B75;
    border-left: 4.5px solid #0D3B75;
    border-top-left-radius: 26px;
    pointer-events: none;
    z-index: 8;
}

.desktop-mockup-bottom-bar {
    background: #0B254E;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 38px;
    padding: 0 16px;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 3;
}

.desktop-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: #FFFFFF;
    z-index: 2;
}

.desktop-bar-swoosh {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 150px;
    z-index: 1;
    pointer-events: none;
}

/* Smartphone Mockup Frame */
.phone-mockup-frame {
    background: #FFFFFF;
    border: 3.5px solid #FFFFFF;
    border-radius: 38px;
    box-shadow: 0 0 0 1.5px #BFDBFE,
                0 20px 48px -10px rgba(26, 54, 110, 0.18),
                0 8px 24px -6px rgba(15, 23, 42, 0.08);
    padding: 0;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-mockup-frame:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1.5px #93C5FD,
                0 26px 56px -12px rgba(26, 54, 110, 0.24),
                0 10px 28px -6px rgba(15, 23, 42, 0.1);
}

.phone-mockup-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 18px 7px;
    background: #FFFFFF;
    border-top-left-radius: 34px;
    border-top-right-radius: 34px;
    font-size: 11px;
    font-weight: 800;
    color: #0F172A;
    z-index: 3;
}

.phone-status-notch {
    width: 44px;
    height: 4px;
    background: #E2E8F0;
    border-radius: 4px;
}

.phone-status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #0F172A;
}

.phone-mockup-home-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 0 8px;
    background: #FFFFFF;
    border-bottom-left-radius: 34px;
    border-bottom-right-radius: 34px;
    z-index: 3;
}

.phone-home-pill {
    width: 80px;
    height: 4px;
    background: #CBD5E1;
    border-radius: 4px;
}

.flyer-slider-box {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0F172A;
}

.webpage-column .flyer-slider-box {
    aspect-ratio: 16 / 9 !important;
    width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.mobile-column .flyer-slider-box {
    aspect-ratio: 9 / 16 !important;
    width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.flyer-part-viewport {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.flyer-part-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.flyer-part-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.flyer-part-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    transition: transform 0.4s ease;
}

.flyer-part-slide:hover .flyer-part-img {
    transform: scale(1.03);
}

.flyer-part-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 18px;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.88) 100%);
    color: #FFFFFF;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.flyer-part-slide:hover .flyer-part-overlay {
    opacity: 1;
}

.flyer-part-title {
    font-size: 15px;
    font-weight: 800;
    margin: 0;
    color: #FFFFFF;
    letter-spacing: -0.2px;
}

.flyer-part-desc {
    font-size: 12.5px;
    color: #E2E8F0;
    margin: 3px 0 0 0;
}

.flyer-part-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0F172A;
    z-index: 5;
    transition: all 0.2s ease;
}

.flyer-part-arrow:hover {
    background: #4F46E5;
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.1);
}

.flyer-part-arrow.part-prev {
    left: 12px;
}

.flyer-part-arrow.part-next {
    right: 12px;
}

.mobile-column .flyer-part-arrow {
    width: 32px;
    height: 32px;
}

.mobile-column .flyer-part-arrow.part-prev {
    left: 8px;
}

.mobile-column .flyer-part-arrow.part-next {
    right: 8px;
}

.flyer-part-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
}

.flyers-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1140px;
    margin: 24px auto 0;
    padding: 0 54px;
    box-sizing: border-box;
}

.flyers-carousel-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    padding: 8px 0;
}

.flyers-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    gap: 24px;
}

.flyer-carousel-slide {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
    box-sizing: border-box;
    display: flex;
}

@media (max-width: 860px) {
    .flyers-carousel-wrapper {
        padding: 0 44px;
    }
    .flyer-carousel-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .flyers-carousel-wrapper {
        padding: 0 36px;
    }
}

.flyer-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1E293B;
    z-index: 10;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.flyer-carousel-arrow:hover {
    background: #4F46E5;
    color: #FFFFFF;
    border-color: #4F46E5;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
    transform: translateY(-50%) scale(1.08);
}

.flyer-arrow-prev {
    left: 0;
}

.flyer-arrow-next {
    right: 0;
}

.flyers-carousel-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.flyers-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.flyer-dot {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: #CBD5E1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.35s ease;
}

.flyer-dot:hover {
    background: #94A3B8;
}

.flyer-dot.active {
    width: 28px;
    background: #4F46E5;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}

.flyers-auto-progress {
    width: 180px;
    height: 5px;
    background: #E2E8F0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.flyers-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4F46E5, #06B6D4);
    border-radius: 6px;
}

.flyer-card {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1.5px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.flyer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12);
    border-color: #C7D2FE;
}

.flyer-card-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0F172A;
}

.flyer-card.landscape .flyer-card-media {
    aspect-ratio: 16 / 9;
}

.flyer-card.portrait .flyer-card-media {
    aspect-ratio: 3 / 4;
}

.flyer-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.flyer-orientation-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #FFFFFF;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.flyer-card.landscape .flyer-orientation-badge {
    background: rgba(37, 99, 235, 0.88);
}

.flyer-card.portrait .flyer-orientation-badge {
    background: rgba(147, 51, 234, 0.88);
}

.flyer-order-chip {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    color: #FFFFFF;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2;
}

.flyer-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.flyer-card-title {
    font-size: 16.5px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
    line-height: 1.35;
}

.flyer-card-desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
    margin: 0 0 14px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.flyer-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #F1F5F9;
    margin-top: auto;
}

.flyer-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: #4F46E5;
    text-decoration: none;
    transition: color 0.2s;
}

.flyer-view-btn:hover {
    color: #3730A3;
}

/* Lightbox Modal */
.flyer-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.flyer-modal-container {
    background: #FFFFFF;
    border-radius: 20px;
    max-width: 880px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
}

.flyer-modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.7);
    color: #FFFFFF;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.flyer-modal-close-btn:hover {
    background: rgba(15, 23, 42, 0.95);
}

.flyer-modal-image-wrap {
    width: 100%;
    max-height: 60vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.flyer-modal-image-wrap img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
}

.flyer-modal-info {
    padding: 22px 26px;
    background: #FFFFFF;
    overflow-y: auto;
}

.flyer-modal-title {
    font-size: 22px;
    font-weight: 800;
    color: #0F172A;
    margin: 8px 0 6px 0;
}

.flyer-modal-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

