/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; }

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem; /* taller header */
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 1rem;          /* more space between logo and text */
}

header .logo img {
  width: 120px;       /* much bigger logo */
  height: auto;
}

header .logo span {
  font-size: 2.5rem;  /* bigger text to match logo */
  font-weight: bold;
  color: #4f46e5;
  line-height: 1;
}




header nav a { margin-left: 1.5rem; text-decoration: none; color: #1f2937; font-weight: 500; transition: color 0.3s; }
header nav a:hover { color: #4f46e5; }


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

@media (max-width: 768px) {
  header nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 200px;
    display: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 1rem;
  }

  header nav a {
    margin: 10px 0;
    display: block;
  }

  header nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}


/* Hero */
/* .hero {
  background-image: url('../images/shared-moving-trucks.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: white;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 2rem;
} */

/* .hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); 
  z-index: 0;
} */


/* .hero-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative; 
  z-index: 1;
  gap: 2rem;
} */

/* .hero-text {
  flex: 1;
  color: white;             
  z-index: 1;                
}

.hero-text h1,
.hero-text h2,
.hero-text p {
  color: white;              
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}


.hero-form {
  flex: 1;
  background: rgba(255,255,255,0.95); 
  padding: 2rem;
  border-radius: 0.75rem;
  color: #111827;
}

.hero-form h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.hero-form label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.hero-form input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.hero-form button {
  margin-top: 1rem;
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 0.5rem;
  background: #4f46e5;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-form button:hover {
  background: #4338ca;
}

.hero-form .form-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #6b7280;
} */
.hero {
  position: relative;
  background: url('../images/shared-moving-trucks.jpeg') no-repeat center center/cover;
  color: white;
  padding: 4rem 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); /* semi-transparent black */
  z-index: 0;
}

.hero-container {
  position: relative; /* bring content above overlay */
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}


.hero-main-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: white;
  font-weight: bold;
}


.hero-text {
  flex: 1 1 50%;
  color: white;
}

.hero-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.hero-form {
  flex: 1 1 40%;
  background: rgba(0,0,0,0.6);
  padding: 2rem;
  border-radius: 0.75rem;
}

.hero-form form {
  display: flex;
  flex-direction: column;
}

.hero-form label {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.hero-form input {
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: none;
  margin-bottom: 0.5rem;
}

.hero-form button {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: none;
  background: #4f46e5;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.hero-form button:hover {
  background: #6366f1;
}

.form-note {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  color: #d1d5db;
}

.btn-primary { padding: 1rem 2rem; background: #4f46e5; color: white; text-decoration: none; border-radius: 0.5rem; transition: background 0.3s; display: inline-block; margin-top: 1rem; }
.btn-primary:hover { background: #4338ca; }
.hero-image img { max-width: 400px; width: 100%; border-radius: 0.5rem; margin-top: 2rem; }

/* Contact Form */
.contact { padding: 4rem 2rem; background: #fff; text-align: center; }
.contact form { display: flex; flex-direction: column; gap: 1rem; max-width: 400px; margin: 0 auto; }
.contact input, .contact textarea { padding: 0.75rem; border-radius: 0.5rem; border: 1px solid #ccc; width: 100%; }
.contact button { padding: 1rem; background: #4f46e5; color: white; border: none; border-radius: 0.5rem; cursor: pointer; transition: background 0.3s; }
.contact button:hover { background: #4338ca; }
.contact .form-note { font-size: 0.8rem; color: #6b7280; }

/* Why / Benefits / Stats / Features */
/* Why Routesync Section */
.why {
  padding: 4rem 2rem;
  background: #f9fafb; /* light background */
  text-align: center;
}

.why h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1f2937; /* dark text */
  font-weight: bold;
}

.why-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem; /* spacing between cards */
}

.why-card {
  background: #fff;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex: 1 1 250px; /* responsive width */
  max-width: 300px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #4f46e5; /* accent color */
}

.why-card p {
  color: #6b7280; /* gray text */
  font-size: 1rem;
  line-height: 1.6;
}


.try-free {
  background: #4f46e5; /* Primary color */
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}

.try-free h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.try-free p {
  font-size: 1.15rem;       /* Slightly larger text */
  line-height: 1.8;         /* More spacing between lines */
  max-width: 600px;
  margin: 0 auto 2rem;      /* Centered with bottom spacing */
  color: #f3f4f6;           /* Optional: softer white for readability */
  letter-spacing: 0.5px;    /* Slight spacing between letters */
}


.try-free .btn-primary {
  background: white;
  color: #4f46e5;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.try-free .btn-primary:hover {
  background: #6366f1;
  color: white;
}


/* Benefits Section */
.benefits {
  background: #1f2937;       /* Dark background for contrast */
  color: #f3f4f6;            /* Light text */
  padding: 4rem 2rem;
  text-align: center;
}

.benefits h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

.benefits ul {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.benefits ul li {
  background: #111827;       /* Slightly darker card effect */
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
  transition: transform 0.3s, background 0.3s;
}

.benefits ul li:hover {
  transform: translateY(-5px);
  background: #4f46e5;       /* Hover highlight color */
  color: #ffffff;
}

.benefits ul li strong {
  color: #fbbf24;            /* Highlight the bold title */
}

#stats {
  padding: 4rem 2rem;
  background: #4f46e5; /* dark modern background */
  text-align: center;
  color: #fff;
}

.stats-intro p {
  font-size: 1.2rem;
  line-height: 1.8; /* spacing for readability */
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-weight: 400;
  color: #e5e7eb; /* light gray for contrast */
}

.stats-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-card {
  background: #1f2937; /* slightly lighter dark card */
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  min-width: 180px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

.stat-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.stat-card p {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  color: #4f46e5; /* primary accent color for numbers */
}



/* Footer Styles */
footer {
  background: #1e293b; /* new darker-blue/gray background */
  color: #f9fafb;
  padding: 3rem 2rem 1rem;
  font-size: 0.9rem;
}

/* Center content with max width */
.footer-top, .footer-bottom {
  max-width: 1200px;       /* limit the width */
  margin: 0 auto;          /* center horizontally */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

/* Footer Logo Container */
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* Footer logo image size */
.footer-logo img {
  width: 120px;
  height: auto;
  border-radius: 50%;
  padding: 10px;
}

/* Company name and tagline */
.footer-logo h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #4f46e5;
}

.footer-logo p {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5e1;   /* lighter gray for better contrast */
  text-align: center;
  font-weight: 400;
  line-height: 1.4;
}

/* Footer Links */
.footer-links {
  display: flex;
  gap: 2rem;
}

.links-column h4 { 
  margin-bottom: 0.5rem; 
  color: #4f46e5; 
}

.links-column a {
  display: block;
  text-decoration: none;
  color: #f9fafb;
  margin-bottom: 0.25rem;
  transition: color 0.3s;
}

.links-column a:hover { 
  color: #4f46e5; 
}

/* Footer Contact */
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5e1;
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.footer-contact .icon {
  font-size: 1rem;
  color: #4f46e5;
}

/* Social icons */
.footer-contact .social-icons {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.75rem;
}

.social-icons a svg,
.social-icons a i {
  width: 24px;
  height: 24px;
  color: white;
  transition: transform 0.2s, color 0.2s;
}

.social-icons a:hover svg,
.social-icons a:hover i {
  transform: scale(1.2);
  color: #6366f1;
}

/* Footer Bottom */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid #334155;
  padding: 1rem 0;
  color: #94a3b8;
  width: 100%;
}



/* Responsive */
@media(max-width:768px){
  .footer-logo img {
    width: 60px;
  }
   .hero-container {
    flex-direction: column;
  }
  .hero-form {
    flex: 1 1 100%;
  }
}


/* How It Works Section */
#how-it-works {
  padding: 4rem 2rem;
  background: #f9fafb; /* light background for contrast */
  text-align: center;
}

#how-it-works h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: bold;
  color: #111827;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.step {
  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #4f46e5; /* brand color */
}

.step p {
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
}


/* trusted */
/* Trust Section */
#trust {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #f3f4f6, #ffffff);
  text-align: center;
}

#trust h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
  color: #111827;
  position: relative;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.trust-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.trust-icon {
  font-size: 2.5rem;
  color: #4f46e5; /* Routesync purple */
  flex-shrink: 0;
}

.trust-text h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #111827;
}

.trust-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
}


/* Transparency Section */
#transparency {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #eef2ff, #ffffff);
  text-align: center;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

#transparency h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1f2937; /* dark gray */
  margin-bottom: 1rem;
  position: relative;
}

#transparency h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #4f46e5; /* Routesync purple */
  margin: 0.8rem auto 0 auto;
  border-radius: 2px;
}

#transparency p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #4b5563; /* medium gray */
  max-width: 700px;
  margin: 1rem auto 0 auto;
}


/* FAQ Section */
#faq {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

#faq h2 {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  color: #1f2937;
  margin-bottom: 2.5rem;
  position: relative;
}

#faq h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: #4f46e5; /* Routesync purple */
  margin: 0.8rem auto 0 auto;
  border-radius: 2px;
}

.faq-item {
  background: #fff;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.faq-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item h3::after {
  content: "+";
  font-size: 1.5rem;
  color: #4f46e5;
  transition: transform 0.3s;
}

.faq-item.active h3::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-item p {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  display: none;
}

.faq-item.active p {
  display: block;
}



#metrics {
  padding: 4rem 2rem;
  background: #f8f9fa; /* light neutral background */
  text-align: center;
}

#metrics h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  font-weight: bold;
  color: #1f2937; /* dark text for contrast */
}

.metric-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.metric-card {
  background: #fff;
  padding: 2rem 2.5rem;
  border-radius: 1rem;
  min-width: 180px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.metric-card h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #4f46e5; /* primary color accent */
  margin-bottom: 0.5rem;
}

.metric-card p {
  font-size: 1.1rem;
  color: #6b7280; /* secondary text color */
  margin: 0;
}


#value {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #eef2ff, #ffffff); /* soft gradient */
  text-align: center;
}

#value h2 {
  font-size: 2.8rem;
  margin-bottom: 3rem;
  font-weight: bold;
  color: #1f2937;
  position: relative;
}

#value h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #4f46e5;
  margin: 1rem auto 0 auto;
  border-radius: 2px;
}

.value-container {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.value-box {
  background: linear-gradient(145deg, #ffffff, #f3f4f6);
  padding: 2.5rem 2rem;
  border-radius: 1.2rem;
  min-width: 260px;
  max-width: 380px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.value-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 150%;
  height: 150%;
  background: rgba(79, 70, 229, 0.08);
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

.value-box:hover::before {
  top: -20%;
  right: -20%;
  width: 200%;
  height: 200%;
}

.value-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.value-box h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #4f46e5;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.value-box h3::before {
  content: "✓"; /* simple icon, can replace with SVG or font icon */
  color: #4f46e5;
  font-size: 1.4rem;
}

.value-box ul {
  list-style-type: disc;
  padding-left: 1.2rem;
}

.value-box ul li {
  font-size: 1.05rem;
  color: #4b5563;
  margin-bottom: 0.7rem;
  line-height: 1.6;
}

/* Modal base */
.modal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto;
  background-color: rgba(0,0,0,0.5); 
}



/* Modal content box */
.modal-content {
  background: #ffffff;   /* white background */
  color: #333333;        /* dark text */
  margin: 5% auto;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
  font-size: 16px;
}

/* Headings */
.modal-content h2 {
  margin-top: 0;
  font-size: 1.8rem;
  color: #4f46e5; /* match brand color */
}

.modal-content h3 {
  margin-top: 1.2rem;
  font-size: 1.3rem;
  color: #1f2937;
}

/* Close button */
.close {
  color: #555;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

textarea {
  width: 100%;
  height: 120px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  font-size: 1rem;
  resize: vertical;
}


