
@media (max-width: 1200px) {

    .hero-section h2 {
        font-size: 2rem;
        
    }

    .hero-section p {
        font-size: 1rem;
    }

    .logo{
        margin-left: 0.5rem;
    }

    .element img {
        display: none;
    }

    #loginBtn, #registerBtn {
        display: none;
    }

    .container .background-img {
        background-size: cover; 
        background-position: center;  
    }

    .about {
        flex-direction: row;
        justify-content: space-evenly;
        padding: 54px;
        height: auto;
        width: auto;
    }

    .about .about-media {
       display: none;
    }

    .about-text {
        width: 45rem;
        height: auto;
    }

    .about-text .A h1 {
        font-size: 2rem;
    }

    .about-text .B {
        margin-top: 2rem;
    }

    .about-text .B .card1 {
        width: 30rem;
        margin-top: 2rem;
        
    }

    .about-text .B .card2 {
        width: 23rem;
        margin-left: 14rem;
        margin-top: 10rem;
    }

    .about-text .B button {
        margin-top: 3rem;
        font-size: 1.125rem;
    }
    

    .services .services-text {
        font-size: 2.5rem;
        margin-left: 0.2rem;
    }

    .services-sub-text{
        margin-left: 1.5rem;
    }

    .carousel .service-list {
        margin-left: 1rem;
        width: auto;
        height: 32rem;
    }

    .services .carousel .service-list .s {
        width: 23rem;
        height: 30rem;
        margin-bottom: 22rem
        
    }

    .services .viewMore-btn {
        font-size: 0.9rem;
        width: 10rem;
    }

    .testimonials h2 {
        font-size: 1.5rem; 
    }

    .testimonials .line {
        width: 90%; 
    }

    .swiper {
        height: 25rem; 
        margin-top: 4rem; 
    }

    .swiper-slide {
        width: 18rem !important; 
        height: 15rem; 
        padding: 3rem; 
    }

    .swiper-slide img {
        width: 4.5rem; 
        height: 4.5rem; 
    }

    .swiper-slide h4 {
        font-size: 1rem;
    }

    .swiper-slide p {
        font-size: 0.75rem; 
    }


    .join-page {
        height: auto;
        width: auto; 
        padding: 2rem; 
    }

    .join-page .first-half img {
        height: 30rem;
        width: auto;
    }

    .second-half h1 {
        
        font-size: 3rem;
    }


    .second-half p {
        padding: 2rem; 
    }

    .join-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1.1rem; 
    }

    .footer {
        padding-top: 2rem; 
        height: auto; 
        align-items: center;
        width: auto;
    }

    .footer-first {
        align-items: center;
        gap: 1rem;
         margin: 1rem;
    }

    .footer-first form input {
        width: 14rem; 
    }

    .footer-first form button {
        width: 5rem; 
        font-size: 0.875rem; 
    }

    .footer-bottom {
        align-items: center;
        gap: 2rem;
    }

    .logo-text{
        margin-left: 1rem;
    }

    .footer-bottom .quick-links,
    .footer-bottom .contact,
    .follow-us {
        gap: 1rem;
        align-items: center;
        margin-bottom: 0.5rem; 
    }

}

@media screen and (max-width: 767px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;   
    }

    .navbar .logo img {
        height: 50px;
        margin: 10px;
    }

    .navbar .navbar-links {
        flex-direction: column;
        position: absolute;
        align-items: center;
        top: 70px;
        width: 100%;
        text-align: center;
        gap: 0;
        padding: 10px;
        display: none;
      
    }


    .navbar .navbar-links a{
        padding: 20px;
    }


 .buttons{
   display: flex;
   gap: 10px;
   margin-left: auto;
}


    .buttons .btn-1,
    .buttons .btn-2 {
        padding: 10px 15px;
        font-size: 14px;   
    }


    .navbar-links a {
        font-size: 14px;
        padding: 8px 15px;
    }


    .hamburger {
        display: block;
        cursor: pointer;
        margin: 20px;
        
    }
    .navbar-links.active {
        display: flex;
        flex-direction: column; 
        width: 100%; 
        position: absolute;
        backdrop-filter: blur(9px);
        top: 80px; 
        border-bottom: 2px solid grey;
        transition: all 0.3s ease-in-out;
    }

    .hero-section h2 {
        font-size: 1.75rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .element img {
        width: 12rem;
        height: 12rem;
    }

.background-img {
    position: absolute;
    top: 0;
    left: 0;
     background-size: cover;  
     object-position: center center; 
    overflow: hidden;
}

.about {
    padding: 1rem;
    height: auto;
}

.about img {
    display: none;
}

.about-text {
    width: 100%;
    height: auto;
    padding: 1rem;
}

.services {
    height: auto;
    padding: 2rem;
    width: auto;
    overflow: hidden;
}


.services p {
    font-size: 1.125rem; 
    margin-top: 1rem; 
}

.carousel {
    margin-top: 2rem; 
}


.services .carousel .service-list{
    height: auto;
    flex-basis: 100%;
    gap: 0.25rem;
}


.services .carousel .service-list .s {
    width: 30rem !important; 
    margin: 0.1rem;
    margin-bottom: 0 !important;
    padding: 1rem;
}

.services .carousel .service-list .s .lm-btn{
   margin: 1rem;
   margin-bottom: 2rem;
}


.join-page {
    height: auto; /* Allow content height to adjust */
    flex-direction: column; /* Stack the sections vertically */
    padding: 2rem; /* Add padding for better spacing */
}

.join-page .first-half img {
    height: 25rem; /* Further reduce image height */
    width: auto; /* Maintain aspect ratio */
}

.second-half {
    text-align: center; /* Center text for better layout */
}

.second-half h1 {
    font-size: 2rem; 
    margin-bottom: 1rem; 
}

.second-half p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.join-btn {
    padding: 0.75rem 1.5rem; 
    font-size: 1rem; 
    margin-top: 2rem; 
}

.footer {
    padding-top: 1.5rem; /* Add padding */
    height: auto; /* Adjust height */
    flex-direction: column;
    align-items: center;
}

.footer-first {
    gap: 1rem;
    align-items: center;
}

.footer-first form input {
    width: 12rem; /* Adjust input width for tablet size */
}

.footer-first form button {
    width: 4.5rem; /* Adjust button size */
    font-size: 0.75rem;
}

.footer-bottom {
    flex-direction: column; /* Stack the footer sections vertically */
    gap: 1.5rem;
}

.footer-bottom .quick-links,
.footer-bottom .contact,
.follow-us {
    align-items: center;
    gap: 1rem; /* Adjust gap between items */
}

.footer-bottom .quick-links a,
.footer-bottom .contact a {
    font-size: 0.875rem;
    padding-bottom: 0.5em; /* Adjust font size for better readability */
}

}

@media screen and (max-width: 480px) {
    
    .navbar .logo img {
        height: 60px;
        width: 60px;
    }

    .buttons .btn-1,
    .buttons .btn-2 {
        padding: 8px 12px;
        font-size: 12px;
    }

    .navbar-links a {
        padding: 6px 12px;
        font-size: 12px;
    }

    .navbar .icons {
        gap: 8px;
    }
    .hero-section h2 {
        font-size: 1.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

   

    .about {
        padding: 1rem;
        width: auto;
        height: auto; 
        overflow: hidden;
        
    }


    .about-text {
        height: auto;           
        margin-top: 1rem;    
        width: 100%;            
        max-width: 100%;    
    } 

    .about-text .A{   
    width: 100%;            
    height: auto;           
    font-size: 1rem;
    } 

    .about-text .B {
        
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        width: auto;
        gap: 0.5rem;
    }
    .about-text .B .card1{
        height: auto;
        max-width: 15rem;       
        margin-right: 8rem;
        margin-bottom: 13rem;
        padding-bottom: 0.2rem;
    }

    .about-text .B .card2{
        height: auto;
       max-width: 15rem;       
        margin-right: 12rem;
        margin-top: 8rem;
        padding-bottom: 0.2rem;

    }

    .about-text .B button{
        height: auto;
        width: auto;
    }

    .section {
        padding: 1rem; 
    }

    .hero-section {
        text-align: center;
        padding: 2rem 0;    
    }

    .hero-section h2 {
        font-size: 1.8rem; 
        line-height: 1.2;  
        margin: 0.5rem 0;  
    }

    .hero-section p {
        font-size: 1.1rem; 
        margin-top: 0.625rem;
        line-height: 1.4;  
    }

    .hero-section p span {
        font-weight: 600; 
    }

    .explore {
        font-size: 1rem; 
        padding: 0.75rem 1.25rem;
        margin-top: 1rem;  
        display: block;
        width: 100%;      
    }

    .element {
        margin-top: 2rem;  
        text-align: center; 
    }

    .element img {
        width: 100%; 
        height: auto; 
        max-width: 300px;
        margin-top: 1rem;
    }
    
    .glow {
        filter: brightness(80%);
        animation: none; 
}

.services {
    height: auto;
    overflow-x: hidden; 
    padding: 2rem; 
}


.carousel {
    margin-top: 1.5rem; 
    padding-bottom: 0.75rem;
}

.carousel .service-list {
    flex-direction: column; 
    align-items: center;
    gap: 0.25rem;
}

.services .carousel .service-list .s {
    height: auto; 
    flex-basis: 100%;
    width: 90% !important;
}

.carousel .service-list .s .lm-btn {
    width: 10rem; 
    height: 3rem;
    margin-top: 0;
    margin-bottom: 2rem;  
}



.testimonials {
    height: auto;
    padding: 2rem; 
    width: auto;

}

.testimonials h2 {
    font-size: 1.125rem; 
    text-align: center;
}

.testimonials .line {
    width: 100%;
    margin: 1rem; 
}

.swiper {
    height: 18rem;
    margin-top: 2rem; 
}

.swiper-slide {
    width: 14rem !important;
    height: 12rem; 
    padding: 2rem;
}

.swiper-slide img {
    width: 3.5rem; 
    height: 3.5rem; 
}

.swiper-slide h4 {
    font-size: 0.875rem;
}

.swiper-slide p {
    font-size: 0.6875rem; 
}
.join-page {
    height: auto;
    width: auto; 
    padding: 1.5rem;
    overflow: hidden; 
}

.join-page .first-half img {
    height: 20rem; 
    width: 100%; 
}

.second-half h1 {
    font-size: 1.6rem !important; 
    margin-bottom: 1rem;
}

.second-half p {
    font-size: 0.875rem; 
    margin-bottom: 1rem; 
}

.join-btn {
    padding: 0.75rem 1.25rem; 
    font-size: 1rem; 
    margin-top: 1.5rem; 
}


.footer {
    padding-top: 2rem; 
    height: auto;
   width: 100%;
   overflow: hidden;
    flex-direction: column;
    align-items: center;
}

.footer-first {
    align-items: center;
    gap: 1rem;
    width: 100%;
    
}

.footer-first form input {
    width: 10rem; 
}

.footer-first form button {
    width: 5rem; 
    font-size: 0.725rem;
}

.footer-bottom {
    width: 100%;
    flex-direction: column;
    gap: 1rem; 
}

.footer-bottom .quick-links,
.footer-bottom .contact,
.follow-us {
    align-items: center;
    gap: 0.75rem; 
    overflow-x: hidden !important;
    /* Adjust gap between items */
}

.footer-bottom .quick-links a,
.footer-bottom .contact a {
    font-size: 0.75rem; 
}

.footer-bottom .contact a i {
    margin-right: 0.25rem;
}

.footer-first h7,
.footer-first .copyrighted {
    font-size: 0.625rem; 
}

}





  















