/* =================================== */
/* About Us Section Styles
/* =================================== */
.about-section {
  padding: 6rem 0;
  background-color: #fff;
}

/* Custom gap for desktop using Bootstrap's variable */
.g-lg-6 {
  --bs-gutter-x: 93px;
}

.about-section__subheading {
  font-size: 16px;
  font-weight: 700;
  color: #555;
  margin-bottom: 1rem;
}

.about-section__heading {
  color: #1f3660;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 2rem;
}

.about-section__text {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.about-section__text:last-of-type {
  margin-bottom: 0;
}

/* =================================== */
/* Responsive Adjustments for About Section
  /* =================================== */

/* For tablets and small phones to stack the columns */
@media (max-width: 991.98px) {
  /* This changes the visual order on mobile */
  .about-section .row {
    flex-direction: column-reverse;
  }

  .about-section {
    padding: 3rem 0;
    text-align: center;
  }

  .about-section__heading {
    font-size: 36px;
  }
}

/* For small phones */
@media (max-width: 575.98px) {
  .about-section__heading {
    font-size: 30px;
  }

  .about-section__text {
    font-size: 15px;
  }
}
/* =================================== */
/* Features Slider Section Styles
/* =================================== */
.features-slider-section {
  padding: 5rem 0;
  background-color: #fff;
}

.features-slider__subheading {
  font-size: 16px;
  color: #555;
  margin-bottom: 0.5rem;
}

.features-slider__heading {
  color: #1f3660;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.features-slider__description {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

/* Styles for each card in the slider */
.feature-card {
  background-color: #f5fbff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid #eaf2f7;
  height: 100%;
}

.feature-card__icon {
  margin-bottom: 1.5rem;
}

.feature-card__title {
  color: #1f3660;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-card__text {
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

/* Custom Navigation Buttons */
.features-slider__navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.features-slider__navigation .swiper-button-prev,
.features-slider__navigation .swiper-button-next {
  position: static; /* Override Swiper's default positioning */
  width: 50px;
  height: 50px;
  padding: 10px 20px !important;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 50%;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

.features-slider__navigation .swiper-button-prev:hover,
.features-slider__navigation .swiper-button-next:hover {
  border-color: #1f3660;
}

.features-slider__navigation .swiper-button-prev::after,
.features-slider__navigation .swiper-button-next::after {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

/* RTL fix for arrow direction */
.swiper-button-prev::after {
  content: "→";
}
.swiper-button-next::after {
  content: "←";
}
/* =================================== */
/* Hero Banner Section Styles
/* =================================== */
.hero-banner {
  position: relative;
  height: 600px;
  background-image: url("../banner.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #ffffff;
}

/* Dark overlay for better text readability */
.hero-banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(31, 54, 96, 0.7);
  z-index: 1;
}

/* Flex container for the content */
.hero-banner__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  margin-bottom: 40px;
}
@media (max-width: 767.98px) {
  .hero-banner__content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    gap: 20px;
  }
}
.about__subtitle {
  position: absolute;
  bottom: 17%;
  right:  50%;
  transform: translate(50%, 0%);
  max-width: 500px;
}
@media (max-width: 767.98px) {
  .about__subtitle {
    position: relative;
    bottom: 0;
    right: 0;
    transform: translate(0, 0);
  }
}
.hero-banner__title {
  font-size: 64px;
  font-weight: 700; /* Bold */
  line-height: 1.4;
  color: #ffffff;
  max-width: 1000px;
  margin: 0;
}

.hero-banner__play-btn {
  flex-shrink: 0; /* Prevents the button from shrinking */
  width: 250px;
  height: 250px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-banner__play-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =================================== */
/* Responsive Adjustments for Hero Banner
  /* =================================== */

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .hero-banner__content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-banner__title {
    font-size: 48px;
  }
}

/* Small devices (phones, less than 768px) */
@media (max-width: 767.98px) {
  .hero-banner {
    height: 500px; /* Reduce height on mobile */
  }

  .hero-banner__title {
    font-size: 36px;
  }

  .hero-banner__play-btn {
    width: 120px;
    height: 120px;
  }
}

/* =================================== */
/* Experience Stats Section Styles
/* =================================== */
.stats-section {
  padding: 5rem 0;
}

.stat-item {
  padding: 1rem;
}

.stat-item__number {
  color: #1f3660;

  font-size: 48px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-item__text {
  color: #000000;
  font-size: 22px;
  line-height: 1.5;
  margin: 0;
}

/* Main container for the large 15+ graphic */
.experience-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.experience-graphic__text h4 {
  color: #1f3660;

  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  text-wrap: nowrap;
}
.experience-image {
  height: 228px;
  width: 228px;
  object-fit: cover;
}
/* =================================== */
/* Responsive Adjustments for Stats
  /* =================================== */

@media (max-width: 575.98px) {
  .features-slider__heading {
    font-size: 32px;
  }
  .features-slider__description {
    font-size: 14px;
  }
  .experience-graphic {
    flex-direction: column;
  }
  .stat-item {
    margin-bottom: 1.5rem;
  }
  .stat-item__number {
    font-size: 40px;
  }
  .stat-item__text {
    font-size: 18px;
  }
  .experience-graphic__text h4 {
    font-size: 32px;
    margin-top: 25px;
    text-wrap: wrap;
  }
}

.services-section {
  padding: 5rem 0;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.services-section__subheading {
  font-size: 16px;
  color: #555;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.services-section__heading {
  color: #1f3660;
  font-size: 48px;
  font-weight: 700;
  max-width: 610px;
  line-height: 1.2;
  margin: 0 auto;
}

.services-section__description {
  font-size: 18px;
  color: #333;
  margin-top: 0.5rem;
}

.service-card {
  background-color: #f5fbff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid #eaf2f7;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(31, 54, 96, 0.1);
}

.service-card__icon {
  margin-bottom: 1.5rem;
}

.service-card__title {
  color: #1f3660;
  font-size: 28px;
  font-weight: 700; /* Bold */
  margin-bottom: 1rem;
}

.service-card__text {
  color: #000000;
  font-size: 16px;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 2rem;
}

.btn.btn-service {
  background-color: #1f3660;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  transition: background-color 0.3s ease;
}

.btn.btn-service:hover {
  background-color: #3b4a6b;
  color: #ffffff;
}

/* =================================== */
/* Why Choose Us Section Styles
/* =================================== */
.why-us-section {
  padding: 6rem 0;
  background-color: #fff;
  overflow: hidden;
}

.why-us__image-container {
  position: relative;
  z-index: 4;
}
.why-us__image-container::before {
  content: "";
  position: absolute;
  top: -41px;
  left: -44px;
  width: 100%;
  height: 100%;
  border: 30px solid #4978b5;
  border-radius: 40px;
  z-index: 0;
}
.why-us__image {
 
  border-radius: 40px;
  width: 100%;
  min-height: 600px;
  object-fit: cover;
  z-index: 3;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.why-us__subheading {
  font-size: 16px;
  color: #555;
  margin-bottom: 0.5rem;
}

.why-us__heading,
.why-us__tagline {
  color: #1f3660;

  font-weight: 700;
  line-height: 1.3;
}

.why-us__heading {
  font-size: 48px;
  margin-bottom: 0;
  letter-spacing: 2px;
}

.why-us__tagline {
  font-size: 48px;
  margin-bottom: 1.5rem;
}

.why-us__description {
  color: #000000;
  font-size: 16px;
  line-height: 1.8;
  max-width: 740px;
}

/* Individual feature item (icon + text) */
.feature-item {
  display: flex;
  flex-direction: column;

  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.feature-item__icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: #eaf6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item__icon img {
  width: 28px;
  height: 28px;
}

.feature-item__title {
  color: #1a7fbe;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.feature-item__text p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 0;
}
/* =================================== */
/* Responsive Adjustments
/* =================================== */

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .services-section__heading {
    font-size: 40px;
  }

  .why-us-section {
    padding: 4rem 0;
    text-align: center; /* Center content when stacked */
  }

  .why-us__image-container {
    height: auto; /* Let height adjust to width */
    width: 80%; /* Reduce width */
    max-width: 450px;
    margin: 0 auto 3rem auto; /* Center the image container */
  }

  .why-us__image {
    position: relative; /* Remove absolute positioning */
  }

  .why-us__image-container::before {
    left: -30px;
    top: -20px;
  }

  .why-us__heading {
    font-size: 40px;
  }

  .why-us__tagline {
    font-size: 28px;
  }

  .why-us__description {
    margin-left: auto;
    margin-left: auto;
  }

  .feature-item {
    align-items: center; /* Center feature items on tablet */
    text-align: center;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .services-section {
    padding: 3rem 0;
  }

  .services-section__heading {
    font-size: 32px; /* Further reduce font size for phones */
  }

  .service-card__title {
    font-size: 24px;
  }

  .why-us-section {
    padding: 3rem 0;
  }

  .why-us__image-container {
    width: 90%;
  }

  .why-us__image-container::before {
    display: none; /* Hide the decorative shape on small screens to save space */
  }

  .why-us__heading {
    font-size: 32px; /* Further reduce font size */
  }

  .why-us__tagline {
    font-size: 24px;
  }

  .why-us__description {
    font-size: 15px;
  }

  .feature-item {
    flex-direction: row; /* Change back to row for a compact view */
    text-align: left; /* Re-align text to the right */
    align-items: center; /* Vertically center icon and text */
  }

  .feature-item__title {
    font-size: 18px;
  }

  .feature-item__text p {
    font-size: 13px;
  }
}

/* =================================== */
/* Video Modal Styles
/* =================================== */
#videoModal .modal-dialog {
  max-width: 800px;
}

#videoModal .modal-content {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#videoModal .modal-header {
  background-color: #1f3660;
  color: #ffffff;
  border-bottom: none;
  padding: 1rem 1.5rem;
}

#videoModal .modal-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

#videoModal .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

#videoModal .btn-close:hover {
  opacity: 1;
}

#videoModal .modal-body {
  background-color: #000000;
}

#videoModal .ratio {
  background-color: #000000;
}

#videoModal iframe {
  border: none;
  width: 100%;
  height: 100%;
}

/* Responsive adjustments for video modal */
@media (max-width: 767.98px) {
  #videoModal .modal-dialog {
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }

  #videoModal .modal-header {
    padding: 0.75rem 1rem;
  }

  #videoModal .modal-title {
    font-size: 16px;
  }
}

@media (max-width: 575.98px) {
  #videoModal .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }
}
