@import url("https://fonts.googleapis.com/css2?family=Lobster&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;  

}

body,
html {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  background-color: #ffffff;
  overflow-x: hidden;
}

[data-aos="fade-left"], 
[data-aos="fade-right"] {
  overflow-x: hidden;
}

/*======page preloader =====*/
#preloader{
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0e2a47ff  ;
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 100; 
  color: goldenrod; 
  font-size: 30px;
  font-family: cursive;
}

#preloader::after{
  content: '\2026';
  display: inline-block;  
  vertical-align: bottom;
  animation: dots step(4, end) 2s infinite;
  width: 0px;

}

@keyframes dots{
  to{
    width: 1.27em;
  }
}


footer .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0px !important;
}

.h4-border {
  font-family: "Lobster", cursive;
  border-bottom: 2px solid #d8951e;
  color: #000fff;
}

/*======== Why choose us ========*/
.why-us{
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.container-fluid {
  padding: 0 !important;
}

/*=====quick contact=====*/
.quick-contact {
  display: flex;
  justify-content: space-evenly;
  background-color: #ffffff;
  overflow: hidden;
}
.quick-contact p {
  margin: 10px 20px;

  font-size: 12px;
  color: black;
  text-align: center;
  line-height: 2px;
  letter-spacing: 2px;
}


.navbar {
  background-color: #0e2a47ff !important;
  border-bottom: 2px solid #d8951e;
  padding: 2px;
}

.navbar-nav {
  padding-left: 15px !important;
}

.navbar a {
  color: white !important;
  font-size: 16px;
  letter-spacing: 3px;

  font-weight: bold;
  text-transform: uppercase !important;
}

.navbar a:hover {
  color: #d8951e !important;
  font-weight: bold;
}



.navbar-brand img {
  width: 13% !important;
  margin-left: 2rem;
  }

.navbar-toggler {
  position: relative !important;
  float: right !important;
}

/* Page content */

#navbar {
  z-index: 2;
}
.content {
  padding: 0px;
}

/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

/*Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new 
position at the top of the page (position:fixed and top:0) */
.sticky + .content {
  padding-top: 60px;
  margin-top: 60px;
}

/*====Carousel slider======*/
.carousel-item img {
  height: 500px;
  width: 100%;
  
}

.carousel{
  border-bottom:3px solid #D8951E !important;
}

.content {
  z-index: 1;
}




h2.white {
  color:#ffffff;
  font-size: 72px;  
  font-weight: 800; 
  margin-bottom: 80px;   
  text-shadow: 3px 3px 4px #01030c !important; 

}




/*===end carousel===*/

.head-text h1{
 
  text-align: center; 
  letter-spacing: 4px;
  font-weight: 800;
  font-size: 72px; 
}


.about a:hover{
  text-decoration: none !important;
}


/*.hero--image1 {
  background-image: url("/assets/img/pry1.JPG");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-image h2 {
  color: white;
  font-size: 50px;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-weight: bolder;
  text-align: center;
}

.hero-image p {
  color: #fff;
  font-size: 20px;
  text-align: center;
}

.hero-image button {
  background-color: #07c5ac !important;
}*/

/*service request section*/
.service-request {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0e2a47ff;
  height: auto;
  color: #fff;
  padding: 8px 18px;
}

.service-request button {
  background-color: #D8951E;
  color: #fffdd0;
  border: none !important;
  font-size: 17px !important;
  font-weight:bolder;
}

.service--admision {
  background-color: #000;
}
.img-c {
  height: 70%;
  width: 1000px;
}
.welcome-img {
  width: 100%;
  height: 350px;
  border-radius: 4px;
  
}

/*mission icon section*/
.icon-main {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 10px;
  text-align: center;
}
.icon-container {
  border-radius: 50%;
  height: 85px;
  width: 85px;
  text-align: center;
  display: inline-block;
  background-color: #07c5ac;
}
.icon-container i {
  font-size: 40px;
  line-height: 85px;
  color: #fff;
}
.icon-container--1 {
  background-color: #e36968;
}

.icon-container--2 {
  background-color: #062388;
}

/*animated counters section*/
.counters {
  background: #0e2a47ff;
  color: #fff;
  padding: 20px 10px;
  border-top: 3px #fffdd0;
}

.counters i {
  color: #d8951e;
  
}



/*our service section begins*/
.service-card {
  display: flex;
  flex-direction: column;
  height: 450px; /* adjust as needed */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 0.75rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}
.service-card .btn {
  padding: 10px 15px;
  border: none;
  background: #007bff;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.service-card .btn:hover {
  background: #0056b3;
}



/* Ensure the image does not stretch awkwardly */
.service-card img {
  height: 250px;      /* fixed height */
  object-fit: cover;  /* crop and keep proportion */
}

/* Make card body fill remaining space */
.service-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/**/

/*=======textOverImage =========*/



.textOverImage {
  width: 200px;
  height: 200px;
  margin: 4px;
  transition: 0.5s;
  flex: 1;
  border: 1px  white;
  background-position: center;
  border-radius: 6px;
  position: relative;
}

.textOverImage--1 {
  background: url("../img/air-freight.jpg");

  background-repeat: no-repeat;
  background-size: 150%;
}

.textOverImage--2 {
  background: url("../img/borehole.jpg");
  background-repeat: no-repeat;
  background-size: 150%;
}

.textOverImage--3 {
  background: url("../img/carousel3.jpg");
  background-size: 120%;

  background-repeat: no-repeat;
}

.textOverImage--4 {
  background: url("../img/caro5.jpg");
  background-size: 100%;
}

.textOverImage:hover {
  background-size: 150%;
  
}

.textOverImage--2:hover {
  background-size: 160%;
}

.textOverImage:after {
  content: attr(data-text);
  position: absolute;
  top: 86%;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  white-space: pre-wrap;
  background: rgba(13, 61, 112, 0.5);
  color: #fff;
  padding: 0 8px;
  transition: 0.5s;
}

.textOverImage:hover:after {
  top: 0;
  padding: 8px;
}

.textOverImage::first-line {
  font-size: 1.3em;
  font-weight: bold;
  color: #fff;
}

.textOverBtn {
  margin: auto;
  display: block;
  width: 20%;
  border-radius: 10px;
  margin-bottom: 10px;
}

/*=======end textOverImage =========*/

.service-icon-center .icon-container{  
    width: 100px;
    height: 100px;
    display: table;
    margin: 0 auto 20px;
    
    border: 2px solid #ddd;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
}

.service-icon-center .icon-container i {
  font-size: 36px;
  color: #333;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  width: 100px;
  height: 100px;
}

.service-content h3{
  font-size: 20px;
  font-weight: 800;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.24s ease-in-out;
}


/*.carousel-item--test {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}*/

/*======Galleryform section========*/

.gallery {
  min-height: 80vh;
}
.gallery img {
  margin-bottom: 6px;
  margin-left: 4px;
  transition: 1s;
  padding: 15px;
}

.gallery img:hover {
  filter: grayscale(50%);
  transform: scale(1.1);
}

.imgs {
  margin-left: 40px;
}

/*===== About section hero image===*/
.hero-image {
  height: 70vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-text {
  text-align: center;
  font-weight: bolder;
  color: white;
  margin-top: 100px;
}
.img-caro {
  border: 4px solid rgb(243, 109, 109);
}

.progress {
  display: flex;
  background-color: maroon !important;
}

/*===== Admission section begins here=====*/
.admission-process {
  background-color: rgb(235, 85, 85);
  border-radius: 4px;
  color: #490707;
  margin-top: 10px;
  padding: 4px 10px;
  text-align: center;
}




/*=====footer begins here=======*/
footer {
  height: auto;
  background-color: #0e2a47ff;
}
footer p {
  font-size: 15px;
}

.footer-top {
  padding-top: 15px;
 }

.footer-top h4 {
  text-align: center;
  color: white;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
}
.footer-top p {
  text-align: center;
}
.footer-top i {
  color: white;
}

.footer-top ul li{
  text-align: center;
  list-style: none;
  line-height: 35px;

}

.footer-top .top-left{
  line-height: 35px;

}

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
 padding-left: 10px;
 padding-right: 10px;
  color: #d8951e;
  background-color: black;
  height: 50px;
  padding-top: 10px;
  margin-top: 5px;
}

.social-links {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 70%;
  margin-left: 30px;
  }

.social-links i {
  font-size: 2rem;
}
.social-links-header {
  display: flex;
  justify-content: left;
}

.social-links-header i {
  color: white;
  font-size: 1rem;
}

.social-links-header i a:hover {
  color: #490707;
}

.image-gallery {
  display: flex;
  justify-content: center;
  align-content: center;
}
.image-gallery img {
  width: 100%;
  height: 100px;
  border: 3px solid grey;
  border-radius: 3px;
}
.image-gallery img :hover {
  width: 110%;
}
.image-gallery a {
  margin-left: 10px;
  height: 100px;
  margin-top: 10px;
}


/*media querries*/

@media only screen and (max-width: 900px) {
  .counters-display {
    flex-direction: column;
  }
  .navbar{
    display: block !important;
    padding-top: 10px;
  }
  .navbar a{
    font-size: 12px;
  }
  .carousel-item img {
    height: 500px;
    width: 100%;
  }
  .quick-contact {
    flex-direction: column;
  }
.quick-contact  .social-links-header p, .address, .phone{
  display: none;
  visibility: hidden;
 
}
  .hero-image {
    height: 50vh;
  }

  .hero-text h1 {
    text-align: center;
    

    font-weight: bolder;
    font-size: 13px;

    color: white;
    margin-top: 40px;
  }
}

@media only screen and (max-width: 600px) {
  .hero-image h2 {
    color: white;

    font-weight: bolder;
    text-align: center;
    font-size: 30px;
  }

  .hero-image p {
    color: #fff;
    font-size: 16px;
    text-align: center;
  }

 
  .footer-base {
    height: auto;
    padding-top: 10px;
  }
  .head-text {
    font-size: 0.5rem;
  }
}

@media only screen and (max-width: 425px) {

   
  .social-links {
    justify-content: space-between;
    margin-left: 40px;
  }
  .hero-image p {
    color: #fff;
    font-size: 16px;
    text-align: center;
  }
  .table {
    margin: 3px !important;
    padding: 0px !important;
  }

  .table td,
  .table th {
    font-size: 10px !important;
  }

  .table td .btn {
    height: 40px;
    font-size: 10px;
    line-height: 10px;
  }

  .carousel-item img {
    height: 200px !important;
    width: 100%;
  }
  .carousel-item img-sp {
    height: 160px !important;
    width: 100%;
  }

  .carousel-caption span{
    font-size: 13px !important;
  }

  .carousel-caption a{
    font-size: 10px !important;
    margin-top: 20px;
  }

  .about img{
    height: 200px !important;
    width:100% !important;
  }
 
    .about p{
      text-align: center !important;
    }
  


  .navbar-brand img {
    padding: 2px;
    margin-left: 8px;   
    height: 40px;
    width: 100% !important;
  }

  .navbar-brand span {
    font-size: 13px;
    margin-left: 3px;
    padding-top: 10px;
  }
  .navbar{
    display: block !important;
  }

  .navbar-toggler-icon {
    width: 1rem;
    height: 1rem;
    
  }
  .navbar-light .navbar-toggler {
    position: relative !important;
    float: right !important;
  }
  .hero-image h2 {
    color: white;

    font-weight: bolder;
    text-align: center;
    font-size: 18px;
  }

  .hero-image p {
    color: #fff;
    font-size: 12px;
    text-align: center;
  }
  h2.white {    
    font-size: 20px;    
    font-weight: bold;
    margin-bottom:20px;
  }

  /*.tint {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 0.5rem;
    border-radius: 15px 50px 30px;
  }*/

  .service-request h5  {
    font-size: 12px;
  }

  .service-request a  {
    font-size: 8px !important;
  }
  .welcome-img  {
    width: 100%;
    height: 200px;
    border-radius: 4px;
    border: 2px solid grey;
  }
  .img-big{
    width: 100%;
    height: 300px !important;
  }

  .image-gallery {
    flex-direction: column;
  }
  .image-gallery img {
    width: 100%;
    height: 200px;
  }
  .image-gallery a {
    height: 200px;
    margin-top: 4px;
  }

  .footer-base {
    height: auto;
    padding-bottom: 10px;
    flex-direction: column;
    text-align: center;
  }

  .footer-top .top-left{
  text-align: center;
  margin-bottom: 10px;
    
  }

  .hero-image {
    height: 50vh;
  }

  .hero-text h1 {
    text-align: center;

    font-weight: bolder;
    font-size: 13px;

    color: white;
    margin-top: 40px;
  }

  .img-caro {
    height: 200px;
  }
  

  .student_classes--m .col-md-4 {
    margin-bottom: 18px !important;
  }

  .head-text {
    font-size: 20px !important;
  }
  .bee {
    height: 300px !important;
  }
  #preloader{
    
    font-size: 13px;
    
  }

  .card-img-top{
    height: 200px !important;
  }
}
@media (max-width: 768px) {
  .hero-heading {
    font-size: 1.8rem !important;  /* smaller for mobile */
    line-height: 1.3 !important;    /* better readability */
  }

  .hero-heading span {
    font-size: 2.2rem !important; 
    color: #FFD700 !important;
  
  }
}