/* Header and Footer Bars */
.headerBar {
  width: 100%;
  height: 8px;
  background-color: #b22222;
}

.footerBar {
  width: 100%;
  height: 8px;
  background-color: #4682b4;
}

/* Desktop View */
.desktopView {
  position: relative;
}

/* Hero Section */
.heroSection {
  position: relative;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.heroOverlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.heroContent {
  position: relative;
  z-index: 2;
  padding-left: 40px;
  color: white;
}

.heroTitle {
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 48px;
  font-weight: bold;
  color: white;
  margin-bottom: 24px;
  line-height: 1.2;
}

.heroDescription {
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 16px;
  color: white;
  line-height: 1.6;
  margin: 0;
}

.heroBottomRight {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 2;
  color: white;
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 14px;
  text-align: right;
}

.heroBottomRight p {
  margin: 4px 0;
}

/* Feature Cards Container */
.cardsContainer {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.featureCard {
  background-color: white;
  border: 2px solid #b22222;
  border-radius: 4px;
  padding: 40px 30px;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.cardTitle {
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
}

.cardDescription {
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 16px;
  color: #000;
  line-height: 1.6;
  margin: 0;
}

/* Mobile View */
.mobileView {
  min-height: 100vh;
}

.mobileBackground {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 16px);
}

.mobileTopSection {
  flex: 1;
  background-color: #1e3a5f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.mobileBottomSection {
  background-color: #e5e5e5;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobileCarouselWrapper {
  width: 100%;
  max-width: 500px;
  position: relative;
  overflow: visible;
  padding: 0;
}

.mobileCarouselContainer {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
  padding: 0 20px;
}

.mobileCardWrapper {
  flex: 0 0 calc(100% - 40px);
  min-width: calc(100% - 40px);
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  cursor: pointer;
}

.mobileCardWrapper:not(.activeCard) {
  opacity: 0.6;
  transform: scale(0.95);
}

.mobileCardWrapper.activeCard {
  opacity: 1;
  transform: scale(1);
}

.mobileCard {
  background-color: white;
  border: 2px solid #b22222;
  border-radius: 4px;
  padding: 40px 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
}

/* Pagination Dots */
.paginationDots {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #d3d3d3;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.activeDot {
  background-color: #b22222;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .heroTitle {
    font-size: 36px;
  }

  .heroDescription {
    font-size: 14px;
  }

  .cardsContainer {
    padding: 40px 20px;
  }

  .featureCard {
    padding: 30px 20px;
  }
}

@media (max-width: 767px) {
  .mobileCard {
    padding: 30px 20px;
  }

  .mobileCarouselWrapper {
    padding: 0 15px;
  }

  .mobileCardWrapper {
    flex: 0 0 calc(100% - 30px);
    min-width: calc(100% - 30px);
  }

  .cardTitle {
    font-size: 20px;
  }

  .cardDescription {
    font-size: 14px;
  }
}

