/* styles.css — clean theme echoing consulting RE sites */
:root {
  --brand: #c7a14a; /* gold to match your logo */
  --ink: #0e2233;
  --muted: #5b6b78;
  --light: #f7f9fb;
  --card: #ffffff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: system-ui, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
.container {
  margin: 0 auto;
  padding: 0 20px;
}
.topbar {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eef2f5;
  z-index: 10;
  padding: 16px 6px;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.navbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}
.nav-left {
  display: flex;
  align-items: center;
}
.center-nav {
  justify-self: center;
}
.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav .nav-link {
  color: var(--ink);
  text-decoration: none;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 18px;
  border-radius: 10px;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease,
    background 220ms ease;
  position: relative;
}
.nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  bottom: 6px;
  height: 4px;
  width: 60%;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(199, 161, 74, 0.95),
    rgba(240, 198, 107, 0.9)
  );
  transition: transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
  transform-origin: center;
  pointer-events: none;
}
.nav .nav-link:hover {
  color: #0b1b26;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(12, 20, 28, 0.12);
}
.nav .nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}
.nav-right {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-self: end;
}
.btn.call {
  background: linear-gradient(90deg, var(--brand), #f0c66b);
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.btn.contact-btn {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}
.btn.contact-btn:hover {
  background: rgba(199, 161, 74, 0.06);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}
.brand img {
  height: 52px;
}
.nav a {
  margin: 0 10px;
  text-decoration: none;
  color: var(--ink);
}
.phone {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  text-decoration: none;
  color: #fff;
  background: var(--ink);
}
.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #111;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.hero {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, #f7fafc, #fff);
}

/* Main hero slider (movie-site style) */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: #000;
}
.hero-slider-track {
  display: flex;
  transition: transform 0.7s ease;
}
.hero-slide {
  flex: 0 0 100%;
}
.hero-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 48px;
  height: 64px;
  font-size: 28px;
  cursor: pointer;
}
.hero-prev {
  left: 12px;
}
.hero-next {
  right: 12px;
}
.hero-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  display: flex;
  gap: 8px;
  z-index: 20;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.hero-dots button.active {
  background: #fff;
}

@media (max-width: 960px) {
  .hero-slide img {
    height: 260px;
    object-position: top center;
  }
  .hero-prev,
  .hero-next {
    width: 40px;
    height: 48px;
    font-size: 22px;
  }
}

/* Continuous hero scroll mode (applied via JS) */
.hero-slider-track.continuous {
  animation: hero-scroll 22s linear infinite;
}
@keyframes hero-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Marquee: right-to-left */
.marquee-wrap {
  overflow: hidden;
  background: #f1f5f9;
  border-top: 1px solid #eef2f5;
  border-bottom: 1px solid #eef2f5;
}
.marquee {
  display: inline-flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  padding: 8px 0;
}
.marquee span {
  color: var(--muted);
  font-weight: 600;
  padding: 0 8px;
}
@keyframes marquee {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Projects slider: continuous right-to-left */
.projects-slider {
  overflow: hidden;
}
.slider-track {
  display: flex;
  gap: 14px;
  align-items: stretch;
  animation: slide 2s linear infinite;
}
.slider-item {
  flex: 0 0 auto;
  width: 33.333%;
}
.slider-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e6edf2;
}
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}

@media (max-width: 960px) {
  .slider-item {
    width: 100%;
  }
  .slider-track {
    animation-duration: 12s;
  }
  .nav .nav-link {
    font-size: 16px;
    font-weight: 700;
    padding: 8px 10px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-media img {
    height: 220px;
  }
  .clients-grid {
    grid-template-columns: 1fr 1fr;
  }
  .client-card img {
    height: 140px;
  }
}
.grid2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 960px) {
  .grid2,
  .grid3 {
    grid-template-columns: 1fr;
  }
  .navbar {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px 0;
  }
  .center-nav {
    justify-self: start;
  }
  .nav-right {
    justify-self: start;
  }
}
.hero h1 {
  margin: 0 0 12px;
  font-size: 46px;
  line-height: 1.06;
  letter-spacing: -0.4px;
  color: var(--ink);
  font-weight: 800;
}
.hero p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 18px;
}
.cta .btn {
  padding: 12px 18px;
  font-weight: 800;
  border-radius: 10px;
}
.cta .btn.ghost {
  border-width: 2px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.stat {
  background: linear-gradient(180deg, #fff, #fbfcfd);
  border: 1px solid rgba(14, 34, 51, 0.06);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  box-shadow: 0 6px 18px rgb(107, 163, 186, 0.3);
}
.stat strong {
  display: block;
  font-size: 20px;
  color: var(--brand);
}
.stat span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.section {
  padding: 40px 0;
}
.section.alt {
  background: var(--light);
}
.cards .card {
  background: #fff;
  border: 1px solid #e6edf2;
  border-radius: 12px;
  padding: 18px;
}
.ticks {
  list-style: disc;
  padding-left: 18px;
}
.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e6edf2;
}
/* About section styles */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
}
.about-text h2 {
  margin-top: 0;
  font-size: 32px;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 18px;
}
.about-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.about-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e6edf2;
  box-shadow: 0 8px 26px rgba(12, 20, 28, 0.06);
}
.about-media figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.about-features .ticks {
  padding-left: 16px;
  margin: 0;
}
.about-features .ticks li {
  margin: 10px 0;
}
/* Clients section */
.clients-section {
  background: #6ca5bc;
  color: #042026;
  padding: 40px 0;
}
.clients-section .container {
  max-width: 1140px;
  text-align: center;
}
.clients-section h2 {
  color: #fff;
  margin-bottom: 9px;
  font-size: 30px;
  font-family: sans-serif;
}
.clients-section .subtitle {
  color: rgba(2, 32, 38, 0.9);
  margin-bottom: 18px;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.client-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 8px;
}
.client-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.client-caption {
  padding: 10px 8px;
  font-weight: 700;
  color: #042026;
}
.docs {
  list-style: disc;
  padding-left: 18px;
}
.contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact li {
  margin: 6px 0;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #dbe3ea;
  border-radius: 8px;
}
.footer {
  background: #0e1116;
  color: #cbd5e1;
  padding: 18px 0;
  text-align: center;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
}
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(12,20,28,0.06);
}
.service-icon { font-size: 34px; margin-bottom: 8px; }
.service-card h3 { margin: 8px 0; }
.service-card p { color: var(--muted); font-size: 14px; }

/* Downloads grid */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}
.download-card {
  background: linear-gradient(180deg,#fff,#fbfcfd);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(12,20,28,0.06);
  text-align: left;
}
.download-card h4 { margin: 0 0 6px; }
.download-card p { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.download-card .btn { padding: 8px 12px; }

/* Footer grid */
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-left { display: flex; align-items: center; gap: 12px; }
.footer-logo { height: 44px; }
.footer-brand { font-weight: 800; color: #fff; }
.footer-right { text-align: right; }
.footer-links a { color: #cbd5e1; margin-left: 12px; text-decoration: none; font-size: 14px; }
.copyright { color: #9fb6c0; margin-top: 8px; font-size: 13px; }

@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; }
  .downloads-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-right { text-align: left; }
}
