:root {
  --blue: #0071e3;
  --blue-h: #0077ed;
  --ink: #1d1d1f;
  --ink-sec: #86868b;
  --bg: #fff;
  --bg-sec: #f5f5f7;
  --border: #d2d2d7;
  --border-glass: rgba(255, 255, 255, 0.2);
  --border-light: rgba(0, 0, 0, 0.05);
  --rpill: 980px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --serif: 'Playfair Display', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── GLOBAL UTILS ─── */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 60px;
}

.sec-eyebrow {
  font-size: 11px;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sec-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: rgba(0, 113, 227, 0.3);
}

.sec-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 24px;
}

.sec-title strong {
  font-weight: 700;
}

.sec-lead {
  font-size: 16px;
  color: var(--ink-sec);
  max-width: 600px;
  margin-bottom: 48px;
}

/* ─── NAVBAR (GLOSSY GLASS LOCK) ─── */
#mainNav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  z-index: 1000;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.5s var(--ease);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
}

#mainNav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  height: 75px;
}

.nav-logo img {
  height: 40px;
  width: auto;
  filter: none !important;
  transition: 0.3s;
}

.nav-links {
  display: none;
  gap: 40px;
  list-style: none !important;
  align-items: center;
}

.nav-links li {
  list-style: none !important;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  transition: 0.3s;
}

#mainNav.scrolled .nav-links a {
  color: var(--ink);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--blue) !important;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-cta {
  padding: 9px 20px;
  background: var(--blue);
  color: #fff !important;
  border-radius: var(--rpill);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.nav-cta:hover {
  background: #f0c419 !important;
  color: var(--ink) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240, 196, 25, 0.3);
}

.burger {
  display: flex !important;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

#mainNav.scrolled .burger span {
  background: var(--ink);
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1025px) {
  #mainNav {
    height: 90px;
    padding: 0 80px;
  }

  #mainNav.scrolled {
    height: 75px;
  }

  .nav-logo img {
    height: 48px;
  }

  .nav-links {
    display: flex;
  }

  .burger {
    display: none !important;
  }
}

/* ─── MOBILE DRAWER (SURGICAL RESTORATION) ─── */
.nav-drawer {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: 0.5s var(--ease);
}

.nav-drawer.open {
  transform: translateY(0);
}

.nav-drawer a {
  font-size: 24px;
  font-family: var(--serif);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.drawer-cta {
  padding: 14px 32px;
  background: var(--blue);
  color: #fff !important;
  border-radius: var(--rpill);
  font-size: 16px;
}

/* ─── HERO (VERTICAL OFFSET LOCK) ─── */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background: #000;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* True Parallax Lock Restored */
  opacity: 0;
  transition: opacity 2s var(--ease);
  z-index: 1;
}

.hero-slide.active {
  opacity: 0.7;
  transform: scale(1);
  z-index: 2;
  transition: opacity 2s var(--ease), transform 8s linear;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(0, 0, 0, 0.4);
}

.hero-inner {
  position: relative;
  z-index: 4;
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 18vh 60px 0;
  text-align: left;
}

.hero-text {
  max-width: 750px;
  position: relative;
  padding-bottom: 80px;
}

.hero-eyebrow {
  color: #f0c419;
  font-family: 'Mistral', 'Brush Script MT', cursive;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  margin-bottom: 24px;
  text-transform: none;
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-title strong {
  font-weight: 700;
  color: #fff;
}

.hero-subs {
  position: relative;
  height: 44px;
  margin-bottom: 40px;
  width: 100%;
}

.hero-sub {
  position: absolute;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  opacity: 0;
  transform: translateY(10px);
  transition: 1s var(--ease);
  line-height: 1.6;
}

.hero-sub.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-bottom: 48px;
  justify-content: flex-start;
}

.hstat-n {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.hstat-l {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
}

.btn-primary,
.btn-outline {
  padding: 12px 22px;
  border-radius: var(--rpill);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s var(--ease);
}

.btn-primary:hover {
  background: #f0c419 !important;
  color: var(--ink) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(240, 196, 25, 0.3);
}

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

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: #f0c419 !important;
  border-color: #f0c419 !important;
  color: var(--ink) !important;
  transform: translateY(-3px);
}

.hero-dots {
  display: none !important;
}

/* ─── SERVICES ─── */
.services-bg {
  background: var(--bg-sec);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.svc-card {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  transition: 0.4s var(--ease);
  border: 1px solid var(--border-light);
  position: relative;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.svc-num {
  font-size: 40px;
  font-family: var(--serif);
  color: var(--blue);
  opacity: 0.08;
  position: absolute;
  top: 24px;
  right: 24px;
}

.svc-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 113, 227, 0.04);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--blue);
}

.svc-icon svg {
  width: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.svc-name {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
}

.svc-desc {
  font-size: 14px;
  color: var(--ink-sec);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ─── PROJECTS ─── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.proj-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: 0.4s var(--ease);
}

.proj-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.proj-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.proj-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--blue);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}

.proj-body {
  padding: 24px;
}

.proj-client {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.proj-name {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

/* ─── ACCREDITATIONS (IMAGE MATCHED) ─── */
.accred-section {
  background: #fbfbfd;
  border-top: 1px solid #eee;
}

.accred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.accred-card {
  background: #fff;
  padding: 18px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f5;
  transition: 0.3s var(--ease);
}

.accred-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(240, 196, 25, 0.25);
  border-color: #f0c419;
}

.accred-card:hover .accred-icon svg {
  stroke: #f0c419;
  filter: drop-shadow(0 0 5px rgba(240, 196, 25, 0.4));
}

.accred-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.accred-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
  transition: 0.3s;
}

.accred-card span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-sec);
  letter-spacing: -0.1px;
}

/* ─── CLIENT MARQUEE ─── */
#client-marquee {
  background: #fff;
  padding: 100px 0;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.marquee-title {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-sec);
  margin-bottom: 60px;
  opacity: 0.8;
}

.marquee-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  overflow: hidden;
  height: 120px;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 70px;
  white-space: nowrap;
  animation: marquee-scroll 45s linear infinite;
  will-change: transform;
}

.marquee-content img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.5);
  transition: 0.4s var(--ease);
}

.marquee-content img:hover {
  filter: grayscale(0);
  opacity: 0.9;
  transform: scale(1.06);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.33%);
  }
}

/* ─── GALLERY ─── */
.gallery-bg {
  background: var(--bg-sec);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.project-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 20px;
  transition: 0.5s var(--ease);
  border: 1px solid var(--border-light);
}

.project-gallery img:hover {
  transform: scale(1.03);
}

/* ─── CONTACT (PROFESSIONAL GLASS REFINEMENT) ─── */
.contact-bg {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 620px;
  gap: 60px;
  align-items: flex-start;
  margin-top: 48px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--bg-sec);
  padding: 28px;
  border-radius: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: 0.4s var(--ease);
  border: 1px solid transparent;
}

.contact-info-card:hover {
  background: #fff;
  border-color: var(--border-light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  transform: translateY(-5px);
}

.cic-icon {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}

.cic-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue);
  stroke-width: 2.5px;
  /* Bold Actual Icons */
  fill: rgba(0, 113, 227, 0.1);
  /* Color fill for depth */
  transition: 0.3s;
}

/* Individual Vibrant Accents */
.contact-info-card:nth-child(2) .cic-icon svg {
  stroke: #ff3b30;
  fill: rgba(255, 59, 48, 0.1);
}

/* Email Red */
.contact-info-card:nth-child(3) .cic-icon svg {
  stroke: #34c759;
  fill: rgba(52, 199, 89, 0.1);
}

/* Support Green */

.contact-info-card:hover .cic-icon {
  transform: scale(1.1);
}

.form-card {
  background: #fff;
  padding: 60px;
  border-radius: 40px;
  border: 1px solid #eee;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 620px;
}

.form-card h3 {
  font-family: var(--serif);
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 700;
}

.form-subtitle {
  color: var(--ink-sec);
  font-size: 15px;
  margin-bottom: 40px;
  line-height: 1.5;
}

.fgrp {
  margin-bottom: 28px;
}

.fgrp label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.fgrp input,
.fgrp select,
.fgrp textarea {
  width: 100%;
  padding: 16px 20px;
  background: #fbfbfd;
  border: 1.5px solid #eee;
  border-radius: 14px;
  font-family: inherit;
  font-size: 16px;
  transition: 0.3s var(--ease);
  outline: none;
  resize: none;
  /* Locked: No manual scaling */
}

.fgrp input::placeholder {
  color: #ccc;
}

.fgrp input:focus,
.fgrp select:focus,
.fgrp textarea:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s var(--ease);
  margin-top: 12px;
}

.form-submit:hover {
  background: var(--blue-h);
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 113, 227, 0.3);
}

/* ─── FOOTER (COMPLETE SYMMETRY RESTORATION) ─── */
footer {
  background: var(--ink);
  color: #fff;
  padding: 100px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  margin-bottom: 80px;
  align-items: flex-start;
}

.footer-brand {
  grid-column: span 1;
}

.footer-col {
  grid-column: span 1;
}

.footer-logo img {
  height: 44px;
  width: auto;
  margin-bottom: 12px;
  transition: 0.3s;
}

.footer-group-tag {
  color: #f0c419;
  font-family: 'Mistral', 'Brush Script MT', cursive;
  font-size: 18px;
  margin-bottom: 24px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.soc-btn {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s var(--ease);
  color: #fff;
}

.soc-btn:hover {
  background: var(--blue);
  transform: translateY(-4px);
}

.soc-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  line-height: 1.5;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255, 255, 255, 0.25);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

.footer-legal a:hover {
  color: #fff;
}

/* ─── WHATSAPP (EXPANDING HEARTBEAT) ─── */
.wa-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  align-items: center;
  background: #25d366;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  transition: 0.4s var(--ease);
  cursor: pointer;
}

.wa-icon {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wa-heartbeat 5s infinite;
  transition: 0.3s;
  flex-shrink: 0;
}

.wa-label {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: 0.4s var(--ease);
  opacity: 0;
}

.wa-fab:hover {
  background: #20bd59;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.wa-fab:hover .wa-label {
  max-width: 150px;
  padding: 0 25px 0 5px;
  opacity: 1;
}

@keyframes wa-heartbeat {
  0% {
    transform: scale(1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  }

  5% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(240, 196, 25, 0.4);
  }

  10% {
    transform: scale(1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  }

  15% {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(240, 196, 25, 0.2);
  }

  20% {
    transform: scale(1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  }

  100% {
    transform: scale(1);
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  #mainNav {
    padding: 0 32px;
  }

  .section,
  .footer-inner,
  .hero-inner {
    padding-left: 32px;
    padding-right: 32px;
  }

  .svc-grid,
  .projects-grid,
  .project-gallery,
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .proj-img {
    height: 180px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .svc-grid,
  .projects-grid,
  .project-gallery,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .proj-img {
    height: 200px;
  }
}

/* ─── ANIMATIONS & PARALLAX (ENRICHED) ─── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

body.js-ready .reveal:not(.visible) {
  opacity: 0 !important;
  transform: translateY(50px) rotate(1deg) !important;
}

body.js-ready .reveal.visible {
  opacity: 1 !important;
  transform: translateY(0) rotate(0) !important;
}

.hero-slide {
  transition: opacity 2.5s var(--ease);
}

.hero-slide.active {
  opacity: 0.8 !important;
}