* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background-color: #fcfdfd; color: #1c2e22; line-height: 1.6; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

.demo-banner { background: #142218; color: #a3c2ac; text-align: center; padding: 0.5rem; font-size: 0.8rem; }
.demo-banner strong { color: #4ade80; }

.navbar { background: #ffffff; border-bottom: 1px solid #e5ede7; padding: 1.25rem 0; position: sticky; top: 0; z-index: 10; }
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.35rem; font-weight: 700; color: #142218; text-decoration: none; }
.logo span { color: #15803d; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a:not(.btn) { color: #526e5b; text-decoration: none; font-size: 0.95rem; font-weight: 500; }

.btn { display: inline-block; padding: 0.75rem 1.4rem; border-radius: 8px; font-weight: 600; text-decoration: none; font-size: 0.95rem; cursor: pointer; border: none; text-align: center; }
.btn-primary { background: #15803d; color: #ffffff; }
.btn-primary:hover { background: #166534; }
.btn-secondary { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.btn-block { width: 100%; }

.hero { padding: 4.5rem 0; background: linear-gradient(180deg, #f0fdf4 0%, #fcfdfd 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center; }
.badge { display: inline-block; background: #dcfce7; color: #15803d; padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; }
h1 { font-size: 2.75rem; font-weight: 700; line-height: 1.2; color: #142218; margin-bottom: 1rem; }
.hero-sub { font-size: 1.15rem; color: #425949; margin-bottom: 1.75rem; }
.hero-actions { display: flex; gap: 1rem; margin-bottom: 1.75rem; }
.stats-row { display: flex; gap: 2rem; font-size: 0.9rem; color: #526e5b; }
.stats-row strong { color: #15803d; font-size: 1.1rem; }

.hero-image-wrapper { position: relative; }
.hero-photo { width: 100%; height: 380px; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 40px -15px rgba(21,128,61,0.2); border: 1px solid #e5ede7; }
.floating-badge { position: absolute; bottom: -15px; left: -15px; background: #ffffff; padding: 0.85rem 1.25rem; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.08); border: 1px solid #e5ede7; display: flex; align-items: center; gap: 0.75rem; }
.badge-icon { font-size: 1.5rem; }
.floating-badge p { font-size: 0.8rem; color: #526e5b; margin: 0; }

.services { padding: 5rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2rem; color: #142218; margin-bottom: 0.5rem; }
.section-title p { color: #526e5b; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.service-card { background: #ffffff; border: 1px solid #e5ede7; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.02); }
.service-img { width: 100%; height: 170px; object-fit: cover; }
.service-card-body { padding: 1.5rem; }
.service-card h3 { font-size: 1.1rem; color: #142218; margin-bottom: 0.4rem; }
.service-card p { font-size: 0.88rem; color: #526e5b; }

.booking { padding: 5rem 0; background: #ffffff; border-top: 1px solid #e5ede7; }
.booking-box { max-width: 680px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 2.5rem; }
.booking-header { text-align: center; margin-bottom: 2rem; }
.booking-header h2 { font-size: 1.75rem; color: #142218; margin-bottom: 0.3rem; }
.booking-header p { color: #526e5b; font-size: 0.95rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: #142218; margin-bottom: 0.3rem; }
.form-group input, .form-group select { width: 100%; padding: 0.75rem; border: 1px solid #cbd5e1; border-radius: 6px; font-family: inherit; font-size: 0.95rem; }

.footer { padding: 2rem 0; text-align: center; font-size: 0.85rem; color: #526e5b; border-top: 1px solid #e5ede7; background: #ffffff; }


/* Mobile Optimization */


/* Sticky Navbar & Mobile Navigation */
.navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 100%;
}

.nav-links a:not(.btn) {
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #1e293b;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.is-active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


@media (max-width: 768px) {
  html, body {
    overflow-x: clip;
    width: 100%;
  }

  .container {
    padding: 0 1rem;
  }

  .navbar {
    padding: 0.85rem 0;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 2.5rem 0;
  }

  .hero-grid, .services-grid, .projects-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  h1 {
    font-size: 1.85rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .quote-form-card {
    padding: 1.5rem 1.15rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .floating-badge {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }
}


/* Mobile Responsive Navigation Drawer */
@media (max-width: 768px) {
  html, body {
    overflow-x: clip;
    width: 100%;
  }

  .navbar {
    padding: 0.85rem 0;
  }

  .nav-content {
    display: flex;
    justify-content: space-between !important;
    align-items: center;
    width: 100%;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid #e2e8f0;
    padding: 2rem 1.5rem 2.5rem 1.5rem;
    gap: 1.25rem;
    text-align: center;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    z-index: 99;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a:not(.btn) {
    font-size: 1.15rem;
    padding: 0.5rem 0;
    color: #0f172a;
  }

  .nav-links .btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }
}


/* SensusWeb Studio Portfolio Return Links */
.demo-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.sensus-brand-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s;
}

.sensus-brand-link:hover {
  opacity: 0.85;
}

.sensus-cta-link {
  color: #38bdf8 !important;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease;
}

.sensus-cta-link:hover {
  color: #7dd3fc !important;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .demo-banner-content {
    font-size: 0.74rem;
    gap: 0.35rem;
  }
  .banner-sep {
    display: none;
  }
}
