/********** Template CSS **********/
:root {
    --primary: #F3BD00;
    --secondary: #757575;
    --light: #F3F6F8;
    --dark: #0C2B4B;
}

.py-6 {
    padding-top: 20px;
    padding-bottom: 2rem;
}

.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;
}
.btn.btn-primary:hover{
    color: #071e68;
}
.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;
    /* margin-left: -60px; */
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.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: var(--primary);
}

.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;
        justify-content: center;
        align-items: center;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        justify-content: center;
        align-items: center;
        transition: .5s;
        opacity: 1;
    }
}
@media(min-width: 480px) {
     .navbar-toggler-icon{
        justify-content: center;
        align-items: center;
    }
    
}
/* dropdown */
  
  .menu-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .menu-item a:hover {
    color: #555;
  }
  
  .mega-menu {
    position: absolute;
    display: none;
    background-color: #fff;
    padding: 20px;
    width: 500px;
    column-count: 3;
    column-gap: 20px;
  }
  
  .menu-item:hover .mega-menu {
    display: block;
    color: #F3BD00;
  }
  
  .menu-column {
    margin-bottom: 20px;
  }
  
  .menu-column h3 {
    margin: 0 0 10px;
  }
  
  .menu-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .menu-column ul li {
    margin-bottom: 5px;
  }
  .menu-column ul:hover {
   color: #F3BD00;
  }
  
  .menu-column ul li a {
    color: #000000;
    text-decoration: none;
  }

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .75);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        background-size: contain;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        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;
}
/* why choose us */
 
.ch-us{
  text-align: center;
  color: #F3BD00;
}
/* faqs */
.title{
font-size: 50px;
text-align: center;
margin-top: 80px;
margin-bottom: 40px;
text-decoration: underline 4px;
}


.questions-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.question {
  margin: 20px;
  width: 80%;
  max-width: 900px;
}
.question button{
width: 100%;
background-color: #F3BD00;
display: flex;
border-radius: 20px;
justify-content: space-between;
align-items: left;
padding: 20px 15px;
border:none;
outline: none;
font-size: 22px;
color: #fff;
font-weight: 700;
cursor: pointer;
}

/* .question p {
  max-height: 0;
  padding: 0 20px; 
  margin-top: 0px;
  overflow: hidden;
  border-radius: 20px;
  color: #000000;
  font-size: large;
  font-weight: bolder;
  background-color: #F3BD00;
  transition: max-height 1s ease, padding 1s ease;

}


.question.active p {
  max-height: 900px; 
  padding: 0 40px ;
  color: #000000;
  font-size: large;
  font-weight: bolder;
} */

.question p {
  max-height: 0;
  padding: 0 0px; /* Initial padding for smooth animation */
  overflow: hidden;
  border-radius: 20px;
  color: #000000;
  font-size: large;
  font-weight: bolder;
  background-color: #F3BD00;
  transition: max-height 1s ease, padding 1s ease;
}

.question.active p {
  max-height: 900px; /* Adjust this value depending on the content */
  padding: 0 30px;
  color: #000000;
  font-size: large;
  font-weight: bolder;
  margin: 0 auto;
  }

.d-arrow{
transition: transform 0.5s ease-in ;
color: #fff;
}
.question.active .d-arrow {
  transform: rotate(180deg);
}

/*add this class when click*/
.review-questions {
  display: flex;
  justify-content: space-around;
  margin-top: 50px;
}

.review {
  text-align: center;
  width: 45%;
  padding: 20px;
  background-color: #F3BD00;
  border-radius: 5px;
}

.p-colo,
.p-colo-1 {
  color: #333;
}

.p-color {
  color: #777;
}

.butt-center {
  display: inline-block;
  background-color: #ff9100;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.butt-center:hover {
  background-color: #b34200;
}

        /* Media queries for responsiveness */
        @media screen and (max-width: 768px) {
            .review {
                max-width: 100%;
            }
        }
/*** Footer ***/

.footer h2 img{
    margin-left: -100px;
}
.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;
}

.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: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #092139;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}
@media (max-width: 480px) {
    .footer h2 img{
        margin-left: -20px;
    }
    
}
@media (max-width: 786px) {
    .footer h2 img{
        margin-left: -60px;
    }
    
}

   /* CSS Styles */
   #container {
    max-width: 500px;
    color: #071e68;
    margin: 0 auto;
  }
  form{
    background: #F3BD00;
    margin-top: 10%;
    padding: 30px;
    border-radius: 20px;
  }
  /* form h1{
    justify-content: center;
    align-items: center;
  } */
  .form-group {
    margin-bottom: 20px;
  }

  label {
    display: block;
    font-weight: bold;
  }

  input[type="text"],
  input[type="tel"],
  input[type="email"],
  textarea,
  select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
  }

  input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  input[type="submit"]:hover {
    background-color: #45a049;
  }



@media (max-width: 720px) {
    .form{
       margin-left: 40px;
       padding-top: 30%;
       margin-right: 40px;
    }
}
@media (max-width: 600px) {
    .form{
       margin-left: 30px;
       padding-top: 25%;
       margin-right: 30px;
    }
}
@media (max-width: 480px) {
    .form{
       margin-left: 20px;
         padding-top: 20%;
       margin-right: 20px;
    }
}

 /* ignore the code below */
  
 .link-area
 {
   position:fixed;
   bottom:20px;
   padding-left: 550%;
   z-index: 100;
   left:20px;  
   padding:15px;
   border-radius:40px;
   background:rgb(93, 255, 29);
 }
 .link-area a
 {
   text-decoration:none;
   color:#fff;
   font-size:25px;
 }
 .footer{
   padding-top: 50px;
 }
 .footer .col-lg-3,
 .footer .col-md-6 {
   margin-right: -30px;
 }
 

 /* Media Styles */
@media (max-width: 767px) {
    .footer {
      padding: 10px;
    }
  
    .footer .row {
      flex-direction: column;
    }
  
    .footer .col-lg-3,
    .footer .col-md-6 {
      margin-bottom: 30px;
    }
  
    .footer h4 {
      margin-bottom: 15px;
    }
  
    .footer .btn {
      display: block;
      margin-bottom: 10px;
    }
  
    .footer .text-center {
      text-align: center;
    }
  }
  
  @media (max-width: 575px) {
    .footer .col-lg-3,
    .footer .col-md-6 {
      margin-bottom: 20px;
    }
  
    .footer h2 {
      margin-bottom: 10px;
    }
  
    .footer .text-primary {
      margin-bottom: 10px;
    }
  
    .footer .btn {
      font-size: 14px;
    }
  
    .footer .coosdh-1 img {
    display: block;
    }
  
    .footer .d-flex {
      flex-wrap: wrap;
    }
  }
  /* Media Styles */
@media (max-width: 767px) {
    .footer .col-lg-3,
    .footer .col-md-6 {
      margin-bottom: 30px;
    }
  
    .footer .col-lg-3:last-child,
    .footer .col-md-6:last-child {
      margin-bottom: 0;
    }
  
    .footer .d-flex {
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .footer .d-flex a {
      margin: 5px;
      padding: 5px;
    }
  }
  
  @media (max-width: 575px) {
    .footer .d-flex a {
      margin: 2px;
      padding: 2px;
    }
  }
  /* scroll bar */
/* width */
::-webkit-scrollbar {
    width: 17px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(360deg, #d1e6ff, #F3BD00); 
    border-radius: 10px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(360deg, #F3BD00, #d1e6ff);; 
  }

  
.t-dropdown-block {
  width: 200px;
  height: 28px;
  margin: 20px auto;
  position:relative
}

.t-dropdown-list {
  display: none;
  background-color: #FFF;
  border: 1px solid #DDD;
  z-index: 10;
  box-shadow: 4px 4px 5px rgba(0, 0, 0, .3);
  list-style: none;
  margin: 0;
  padding: 0;
  height: 150px;
  overflow: auto;
  position: absolute;
  margin-top: 10px;
}

.t-dropdown-item {
  padding: 5px 20px;
  margin: 0;
  cursor: pointer;
}

.t-dropdown-item:hover {
  background-color: #F1F1F1;
}

.t-dropdown-select {
  border: 1px solid #DDD;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  background-color: #FFF;
  box-sizing: content-box;
}

.t-dropdown-input {
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
  border: 0;
  height: 100%;
  width: 100%;
  padding: 0 3px 0 10px;
  box-sizing: border-box;
}

.t-select-btn {
  background-image: url(https://cdn4.iconfinder.com/data/icons/ui-indicatives/100/Indicatives-26-128.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 7px 7px;
  position: absolute;
  width: 30px;
  top: 0;
  right: 0;
  height: 100%;
  border-left: 1px solid #DDD;
}

.t-select-btn:active {
  background-color: #F1F1F1;
}

 /* CSS styles for the date & time picker */
 .datepicker {
  position: relative;
  display: inline-block;
}

.datepicker input {
  padding: 10px;
  border: 1px solid #ccc;
  cursor: pointer;
}

.datepicker .calendar {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  display: none;
}

.datepicker .calendar table {
  width: 100%;
  border-collapse: collapse;
}

.datepicker .calendar th,
.datepicker .calendar td {
  padding: 5px;
  text-align: center;
}

.datepicker .calendar td:hover {
  background-color: #f2f2f2;
}

.datepicker .calendar .prev-month,
.datepicker .calendar .next-month {
  color: #888;
}