/* Define keyframes for the slide animation */
@keyframes slide {
  0% {
    transform: translateX(100%); /* Start offscreen to the right */
  }
  100% {
    transform: translateX(-1000%); /* Slide fully to the left */
  }
}

/* Apply animation to the slideshow container */
#slideshow {
  overflow: hidden; /* Hide overflowing content */
}

/* Apply animation to each col-lg-2 div */
.col2column {
  animation: slide 10s linear infinite; /* Adjust the duration and timing function as needed */
}

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
@media screen and (min-width: 990px) {
  .Knowmorestyle {
    border-radius: 10px;
    margin-left: 50px;
  }
  .homeheadervideo {
    width: 100vw;
  }
  .Headerrow {
    margin-top: -7%;
    margin-right: 0px;
    padding-right: 0px;
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 102vh;
    /* margin: 0px; */
    padding: 0px;
  }
  .Headerrowabout {
    margin-top: -7%;
    margin-right: 0px;
    padding-right: 0px;
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 70vh;
    /* margin: 0px; */
    padding: 0px;
  }
  .aboutcontent {
    float: left;
    text-align: justify;
    padding-top: 10px;
    padding-left: 50px;
  }
  .numstyle1 {
    float: left;
    font-size: 50px;
    color: #fff;
    font-weight: 800;
    text-align: right;
  }
  .numstyle2 {
    float: left;
    font-size: 30px;
    line-height: 1;
    color: #fff;
    font-weight: 600;
  }
  .featu#4D7700bookdiv {
    display: block;
    margin: 0px;
    padding: 0px 0px 20px 0px;
    clear: both;
    background: linear-gradient(to top, rgb(238, 238, 238, 0.4), #fff);
    height: 100vh;
  }
  .homecoursesstyle {
    width: 100%;
    height: 50vh;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
  }
  .bookhelpstyle {
    width: 70%;
    text-align: justify;
    margin-left: 16%;
    box-shadow: 10px -5px 5px rgba(0, 0, 0, 0.2), 0px 5px 5px rgba(0, 0, 0, 0.2);
    padding: 50px;
    background-color: #fff;
  }
  .col2column1 {
    background-image: url(Images/Logo/1.jpg);
    background-position: center;
    background-size: cover;
    height: 18vh;
    width: 150px;
  }
}

@media screen and (max-width: 990px) {
  .col2column1 {
    background-position: center;
    background-size: cover;
    height: 18vh;
    width: 150px;
  }
  .Knowmorestyle {
    border-radius: 10px;
    height: 30vh;
  }
  .homeheadervideo {
    height: 100vh;
  }
  .Headerrow {
    margin-top: -25%;
    margin-right: 0px;
    padding-right: 0px;
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 101vh;
    /* margin: 0px; */
    padding: 0px;
  }
  .aboutcontent {
    float: left;
    text-align: justify;
    padding-top: 10px;
    /* padding-left: 50px; */
  }
  .numstyle1 {
    float: left;
    font-size: 50px;
    color: #fff;
    font-weight: 800;
    text-align: center;
  }
  .numstyle2 {
    float: left;
    font-size: 30px;
    line-height: 1;
    color: #fff;
    font-weight: 600;
    text-align: center;
  }
  .featu#4D7700bookdiv {
    display: block;
    margin: 0px;
    padding: 0px 0px 20px 0px;
    clear: both;
    background: linear-gradient(to top, rgb(238, 238, 238, 0.4), #fff);
    height: 300vh;
  }
  .homecoursesstyle {
    width: 100%;
    /* height: 50vh; */
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
  }
  .bookhelpstyle {
    /* width: 70%; */
    text-align: justify;
    /* margin-left: 16%; */
    box-shadow: 10px -5px 5px rgba(0, 0, 0, 0.2), 0px 5px 5px rgba(0, 0, 0, 0.2);
    padding: 20px;
    background-color: #fff;
  }
}

.book {
  width: 100%;
  height: 60vh;
  position: relative;
  text-align: center;
  margin: 2.5%;
}

.book-cover {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  transform-origin: 0 50%;
  -webkit-transform-origin: 0 50%;
  background: #111;
  background-size: cover;
  border-radius: 3px;
  box-shadow: inset 4px 1px 3px #ffffff60, inset 0 -1px 2px #00000080;
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
}

.book .book-cover {
  background-size: 100% 100%;
}

.effect {
  width: 20px;
  height: 100%;
  margin-left: 10px;
  border-left: 2px solid #00000010;
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: all 0.5s ease;
}

.light {
  width: 90%;
  height: 100%;
  position: absolute;
  border-radius: 3px;
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 100%
  );
  top: 0;
  right: 0;
  opacity: 0.1;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
}

.book:hover {
  cursor: pointer;
}

.book:hover .book-cover {
  transform: perspective(2000px) rotateY(-30deg);
  -webkit-transform: perspective(2000px) rotateY(-30deg);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  box-shadow: inset 4px 1px 3px #ffffff60, inset 0 -1px 2px #00000080,
    10px 0px 10px -5px #00000030;
}

.book:hover .effect {
  width: 40px;
  /** margin-left:13px;
    opacity: 0.5; **/
}

.book:hover .light {
  opacity: 1;
  width: 70%;
}

.book-inside {
  width: calc(100% - 2px);
  height: 96%;
  position: relative;
  top: 2%;
  border: 1px solid grey;
  border-radius: 3px;
  background: white;
  box-shadow: 10px 40px 40px -10px #00000030, inset -2px 0 0 grey,
    inset -3px 0 0 #dbdbdb, inset -4px 0 0 white, inset -5px 0 0 #dbdbdb,
    inset -6px 0 0 white, inset -7px 0 0 #dbdbdb, inset -8px 0 0 white,
    inset -9px 0 0 #dbdbdb;
}

.title {
  font-size: 22px;
  width: 100%;
  color: #333;
  text-align: center;
  position: absolute;
  top: -30px;
  height: 1px;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: all 1s ease-in-out;
  -webkit-transition: all 1s ease-in-out;
}

.title p {
  width: 100%;
  margin: 0;
  line-height: 1.3;
}

.btn {
  position: relative;
  background: #aaa;
  color: #fff;
  font-weight: bold;
  padding: 15px 30px;
  font-size: 16px;
  letter-spacing: 1px;
  border-radius: 50px;
  bottom: -50px;
  display: inline-block;
  opacity: 0;
  transition: all 1s ease-in-out;
  -webkit-transition: all 1s ease-in-out;
}

.book:hover .btn,
.book:hover .title {
  opacity: 1;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-content {
  left: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0)),
    url("Images/HomeVideo.mp4");
  background-size: cover;
  background-position: center;
}
.navbar-white-bg {
  background-color: #ffffff; /* Set background color to white */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add bottom box shadow */
  transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Add transition for smooth color and shadow change */
}

.nav-link-black {
  color: #000 !important; /* Important to override any other styles */
}
.search-wrapper {
  position: relative;
}

.search-box {
  position: absolute;
  top: 140%;
  left: -150px;
  width: 20vw; /* Adjust width as needed */
  display: none;
}

.search-box input {
  width: calc(100% - 40px);
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
}

.search-box button {
  width: 40px;
  padding: 5px;
  border: 1px solid #ccc;
  border-left: none;
  border-radius: 0 5px 5px 0;
  background-color: #fff;
  cursor: pointer;
}
.table {
  border-collapse: collapse;
  width: 100%;
}

.table th,
.table td {
  /* border: 1px solid #dddddd; */
  text-align: left;
  padding: 8px;
}

.table tr:nth-child(even) {
  background-color: rgb(77,119,0,0.1);
}

.table th {
  background-color: rgb(77,119,0,0.5);
  color: black;
  font-weight: 600;
}
.form-controlCustomized {
  display: block;
  width: 100%;
  height: calc(2.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-controlCustomized:focus {
  border-color: #eee;
  outline: 0;
}
.quantity {
  display: flex;
  border: 2px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quantity button {
  background-color: #ddd;
  color: #212121;
  border: none;
  cursor: pointer;
  font-size: 20px;
  width: 30px;
  height: auto;
  text-align: center;
  transition: background-color 0.2s;
}

.quantity button:hover {
  background-color: #ddd;
}

.input-box {
  width: 40px;
  text-align: center;
  border: none;
  padding: 8px 10px;
  font-size: 16px;
  outline: none;
  background-color: #fff;
}

/* Hide the number input spin buttons */
.input-box::-webkit-inner-spin-button,
.input-box::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.input-box[type="number"] {
  -moz-appearance: textfield;
}

.hover-slide-container {
  position: relative;
  float: left;
  overflow: hidden;
  /* width: calc(33.33% - 20px); */
  margin: 10px;
}

.hover-slide-container img {
  width: 100%;
  height: 55vh;
  display: block;
}

.hover-slide-container1 {
  position: relative;
  float: left;
  overflow: hidden;
  /* width: calc(33.33% - 20px); */
  /* margin: 10px; */
}

.hover-slide-container1 img {
  width: 100%;
  height: 55vh;
  display: block;
}

.content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(0); /* Changed from 100% to 0 */
  transition: transform 0.3s ease-in-out;
  text-align: center;
  padding: 15px;
  box-shadow: 0px -2px 4px rgba(0, 0, 0, 0.2);
}

.hover-slide-container:hover .content {
  transform: translateY(100%); /* Changed from 0 to 100% */
}

.hover-slide-container1:hover .content {
  transform: translateY(100%); /* Changed from 0 to 100% */
}

.content p {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.content span {
  font-size: 15px;
  font-weight: normal;
  text-transform: none;
  color: #000;
  text-shadow: none;
}

.heading {
  text-align: center;
  color: #454343;
  font-size: 30px;
  font-weight: 700;
  position: relative;
  margin-bottom: 70px;
  text-transform: uppercase;
  z-index: 999;
}
.white-heading {
  color: #ffffff;
}
.heading:after {
  content: " ";
  position: absolute;
  top: 100%;
  left: 50%;
  height: 40px;
  width: 180px;
  border-radius: 4px;
  transform: translateX(-50%);
  background: url(img/heading-line.png);
  background-repeat: no-repeat;
  background-position: center;
}
.white-heading:after {
  background: url(https://i.ibb.co/d7tSD1R/heading-line-white.png);
  background-repeat: no-repeat;
  background-position: center;
}

.heading span {
  font-size: 18px;
  display: block;
  font-weight: 500;
}
.white-heading span {
  color: #ffffff;
}
/*-----Testimonial-------*/

.testimonial:after {
  position: absolute;
  top: -0 !important;
  left: 0;
  content: " ";
  background: url(img/testimonial.bg-top.png);
  background-size: 100% 100px;
  width: 100%;
  height: 100px;
  float: left;
  z-index: 99;
}

.testimonial {
  min-height: 375px;
  position: relative;
  background: url(https://i.ibb.co/PTJDkgb/testimonials.jpg);
  padding-top: 50px;
  padding-bottom: 50px;
  background-position: center;
  background-size: cover;
}
#testimonial4 .carousel-inner:hover {
  cursor: -moz-grab;
  cursor: -webkit-grab;
}
#testimonial4 .carousel-inner:active {
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
}
#testimonial4 .carousel-inner .item {
  overflow: hidden;
}

.testimonial4_indicators .carousel-indicators {
  left: 0;
  margin: 0;
  width: 100%;
  font-size: 0;
  height: 20px;
  bottom: 15px;
  padding: 0 5px;
  cursor: e-resize;
  overflow-x: auto;
  overflow-y: hidden;
  position: absolute;
  text-align: center;
  white-space: nowrap;
}
.testimonial4_indicators .carousel-indicators li {
  padding: 0;
  width: 14px;
  height: 14px;
  border: none;
  text-indent: 0;
  margin: 2px 3px;
  cursor: pointer;
  display: inline-block;
  background: #ffffff;
  -webkit-border-radius: 100%;
  border-radius: 100%;
}
.testimonial4_indicators .carousel-indicators .active {
  padding: 0;
  width: 14px;
  height: 14px;
  border: none;
  margin: 2px 3px;
  background-color: #9dd3af;
  -webkit-border-radius: 100%;
  border-radius: 100%;
}
.testimonial4_indicators .carousel-indicators::-webkit-scrollbar {
  height: 3px;
}
.testimonial4_indicators .carousel-indicators::-webkit-scrollbar-thumb {
  background: #eeeeee;
  -webkit-border-radius: 0;
  border-radius: 0;
}

.testimonial4_control_button .carousel-control {
  top: 175px;
  opacity: 1;
  width: 40px;
  bottom: auto;
  height: 40px;
  font-size: 10px;
  cursor: pointer;
  font-weight: 700;
  overflow: hidden;
  line-height: 38px;
  text-shadow: none;
  text-align: center;
  position: absolute;
  background: transparent;
  border: 2px solid #ffffff;
  text-transform: uppercase;
  -webkit-border-radius: 100%;
  border-radius: 100%;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: all 0.6s cubic-bezier(0.3, 1, 0, 1);
  transition: all 0.6s cubic-bezier(0.3, 1, 0, 1);
}
.testimonial4_control_button .carousel-control.left {
  left: 7%;
  top: 50%;
  right: auto;
}
.testimonial4_control_button .carousel-control.right {
  right: 7%;
  top: 50%;
  left: auto;
}
.testimonial4_control_button .carousel-control.left:hover,
.testimonial4_control_button .carousel-control.right:hover {
  color: #000;
  background: #fff;
  border: 2px solid #fff;
}

.testimonial4_header {
  top: 0;
  left: 0;
  bottom: 0;
  width: 550px;
  display: block;
  margin: 30px auto;
  text-align: center;
  position: relative;
}
.testimonial4_header h4 {
  color: #ffffff;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.testimonial4_slide {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 70%;
  margin: auto;
  padding: 20px;
  position: relative;
  text-align: center;
}
.testimonial4_slide img {
  top: 0;
  left: 0;
  right: 0;
  width: 136px;
  height: 136px;
  margin: auto;
  display: block;
  color: #f2f2f2;
  font-size: 18px;
  line-height: 46px;
  text-align: center;
  position: relative;
  border-radius: 50%;
  box-shadow: -6px 6px 6px rgba(0, 0, 0, 0.23);
  -moz-box-shadow: -6px 6px 6px rgba(0, 0, 0, 0.23);
  -o-box-shadow: -6px 6px 6px rgba(0, 0, 0, 0.23);
  -webkit-box-shadow: -6px 6px 6px rgba(0, 0, 0, 0.23);
}
.testimonial4_slide p {
  color: #ffffff;
  font-size: 20px;
  line-height: 1.4;
  margin: 40px 0 20px 0;
}
.testimonial4_slide h4 {
  color: #ffffff;
  font-size: 22px;
}

.testimonial .carousel {
  padding-bottom: 50px;
}
.testimonial .carousel-control-next-icon,
.testimonial .carousel-control-prev-icon {
  width: 35px;
  height: 35px;
}
/* ------testimonial  close-------*/

.zoom-effect {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}
.zoom-effect:hover {
  transform: scale(1.1);
}
.navbar-nav .nav-item:hover .dropdown-menu {
  display: block;
}

/* Optional: If you want to add a slight delay */
.navbar-nav .dropdown-menu {
  display: none;
  transition: all 0.3s ease-in-out;
}
@media screen and (min-width: 990px) {
  .nav-link {
    color: #fff;
  }
  .nav-link:hover {
    color: #fff;
  }
}
.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1000;
}
@media screen and (max-width: 990px) {
  .nav-link {
    color: #000;
  }
  .nav-link:hover {
    color: #000;
  }
}