/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0066ff;
  --primary-dark: #0055dd;
  --secondary: #ff6b00;
  --dark: #1a202c;
  --light: #f7fafc;
  --gray: #718096;
  --gray-light: #e2e8f0;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, sans-serif;
  background-color: #ffffff;
  color: #2c3e50;
  line-height: 1.6;
}

.container {
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 15px;
}

/* Header */
.header {
  background-color: #f9f9f9;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 6px 10px;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  box-sizing: border-box;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  color: #004aad;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-img {
  height: 40px;
  width: auto;
  margin-right: 0.75rem;
  display: block;
}

.logo-icon {
  background-color: #10b981;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-right: 0.75rem;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #1906c7;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #10b981;
}

.register-dropdown {
  position: relative;
  display: inline-block;
}

.register-btn {
  background-color: #2b8659;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.register-btn:hover {
  background-color: #2b8659;
  transform: translateY(-1px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(40, 104, 45, 0.15);
  min-width: 320px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid #e2e8f0;
}

.register-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: #2d3748;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f1f5f9;
  gap: 1rem;
}

.dropdown-item:last-child {
  border-bottom: none;
  border-radius: 0 0 12px 12px;
}

.dropdown-item:first-child {
  border-radius: 12px 12px 0 0;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  transform: translateX(4px);
}

.dropdown-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.driver-icon {
  background-color: #ddd6fe;
  color: #2b8659;
}

.courier-icon {
  background-color: #dcfce7;
  color: #16a34a;
}

.restaurant-icon {
  background-color: #fef3c7;
  color: #d97706;
}

.fleet-icon {
  background-color: #dbeafe;
  color: #2b8659;
}

.business-icon {
  background-color: #f3e8ff;
  color: #2b8659;
}

.dropdown-content {
  flex: 1;
}

.dropdown-title {
  font-weight: 600;
  font-size: 1rem;
  color: #2d3748;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.dropdown-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.4;
}

.dropdown-arrow {
  color: #2b8659;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.dropdown-item:hover .dropdown-arrow {
  transform: translateX(2px);
  color: #2b8659;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
    url("./src/landingpage.png") no-repeat center/cover;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 80px 20px;
  position: relative;
  color: #f7fafc;
}

.hero .container {
  width: 100%;
  max-width: 1200px;
  text-align: left;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content {
  max-width: 600px;
  text-align: left;
  margin-top: 40px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: left;
  margin-bottom: 1.5rem;
}

.hero-line {
  display: block;
  text-align: left;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  line-height: 1.5;
  text-align: left;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: #2b8659;
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: white;
  padding: 0.8rem 1.5rem;
  color: #2563eb;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
}

/* Overlay (transparent box instead of full-screen) */
.overlay {
  position: fixed;
  bottom: 20px;
  right: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 1000;
  animation: slideUp 0.3s ease-out;
}

/* Popup Content */
.popup {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  min-width: 280px;
}

/* Store Buttons */
.store-btn img {
  width: 160px;
  max-width: 100%;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.store-btn img:hover {
  transform: scale(1.05);
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e74c3c;
  color: white;
  border: none;
  padding: 0.3rem 0.7rem;
  border-radius: 5px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 600px) {
  .popup {
    flex-direction: column;
  }
}
/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  top: -5rem;
  z-index: 5;
}
.features img {
  width: 50px;
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2d3748;
  line-height: 1.3;
}

.feature-description {
  color: #666;
  line-height: 1.5;
  font-size: 0.9rem;
}

/* Mission Section */
.mission {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--light) 0%, white 100%);
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
}

.mission-icons {
  display: flex;
  justify-content: flex-end;
  gap: 20rem;
}

.mission-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #f7fafc;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.mission-icon:hover {
  transform: scale(1.1);
}
.mission::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--primary);
  opacity: 0.05;
  border-radius: 50%;
  z-index: 0;
}

.mission::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: var(--secondary);
  opacity: 0.03;
  border-radius: 50%;
  z-index: 0;
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.mission-map {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 400px;
}

.mission-map:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.15);
}

.mission-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.mission-text {
  padding-right: 2rem;
}

.mission-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--dark);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mission-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 2rem;
}

.mission-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .mission-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .mission-text {
    padding-right: 0;
    order: 2;
  }

  .mission-map {
    order: 1;
  }
}

@media (max-width: 576px) {
  .mission {
    padding: 3rem 0;
  }

  .mission-title {
    font-size: 2rem;
  }

  .mission-features {
    flex-direction: column;
    gap: 1rem;
  }

  .mission-map {
    height: 300px;
  }
}

/* FAQ Section */
.faq {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

.faq-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #2d3748;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.faq-question {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #5b4c8b;
}

.faq-answer {
  color: #4a5568;
  line-height: 1.6;
  font-size: 1rem;
}

/* Footer */
.footer {
  background-color: #2b8659;
  margin-top: 1rem;
  color: white;
  padding: 1.5rem 0 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-section .footer-logo {
  display: flex;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section .logo-icon {
  background-color: white;
  color: #5b4c8b;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-right: 0.75rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.app-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.app-link img {
  height: 40px;
  transition: transform 0.3s ease;
}

.app-link:hover img {
  transform: scale(1.05);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding-top: 40px;
    min-height: 70vh;
  }

  .hero-content {
    margin-top: 20px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .faq-title {
    font-size: 2rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .mission-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mission-text h2 {
    font-size: 2rem;
  }

  .nav {
    gap: 1rem;
  }

  .mission-icons {
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1rem;
    text-align: left;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 1rem;
    text-align: left;
  }

  .footer-bottom-links {
    justify-content: left;
  }
  .footer-links {
    justify-content: left;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-content {
    margin-top: 10px;
  }

  .container {
    padding: 0 1rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .faq-title {
    font-size: 1.75rem;
  }

  .faq-item {
    padding: 1.5rem;
  }

  .mission-text h2 {
    font-size: 1.75rem;
  }

  .mission-description {
    font-size: 1rem;
  }

  .footer-bottom-links {
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
  }

  .social-links {
    justify-content: flex-start;
    align-items: flex-start;
  }
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */

/* Medium screens (tablets) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-content {
    gap: 2rem;
  }

  .mission-icons {
    gap: 10rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
  }
}

/* Small tablets and large phones */
@media (max-width: 768px) {
  .header .container {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-content {
    margin-top: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .mission-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .mission-icons {
    justify-content: center;
    gap: 5rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
  }
  .social-links {
    justify-content: space-between;
    align-items: center;
  }
}

/* Mobile devices */
@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
  }

  .logo-img {
    height: 30px;
  }

  .logo-icon {
    width: 30px;
    height: 30px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .feature-card {
    padding: 1.5rem 1rem;
  }

  .mission-text h2 {
    font-size: 1.8rem;
  }

  .mission-icons {
    gap: 2rem;
  }

  .faq-title {
    font-size: 1.8rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .social-links {
    justify-content: left;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-bottom-links {
    flex-direction: column;
    align-items: left;
    gap: 0.5rem;
  }
}

/* Very small devices */
@media (max-width: 320px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .nav {
    gap: 0.5rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }
}

/* Prevent horizontal scrolling */
html,
body {
  overflow-x: hidden;
  width: 100%;
}

/* Improve touch targets for mobile */
@media (hover: none) {
  .nav-link,
  .btn,
  .footer-links a,
  .social-link {
    min-height: 44px;
    display: flex;
    align-items: space-between;
    justify-content: center;
  }
}

/* Animation for dropdown on mobile */
@media (max-width: 768px) {
  .dropdown {
    width: 100%;
    left: 0;
    right: 0;
  }
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

:root {
  --primary: #0066ff;
  --primary-dark: #0055dd;
  --secondary: #ff6b00;
  --dark: #1a202c;
  --light: #f7fafc;
  --gray: #718096;
  --gray-light: #e2e8f0;
}
@media (max-width: 768px) {
  .nav {
    display: none !important;
  }

  .nav-link.home {
    display: inline-block !important; /* keep Home visible */
  }

  .logo {
    display: flex !important; /* keep logo visible */
  }

  .register-dropdown {
    display: inline-block !important;
    margin-left: auto; /* push button to the right */
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px; /* or right: 20px if you prefer */
  z-index: 1000;
  background-color: #2b8659;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 40px;
  height: 40px;
  display: block;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}
@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    padding: 10px;
  }

  .whatsapp-float img {
    width: 35px;
    height: 35px;
  }
}
