:root {
  --primary-color: #082c0a;         /* Navbar / strong dark */
  --secondary-color: #f4f4f4;       /* Light background / hover */
  --text-color: #d8cece;            /* Muted text */
  --font-family: 'Helvetica Neue', sans-serif;
  --font-family1: 'Neue Haas Grotesk', sans-serif;
  --light: #ffffff;                 /* White */
  --section-background: #1dbe48;    /* Accent green */

  /* Swiss-style variables */
  --brand: var(--section-background);
  --ink: var(--primary-color);
  --muted: var(--text-color);
  --bg: var(--secondary-color);
  --track-mask: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.35;
  overflow-x: hidden;
}

/* ------------------ NAVBAR ------------------ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  z-index: 1000;
  position: sticky;
  top: 0;
  border-bottom: 2px solid var(--secondary-color);
}

.navbar-logo img {
  height: 65px;
  width: 90px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
  font-family: var(--font-family);
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--secondary-color);
}

.menu-icons {
  display: none;
  font-size: 24px;
  color: var(--light);
  cursor: pointer;
}

.menu-icons i {
  display: none; /* Hide all by default */
}

.menu-icons .fa-bars {
  display: block; /* Show bars by default */
}

/* ------------------ MEDIA QUERIES ------------------ */
@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: var(--primary-color);
    position: absolute;
    top: 80px;
    right: 0;
    width: 220px;
    padding: 20px;
    border-left: 2px solid var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
  }

  .nav-links.active {
    display: flex; /* Show menu when active */
  }

  .menu-icons {
    display: block;
  }
}

/* ------------------
   PAGE WRAPPER
------------------ */
.page-wrapper {
  width: min(1900px, 92vw);
  margin-inline: auto;
  padding-block: clamp(2rem, 6vw, 4rem);
}

/* ------------------
   HERO
------------------ */
.hero {
  border-top: 6px solid var(--brand);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  min-height: 72vh;
}

.hero-content {
  display: grid;
  gap: 1.25rem;
}

.eyebrow {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: .9rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

h1 .accent {
  color: var(--brand);
  display: inline-block;
}

.lead {
  color: var(--muted);
  max-width: 60ch;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  border: 2px solid var(--ink);
  padding: .9rem 1.1rem;
  font-weight: 700;
  border-radius: 16px;
  transition: transform .2s ease, background .2s ease,
              color .2s ease, border-color .2s ease;
}

.cta:focus {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.cta:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Right column image */
.hero-image {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
  background: #f5f5f5;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.02) saturate(0.96);
}

/* Decorative grid lines */
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;

  background-size: 100% 28px, 28px 100%;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ------------------
   TECH STRIP (marquee)
------------------ */
.tech-strip {
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding-block: clamp(.6rem, 1.6vw, .9rem);
  mask-image: var(--track-mask);
  -webkit-mask-image: var(--track-mask);
  overflow: hidden;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 4vw, 4rem);
  width: max-content;
  animation: marquee 28s linear infinite;
}

.logo-item {
  flex: 0 0 auto;
  opacity: .85;
  transition: opacity .2s ease, transform .2s ease;
}

.logo-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.logo-item img {
  height: clamp(26px, 2.8vw, 38px);
  width: auto;
  filter: saturate(.2) contrast(1.1);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ------------------
   RESPONSIVE
------------------ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hero-image {
    order: -1;
    aspect-ratio: 16/10;
  }

  .nav-links {
    display: none;
  }

  .menu-icons {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }

  .cta {
    transition: none;
  }
}

/* ------------------
   INTRO SECTION
------------------ */
.intro {
  background: var(--light);
  color: var(--ink);
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.intro-content {
  width: min(1000px, 92vw);
  margin-inline: auto;
  display: grid;
  gap: 1.25rem;
  text-align: center;
}

.intro-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--primary-color);
}

.intro-content p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 70ch;
  margin-inline: auto;
}
/* ------------------
   SERVICES SECTION
------------------ */
.services-section {
  background: var(--light);
  padding-block: clamp(3rem, 6vw, 6rem);
}

.services-section .container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* Grid Layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* Service Card */
.service-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Icon */
.icon-box {
  font-size: 2.2rem;
  color: var(--primary-color);
  background: #f3f4f6;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-inline: auto;
  margin-bottom: 1rem;
}

/* Titles & Text */
.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.service-p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Button */
.learn-more {
  background: var(--primary-color);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.learn-more:hover {
  background: var(--primary-dark, #2563eb);
  transform: translateY(-2px);
}
/* ------------------
   WORK / PORTFOLIO
------------------ */
.work-container {
  background: var(--light);
  padding-block: clamp(3rem, 6vw, 6rem);
  text-align: center;
}

.work-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 2.5rem;
  color: var(--ink);
  position: relative;
}

.work-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: var(--primary-color);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.card.thumb {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card.thumb:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.card.thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.card.thumb figcaption {
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem;
  color: var(--ink);
  background: #f9fafb;
  text-align: center;
}

/* ------------------
   ABOUT SECTION
------------------ */
#about {
  background: #fff;
  padding-block: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid #e5e7eb;
}

.about-container {
  width: min(1200px, 92vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.about-content {
  display: grid;
  gap: 1rem;
}

.about-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  position: relative;
}

.about-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin-top: 0.5rem;
  border-radius: 2px;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 65ch;
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-content {
    text-align: center;
    justify-items: center;
  }

  .about-content p {
    max-width: 100%;
  }
}
/* ------------------
   CONTACT SECTION
------------------ */
#contact {
  background: var(--secondary-color);
  padding-block: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid #e5e7eb;
}

.contact-container {
  width: min(1100px, 92vw);
  margin-inline: auto;
  display: grid;
  gap: 2rem;
}

.contact-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.contact-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: var(--primary-color);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Contact Info */
.contact-info p {
  font-size: 1rem;
  color: var(--ink);
  margin: 0.5rem 0;
  line-height: 1.6;
}

.contact-info i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}
.contact-info a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-family);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(8, 44, 10, 0.15); /* subtle green glow */
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  background: var(--primary-color);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 1.2rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background: #0c3f13; /* darker shade of green */
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-info {
    margin-bottom: 2rem;
  }
}
/* ------------------
   FOOTER SECTION
------------------ */
footer {
  background: var(--primary-color);
  color: #fff;
  padding-top: 3rem;
  margin-top: 4rem;
  border-top: 4px solid var(--secondary-color);
}

.footer-container {
  width: min(1200px, 92vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  padding-bottom: 2rem;
}

/* Logo & Caption */
.footer-logo img {
  height: 140px;
  width: auto;
  margin-bottom: 1rem;
}

.logo-caption {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-color);
  max-width: 250px;
}

/* Footer Nav */
.footer-nav h4,
.footer-connect h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-links,
.social-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.social-links li {
  margin-bottom: 0.75rem;
}

.footer-links a,
.social-links a {
  color: var(--text-color);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover,
.social-links a:hover {
  color: var(--secondary-color);
}

/* Social icons */
.social-links i {
  font-size: 1rem;
  color: var(--secondary-color);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-color);
}
/* ------------------
   MODAL (Booking Form)
------------------ */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 2000;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
  backdrop-filter: blur(3px);
  overflow-y: auto;
  padding: 2rem;
}

/* Modal Box */
.modal-content {
  background: #fff;
  margin: auto;
  max-width: 600px;
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  animation: slideDown 0.3s ease-out;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Close Button */
.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.8rem;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  transition: color 0.3s ease;
}
.close:hover {
  color: var(--primary-color);
}

/* Booking Section */
.booking-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Form Styling */
.booking-section form {
  display: grid;
  gap: 1rem;
}

.booking-section label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.booking-section input,
.booking-section select,
.booking-section textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-family);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.booking-section input:focus,
.booking-section select:focus,
.booking-section textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(8, 44, 10, 0.15);
}

.booking-section textarea {
  min-height: 100px;
  resize: vertical;
}

/* Submit Button */
.booking-section button {
  background: var(--primary-color);
  color: #fff;
  padding: 0.9rem 1.2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.booking-section button:hover {
  background: #0c3f13;
  transform: translateY(-2px);
}

/* Animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 600px) {
  .modal-content {
    padding: 1.5rem;
  }
  .booking-section h2 {
    font-size: 1.4rem;
  }
}

/* ===== Services Section ===== */
.services-section {
  padding: 5rem 2rem;
  background: #fff;
}

.container-services {
  max-width: 1200px;
  margin: 0 auto;
}

.service-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 5rem;
}

.service-image {
  flex: 1;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.service-text {
  flex: 1;
}

.service-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
}

.service-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
}

/* Alternate Layout: flip order every even section */
.services-section:nth-child(even) .service-content {
  flex-direction: row-reverse;
}

/* Responsive Design */
@media (max-width: 992px) {
  .service-content {
    flex-direction: column;
    text-align: center;
  }
  .service-image {
    max-width: 100%;
  }
  .service-text h2 {
    font-size: 1.6rem;
  }
  .service-text p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .services-section {
    padding: 3rem 1rem;
  }
  .service-text h2 {
    font-size: 1.4rem;
  }
}
