@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body::-webkit-scrollbar{
    width: 10px;
}
body::-webkit-scrollbar-thumb{
    background: #2196f3;
    border-radius: 5px;
}
body::-webkit-scrollbar-track{
    background: #f1f1f1;
}

* {
    font-family: "Noto Sans", sans-serif;
}

@media (max-width: 750px) {
    .container:not(.homeslides) {
        height: fit-content !important;
    }
}

.home-logo{
    width: 250px;
    height: 250px;
    position: relative;
    margin: 0 0 30px;
}

.nav-logo{
    width: 80px;
    height: 80px;
    display: block;
    position: relative;
}
.nav-logo img{
    width: 80%;
    height: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    object-fit: cover;
}
.hero-txt h1.ae-1{
    font-size: 7.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.aboutus{
    display: flex;
    justify-content: space-between;
    column-gap: 100px;
    align-items: center;
    width: 100%;
}

.aboutus .our-logo{
    width: 500px;
    height: 500px;
    position: relative;
}
@media (max-width: 750px){ 
    .aboutus .our-logo{
        display: none;
    }
}
.aboutus .our-logo img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.aboutus h1.ae-1{
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.aboutus p.ae-2{
    font-size: 2.8rem;
    font-weight: 500;
    margin-bottom: 20px;
}
form.contact-form input, form.contact-form textarea{
    width: 100%;
    display: block;
    padding: 15px 20px;
    margin: 0 0 10px;
    border-radius: 5px;
    outline: none;
    border: none;
}
form.contact-form .split{
    display: grid;
    column-gap: 20px;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}
form.contact-form button{
    padding: 10px 20px;
    color: #fff;
    border: none;
    cursor: pointer;
}
.grid-news{
    display: grid;
    place-items: center;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.article-card{
    width: 100%;
    height: 200px;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}
.article-card .article-img{
    width: 100%;
    height: 100%;
    position: absolute;
}
.article-card .article-img::after{
    top: 0;
    left: 0;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #0000007c;
}
.article-card .article-img h3{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #fff;
    padding: 10px 30px;
    font-size: 2.5rem;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    z-index: 10;
}
.article-card .article-img img{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
}
.grid-partners{
    display: grid;
    place-items: center;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.partner-card{
    width: 100%;
    height: 130px;
    /* background: #ffffffb0; */
    backdrop-filter: blur(10px);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.partner-card a{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.partner-card img{
    width: 70%;
    height: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    position: absolute;
}
.article-card .description{
    padding: 5px 25px;
    color: #252525;
}
.article-card .description h3{
    font-size: 2.5rem;
    font-weight: 700;
    margin: 5px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card .description p{
    font-size: 2rem;
    font-weight: 500;
    margin: 5px 0;
    color: #737373;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card button{
    display: block;
    padding: 7px 20px;
    background: #2196f3;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    margin: 0 auto 10px;
    width: fit-content;
    border: none;
    cursor: pointer;
}
.our-services-text{
    font-size: 2.9rem;
}
.services-bgs{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}
.services-bgs img{
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}
.aboutus{
    text-align: center;
}
.aboutus .about-description{
    max-width: 800px;
    margin: 0 auto 50px;
}
.vision-mission{
    max-width: 800px;
    margin: auto;
    row-gap: 20px;
    margin: 30px 0 0;
    justify-content: center;
    column-gap: 20px;
}
.vision-mission button{
    border: none;
    outline: none;
    padding: 15px 20px;
    background: #fff;
    color: #252525;
    border-radius: 30px;
    font-size: 2.5rem;
    font-weight: 500;
    cursor: pointer;
}
@media (max-width: 900px){
    .aboutus .about-description{
        font-size: 2.3rem !important;
    }
    .vision-mission .card p{
        font-size: 2rem !important;
    }
}
@media (max-width: 800px){
    .vision-mission{
        flex-direction: column;
        row-gap: 20px;
    }
}

.wrap.masonry-grid{
    max-width: 1300px;
    margin: auto;
}

.gallery-container{
    width: 100%;
    margin-top: 50px;
    overflow: hidden;
    padding: 1px solid #fff;
    padding: 10px 10px 50px;
}

.gallery-container .swiper-button-prev, .gallery-container .swiper-button-next{
    color: #24394a;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    opacity: 1;
    transition: .3s;
}
.gallery-container .swiper-button-prev, .gallery-container .swiper-button-next{
    top: 100%;
    transform: translate(-50%, -50%);
}
.gallery-container .swiper-button-prev{
    left: 48%;
}
.gallery-container .swiper-button-next{
    left: 52%;
}
@media (max-width: 1000px){ 
    .gallery-container .swiper-button-prev{
        left: 45%;
    }
}
@media (max-width: 1000px){ 
    .gallery-container .swiper-button-next{
        left: 55%;
    }
}
.gallery-container:hover .swiper-button-prev, .gallery-container:hover .swiper-button-next{
    opacity: .8;
}
.gallery-container .swiper-button-prev::after, .gallery-container .swiper-button-next::after{
    font-size: 2rem;
    font-weight: 700;
}

.wrap.masonry-grid #yearFilter{
    display: block;
    outline: none;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 10px 0;
    background: #fff;
    backdrop-filter: blur(10px);
    color: #252525;
    font-size: 2.3rem;
    font-weight: 500;
    cursor: pointer;
}

.gallery-container #grid-img{
    position: relative;
    height: fit-content;
    margin: 20px 10px;
    overflow: hidden;
    border-radius: 5px;
    
}
.gallery-container .img{
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 5px;
}
.gallery-container .img.equipment{
    height: 220px;
}
.gallery-container .img::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #000000b7, transparent);
    z-index: 1;
    top: 0;
    left: 0;
    border-radius: 5px;
    pointer-events: none;
}
.gallery-container .img .description{
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    padding: 5px 10px;
    z-index: 10;
    font-size: 0.8rem;
    text-align: left;
    z-index: 100;
    bottom: 0;
    left: 0;
}
.gallery-container .img .description h3{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 2.6rem;
    margin: 0 0 5px;
}
.gallery-container .img .description p{
    font-size: 2rem;
    margin: 0;
}
.gallery-container .img img{
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.services-grid{
    max-height: 400px;
    overflow-y: auto;
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media (max-width: 768px){
    .services-grid,.equipment-container,.grid-news{
        max-height: 100%;
    }
}
.equipment-container{
    width: 100%;
    margin-top: 50px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}
@media (max-width: 1000px){
    .equipment-container{
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media (max-width: 800px){
    .equipment-container{
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 580px){
    .equipment-container{
        grid-template-columns: 1fr;
    }
    .equipment-container{
        margin: 0 0 30px;
    }
}
.equipment-card,.service-card{
    background: #ffffffa2;
    border-radius: 5px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 20px;
    cursor: pointer;
    padding: 0 10px 0 0;
}
.equipment-card .equipment-description, .service-card .service-description{
    display: flex;
    align-items: center;
    column-gap: 15px;
}
.equipment-card .equipment-img, .service-card .service-img{
    width: 100px;
    height: 110px;
    object-fit: cover;
}
.equipment-card .equipment-name, .service-card .service-name{
    font-size: 2.4rem;
    color: #252525;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin: 0;
}
.equipment-card .see-more, .service-card .see-more{
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}
.service-card h3{
    font-size: 2rem;
    color: #252525;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin: 0;
}
@media (max-width: 900px){
    .services-grid{
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media (max-width: 700px){
    .services-grid{
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 520px){
    .services-grid{
        grid-template-columns: 1fr;
    }
}
.alert{
    max-width: 500px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    margin: 10px;
    border-radius: 4px;
}
.alert .alert-success{
    background: #28a745;
    color: #fff;
}
.alert .alert-danger{
    background: #dc3545;
    color: #fff;
}
/* modal */
.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.overlay .modal{
    width: 1200px;
    height: 100vh;
    max-width: 90%;
    max-height: calc(100vh - 150px);
    overflow: auto;
    background: #00000084;
    border-radius: 5px;
    padding: 40px;
    position: relative;
    top: 50%;
    left: 50%;
    backdrop-filter: blur(10px);
    transform: translate(-50%, -50%);
}
.overlay .modal.vision-mission-modal{
    height: fit-content;
    width: 900px;
}
.overlay .modal.service-modal{
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.overlay .modal .close-modal{
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    width: 25px;
    height: 25px;
    cursor: pointer;
}
.overlay .modal img{
    width: 80%;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
    margin: auto;
    display: block;
    margin-bottom: 20px;
}
.overlay .modal .article-content{
    width: 95%;
    display: block;
    margin: auto;
}
.overlay .modal .article-content .flex-view{
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    width: 100%;
}
@media (max-width: 768px){
    .overlay .modal .article-content .flex-view{
        grid-template-columns: 1fr;
    }
}

.overlay .modal .article-content h2{
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #bfbfbf;
}
.overlay .modal .vision-mission-content h1{
    font-size: 6.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #bfbfbf;
    text-align: center;
}
.overlay .modal .vision-mission-content p{
    font-size: 2.5rem;
    line-height: 5rem;
}
.overlay .modal .article-content p{
    font-size: 2.5rem;
    line-height: 5rem;
    margin-bottom: 20px;
}
.grid-partners,.grid-news{
    max-height: calc(100vh - 230px);
    overflow-y: auto;
}

@media (max-width: 768px) {
    .grid-partners,.grid-news{
        max-height: 100%;
    }
}

.contact-info{
    display: flex;
    justify-content: center;
    column-gap: 10px;
}
.contact-info a{
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background: #556d81;
    position: relative;
    object-fit: contain;
}
.contact-info a svg{
    width: 50%;
    height: 50%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    fill: #fff;
    transform: translate(-50%, -50%);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper {
    width: 100%;
    height: 400px !important;
    margin-left: auto;
    margin-right: auto;
}
.swiper.slides {
    margin: 15px 0 0;
    height: 200px !important;
    background: transparent;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
}

.mySwiper2 {
    height: 100%;
    width: 100%;
}

.mySwiper {
    height: 20px;
    box-sizing: border-box;
    padding: 10px 0;
}

.mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}
.tabs{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 5px auto;
    width: 100%;
}
.tabs .tab{
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 2.5rem;
    font-weight: 500;
    color: #252525;
    background: #ffffffb0;
    backdrop-filter: blur(10px);
}
.tabs .tab.active{
    background: #24394a;
    color: #fff;
}

.homeslider {
    position: absolute;
    height: 100%;
    width: 100%;
}
.homeslider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
}
.homeslider .slide-wrapper .slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.homeslider .slide-wrapper .swiper-slide {
    position: relative;
}
.homeslider .slide-wrapper .swiper-slide::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000000c6;
    z-index: 1;
    top: 0;
    left: 0;
}
.homeslider .slide-wrapper .swiper-slide .slide-description{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 80%;
}
.homeslider .slide-wrapper .swiper-slide .slide-description h2{
    font-size: 6.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    width: 70%;
}
.homeslider .slide-wrapper .swiper-slide .slide-description p{
    font-size: 2.5rem;
    line-height: 5rem;
    margin-bottom: 20px;
    width: 60%;
}
@media (max-width: 1000px){ 
    .homeslider .slide-wrapper .swiper-slide .slide-description p{
        width: 100%;
    }
    .homeslider .slide-wrapper .swiper-slide .slide-description h2{
        width: 100%;
    }
}
.homeslider .slide-wrapper .swiper-slide .slide-description a{
    display: block;
    width: fit-content;
    padding: 10px 20px;
    color: #24394a;
    font-size: 2rem;
    background: #fff;
    text-decoration: none;
    border-radius: 5px;
}
.homeslider .swiper-button-prev, .homeslider .swiper-button-next{
    color: #24394a;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    opacity: 1;
    transition: .3s;
}
.homeslider .swiper-button-prev, .homeslider .swiper-button-next{
    top: 95%;
    transform: translate(-50%, -50%);
}
.homeslider .swiper-button-prev{
    left: 48%;
}
@media (max-width: 1000px){ 
    .homeslider .swiper-button-prev{
        left: 45%;
    }
}
.homeslider .swiper-button-next{
    left: 52%;
}
@media (max-width: 1000px){ 
    .homeslider .swiper-button-next{
        left: 55%;
    }
}
.homeslider:hover .swiper-button-prev, .homeslider:hover .swiper-button-next{
    opacity: .8;
}
.homeslider .swiper-button-prev::after, .homeslider .swiper-button-next::after{
    font-size: 2rem;
    font-weight: 700;
}

/* Events Hub Layout */
.events-hub {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    gap: 20px;
    padding: 20px;
  }
  @media (max-width: 900px){ 
    .events-hub{
        flex-direction: column;
    }
  }
  
  /* Main Video Section */
  .main-video {
    flex: 2;
    background-color: #000;
    max-width: 800px;
    width: 100%;
    height: 450px;
  }

  @media (max-width: 900px){ 
    iframe{
        width: 90%;
        height: 300px;
    }
  }
  
  .video-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    width: 100%;
  }

  .video-container img{
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  
  .video-thumbnail {
    width: 100%;
    border-radius: 8px;
  }
  
  .video-info {
    padding: 10px 0;
  }
  
  .video-info h2 {
    font-size: 1.5em;
    color: #333;
  }
  
  /* Sidebar Styling */
  .sidevideos {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .sidevideos h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #fff;
  }
  
  .recommendations {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 420px;
    padding-right: 10px;
    overflow-y: auto;
  }

  @media (max-width: 900px){ 
    .recommendations{
        max-height: 200px;
    }
  }

  .recommendations::-webkit-scrollbar {
        width: 10px;
    }
    
  .recommendations::-webkit-scrollbar-track {
        background-color: #ebebeb;
        -webkit-border-radius: 10px;
        border-radius: 10px;
    }

  .recommendations::-webkit-scrollbar-thumb {
        -webkit-border-radius: 10px;
        border-radius: 10px;
        background: #6d6d6d; 
    }
  
  .recommendation {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    width: 100%;
  }

  
  .recommendation .vid{
    position: relative;
    width: 150px;
    height: 90px;
    border-radius: 4px;
    flex-shrink: 0;
  }

  .recommendation .vid .play-btn{
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: 10px;
    left: 10px;
    z-index: 10;
    background: #fff;
    border-radius: 100%;
  }

  .recommendation .vid .play-btn svg{
    position: absolute;
    width: 40%;
    height: 40%;
    object-fit: contain;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    fill: rgba(155, 9, 9, 0.725);
  }
  
  .recommendation .vid img {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
    opacity: .6;
    top: 0;
    left: 0;
  }
  
  .recommendation .title p {
    font-size: 0.9em;
    color: #fff;
    margin: 0;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }