html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  cursor: default;
}

body {
  user-select: none !important;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: #1f1f1f;
  font-family: "Poppins-Medium";
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.hero-background {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-image {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 100px; /* Changed from 150px */
  background: linear-gradient(
    180deg,
    rgba(0, 33, 85, 0.014) 0%,
    #002155ea 40.4%,
    #051c40 58.4%,
    #1f1f1f 100%
  );
  background-size: 100% 1400px;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Title Container - Centered */
.title-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 20px 40px;
  text-align: center;
  background: transparent;
}

.main-title {
  padding-top: 30px; /* Changed from 50px */
  max-width: 1050px;
  margin: 0 auto;
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.main-content {
  position: relative;
  padding-top: 0;
  width: 100%;
}

.intro-text {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0px 20px 0;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  text-align: center;
  color: #ffffff;
}

/* Why Choose Section */
.why-choose-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
  padding: 60px 20px;
}

.secondary-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-top: 70px;
  margin-bottom: 30px;
  text-align: center;
  color: #ffffff;
}

.why-choose-text {
  width: 100%;
  max-width: 800px;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  margin-bottom: 60px;
  text-align: center;
  color: #ffffff;
}

/* Features Container */
.features-container {
  width: 100%;
  padding: 60px 20px;
  display: block;
  position: relative;
  z-index: 2;
}

.features-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-image-container {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
}

.feature-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.feature-content {
  flex-grow: 1;
}

.feature-content h3 {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.feature-content p {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.5;
  color: #ffffff;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.6s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .features-wrapper {
    padding: 0 20px;
  }

  .feature-item {
    padding: 25px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-background {
    min-height: auto;
  }
  .hero-image {
    height: 60vh;
  }

  .content-wrapper {
    padding-top: 0;
  }

  .title-container {
    padding: 40px 20px;
    margin-top: 0;
    position: relative;
    z-index: 3;
  }

  .main-title {
    padding-top: 0;
    font-size: clamp(24px, 6vw, 32px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }

  .intro-text {
    padding: 20px;
    margin-top: 30vh; /* Matches hero image height */
  }

  .why-choose-section {
    padding-top: 40px;
  }

  .features-container {
    order: 5;
  }

  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .feature-image-container {
    width: 100px;
    height: 100px;
  }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
  .hero-image {
    height: 50vh;
  }

  .title-container {
    padding: 30px 15px;
  }

  .main-title {
    font-size: clamp(20px, 5.5vw, 28px);
  }

  .intro-text {
    margin-top: 7.5vh; /* Matches hero image height */
  }

  .feature-item {
    padding: 20px;
  }

  .feature-image-container {
    width: 90px;
    height: 90px;
  }
}

/* Extra Small Mobile Responsive */
@media (max-width: 320px) {
  .hero-image {
    height: 45vh;
  }

  .title-container {
    padding: 20px 10px;
  }

  .main-title {
    font-size: 18px;
    line-height: 1.3;
  }

  .intro-text {
    margin-top: -1vh; /* Matches hero image height */
  }

  .secondary-title {
    font-size: 24px;
    margin-top: 30px;
  }

  .why-choose-text {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .feature-item {
    padding: 15px;
    gap: 15px;
  }

  .feature-image-container {
    width: 80px;
    height: 80px;
  }

  .feature-content h3 {
    font-size: 18px;
  }

  .feature-content p {
    font-size: 12px;
  }
}
