* {
  margin: 0;
  padding: 0;
  body: var(--primary-clr);
  box-sizing: border-box;
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
html {
  scroll-behavior: smooth;

  /* Variables For Storing Colors */
  --primary-clr: #1e18d2;
  --primary-medium-clr: #8caef7;
  --primary-light-clr: #bed0ee;
  --bg-clr-1: #ffffff;
  --dark-heading-clr: #232d39;
  --dark-text-clr: #6c757d;
  --light-heading-clr: #efefef;
  --light-text-clr: #cecece;
  --gradient-blue: linear-gradient(
    90deg,
    rgb(10, 35, 85),
    rgb(27, 35, 255),
    rgb(38, 142, 228)
  );
}

/*   === Global Styling Starts ===   */
button.btn {
  padding: 10px 18px;
  background-color: var(--primary-clr);
  color: var(--light-heading-clr);
  font-size: 15px;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}
button.btn:hover {
  background-color: var(--light-heading-clr);
  color: var(--primary-clr);
  border: 1px solid var(--primary-clr);
}
.section-header h1 {
  position: relative;
  font-size: 32px;
  letter-spacing: 1px;
  color: var(--dark-heading-clr);
  margin-bottom: 20px;
}
.section-header h1::before {
  position: absolute;
  content: "";
  width: 100px;
  height: 1px;
  left: 0;
  top: calc(100% + 5px);
  background-color: var(--dark-text-clr);
}
.section-header h1::after {
  position: absolute;
  content: "";
  width: 50px;
  height: 3px;
  left: 0;
  top: calc(100% + 4px);
  background-color: var(--primary-clr);
}
.section-header p {
  color: var(--dark-text-clr);
  margin-bottom: 40px;
  max-width: 700px;
}
/*   === Global Styling Ends ===   */

body {
  width: 100%;
  min-height: 100vh;
}

.website-container {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  margin: 0 auto;
}

/*   === Home Section Styling Starts ===   */
section.home {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: var(--primary-light-clr);
}
.home .main-navbar {
  position: absolute;
  width: 100%;
  max-width: 100vw;
  height: 12vh;
  max-height: 80px;
  background-color: var(--primary-clr);
  padding: 0px 8%;
  margin: 0px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}
.home.active .main-navbar {
  position: fixed;
  top: 0;
  margin: 0px auto;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.25);
  animation: showMenu 0.6s ease-in;
}
@keyframes showMenu {
  from {
    transform: translateY(-100px);
  }
  to {
    transform: translateY(0px);
  }
}
.main-navbar .logo {
  text-decoration: none;
}
.main-navbar .logo img {
  width: 200px;
  height: auto;
}
.main-navbar .nav-list {
  list-style: none;
}
.main-navbar .nav-list li {
  display: inline-block;
  margin: 0px 10px;
}
.main-navbar .nav-list li a {
  position: relative;
  color: var(--light-heading-clr);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
}
.main-navbar .nav-list li a::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  background-color: var(--light-heading-clr);
  left: 0;
  top: calc(100% + 2px);
  transition: all 0.3s;
  transform: scaleX(0);
}
.main-navbar .nav-list li a:hover::after {
  transform: scaleX(1);
}
.main-navbar .get-started-btn {
  background-color: var(--light-heading-clr);
  color: var(--primary-clr);
}
.main-navbar .get-started-btn:hover {
  background-color: var(--primary-clr);
  color: var(--light-heading-clr);
  border: 1px solid var(--light-heading-clr);
}
.main-navbar .menu-btn {
  min-width: 30px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
  display: none;
}
.main-navbar .menu-btn span {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--light-heading-clr);
  border-radius: 5px;
  transition: all 0.4s;
}
.main-navbar .menu-btn span::before,
.main-navbar .menu-btn span::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 80%;
  height: 100%;
  background-color: var(--light-heading-clr);
  transition: all 0.4s;
}
.main-navbar .menu-btn span::before {
  transform: translateY(-9px);
}
.main-navbar .menu-btn span::after {
  transform: translateY(9px);
}
.home .banner {
  width: 100%;
  min-height: 100vh;
  padding: 100px 8% 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.home .banner .banner-desc {
  position: relative;
  flex-basis: 50%;
  max-width: 700px;
  z-index: 2;
}
.banner .banner-desc h2 {
  font-size: 48px;
  color: var(--dark-heading-clr);
  letter-spacing: 1px;
  line-height: 1.4;
  margin-bottom: 10px;
}
.banner .banner-desc p {
  color: var(--dark-text-clr);
  line-height: 1.4;
  margin-bottom: 50px;
}
.banner .banner-desc .search-bar {
  position: relative;
  width: 400px;
  height: 50px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.banner-desc .search-bar input {
  width: 100%;
  height: 100%;
  padding: 0px 60px 0px 10px;
  font-size: 17px;
  letter-spacing: 1px;
  background-color: var(--primary-light-clr);
  color: var(--dark-text-clr);
  border: 2px solid #0d1e9d;
  border-radius: 5px;
  outline-color: var(--primary-clr);
}
.banner-desc .search-bar i {
  position: absolute;
  height: 100%;
  width: 50px;
  top: 0px;
  background-color: var(--primary-clr);
  right: 0;
  color: var(--light-heading-clr);
  border-radius: 0px 5px 5px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.home .banner .banner-img {
  position: relative;
  flex-basis: 50%;
  display: flex;
  justify-content: flex-end;
  z-index: 1;
}
.banner-img .banner-img-container {
  position: relative;
  width: 400px;
  z-index: 2;
}
.banner-img .banner-img-container img {
  width: 100%;
  height: auto;
}
.banner-img .banner-img-container .states {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.total-courses {
  margin-left: -25px;
}
.banner-img-container .states .total-courses {
  position: absolute;
  padding: 6px 10px 6px 6px;
  background-color: var(--light-heading-clr);
  border-radius: 5px;
  bottom: 15%;
  left: -80px;
  display: flex;
  align-items: center;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.3);
}
.states .total-courses .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-clr);
  margin-right: 7px;
}
.states .total-courses .icon i {
  font-size: 22px;
  color: var(--light-heading-clr);
}
.states .total-courses .desc {
  display: flex;
  flex-direction: column;
}
.states .total-courses .desc span:nth-child(1) {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.states .total-courses .desc span:nth-child(2) {
  font-size: 15px;
  color: var(--dark-text-clr);
}
.banner-img-container .states .courses-ratings {
  position: absolute;
  width: 90px;
  height: 90px;
  padding: 10px;
  border-radius: 50%;
  background-color: var(--light-heading-clr);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  top: 80px;
  right: 5px;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.3);
}
.states .courses-ratings span:nth-child(1) {
  color: var(--dark-heading-clr);
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}
.states .courses-ratings span:nth-child(1) i {
  color: gold;
  font-size: 14px;
}
.states .courses-ratings span:nth-child(2) {
  color: var(--dark-text-clr);
  font-size: 15px;
  text-align: center;
}
.banner-img .banner-img-container .pattern {
  position: absolute;
  top: 20px;
  left: -40px;
  z-index: -1;
}
.banner-img-container .pattern img {
  width: 150px;
  height: auto;
  opacity: 0.4;
}
/*   === Home Section Styling Ends ===   */

/*   === Partners Section Styling Starts ===   */
section.partners {
  width: 100%;
  padding: 30px 8%;
  background: var(--gradient-blue);
}

.partners h3 {
  margin-bottom: 40px;
  color: var(--dark-heading-clr);
  font-size: 22px;
}

.partners .partners-slider .brand-item {
  text-align: center;
  background-color: var(--light-heading-clr);
  padding: 5px;
}

.partners .partners-slider .brand-item img {
  width: 120px;
  display: inline-block;
}

.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.owl-carousel .owl-nav button {
  border-radius: 5px !important;
}

.owl-carousel .owl-nav .owl-prev i,
.owl-carousel .owl-nav .owl-next i {
  padding: 8px 14px !important;
  border-radius: 5px;
  font-size: 16px !important;
  background-color: var(--primary-clr) !important;
  color: var(--light-heading-clr);
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.3s;
}

.owl-carousel .owl-nav .owl-prev i:hover,
.owl-carousel .owl-nav .owl-next i:hover {
  background-color: var(--light-heading-clr) !important;
  color: var(--primary-clr);
  border: 1px solid var(--primary-clr);
}

.owl-carousel .owl-dots {
  margin-top: 20px;
}

.owl-carousel .owl-dots .owl-dot span {
  padding: 4px !important;
}

.owl-carousel .owl-dots .owl-dot span {
  background: #8caef7 !important;
  opacity: 1 !important;
}

.owl-carousel .owl-dots .owl-dot.active span,
.owl-carousel .owl-dots .owl-dot:hover span {
  background: #ffffff !important;
  opacity: 1 !important;
}

.partners-slider.first-carousel .item img {
  width: 320px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto;
  display: block;
}

@media (max-width: 600px) {
  .partners-slider.first-carousel .item img {
    width: 95vw;
    height: 160px;
  }
}
/*   === Partners Section Styling Ends ===   */

/*   === Services Section Styling Starts ===   */

section.services {
  width: 100%;
  padding: 100px 8% 20px;
}
.services .services-contents {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px 24px;
  align-items: flex-start;
}
.services-contents .service-box {
  flex-basis: calc(calc(100% / 3) - 2%);
  padding: 25px 20px;
  cursor: pointer;
  transition: all 0.3s;
}
.services-contents .service-box:hover {
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}
.service-box .service-icon {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--primary-clr);
  outline: 1px solid var(--primary-medium-clr);
  outline-offset: 10px;
}
.service-box .service-icon i {
  font-size: 24px;
  color: var(--light-heading-clr);
}
.service-box .service-desc {
  margin-top: 25px;
}
.service-box .service-desc h2 {
  margin-bottom: 10px;
  color: var(--dark-heading-clr);
  font-size: 22px;
}
.service-box .service-desc p {
  line-height: 1.4;
  color: var(--dark-text-clr);
}
.service-box:nth-child(1) .service-icon {
  background-color: #fef0ef;
  outline-color: #fef0ef;
}
.service-box:nth-child(1) .service-icon i {
  color: #f76250;
}
.service-box:nth-child(2) .service-icon {
  background-color: #e8f9ef;
  outline-color: #e8f9ef;
}
.service-box:nth-child(2) .service-icon i {
  color: #2f9355;
}
.service-box:nth-child(3) .service-icon {
  background-color: #f1f0fe;
  outline-color: #f1f0fe;
}
.service-box:nth-child(3) .service-icon i {
  color: #5a49f3;
}
/*   === Services Section Styling Ends ===   */

/*   === Courses Section Styling Starts ===   */
section.courses {
  width: 100%;
  padding: 100px 8% 20px;
}
.courses .section-header {
  position: relative;
  display: flex;
  justify-content: space-between;
}
.courses .section-header .courses-btn {
  position: absolute;
  right: 0;
  bottom: 40px;
  padding: 10px 26px;
}
.courses .course-contents {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.courses .course-contents .course-card {
  flex-basis: calc(calc(100% / 3) - 1.2%);
  border: 1px solid #eee;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s;
}
a {
  pointer-events: auto;
}
.courses .course-contents .course-card:hover {
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}
.course-contents .course-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
}
.course-contents .course-card .category {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 10px 0px;
}
.course-card .category img {
  position: absolute;
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  right: 15px;
  top: -50%;
  outline: 1px solid var(--primary-clr);
  outline-offset: 3px;
}
.course-card .category .subject {
  padding: 6px 10px;
  background-color: white;
  border-radius: 5px;
}
.course-card .category .subject h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary-clr);
}
.course-card .course-title {
  font-size: 20px;
  color: var(--dark-heading-clr);
}
.course-card .course-desc {
  margin: 20px 0px;
  display: flex;
  justify-content: space-between;
}
.course-card .course-desc span {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-text-clr);
}
.course-card .course-desc span i {
  color: var(--primary-clr);
}
.course-card .course-ratings {
  padding: 15px 0px 0px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ccc;
}
.course-card .course-ratings span {
  color: var(--primary-clr);
  font-size: 18px;
  font-weight: bold;
}
.course-card .course-ratings span:nth-child(1) i {
  color: gold;
  font-size: 14px;
}
.course-card .course-ratings span b {
  font-size: 24px;
}
/*   === Courses Section Styling Ends ===   */

/*   === Courses Categories Section Styling Starts ===   */
.section-categories-header {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  justify-content: space-between;
  padding: 15px 8% 20px;
}
section.categories {
  width: 100%;
  padding: 100px 8% 20px;
}
.categories .categories-contents {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.categories-contents .category-item {
  flex-basis: calc(calc(100% / 4) - 1%);
  background-color: var(--primary-light-clr);
  padding: 25px 15px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
}
.categories-contents .category-item:hover {
  box-shadow: 0px 0px 10px rgba(32, 130, 69, 0.2);
  transform: translateY(-3px);
}
.category-item .category-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-clr);
}
.category-item .category-icon i {
  color: var(--light-heading-clr);
  font-size: 20px;
}
.category-item .category-desc {
  margin-top: 20px;
  text-align: center;
}
.category-item .category-desc h3 {
  color: var(--dark-heading-clr);
  font-size: 20px;
  margin-bottom: 10px;
}
.category-item .category-desc p {
  color: var(--dark-text-clr);
  font-size: 15px;
  line-height: 1.4;
}
/*   === Courses Categories Section Styling Ends ===   */

/*   === Teacher Section Styling Starts ===   */
section.instructor {
  width: 100%;
  padding: 50px 8% 20px;
}
.instructor .instructor-container {
  width: 100%;
  padding: 70px 8%;
  background-color: var(--primary-light-clr);
  border-radius: 0px 100px 0px 100px;
}
.instructor-container h2 {
  font-size: 24px;
  color: var(--dark-heading-clr);
}
.instructor-container p {
  margin: 20px 0px 35px;
  color: var(--dark-text-clr);
}
/*   === Teacher Section Styling Ends ===   */

/*   === Testimonials Section Styling Starts ===   */
section.testimonials {
  width: 100%;
  padding: 100px 8%;
}
.testimonials .section-header {
  width: 70%;
  max-width: 700px;
}
.testimonials-slider .testimonials-item {
  position: relative;
  padding: 20px 25px;
  background-color: var(--primary-light-clr);
}
.testimonials-item .profile {
  display: flex;
  align-items: center;
}
.testimonials-item .profile .profile-image {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}
.testimonials-item .profile .profile-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.testimonials-item .profile .profile-desc {
  display: flex;
  flex-direction: column;
}
.profile .profile-desc span:nth-child(1) {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-clr);
}
.profile .profile-desc span:nth-child(2) {
  font-size: 15px;
  color: var(--dark-heading-clr);
}
.testimonials-item > p {
  margin: 15px 0px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--dark-text-clr);
}
.testimonials-item .quote {
  text-align: center;
}
.testimonials-item .quote i {
  font-size: 25px;
  color: var(--dark-text-clr);
  margin-right: 20px;
}
.testimonials-item .ratings {
  margin-top: 20px;
}
.testimonials-item .ratings i {
  font-size: 17px;
  color: gold;
  cursor: pointer;
}
/*   === Testimonials Section Styling Ends ===   */

.masonry {
  /* Masonry container */
  -webkit-column-count: 4;
  -moz-column-count: 4;
  column-count: 4;
  -webkit-column-gap: 1em;
  -moz-column-gap: 1em;
  column-gap: 1em;
  margin: 1.5em;
  padding: 0;
  -moz-column-gap: 1.5em;
  -webkit-column-gap: 1.5em;
  column-gap: 1.5em;
  font-size: 0.85em;
}
.item {
  display: inline-block;
  background: #fff;
  padding: 0.5em;
  margin: 0 0 1.5em;
  width: 100%;
  -webkit-transition: 1s ease all;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-shadow: 2px 2px 4px 0 #ccc;
}
.item img {
  max-width: 100%;
}

@media only screen and (max-width: 320px) {
  .masonry {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
  }
}

@media only screen and (min-width: 321px) and (max-width: 768px) {
  .masonry {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
  }
}
@media only screen and (min-width: 769px) and (max-width: 1200px) {
  .masonry {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
  }
}
@media only screen and (min-width: 1201px) {
  .masonry {
    -moz-column-count: 4;
    -webkit-column-count: 4;
    column-count: 4;
  }
}
.masonry {
  column-count: 1;
  column-gap: 1em;
  margin: 1em;
}

.item {
  display: inline-block;
  width: 100%;
  margin-bottom: 1em;
  box-sizing: border-box;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.item img {
  width: 100%;
  height: auto;
  display: block;
}

.item:hover {
  transform: scale(1.03);
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
}

@media (min-width: 480px) {
  .masonry {
    column-count: 2;
  }
}
@media (min-width: 768px) {
  .masonry {
    column-count: 3;
  }
}
@media (min-width: 1200px) {
  .masonry {
    column-count: 4;
  }
}
#lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: auto;
}

#lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

#lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}

#lightbox .prev,
#lightbox .next {
  position: absolute;
  top: 50%;
  font-size: 50px;
  color: white;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
}

#lightbox .prev {
  left: 20px;
}
#lightbox .next {
  right: 20px;
}
#lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
  text-align: center;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  display: block;
  border-radius: 12px;
}

#lightbox .close {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

#lightbox .prev,
#lightbox .next {
  position: fixed;
  top: 50%;
  font-size: 50px;
  color: white;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  z-index: 1001;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

#lightbox .prev {
  left: 10px;
}
#lightbox .next {
  right: 10px;
}

#lightbox .prev:hover,
#lightbox .next:hover {
  background: rgba(0, 0, 0, 0.6);
}

#lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  text-align: center;
  padding-top: 5vh;
  box-sizing: border-box;
}

#lightbox img {
  max-width: 90%;
  max-height: 80vh;
  display: block;
  margin: 0 auto 10px auto;
  border-radius: 12px;
}

#caption {
  color: #fff;
  font-size: 16px;
  text-align: center;
  max-width: 90%;
  margin: 0 auto 20px auto;
  word-wrap: break-word;
}

#lightbox .close,
#lightbox .prev,
#lightbox .next {
  position: fixed;
  z-index: 1001;
}

.section-header .header-text h1 {
  text-align: center;
  color: #003366;
  margin-bottom: 0.5rem;
}

.section-header .header-text p {
  text-align: center;
  align-items: center;
  color: #003366;
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* Deget Location Section Styles */

/* Contact Styles  */
.contact-form-section {
  background-color: #f0f8ff;
  padding: 40px 20px;
  text-align: center;
}

.contact-form-section h2 {
  color: #0047ab;
  font-size: 24px;
  margin-bottom: 20px;
}

.form-container {
  max-width: 400px;
  margin: 0 auto;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label {
  font-weight: bold;
  font-size: 14px;
  color: #333333;
  display: block;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 14px;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: #0047ab;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #003580;
}

/* Contact Styles */

/* General Layout for Desktop */

/*   === Footer Section Styling Starts ===   */
section.footer {
  width: 100%;
  padding: 70px 8% 30px;
  background-color: var(--primary-clr);
}
.footer .footer-contents {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.footer-contents .footer-col {
  flex-basis: calc(calc(100% / 4) - 20px);
}
.footer-contents .footer-col .col-title {
  min-height: 60px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 30px;
}
.footer-col .col-title h3 {
  font-size: 24px;
  color: var(--light-heading-clr);
}
.footer-col .col-contents {
  display: flex;
  flex-direction: column;
}
.footer-col-1 .col-title img {
  width: 120px;
}
.footer-col-1 .col-contents p {
  color: var(--light-text-clr);
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 15px;
}
.footer-col-2 .col-contents .contact-row {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}
.footer-col-2 .col-contents .contact-row span {
  color: var(--light-text-clr);
  font-size: 16px;
}
.footer-col-2 .col-contents .contact-row span:nth-child(1) {
  color: var(--light-heading-clr);
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 2px;
}
.footer-col-3 .col-contents a {
  text-decoration: none;
  color: var(--light-text-clr);
  margin-bottom: 20px;
  align-self: flex-start;
  transition: all 0.3s;
}
.footer-col-3 .col-contents a:hover {
  letter-spacing: 2px;
}
.footer-col-4 .col-contents input {
  width: 100%;
  padding: 15px;
  background-color: var(--light-heading-clr);
  color: var(--dark-text-clr);
  border: none;
  border-radius: 5px;
}
.footer-col-4 .col-contents .newsletter-btn {
  background-color: var(--light-heading-clr);
  color: var(--primary-clr);
  margin-top: 20px;
}
.footer-col-4 .col-contents .newsletter-btn:hover {
  background-color: transparent;
  color: var(--light-heading-clr);
  border: 1px solid var(--light-heading-clr);
}
.footer .copy-rights {
  padding: 30px 0px 0px;
  border-top: 1px solid var(--light-text-clr);
  text-align: center;
}
.footer .copy-rights p {
  color: var(--primary-light-clr);
}
.footer .copy-rights p b {
  color: yellow;
}
/*   === Footer Section Styling Ends ===   */

/*   === Media Query Starts ===   */
@media (max-width: 968px) {
  /* Home Section */
  .main-navbar .menu-btn {
    display: flex;
    margin-left: 40px;
    z-index: 101;
  }
  .main-navbar .menu-btn.active span,
  .main-navbar .menu-btn.active span::before,
  .main-navbar .menu-btn.active span::after {
    width: 100%;
  }
  .main-navbar .menu-btn.active span::before {
    transform: rotate(45deg) translateY(0px);
  }
  .main-navbar .menu-btn.active span::after {
    transform: rotate(-45deg) translateY(0px);
  }
  .main-navbar .menu-btn.active span {
    background-color: transparent;
  }
  .main-navbar .nav-list {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    /*right: 0;*/
    right: -100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--primary-clr);
    transition: right 0.3s cubic-bezier(0.15, 0.61, 0.94, 0.25);
    z-index: 100;
  }
  .main-navbar .nav-list.active {
    right: 0;
  }
  .main-navbar .nav-list li {
    margin: 25px 0px 0px;
  }
  .main-navbar .nav-list li:nth-child(1) {
    margin-top: 180px;
  }
  .main-navbar .nav-list li a {
    font-size: 20px;
    letter-spacing: 1px;
  }
  .main-navbar .get-started-btn-container {
    margin-left: auto;
  }
  .home .banner {
    flex-direction: column-reverse;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .home .banner .banner-desc,
  .home .banner .banner-img {
    flex-basis: 100%;
  }
  .home .banner .banner-img {
    align-self: center;
    margin-bottom: 50px;
  }
  /* Services Section */
  .services-contents .service-box {
    flex-basis: calc(calc(100% / 2) - 2%);
  }
  .services-contents .service-box:not(:last-child) {
    margin-bottom: 20px;
  }
  /* Courses Section */
  .courses .course-contents .course-card {
    flex-basis: calc(calc(100% / 2) - 1.2%);
  }
  .courses .section-header {
    flex-direction: column;
  }
  .courses .section-header .courses-btn {
    position: relative;
    align-self: flex-start;
    margin-top: 20px;
  }
  /* Courses Categories Section */
  .categories-contents .category-item {
    flex-basis: calc(calc(100% / 2) - 1%);
    margin-bottom: 15px;
  }
  /* Footer Section */
  .footer-contents .footer-col {
    flex-basis: calc(calc(100% / 2) - 20px);
  }
}

@media (max-width: 768px) {
  /* Home Section */
  .banner-img-container .states .total-courses {
    left: 5px;
    bottom: 10%;
  }
  .banner .banner-desc h2 {
    font-size: 42px;
  }
  /* Testimonials Section */
  .testimonials .section-header {
    width: 100%;
    margin-bottom: 70px;
  }
}

@media (max-width: 668px) {
  /* Partners Section */
  .partners h3 {
    margin-right: 150px;
  }
  /* Services Section */
  .services-contents .service-box {
    flex-basis: 100%;
  }
  /* Courses Section */
  .courses .course-contents .course-card {
    flex-basis: 100%;
  }
}

@media (max-width: 568px) {
  /* Courses Categories Section */
  .categories-contents .category-item {
    flex-basis: 100%;
  }
  /* Footer Section */
  .footer-contents .footer-col {
    flex-basis: 100%;
  }
}

@media (max-width: 468px) {
  .banner-img .banner-img-container {
    width: 100%;
  }
  .banner .banner-desc .search-bar {
    width: 100%;
  }
  .banner-img-container .states .courses-ratings {
    top: 30px;
    right: -10px;
  }
  .banner .banner-desc h2 {
    font-size: 32px;
  }
  .main-navbar .get-started-btn-container {
    display: none;
  }
  /* Partners Section */
  .partners h3 {
    margin-right: 0px;
    margin-bottom: 80px;
  }
}
/*   === Media Query Ends ===   */

.fontcolorwhite {
  color: white !important;
  text-align: center;
  font-weight: 500;
  padding-bottom: 4%;
}
.fontcolor {
  text-align: center;
  padding-bottom: 5%;
}

.test-section {
  padding: 30px 0; /* Smaller vertical space */
  background-color: var(--primary-light-clr); /* Optional */
}

.test-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.test-text {
  flex: 1;
}

.test-heading {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #0d1e9d;
  font-weight: bold;
}

.test-paragraph {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.test-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.test-image-wrapper {
  position: relative;
  max-width: 70%;
}

.test-image {
  width: 100%;
  max-height: 120%; /* reduce image height */
  object-fit: contain;
}

.test-pattern img {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 50px;
  opacity: 0.3;
}
@media (max-width: 768px) {
  .test-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    gap: 30px;
  }

  .test-image-container {
    order: -1; /* Moves image to the top */
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .test-text {
    width: 100%;
  }

  .test-image-wrapper {
    max-width: 300px;
  }

  .test-heading {
    font-size: 1.5rem;
  }

  .test-paragraph {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .test-pattern img {
    bottom: -5px;
    right: -5px;
    width: 40px;
  }
}

.testbox {
  width: 100%;
  padding: 50px 8% 20px;
}

.testbox-container {
  width: 100%;
  padding: 70px 8%;
  background-color: var(--bg-clr-1);
  border-radius: 0px 100px 0px 100px;
}
@media (max-width: 768px) {
  .testbox {
    padding: 0px 5% 20px;
  }

  .testbox-container {
    padding: 40px 5%;
    border-radius: 0px 40px 0px 40px;
  }
}

.course_detail .box {
  width: 90%;
  margin: 0 auto;
  padding-bottom: 5%;
}

.course_detail .spacer {
  height: 100px;
}

.course_detail .course_content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.course_detail .course_header {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* makes both sides same height */
  gap: 20px;
  margin-bottom: 40px;
}

.course_detail .course_text {
  flex: 1;
  max-width: 50%;
}

.course_detail .course_image_container {
  flex: 1;
  max-width: 50%;
  display: flex;
}

.course_detail .course_image {
  width: 100%;
  height: 100%; /* fill container height */
  object-fit: cover; /* crops image nicely */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.course_detail .teacher-btn:hover {
  background-color: #0056b3;
}

.course-list {
  margin-top: 20px;
  list-style-type: disc;
  padding-left: 20px;
  padding-bottom: 3%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .course_detail .course_header {
    flex-direction: column;
    align-items: center;
    margin: auto;
  }

  .course_detail .course_text,
  .course_detail .course_image_container {
    max-width: 100%;
  }

  .course_detail .course_image {
    width: 100%;
    height: auto;
    max-height: 300px;
  }
}

/* Mobile socials */
.mobile-socials {
  display: none;
  text-align: center;
  margin-top: 15px;
}
.mobile-socials a {
  margin: 0 10px;
  font-size: 22px;
  color: #000;
  transition: color 0.3s ease;
}
@media (max-width: 768px) {
  .mobile-socials {
    display: block;
  }
}

#carouselExampleAutoplaying {
  width: 100%;
}

.carousel-item img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: cover;
}

@media (max-width: 768px) {
  .carousel-item img {
    max-height: 10vh;
    width: 100%;
    object-fit: cover;
  }
}
@media (max-width: 576px) {
  .carousel-item img {
    max-height: 30vh;
    width: 100%;
    object-fit: cover;
  }
}

.carousel-item img {
  height: 100vh;
  object-fit: cover;
}
.carousel-title-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15%;
  z-index: 10;
  padding: 28px 0 10px 0;
  text-align: center;
}
.carousel-title-overlay h1 {
  margin: 0;
  color: #ffffff;
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 1px;
  animation: fadeIn 1.5s ease-in-out;
}
@media (max-width: 768px) {
  .carousel-title-overlay {
    bottom: 3%;
  }
  .carousel-title-overlay h1 {
    font-size: 2rem;
    padding: 5px 0;
  }
}
.responsive-img {
  max-width: 20%;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .responsive-img {
    max-width: 90%;
  }
}

#carouselExampleAutoplaying {
  width: 100%;
}

.carousel-item img {
  width: 100%;
  height: 60vh;
  max-height: 80vh;
  object-fit: cover;
  margin-bottom: 5%;
}

@media (max-width: 768px) {
  .carousel-item img {
    width: 100%;
    height: 60vh;
    max-height: 30vh;
    object-fit: cover;
    margin-bottom: 5%;
  }
}
@media (max-width: 576px) {
  .carousel-item img {
    width: 100%;
    height: 60vh;
    max-height: 30vh;
    object-fit: cover;
    margin-bottom: 5%;
  }
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  position: absolute;
  top: -40px;
  transform: translateY(-50%);
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.owl-carousel .owl-nav button.owl-prev {
  left: -15px;
}

.owl-carousel .owl-nav button.owl-next {
  right: -15px;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  color: #007bff;
}
@media (max-width: 768px) {
  .get-started-btn {
    margin-right: 455px;
  }
}
@media (max-width: 480px) {
  .get-started-btn {
    margin-right: 455px;
  }
}
.course-card {
  display: none;
}
.course-card.visible {
  display: block;
}
.mobile-socials {
  display: none;
  text-align: center;
  margin-top: 15px;
}

.mobile-socials a {
  margin: 0 10px;
  font-size: 22px;
  color: #000;
  transition: color 0.3s ease;
}

.mobile-socials a:hover {
  color: #007bff;
}

@media (max-width: 768px) {
  .mobile-socials {
    display: block;
  }
}

.card-img-details {
  display: block;
  margin: auto;
  border-color: #fff;
  border-width: 5px;
  border-style: solid;
}

/* Rreth nesh page styles*/
.about-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.about-img {
  margin-bottom: 18px;
  max-width: 180px;
  box-shadow: 0 2px 16px rgba(44, 62, 80, 0.07);
  border-radius: 14px;
  display: block;
}
.about-content {
  width: 100%;
  text-align: center;
}
.about-content h1 {
  color: #1a237e;
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.about-content p {
  color: #2a3572;
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
.about-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.about-icon-box {
  background: #e3e8ff;
  border-radius: 10px;
  padding: 18px 16px;
  text-align: center;
  min-width: 180px;
  min-height: 220px;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.07);
  margin-bottom: 12px;
}

.about-icon-box img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}
@media (max-width: 992px) {
  .about-icon-box img {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 576px) {
  .about-icon-box {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .about-icon-box img {
    width: 300px !important;
    height: 200px !important;
  }
}

.about-icon-box img:hover {
  transform: scale(1.1);
}

.about-icon-box span {
  font-size: 16px;
  font-weight: 600;
  display: block;
}

.about-icon-box i {
  font-size: 2.1rem;
  color: #1a237e;
  margin-bottom: 8px;
}
.about-icon-box span {
  display: block;
  color: #2a3572;
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 4px;
}
.about-extra-section {
  margin: 40px auto 0 auto;
  max-width: 100%;
  border-radius: 14px;
  padding: 32px;
}

.about-extra-section h2 {
  color: #1a237e;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-align: center;
}

.team-member {
  text-align: center;
  margin-bottom: 16px;
}
.carousel-logo {
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
}

.carousel-logo img {
  width: 120px;
  height: auto;
}

@media (max-width: 992px) {
  .carousel-logo {
    top: 15%;
  }
  .carousel-logo img {
    width: 18vw;
    max-width: 130px;
    height: auto;
  }
}

@media (max-width: 576px) {
  .carousel-logo {
    top: 75%;
  }
  .carousel-logo img {
    width: 20vw;
    max-width: 100px;
    height: auto;
  }
}

.team-member .name {
  font-weight: 600;
  color: #1a237e;
}
.team-member .role {
  font-size: 0.95rem;
  color: #2a3572;
}
.testimonials-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.call-to-action {
  text-align: center;
}
.call-to-action .btn {
  background: #1a237e;
  color: #fff;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 12px;
  transition: background 0.2s;
}
.call-to-action .btn:hover {
  background: #2a3572;
}
@media (max-width: 900px) {
  .about-container,
  .about-extra-section,
  .about-extra-section.bg-light {
    padding: 32px 12px;
  }
  .about-img {
    margin-bottom: 18px;
  }
  .team-member img {
    width: 30%;
    height: 30%;
    object-fit: cover;
  }
}
@media (max-width: 600px) {
  .about-content h1 {
    font-size: 1.5rem;
  }

  .about-icons {
    gap: 12px;
  }
  .about-icon-box {
    min-width: 90px;
    padding: 12px 8px;
  }
  .about-extra-section,
  .about-extra-section.bg-light {
    padding: 18px 4px;
  }
  .team-list,
  .testimonials-list {
    gap: 12px;
  }
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 16px;
}
.faq-question {
  width: 100%;
  background: #e3e8ff;
  color: #1a237e;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 14px 18px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-question:hover {
  background: #d1d8f7;
}
.faq-answer {
  display: none;
  background: #fff;
  color: #2a3572;
  border-radius: 0 0 8px 8px;
  padding: 12px 18px;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.07);
}
.faq-item.active .faq-answer {
  display: block;
}
