
@media screen and (max-width: 768px) {
    html {
        scroll-padding-top: 80px; 
    }
    nav .navi {
        flex-direction: row; 
        align-items: center;
        justify-content: space-between; 
        padding: 10px;
        height: auto;
        position: relative; 
    }
    .video-cont video{
        border: 5px solid #bacde7;
    }

    .navi .identity {
        display: flex;
        align-items: center;
        margin: 0;
    }
    .navi .links {
             align-items: normal;
    }
    .navi .links a {
        font-size: 1em;
    }
    .navi .cont2 a {
        font-size: 1.15em;
        margin-top: 10px;
    }
    .submenu-container ul{
        margin-top: 0px;
        margin-bottom: 10px;
        padding-left: 10px;
    }
    .logo-title{
        margin-left: 10px;
        font-size: 1em;
    }
    details{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .cont1 {
        display: none; /* Hide the logo title for smaller screens */
    }
    .cont2{
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        justify-content: flex-end;
        flex-direction: column;
        font-size: 0.7em;
        height: 100%;
        margin-bottom: 20px;
    }
    .navi .identity .logo { 
        margin: 0px;
    }

    .menu-toggle {
        display: block;
        color: white;
        font-size: 2em;
        cursor: pointer;
        padding:5px;
    }
    .navi .links {
        display: flex; /* Show links when menu is toggled */
        flex-direction: column;
        position: fixed; /* Dropdown menu positioned as fixed */
        top: 70px;
        left: -100dvh; /* Start off-screen */
        width: 70%; /* Full-width dropdown */
        height: calc(100dvh - 80px); /* Cover the entire viewport height */
        background-color: rgba(0, 0, 108, 0.95);
        z-index: 100; /* Ensures it stays on top */
        transition: all 0.3s ease-in-out; /* Sliding animation */
    }

    .navi.open .links {
        display: flex; /* Show links when menu is toggled */
        left: -2vh; /* Slide in from the left */
    }
    .wrp1{
        flex-wrap: wrap;
        width: 100%;
    }
    .bars{
        width:40px;
    }
    .bars2{
        width:40px;
    }
    .navi .links .aa {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #333;
        font-size: 1em;
        text-align: left;
        color: white;
        text-decoration: none;
        width: 100%;
    }

    .navi .links .aa:hover {
        background-color: #b3ff00;
        color: #000;
    }
    .navi .links .aa a:hover {
        background-color: #b3ff00;
        color: #000;
    }
    /* Header Adjustments */
    header .title h1 {
        font-size: 1.5em;
        margin-top: 120px;
        width: 80%;
    }
    .button-66 {
        font-size: 16px;
        padding: 10px 15px;
    }

    /* About Section Adjustments */
    article .ar-cont {
        flex-direction: column;
        padding: 10px;
    }

    .ar-img {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }

    .p1 {
        font-size: 1em;
        max-width: 100%;
    }

    .to-right{
        position: static;
    }
    /* Services Section */
    .service-list {
        flex-direction: column;
        gap: 20px;
    }
    .wrapper .svc-i{
        padding: 10px;
        width: 100%;
        margin: 0;
    }
    .wrapper .svc-i ul li {
        text-align: justify;
        font-size: 0.8em;
    }
    .wrapper .svc-i ul{
        margin-left: 20px;
        line-height: 1.5;
    }
    .wrapper .svc-i h1{
        font-size: 1.5em;
    }

    .service-list .sv-item {
        width: 90%;
        height: 200px;
        margin: 0 auto;
    }
    .service-list .sv-item h2{
        font-size: 1em;
    }.service-list .sv-item p{
        font-size: 1em;
    }

    /* Staff Section Adjustments */
    .cont-principal {
        flex-direction: column;
        text-align: center;
    }

    .cont-principal .img-pr {
        max-width: 310px;
        max-height: 310px;
    }

    .cont-principal .adad {
        margin-top: 10px;
    }
    .cont-principal .img-pr {
        margin-bottom: 15px;
    }
    /* Contact Section Adjustments */
    #contact .wrp {
        flex-direction: column;
        text-align: center;
    }

    #contact .maps {
        width: 90%;
        height: 300px;
        margin-bottom: 20px;
    }

    #contact .info {
        margin: 0;
    }
    .un:hover::after {
        width: 0%;
    }
    footer {
        padding: 10px;
        text-align: center;
        font-size: 12px;
    }

    #contact li, #contact ul {
        font-size: 1.05em;
    }
    #contact ul {
        margin: 0px;
    }
    .ar-heading {
        font-size: 1.6em;
    }
    .cont-principal div h2 {
        font-size: 1.7em;
    }
    #about .ar-heading {
        margin:0px;
        margin-top: 30px;
        margin-bottom: 10px;
        content: "sdsdsd";
    }
    .ar-subheading {
        font-size: 1.5em;
    }
    .cont-principal .img-pr {
        flex: none;
    }
    .ssd{
        margin-left: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .cont-principal div h3 {
        margin-top: 5px;
        font-size: 1.2em;
    }
    #staff .mt{
        display: flex;
        padding: 0px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .cont-principal{
        
        align-items: center;
    }
    .cont-principal div p {
        width: 95%;
        text-align: center;
        font-size: 1em;
    }
    .fbc{
        display: flex;
        justify-content: center;
    }
    header .title i {
        margin-bottom: 10%;
    }
    #contact .maps{
        width: 350px;
        height: 350px;
    }
    .wrapper{
        flex-wrap: wrap;
    }
    .spa{
        margin-top: 20px;
    }
    article{
        
        background-size: 170%;
    }
    #about .mt .ar-subheading{
        margin-top: 10px;
    }
    .info-pr{
        width:100%
    }
    .flexbox p{
        width: 90%;
        font-size: 0.9em;
    }
    .mt {
        margin-bottom: 10px;
    }
    .submenu {
        background-color: rgba(0, 0, 108, 0);
    }
    


    .ad-sec:first-child{
        width: 90%;
        margin-top: 70% !important;
        margin-left: -82% !important;
    }
    .ad-sec:nth-child(2){
        width: 95%;
        margin-right: 10px !important;

    }
    .ad-sec img{
        width: 100%;
        height: 100%;
        border-radius: 10px;
        object-fit: cover;
    }
    .ad-sec .nav-i {
        width: 100%;
        height: 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
        color: white;
    }
    .ad-sec a.cls{
        top: 10px;
        right: 10px;
        background-color: transparent;
        border: none;
        color: white;
        font-size: 1.2em;
        cursor: pointer;
        margin-bottom: 10px;
        text-align: right;
    }
    .ad-sec p.cls1{
        top: 10px;
        right: 10px;
        background-color: transparent;
        border: none;
        color: white;
        font-size: 1.2em;
        cursor: pointer;
        margin-bottom: 10px;
        text-align: left; 
    }
    .mob-popup-ind{
        display: block;
    }


    .images-grid1 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 5px;
        max-width: 980px;
    }
    .images-grid1 img {
        width: 49%;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
    
    .images-grid2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 5px;
        max-width: 980px;
    }
    .images-grid2 img {
        width: 49%;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
}
