/* General Reset */
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'DM Sans', sans-serif;
  background: #f0f4f8;
  color: #333;
  line-height: 1.6;
}

/* Navigation */
nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem 1rem;
  z-index: 10;
  gap: 4rem;
}
.nav-left img {
  height: 40px;
  margin-right: 2rem;
}
.nav-links {
  display: flex;
  gap: 10.5rem;
}
.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: #013a86;
}

section {
  padding: 3rem 2rem;
  max-width: 1300px;
  margin: auto;
}
.card-section,
.about,
.testimonials,
.why-us {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-top: 3rem;
}

h1, h2, h3 {
  color: #013a86;
}
h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.service-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-6px);
  background: #e6f2ff;
}
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* About Section */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.about-img {
  flex: 1 1 300px;
  max-width: 500px;
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
}

/*Comparison*/
.comparison-section {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-top: 3rem;
}

.comparison-section h2 {
  color: #003366;
  margin-bottom: 1.5rem;
}

.comparison-table {
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

.comparison-table th {
  background-color: #f0f4f8;
  color: #003366;
}

/*onboarding*/
.onboarding-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-top: 3rem;
}

.onboarding-section h2 {
  color: #003366;
  margin-bottom: 1.5rem;
}

.onboarding-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-card h3 {
  color: #003366;
  margin-bottom: 0.5rem;
}


/* Why Us */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Testimonials */
.testimonial {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #555;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.hero h1, .hero p {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
.hero h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 2rem;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.modal-content h3 {
  margin-top: 0;
}
.modal-content ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}
.modal-content button {
  background: #013a86;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.faq-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 3rem;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-item h3 {
  margin-bottom: 0.5rem;
  color: #003366;
}


/* Footer */
footer {
  text-align: center;
  background: #013a86;
  color: white;
  padding: 1rem;
  margin-top: 3rem;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    z-index: 11;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.85);
    padding: 1rem 2rem;
    position: absolute;
    top: 4rem;
    left: 0;
    width: 100%;
    z-index: 10;
  }

  .nav-links.show {
    display: flex;
  }

  nav {
    align-items: flex-start;
  }
}

.nav-left img {
  height: 40px;
  margin: 0; /* Changed from margin-right: 2rem; */
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 11;
  margin-left: auto; /* push to end */
}


/* Our Clients — final styles */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 0.5rem; /* smaller gap between cards */
  justify-items: center;
}

.client-card {
  width: 100%;
  max-width: 420px;                /* cap width on desktop */
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;          /* vertical stack */
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.client-card:hover {
  transform: translateY(-6px);
  background: #e6f2ff;
}

.client-card img {
  width: 100%;
  height: auto;                    /* keep original proportions */
  max-height: 260px;               /* prevent overly tall images */
  object-fit: contain;             /* show full house, no cropping */
  background: #f0f0f0;             /* subtle letterbox background */
  border-radius: 8px;
  margin-bottom: 1rem;
  display: block;
}

.client-card h3,
.client-card p {
  line-height: 1.3; /* tighter spacing */
  margin: 0.25rem 0; /* reduce vertical margin */
}


/* Mobile refinement */
@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: 1fr;    /* single column on small phones */
  }
  .client-card {
    max-width: 100%;               /* use full width on small screens */
  }
}


