:root {
    --navy: #0a192f;
    --orange: #ff8c00;
    --white: #ffffff;
    --cream: #f9f4ee; 
    --glass: rgba(255, 255, 255, 0.7);
    --border: rgba(10, 25, 47, 0.08);
    --max-w: 1800px;
    --cubic: cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
    background-color: var(--cream);
    color: var(--navy);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* --- Geometric Background --- */
.bg-decor {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.05), rgba(10, 25, 47, 0.02));
    border: 1px solid rgba(255, 140, 0, 0.1);
    backdrop-filter: blur(2px);
    animation: float 20s infinite alternate var(--cubic);
}

.rect-1 { width: 400px; height: 150px; top: 10%; right: -50px; transform: rotate(15deg); }
.rect-2 { width: 300px; height: 600px; bottom: -100px; left: 5%; transform: rotate(-10deg); }
.square-1 { width: 150px; height: 150px; top: 40%; right: 15%; animation-duration: 25s; }
.square-2 { width: 80px; height: 80px; top: 20%; left: 20%; border-radius: 12px; }

@keyframes float {
    from { transform: translate(0, 0) rotate(0deg); }
    to { transform: translate(30px, 50px) rotate(5deg); }
}

/* --- Layout Architecture --- */
.max-width-wrapper {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 100px 60px;
}

.hero-header {
    margin-bottom: 120px;
}

.hero-header h1 {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    color: var(--navy);
    letter-spacing: -3px;
    line-height: 0.9;
}

.hero-header h1 span {
    color: var(--orange);
    -webkit-text-stroke: 1.5px var(--orange);
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-weight: 800;
    text-transform: uppercase;
    color: var(--orange);
    letter-spacing: 4px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.main-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 100px;
}

/* --- Sidebar Navigation --- */
.sidebar-nav {
    position: sticky;
    top: 60px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    opacity: 0.4;
}

.nav-link .num { color: var(--orange); font-size: 0.8rem; }
.nav-link:hover, .nav-link.active { opacity: 1; transform: translateX(10px); }

/* --- Content Cards --- */
.card {
    background: var(--white);
    padding: 80px;
    border-radius: 60px;
    margin-bottom: 60px;
    box-shadow: 0 40px 100px rgba(10, 25, 47, 0.04);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.card-header h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.card-header .line {
    width: 60px;
    height: 4px;
    background: var(--orange);
    margin-bottom: 40px;
}

.security-toast {
    margin-top: 40px;
    background: var(--navy);
    color: var(--white);
    padding: 25px 40px;
    border-radius: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.security-toast i { color: var(--orange); font-size: 1.5rem; }

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s var(--cubic);
}

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

/* Mobile Responsiveness */
@media (max-width: 1200px) {
    .main-layout { grid-template-columns: 1fr; }
    .sidebar-nav { display: none; }
    .card { padding: 40px; }
}
/* Section 03 - Billing Specifics */
.billing-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.feat-item {
    background: var(--cream);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 140, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feat-item i {
    color: var(--orange);
    font-size: 1.4rem;
}

.sub-note {
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.8;
}

/* Section 04 - IP Specifics */
.ip-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.ip-box {
    padding: 30px;
    border-radius: 25px;
    background: #fdfdfd;
    border: 1px dashed var(--border);
}

.ip-box.highlight {
    background: linear-gradient(145deg, #ffffff, var(--cream));
    border: 1px solid var(--orange);
}

.ip-box h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.warning-banner {
    margin-top: 40px;
    padding: 20px 30px;
    background: rgba(10, 25, 47, 0.03);
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--navy);
}

.warning-banner i {
    color: var(--orange);
}

/* Mobile Tweak for Grid */
@media (max-width: 900px) {
    .billing-features, .ip-split {
        grid-template-columns: 1fr;
    }
}
/* --- Ultra Pro Typography Scaling --- */

.card p, 
.card li,
.pro-text p {
    /* Increases the gap between words for better scanning */
    word-spacing: 0.15rem; 
    
    /* Subtle character spacing for a modern 'tech' feel */
    letter-spacing: 0.015rem; 
    
    /* Generous line height so the eyes don't get tired */
    line-height: 1.9;
    
    /* Optimized font size for 1800px width */
    font-size: 1.15rem;
    
    color: #4a5568; /* Softened Navy for better reading contrast */
    margin-bottom: 1.5rem;
    font-weight: 400;
    
    /* Smooth text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhancing Bold Text inside sections */
.card strong {
    color: var(--navy);
    font-weight: 700;
    letter-spacing: 0.02rem;
    /* Adding a subtle highlight effect to bold terms */
    background: linear-gradient(120deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.3em;
    background-position: 0 88%;
}

/* Enhancing List Spacing */
.pro-list {
    margin: 25px 0;
    padding-left: 20px;
}

.pro-list li {
    position: relative;
    list-style: none;
    padding-left: 30px;
    margin-bottom: 20px;
}

/* Modern Orange Dot for Lists */
.pro-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background-color: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.4);
}

/* Content Width Control */
/* Even with 1800px width, text shouldn't stretch too far 
   or it becomes hard to read. This limits the line length. */
.card p {
    max-width: 1100px;
}
/* ================= NAV CONTAINER ================= */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ================= NAV LINKS ================= */
.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

/* NAV ITEMS */
.nav-link {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    position: relative;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

/* Hover underline */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

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

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

/* ACTIVE LINK */
.nav-link.active {
    color: var(--primary-orange);
}

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

/* ================= LOGIN BUTTON ================= */
.btn.orange {
    background: #ff7a18;
    color: var(--white);
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: auto;
    text-decoration: none;
}

.btn.orange:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-1px);
}

/* ================= CART ================= */
.cart-container i {
    font-size: 18px;
    color: navy;
    transition: 0.3s;
}

.cart-container i:hover {
    color: var(--primary-orange);
}

/* Badge */
.cart-badge {
    font-size: 11px;
    font-weight: 600;
    background: red;
    color: var(--white);
    padding: 2px 6px;
    border-radius: 50%;
}

/* UNDERLINE (hidden by default) */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2.5px;
    background: var(--primary-orange);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* HOVER EFFECT */
.nav-link:hover {
    color: var(--navy);
    /* keep text navy */
}

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

.menu-toggle {
    display: none;
}

.cart-container {
    position: relative;
    color: #349b3c;
}

.cart-container i {
    font-size: 20px;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: red;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
}

/*  AUTH OVERLAY */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 25, 0.8);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* MODAL */
.auth-modal {
    display: flex;
    width: 700px;
    max-width: 90%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

/* LEFT PANEL */
.auth-left {
    flex: 1;
    background: linear-gradient(135deg, #ff6b00, #cc9042);
    color: white;
    padding: 30px;
}

/* RIGHT PANEL */
.auth-right {
    flex: 1;
    padding: 30px;
}

/* INPUT */
.auth-right input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
}

/* BUTTON */
.auth-right button {
    width: 100%;
    padding: 12px;
    background: #ff6b00;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 6px;
}

/* ERROR */
.error {
    color: red;
    font-size: 12px;
}

/* TERMS */
.terms {
    font-size: 14px;
}

/* ANIMATION */
@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/*  BLOCK PAGE */
body.auth-active {
    overflow: hidden;
}

.auth-active .container {
    filter: blur(6px);
    pointer-events: none;
}

/* CAPTCHA BOX */
.captcha-box {
    margin: 10px 0;
}

/* ROW */
.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* CAPTCHA IMAGE */
#captchaImage {
    height: 45px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* REFRESH BUTTON */
.refresh-btn {
    padding: 6px 10px;
    border: none;
    background: #eee;
    cursor: pointer;
    border-radius: 6px;
}

/* INPUT */
#captchaInput {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
}

/* NAME ROW */
.name-row {
    display: flex;
    gap: 10px;
}

.name-row input {
    width: 100%;
}

/* TERMS BOX */
.terms-box {
    background: #f8f9ff;
    border: 1px solid #e0e3ff;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
}

.terms-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.terms-box ul {
    padding-left: 15px;
    font-size: 13px;
}

.terms-box li {
    margin-bottom: 4px;
}

.terms-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
}

.terms-inline input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.resend-btn {
    margin-top: 10px;
    background: transparent;
    color: #ff6b00;
    border: none;
    cursor: pointer;
}

p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

/* --- SHARED HEADER STYLES --- */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background:white;
    /* Matches your beige background */
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 5px 0;
    border-bottom: 1px solid rgba(26, 43, 86, 0.1);
    height:120px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 125px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    text-transform: capitalize;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--orange);
}

/* --- FOOTER STYLES (ALIGNED WITH LAB THEME) --- */
.site-footer {
    background:#0a0f1a;
    color: var(--white);
    padding: 80px 0 30px;
    margin-top: 100px;
}

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

.footer-brand p {
    margin: 20px 0;
    opacity: 0.8;
    max-width: 300px;
}

.footer-logo {
    height: 220px;
  
    /* Makes logo white for navy bg */
}

.site-footer h3 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    color: var(--orange);
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

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

.site-footer ul li a {
    color: var(--navy);
    text-decoration: none;
    opacity: 0.7;
    transition: 0.3s;
}

.site-footer ul li a:hover {
    opacity: 1;
    color: var(--orange);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--orange);
    transform: translateY(-3px);
}

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

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand p {
        margin: 20px auto;
    }

    .social-links {
        justify-content: center;
    }
}

/* ================= FIXED NAVBAR ================= */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95); /* Clean white with slight transparency */
    backdrop-filter: blur(10px);
    z-index: 1000;
    height: 90px; /* Reduced from 120px for better proportion */
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(26, 43, 86, 0.1);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

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

.logo-img {
    height: 220px; /* Scaled to fit the 90px header comfortably */
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 18px;
    text-transform: capitalize;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--orange);
}

/* Hover Underline Animation */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}

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

/* Action Buttons in Nav */
.main-nav .btn.orange {
    padding: 10px 24px;
    font-size: 15px;
    margin: 0; /* Reset margins */

}

/* Cart badge styling fix */
.cart-container {
    display: flex;
    align-items: center;
    position: relative;
}

.cart-container i {
    font-size: 20px;
    color: var(--navy);
}

/* Mobile Toggle - Hidden by default */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--navy);
    cursor: pointer;
}



/* ================= FIXED NAVBAR & RESPONSIVE HEADER ================= */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    height: 100px; /* Balanced height for the larger logo */
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(26, 43, 86, 0.1);
}



/* Toggle hidden on Desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--navy);
    cursor: pointer;
}

/* Desktop Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* MOBILE RESPONSIVE (Tablets & Phones) */
@media (max-width: 992px) {
    .menu-toggle {
        display: block; /* Show hamburger only on non-desktop */
    }

    .main-nav {
        display: none; /* Hide standard nav */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 30px;
        border-bottom: 3px solid var(--orange);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        display: flex; /* Toggle this via JS */
    }

    .logo-img {
        height: 120px;
    }
    
    .site-header {
        height: 80px;
    }
}

/* ================= FOOTER FIX (ICON ALIGNMENT) ================= */
.site-footer {
    background: #0a0f1a;
    color: var(--white);
    padding: 80px 0 30px;
}

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

/* The Alignment Fix */
.site-footer p {
    display: flex;
    align-items: center;
    gap: 12px; /* Space between icon and text */
    margin-bottom: 15px;
    opacity: 0.8;
}

.site-footer i {
    color: var(--orange);
    width: 20px; /* Keeps icons perfectly aligned vertically */
    text-align: center;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .site-footer p {
        justify-content: center; /* Centers the icon+text group on mobile */
    }
}
/* ================= AUTH MODAL RESPONSIVE FIX ================= */

@media (max-width: 768px) {
    /* 1. Change modal from side-by-side to a single column */
    .auth-modal {
        flex-direction: column;
        width: 95%; /* Take up more space on small screens */
        max-height: 90vh;
        overflow-y: auto; /* Allow scrolling if content is long */
    }

    /* 2. Remove the left blue/orange panel */
    .auth-left {
        display: none;
    }

    /* 3. Make the right side full width */
    .auth-right {
        flex: 1;
        width: 100%;
        padding: 40px 20px; /* Adjust padding for mobile thumbs */
    }

    /* 4. Adjust internal elements for better mobile tapping */
    .auth-right input, 
    .auth-right button {
        font-size: 16px; /* Prevents iOS zoom-on-focus */
        padding: 14px;
    }

    .name-row {
        flex-direction: column; /* Stack First/Last name inputs */
        gap: 0;
    }
}
/* --- Ultra Pro Navigation Styling --- */

.main-nav .nav-link {
    /* Set the starting color to your specific Navy Blue */
    color: #1a2b56 !important; 
    
    font-weight: 400;
    text-transform: lowercase; /* Matches your 'programs', 'about' style */
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 1.1rem;
}

/* Hover State */
.main-nav .nav-link:hover {
    color: #ff8c00 !important; /* Your Brand Orange */
    transform: translateY(-2px);
}

/* Sidebar Nav Links (Acceptance, Eligibility, etc.) */
.nav-link {
    /* Ensure the sidebar also uses the correct Navy Blue */
    color: #1a2b56;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    font-weight: 700;
    opacity: 0.7; /* Slight transparency for non-active links */
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-link.active, 
.nav-link:hover {
    color: #ff8c00 !important; /* Transitions to Orange on hover/active */
    opacity: 1;
    transform: translateX(10px);
}

/* Ensure the Sidebar Numbers stay Orange for contrast */
.nav-link .num {
    color: #ff8c00;
    font-size: 0.85rem;
    font-weight: 800;
}
/* ================= CONSOLIDATED NAV-LINK COLOR ================= */

/* 1. Base style for all nav links */
.nav-link {
    color: #1a2b56 !important; /* Forces your specific navy color */
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    opacity: 1 !important; /* Removes any transparency that might make it look gray */
}

/* 2. Header-specific styling */
.main-nav .nav-link {
    font-size: 22px;
    padding: 10px 15px;
    text-transform: lowercase;
}

/* 3. Sidebar-specific styling */
.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(10, 25, 47, 0.08);
}

/* 4. Hover and Active states (changes to orange) */
.nav-link:hover, 
.nav-link.active {
    color: #ff8c00 !important; /* Brand orange */
}

/* 5. Underline animation for header links */
.main-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2.5px;
    background: #ff8c00;
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

/* ================= RESPONSIVE OVERRIDE (TABLETS & MOBILE) ================= */

@media (max-width: 1024px) {
    /* 1. Reset the layout to a single column */
    .main-layout {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* 2. Reposition the Sidebar for Mobile/Tablet */
    .sidebar-nav {
        position: relative !important; /* Removes sticky for mobile */
        top: 0 !important;
        margin-bottom: 40px;
        z-index: 10;
        /* Per User Correction: Do not use hamburger for tablet, show links */
        display: block !important; 
    }

    /* 3. Horizontal Scroll for Sidebar Links (Pro Touch) */
    .nav-sticky {
        display: flex !important;
        overflow-x: auto;
        white-space: nowrap;
        gap: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid var(--border);
        -webkit-overflow-scrolling: touch;
    }

    /* Adjust sidebar links for horizontal layout */
    .sidebar-nav .nav-link {
        padding: 10px 20px !important;
        border-bottom: none !important;
        background: var(--white);
        border-radius: 30px;
        font-size: 0.95rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    /* 4. Card & Content Adjustments */
    .max-width-wrapper {
        padding: 60px 20px !important; /* Reduced horizontal padding */
    }

    .hero-header {
        margin-bottom: 60px;
        text-align: center;
    }

    .card {
        padding: 40px 25px !important; /* Tighter padding for mobile screens */
        border-radius: 30px !important;
    }

    .card-header h2 {
        font-size: 1.6rem !important;
    }

    /* 5. Pricing & IP Grids (Stacking vertically) */
    .billing-features, 
    .ip-split {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* 6. Header/Logo adjustments */
    .site-header {
        height: 80px !important;
    }

    .logo-img {
        height: 100px !important; /* Scaled down logo for mobile height */
    }

    /* Fix: Header nav stays visible but stacks better */
    .main-nav {
        gap: 15px !important;
    }

    .nav-link {
        font-size: 22px !important;
    }
}

/* ================= CRITICAL MOBILE OVERFLOW FIX ================= */

@media (max-width: 768px) {
    /* 1. Reset Global Containers */
    html, body {
        overflow-x: hidden; /* Prevents horizontal shaking */
        width: 100%;
    }

    .max-width-wrapper {
        padding: 40px 15px !important; /* Reduced padding to save screen real estate */
        width: 100% !important;
        overflow: hidden;
    }

    /* 2. Fix Grid System */
    .main-layout {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 20px !important;
    }

    /* 3. Responsive Sidebar (Horizontal Scroll) */
    .sidebar-nav {
        position: relative !important;
        top: 0 !important;
        width: 100% !important;
        display: block !important;
        margin-bottom: 20px;
    }

    .nav-sticky {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding: 5px 0 15px 0;
    }

    .sidebar-nav .nav-link {
        white-space: nowrap !important; /* Prevents text from breaking into two lines */
        padding: 10px 20px !important;
        border: 1px solid var(--border) !important;
        border-radius: 50px;
        background: var(--white);
        flex-shrink: 0; /* Ensures buttons don't squash */
    }

    /* 4. Card & Typography Scaling */
    .card {
        padding: 30px 20px !important; /* Prevents text from hitting the edges */
        border-radius: 30px !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box; /* Ensures padding is included in width */
    }

    .card p, .pro-text p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        word-wrap: break-word; /* Forces long words to break */
        max-width: 100% !important;
    }

    /* 5. Pricing & IP Grid Stacking */
    .billing-features, 
    .ip-split {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 15px !important;
    }

    .feat-item, .ip-box {
        width: 100% !important;
        box-sizing: border-box;
    }

    /* 6. Hero Section Scaling */
    .hero-header h1 {
        font-size: 2.8rem !important; /* Prevents huge text from pushing out */
        word-break: break-word;
    }

    /* 7. Image/Logo Scaling */
    .logo-img {
        max-width: 180px !important;
        height: auto !important;
    }
}
/* ================= COMPLETE MOBILE SIDEBAR REMOVAL ================= */

@media (max-width: 992px) {
    /* 1. Remove the Sidebar entirely */
    .sidebar-nav {
        display: none !important;
    }

    /* 2. Force the Main Content to be Full Width */
    .main-layout {
        display: block !important; /* Switch from Grid to Block */
        width: 100% !important;
    }

    .content-hub {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 3. Fix Horizontal Overflow */
    html, body {
        overflow-x: hidden;
        width: 100vw;
        position: relative;
    }

    .max-width-wrapper {
        padding: 40px 15px !important; /* Tight padding for mobile edges */
        width: 100% !important;
        box-sizing: border-box;
    }

    /* 4. Card Scaling to prevent "Content going out" */
    .card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 30px 20px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 25px !important; /* Slightly smaller radius for mobile */
        box-sizing: border-box !important;
        overflow: hidden; /* Clips any internal content leaking out */
    }

    /* 5. Scale down the Hero Text */
    .hero-header h1 {
        font-size: 2.8rem !important;
        line-height: 1.1;
        word-wrap: break-word;
    }

    /* 6. Ensure all internal Grids stack */
    .billing-features, 
    .ip-split {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }
}

/* ============================================================
   profile-dropdown.css
   Profile icon + dropdown styles — navy & orange only.
   Link this in every page that uses the header.
============================================================ */

/* ── tokens ─────────────────────────────────────────────── */
:root {
  --pd-navy:        #0d1b3e;
  --pd-navy-mid:    #1a2d5a;
  --pd-orange:      #f47b20;
  --pd-orange-dark: #d4631a;
  --pd-orange-pale: #fff3e8;
}

/* ── profile icon button ────────────────────────────────── */
.profile-wrap {
  position: relative;
  display: inline-block;
}

.profile-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pd-orange);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.03em;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.profile-btn:hover,
.profile-btn.open {
  border-color: var(--pd-orange);
  box-shadow: 0 0 0 3px rgba(244, 123, 32, 0.35);
}

/* ── dropdown panel ─────────────────────────────────────── */
.profile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 290px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(9, 19, 40, 0.28);
  overflow: hidden;
  z-index: 9999;
  animation: pdDropIn 0.18s ease;
}

.profile-dropdown.visible {
  display: block;
}

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

/* ── header strip (navy bg with avatar + name/email) ─────── */
.pd-header {
  background: var(--pd-navy);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.pd-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pd-orange);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.04em;
}

.pd-info {
  min-width: 0;
}

.pd-name {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd-email {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.73rem;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── section label ──────────────────────────────────────── */
.pd-section-label {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9aa3b2;
  padding: 0.6rem 1rem 0.2rem;
}

/* ── list item (fav / saved) ────────────────────────────── */
.pd-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  color: var(--pd-navy);
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.pd-item:hover {
  background: var(--pd-orange-pale);
  color: var(--pd-orange-dark);
}

.pd-item svg {
  flex-shrink: 0;
  opacity: 0.65;
}

.pd-item:hover svg {
  opacity: 1;
}

/* ── purchase history row ───────────────────────────────── */
.pd-purchase-row {
  border-left: 3px solid var(--pd-orange);
  margin: 0.2rem 1rem;
  padding: 0.3rem 0.55rem;
  background: var(--pd-orange-pale);
  border-radius: 0 6px 6px 0;
  font-size: 0.76rem;
  color: var(--pd-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pd-purchase-row span {
  font-weight: 600;
  color: var(--pd-orange-dark);
}

/* ── empty state ────────────────────────────────────────── */
.pd-empty {
  font-size: 0.76rem;
  color: #b0b8c9;
  padding: 0.25rem 1rem 0.5rem;
  font-style: italic;
}

/* ── divider ────────────────────────────────────────────── */
.pd-divider {
  height: 1px;
  background: #f0f2f5;
  margin: 0.35rem 0;
}

/* ── logout button ──────────────────────────────────────── */
.pd-logout {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: #c0392b;
  cursor: pointer;
  transition: background 0.15s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
}

.pd-logout:hover {
  background: #fff0f0;
}


/* MOBILE VIEW */
@media (max-width: 768px) {

  .header-inner {
    position: relative;
  }

  /* HAMBURGER BUTTON */
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    z-index: 1002;
  }

  .menu-toggle i {
    font-size: 24px;
    color: #000;
  }

  /* MOBILE NAV MENU */
  .main-nav {

    position: absolute;

    top: 70px;
    left: 0;

    max-width: 100%;

    background: #fff;

    padding: 32px 24px;

    display: none;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 22px;

    border-radius: 0 0 16px 16px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.08);

    z-index: 1001;
  }

  /* SHOW MENU */
  .main-nav.active {
    display: flex;
  }

  /* NAV LINKS */
  .main-nav .nav-link {
    width: 100%;

    text-align: center;

    font-size: 18px;
    font-weight: 600;

    color: #111;
  }

  /* LOGIN BUTTON */
  .main-nav .btn {
    width: 100%;
    text-align: center;
  }

  /* CART */
  .cart-container {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* PROFILE */
  .profile-wrap {
    position: relative;

    width: fit-content;

    margin: 0 auto;
  }

  .profile-btn {
    margin: 0 auto;
  }

  /* DROPDOWN */
  .profile-dropdown {

    display: none;

    position: absolute;

    top: 48px;

    left: 50%;

    transform: translateX(-50%);

    width: 320px;
    max-width: 90vw;

    background: #fff;

    border-radius: 14px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.12);

    z-index: 9999;
  }

  .profile-dropdown.show {
    display: block;
  }
  /* CART */
.cart-container {
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
}

.cart-container a {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-badge {
  position: absolute;

  top: -8px;
  right: -10px;

  min-width: 18px;
  height: 18px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 11px;
  font-weight: 600;

  background: red;
  color: #fff;
}
}
@media (max-width: 768px) {

  .main-nav {

    position: fixed;

    top: 0;
    left: 0;

    width: 100vw;
    

    background: #fff;

    padding: 90px 24px 40px;

    display: none;

    flex-direction: column;
    align-items: center;

    gap: 34px;

    /* overflow-y: auto; */

    z-index: 1001;
  }

  .main-nav.active {
    display: flex;
  }
 .main-nav .nav-link {

    display: flex;

    justify-content: center;
    align-items: center;

    width: 100%;

    text-align: center;

    font-size: 22px;
    font-weight: 400;

    color: #111;
  }

  

}
/* ===============================
   FOOTER STYLING (WHITE TO GREEN)
   =============================== */

.site-footer {
  /* Blends from an elegant off-white down into your sage green */
  background: linear-gradient(to bottom, #f8fafc 0%, #f1f5f9 40%, var(--complient-sage-green, #114d27) 100%);
  
  padding: 80px 0 30px;
  margin-top: 80px;
    border-top: 3px solid #e7e2df;
  position: relative;
  
 
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr 2fr 2fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

/* Responsive drop for mobile screen layouts */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   TEXT COLOR CONTRAST REFINEMENTS
   Because the top half is white, text needs to be dark at 
   the top and stand out cleanly across the whole block.
   =================================================== */

/* Headings (Now dark charcoal so they stand out on the white top half) */
.site-footer h3 {
  color: #1e293b;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.site-footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #ff6b1a;
}

/* Main Brand Text paragraph */
.footer-brand p {
  color: #334155; 
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 25px;
  max-width: 350px;
}

/* Navigation Links */
.footer-links ul {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: #334155; 
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #ff6b1a;
  padding-left: 5px;
}

/* Contact Info Area */
.footer-contact p {
  color: #334155; 
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-contact i {
  color: #ff6b1a;
  width: 20px;
}

/* SOCIAL ICONS (Dark borders/icons so they look clean on the bright background) */
.socials {
  display: flex;
  gap: 15px;
}

.socials a {
  width: 40px;
  height: 40px;
  background: rgba(30, 41, 59, 0.08); /* Muted semi-transparent dark ring */
  color: #1e293b !important; 
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.socials a:hover {
  background: #ff6b1a;
  transform: translateY(-5px);
  color: #fff !important;
}

/* Bottom Copyright Strip */
.copy {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 25px;
  text-align: center;
  color: #e2e8f0; /* Crisp white-slate text to pop perfectly off the green base */
  font-size: 0.9rem;
}



/* Responsive drop for mobile screen layouts */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}



/* Headings */
.site-footer h3 {
  color: #0b0b45; 
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.site-footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #ff6b1a;
}

/* Main Brand Text paragraph */
.footer-brand p {
  color: #0b0b45; 
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 25px;
  max-width: 350px;
}

/* Navigation Links */
.footer-links ul {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: #0b0b45; 
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #ff6b1a;
  padding-left: 5px;
}

/* Contact Info Area */
.footer-contact p {
  color: #0b0b45; 
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-contact i {
  color: #ff6b1a;
  width: 20px;
}

/* SOCIAL ICONS */
.socials {
  display: flex;
  gap: 15px;
}

.socials a {
  width: 40px;
  height: 40px;
  background: rgba(11, 11, 69, 0.08); 
  color: #0b0b45 !important; 
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.socials a:hover {
  background: #ff6b1a;
  transform: translateY(-5px);
  color: #fff !important;
}


.copy {
  border-top: 1px solid rgba(11, 11, 69, 0.1);
  padding-top: 25px;
  text-align: center;
  color: #e2e8f0; 
  font-size: 0.9rem;
}
/* Custom styling for the footer contact info */
.footer-contact p {
  color: #0b0b45 !important; /* Forces the text to your premium deep navy blue */
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

/* Optional: Sets your iconic orange brand color for the contact icons */
.footer-contact i {
  color: #ff6b1a; 
  width: 20px;
}
/* ==========================================================================
   GET STARTED NAVBAR BUTTON - EXTRA WIDE EDITION
   ========================================================================== */
.nav-btn-get-started {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  
  /* --- MAXIMUM WIDTH LAYOUT CHANGES --- */
  min-width: 150px !important;              /* Significantly wider baseline footprint */
  height: 52px !important;                 /* Proportional height boost for larger width */
  padding: 0 76px 0 36px !important;       /* Generous horizontal inner spacing */
  box-sizing: border-box !important;
  border-left: 4px;
  
  /* Styling & Colors */
  background-color: #ffffff !important;    
  color: #1a253c !important;               /* Deep Navy Blue text */
  font-family: system-ui, -apple-system, sans-serif !important;
  font-size: 16px !important;              /* Slightly larger text to match size */
  font-weight: 500 !important;
  text-decoration: none !important;
  border: 2px solid #f97316 !important;     /* Clean orange border */
  border-radius: 8px !important;           
  
  /* Vector Arrow Setup */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 32 24' stroke='%23f97316' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2 12h26M20 4l8 8-8 8'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: calc(100% - 28px) center !important; 
  
  /* --- EXTRA WIDE ARROW GRAPHIC DIMENSIONS --- */
  background-size: 36px 20px !important;    /* Expanded scale for a longer, more prominent arrow */
  
  transition: all 0.2s ease-in-out !important;
  cursor: pointer !important;
}

/* Dynamic Interactive States */
.nav-btn-get-started:hover {
  background-color: #fff7ed !important;    
  background-position: calc(100% - 22px) center !important; /* Smooth tracking micro-movement */
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15) !important;
}
#authBtn[style*="display: none"],
#authBtn[style*="display:none"] {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}/* ==========================================================================
   GET STARTED NAVBAR BUTTON - EXTRA WIDE EDITION
   ========================================================================== */
.nav-btn-get-started {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  /* --- MAXIMUM WIDTH LAYOUT CHANGES --- */
  min-width: 150px !important;
  /* Significantly wider baseline footprint */
  height: 52px !important;
  /* Proportional height boost for larger width */
  padding: 0 76px 0 36px !important;
  /* Generous horizontal inner spacing */
  box-sizing: border-box !important;
  border-left: 2px;

  /* Styling & Colors */
  background-color: #ffffff !important;
  color: #1a253c !important;
  /* Deep Navy Blue text */
  font-family: system-ui, -apple-system, sans-serif !important;
  font-size: 22px !important;
  /* Slightly larger text to match size */
  font-weight: 500 !important;
  text-decoration: none !important;
  border: 1px solid #f97316 !important;
  /* Clean orange border */
  border-radius: 8px !important;

  /* Vector Arrow Setup */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 32 24' stroke='%23f97316' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2 12h26M20 4l8 8-8 8'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: calc(100% - 28px) center !important;

  /* --- EXTRA WIDE ARROW GRAPHIC DIMENSIONS --- */
  background-size: 36px 24px !important;
  /* Expanded scale for a longer, more prominent arrow */

  transition: all 0.2s ease-in-out !important;
  cursor: pointer !important;
}

/* Dynamic Interactive States */
.nav-btn-get-started:hover {
  background-color: #fff7ed !important;
  background-position: calc(100% - 22px) center !important;
  /* Smooth tracking micro-movement */
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15) !important;
}
/* ─────────────────────────────────────────────────
   MYWEAVERLABS NAVBAR – Simplified Riipen Aesthetic
───────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
  max-width: 1500px;
  margin: 0 auto;
}

.logo-img { 
  height:200px; 
  width: auto; 
  display: block; 
}

/* Pure CSS Hamburger Button (No FontAwesome dependency) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #1a2b56;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hamburger to X Transformation */
.menu-toggle.open span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* ── Top-level nav ── */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item { 
  position: relative; 
}

/* All top-level links and toggle buttons */
.nav-link,
.nav-item > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: 'DM Sans', 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #1a2b56;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .16s, background .16s;
  letter-spacing: .01em;
  outline: none;
}

.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-item.open > .nav-link {
  color: #f58220;
}

/* Riipen-style Active Indicator Underline */
.nav-item.open > .nav-link {
  position: relative;
}
.nav-item.open > .nav-link::after {
  content: '';
  position: absolute;
  bottom: -14px; /* Pins nicely underneath the bottom of header layout */
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: #f58220;
  z-index: 1000;
}

/* Chevron arrow indicator */
.nav-chevron {
  width: 10px;
  height: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.nav-item.open > .nav-link .nav-chevron { 
  transform: rotate(180deg); 
}

/* ─────────────────────────────────────────────
   MEGA / FULL-WIDTH DROPDOWNS (Unified)
───────────────────────────────────────────── */
.mega-menu {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e8eaf0;
  border-bottom: 1px solid #e8eaf0;
  box-shadow: 0 8px 32px rgba(26,43,86,.10);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s cubic-bezier(.4,0,.2,1);
}

.nav-item.open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Inner block - scales with maximum header containment metrics */
.mega-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 2rem 36px;
  display: flex;
  gap: 64px;
}

.mega-col {
  min-width: 160px;
}

/* Header Text categorization context tags */
.mega-col-heading {
  font-family: 'DM Sans', 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #a0abc0;
  margin: 0 0 14px;
  padding: 0;
}

/* Interactive routes within dropdown cards */
.mega-link {
  display: block;
  font-family: 'DM Sans', 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #1a2b56;
  text-decoration: none;
  padding: 6px 0;
  transition: color .15s;
  line-height: 1.4;
}
.mega-link:hover { 
  color: #f58220; 
}

/* Dummy/In-progress styling rule sets */
.mega-link-soon {
  color: #b0bac8;
}
.mega-link-soon::after {
  content: ' — soon';
  font-size: 0.75rem;
  color: #c8d0dc;
}

/* ── Login / Action Interface Button ── */
.nav-btn-login {
  margin-left: 12px;
  padding: 8px 22px;
  background: transparent;
  color: #1a2b56;
  border: 1.5px solid #1a2b56;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'DM Sans', 'Poppins', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, color .18s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.nav-btn-login:hover {
  background: #1a2b56;
  color: #ffffff;
}

/* ── Backdrop Layout ── */
#megaBackdrop {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: rgba(10,20,50,.15);
  z-index: 997;
}
#megaBackdrop.active { 
  display: block; 
}

/* ─────────────────────────────
   MOBILE RESPONSIVE OVERRIDES
───────────────────────────────*/
@media (max-width: 900px) {
  .menu-toggle { 
    display: flex; 
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 68px;
    left: 0; 
    right: 0;
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 8px 24px rgba(26,43,86,.1);
    padding: 16px;
    gap: 4px;
    z-index: 999;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .main-nav.open { 
    display: flex; 
  }

  .nav-item { width: 100%; }
  .nav-link { width: 100%; border-radius: 7px; justify-content: space-between; padding: 12px 14px; }
  .nav-item.open > .nav-link::after { display: none; }

  .mega-menu {
    position: static;
    transform: none !important;
    border: none;
    box-shadow: none;
    display: none;
    padding: 0;
    background: #fafafa;
    border-radius: 6px;
  }
  .nav-item.open .mega-menu { 
    display: block; 
    opacity: 1; 
  }

  .mega-inner {
    flex-direction: column;
    gap: 20px;
    padding: 16px;
  }
  
  .mega-col-heading { 
    margin-bottom: 8px; 
  }

  .nav-btn-login { 
    margin: 12px 0 4px; 
    justify-content: center; 
    width: 100%; 
  }
  
  #megaBackdrop { 
    display: none !important; 
  }
}
/* ─────────────────────────────────────────────────
   MYWEAVERLABS NAVBAR – Professional Card Layout
───────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
  max-width: 1500px;
  margin: 0 auto;
}

.logo-img { 
  margin-top: 12px;
  height: 220px; 
  width: auto; 
  display: block; 
}

/* Mobile Toggle Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 26px;
  height: 18px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: #1a2b56;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Top Level Navigation links ── */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item { 
  position: relative; 
}


.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-item.open > .nav-link {
  color: #f58220;
}

/* Underline Indicator */
.nav-item.open > .nav-link {
  position: relative;
}
.nav-item.open > .nav-link::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 16px;
  right: 16px;
  height: 2px;
  border-radius: 2px;
  background: #f58220;
  z-index: 1000;
}

.nav-chevron {
  width: 10px;
  height: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.nav-item.open > .nav-link .nav-chevron { 
  transform: rotate(180deg); 
}

/* ─────────────────────────────────────────────
   PROFESSIONAL CARD-BASED MEGA DROPDOWNS
───────────────────────────────────────────── */
.mega-menu {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #eef0f5;
  border-bottom: 1px solid #eef0f5;
  box-shadow: 0 12px 40px rgba(26, 43, 86, 0.08);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item.open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 2rem;
}

.mega-col {
  width: 100%;
  max-width: 760px; /* Limits width so descriptions remain scannable */
  display: flex;
  flex-direction: column;
}

/* Layout Meta Tags (Small Context indicator text) */
.mega-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #f58220;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mega-col-heading {
  font-family: 'DM Sans', 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2b56;
  margin: 0 0 24px 0;
  padding: 0;
}

/* The Premium Card Item */
.mega-card {
  display: block;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  margin-bottom: 12px;
  cursor: pointer;
}

.mega-card:last-child {
  margin-bottom: 0;
}

/* Hover States for Active Menu Cards */
.mega-card:not(.coming-soon):hover {
  background-color: #f8fafc;
  border-color: #e2e8f0;
  transform: translateY(-1px);
}

.mega-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a2b56;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.mega-card:not(.coming-soon):hover .mega-card-title {
  color: #f58220;
}

.mega-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.5;
}

/* Coming Soon & Inactive Card Configurations */
.coming-soon {
  cursor: default;
  opacity: 0.75;
}

.badge-soon {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: #f1f5f9;
  color: #64748b;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* ── Login / Actions Button ── */
.nav-btn-login {
  margin-left: 8px;
  padding: 8px 20px;
  background: transparent;
  color: #1a2b56;
  border: 1.5px solid #1a2b56;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.nav-btn-login:hover {
  background: #1a2b56;
  color: #ffffff;
}

/* Backdrop Overlay */
#megaBackdrop {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(2px); /* Adds high-end glass texture to workspace background */
  z-index: 997;
}
#megaBackdrop.active { 
  display: block; 
}

/* ─────────────────────────────
   MOBILE RESPONSIVE OVERRIDES
───────────────────────────────*/
@media (max-width: 900px) {
  .menu-toggle { 
    display: flex; 
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 68px;
    left: 0; 
    right: 0;
    background: #ffffff;
    border-top: 1px solid #edf2f7;
    box-shadow: 0 10px 25px rgba(26, 43, 86, 0.08);
    padding: 16px;
    gap: 4px;
    z-index: 999;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .main-nav.open { 
    display: flex; 
  }

  .nav-item { width: 100%; }
  .nav-link { width: 100%; border-radius: 7px; justify-content: space-between; padding: 12px 14px; }
  .nav-item.open > .nav-link::after { display: none; }

  .mega-menu {
    position: static;
    transform: none !important;
    border: none;
    box-shadow: none;
    display: none;
    padding: 0;
    background: #f8fafc;
    border-radius: 6px;
  }
  .nav-item.open .mega-menu { 
    display: block; 
    opacity: 1; 
  }

  .mega-inner {
    padding: 16px;
  }
  
  .mega-col-heading { 
    margin-bottom: 16px; 
    font-size: 1rem;
  }

  .mega-card {
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
  }

  .nav-btn-login { 
    margin: 12px 0 4px 0; 
    justify-content: center; 
    width: 100%; 
    padding: 12px;
  }
  
  #megaBackdrop { 
    display: none !important; 
  }
}
/* Add space to the left of the cart container on desktop viewports */
.cart-container {
  margin-left: 16px;  /* Adjust this value (e.g., 12px to 24px) to get your preferred spacing */
  margin-right: 20px;  /* Keeps a clean balanced gap before the Login button */
  display: inline-flex;
  align-items: center;
}

/* Optional styling to make sure the icon looks crisp and matches the menu link theme */
.cart-container a {
  color: #1a2b56;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.16s ease;
  padding: 8px;
}

.cart-container a:hover {
  color: #f58220;
}

/* Responsive Override: Adjust layout behavior inside the mobile slide-out drawer */
@media (max-width: 900px) {
  .cart-container {
    margin-left: 14px;  /* Aligns the icon beautifully with text margins on small screens */
    margin-top: 8px;   /* Prevents overlapping vertically on mobile stacks */
    margin-bottom: 8px;
  }
}

/* 1. Reset the container wrap to tightly hug the anchor link content dimensions */
.cart-container {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 16px !important; /* Clean horizontal layout gap between Contact and Profile */
    vertical-align: middle !important;
}

/* 2. Turn the link wrapper itself into the absolute coordinate engine layout boundary */
.cart-container a {
    position: relative !important;
    display: inline-block !important; /* Gives it an explicit, predictable bounding box shape */
    line-height: 1 !important;
    padding: 4px !important; /* Inner click padding box */
    text-decoration: none !important;
}

/* 3. The icon itself */
.cart-container .fa-cart-shopping {
    font-size: 20px !important;
    color: #002147 !important; /* Your brand navy base tone */
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 4. Target the absolute coordinate positions directly relative to the link boundary wrapper box */
#cartCount.cart-badge {
    position: absolute !important;
    
    /* Lock the alignment precisely to the top right corner vertex edge of the icon path */
    top: -8px !important;
    right: -4px !important;
    
    /* Visual Design Accents & Color Palette Rules */
    /* Premium brand accent orange highlight */
    color: #ffffff !important;
    
    /* Strict font scaling parameters to guarantee vertical center alignment inside the box */
    font-family: 'Inter', sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 16px !important; /* Must exactly match or be 2px less than height to center numbers */
    text-align: center !important;
    
    /* Geometry circle constraints */
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important; /* Forces a perfect mechanical circle shape profile */
    
    
    align-items: center !important;
    justify-content: center !important;
    
    /* Polished presentation depth tweaks */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

/* 1. HIDDEN STATE: Strict visibility blocks when mouse is outside */
.main-nav .nav-item .mega-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important; /* Prevents ghost clicks when hidden */
    
    /* Smooth visual fade transition */
    transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

/* 2. ACTIVE STATE: Triggered cleanly when mouse enters the link or dropdown block */
.main-nav .nav-item:hover .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important; /* Re-enables clicking inside the dropdown */
}
@media screen and (max-width: 768px) {
 .logo-img{
    max-height:530px;
    margin-top:20px;

   
  }
}
/* 1. Ensure the main container stacks and centers everything vertically */
#mainNav.main-nav.open.active {
    display: flex;
    flex-direction: column;
    align-items: center;      /* Centers items horizontally */
    justify-content: center;   /* Centers items vertically if needed, or use flex-start with gaps */
    text-align: center;
    gap: 10px;                 /* Adds clean, even spacing between all elements */
    width: 100%;
    padding-top: 5px;
}

/* 2. Fix the navigation links so they don't stretch or push content to edges */
@media (max-width: 900px) {
    .nav-link {
        display: inline-flex;     /* Changes from block/flex width 100% */
        width: auto;              /* Lets the link shrink to its text size */
        justify-content: center;  /* Centers text inside the link if width is applied */
        align-items: center;
        padding: 10px 20px;       /* Gives them a nice, clickable touch target */
        text-align: center;
    }
}

/* 3. Ensure the cart and login elements inherit the centering */
.cart-container, 
#authBtn,
.btn.orange {
    margin: 0 auto;           /* Fail-safe backup for horizontal centering */
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
/* 1. Tighten the parent container's layout */
#mainNav.main-nav.open.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    /* CHANGE THIS: Stops elements from stretching vertically to fill the screen */
    justify-content: flex-start; 
    
    /* Adjust this top padding to control exactly how close the links sit to the logo */
    padding-top: 40px; 
    
    /* Spacing between the individual items */
    gap: 15px; 
}

/* 2. Remove any accidental top margins on the first link wrapper */
.nav-item:first-of-type,
.nav-link:first-of-type {
    margin-top: 0;
}
/* ==========================================================================
   MYWEAVERLABS LEGAL INFRASTRUCTURE - DM SANS TYPOGRAPHY UNIFICATION
   ========================================================================== */

*,
html, 
body,
div, 
span, 
h1, h2, h3, h4, h5, h6,
p, 
a, 
li, 
input, 
select, 
button, 
label,
option,
strong,
ul,
aside,
section {
  font-family: 'DM Sans', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fa, .fas, .far, .fal, .fab, .fa-solid, .fa-regular, .fa-brands {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
  font-weight: 900 !important; /* Forces structural alignment for vector icons */
}