/* ==========================================================================
   1. Brand Identity & Typography
   ========================================================================== */

:root {
    --brand-mint: #6ef1e6;
    --brand-gray: #5f5f5f;
    --bg-light: #f4f7f9;
    --bg-packages: #f8fafc;
    --text-dark: #2d3436;
    --border-color: #e2e8f0;
    --site-font: 'Plus Jakarta Sans', sans-serif;
    
    /* Fallbacks for dynamic sizing */
    --header-height: 80px;
    --header-width: 100%;
}

html, body { 
    margin: 0; 
    padding: 0; 
    width: 100%; 
    overflow-x: hidden; 
    scroll-behavior: smooth; 
}

body { 
    font-family: var(--site-font); 
    background: var(--bg-light); 
    color: var(--brand-gray); 
    line-height: 1.6; 
}

.container { 
    width: 85%; 
    max-width: 1100px; 
    margin: auto; 
}

/* ==========================================================================
   2. Header and Menu options
   ========================================================================== */

/* a. Visual Effects & Transitions */

.navbar { 
    width: var(--header-width); 
    z-index: 9999; 
    background: var(--header-bg, #fff); 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    min-height: var(--header-height);
}

/* Scroll Transition Logic */
.navbar.scrolled {
    /* UPDATED: Uses the admin-defined scroll background color */
    background: var(--header-scroll-bg, #2d3436) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Logo transition on scroll */
.navbar.scrolled .logo img {
    transform: scale(0.85);
}

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

/* b. Navigation Slots & Dropdown Hierarchy */

.flex-nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 100%;
    width: 100%;
}

.main-menu {
    transition: 0.3s;
}

.main-menu ul { 
    list-style: none; 
    display: flex; 
    gap: 15px; 
    align-items: center; 
    margin: 0; 
    padding: 0; 
}

/* Dropdown Hierarchy */
.has-dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: none;
    list-style: none;
    padding: 15px 0;
    border-radius: 8px;
    z-index: 1000;
    border-top: 3px solid var(--brand-mint);
    animation: navFadeIn 0.3s ease;
}

.dropdown-menu li a {
    color: var(--text-dark) !important;
    padding: 10px 25px !important;
    display: block !important;
    text-transform: none !important;
    font-size: 0.9rem !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.dropdown-menu li a:hover {
    background: #f8f9fa !important;
    color: var(--brand-mint) !important;
}

/* CTA Slot */
.nav-cta { 
    padding: 10px 22px !important;
    border: 1px solid var(--brand-mint); 
    margin-left: 10px;
}

/* c. Dimensions & Colors */

.logo img { 
    height: auto;
    max-height: calc(var(--header-height) * 0.7); 
    display: block; 
    transition: 0.3s;
}

.menu-toggle { 
    display: none; 
    font-size: 1.5rem; 
    color: var(--text-dark); 
    cursor: pointer; 
    transition: 0.3s;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-v3 { 
    position: relative;
    padding: calc(var(--header-height) + 80px) 0 100px; 
    overflow: hidden; 
    color: white; 
    min-height: 70vh;
    display: flex;
    align-items: center;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: -1;
}

.grid-hero { 
    display: grid; 
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 50px; 
    align-items: center; 
    z-index: 1; 
}

.hero-content h1 { 
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.1; 
    margin-bottom: 25px; 
    font-weight: 800;
}

.floating-img { 
    width: 100%; 
    border-radius: 20px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn-glow { 
    background: var(--brand-mint); 
    color: #0f172a; 
    padding: 16px 35px; 
    border-radius: 8px; 
    text-decoration: none; 
    font-weight: 800; 
    display: inline-block; 
    transition: 0.3s;
}

.btn-glow:hover {
    box-shadow: 0 0 20px rgba(110, 241, 230, 0.6);
    transform: translateY(-3px);
}

.btn-outline-hero { 
    background: transparent; 
    color: #fff; 
    padding: 16px 35px; 
    border-radius: 8px; 
    text-decoration: none; 
    font-weight: 800; 
    border: 2px solid var(--brand-mint); 
    display: inline-block; 
    transition: 0.3s; 
}

.btn-outline-hero:hover { 
    background: var(--brand-mint); 
    color: #0f172a; 
}

.badge-established {
    background: rgba(110, 241, 230, 0.1);
    color: var(--brand-mint);
    border: 1px solid rgba(110, 241, 230, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

/* ==========================================================================
   SECTIONS (About, Accordion, Tables)
   ========================================================================== */

.about-section { padding: 100px 0; background: #fff; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.stat-card { 
    background: var(--bg-light); 
    padding: 35px; 
    border-radius: 15px; 
    border-left: 5px solid var(--brand-mint); 
    margin-bottom: 20px;
}

/* MSP Accordion */
.details-section { padding: 100px 0; background: var(--bg-light); }
.accordion-item { margin-bottom: 15px; }
.accordion-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    cursor: pointer; 
    padding: 25px; 
    background: #fff; 
    border-radius: 10px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Packages Table */
.package-table-wrapper {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    overflow-x: auto;
}

.package-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.package-table th, .package-table td { padding: 25px; text-align: center; border-bottom: 1px solid #eee; }

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */

.contact-ultra { padding: 100px 0; background: #1e293b; color: white; }
.form-container { background: #fff; padding: 45px; border-radius: 20px; color: var(--text-dark); }
.package-selection { margin: 25px 0; padding: 20px; background: #f8fafc; border-radius: 10px; }
.category-label { display: block; font-weight: 800; font-size: 0.75rem; text-transform: uppercase; color: #64748b; margin: 15px 0 10px; }

.radio-group { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 10px; }
.radio-container { cursor: pointer; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 8px; background: #fff; padding: 8px 15px; border: 1px solid #e2e8f0; border-radius: 6px; }

/* ==========================================================================
   MOBILE RESPONSIVE & INTERACTION MODES
   ========================================================================== */

@media (max-width: 992px) {
    .menu-toggle { display: block; }
    
    .main-menu { 
        display: none; 
        position: fixed; 
        top: 0; 
        right: 0; 
        width: 300px; 
        height: 100vh; 
        background: #fff; 
        padding: 100px 40px; 
        box-shadow: -15px 0 40px rgba(0,0,0,0.1);
        z-index: 9998;
    }
    
    .main-menu.active { display: block; }
    
    .main-menu ul { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 25px; 
    }
    
    .main-menu ul li { width: 100%; }
    
    .dropdown-menu { 
        position: static; 
        box-shadow: none; 
        border: none; 
        padding-left: 15px; 
        display: block; 
        background: #f9f9f9;
        margin-top: 10px;
    }

    .grid-hero, .grid-2 { grid-template-columns: 1fr; text-align: center; }
    .hero-btns { justify-content: center; }
}

@media (max-width: 768px) {
    .container { width: 90%; }
    .hero-content h1 { font-size: 2.5rem; }
}