 @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Poppins:wght@300;400;600;700&display=swap');

 html, body {
   width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* This kills the horizontal scroll */
    position: relative; /* Helps with absolute positioned items */
    box-sizing: border-box;
}    
 
body {
    /* This pushes the content down so it starts after the fixed nav */
    padding-top: 5.5rem; 
}

/* Optional: Add some breathing room for the title */
h1 {
    margin-top: 2rem;
    text-align: center;
}

p {
    max-width: 800px; /* Makes reading easier on wide screens */
    margin: 2rem auto;
    padding: 0 20px;
    line-height: 1.6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Outfit", sans-serif; /* Global font */
    box-sizing: border-box; /* Ensures padding doesn't add to the width */
}

/* Apply border-box to everything to prevent padding-based overflow */
*, *:before, *:after {
    box-sizing: inherit;
}

:root {
  --primary-blue: #1d3557;
  --accent-blue: #2563eb;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
}

@media (max-width: 768px) {
    .navbar-container, 
    .hero, 
    .features-container, 
    .benefits-container {
        width: 100%;
        max-width: 100vw;
        padding-left: 0 !important;   /* Change from 15px to 0 */
        padding-right: 0 !important;  /* Change from 15px to 0 */
        /* CHANGE THIS FROM hidden TO visible */
        overflow: visible !important;
    }

    /* Ensure images don't break the layout */
    img {
        max-width: 100%;
        height: auto;
    }
}



/* Navigation */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background-color: #ffffff;
            /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
            z-index: 50;
        }

        .navbar-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 5.5rem;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 700;
            font-size: 1.125rem;
            color: #1e3a8a;
        }

        .logo-circle {
            width: 2rem;
            height: 2rem;
            background-color: #1e3a8a;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-weight: 700;
            font-size: 0.875rem;
        }

.mobile-only-item {
    display: none !important;
}

        .nav-menu {
            display: flex;
            gap: 3rem;
            align-items: center;
            list-style: none;
        }

        .nav-menu a {
            text-decoration: none;
            color: #4b5563;
            font-size: 1rem;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav-menu a:hover {
            color: #1e3a8a;
        }

        .search-icon {
            width: 1.25rem;
            height: 1.25rem;
            cursor: pointer;
        }

        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
        }
        /* Mobile Menu Styles */
@media (max-width: 992px) {
    /* Show the hamburger button */
    .mobile-menu-toggle {
        display: block !important;
        font-size: 2rem;
        z-index: 100;
        color: #1e3a8a;
    }

    /* Hide the default nav menu and position it for mobile */
    .nav-menu {
        display: none; /* Hidden by default */
        flex-direction: column;
        position: absolute;
        top: 5.5rem; /* Matches navbar height */
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 2rem 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        gap: 1.5rem;
    }

.mobile-only-item {
        display: block !important;
        width: 100%;
        text-align: center;
    }

    /* When the script adds 'mobile-active', show the menu */
    .nav-menu.mobile-active {
        display: flex !important;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    .navbar-container {
        /* This brings them toward the center */
        justify-content: center !important; 
        gap: 260px; /* Adjust this number to control exactly how much space is between them */
        
        /* This ensures the container itself isn't forcing them to the edges */
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: auto !important;
        margin: 0 auto !important;
    }
}

/* Footer */
        footer {
            background-color: #1e3a8a;
            color: #ffffff;
            padding: 4rem 1rem;
            margin-top: 50px;
        }

        .footer-container {
            max-width: 1280px;
            margin: 0 auto;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-column h4 {
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column ul li {
            margin-bottom: 0.5rem;
        }

        .footer-column a {
            color: #dbeafe;
            text-decoration: none;
            font-size: 0.875rem;
            transition: color 0.3s ease;
        }

        .footer-column a:hover {
            color: #ffffff;
        }

        .footer-column p {
            color: #dbeafe;
            font-size: 0.875rem;
        }

        .footer-bottom {
            border-top: 1px solid #3730a3;
            padding-top: 2rem;
            display: flex;
            flex-direction: column;
            md-flex-direction: row;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            color: #dbeafe;
            font-size: 0.875rem;
        }

        .footer-links {
            display: flex;
            gap: 1.5rem;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
footer {
        padding-top: 1rem !important;    /* Very tight top spacing */
        padding-bottom: 20px !important; /* Very tight bottom spacing */
        margin-top: 50px !important;     /* Pulls footer closer to Partners section */
    }

.footer-grid {
        gap: 1.5rem !important;
        margin-bottom: 15px !important;
    }

    .footer-bottom {
        padding-top: 15px !important; /* Tightens space above the copyright text */
        gap: 8px !important;
    }