html, body {
    height: 100%; /* Ensure the body and html take full height */
    margin: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    scroll-behavior: smooth;

}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.2));
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: opacity 3s ease-in-out; /* Transition for smooth fade */
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
}

.nav-link:hover {
    color: #007BFF;
}

.nav-container img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    margin-right: 20px;
  
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* Footer Section */
.footer {
    
    padding: 10px;
    background-color: #464646;
    color: #fff;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 15px;
}

.footer-social {
    display: flex;
    gap: 10px; /* Ensure a 10px spacing between icons */
    margin-bottom: 15px; /* Add some spacing below the social icons */
    justify-content: center;
    flex-wrap: wrap;
}

.footer-social .social-icon img {
    width: 50px;
    height: 40px;
    border-radius: 5px; /* Optional: To add rounded corners */
    transition: transform 0.3s ease;
    padding-right: 10px;
}

.footer-social .social-icon img:hover {
    transform: scale(1.4); /* Slightly enlarge on hover */
}

.footer-social .call-button {
    background-color: #ffffff;
    color: #232323;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    padding: 12px 10px 10px 10px;
    border: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 120px;
    margin-bottom: 0px;
    text-decoration: none;
}

.footer-social .call-button:hover {
    background-color: #16458700;
    color: #fff;
    box-shadow: 
        0 0 5px rgba(255, 255, 255, 0.8), /* Inner glow */
        0 0 10px rgba(255, 255, 255, 0.959), /* Outer glow */
        0 0 15px rgba(255, 255, 255, 0.959), /* More outer glow */
        0 0 20px rgba(255, 255, 255, 0.959); /* Far outer glow */
        transform: scale(1.1); /* Slightly enlarge on hover */
}


.footer-links {
    margin-bottom: 15px;
    margin-top: 15px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    
}

.footer-links a:hover {
    color: #e6b800;
    text-decoration: none;
}

.footer-copyright {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #fff;
}

.footer-copyright p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 750px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: white;
        z-index: 1000;
        list-style: none;
        padding: 20px 0;
        border-top: 1px solid #ccc;
        transition: opacity 2s ease-in-out; /* Transition for smooth fade */
        
    }

    .nav-menu.show {
        display: flex;
        max-height: 550px;
        padding-top: 20px;
        background: rgba(255, 255, 255, 0.868); /* Slight transparency */
        transition: opacity .5s ease, backdrop-filter 0.5s ease;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-link {
        padding: 15px;
        font-size: 1.5em;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-social {
        margin-bottom: 15px;
    }
    
    .footer-links {
        margin-bottom: 10px;
    }
}

/* Grid-based Dropdown for Smaller Screens */
@media (max-width: 600px) {
    .nav-menu.show {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly; /* Ensure even spacing between items */
    }

    .nav-menu li:nth-child(5), 
    .nav-menu li:nth-child(6), 
    .nav-menu li:nth-child(7) {
        grid-column: span 1; /* Spread second row items evenly */
    }

    .nav-menu li:nth-child(5) {
        grid-column-start: 2; /* Start second row in the second column */
    }

    .nav-menu li {
        margin: 0;
        padding-bottom: 10px;
        font-size: 1.2em; /* Smaller font size */
        
    }

    .nav-menu li a {
        font-size: 1.1em;
        text-align: center;
       
    }
}
