/********** Template CSS **********/
:root {
    --primary: #F3BD00;
    --secondary: #757575;
    --light: #F3F6F8;
    --dark: #026fca;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
    font-family: 'Josefin Sans', sans-serif;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
    font-family: 'Josefin Sans', sans-serif;
}

.navbar .navbar-brand,
.navbar a.btn {
    /* height: 120px */
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color:#026fca;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
    
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    /* .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    } */
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
        
    }
}


/*** Header ***/

#header-carousel {
    max-height: 600px;
    overflow: hidden;
    position: relative;
    margin-top: -25px;
}

.carousel-item {
    position: relative;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    /* background: rgba(0, 0, 0, 0.5); */
    color: #fff;
    z-index: 1;
    padding: 20px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 12%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #026fca;
    border: 6px solid #026fca;
    border-radius: 50%;
}

/* Responsive styles */
@media (max-width: 768px) {
    #header-carousel {
        max-height: 400px;
    }

    .carousel-caption {
        font-size: 14px;
        padding: 10px;
        background: rgba(0, 0, 0, 0.6);
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 20%;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 1.8rem;
        height: 1.8rem;
        border-width: 4px;
    }

    .carousel-item img {
        height: 100%;
        object-fit: cover;
    }

    .carousel-caption h5 {
        font-size: 16px;
    }

    .carousel-caption p {
        font-size: 13px;
    }
}

.page-header {
    height: 300px;
    background: linear-gradient(rgb(2,111,202), rgb(2,111,202)), 
                url('../img/footer_pattern.png') center center no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}

/*** Facts ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -45px;
        z-index: 1;
    }
}


/*** Courses ***/
.courses {
    min-height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../img/carousel-1.jpg) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    height: 100%;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    font-family: Verdana, sans-serif;
    font-size: 15px;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color:white;
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #ffffff;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}














.logo{
    height: 150px;
    width: 150px;
    margin-top: 37px;
}

.ps-4 h5{
    font-size:15px;
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;

} 
.ps-4 span{
    font-family: Verdana, sans-serif;
}
@media (max-width: 425px) {
    .container-fluid .ok{
        margin-top: -90px;
    }
    }

    .aboutt{
        font-family: 'Josefin Sans', sans-serif;
        font-size: 20px;
    text-align: left;
    margin-left: -23px;
    /* margin-top:20px; */
}
    
    .aboutt p{
        font-family: Verdana, sans-serif;
        margin-top:-30px;
    }



    
.main{
    max-width: 1200px;
    margin: 0 auto;
  }
  
  h1 {
      font-size: 24px;
      font-weight: 400;
      text-align: center;
  }
  
  img {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
    /* box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; */
  }
  
  .btnn {
    color: #026fca;
    padding: 0.8rem;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 4px;
    font-weight: 400;
    display: block;
    width: 100%;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color:#ffffff;  }
  
  .btnn:hover {
    background-color:#ffffff; 
color:#026fca; }
  
  
  .cards {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .cards_item {
    display: flex;
    padding: 1rem;
  }
  
  @media (min-width: 40rem) {
    .cards_item {
      width: 50%;
    }
  }
  
  @media (min-width: 56rem) {
    .cards_item {
      width: 33.3333%;
    }
  }
  
  .card {
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  
  .card_content {
    padding: 1rem;
    background:#026fca;
  }
  
  .card_title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: capitalize;
    text-align: center;
    margin: 0px;font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
  }
  
  .card_text {
    color: #ffffff;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;    
    font-weight: 400;
    font-family: Verdana, sans-serif;
    text-align: center;
    margin-top:20px;
  }
.display-6{
    font-family: 'Josefin Sans', sans-serif;
    /* font-size:px; */
}


section {
    display: grid;
    place-items: center;
}

h1 {
    font-size: 3rem;
    padding: 20px;
    margin: 20px 0px;
}

.slider {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 80%;
    /* margin-top:-80px; */
    overflow: hidden;
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7.4px);
    -webkit-backdrop-filter: blur(7.4px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.slider-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    animation: scrolling 5s linear infinite;

}

@keyframes scrolling {

    0% {
        transform: translateX(80%);
    }

    100% {
        transform: translateX(-20%);
    }
}

.slider-items img {
    width: 12%;
    margin: 20px;

}
.logos {
    height: auto;
    width: 230px;
    margin-top: -52px;
    margin-bottom: -75px;
  }
  
  .logos img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  @media (max-width: 768px) {
    .logos {
      width: 150px; /* Smaller logo on mobile */
      margin-top: -30px;
      margin-bottom: -50px;
    }
  }



  .lightboxpreview {
    transition: all .3s linear;
 padding-top:60%;
   cursor:pointer;
   background-size:cover;
 }
    
 .lightbox-content {
 max-height:75svh;
   height:75svh;
 }
 
 .lightbox-close { 
   cursor:pointer;
     margin-left: auto;
   position:absolute;
   right:-30px;
   top:-30px;
   color:white;
     font-size: 2rem;
     font-weight: 700;
     line-height: 1;}
 
 .modalscale {transform:scale(0);
 opacity:0;}
 
 
 
 .lightbox-container, .lightbox-btn, .lightbox-image-wrapper, .lightbox-enabled{transition:all .4s ease-in-out;}
 .lightbox_img_wrap {padding-top:65%;
   position:relative;
   overflow:hidden;
 }
 .lightbox-enabled:hover {
   transform:scale(1.1);
   border-radius:10px
 }
 .lightbox-enabled {width:100%;
 height:100%;
   position:absolute;
   top:0;
 object-fit:cover;
 cursor:pointer;
 border-radius: 12px;}
 .lightbox-enabled:hover {width:100%;
    height:100%;
      position:absolute;
      top:0;
    object-fit:cover;
    cursor:pointer;
    border-radius: 12px;}
 
 .lightbox-container {width:100svw;
 height:100svh;
 position:fixed;
 top:0;
 left:0;
   display:flex;
   align-items:center;
   justify-content:center;
 background-color:rgba(0,0,0,.6);
 z-index:9999;
 opacity:0;
 pointer-events:none;
 }
 
 .lightbox-container.active {
   opacity:1;
   pointer-events:all;
 }
 .lightbox-image-wrapper {
   display:flex;
   transform:scale(0);
   align-items:center;
   justify-content:center;
   max-width:90vw;
   max-height:90vh;
   position:relative;
 }
 .lightbox-container.active .lightbox-image-wrapper {transform:scale(1);}
 .lightbox-btn, #close {
   color:white;
   z-index:9999999;
  cursor:pointer; 
   position:absolute;
   font-size:50px;
 }
 
 .left {left:50px;}
 .right {right:50px;}
 #close {top:50px;
 right:50px;}
 
 .lightbox-image {
   width:100%;
   max-height:95vh;
   object-fit:cover;
  }
 
 @keyframes slideleft {
   33% {transform:translateX(-300px);
   opacity:0;
   }
   66% {transform:translateX(300px);
   opacity:0;
   }
 }
 
 
 .slideleft {
    animation-name: slideleft;
  animation-duration: .5s; 
  animation-timing-function: ease; 
 }
 @keyframes slideright {
   33% {transform:translateX(300px);
   opacity:0;}
   66% {transform:translateX(-300px);
   opacity:0;}
 }
 
 
 .slideright{
    animation-name: slideright;
  animation-duration: .5s; 
  animation-timing-function: ease; 
 }
     
 
     
     

.mission-vision-section {
    padding: 40px 20px;
    background-color: #fff;
}

.containerx {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cardx {
    background-color: #f2f2f2;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cardx:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

h3 {
    color: #026fca;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
}

 p {
    /* color: #555; */
    font-size: 1rem;
    line-height: 1.6;
    font-family: Verdana, sans-serif;

}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .card {
        max-width: 100%;
    }

    h3 {
        font-size: 1.2rem;
    }

  p {
        font-size: 0.9rem;
    }
}


  








.why-choose-section {
    background-color: #f2f2f2;
    margin-bottom:-100px;
}

.icon-img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.card-title {
    color:white;
    /* font-weight: bold; */
    margin-bottom: 10px;
    font-size:17px;
}

.card-text {
    font-size: 0.95rem;
    color: white;
}

h2.text-primary {
    color: #c17b50 !important;
}

.cardxx{
    background-color:#026fca;
    border: 2px solid white; /* Add this line */

}









.geotech-section {
    /* background-color: #f8f9fa; */
    padding: 10px 0;
  }
  .geotech-section .content-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  }
  .geotech-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    /* border: 1px solid #026fca; */
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);

  }
  .btn-primary-custom {
    background-color: #026fca;
    border: none;
  }
  .btn-secondary-custom {
    background-color: black;
    border: none;
  }
  .btn-custom {
    margin-right: 10px;
    margin-top: 20px;
  }








  .float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}
.float:hover{
  position:fixed;
  width:60px;
  height:60px;
  bottom:40px;
  right:40px;
  background-color:#25d366;
  color:#FFF;
  border-radius:50px;
  text-align:center;
font-size:30px;
  box-shadow: 2px 2px 3px #999;
z-index:100;
}

.my-float{
	margin-top:16px;
}