@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #2196f3;
  --primary-dark: #1565c0;
  --bg: #0a0a0a;
  --card-bg: #18191c;
  --text: #fff;
  --muted: #b0b8c1;
  --radius: 16px;
  --footer-bg: #111216;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
}

body:not(.dark-theme) {
  --bg: #fff;
  --card-bg: #f7f8fa;
  --text: #18191c;
  --muted: #4a4a4a;
}
body:not(.dark-theme) {
  background: var(--bg);
  color: var(--text);
}
body:not(.dark-theme) .service-card,
body:not(.dark-theme) .pricing-card,
body:not(.dark-theme) .testimonial-card,
body:not(.dark-theme) .demo-video {
  background: var(--card-bg);
  color: var(--text);
  border: 1.5px solid #e0e0e0;
}
body:not(.dark-theme) .section-title,
body:not(.dark-theme) h1,
body:not(.dark-theme) h2,
body:not(.dark-theme) h3 {
  color: #18191c;
}
body:not(.dark-theme) .hero p,
body:not(.dark-theme) .process-content p,
body:not(.dark-theme) .testimonial-author span,
body:not(.dark-theme) .contact-info p,
body:not(.dark-theme) .contact-info a {
  color: var(--muted);
}
body:not(.dark-theme) .footer {
  background: #f7f8fa;
  color: #18191c;
}
body:not(.dark-theme) .footer-links-col a {
  color: #4a4a4a;
}
body:not(.dark-theme) .footer-links-col a:hover {
  color: var(--primary);
}
body:not(.dark-theme) .footer-copy {
  color: #888;
}

body:not(.dark-theme) .navbar {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
body:not(.dark-theme) .nav-links a {
  color: #18191c;
}
body:not(.dark-theme) .nav-links a:hover, body:not(.dark-theme) .nav-links a:focus {
  color: var(--primary);
}


body:not(.dark-theme) .hamburger span {
  background: #18191c;
}

body:not(.dark-theme) #mainNav {
  background: #fff;
  /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); */
}

body:not(.dark-theme) .carousel-arrow {
  background: #e3e8f0;
}

body:not(.dark-theme) .carousel-arrow:hover {
  background: var(--primary);
  color: #fff;
}

body:not(.dark-theme) .particle-bg {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.navbar {
  background: #000;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  flex-direction: row-reverse;
  position: relative;
  z-index: 10;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: auto;
  max-height: 200px;
  width: auto;
  margin-right: 0;
  margin-left: 1.2rem;
  transition: max-height 0.2s;
  max-width: 90vw;
  object-fit: contain;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.2s;
}

.nav-links a.nav-contact-link {
  color: #fff;
  font-weight: 700;
  font-size: 1.08em;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Button styles that will be applied when navbar has 'scrolled' class */
.navbar.scrolled .nav-links a.nav-contact-link {
  background-color: var(--primary);
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  min-width: 4vw;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
  border: 2px solid var(--primary);
  text-align: center;
  color: #fff !important;
}

.navbar.scrolled .nav-links a.nav-contact-link:hover {
  transform: translateY(-2px);
  color: #fff !important;
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.navbar.scrolled .nav-links a.nav-contact-link:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
  color: #fff !important;
}

/* Override light theme styles for the button */
body:not(.dark-theme) .navbar.scrolled .nav-links a.nav-contact-link {
  color: #fff !important;
}

body:not(.dark-theme) .navbar.scrolled .nav-links a.nav-contact-link:hover {
  color: #fff !important;
}

.nav-links a:hover, .nav-links a:focus {
  color: var(--primary);
}

.hero {
  display: flex;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: center;
  /* min-height: 60vh; */
  height: 100vh;
  min-height: 550px;
  text-align: center;
  background: radial-gradient(ellipse at 60% 20%, rgba(33,150,243,0.08) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: none;
}

.particle-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
}

.hero-content {
  margin: 5rem 0 3rem 0;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 2.2rem;
  line-height: 1.15;
  /* margin-left: 8rem; */
  /* margin-right: 8rem; */
}

.hero .highlight {
  color: var(--primary);
  display: inline-block;
}

.hero p {
  color: var(--muted);
  font-size: 1.58rem;
  margin-bottom: 3.2rem;
  /* margin-left: 8rem; */
  /* margin-right: 8rem; */
}

.hero-cta {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
}

@media (max-height: 500px) {
  .hero h1 {
    font-size: 9lvh;
  }
  .hero p {
    font-size: 4.74lvh;
  }
}

.btn {
  display: inline-block;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #18191c;
  color: #fff;
  border: 1.5px solid #333;
}

.btn-secondary:hover {
  background: #23242b;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 900;
  text-align: center;
  margin: 3.5rem 0 2.2rem 0;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  margin: 0.7rem auto 0 auto;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.services-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(33,150,243,0.08);
  border: 1.5px solid #23242b;
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  font-size: 1.08rem;
  line-height: 1.6;
  text-align: left;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  margin-bottom: 1.5rem;
  transition: transform 0.5s ease-out, box-shadow 0.5s ease-out;
}

.service-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 32px rgba(33,150,243,0.15);
}

.service-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.demo-row {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 3.5rem 0 2.5rem 0;
}

.demo-video {
  background: #111216;
  border-radius: var(--radius);
  min-width: 320px;
  max-width: 420px;
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2.5rem;
  gap: 1rem;
}

.demo-features {
  flex: 1 1 320px;
  min-width: 320px;
  max-width: 420px;
}

.demo-features h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.demo-features ul {
  list-style: none;
  padding: 0;
  color: var(--text);
}

.demo-features li {
  margin-bottom: 0.8rem;
  font-size: 1.08rem;
}

.demo-features i {
  color: var(--primary);
  margin-right: 0.7rem;
}

.pricing-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.5rem 0 2.5rem 0;
}

.pricing-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(33,150,243,0.08);
  border: 1.5px solid #23242b;
  padding: 2.2rem 1.5rem 2rem 1.5rem;
  min-width: 240px;
  max-width: 320px;
  flex: 1 1 240px;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  transition: transform 0.5s ease-out, box-shadow 0.5s ease-out;
}

.pricing-card.popular {
  border: 2.5px solid var(--primary);
  box-shadow: 0 8px 32px rgba(33,150,243,0.13);
}

.pricing-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.3rem 1.2rem;
}

.pricing-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.pricing-price {
  font-size: 2.1rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
}

.pricing-price span {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--muted);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.5rem 0;
  color: var(--text);
  text-align: left;
}

.pricing-card ul li {
  margin-bottom: 0.7rem;
  padding-left: 1.2rem;
  position: relative;
}

.pricing-card ul li::before {
  content: '\2713';
  color: var(--primary);
  position: absolute;
  left: 0;
  font-size: 1.1rem;
}

.process-timeline {
  margin: 3rem 0 2.5rem 0;
  border-left: 3px solid var(--primary);
  padding-left: 2.5rem;
  position: relative;
}

.process-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  position: relative;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.process-circle {
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(33,150,243,0.10);
}

.process-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-content p {
  color: var(--muted);
  font-size: 1.05rem;
}

.testimonials-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.5rem 0 2.5rem 0;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(33,150,243,0.08);
  border: 1.5px solid #23242b;
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  text-align: left;
  margin-bottom: 1.5rem;
}

.stars {
  color: #ffd600;
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.testimonial-author {
  font-weight: 700;
  margin-top: 1.2rem;
  color: #fff;
}

.testimonial-author span {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.98rem;
}

.contact-row {
  display: flex;
  gap: 2.5rem;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  margin: 3.5rem 0 2.5rem 0;
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.contact-info {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 0;
  padding: 2rem 1.5rem;
  background: none;
  border: none;
  box-shadow: none;
}

.contact-booking {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 420px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(33,150,243,0.08);
  border: 1.5px solid #23242b;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  margin-bottom: 0;
  padding: 2rem 1.5rem;
}

body:not(.dark-theme) .contact-booking {
  background: #f7f8fa;
  border: 1.5px solid #e0e0e0;
  box-shadow: 0 2px 12px rgba(33,150,243,0.04);
}

.booking-row {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin: 0 0 2.5rem 0;
  box-shadow: 0 4px 32px rgba(33,150,243,0.08);
  border: 1.5px solid rgba(33,150,243,0.13);
}

.booking-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.booking-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text);
}

.booking-content p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.booking-features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.booking-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1.5px solid rgba(33,150,243,0.13);
  transition: transform 0.2s, border-color 0.2s;
}

.booking-feature:hover {
  transform: translateX(8px);
  border-color: var(--primary);
}

.booking-feature i {
  font-size: 1.4rem;
  color: var(--primary);
  width: 24px;
  text-align: center;
}

.booking-feature span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.booking-btn {
  width: 70%;
  padding: 1.2rem;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.booking-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(33,150,243,0.2);
}

.booking-btn i {
  font-size: 1.4rem;
}

/* Light theme adjustments */
body:not(.dark-theme) .booking-row {
  background: #fff;
  border: 1.5px solid #e0e0e0;
}

body:not(.dark-theme) .booking-feature {
  background: #f7f8fa;
  border: 1.5px solid #e0e0e0;
}

body:not(.dark-theme) .booking-feature:hover {
  border-color: var(--primary);
}

.contact-info {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 420px;
}

.contact-info h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
}

.contact-info p, .contact-info a {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 0.7rem;
  text-decoration: none;
}

.contact-info i {
  color: var(--primary);
  margin-right: 0.7rem;
}

.footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 3rem 0 1.2rem 0;
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  gap: 4rem;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: -70px;
}

.footer-logo-crop {
  width: 180px;   /* Final visible width */
  height: 160px;   /* Final visible height */
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-brand .logo-img {
  /* Start with the natural size or a bit larger than the crop window */
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  /* Custom cropping: adjust these values as needed */
  margin-left: -35px;
  /* margin-right: 20px; */
  margin-top: -5px;
  margin-bottom: -15px;
  display: block;
}

.footer-links-col {
  flex: 1 1 120px;
  min-width: 120px;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links-title {
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: #fff;
}

.footer-links-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  transition: color 0.2s;
}

.footer-links-col a:hover {
  color: var(--primary);
}

.footer-copy {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  margin-top: 1.8rem;
  margin-bottom: 1.8rem;
}

/* Hamburger styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 999;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3.2px;
  margin: 3.2px 0;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 640px) {
  .footer-content {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-brand, .footer-links-col {
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 995px) {
  .nav-links {
    gap: 1rem;
  }
  .nav-links a {
    font-size: 0.98rem;
    padding: 0.3rem 0;
  }
  .services-row, .pricing-row, .testimonials-row, .contact-row, .demo-row {
    flex-direction: column;
    align-items: stretch;
  }
  .service-card, .pricing-card, .testimonial-card, .contact-info, .demo-video, .demo-features {
    max-width: 100%;
    min-width: 0;
  }
  .logo-img {
    max-height: 200px;
    max-width: 25vw;
  }
  .hero-content {
    margin: 3rem 0 2rem 0;
  }
  .carousel-container {
    gap: 24px;
    padding: 1rem 0 1.5rem 0;
  }
  .service-card {
    flex: 1 1 220px;
    max-width: 320px;
    min-width: 220px;
    scroll-snap-align: initial;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 890px) {
  html, body {
    overflow-x: hidden;
  }
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1100;
  }

  /* Remove button styling in mobile */
  .navbar.scrolled .nav-links a.nav-contact-link,
  .nav-links a.nav-contact-link {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.8rem 0;
    min-width: auto;
    text-align: left;
    color: #fff !important;
  }

  .navbar.scrolled .nav-links a.nav-contact-link:hover,
  .nav-links a.nav-contact-link:hover {
    transform: none;
    background-color: transparent !important;
    border-color: transparent !important;
    color: var(--primary) !important;
  }

  .navbar.scrolled .nav-links a.nav-contact-link:active,
  .nav-links a.nav-contact-link:active {
    transform: none;
    box-shadow: none;
  }

  /* Override light theme styles for mobile */
  body:not(.dark-theme) .navbar.scrolled .nav-links a.nav-contact-link,
  body:not(.dark-theme) .nav-links a.nav-contact-link {
    color: #18191c !important;
  }

  body:not(.dark-theme) .navbar.scrolled .nav-links a.nav-contact-link:hover,
  body:not(.dark-theme) .nav-links a.nav-contact-link:hover {
    color: var(--primary) !important;
  }

  body:not(.dark-theme) #mainNav {
    /* background: #fff; */
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  }
  .nav-container {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 0.5rem;
  }
  .logo-link {
    margin-left: auto;
    display: flex;
    align-items: center;
  }
  .hamburger {
    margin-right: auto;
    margin-left: 0;
    align-self: center;
  }
  .logo-img {
    min-height: 40px;
    max-height: 200px;
    max-width: 60vw;
    margin-left: 0;
    margin-right: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
  }
  .nav-links {
    flex-wrap: wrap;
    gap: 0.7rem;
    font-size: 0.98rem;
  }
  .hero h1 {
    font-size: 3.8rem;
    word-break: break-word;
    margin-bottom: 3.2rem;
  }
  .hero p {
    font-size: 1.58rem;
    word-break: break-word;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .container {
    padding: 0 1.5rem;
  }
  .service-card, .pricing-card, .testimonial-card {
    padding: 1.2rem 1.5rem 1rem 1.5rem;
    font-size: 0.98rem;
    min-width: 0;
    max-width: 100vw;
  }
  .demo-video, .demo-features, .contact-info, .contact-booking {
    min-width: 0;
    max-width: 100vw;
  }
  .footer-content {
    gap: 4rem;
  }
  .footer-brand, .footer-links-col {
    min-width: 0;
    max-width: 100vw;
  }
  .btn, .btn-primary, .btn-secondary {
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
    min-width: 44vw;
    box-sizing: border-box;
  }
  .hamburger {
    display: flex;
  }
  #mainNav {
    position: absolute;
    top: 70px;
    left: 0;
    height: calc(100vh - 70px);
    width: 80vw;
    max-width: 440px;
    background: #111216;
    box-shadow: 2px 0 16px rgba(0,0,0,0.18);
    display: block;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    z-index: 998;
    overflow-y: auto;
    overflow: hidden;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(.4,0,.2,1), opacity 0.6s;
  }
  #mainNav.open {
    transform: translateX(0);
    opacity: 0.9;
    pointer-events: auto;
    /* padding: 1.2rem 0 1rem 0; */
    /* padding: 10px; */
  }
  .mobile-theme-toggle {
    position: relative;
    margin: 0 0 1.2rem 1rem;
  }
  .nav-links {
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
    padding-left: 1.2rem;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.8rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #23242b;
  }
  .carousel-container {
    gap: 24px;
    padding: 1rem 0 1.5rem 0;
  }
  .service-card {
    flex: 1 1 220px;
    max-width: 320px;
    min-width: 220px;
    scroll-snap-align: initial;
    margin-bottom: 1.5rem;
  }
  .carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    margin: 0 2px;
  }
  body {
    padding-top: 60px; /* or the height of your navbar */
  }
  .hero-content {
    margin: 1.2rem 0 2rem 0;
  }
}

@media (max-width: 580px) {
  .hero h1 {
    font-size: 2.8rem;
    word-break: break-word;
    margin-bottom: 1.3rem;
  }
  .hero p {
    font-size: 1.3rem;
    word-break: break-word;
  }
  .section-title {
    font-size: 2.3rem;
  }
}

/* Carousel styles */
.carousel-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 auto 2.5rem auto;
  position: relative;
}
.carousel-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  padding: 1rem 0 1.5rem 0;
}
.carousel-container::-webkit-scrollbar {
  display: none;
}
.carousel-arrow {
  background: #18191c;
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  cursor: pointer;
  margin: 0 8px;
  z-index: 10;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-arrow:hover {
  background: var(--primary);
  color: #fff;
}
@media (max-width: 950px) {
  .carousel-container {
    gap: 24px;
  }
}
@media (max-width: 820px) {
  .carousel-container {
    gap: 24px;
    padding: 1rem 0 1.5rem 0;
  }
  .service-card {
    flex: 1 1 220px;
    max-width: 320px;
    min-width: 220px;
    scroll-snap-align: initial;
    margin-bottom: 1.5rem;
  }
  .carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    margin: 0 2px;
  }
}

.about, .services, .usecases, .pricing, .process, .whychoose, .contact {
  scroll-margin-top: 80px;
}

.about, .usecases, .process-intro {
  font-size: 1.08rem;
  text-align: center;
  color: var(--text);
  margin: 0 auto 2rem auto;
}

@media (max-width: 820px) {
  .about, .usecases, .process-intro {
    font-size: 0.98rem;
    margin: 0 auto 1rem auto;
  }
}

/* Show desktop toggle, hide mobile toggle by default */
.desktop-theme-toggle { display: flex; }
.mobile-theme-toggle { display: none; }

/* On mobile, show mobile toggle, hide desktop toggle */
@media (max-width: 890px) {
  .desktop-theme-toggle { display: none !important; }
  .mobile-theme-toggle { display: flex !important; }
}

.whychoose-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
  justify-content: center;
  margin: 2.5rem 0 2.5rem 0;
}
.whychoose-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 4px 32px 0 rgba(33,150,243,0.10);
  border: 1.5px solid rgba(33,150,243,0.13);
  padding: 2.2rem 1.2rem 1.7rem 1.2rem;
  font-size: 1.08rem;
  line-height: 1.6;
  text-align: center;
  min-width: 220px;
  max-width: 340px;
  /* margin: 0 auto; */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.5s ease-out, box-shadow 0.5s ease-out;
}
.whychoose-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 2px 8px rgba(33,150,243,0.18));
}
.whychoose-card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  color: #fff;
  letter-spacing: 0.01em;
}
.whychoose-card p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 0;
}
.whychoose-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(33,150,243,0.18);
}
@media (max-width: 700px) {
  .whychoose-row {
    flex-direction: column;
    align-items: stretch;
  }
  .whychoose-card {
    max-width: 100%;
    min-width: 0;
  }
}

.faq {
  background: var(--card-bg);
  padding: 4rem 0 3rem 0;
  border-radius: var(--radius);
  margin: 3rem 0 0 0;
}
.faq-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}
/* .faq-icon {
  font-size: 2.7rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 8px rgba(33,150,243,0.10));
} */
.faq-accordion {
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.faq-item {
  background: rgba(24, 25, 28, 0.92);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(33,150,243,0.07);
  border: 1.5px solid rgba(33,150,243,0.10);
  overflow: hidden;
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}
.faq-item.open, .faq-item:focus-within {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(33,150,243,0.13);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.13rem;
  font-weight: 700;
  text-align: left;
  padding: 1.1rem 1.5rem 1.1rem 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
}
.faq-question::after {
  content: '\2b'; /* Unicode for plus sign */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) scale(1.2);
  transition: transform 0.3s;
  font-size: 1.1rem;
  color: var(--primary);
}
.faq-item.open .faq-question::after {
  content: '\f068'; /* Unicode for minus sign in Font Awesome */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  transform: translateY(-50%) scale(1.2);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: none;
  color: var(--muted);
  font-size: 1.05rem;
  padding: 0 1.5rem;
  transition: max-height 0.35s cubic-bezier(.4,0,.2,1), padding 0.2s;
}
.faq-item.open .faq-answer {
  padding: 0 1.5rem 1.1rem 1.5rem;
  max-height: 300px;
}
.faq-cta {
  text-align: center;
  font-size: 1.13rem;
  color: var(--muted);
  margin-top: 1.5rem;
}
.faq-cta .btn {
  margin-left: 0.7rem;
  font-size: 1rem;
  padding: 0.6rem 1.5rem;
}
@media (max-width: 620px) {
  .faq-accordion {
    max-width: 100%;
    gap: 0.7rem;
  }
  .faq-question {
    font-size: 1rem;
    padding: 1.1rem 3.5rem 1.1rem 1.5rem;
  }
  .faq-question::after {
    font-size: 1.1em;
    right: 1.1rem;
  }
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 1rem;
  }
  .faq-item.open .faq-answer {
    max-height: 500px;
    opacity: 1;
    padding-top: 0.5em;
    margin-top: 0.5em;
  }

  .faq-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .faq-cta .btn {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 0.7rem;
  }
}

body:not(.dark-theme) .faq {
  background: #f7f8fa;
}
body:not(.dark-theme) .faq-item {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  box-shadow: 0 2px 12px rgba(33,150,243,0.04);
}
body:not(.dark-theme) .faq-item.open, body:not(.dark-theme) .faq-item:focus-within {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(33,150,243,0.10);
}
body:not(.dark-theme) .faq-question {
  color: #18191c;
  background: none;
}
body:not(.dark-theme) .faq-question::after {
  color: var(--primary);
}
body:not(.dark-theme) .faq-answer {
  color: #4a4a4a;
  background: none;
}
body:not(.dark-theme) .faq-icon {
  color: var(--primary);
  filter: none;
}
body:not(.dark-theme) .faq-cta {
  color: #4a4a4a;
}

body.dark-theme a[href^='mailto:'] {
  color: var(--primary);
}

body:not(.dark-theme) a[href^='mailto:'] {
  color: var(--primary);
}

/* About Us section layout and typography */
.about-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
  flex-direction: row;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}
.about-text {
  flex: 1 1 340px;
  min-width: 260px;
  max-width: 600px;
  text-align: left;
}
.about-logo-col {
  flex: 1 1 320px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.about-logo-img {
  width: 500px;
  max-width: 180vw;
  height: auto;
  margin-bottom: 1.2rem;
  transition: filter 0.2s;
}
.about-main-text {
  font-size: 1.08rem;
  line-height: 1.8;
  margin-top: 1rem;
}
.about-secondary-text {
  font-size: 1.08rem;
  line-height: 1.8;
  margin-top: 1.2rem;
}
@media (max-width: 820px) {
  .about-row {
    flex-direction: column-reverse;
    align-items: center;
  }
  .about-logo-col {
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
  }
  .about-logo-img {
    width: 500px;
    max-width: 180vw;
  }
  .about-text {
    max-width: 100vw !important;
    min-width: 0 !important;
    text-align: justify;
  }
}
@media (max-width: 500px) {
  .about-row {
    flex-direction: column-reverse;
    align-items: center;
  }
  .about-logo-col {
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
  }
  .about-logo-img {
    width: 350px;
    max-width: 180vw;
  }
  .about-text {
    max-width: 100vw !important;
    min-width: 0 !important;
    text-align: justify;
  }
  .about-main-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 1rem;
  }
  .about-secondary-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 1.2rem;
  }
}
/* Booking Modal Styles */
.booking-modal {
    max-width: 800px;
    padding: 2rem;
}

#calendar-container {
    min-height: 600px;
    border-radius: 12px;
    background-color: var(--bg-color);
    margin-top: 1.5rem;
    overflow: hidden;
}

.calendar-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 600px;
    color: var(--text-color);
    font-size: 1.1rem;
    gap: 1rem;
}

.calendar-loading i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Light theme adjustments */
[data-theme="light"] #calendar-container {
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .calendar-loading {
    color: var(--text-color);
}

/* Responsive adjustments */

@media (max-width: 620px) {
    .booking-modal {
        padding: 1rem;
    }
    
    #calendar-container {
        min-height: 500px;
    }
    
    .calendar-loading {
        height: 500px;
    }
}

@media (max-width: 950px) {
  .booking-modal {
    max-width: 90%;
    padding: 1.5rem;
  }
  .contact-row {
    flex-direction: column;
    align-items: stretch;
    gap: 2.2rem;
    max-width: 100vw;
  }
  .contact-info, .contact-booking {
    max-width: 100%;
    min-width: 0;
    padding: 1.5rem 1rem;
    margin-bottom: 0;
  }
  .contact-info {
    margin-bottom: 0.5rem;
    text-align: center;
    align-items: center;
  }
  .contact-booking {
    margin-bottom: 0.5rem;
    align-items: center;
    text-align: center;
  }
  .booking-content h3 {
    font-size: 1.8rem;
  }
  .booking-content p {
    font-size: 1rem;
  }
  .booking-features {
    gap: 0.7rem;
    margin-bottom: 1.2rem;
  }
  .booking-feature {
    padding: 0.7rem;
    font-size: 0.98rem;
  }
  .booking-btn {
    padding: 1rem;
    font-size: 1.08rem;
    /* width: calc(100% - 15rem); */
    width: 60%;
  }
  .consultation-form-row {
    flex-direction: column !important;
    gap: 1rem;
    align-items: stretch;
  }
  .consultation-form-row input,
  .consultation-form-row textarea {
    width: 100%;
    min-width: 0;
    font-size: 1rem;
    padding: 0.9rem;
  }
  .consultation-form-row button {
    width: 100%;
    font-size: 1.08rem;
    padding: 1rem;
  }
}

@media (max-width: 620px) {
  .contact-row {
    flex-direction: column;
    align-items: center;
    gap: 0rem;
  }
  .booking-row {
    padding: 1.5rem;
  }
  .booking-features {
    gap: 0.8rem;
    margin-bottom: 2rem;
  }
  .contact-info {
    /* padding: 0rem 0rem; */
    padding-left: 0rem;
    padding-right: 0rem;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .consultation-form-row {
    gap: 0.7rem;
  }
  .contact-booking .booking-btn {
    width: calc(100% - 5rem);
    /* width: 60%; */
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 1.2rem;
    box-sizing: border-box;
    display: block;
  }
}

.footer-glow {
  width: 70%;
  height: 2px;
  background: var(--muted); /* default for dark theme */
  border-radius: 2px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2.5rem;
}

/* Section Transitions */
.section-transition {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-transition.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children animations */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Section specific animations */
.hero {
  opacity: 1;
  transform: none;
}

.about-row {
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.service-card {
  transition: transform 0.5s ease-out, box-shadow 0.5s ease-out;
}

.process-step {
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.whychoose-card {
  transition: transform 0.5s ease-out, box-shadow 0.5s ease-out;
}

.faq-item {
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.contact-row {
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

/* Hover effects */
.service-card:hover,
.whychoose-card:hover,
.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(33, 150, 243, 0.15);
}

