@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');


* {
    margin :0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', 'sans-serif';

}

:root {
    /* --bg-color: #081b29; */
    --bg-color: #ededed;
    /* --second-bg-color: #112e42; */
    --second-bg-color: #f9f8f8;
    --text-color: rgb(8, 27, 41);
    --main-color: green;
    /* --main-color: #00abf0; */
}

html{
    font-size: 62.5%;
    overflow-x: hidden;

}
body{
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden; /* Prevent horizontal scrolling */

    

}

.header{
    position: fixed;
    top:0%;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--second-bg-color); /* Make the header background solid from the start */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header .img {
    max-width: 100px;
    margin-top : 5px;
}



/* Menu icons */
#hamburger-icon,
#cross-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    cursor: pointer;
    display: none; /* Hidden by default */
    margin-left: 5%;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 102;
}

#cross-icon.hidden,
#hamburger-icon.hidden {
    display: none; /* Dynamically hide */
}


/* Hover effect only on screens larger than 768px */
@media (min-width: 769px) {
    
    .navbar .dropdown {
        position: relative;
        display: inline-block;
        transition: .3s;
    }
    
    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: white;
        min-width: 160px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1;
    }
    
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        transition: .3s;
    }
    
    .dropdown-content a:hover {
        background-color: var(--bg-color); /* Adjust to your theme */
        color: white;
        transition: .3s;
    }
    
    .dropdown:hover .dropdown-content {
        display: block;
        transition: .3s;
    }
}    

.logo {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.contact {
    position: fixed; /* Change from fixed to relative */
    margin-top: 8.5rem; /* Add margin-top to create space below header */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem 0;
    background-color: var(--main-color);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow */
    width: 100%;
    color: var(--bg-color);
    font-size: 1.8rem;
    font-weight: 500;
    z-index: 100;
}

.contact a {
    color: #fff; /* White text */
    margin: 0 1rem; /* Space between links */
    text-decoration: none; /* Remove underline */
}

.contact a.number {
    background-color: #fff; /* White background */
    color: #4CAF50; /* Green text to match background */
    padding: 0.5rem 1rem; /* Add padding for button-like appearance */
    border-radius: 5px; /* Slightly rounded corners */
    font-weight: 600; /* Bold text */
    font-size: 2rem; /* Larger text for visibility */
    text-align: center; /* Ensure text is centered */
}

.contact a.number:hover {
    background-color: #3e8e41; /* Slightly darker green on hover */
    color: #fff; /* White text on hover */
    transition: 0.3s;
}


.navbar a {
    font-size: 1.7rem;
    color: var(--text-color);
    font-weight: 500;
    margin-left: 3.5rem;
    transition: .3s;
}

.navbar a:hover ,
.navbar a.active {
    color: var(--main-color);
}


#hamburger-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    cursor: pointer;
    display: none;
    margin-left: 5%;
} 


.footer {
    display: block;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    padding: 2rem 9%;
    background: var(--main-color);
}

.footer-container {
    display: inline-flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top */
    width: 100%; /* Ensure the container takes the full width */
    max-width: 1200px; /* Optional: Set a max width for the footer content */
    margin-bottom: 1rem; /* Space between the footer content and copyright */
    color: var(--bg-color);
    
}

.footer-contact p , h3 {
    text-align: center;
}

/* .footer-address, */
.footer-social {
    padding-top: 1rem;
    margin: 0; /* Margin between sections */
    font-size: 3rem;
    
}

.footer h3 {
    font-size: 3rem;
    margin-bottom: 10px; /* Space below the heading */
    color: #fff; /* Optional: white heading color for visibility */

}
.footer-timing {
    margin-right: 6.5%;
}

.footer-timing h3 {
    font-size: 2rem;
    padding-top: 1rem;

}
.footer p {
    margin: 0.5rem 0; /* Space between paragraphs */
    color: var(--bg-color);
}

.footer a {
    color: #fff; /* Link color set to white */
    text-decoration: none;
}

.footer-icontop a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background-color: #fff; /* Set button background to white */
    border: .2rem solid #fff; /* White border for the button */
    border-radius: .6rem;
    z-index: 1;
    overflow: hidden;
}

.footer-icontop a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #4CAF50; /* Match the green background */
    z-index: -1;
    transition: .5s;
}

.footer-icontop a:hover::before {
    width: 100%;
}

.footer-icontop a i {
    font-size: 2.4rem;
    color: #4CAF50; /* Icon color to match the green shade */
    transition: .5s;
}

.footer-icontop a:hover i {
    color: #fff; /* Change icon color to white on hover */
}


/* Navbar for smaller screens */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 5%; /* Adjust padding for smaller screens */
    }

    .contact {
        padding-top: 1.5rem;
        margin-top: 7rem;
    }

    /* Navbar styles */
    .navbar {
        display: flex; /* Ensure it is a flex container */
        flex-direction: column;
        position: fixed;
        top: 12.5rem;
        right: 0;
        width: 100%; /* Sidebar width */
        height: 100%;
        background-color: var(--bg-color);
        box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
        z-index: 101;
        transform: translateX(100%); /* Hide sidebar initially */
        transition: transform 0.3s ease-in-out;
    }

    .navbar.active {
        transform: translateX(0); /* Show sidebar */
    }

    .navbar a {
        font-size: 1.5rem;
        margin: 1rem 0; /* Spacing between links */
        text-align: center;
        display: block;
    }

    #hamburger-icon {
        display: block; /* Show hamburger icon on small screens */
    }

    #cross-icon {
        display: none; /* Initially hide the cross icon */
    }

    .footer {
        display: flex;
        flex-direction: column;
    }

    .footer-container {
        display: block;
        justify-content: space-between;
    }

    .footer-timing {
        margin-left: 6%;
    }
    .footer-social i {
        margin-right: 3%;
    }
    
    .footer-icontop a {
        padding: .5rem; /* Reduce padding */
        
    }

    .footer-icontop a i {
        font-size: 2rem; /* Smaller icon size*/
    }

}