:root {
  /* Colors */
  --primary-color: #1a3b5d;
  --secondary-color: #7ed9b6;
  --secondary-hover: #6bc9a8;
  --text-primary: #3d3d3d;
  --text-secondary: rgba(61, 61, 61, 0.7);
  --text-light: #ffffff;
  --bg-color: #ffffff;
  --bg-light: #f9fafb;
  --border-color: #e5e7eb;

  /* Footer Colors */
  --footer-bg: #0f172a;
  --footer-text: #cbd5e1;
  --footer-link: #94a3b8;
  --footer-border: #1e293b;
  --footer-bottom-text: #64748b;

  /* Fonts */
  --font-heading: "Host Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-ui: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* NAVIGATION */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-logo img {
  height: 5rem;
  width: auto;
}

.nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color);
  padding: 6rem 2rem 2rem 2rem;
  z-index: 49;
  align-items: flex-start;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.nav-links.active {
  transform: translateX(0);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-whatsapp-nav {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 0.875rem;
  font-family: var(--font-ui);
  transition: all 0.3s ease;
}

.btn-whatsapp-nav:hover {
  background-color: var(--secondary-hover);
}

/* HERO SECTION */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #ffffff,
    rgba(255, 255, 255, 0.85),
    transparent
  );
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-text {
  max-width: 100%;
}

.hero h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.highlight {
  color: var(--secondary-color);
  display: block;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.4rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-family: var(--font-ui);
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  height: 3rem;
}

.btn-primary:hover {
  background-color: var(--secondary-hover);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  height: 3rem;
}

.btn-secondary:hover {
  background-color: rgba(26, 59, 93, 0.05);
  /* Slight alpha of primary color */
}

.hero-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
}

.hero-avatars {
  display: flex;
  margin-right: -0.5rem;
}

.avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid white;
  margin-right: -0.5rem;
  object-fit: cover;
}

.avatar:first-child {
  margin-right: -0.25rem;
}

.hero-count {
  font-size: 0.875rem;
  color: var(--text-primary);
}

.hero-count strong {
  color: var(--text-primary);
  font-weight: 900;
}

/* STATS SECTION */
.stats-section {
  padding: 4rem 0;
  color: var(--text-light);
  margin-top: -9rem;
  position: relative;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  border-radius: 0.5rem;
  padding: 2rem;
  background: var(--primary-color);
}

.stat-item {
  text-align: center;
  flex: 1 1 200px;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-item p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-item i {
  font-size: 2rem;
  vertical-align: middle;
  margin-left: 0.25rem;
  color: #f1c40f;
}

/* WHY MOBILIS SECTION */
.why-section {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 1.875rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 42rem;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.card {
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 0.4rem;
  background-color: var(--bg-color);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.card h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.why-image {
  text-align: center;
}

.why-image img {
  max-width: 100%;
  width: 100%;
  height: auto;
  max-width: 48rem;
}

/* SERVICES SECTION */
.services-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  gap: 2rem;
}

.service-card {
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 0.4rem;
  background-color: var(--bg-color);
}

.service-card-content {
  display: flex;
  gap: 1rem;
}

.service-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.service-content h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.service-content p {
  color: var(--text-secondary);
}

/* HOW IT WORKS SECTION */
.how-section {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

.steps-grid {
  display: grid;
  gap: 2rem;
}

.step-card {
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 0.4rem;
  background-color: var(--bg-color);
  text-align: center;
}

.step-number {
  width: 3rem;
  height: 3rem;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step-card h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.step-card p {
  color: var(--text-secondary);
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.testimonials-carousel {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  padding: 1rem 0;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  transform: translateX(0);
  will-change: transform;
  padding: 0 1.5rem;
}

.testimonial-card {
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 0.4rem;
  background-color: var(--bg-color);
  flex: 0 0 320px;
  min-width: 260px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 360px;
  }
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.875rem;
}

.testimonial-info p {
  font-size: 0.875rem;
  color: rgba(61, 61, 61, 0.6);
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  color: var(--secondary-color);
  font-size: 1.125rem;
}

.testimonial-quote {
  color: rgba(61, 61, 61, 0.8);
  font-style: italic;
  line-height: 1.6;
}

/* ABOUT SECTION */
.about-section {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

.about-grid {
  display: grid;
  gap: 3rem;
}

.about-image {
  grid-column: 1 / -1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.about-content {
  grid-column: 1 / -1;
}

.about-content h2 {
  font-size: 1.875rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.about-content > p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.about-info {
  margin-bottom: 1.5rem;
}

.about-info h3 {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.about-info p,
.about-info li {
  color: var(--text-secondary);
}

.about-info ul {
  list-style: none;
  padding-left: 0;
}

.about-info li {
  margin-bottom: 0.5rem;
}

/* FAQ SECTION */
.faq-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 0.4rem;
  background-color: var(--bg-color);
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
}

.faq-question {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-toggle {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--secondary-color);
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0 0 0 10px;
}

.faq-answer {
  color: var(--text-secondary);
}

/* CTA SECTION */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(to right, var(--primary-color), #0f2438);
  color: var(--text-light);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 0.75rem 2rem;
  height: 3rem;
  font-size: 1.125rem;
}

.btn-cta:hover {
  background-color: var(--secondary-hover);
}

/* FOOTER */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 80px 20px 40px;
  font-family: sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
}

.footer-logo {
  width: 140px;
}

.footer-left p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.footer-social {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.footer-social a {
  color: var(--footer-link);
  text-decoration: none;
  transition: 0.3s;
}

.footer-social a:hover {
  color: var(--text-light);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-links h4 {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  width: fit-content;
  color: var(--footer-link);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 14px;
  transition: 0.3s;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-light);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid var(--footer-border);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--footer-bottom-text);
}

/* RESPONSIVE */
.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 1.5rem;
  display: block;
  padding: 0.5rem;
  position: relative;
  z-index: 51;
}

@media (max-width: 1000px) {
  .stats-section {
    padding: 2rem 0;
  }

  .stats-container {
    gap: 2rem;
    padding: 2rem;
  }

  .stat-item {
    text-align: center;
    flex: 1 1 150px;
  }

  .stat-item h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .stat-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .stats-section {
    margin-top: -7rem;
  }
}

@media (max-width: 600px) {
  .footer-links {
    grid-template-columns: 1fr;
  }

  .stats-section {
    margin-top: -4rem;
  }
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    width: auto;
    padding: 0;
    box-shadow: none;
    border: none;
    background: transparent;
    transform: none;
    align-items: center;
    transition: none;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero {
    min-height: 700px;
    padding: 8rem 0;
  }

  .hero-text {
    max-width: 50%;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .why-section {
    padding: 8rem 0;
  }

  .section-header h2 {
    font-size: 2.25rem;
  }

  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .services-section {
    padding: 8rem 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-section {
    padding: 8rem 0;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-section {
    padding: 8rem 0;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-section {
    padding: 8rem 0;
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }

  .about-image {
    grid-column: 1;
    position: sticky;
    top: 6rem;
    align-self: start;
    max-height: calc(100vh - 8rem);
    display: flex;
    align-items: flex-start;
    z-index: 10;
  }

  .about-image img {
    max-height: calc(100vh - 8rem);
    width: 100%;
    object-fit: cover;
    object-position: top;
  }

  .about-content {
    grid-column: 2;
  }

  .about-content h2 {
    font-size: 2.25rem;
  }

  .faq-section {
    padding: 8rem 0;
  }

  .cta-section {
    padding: 8rem 0;
  }

  .cta-section h2 {
    font-size: 3rem;
  }
}
