body {
  width: 100%;
  overflow-x: hidden;
}

/* ///////////////////////////////////////////////////video////////////////////////////////////////////// */

.video-container {
  position: relative;
  width: 100%;
  border-radius: 10px; /* Ensure rounded corners */
  overflow: hidden; /* Ensure content doesn't overflow the container */
}

#myVideo {
  width: 100%;
  height: auto;
  border-radius: 10px; /* Match container's radius */
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../video-img/about-us.png);
  background-size: cover;
  background-position: center;
  color: white;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
  /* Removed border-radius, as container already clips content */
}

/* ///////////////////////////////////////////////////video////////////////////////////////////////////// */

p {
  text-align: justify;
  font-family: inter !important;
  font-size: 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inter !important;
}

img {
  max-width: 100%;
}

.btn-primary {
  background-color: #2e3092;
  border-color: #2e3092;
}

.btn-primary:hover {
  background-color: #3151a9;
  border-color: #3151a9;
}

.hero {
  background-color: #3151a9;
  color: #fff;
}

.btn-hero {
  text-decoration: none;
  background-color: #fff200;
  border-radius: 50px;
  padding: 5px 8px 5px 5px;
}

.btn-community {
  text-decoration: none;
  background-color: #3151a9;
  border-radius: 40px;
  padding: 5px 8px 5px 5px;
  color: #fff;
}

.navbar-nav li * {
  text-transform: uppercase !important;
  font-weight: bold;
  font-size: 12pt;
}

.btn-login {
  width: 200px !important;
}

.study-prg {
  max-height: 230px;
}

.study-prg-page1 {
  max-height: 280px;
}

.study-prg-crtical {
  max-height: 656px;
}

.bg-grey-custom {
  background-color: #eaeef6;
}

.bg-yellow-custom {
  background-color: #fff200;
}

.methodology-img {
  max-width: 100%;
  width: 45vw;
  height: auto;
}

.study-rounded {
  border-radius: 25px;
}

.about-rounded {
  border-radius: 50px;
}

.image-container-Mission {
  position: relative;
  background-image: url("../images/Mission.jpg");
  width: auto;
  height: 530px;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 30px;
  overflow: hidden;
}

.image-container-Mission::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 30px;
}

.image-container-History {
  position: relative;
  background-image: url("../images/History.png");
  width: auto;
  height: 530px;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 30px;
  overflow: hidden;
}

.image-container-History::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 30px;
}

.image-container-achievement {
  position: relative;
  background-image: url("../images/Achivements.png");
  width: auto;
  height: 530px;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 30px;
  overflow: hidden;
}

.image-container-achievement::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 30px;
}

.image-container-Team {
  position: relative;
  background-image: url("../images/Team.png");
  width: auto;
  height: 530px;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 30px;
  overflow: hidden;
}

.testimonial-img-container::after {
  content: "";
  position: absolute;
}

.testimonial-img-container {
  position: relative;
  background-image: url("../images/svg/testimonial-edvan.webp");
  width: auto;
  height: 680px;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 30px;
  overflow: hidden;
}

.image-container-Team::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 30px;
}

.svg-container {
  position: absolute !important;
  bottom: 20px;
  right: 20px;
}

.mission-heading,
.mission-description,
.svg-container {
  position: relative;
  z-index: 1;
}
/* //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

@media (max-width: 700px) {
  .methodology-img-p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    padding: auto;
  }
  .methodology-img-img {
    padding-left: 220px;
  }
}

@media (max-width: 450px) {
  .methodology-img-img {
    padding-left: 190px;
  }
}
@media (max-width: 414px) {
  .methodology-img-img {
    padding-left: 165px;
  }
}
@media (max-width: 380px) {
  .methodology-img-img {
    padding-left: 150px;
  }
}
@media (max-width: 304px) {
  .methodology-img-img {
    padding-left: 110px;
  }
}
@media (max-width: 570px) {
  .methodology-p-p {
    padding-left: 50px;
    padding-right: 50px;
  }
}

/* For screens with a width of 450px or less */
@media (max-width: 450px) {
  .methodology-p-p {
    padding-left: 30px; /* Adjust padding for smaller screens */
    padding-right: 30px;
  }
}

/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

@media (min-width: 1080px) {
  .methodology-img {
    margin-top: -2vh;
  }
  p {
    text-align: justify;
    font-family: inter !important;
    font-size: 21px !important;
  }
  /* .hero-img {
        max-width: 98% !important;
    } */
}

@media (min-width: 1350px) {
  .teacher-fix {
    padding-top: 8rem !important;
  }
}

@media (max-width: 767px) {
  .sm-footer {
    text-align: center !important;
  }
}

.ai-teacher {
  background-color: #3151a9;
  color: #fff;
}

.faqs {
  background-color: #eaeef6;
}

.accordion-button:focus {
  border-top: 0px solid transparent;
  border-left: 0px solid transparent;
  border-right: 0px solid transparent;
  border-bottom: 2px solid grey;
  outline: 0;
  box-shadow: none;
}

.faqs .accordion-button:not(.collapsed) {
  color: #000;
  background-color: transparent;
}

.faqs .accordion-button {
  color: #000;
  background-color: transparent;
  border-top: 0px solid transparent;
  border-left: 0px solid transparent;
  border-right: 0px solid transparent;
  border-bottom: 1px solid grey;
  font-family: inter;
  font-size: 20px;
}

.faqs .accordion-item {
  background-color: transparent;
  border: none;
}

.faqs .accordion-body {
  font-family: inter;
  font-size: 18px;
}

footer {
  background-color: #3151a9;
  color: #fff;
}

footer a {
  color: #c4cdd3;
  text-decoration: none;
}

footer a:hover {
  color: #fff !important;
}

.return-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: none;
  width: 40px;
  line-height: 40px;
  height: 40px;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
  background: #ff545a;
  border: 1px solid #ff545a;
  border-radius: 50%;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  z-index: 2;
}

.return-to-top:hover {
  background: #f43032;
  border: 1px solid #ff545a;
}

.return-to-top i {
  position: relative;
  bottom: 0;
}

.return-to-top i {
  position: relative;
  animation-name: example;
  animation-direction: alternate;
  animation-iteration-count: infinite;
  animation-duration: 1s;
}

@keyframes example {
  0% {
    bottom: 0px;
  }

  100% {
    bottom: 7px;
  }
}

#query-input {
  border: 1px solid #2e309299;
  border-radius: 10px;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E")
    no-repeat 13px center;
}

@media (max-width: 991.9px) {
  .page2-hero {
    background-color: #2e3092 !important;
    width: 100% !important;
  }
  .mobile-view {
    padding: 1rem 1rem 1rem 1rem;
  }
}
@media (min-width: 992px) {
  .page2-hero {
    background-image: url("../images/svg/page2-hero.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 118px 0px;
  }
}
