/* General */
body {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
}

/* ================= HEADER ================= */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    padding: 8px 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: -19px;
    width: 100%;
    height: 80px;
    z-index: 1000;

}

/* Logo */
.logo img {
    height: 100px;
}

/* Navbar */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 70px;
    margin: 0;
    padding: 8px;
}

.nav-menu li a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #007BFF;
}

/* Button */
.btn-blue {
    background-color: #004DA8;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.btn-blue:hover {
    background-color: #007BFF;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background-color: black;
    border-radius: 2px;
}

/* Responsive Header */

@media screen and (max-width: 1024px) {
    .nav-menu, .header-btn {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    /* hidden by default */
    .nav-menu {
        flex-direction: column;
        gap: 20px;
        position: absolute;
        top: 80px; /* below header */
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        width: 200px;
    }

    /* visible when active */
    .nav-menu.active {
        display: flex;
    }

}
@media screen and (max-width: 768px) {
  .first-section {
    padding-top: 120px; /* bigger gap for mobile navbar */
  }
}

/* About Section */

.about-section {
  position: relative;
  width: 100%;
  padding: 100px 0 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
}
/* Responsive */
@media (max-width: 600px) {
  .about-section {
    padding-top: 120px; /* extra space for smaller screens */
  }

  .about-text h2 {
    font-size: 3rem;
  }
  .about-text p {
    font-size: 0.85rem;
  }
  .about-bg {
    height: 180px;
  }
}

/* Blue rectangle behind */
.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px; /* blue rectangle height */
  background: linear-gradient(90deg, #004aad, #004DA8);
  z-index: 0;
}

/* Container for image + text */
.about-container {
  position: relative;
  max-width: 1100px;
  width: 100%;
  height: 60%;
  z-index: 1;
  
}
/* Dark overlay on image */
.about-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6); /* darkness level */
  border-radius: 12px;
}
/* Text above overlay */
.about-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff; /* pure white */
  padding: 20px;
  width: 85%;
  z-index: 2; /* makes sure text is above overlay */
}

/* Image */
.about-image {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* Overlay text */
.about-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  padding: 20px;
  width: 85%;
}

.about-text h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .about-text h2 {
    font-size: 1.8rem;
  }
  .about-text p {
    font-size: 0.95rem;
  }
  .about-bg {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .about-text h2 {
    font-size: 1.4rem;
  }
  .about-text p {
    font-size: 0.85rem;
  }
  .about-bg {
    height: 180px;
  }
}

/*Features section 2*/
.helping-workers-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 40px;
  color: #004DA8;
}

/* Rows for fixed card layout */
.hw-cards-row {
  display: flex;
  justify-content: center;
  gap: 20px; /* equal horizontal spacing */
  margin-bottom: 20px; /* vertical spacing between rows */
}

.hw-card {
  position: relative;
  width: 300px;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.hw-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
/* Dark overlay on top of image */
.hw-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* adjust darkness here */
  z-index: 1;
}

.hw-card:hover img {
  transform: scale(1.05);
}

.hw-card-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  padding: 2px;
  z-index: 2;
}

.hw-card-text h3 {
  margin: 0 0 4px 0;
  font-size: 20px;
}

.hw-card-text p {
  margin: 0;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hw-card {
    width: 45%;
  }
  .hw-cards-row {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .hw-cards-row {
    flex-direction: column;
    align-items: center;
  }
  .hw-card {
    width: 90%;
    margin-bottom: 20px;
  }
}
/* Section 3 In feature section*/
.empower-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
}

.empower-cards-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.empower-card {
  position: relative;
  width: 300px;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.empower-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.empower-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1;
}

.empower-card-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  padding: 10px;
  z-index: 2;
}

.empower-card-text h3 {
  margin: 0 0 10px 0;
  font-size: 20px;
}

.empower-card-text p {
  margin: 0;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .empower-card {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .empower-cards-row {
    flex-direction: column;
    align-items: center;
  }
  .empower-card {
    width: 90%;
    margin-bottom: 20px;
  }
}
/*Why choose US Fetures page*/
/*Why choose US Features page*/
/* General Section Styling */
body {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  background: #0d4fa3; /* Blue background */
  color: white;
}

.why-choose-us {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 18px;
  opacity: 0.9;
}

/* Row Styling */
.choose-row {
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  padding: 40px 20px;
  gap: 40px;
}

.choose-row.left .circle-box {
  order: 1;
}
.choose-row.left .description {
  order: 2;
  text-align: left;
}

.choose-row.right .description {
  order: 1;
  text-align: right;
}
.choose-row.right .circle-box {
  order: 2;
}

/* Circle & Title */
.circle-box {
  text-align: center;
  max-width: 200px;
}

.circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #DEECFF;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px auto;
}

.circle img {
  width: 100%;
  height: auto;
}

.circle-box h3 {
  font-size: 18px;
  margin-top: 5px;
}

/* Description */
.description {
  max-width: 500px;
  font-size: 16px;
  line-height: 1.6;
}

/* ✅ Responsive Fix */
@media (max-width: 992px) {
  .choose-row {
    flex-direction: column;
    text-align: center;
  }

  /* Force same order on mobile/tablet */
  .choose-row .circle-box {
    order: 1 !important;   /* icon + title always first */
  }

  .choose-row .description {
    order: 2 !important;   /* description always after */
    text-align: center;
    margin-top: 15px;
  }
}


/*Footer */
.footer-section {
  background-color: #ffffff;
  padding: 40px 20px;
  font-family: 'Space Grotesk', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

/* Left Section */
.footer-left h3 {
  color: #000;
  margin-bottom: 15px;
}

.app-buttons a {
  display: inline-block;
  margin-right: 10px;
}

.app-buttons img {
  width: 120px;
  height: auto;
  border-radius: 8px;
}

/* Middle Section */
.footer-middle {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-column h4 {
  color: #333;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #555;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #007BFF;
}

/* Right Section */
.footer-right h4 {
  color: #333;
  margin-bottom: 10px;
}

.footer-right p {
  margin: 5px 0;
  color: #555;
}

.social-icons {
  margin: 10px 0;
}

.social-icons a {
  margin-right: 10px;
  display: inline-block;
}

.social-icons img {
  width: 30px;
  height: 30px;
}

.footer-right .copyright {
  margin-top: 10px;
  color: #777;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-middle {
    gap: 40px;
    margin: 20px 0;
  }

  .app-buttons a {
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .app-buttons img {
    width: 100px;
  }

  .social-icons img {
    width: 25px;
    height: 25px;
  }
}
