*,
*::before,
*::after {
  box-sizing: border-box;
}
/* Base styles */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #333;
  background-color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

img {
  max-width: 100%;
  height: auto;
}

#coming-soon {
  padding-top: 0; /* or 0px if you want no space */
}


/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: white; /* ensures visibility */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


.logo {
  margin-right: auto; /* pushes other items to the right */
  height: 70px;
  display: flex;
  align-items: center;
}

/* Override navbar container so logo is at far left and nav links stay right */
.navbar .container {
  display: flex;
  justify-content: flex-start; /* keep items starting from left */
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-left: 0;
}

.nav-links a {
  text-decoration: none;
  color: #7a0c0c;
  font-weight: bold;
}

.nav-wrapper {
  margin-left: auto;
}

.auth-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .nav-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-buttons {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .auth-buttons .btn {
    width: 100%;
    text-align: center;
  }
}


/* Hero Section */
.hero {
  background-color: #7a0c0c;
  color: white;
  text-align: center;
  padding: 60px 20px;
  padding-top: 150px; /* for desktop */
}

/* Mobile fix */
@media (max-width: 768px) {
  .hero {
    padding-top: 400px; /* adjust based on actual navbar height */
  }
}


.hero h1 {
  font-size: clamp(24px, 6vw, 48px);
  margin-bottom: 10px;
}

.hero p {
  font-size: clamp(16px, 3vw, 20px);
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  background-color: white;
  color: #7a0c0c;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn.secondary {
  background-color: #f7f7f7;
  color: #333;
  border: 2px solid #ccc;
}


/* Sections */
section {
  padding: 60px 0;
}

/* Grid sections */
.feature-grid,
.steps-grid,
.highlight-grid,
.use-case-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.step-box,
.use-case-card {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.highlights, 
.features,
.use-cases {
  color:#f7f7f7;
}

.highlights h2,
.features h2,
.use-cases h2 {
  color:#333;
}

.feature-image {
  width: 100%;
  max-width: 220px;  /* or smaller if needed */
  margin: 15px auto 0;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.use-case-image {
  width: 100%;
  max-width: 280px;        /* Increased from 220px */
  margin-top: 16px;        /* Slightly more spacing */
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;     /* Slightly rounder corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); /* Slightly deeper shadow */
}



.highlight-box-img {
  background: #7a0c0c;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 5px rgb(237, 235, 235);
}

.step-number {
  background-color: #7a0c0c;
  color: white;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin: 0 auto 10px;
}

.highlight-img {
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 10px;
}

/* Footer */
.footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 20px 0;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 0;
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icon {
  width: 24px;
  height: 24px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.social-icon:hover {
  filter: grayscale(0%);
}

.icon-img {
  width: 50px;
  height: 50px;
  margin: 0 auto;    /* centers horizontally */
  display: block;    /* makes margin auto work */
  margin-bottom: 10px;
}


/* Responsive tweaks */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: row;          /* horizontal layout */
    flex-wrap: nowrap;            /* no wrapping */
    overflow-x: auto;             /* allow horizontal scroll if needed */
    gap: 15px;                   /* spacing between links */
    width: 100%;                 /* full width for scroll */
    padding-left: 0;
    margin: 0;
  }

  .nav-links::-webkit-scrollbar {
    display: none;               /* hide scrollbar on WebKit browsers */
  }

  .nav-links li {
    white-space: nowrap;         /* prevent text wrap in links */
  }

  .cta-buttons {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}


@media (max-width: 480px) {
  .btn {
    font-size: 14px;
    padding: 10px 16px;
  }
}
/* Add spacing between "Use Cases" and "Platform Highlights" */
#platform-highlights {
  margin-top: 2rem; /* equal spacing */
}

/* Add equal vertical spacing between "Features" and "How It Works" */
#how-it-works {
  margin-top: 2rem;
}

/* Mobile container padding for smaller screens */
@media (max-width: 768px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- Responsive Nav Tabs --- */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: auto;
    gap: 10px;
    width: 100%;
    padding: 10px 0;
    margin: 0;
  }

  .nav-links li {
    white-space: nowrap;
  }
}

/* Tap-Friendly Nav Links */
.nav-links a {
  padding: 8px 12px;
}
@media (max-width: 480px) {
  .nav-links a {
    padding: 10px 14px;
    font-size: 14px;
  }
}

/* --- Responsive Contact Form --- */
@media (max-width: 600px) {
  .container {
    width: 100%;
    padding: 0 10px;
  }

  .contact form {
    width: 100%;
  }
  .contact input,
  .contact textarea,
  .contact button {
    font-size: 16px;
  }
}

/* Subtle Width Constraint for Contact Form */
@media (max-width: 600px) {
  .contact form > div {
    max-width: none;
  }
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 80px;
}

.btn.small {
  padding: 8px 16px;
  font-size: 15px;
}

.btn.sm {
  padding: 8px 16px;
  font-size: 15px;
}


.btn:hover,
.btn.secondary:hover {
  background-color: #7a0c0c; /* blue background */
  color: white;              /* white text */
  border-color: #ffffff;     /* match border if needed */
}

/* Video */
.video-section {
  margin-top: -60px; /* reduce from default or previous spacing */
  margin-bottom: -60px;
}