body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/* Colors Bar */

#colors-bar {
  width: 100%;
}

.color-bar {
  height: 3px;
}

.bg-yellow {
  background-color: rgb(240, 194, 75) !important;
}

.bg-green {
  background-color: rgb(181, 213, 106) !important;
}

.bg-red {
  background-color: rgb(234, 112, 102) !important;
}

.bg-blue {
  background-color: rgb(132, 190, 214) !important;
}

.bg-purple {
  background-color: rgb(165, 151, 231) !important;
}

.bg-pink {
  background-color: rgb(234, 119, 173) !important;
}

.bg-stone {
  background-color: #2f3c43;
}

.bg-purple-students {
  background-color: rgb(141, 12, 115);
}

/* Top Bar */

#top-bar .container {
  display: flex;
  height: 50px;
  width: 100% !important;
}

#top-bar p {
  padding-left: 50px;
  margin-top: auto;
}

#top-bar i {
  color: #fff;
  padding: 5px;
  border-radius: 50%;
}

#top-bar span {
  margin-left: 10px;
}

/* Navigation Bar */

.navbar {
  height: 130px;
  width: 100% !important;
  padding: 0;
  box-shadow: 0 0.25rem 0 rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 40px !important;
}

.navbar li {
  margin-left: 20px;
}

.navbar .navbar-toggler i {
  padding: 3px;
  color: #fff;
}

.navbar .nav-link i {
  color: #fff;
  padding: 8px;
  border-radius: 50%;
}

.navbar .active {
  color: rgb(240, 194, 75) !important;
}

.navbar #navbarNavDropdown {
  z-index: 100;
}

.navbar .navbar-collapse {
  background-color: #fff;
}

.navbar .navbar-brand .logo {
  width: 130px;
}

/* Slide */

.swiper {
  width: 100%;
  height: 550px;
}

.swiper .slides {
  height: 100%;
  background-size: cover;
}

.swiper .slide-1 {
  background: url(images/slide-1.png),
    linear-gradient(rgba(56, 102, 131, 255), rgba(56, 102, 131, 255));
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: center;
}

.swiper .slide-2 {
  background: url(images/slide-2.png),
    linear-gradient(rgba(56, 102, 131, 255), rgba(56, 102, 131, 255));
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: center;
}

.swiper .slide-3 {
  background: url(images/slide-3.png),
    linear-gradient(rgba(56, 102, 131, 255), rgba(56, 102, 131, 255));
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: center;
}

.swiper .slide-4 {
  background: url(images/slide-4.png),
    linear-gradient(rgba(56, 102, 131, 255), rgba(56, 102, 131, 255));
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: center;
}

.swiper .slide-5 {
  background: url(images/slide-5.png),
    linear-gradient(rgba(56, 102, 131, 255), rgba(56, 102, 131, 255));
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: center;
}

.swiper .slide-6 {
  background: url(images/slide-6.png),
    linear-gradient(rgba(56, 102, 131, 255), rgba(56, 102, 131, 255));
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: center;
}

.swiper .slides {
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper .slides h1 {
  position: absolute;
  margin-top: -100px;
  font-size: 60px;
  font-weight: bold;
}

.swiper .slides p {
  position: absolute;
  font-size: 20px;
  margin-top: 150px;
  text-align: center;
  font-weight: bold;
  width: 700px;
}

.mySwiper .swiper-button-prev,
.mySwiper .swiper-button-next {
  width: 45px;
  height: 45px;
  background-color: #fff;
  color: #000;
  border-radius: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0.25rem 0 rgba(0, 0, 0, 0.325);
}

/* Cards */

#cards {
  display: flex;
}

.cards {
  margin-top: -80px;
  z-index: 100;
  height: 200px;
  width: 230px;
  border-radius: 10%;
  margin-left: 35px;
}

.cards .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  border: solid 7px;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  background-color: #fff;
  margin-left: 65px;
  margin-top: -45px;
}

.cards h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  font-size: 30px;
  color: #fff;
}

#cards a {
  text-decoration: none;
}

.cards-class {
  display: flex;
  align-items: flex-end;
  justify-content: end;
}

.owl-right-1 {
  padding-right: 100px;
}

.owl-left-1 {
  padding-left: 100px;
}

.border-yellow {
  border-color: rgb(240, 194, 75) !important;
}

.border-green {
  border-color: rgb(181, 213, 106) !important;
}

.border-red {
  border-color: rgb(234, 112, 102) !important;
}

.border-blue {
  border-color: rgb(132, 190, 214) !important;
}

.border-purple {
  border-color: rgb(165, 151, 231);
}

.text-unknown span {
  width: 200px;
}

/* Successful Students */

.students {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.successful-students h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  color: rgb(141, 12, 115);
  font-weight: bold;
  padding-bottom: 20px;
}

.students-heading {
  text-align: center;
  color: rgb(140, 13, 116);
}

.owl-prev-3,
.owl-next-3 {
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0.25rem 0 rgba(0, 0, 0, 0.325);
}

.owl-next-3 {
  margin-left: 690px;
  margin-top: -50px;
}

.owl-prev-3 {
  margin-left: 570px;
  margin-top: 20px;
}

/* Features */

.features h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  color: rgb(234, 112, 102);
  font-weight: bold;
  margin-left: 120px;
}

.feature {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 76px;
  height: 76px;
  padding: 0.375rem;
  box-shadow: 0.25rem 0.25rem 0 rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  margin-top: 50px;
}

.feature .icon {
  border: #fff solid 2px;
  color: #fff;
  border-radius: 50%;
  padding: 15px;
  font-size: 20px;
  animation: none;
}

.feature:hover {
  animation: rotation 0.5s ease-in-out;
}

.feature-1 h4,
.feature-1 p,
.feature-2 h4,
.feature-2 p,
.feature-3 h4,
.feature-3 p,
.feature-4 h4,
.feature-4 p,
.feature-5 h4,
.feature-5 p,
.feature-6 h4,
.feature-6 p {
  margin-left: 90px;
}

.feature-1 h4,
.feature-2 h4,
.feature-3 h4,
.feature-4 h4,
.feature-5 h4,
.feature-6 h4 {
  margin-top: -70px;
  font-weight: bold;
  width: 200px;
}

.feature-1 p,
.feature-2 p,
.feature-3 p,
.feature-4 p,
.feature-5 p,
.feature-6 p {
  width: 280px;
  font-size: 16px;
}

.feature-1,
.feature-2,
.feature-3,
.feature-4,
.feature-5,
.feature-6 {
  margin-left: 90px;
}

.features {
  margin-left: -150px;
}

.feature-1 h4 {
  color: rgb(240, 194, 75);
}

.feature-2 h4 {
  color: rgb(181, 213, 106);
}

.feature-3 h4 {
  color: rgb(234, 112, 102);
}

.feature-4 h4 {
  color: rgb(132, 190, 214);
}

.feature-5 h4 {
  color: rgb(165, 151, 231);
}

.feature-6 h4 {
  color: rgb(234, 119, 173);
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(359deg);
  }
}

/* WhatsApp Icon   */

.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #25d366;
  color: #fff;
  font-size: 30px;
  line-height: 50px;
  text-align: center;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  z-index: 20;
  animation: jump 2.5s infinite;
  text-decoration: none;
}

.whatsapp-btn:hover {
  background-color: #128c7e;
  color: #fff;
}

.fa-whatsapp {
  margin-top: 1px;
}

@keyframes jump {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-30px);
  }

  100% {
    transform: translateY(0);
  }
}

/* More Information */

.information {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 250px;
  background-image: url(images/background-img-1.jpg);
  background-size: cover;
  background-attachment: fixed;
  margin-top: 100px;
}

.information .container {
  padding-top: 50px;
  padding-bottom: 50px;
  text-align: center;
}

.information .container h3 {
  color: #fff;
  font-weight: bold;
  font-size: 35px;
}

.information .container p {
  color: #fff;
  font-size: 20px;
}

.information .container button {
  color: #fff;
  border: transparent solid 2px;
  border-radius: 0.375rem;
  padding: 0.5625rem 1.25rem;
  box-shadow: 0 0.25rem 0 rgba(0, 0, 0, 0.1);
  font-weight: 600;
  transition: 0.5s;
}

.information .container button span {
  margin-left: 5px;
  text-decoration: none !important;
  color: #fff;
  transition: 0.5s;
}

.information .container button:hover,
.information .container button span:hover {
  color: #000 !important;
}

/* Courses */

.courses h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  font-weight: bold;
}

.courses .card {
  margin-top: 50px;
  border: none;
}

.courses .card .price {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 25px;
  font-family: sans-serif;
  font-weight: 550;
  margin-left: 15px;
  margin-top: 15px;
  position: absolute;
  color: #fff;
  width: 60px;
  height: 60px;
}

.courses .card .line {
  height: 5px;
}

.courses .card .english {
  color: rgb(165, 151, 231);
  font-weight: bold;
  font-size: 25px;
}

.courses .card .azerbaijani {
  color: rgb(181, 213, 106);
  font-weight: bold;
  font-size: 25px;
}

.courses .card .russian {
  color: rgb(234, 112, 102);
  font-weight: bold;
  font-size: 25px;
}

.courses .card .german {
  color: rgb(132, 190, 214);
  font-weight: bold;
  font-size: 25px;
}

.courses .card .card-text,
.courses .card .card-subtitle {
  color: #666;
}

.courses .card .card-subtitle {
  padding-bottom: 10px;
}

.owl-prev-1,
.owl-next-1 {
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0.25rem 0 rgba(0, 0, 0, 0.325);
}

.owl-next-1 {
  margin-left: 690px;
  margin-top: -50px;
}

.owl-prev-1 {
  margin-left: 570px;
  margin-top: 20px;
}

.courses .card .btn {
  background-color: #fff;
  color: #666;
  font-weight: bold;
  box-shadow: 0 0.25rem 0 rgba(0, 0, 0, 0.1);
  transition: 0.5s;
}

.courses .card .btn span {
  margin-left: 7px;
}

.courses .card .btn:hover {
  color: #fff;
  box-shadow: 0 0.25rem 0 rgba(0, 0, 0, 0.325);
}

.courses .card .btn-1:hover {
  background-color: rgb(165, 151, 231);
}

.courses .card .btn-2:hover {
  background-color: rgb(181, 213, 106);
}

.courses .card .btn-3:hover {
  background-color: rgb(234, 112, 102);
}

.courses .card .btn-4:hover {
  background-color: rgb(132, 190, 214);
}

.courses .text-unknown {
  text-align: center;
  height: 200px;
  margin-top: 0;
  border: 2px solid;
}

.red {
  color: rgb(234, 112, 102);
}

.green {
  color: rgb(181, 213, 106);
}

.purple {
  color: rgb(165, 151, 231);
}

.blue {
  color: rgb(132, 190, 214);
}

.heading {
  text-align: center !important;
}

/* Exams */

.exams {
  padding-top: 50px;
}

.exams h1 {
  text-align: center;
  margin-top: 50px;
  color: rgb(234, 112, 102);
  font-weight: bold;
}

.exams .exam-cards {
  display: flex;
  padding-top: 50px;
  justify-content: center;
  align-items: center;
}

.exams .exams-card {
  text-align: center;
  padding-right: 150px;
}

.exams .exam-result-card {
  text-align: center;
  padding-left: 150px;
}

.exams h5 {
  font-size: 30px;
}

.exams p {
  padding-top: 15px;
  padding-bottom: 15px;
}

/* Teachers */

.teachers {
  background-image: url(images/avator-bg.png);
  margin-top: 100px;
  height: fit-content;
  width: 100%;
  text-align: center;
}

#teachers-title {
  color: #fff;
  font-weight: bold;
  padding-top: 50px;
}

.teachers .owl-carousel {
  margin-top: 70px;
}

.teachers .owl-prev-2,
.teachers .owl-next-2 {
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0.25rem 0 rgba(0, 0, 0, 0.325);
}

.teachers .owl-next-2 {
  margin-left: 690px;
  margin-top: -50px;
}

.teachers .owl-prev-2 {
  margin-left: 570px;
  margin-top: 00px;
}

.teachers .teacher h5 {
  color: #fff;
  font-weight: bold;
}

.teachers .teacher p {
  color: #fff;
}

.teachers img {
  border-radius: 50%;
  width: 150px !important;
}

.teachers .image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-section {
  text-align: center;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.teacher-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  max-width: 400px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: fadeIn 1s ease-out;
  position: relative;
  overflow: hidden;
}

.teacher-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.teacher-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s;
  border: 4px solid rgba(255, 255, 255, 0.8);
}

.teacher-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-image:hover {
  transform: scale(1.1);
}

h2 {
  font-size: 1.8em;
  color: #333;
  margin-bottom: 10px;
}

.teacher-about {
  font-size: 1em;
  color: #555;
  line-height: 1.6;
  padding: 0 20px;
  width: fit-content;
  text-align: justify;
  line-height: 1.5;
  margin: 0 auto;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Footer Section */

.footer-section {
  padding-top: 70px;
}

.footer-section .copyright {
  background-color: #041319;
  color: #fff;
}

.footer-section .copyright p {
  padding-top: 20px;
}

.footer-section .footer {
  background-image: url(images/footer-bg-img-1.png);
  height: 100%;
  color: #fff;
  padding-top: 50px;
  padding-bottom: 100px;
}

.footer-section .footer h1 {
  padding-bottom: 20px;
}

.footer-section .footer p {
  width: 250px;
}

.footer-section .footer .links a {
  text-decoration: none !important;
  color: #fff !important;
}

.contact-section {
  padding: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 65vh;
}

.contact-section #contact {
  background-color: #fff;
  border-radius: 5px;
  padding: 30px;
  max-width: 500px;
}

.contact-section .contact-info {
  list-style: none;
  padding: 0;
}

.contact-section .contact-info li {
  margin-bottom: 15px;
  font-size: 16px;
}

.contact-section .contact-info i {
  margin-right: 10px;
  color: #007bff;
}

.contact-section .contact-info span {
  color: #6c757d;
}

.contact-section .text-center {
  color: #000;
}

/* Mobile Version */

@media (max-width: 768px) {
  /* Top Bar */

  #top-bar p {
    font-size: 9px;
    padding-left: 20px;
  }

  /* Navigation Bar */

  .navbar .container {
    padding: 0;
  }

  .navbar .navbar-brand {
    padding-left: 20px;
  }

  .navbar .toggler-button {
    padding-right: 20px;
  }

  .navbar .navbar-brand .logo {
    width: 90px;
  }

  .navbar .navbar-collapse {
    margin-top: -10px;
  }

  /* Slide */

  .swiper {
    height: 200px;
  }

  .swiper .slides h1 {
    font-size: 25px;
  }

  .swiper .slides p {
    font-size: 14px;
    width: 250px;
    margin-top: 90px;
  }

  /* Cards */

  .cards {
    display: none;
  }

  /* Features */

  .features {
    margin: 0;
  }

  .features h1 {
    margin-left: 0;
  }

  .feature-1,
  .feature-2,
  .feature-3,
  .feature-4,
  .feature-5,
  .feature-6 {
    margin: 0;
  }

  /* Courses */

  .courses .row {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .courses .card {
    margin-left: 0;
  }

  .courses .owl-next-1 {
    margin-left: 150px;
  }

  .courses .owl-prev-1 {
    margin-left: 70px;
    margin-top: -10px;
  }

  .courses {
    margin-left: 50px;
  }

  /* Exams */

  .exams .exam-cards {
    display: flex;
    flex-direction: column;
    padding-top: 50px;
  }

  .exams .exams-card {
    padding-right: 0px;
  }

  .exams .exam-result-card {
    padding-left: 0px;
    padding-top: 50px;
  }

  /* Teachers */

  .teachers .owl-next-2 {
    margin-left: 200px;
  }

  .teachers .owl-prev-2 {
    margin-left: 130px;
    margin-top: -10px;
  }

  .teacher-card {
    max-width: 90%; /* Make the card take up more width on tablets */
  }

  h2 {
    font-size: 1.5em; /* Reduce heading size */
  }

  .teacher-about {
    font-size: 0.9em; /* Reduce paragraph size */
  }

  /* Successful Students */

  .students {
    display: block;
  }

  .successful-students .students .student-2 {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 40px;
    padding-top: 40px;
  }

  /* Footer */

  .footer-section .footer-about,
  .footer-section .links,
  .footer-section .footer {
    padding-bottom: 50px;
  }
}

@media (max-width: 480px) {
  .teacher-card {
    padding: 20px; /* Adjust padding for mobile */
  }

  h2 {
    font-size: 1.3em; /* Further reduce heading size */
  }

  .teacher-about {
    font-size: 0.8em; /* Further reduce paragraph size */
  }

  .teacher-image {
    width: 120px; /* Smaller image size for mobile */
    height: 120px;
  }
}

@media (max-width: 350px) {
  .swiper {
    height: 180px;
  }

  .mySwiper .swiper-button-prev,
  .mySwiper .swiper-button-next {
    display: none;
  }
}
