/* Responsive Header */
@media (max-width: 768px) {
    #header .nav-menu ul {
        display: block;
        text-align: center;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #header .nav-menu ul li {
        margin: 10px 0;
    }

    .footer .col-lg-4, .footer .col-lg-3, .footer .col-lg-2 {
        margin-bottom: 20px;
    }

    .footer .footer-links ul {
        text-align: center;
    }

    #hero {
        height: auto; /* Allow hero section to adjust height */
        padding: 40px 10px; /* Adjust padding for smaller screens */
        text-align: center;
    }

    #hero h1 {
        font-size: 1.2rem; /* Reduce font size for mobile */
        padding: 20px 30px; /* Adjust padding for better fit */
        width: 100%; /* Make sure text takes the full width */
        margin-top: 30px;
    }

    #hero h2 {
        font-size: 0.8rem; /* Reduce font size for mobile */
    }

    .icon-box {
        width: 100%; /* Make the icon boxes full width */
        margin-bottom: 20px; /* Add margin between boxes */
        display: flex;
        margin-left: 25%;
        justify-content: center; /* Center align icon content */
    }

    #hero .btn {
        padding: 8px 16px; /* Adjust button size */
        font-size: 0.9rem; /* Adjust font size */
    }

    /* Stack icon boxes vertically on mobile */
    #hero .row {
        display: block; /* Stack icon boxes */
    }

    .solutions .solution-box {
        width: 100%; /* Full width for smaller screens */
        margin-bottom: 20px;
    }

    .solutions .solution-box img {
        width: 35px; /* Slightly smaller icons */
        height: auto;
    }

    .cta {
        padding: 40px 20px; /* Reduce padding for smaller screens */
        height: auto; /* Allow the height to adjust automatically */
        text-align: center; /* Ensure text is centered on all devices */
        background-attachment: fixed; 
    }

    .cta h2 {
        font-size: 1.8rem; /* Reduce font size for heading */
        margin-bottom: 15px; /* Adjust spacing */
    }

    .cta p {
        font-size: 1rem; /* Reduce font size for paragraph */
        margin-bottom: 15px; /* Adjust spacing */
    }

    .btn-cta {
        padding: 10px 20px; /* Adjust button size */
        font-size: 1rem; /* Reduce font size for button text */
        width: 100%; /* Make the button take full width */
        max-width: 250px; /* Limit maximum width */
    }

    .btn-quote{
        display:none;
    }

    /* 2) REMOVE THAT HARD-CODED OFFSET ON YOUR ICON BOXES */
    .icon-box {
        margin: 0 auto;    /* perfect centering */
    }
}

/* Hide the mobile menu by default */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%; /* Hidden off-screen */
    width: 250px;
    height: 100%;
    background-color: #111; /* Dark background */
    color: white;
    z-index: 999; /* On top of everything else */
    transition: left 0.3s ease; /* Smooth slide-in effect */
    display: flex;
    flex-direction: column;
    padding-top: 60px; /* Space for header */
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    margin: 20px 0;
    text-align: center;
}

.mobile-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.mobile-nav ul li a:hover {
    color: #168FB5; /* Match hover color with desktop menu */
}

/* Hamburger Menu Styling */
.hamburger-menu {
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 1001; /* Above mobile menu */
}

/* Show Mobile Menu When Active */
.mobile-nav.active {
    left: 0; /* Slide into view */
}

/* Overlay to Close Menu */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 998;
    display: none;
}

/* Show Overlay When Active */
.mobile-nav-overlay.active {
    display: block;
}

@media (max-width: 768px) {
    .partners-details {
        flex-direction: column;
    }
    .partner-card {
        width: 100%;
    }
}

