:root {
    --navy-blue: #09346d;
    --white: #ffffff;
    --text-dark: #0f172a;
    --btn-outline-border: #dbe8ff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    /* font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */
    color: var(--white);
    background-color: #0a1a32;
    overflow: auto;

}

body.no-scroll {
    overflow: hidden;
     position: fixed;
  width: 100%;
}

.container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.site-header { position: relative; z-index: 10; }

/* Navbar - Now the main header */
.navbar { 
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1001;
}

.navbar--fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 0;
    min-height: 50px;
}

/* Brand logo positioning */
.brand-strip {
    flex: 0 0 auto; /* Don't grow or shrink */
}

.brand-logo {
    height: 45px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Navigation links - centered */
.nav-links {
    flex: 1; /* Take up remaining space */
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Center the nav links */
    align-items: center;
    gap: 80px;
}

/* Quick icons positioning */
.quick-icons { 
    flex: 0 0 auto; /* Don't grow or shrink */
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.icon-btn {
    background: transparent;
    border: 0;
    color: var(--text-dark);
    font-size: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
}
.icon-btn:hover { background-color: #f0f0f0; color: #004aad; }

/* Navbar */
.navbar { background: #ffffffc9; backdrop-filter: blur(10px);}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 80px;
}
.nav-links a {
    color: black;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: .2px;
    font-size: 14.5px;
}
.nav-links a:hover { color: #004aad;}
.has-caret i { margin-left: 5px; font-size: 1.1em; vertical-align: middle; }

/* Hero Section */
.hero {
    position: relative;
    min-height: 95vh;
    z-index: 1;
    width: 100%;
    background: linear-gradient(to top, #ffffff 0%, rgba(255,255,255,0) 15%), 
                radial-gradient(circle at 70% 30%, rgba(128, 0, 128, 0.1), transparent 40%),
                radial-gradient(circle at 30% 70%, rgba(0, 0, 255, 0.1), transparent 40%),
                #f7f8ff;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #0f172a;
}
.hero::before { content: none; }

.hero-design {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1350px;
}

.hero-text-content {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.hero-media {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%;
    padding: 0;
}

.hero-media img {
    max-width: 85%;
    height: auto;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 4rem;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
}
.hero-overlay { display: none !important; }

.hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 1350px;
    padding: 0 20px;
    z-index: 2;
}

.blogo {
    height: 200px;
    width: auto;
    display: block;
    object-fit: contain;
}

.hero h1 {
    margin: 0 0 10px;
    font-size: clamp(40px, 6.5vw, 72px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: #0f172a;
}
.hero h1 .accent { color: #0a69e7 ; }

.hero h2 {
    margin: 0 0 10px;
    font-size: clamp(20px, 6.5vw, 40px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: #0f172a;
}

.hero-subtext {
    margin: 12px 0 28px;
    max-width: 560px;
    color: #475569;
    font-size: 16px;
    line-height: 1.6;
}

.hero-actions { display: flex; gap: 14px; }

.hero .btn-outline {
  background: linear-gradient(to right, #4dabf7, #18578e);
  border: 1px solid #0a69e7; 
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease-in-out; 
}

.hero .btn-outline:hover {
  transform: scale(1.1); 
}

.hero .btn-filled {
  background: linear-gradient(to right, #5d5d5e, #000000);
  color: hsl(0, 0%, 100%);
  border: 1px solid transparent; 
  cursor: pointer;
  transition: transform 0.3s ease-in-out; 
}

.hero .btn-filled:hover {
  transform: scale(1.1);
}

.hero-stats .value {
    color:   #0a69e7;
    font-weight: 500;
    font-size: clamp(24px, 4vw, 32px);
}
.hero-stats .label {
    color: #64748b;
    font-size: 12px;
    margin-top: 4px;
}

@media (max-width: 768px) { 
        .hero { 
            padding: 80px 0 60px; 
            text-align: center;
            position: relative; 
        } 
    .hero-stats { 
        gap: 28px; 
    } 
    .hero-subtext { 
        margin-left: auto; 
        margin-right: auto; 
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-text-content {
        padding-right: 0;
        position: relative;
        z-index: 2; 
    }

    /* REPLACE display: none with background styling */
    .hero-media { 
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 100% !important;
        max-width: 100% !important;
        z-index: 1 !important;
        opacity: 0.3 !important; /* Adjust opacity as needed */
        pointer-events: none !important;
    } 
    
    .hero-media img {
        max-width: 80% !important;
        height: auto !important;
        display: block !important; /* Ensure image displays properly */
        margin: 0 auto !important; /* Center the image */
    }
}


.hero-link {
    display: inline-block;
    color: #0a69e7;
    font-size: 13px;
    margin-bottom: 50px;
}
.hero-link:hover { color: #e6f0ff; }

/* Buttons */
.hero-actions { display: flex; gap: 14px; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 24px;
    border: 1.5px solid transparent;
    font-weight: 700;
    letter-spacing: .3px;
    text-decoration: none;
    font-size: 13px;
    transition: all .2s ease;
    user-select: none;
}
.btn-icon {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    font-size: 13px;
}
.btn-outline {
    background: #0a69e7;
    color: var(--white);
    border-color: #0a69e7;
}
.btn-outline:hover {
    color: var(--white);
    border-color: var(--btn-outline-border);
    background-color: transparent;
}
.btn-filled {
    background: var(--white);
    color: var(--text-dark);
}
.btn-filled:hover {
    background-color: transparent;
    border-color: var(--btn-outline-border);
    color: var(--white);
}

/* Click/touch feedback for hero buttons */
.hero .btn:active {
    transform: translateY(1px) scale(0.98);
}
.hero .btn:focus-visible {
    outline: 2px solid #0a69e7;
    outline-offset: 2px;
}
.hero .btn-outline:active,
.hero .btn-outline.is-pressed {
    background: #085ec0; /* slightly darker */
    border-color: #085ec0;
    color: #fff;
}
.hero .btn-filled:active,
.hero .btn-filled.is-pressed {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}
.hero .btn {
    -webkit-tap-highlight-color: transparent; /* remove grey highlight on mobile */
    touch-action: manipulation; /* quicker taps on mobile */
}

/* ---------------------------------- */
/* --- RESPONSIVE & MOBILE STYLES --- */
/* ---------------------------------- */
/* ---------------------------------- */
/* --- RESPONSIVE & MOBILE STYLES --- */
/* ---------------------------------- */

#mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    z-index: 1001
}

/* Initially hide the 'x' icon for the mobile menu */
#mobile-menu-toggle .fa-xmark {
    display: none;
}

/* Styles for the mobile navigation when it's open */
.site-header.is-open .navbar {
    transform: translateX(0);
}
.site-header.is-open #mobile-menu-toggle .fa-bars {
    display: none; /* Hide the 'bars' icon */
}
.site-header.is-open #mobile-menu-toggle .fa-xmark {
    display: block; /* Show the 'x' icon */
}

/* MEDIA QUERY FOR TABLET AND MOBILE */
@media (max-width: 991px) {
    body {
        padding-top: 50px; /* Account for thinner fixed navbar */
    }
    .hero-subtext { text-align: center; margin-left: auto; margin-right: auto; }
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1001;
        background: rgba(255, 255, 255, 0.95);
    }

    .blogo {
        height: 125px;
        /* width: auto; */
        display: block;
        object-fit: cover;
        max-width: 100%;
        margin: 0 auto;
    }

    .brand-logo {
        height: 40px; /* Make logo smaller on mobile */
    }

    /* Hide nav-links on mobile - they'll be in side menu */
    .nav-links {
        display: none;
    }

    /* Hide non-essential icons on mobile */
    .quick-icons .icon-btn.hide-on-mobile {
        display: none;
    }

    #mobile-menu-toggle {
        display: grid; /* Show hamburger on mobile */
    }

    /* Side menu overlay */
    .site-header.is-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000
    }

    /* Side menu - Always present but hidden */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        gap: 30px;
        z-index: 1003;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    }

    /* Sidebar close button */
    .sidebar-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.3);
        color: white;
        font-size: 20px;
        cursor: pointer;
        padding: 8px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        z-index: 1004;
        outline: none;
    }

    .sidebar-close-btn:hover {
        background-color: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.5);
        transform: scale(1.1);
    }

    .sidebar-close-btn:active {
        background-color: rgba(255, 255, 255, 0.3);
        transform: scale(0.95);
    }

    .sidebar-close-btn:focus {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
    }

    /* Show side menu when open */
    .site-header.is-open .nav-links {
        transform: translateX(0);
    }



    .site-header.is-open .nav-links a {
        font-size: 18px;
        padding: 15px 20px;
        display: block;
        color: black;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid rgba(110, 116, 121, 0.223);
        transition: background 0.2s ease;
    }

    .site-header.is-open .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: black;
    }

    /* Hide icons in sidebar navigation on small devices */
    .nav-links li i {
        display: none;
    }

    /* Center text in sidebar navigation items */
    .nav-links li {
        width: 90;
        text-align: center;
    }

    .nav-links li a {
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    /* Make overlay clickable to close */
    .site-header.is-open::after {
        cursor: pointer;
    }

    /* Fix hero height to account for thinner navbar */
    .hero {
        text-align: center;
        justify-content: center;
        height: calc(100vh - 50px); /* Subtract navbar height */
        margin-top: 0;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

}

/* MEDIA QUERY FOR SMALLER MOBILE PHONES */
@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 55%;
        justify-content: center;
    }

    .blogo {
        height: 125px;
        /* width: auto; */
        display: block;
        object-fit: cover;
        max-width: 100%;
        margin: 0 auto;
    }
}
