@import url("https://fonts.googleapis.com/css2?family=Alexandria:wght@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");@import url("https://fonts.googleapis.com/css2?family=Kanit: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");@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap");
.header-bg{
    background-image: url('header.jpg');
    background-repeat: no-repeat;
    background-position: 50%;
    background-size:cover;
    position: relative;
}

.header-overlay{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #25378c 37%,#25378c80 53%, #25378c20 97%);
}

.header-text-container{
    width: 100%;
    padding: 160px 16%;
    z-index: 20;
    height: 100%;
}

/* .header-overlay{
    position: absolute;
    left: 0;
    top: 0;
    clip-path: polygon(0 0,15% 0,60% 100%,0 100%);
    width: 100%;
    height: 100%;
    background-color: #4098bef0;
}

.dark-overlay{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #244b6c90;
    clip-path: polygon(20% 0,100% 0,100% 100%,65% 100%);

}
.yellow{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    clip-path: polygon(15% 0,20% 0,65% 100%,60% 100%);
    background-color: #244b6cf0;
} */

.navbar{
    background-color: rgb(255, 255,255,0.05);
    backdrop-filter: blur(2px);
}

.header-title{
    z-index:100; 
    color:#fdc933; 
    font-size:60px; 
    font-family:Alexandria, serif; 
    letter-spacing: 8px;
    position: relative;
}

.yellow-line{
    border-top: #fdc933 4px solid;
    width: 250px;
    z-index: 20;
}

.header-para{
    color: white;
    max-width: 700px;
    margin-top: 50px;
    font-size: 16px;
    font-family: Alexandria, serif;
    z-index: 20;
}

.main-container{
    padding: 40px 15%;
}

.blue-header{
    font-size: 45px;
    color: #25378c;
    text-align: center;
    font-family: Alexandria, serif;
}

.white-header{
    font-size: 45px;
    color: #fff;
    text-align: center;
    font-family: Alexandria, serif;
}

.navbar.scrolled {
    background-color: #25378c; /* Background color after scrolling */
}

.services-btn{
    border: #25378c 2px solid; 
    border-radius:8px !important; 
    width:200px; 
    color: #25378c; 
    font-size: 18px;
    transition: 0.3s;
}

.services-btn:hover{
    background-color: #25378c;
    color: white;
}

.white-line{
    border-top: #fff 4px solid;
    width: 250px;
    z-index: 20;
}

.services-card{
    transition: 0.3s;
    border-radius: 15px;
    max-width: 300px;
    width: 300px;
}

.services-card:hover{
    background-color: #25378c;
    cursor: pointer;
}

.card-title{
    font-family: Alexandria, serif;
}

.card-text{
    font-family: Alexandria, serif;
}

.services-card:hover .card-body .card-title{
    color: #fdc933;
}

.services-card:hover .card-body .card-text{
    color: white;
}

.scope-item{
    font-family: Alexandria, serif;
}

.services-card:hover .scope-item{
    color: white  !important;
}

.form-control{
    border-color: #808080 !important;
    color: #aaa !important;
    transition: 0.3s;
}

.contact-btn{
    border: #808080 1px solid; 
    border-radius:8px; 
    width:150px;
    transition: 0.5s;
    color: #808080;
}

.contact-btn:hover{
    border: #fdc933 solid 1px;
    color: #fdc933;
}

.form-control:focus{
    box-shadow: none !important;
    border-color: #fdc933 !important;
    color: #fff !important;
}

.btn:focus{
    box-shadow: none !important;
}

@media screen and (max-width:512px) {
    .main-container{
        padding: 40px 7.5%;
    }    
    .partner{
        max-width: 100px !important;
    }

    .projects{
        grid-template-columns: repeat(1,1fr) !important;
    }
} 

.categories {
    margin-bottom: 20px;
}
.category {
    margin: 20px 5px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-block;
}
.category.active {
    background-color: #25378c;
    color: white;
}

.projects{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}
.project {
    opacity: 0; /* Start hidden */
    display: none;
    transition: opacity 2s ease, display 0.5s ease; /* Smooth transition for opacity */
    overflow: hidden;
    object-fit: cover;
    aspect-ratio: 4/3 !important;
}
.project.active {
    opacity: 1; /* Show when active */
    height: auto; /* Make height auto when active */
    display: block;
}

a{
    text-decoration: none !important;
}

.about-bg{
    background-color: #25378c;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: 50vh;
}

.about-overlay{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #25378ca0 37%, #25378c50 67%, #fdc93330 86%);
}

.about-para{
    color: white;
    margin-top: 20px;
    font-size: 16px;
    font-family: Alexandria, serif;
    z-index: 20;
}

.about-description{
    font-size: 17px;
    font-family: Alexandria, serif;
}

.vission-container{
    background-color: #fdc933;
    border-radius: 12px;
    width: 100%;
    padding:  30px;
    font-family: Alexandria, serif;
}

.partners{
    padding: 20px;
}

.partner{
    max-width: 150px;
}

.header-description{
    font-family: Alexandria, serif;
    color: #fdc933;
}

.b-gallery-slider {
    position: relative;
    z-index: 1;
    height: 70vh;
    max-height: 780px
  }
  
  @media only screen and (max-width: 75rem) {
    .b-gallery-slider {
        max-height:600px
    }
  }
  
  @media only screen and (max-width: 60rem) {
    .b-gallery-slider {
        max-height:500px
    }
  }
  
  @media only screen and (max-width: 51.25rem) {
    .b-gallery-slider {
        max-height:400px
    }
  }
  
  @media only screen and (max-width: 40rem) {
    .b-gallery-slider {
        max-height:340px
    }
  }
  
  @media only screen and (max-width: 28.75rem) {
    .b-gallery-slider {
        max-height:280px
    }
  }
  
  @media only screen and (max-width: 26.25rem) {
    .b-gallery-slider {
        max-height:220px
    }
  }
  
  @media only screen and (max-width: 22.5rem) {
    .b-gallery-slider {
        max-height:180px
    }
  }
  
  .b-gallery-slider__slides {
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    overflow-x: auto
  }
  
  .b-gallery-slider__slides.slick-initialized {
    overflow: hidden
  }
  
  .b-gallery-slider__img,.b-gallery-slider__slide {
    display: block;
    height: 100%
  }
  
  .b-gallery-slider__img {
    width: auto;
    will-change: opacity;
    transition: opacity .25s ease-in-out
  }
  
  .b-gallery-slider__img.lazyload {
    opacity: .5
  }
  
  .b-gallery-slider__img.lazyloaded {
    opacity: 1
  }
  
  .b-gallery-slider__btn {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    z-index: 300;
    top: calc(50% - 25px);
    width: 50px;
    border-radius: 50%;
    height: 50px;
    border: none;
    outline: 0;
    background-color: #25378c;
    transition: background-color .25s ease-in-out,border-color .25s ease-in-out;
    cursor: pointer
  }
  
  @media only screen and (max-width: 28.75rem) {
    .b-gallery-slider__btn {
        top:calc(50% - 16px);
        width: 32px;
        height: 32px
    }
  }
  
  .b-gallery-slider__btn:hover {
    opacity: 0.9;
  }
  
  .b-gallery-slider__btn:focus {
    opacity: 0.9;
    border: #fdc933 solid 1px;
  }
  
  .b-gallery-slider__btn--next {
    right: 30px
  }
  
  @media only screen and (max-width: 28.75rem) {
    .b-gallery-slider__btn--next {
        right:20px
    }
  }
  
  .b-gallery-slider__btn--prev {
    left: 30px
  }
  
  @media only screen and (max-width: 28.75rem) {
    .b-gallery-slider__btn--prev {
        left:20px
    }
  }
  
  .b-gallery-slider__btn.slick-disabled {
    cursor: not-allowed;
    opacity: .4
  }
    
  .b-gallery-slider__btn-icon {
    display: block;
    width: 54%;
    height: 54%;
    fill: #fdc933;
  }
  
  .b-gallery-slider__link {
    outline: 0;
    cursor: zoom-in
  }
  
  .b-gallery-slider .slick-list,.b-gallery-slider .slick-track,.b-gallery-slider .slick-track div {
    height: 100%
  }
  
  .slick-list, .slick-slider{
    position: relative;
  }
  
  .slick-list{
    margin: 0;
    overflow: hidden;
    display: block;
  }
  
  .slick-slider .slick-list, .slick-slider .slick-track{
    transform: translateZ(0);
  }
  
  .slick-slide{
    float: left;
    min-height: 1px;
  }

  .projects-cat{
    width: 100%;
  }

  .projects-table{
    width: 100%;
    height: 0; 
    opacity: 0;
    transition: opacity 0.5s ease; 
    overflow: hidden;
  }

  .projects-table.active{
    height: 100%;
    opacity: 1;
  }

  .member-card{
    transition: 0.3s;
    border-radius: 15px;
    max-width: 400px;
    width: 400px;
}
.card-text a{
  color: black;
}
.member-card:hover{
    background-color: #25378c;
    cursor: pointer;
}

.member-card:hover .card-body .card-title{
    color: #fdc933;
}

.member-card:hover .card-body .card-text{
    color: white;
}

.member-card>.card-body>p{
  color: black;
}

.member-card:hover>.card-body>p{
  color: #fff;
}

.member-card:hover>.card-body>.card-text>a{
  color: #fff;
}