:root{
      --bg: #F5F5F5;
      --accent: #FF9015;
      --accent-hover: #FFB461;
      --client-strip: #FFDDB7;
      --card-stroke: #C5C5C5;
      --faq-border: #D3D3D3;
      --text: #111;
      --side-pad-desktop: 190px; /* desktop */
      --site-width: 1440px; /* design width note */
      --hambox-size: 40px;
    }

    /* Responsive padding scaling: keep visual proportion to 190px @1440 */
    /* tablet padding ≈ 1440->1024 * 190 -> 135; mobile ≈ 52 */
    @media (max-width: 1024px) {
      :root { --side-pad-desktop: 135px; }
    }
    @media (max-width: 390px) {
      :root { --side-pad-desktop: 52px; }
    }

    *{box-sizing: border-box}
    html { scroll-behavior: smooth; }
    body{
      margin:0;
      font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
      color:var(--text);
      background: var(--bg);
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
    }

    /* Sticky header - full width */
    header {
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
      position: sticky;
      top: 0;
      z-index: 1200;
      background: var(--bg);
      width: 100%;
      border-bottom: 1px solid rgba(0,0,0,0.04);
    }
    .header-inner{
      max-width: var(--site-width);
      margin: 0 auto;
      padding: 16px calc(var(--side-pad-desktop));
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 16px;
    }
    .logo{
      font-weight:700;
      display:flex;
      align-items:center;
      gap:8px;
    }
    .nav-links{
      display:flex;
      gap: 24px;
      align-items:center;
    }
    .nav-links a{
      text-decoration:none;
      color:var(--text);
      font-weight:500;
      font-size:16px;
    }

    /* hamburger box at tablet breakpoint */
    .hamburger {
      display:none;
      width:var(--hambox-size);
      height:var(--hambox-size);
      border:2px solid rgba(0,0,0,0.85); /* off-black stroke */
      align-items:center;
      justify-content:center;
      cursor:pointer;
      background:#fff;
      border-radius:6px;
    }
    .hamburger .bar {
      width:18px;
      height:2px;
      background:#111;
      position:relative;
    }
    .hamburger .bar::after, .hamburger .bar::before{
      content:'';
      position:absolute;
      left:0;
      right:0;
      height:2px;
      background:#111;
    }
    .hamburger .bar::before{ top:-6px; }
    .hamburger .bar::after{ top:6px; }

    /* mobile menu panel */
    .mobile-menu{
      display:none;
      position:fixed;
      top:72px;
      right:20px;
      background:#fff;
      border-radius:8px;
      box-shadow:0 8px 24px rgba(0,0,0,0.12);
      padding:12px;
      z-index:1300;
    }
    .mobile-menu a{ display:block; padding:8px 12px; text-decoration:none; color:var(--text); }

    /* Hero */
    .hero {
  height: 50vh;
  position: relative;
  overflow: hidden;
}

.hero-video-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crops video like Google’s */
}

    /* container for centered content below the video */
    .container {
      max-width: var(--site-width);
      margin: 0 auto;
      padding: 48px calc(var(--side-pad-desktop));
      text-align:center;
    }

    .hero-content h1{
      font-size:39px;
      line-height:1.05;
      font-weight:700;
      margin:0;
    }
    .hero-content p{
      font-size:18px;
      margin:32px 0 0;
      max-width:900px;
      margin-left:auto;
      margin-right:auto;
    }
    .cta{
      display:inline-block;
      margin-top:32px;
      width:180px;
      height:60px;
      line-height:60px;
      background:var(--accent);
      color:#1d1d1d; /* WCAG Contrast Fix */
      text-decoration:none;
      font-weight:500;
      font-size:18px;
      border-radius:8px;
    }
    .cta:hover{ background:var(--accent-hover); }

    .developed {
      margin-top:32px;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:12px;
      font-size:12px;
      color:rgba(0,0,0,0.7);
    }
    .developed img { width:66px; height:39px; object-fit:contain; }

    /* client carousel */
 .scroller {
  max-width: 1000px;
  margin: 0 auto;  /* center it */
}

.scroller__inner {
  display: flex;
  flex-wrap: wrap;
  height: 70px;
  width: auto;
  object-fit: contain;
}

.scroller[data-animated="true"] {
  overflow: hidden;
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    white 20%,
    white 80%,
    transparent
  );
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller[data-animated="true"] .scroller__inner {
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll var(--_animation-duration, 40s)
    var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-direction="right"] {
  --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
  --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
  --_animation-duration: 20s;
}

.scroller[data-speed="slow"] {
  --_animation-duration: 60s;
}

@keyframes scroll {
  to {
    transform: translate(calc(-50% - 0.5rem));
  }
}

    /* cards */
   .cards {
  max-width: var(--site-width);
  margin: 48px auto;
  padding: 0 calc(var(--side-pad-desktop));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-items: stretch; /* full-width cards in their grid cell */
}

.card {
  border: 1px solid var(--card-stroke);
  border-radius: 8px;
  overflow: hidden;
  background: #fde3c6; /* gives contrast vs page bg */
  display: flex;
  flex-direction: column;
}

.card .img {
  height: 200px;         /* consistent image area */
  width: 100%;
  object-fit: cover;
  background: #ededed;   /* placeholder bg */
  flex-shrink: 0;        /* don’t let it shrink */
}

.card .content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1; /* lets content grow naturally */
}

.card h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
}

.card p {
  font-size: 16px; /* slight downsize for better readability */
  margin: 0;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.4;
}

@media screen and (max-width: 850px) {
  .cards {
    grid-template-columns: 1fr !important;
    justify-items: center; /* center cards horizontally */
  }
}

.card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.card.reveal {
  opacity: 1;
  transform: translateY(0);
}


    /* FAQ */
    .faq {
      max-width: var(--site-width);
      margin: 48px auto;
      padding: 0 calc(var(--side-pad-desktop));
    }
    .faq .item{
      padding:20px 0;
      border-bottom: 1px solid var(--faq-border);
    }
    .faq .question{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      cursor:pointer;
      /* Button Reset */
      width: 100%;
      background: none;
      border: none;
      padding: 0;
      font-family: inherit;
      color: inherit;
      text-align: left;
    }
    .faq .question h4{
      margin:0;
      font-size:18px;
      font-weight:700;
    }
    .faq .arrow{
      transition: transform 0.3s ease;
    }
    .faq .answer {
  height: 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.5;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}




    .faq .item.open .arrow{ transform: rotate(180deg); }


    @media (max-width: 750px) {
  :root { --side-pad-desktop: 52px; }
}

    /* responsive breakpoints */
    @media (max-width: 1200px){
      .card { width: 100%; max-width:320px; }
    }
    @media (max-width: 1024px){
      .nav-links{ display:none; }
      .hamburger{ display:flex; }
      .header-inner{ padding: 12px calc(var(--side-pad-desktop)); }
      .cards { grid-template-columns: repeat(2, 1fr); padding: 0 calc(var(--side-pad-desktop)); }
      .hero-content h1{ font-size:32px; }
      .hero-content p{ font-size:16px; }
    }
    @media (max-width: 600px){
      .cards { grid-template-columns: 1fr; padding: 0 24px; }
      .container { padding: 32px 24px; text-align:center; }
      .header-inner{ padding: 12px 24px; }
      .client-strip .marquee{ padding-left: 24px; padding-right:24px; }
      .hero .video-embed{ height:50vh; }
      .developed img{ width:66px; height:39px; }
    }

    /* small mobile */
    @media (max-width: 390px){
      .header-inner{ padding: 10px 16px; }
      .container { padding: 24px 16px; }
      .hero-content h1{ font-size:26px; }
      .hero-content p{ font-size:16px; }
      .cta{ width:160px; height:52px; line-height:52px; font-size:16px; }
    }


/* CONTACT SECTION */
.contact-section {
  margin: 0 auto;
  max-width: var(--site-width);
  padding: 48px calc(var(--side-pad-desktop));
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Left column (title + text + optional image) */
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-left h2 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 39px;
  line-height: 1.1;
  margin: 0;
}

.contact-left p {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(0,0,0,0.8);
  margin: 0;
}

.contact-image img {
  width: 75%;
  max-width: 400px;
  border-radius: 8px;
  object-fit: cover;
}

/* Right column (form) */
.contact-box {
  background-color: #fff;
  padding: 32px;
  border: 2px solid var(--accent); /* orange stroke around form */
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: rgb(44, 44, 44);
}

.contact-form label {
  font-weight: 500;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #767676; /* WCAG Contrast Fix */
  border-radius: 4px;
  font-size: 14px;
  background-color: white;
  resize: vertical;
}

.contact-form textarea {
  min-height: 120px;
}

/* Submit button */
.btn-submit {
  border: none;
  width: auto;
  margin-top: 30px;
  background: var(--accent);
  color: #1d1d1d;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-submit:hover {
  background: var(--accent-hover);
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1100px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-left {
    align-items: flex-start; /* stay left aligned */
    text-align: left;
  }

  .contact-image img {
    max-width: 100%;
  }
}

/* Privacy Modal */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  overflow-y: auto;
  padding: 40px 20px;
}

.modal-content {
  background: #fff;
  max-width: 800px;
  margin: auto;
  padding: 32px;
  border-radius: 12px;
  line-height: 1.6;
  font-size: 14px;
}

.modal-content h2 {
  margin-top: 0;
  font-size: 20px;
}

.close {
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  /* Button Reset */
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

/* Footer Layout */
footer {
  background: #FFDDB7;
  padding: 24px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: var(--site-width, 1200px);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 24px;
  text-align: left;
}

.footer-logo-block {
  display: flex;
  flex-direction: column; /* stack logo + copyright vertically */
  align-items: flex-start; /* left align by default */
}

.footer-logo-block img {
  height: 32px;   /* original size */
  width: auto;
  object-fit: contain;
}

.footer-logo-block .footer-logo {
  margin-bottom: 4px; /* small space between logo and copy */
}

.footer-logo-block .footer-copy {
  font-size: 11px;
  color: #666;
  margin-top: 0; /* reset since we're controlling spacing with margin-bottom above */
}


/* Sections (Company, Social Media, Contact) */
.footer-sections {
  display: flex;
  gap: 120px; /* wider gap between Company, Social Media, Contact */
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.footer-section h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #303030;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  text-decoration: none;
  color: #1d1d1d;
  font-size: 14px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* Social Media Icons */
.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-socials a img {
  transition: filter 0.3s ease, transform 0.2s ease;
}

.footer-socials a:hover img {
  filter: brightness(0) saturate(100%) invert(53%) sepia(95%) saturate(3220%) hue-rotate(7deg) brightness(101%) contrast(105%);
  transform: scale(1.1);
}

/* footer contact button */
.footer-contact-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  background-color: var(--accent);
  color: #1d1d1d;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.footer-contact-btn:hover {
  background-color: #FFB461;
}

.footer-dev {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.footer-dev img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* Responsive adjustments for wrapping */
@media (max-width: 1100px) {
  .footer-sections {
    gap: 60px; /* smaller gap as space gets tighter */
  }
}

@media (max-width: 900px) {
  /* when nav sections wrap onto a new row */
  .footer-logo-block {
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* center logo + copy on small screens */
    text-align: center;
  }
  
  .footer-dev {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
  }

  .footer-sections {
    flex-basis: 100%;
    justify-content: space-evenly;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-sections {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .footer-nav {
    align-items: center;
  }

  .footer-dev {
    flex-direction: column;
    text-align: center;
  }
}

.faq, .cards, .scroller {
  margin-bottom: 120px;
}

.developed {
  margin-bottom: 80px;
}

.hero,
footer {
  margin-bottom: 0;
}
