/* Responsive styles for hero section */
@media (max-width: 992px) {
    .adroit-logo {
        max-width: 640px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .navbar {
        display:none;
    }
    h1 {
        font-size: 28px;
    }
    .lead {
        font-size: 18px;
    }
    .more {
        bottom: 20px;
        font-size: 10px;
    }
    .adroit-logo {
        max-width: 460px;
        height: auto;
    }

    /* About Us Section */
    #about {
        color:#010101;
        background: #EEEEEE;
        background: linear-gradient(113deg,rgba(238, 238, 238, 1) 0%, rgba(143, 143, 143, 1) 100%);
        padding: 80px 0;
    }
    
    /* Leadership Section */
    #leadership {
        color:#010101;
        background: #EEEEEE;
        background: linear-gradient(113deg,rgba(238, 238, 238, 1) 0%, rgba(143, 143, 143, 1) 100%);
        padding: 80px 0;
    }
    
    /* Products Section */
    #products {
        color:#010101;
        background: #EEEEEE;
        background: linear-gradient(113deg,rgba(238, 238, 238, 1) 0%, rgba(143, 143, 143, 1) 100%);
        padding: 80px 0;
    }
    #products .product-item {
        margin-left: 0px;
        width: 95%;
        margin: 0 auto;
    }
    #products .product-item + .product-item {
        margin-left: 0px;
        width: 95%;
        margin: 0 auto;
    }
    
    /* Contact Section */
    #contact {
        color:#010101;
        background: #EEEEEE;
        background: linear-gradient(113deg,rgba(238, 238, 238, 1) 0%, rgba(143, 143, 143, 1) 100%);
        padding: 80px 0;
    }
    #contact h3 {
        text-align: center;
    }
    #contact .contact-item {
        margin-left: 0px;
        width: 95%;
        margin: 0 auto;
    }
    #contact .contact-item + .contact-item {
        margin-left: 0px;
        width: 95%;
        margin: 0 auto;
    }

    /* Footer Section */
    #footer {
        padding:80px 0 0 0;
        color: #ccc;
    }
    .footer-logo{
        text-align: center;
    }
    .footer-logo img {
        max-width: 80%;
    }
    #backToTop {
        display: none; /* Hidden by default */
        position: fixed;
        bottom: 40px;
        right: 15px;
        z-index: 9999;
        font-size: 24px;
        background-color: #117CFF;
        color: white;
        border: none;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        cursor: pointer;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        transition: background-color 0.3s ease;
    }
      
    #backToTop:hover {
        background-color: #0a5ecf;
    }
}

@media (max-width: 480px) {
    .navbar {
        display:none;
    }
    h1 {
        font-size: 28px;
    }
    .lead {
        font-size: 16px;
    }
    .more {
        bottom: 15px;
        font-size: 9px;
    }
    .splash {
        padding: 0 10px;
    }
    .adroit-logo {
        max-width: 320px;
        height: auto;
    }
    
    /* About Us Section */
    #about {
        text-align: center;
        color:#010101;
        background: #EEEEEE;
        background: linear-gradient(113deg,rgba(238, 238, 238, 1) 0%, rgba(143, 143, 143, 1) 100%);
        padding: 80px 0;
    }
    
    /* Leadership Section */
    #leadership {
        color:#010101;
        background: #EEEEEE;
        background: linear-gradient(113deg,rgba(238, 238, 238, 1) 0%, rgba(143, 143, 143, 1) 100%);
        padding: 80px 0;
    }
    
    /* Products Section */
    #products {
        color:#010101;
        background: #EEEEEE;
        background: linear-gradient(113deg,rgba(238, 238, 238, 1) 0%, rgba(143, 143, 143, 1) 100%);
        padding: 80px 0;
    }
    
    /* Contact Section */
    #contact {
        color:#010101;
        background: #EEEEEE;
        background: linear-gradient(113deg,rgba(238, 238, 238, 1) 0%, rgba(143, 143, 143, 1) 100%);
        padding: 80px 0;
    }

    /* Footer Section */
    #footer {
        padding:80px 0 0 0;
        color: #ccc;
    }
    .footer-logo{
        text-align: center;
    }
    .footer-logo img {
        max-width: 80%;
    }
    #backToTop {
        display: none; /* Hidden by default */
        position: fixed;
        bottom: 40px;
        right: 15px;
        z-index: 9999;
        font-size: 24px;
        background-color: #117CFF;
        color: white;
        border: none;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        cursor: pointer;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        transition: background-color 0.3s ease;
    }
      
    #backToTop:hover {
        background-color: #0a5ecf;
    }
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    position: absolute;
    top: 20px;
    right: 25px;
    width: 30px;
    height: 25px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
    background: transparent;
    border: none;
    padding: 0;
}

.mobile-menu-toggle .hamburger {
    display: block;
    width: 100%;
    height: 4px;
    background-color: #4197FF;
    border-radius: 2px;
}

/* Show toggle button below 768px */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .navbar {
        display:none;
    }
}

/* Mobile full screen overlay menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.95);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

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

.mobile-menu ul li {
    margin: 20px 0;
}

.mobile-menu ul li a {
    color: white;
    font-size: 2rem;
    text-decoration: none;
}

/* Show mobile menu when active */
.mobile-menu.active {
    display: flex;
}
