* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;        
}

body {
    /* height: 200vh; */
    background-color: #fff;
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;        

}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: transparent;
    transition: all 0.4s ease;
    z-index: 1000;
    backdrop-filter: blur(10px); /* Apply a 10px blur */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    background-color: rgba(255, 255, 255, 0.5); /* Optional: Add semi-transparent background */
}

.navbar.sticky {
    background-color: #000;
    border-radius: 50px;
    padding: 2px 2px;
    width: 200px; /* Adjust width as needed */
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
    justify-content: center; /* Center items in sticky state */
    margin-top: 10px; /* Add space from the top */
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    transition: opacity 0.4s ease; /* Transition for opacity */
}

.navbar.sticky .logo {
    opacity: 0; /* Hide logo in sticky state */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    transition: opacity 0.4s ease; /* Transition for opacity */
}

.nav-links li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: color 0.4s ease;
    cursor: pointer;
}

.nav-links li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.4s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}
.nav-links li a.active::after {
    width: 100%;
}
.navbar.sticky .nav-links {
    opacity: 0; /* Hide nav links in sticky state */
}

.hamburger {
    display: none; /* Hidden by default */
    flex-direction: column;
    cursor: pointer;
    z-index: 1001; /* Above navbar */
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #000;
    margin: 4px;
    transition: all 0.3s ease;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -250px; /* Hidden off-screen */
    width: 250px;
    height: 100%;
    background-color: #000;
    color: #fff;
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 1000;
}

.sidebar.open {
    right: 0; /* Slide in from the right */
}

.sidebar ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column; /* Arrange links in a column */
}

.sidebar ul li {
    margin: 10px 0; /* Reduced margin for links in the sidebar */
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 5px; /* Add some padding for spacing */
}

.close-btn {
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
}

.content {
    padding: 100px 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide links in mobile */
    }

    .hamburger {
        display: flex; /* Show hamburger on mobile */
    }

    .sidebar {
        display: block; /* Ensure sidebar is block in mobile */
    }
}

@media (max-width: 920px){
    .nav-links {
        display: none; /* Hide links in mobile */
    }

    .hamburger {
        display: flex; /* Show hamburger on mobile */
    }

    .sidebar {
        display: block; /* Ensure sidebar is block in mobile */
    }
}

























/* footer styling  */
footer{
    padding: 50px;
}
.footer{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    padding: 50px;
    border: 1px solid #000;
    background-color: #F9F9F9;
    border-radius: 4px;
}
.footer .left{
    
}

.footer .left h2{
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
}
.footer .left .socials{
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
}
.footer .left .socials i{
    font-size: 24px;
    cursor: pointer;
}
.footer .middle{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.footer .middle a{
    cursor: pointer;
}
.footer .right{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}   
.footer .right form{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}
.footer .right h2{
    font-weight: bold;
    font-size: 24px;
    text-transform: capitalize;
    margin-bottom: 10px;
}
.footer .right input{
    border: 1px solid black;
    padding: 8px;
    text-align: center;
    border-radius: 4px;
}

.footer .right button{
    border: 1px solid black;
    padding: 4px 10px;
    color: #fff;
    background: #000;
    cursor: pointer;
    border-radius: 4px;
}


@media (max-width: 1028px) {
   .footer{
        grid-template-columns: 1fr 1fr;
        gap: 60px;
   }

.footer .right{
      grid-column: span 2;
}

}

@media (max-width: 840px) {
    .footer{
        padding: 30px;
    }
    .footer{
        grid-template-columns: 1fr;
        gap: 40px;
     }
    .footer .left{
        text-align: center;
     }
    .footer .left .socials{
        padding-top: 10px;
        justify-content: center;
     }

    .footer .right{
        grid-column: span 1;
    }

    .copyright p{
        font-size: 15px;
    }

}

@media (max-width: 460px) {
    footer{
        padding: 10px;

    }    

    .copyright p{
        font-size: 15px;
    }
}

@media (max-width: 350px) {
    footer{
        padding: 5px;

    }    

    .footer .middle{
        gap: 10px;
    }

    .footer .right h2{
        font-size: 20px;
    }

    .copyright p{
        font-size: 12px;
    }
}


@media (max-width: 340px) {
    footer{

    }    

    .footer .left h2{
        font-size: 20px;
        margin-bottom: 10px;
    }

    .footer .right h2{
        font-size: 14px;
    }

    .footer .right{
        justify-content: flex-start;
    }
    .footer .middle{
        gap: 10px;
        flex-direction: column;
    }

    .footer{
    }
}