body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
   overflow-x: hidden;
}

    .navbar {
      background-color: #002c60;
      color: white;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 30px;
      position: relative;
      z-index: 1000;
    }

    .logo img {
      height: 50px;
    }

    .nav-links {
      list-style: none;
      display: flex;
      gap: 40px;
      margin: 0;
      padding: 0;
    }

    .nav-links a {
      font-size: 18px;
      font-weight: 500;
      color: white;
      text-decoration: none;
      display: inline-block;
      perspective: 500px;
    }

  

    .nav-links a.active {
      color: #ff4c4c;
      font-weight: bold;
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .nav-right a {
      text-decoration: none;
      color: white;
      font-size: 18px;
      transition: color 0.3s ease;
    }

    .nav-right a:hover {
      color: #ff4c4c;
    }

    .nav-right i {
      font-size: 22px;
    }

    .menu-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      z-index: 1001;
    }

    .menu-toggle span {
      width: 25px;
      height: 3px;
      background: white;
      transition: 0.3s;
    }

    .menu-toggle.open span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.open span:nth-child(2) {
      opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Responsive Styles */
    @media (max-width: 768px) {
      .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #002c60;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 20px 0;
        display: none;
      }

      .nav-links.active {
        display: flex;
      }

      .nav-right {
        display: none;
      }

      .menu-toggle {
        display: flex;
      }

      .navbar {
        flex-wrap: wrap;
      }

      .navbar-top {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .nav-wrapper {
        width: 100%;
      }
    }






.hero {
  height: 87vh;
  background: url('Homehero.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  padding-left: 60px;
  color: white;
  position: relative;
}

/* Dark overlay for better text contrast */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 46px;
  font-weight: 700;
  color: #F24444;
  margin-bottom: 20px;
}

.hero p {
  font-size: 25px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  color: #002c60;
  background-color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
}

.cta-btn:hover {
  background-color: #ff4c4c;
  color: white;
}





.who-we-are {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.text {
  flex: 1 1 500px;
}

.title {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}



.title h2 {
  font-size: 26px;
  font-weight: 700;
  color: #002147;
}

.text p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.learn-more-btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #002147;
  border-radius: 30px;
  color: #002147;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.learn-more-btn:hover {
  background-color: #002147;
  color: #fff;
}

.image {
  flex: 1 1 400px;
}

.image img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


/* Responsive */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
    text-align: center;
  }

  .title {
    justify-content: center;
  }

  .text {
    padding: 0 10px;
  }
}





.Four {
  background-color: #002c60;
  padding: 60px 20px;
  color: white;
}

.Four h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: left;
  color: white;
}

.reasons-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.reasons-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: left;
}

.reason-card {
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reason-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

.reason-content {
  padding-left: 5px;
}

.line-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-bottom: 5px;
}

.number {
  font-size: 42px;
  font-weight: 700;
  color: #b0c4d6;
  transition: color 0.3s ease;
}

.reason-text {
  font-size: 18px;
  color: #ffffffcc;
  position: relative;
  transition: all 0.3s ease;
}

.reason-text::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: #e63946;
  transition: width 0.3s ease;
}

.reason-card:hover .number {
  color: #e63946;
}

.reason-card:hover .reason-text {
  font-weight: 600;
  color: #ffffff;
}

.reason-card:hover .reason-text::after {
  width: 100%;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .Four h2 {
    font-size: 28px;
    text-align: center;
  }

  .reasons-section h2 {
    font-size: 24px;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .line-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .number {
    font-size: 36px;
  }

  .reason-text {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .Four {
    padding: 40px 15px;
  }

  .Four h2,
  .reasons-section h2 {
    font-size: 22px;
    line-height: 1.4;
  }

  .number {
    font-size: 30px;
  }

  .reason-text {
    font-size: 15px;
  }

  .reason-card img {
    height: 160px;
  }
}




.features-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns per row */
  gap: 20px;
  padding: 40px;
  background-color: #ffffff;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 80px;
}


.feature-card {
  position: relative;
  height: 160px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}


.feature-card:hover {
  transform: translateY(-5px);
}

.icon img {
  height: 50px;
  margin-bottom: 8px;
}

.feature-card h3 {
  font-size: 16px;
  color: #002c60;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 13px;
  color: #333;
  margin: 8px;
  
}

.card-content {
  position: relative;
  z-index: 3;
  transition: opacity 0.3s ease;
}

.hover-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 4;
  transition: opacity 0.4s ease;
}

.hover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.feature-card:hover .hover-image {
  opacity: 1;
}

.feature-card:hover .card-content {
  opacity: 0;
}
@media (max-width: 992px) {
  .features-section {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row on tablets */
  }
}

@media (max-width: 600px) {
  .features-section {
    grid-template-columns: 1fr; /* 1 card per row on mobile */
    padding: 20px;
  }

  .feature-card {
    height: auto;
    padding: 16px;
  }

  .hover-image img {
    object-fit: contain; /* prevent image cropping on smaller screens */
  }
}


.section-three {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  margin-top: 50px;
  margin-bottom: 70px;
}

.section-three .overlay-card {
  position: relative;
  width: 1200px;        /* Increased width */
  height: 418px;        /* Keep height as-is or adjust if needed */
  overflow: hidden;
  border-radius: 10px;
}

.section-three .background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.section-three .overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 25, 54, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.section-three .overlay-text p {
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 80%;
}



@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100&display=swap');


footer {
  position: relative;
  width: 100%;
  background: #3586ff;
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
footer .social_icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  transform: translateX(-90px); /* Moves the icons left */
}

footer .social_icon, footer .menu {
  position: relative;
  display: flex;
  justify-content:center;
  align-items:center;
  margin: 10px 0;
}

footer .social_icon li, footer .menu li {
  list-style: none;
}
footer .social_icon li a {
  font-size: 2em;
  color: #ccc;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}
footer .social_icon li a:hover {
  transform: translateY(-15px);
  color: blue;
}
footer .menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  transform: translateX(-90px); /* This moves the whole menu left */
}

footer .menu li a {
  font-size: 1.2em;
  color: #ccc;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  
}
footer .menu li a:hover {
  opacity: 1;
  color: #fff;
}
.footerpara {
  color: #eee;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 10px;
  margin-left: -130px;  /* Adjust as needed */
  font-size: 1.1em;
}


/*wave and animation*/
footer .wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url(https://i.ibb.co/rZt4Nhg/wave.png);
  background-size: 1000px 100px;
}

footer .wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWave 4s linear infinite;
}

footer .wave#wave2 {
  z-index: 999;
  opacity: 0.5;
  bottom: 10px;
  animation: animateWave_02 4s linear infinite;
}
footer .wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  bottom: 0;
  animation: animateWave 3s linear infinite;
}

footer .wave#wave4 {
  z-index: 999;
  opacity: 0.7;
  bottom: 20px;
  animation: animateWave_02 3s linear infinite;
}

@keyframes animateWave {
  0%{
    background-position-x: 1000px; 
  }
  100%{
    background-position-x: 0px; 
  }
}

@keyframes animateWave_02 {
  0%{
    background-position-x: 0px; 
  }
  100%{
    background-position-x: 1000px; 
  }
}
/* Tablet and down */

/* Tablet and below */
@media (max-width: 768px) {
  footer {
    padding: 40px 24px; /* More breathing space */
  }

  footer .social_icon,
  footer .menu {
    flex-wrap: wrap;
    justify-content: center;
    transform: none;         /* Neutralize the left shift */
    gap: 12px;               /* Space between items */
  }

  footer .social_icon li a {
    font-size: 1.6em;
    margin: 4px 10px;
  }

  footer .menu li a {
    font-size: 1.1em;
    margin: 4px 10px;
  }

  footer .footerpara {
    margin-left: 0;
    font-size: 1em;
    padding: 0 20px;
    text-align: center;
  }
}



@media (max-width: 480px) {
  footer {
    padding: 20px 10px;
    overflow-x: hidden;
    text-align: center;
  }

  footer .social_icon,
  footer .menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    transform: translateX(-20px); /* Move slightly left */
    gap: 8px;
    margin: 6px 0;
  }

  footer .social_icon li,
  footer .menu li {
    margin: 4px 6px;
  }

  footer .social_icon li a,
  footer .menu li a {
    font-size: 0.95em;
    margin: 0 4px;
  }

  footer .footerpara {
    font-size: 0.85em;
    margin: 8px 0 0 0;
    padding: 0 8px;
    text-align: center;
    transform: translateX(-20px); /* Also move text slightly left */
  }
}
