section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  box-sizing: border-box; 
  padding: 0 10px; 
}


* {
  box-sizing: border-box;
}

/* Section Headings */
h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  color: #003366;
  margin-bottom: 50px;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s forwards;
  width: 100%; 
}

/* Paragraph Styling */
p, li {
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  color: black;
  margin: 0 auto;
}

/* ---------- Hero Section ---------- */
.hero-sec {
  background: linear-gradient(to bottom, #08001a, #003366);
  color: white;
  text-align: center;
  padding: 150px 20px;
  position: relative;
  width: 100%;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-sec::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 51, 102, 0.7));
  mix-blend-mode: multiply;
}

.hero1, .hero {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 10px;
}

.hero1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 600;
  margin: 0;
  color: white;
  animation: fadeInUp 1s ease-out forwards;
}

.hero {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  margin-top: 15px;
  color: white;
  animation: fadeInUp 1.2s ease-out forwards;
}

.hero-btn {
  display: inline-block;
  background-color: rgba(255, 255, 0, 0.47);
  color: #000;
  padding: 15px 35px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 30px;
  z-index: 2;
  position: relative;
  animation: fadeInUp 1.4s ease-out forwards;
}

.hero-btn:hover {
  background-color: yellow;
  transform: scale(1.05);
}

/* ---------- Why Us Section ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
  text-align: center;
  width: 100%; 
}

.choose {
  font-size: clamp(2rem, 4vw, 3rem);
  color: black;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s forwards;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  display: block;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* More flexible grid */
  gap: 25px;
  width: 90%;
  margin: 0 auto;
  animation: fadeUp 1.2s 0.3s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.card {
  background: white;
  color: #333;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card img {
  width: 50px;
  margin-bottom: 20px;
}

.card:hover {
  transform: translateY(-8px);
  background-color: yellow;
  color: #000;
}

/* ---------- Steps Section ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 40px auto 70px;
  padding: 0 15px; 
}

.step {
  background: white;
  color: #333;
  padding: 20px;
  border-left: 6px solid #004aad;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  font-size: clamp(1rem, 2vw, 1.3rem);
  width: 100%; 
}

/* ---------- Call to Action ---------- */
.cta {
  background: linear-gradient(to bottom, #08001a, #060c2a);
  color: white;
  text-align: center;
  padding: 80px 20px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  width: 100%;
}

.cta h2 {
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color:white;
}

.cta p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 25px;
  color:rgb(236, 228, 228);
}

.cta button {
  background-color: rgba(255, 255, 0, 0.47);
  color: #08001a;
  border: none;
  padding: 15px 35px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 10px #ffffff50;
  transition: 0.4s ease;
}

.cta button:hover {
  background: yellow;
  transform: scale(1.05);
}

/* ---------- Logos Section ---------- */
.logos {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  width: 100%;
  padding: 0 10px; 
}

.logos img {
  height: 60px;
  background: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: inline-block;
  top: -30px; 
  transform: translateY(-30px);
}

.logos img:hover {
  transform: translateY(-15px) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ---------- Who We Are Section ---------- */
.who {
  padding: 60px 20px;
  background-color: #f9f9f9;
  width: 100%;
}

.who-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
  padding: 0 10px;
}

.who-text {
  flex: 1;
  min-width: 300px;
}

.who-text h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 20px;
}

.who-text p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: #333;
}

.who-image {
  flex: 1;
  min-width: 280px;
  text-align: right;
  width: 100%;
}

.who-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}


/* Mobile */
@media (max-width: 768px) {
  .hero-sec {
    padding: 100px 15px;
  }
  .container,
  .who-container,
  .logos,
  .steps {
    padding: 20px;
  }
  .grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .who-container {
    flex-direction: column;
    text-align: center;
  }
  .who-text, .who-image {
    min-width: unset;
    width: 100%;
  }
  .who-image {
    text-align: center;
    margin-top: 20px;
  }
  .cta {
    padding: 60px 15px;
  }
  .cta button {
    width: 100%;
    max-width: 300px;
  }
  .logos img {
    height: 45px;
  }
}

/* Animations */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}