@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Marcellus&display=swap');
:root {
  --primary: #2E2E9F;
  --primary-dark: #1a1a6e;
  --accent: #E8662A;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --bg-card: #f9f9f9;
  --text: #1a1a1a;
  --text-muted: #777;
  --text-light: #fff;
  --border: rgba(0,0,0,0.08);
  --font-body: 'Montserrat', sans-serif;
  --font-display: 'Marcellus', serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; overflow: hidden; }
html.ready { overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
body.loaded { overflow-y: auto; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ========== PRELOADER ========== */
.preloader-wrap {
  position: fixed; inset: 0; z-index: 1800; background: #fff;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), visibility 0.8s;
}
.preloader-wrap.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
  width: 100px; height: 100px; border-radius: 50%; background: var(--primary);
  display: flex; align-items: center; justify-content: center; position: relative;
  animation: preloaderPulse 2s ease-in-out infinite;
}
.preloader-logo img { width: 65px; height: 65px; object-fit: contain; }
.preloader-logo::before {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--accent); border-right-color: var(--accent);
  animation: preloaderSpin 1.2s linear infinite;
}
.preloader-logo::after {
  content: ''; position: absolute; inset: -20px; border-radius: 50%;
  border: 1px solid transparent; border-bottom-color: var(--primary); border-left-color: var(--primary);
  animation: preloaderSpin 1.8s linear infinite reverse;
}
.preloader-text {
  margin-top: 28px; font-family: var(--font-display); font-size: 13px;
  letter-spacing: 6px; text-transform: uppercase; color: #333;
}
.preloader-bar { width: 200px; height: 2px; background: #e0e0e0; margin-top: 24px; border-radius: 2px; overflow: hidden; }
.preloader-bar-fill { width: 0; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 2px; transition: width 0.3s; }
@keyframes preloaderPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes preloaderSpin { to { transform: rotate(360deg); } }

/* ========== HEADER (Unify Clapat) ========== */
.clapat-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 80px; transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.clapat-header.scrolled {
  background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
#header-container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 80px; height: 100%;
}
.header-gradient {
  position: absolute; top: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), transparent); pointer-events: none;
}
.clapat-header.scrolled .header-gradient { display: none; }
.logo img { width: 54px; height: 54px; border-radius: 50%; object-fit: contain; }
.clapat-nav-wrapper { display: flex; align-items: center; }
.flexnav { display: flex; gap: 36px; align-items: center; }
.flexnav li a {
  font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  color: #fff; position: relative; display: inline-flex; align-items: center;
  padding: 8px 18px; border-radius: 6px;
  transition: color 0.3s, background 0.3s;
}
.clapat-header.scrolled .flexnav li a { color: var(--text); }
.flexnav li a:not(.button-icon-link):hover,
.flexnav li a:not(.button-icon-link).active {
  background: rgba(255,255,255,0.2); color: #fff;
}
.clapat-header.scrolled .flexnav li a:not(.button-icon-link):hover,
.clapat-header.scrolled .flexnav li a:not(.button-icon-link).active {
  background: rgba(0,0,0,0.06); color: var(--text);
}

/* Button Icon Link (CTA) */
.button-icon-link {
  display: flex !important; align-items: center; gap: 10px;
  height: 44px; border-radius: 44px; padding: 0 14px 0 20px !important;
  border: 1.5px solid rgba(255,255,255,0.5); background: transparent;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.clapat-header.scrolled .button-icon-link { border-color: var(--text); }
.button-icon-link:hover { background: var(--accent); border-color: var(--accent); color: #fff !important; }
.button-icon-link .button-icon {
  width: 32px; height: 32px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-size: 12px; transition: background 0.3s;
}
.button-icon-link:hover .button-icon { background: #fff; color: var(--accent); }

/* Burger */
.burger-dots {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; border-radius: 50%; transition: background 0.3s;
}
.burger-dots:hover { background: rgba(255,255,255,0.15); }
.clapat-header.scrolled .burger-dots:hover { background: rgba(0,0,0,0.05); }
#menu-burger { width: 22px; height: 16px; position: relative; }
#menu-burger span {
  display: block; position: absolute; height: 2px; width: 100%; background: #fff;
  border-radius: 2px; transition: all 0.35s cubic-bezier(0.645,0.045,0.355,1);
}
.clapat-header.scrolled #menu-burger span { background: var(--text); }
#menu-burger span:nth-child(1) { top: 0; }
#menu-burger span:nth-child(2) { top: 7px; }
#menu-burger span:nth-child(3) { top: 14px; }
.burger-dots.active #menu-burger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.burger-dots.active #menu-burger span:nth-child(2) { opacity: 0; }
.burger-dots.active #menu-burger span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 99; background: var(--primary);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav-overlay a {
  font-family: var(--font-display); font-size: 32px; color: #fff;
  transform: translateY(20px); opacity: 0; transition: transform 0.4s, opacity 0.4s, color 0.3s;
}
.mobile-nav-overlay.active a { transform: translateY(0); opacity: 1; }
.mobile-nav-overlay a:hover { color: var(--accent); }
.mobile-nav-overlay a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-overlay a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-overlay a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-overlay a:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav-overlay a:nth-child(6) { transition-delay: 0.35s; }

/* ========== HERO ========== */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
  isolation: isolate;
  contain: paint;
}
#hero .video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: videoFadeIn 1.5s ease-out;
}
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 25, 0.45) 0%,
    rgba(10, 10, 25, 0.60) 50%,
    rgba(10, 10, 25, 0.70) 100%
  );
  z-index: 0;
  pointer-events: none;
}
@keyframes videoFadeIn {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}
#hero-styles {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}
#hero-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 800px;
}
#hero-caption h1 {
  font-family: var(--font-display); font-size: clamp(36px, 5vw, 72px);
  color: #fff; line-height: 1.1; margin-bottom: 24px; font-weight: 400;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}
.hero-line { display: inline-block; opacity: 0; animation: heroTextReveal 0.8s ease-out forwards; }
.hero-line:nth-child(1) { animation-delay: 0.3s; }
.hero-line:nth-child(2) { animation-delay: 0.5s; }
.hero-line:nth-child(3) { animation-delay: 0.7s; }
.hero-accent { color: var(--accent); font-style: italic; text-shadow: 0 2px 20px rgba(232, 102, 42, 0.35); }
.hero-sub { opacity: 0; animation: heroTextReveal 0.8s ease-out 1s forwards; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
@keyframes heroTextReveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
#hero-caption p {
  font-size: clamp(14px, 1.4vw, 18px); color: rgba(255,255,255,0.8);
  line-height: 1.6; max-width: 500px; margin: 0 auto; font-weight: 300;
}
.mute-btn {
  position: absolute; top: 50%; right: 20px; transform: translateY(-50%);
  z-index: 20; background: rgba(0,0,0,0.5); border: none; padding: 12px 14px;
  border-radius: 50%; color: #fff; cursor: pointer; font-size: 18px;
  backdrop-filter: blur(4px); transition: 0.3s;
}
.mute-btn:hover { background: rgba(0,0,0,0.7); }
#hero-footer {
  position: absolute; bottom: 40px; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 10px;
}
#hero-footer.has-border {
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-footer-left {
  display: flex; align-items: center; gap: 20px;
}
.button-wrap {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
}
.button-wrap.left {
  flex-direction: row;
}
.icon-wrap.parallax-wrap {
  position: relative;
}
.button-icon.parallax-element {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px;
  transition: all 0.3s;
}
.button-wrap:hover .button-icon.parallax-element {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5);
}
.button-text {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.button-text span {
  position: relative;
}
.button-text span::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: #fff;
  transition: width 0.3s;
}
.button-wrap:hover .button-text span::after {
  width: 100%;
}
.scroll-down {
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
#hero-footer .scroll-line {
  width: 1px; height: 60px; background: rgba(255,255,255,0.3); position: relative; overflow: hidden;
}
#hero-footer .scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: #fff; animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 50% { top: 0; } 100% { top: 100%; } }
#hero-footer span {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.6);
}

/* ========== CLIENT MARQUEE ========== */
.moving-gallery {
  padding: 50px 0; overflow: hidden; background: var(--bg);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.fw-gallery .wrapper-gallery {
  display: inline-flex; align-items: flex-end; margin: 0; padding: 0; clear: both;
}
.bw-gallery .wrapper-gallery {
  display: inline-flex; align-items: flex-start; margin: 0; padding: 0;
}
.moving-gallery li {
  position: relative; width: 7.5vw; padding-left: 10px; padding-right: 10px;
  box-sizing: border-box; margin: 10px 0; list-style: none;
}
.moving-gallery li img {
  height: auto; margin: 0px; border: 1px solid rgba(255, 255, 255, 0.15);
}
.rounded-borders .moving-gallery li img {
  border-radius: 12px;
}
.gallery-row {
  display: flex; width: max-content;
}
.gallery-row ul {
  display: flex; gap: 40px; padding: 0 20px; align-items: center;
}
.gallery-row ul li {
  flex-shrink: 0; width: 130px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  filter: grayscale(100%); opacity: 0.45; transition: all 0.4s;
}
.gallery-row ul li:hover { filter: grayscale(0%); opacity: 1; }
.gallery-row ul li img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-row-2 { margin-top: 10px; }

/* ========== ABOUT + STATS (Pinned Layout) ========== */
.about-section {
  position: relative; padding: 140px 0 100px; overflow: hidden; background: var(--bg);
}
.about-layout {
  display: flex; gap: 80px; max-width: 1400px; margin: 0 auto; padding: 0 80px;
}
.about-left { flex: 1; position: sticky; top: 140px; height: fit-content; }
.about-left .section-label {
  justify-content: flex-start;
  text-align: left;
}
.section-label {
  font-size: 11px; letter-spacing: 5px; text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px; font-weight: 600; display: flex; justify-content: center; align-items: center;
}
.about-left h2 {
  font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400; line-height: 1.2; margin-bottom: 24px; color: var(--text);
}
.about-left h2 span { color: var(--primary); }
.about-left p { color: var(--text-muted); line-height: 1.8; font-size: 15px; }
.about-right { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.stat-card {
  background: var(--bg-alt); border-radius: 16px; padding: 36px;
  transition: transform 0.4s, box-shadow 0.4s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.06); }
.stat-card .stat-number {
  font-family: 'Roboto', sans-serif; font-size: 32px;
  color: var(--primary); line-height: 1; margin-bottom: 8px; font-weight: 500;
}
.stat-card .stat-label {
  font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; font-weight: 500;
}
.stat-card .stat-desc { margin-top: 12px; color: var(--text-muted); font-size: 14px; line-height: 1.7; }

@media (max-width: 1024px) {
  .about-layout { flex-direction: column; gap: 40px; padding: 0 30px; }
  .about-left { position: static; }
}

/* ========== EXPERTISE ========== */
.expertise-section { padding: 100px 0; text-align: center; background: var(--bg); }
.expertise-section h2 {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 44px);
  color: var(--text); font-weight: 400; max-width: 700px; margin: 0 auto; line-height: 1.3;
}

/* ========== SERVICES CAROUSEL ========== */
.services-section {
  padding: 100px 0 80px;
  background: var(--bg);
  overflow: hidden;
}

.services-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 40px;
}

.services-header .section-label {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}

.services-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  color: var(--text);
  font-weight: 400;
  margin-bottom: 20px;
}

.services-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.services-cta .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.services-cta .cta-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 102, 42, 0.3);
}

.services-cta .cta-btn i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.services-cta .cta-btn:hover i {
  transform: translateX(4px);
}

.services-carousel-wrapper {
  overflow: hidden;
  padding: 0 0 20px;
}

.services-carousel {
  display: flex;
  gap: 24px;
  padding: 0 60px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.services-carousel::-webkit-scrollbar {
  display: none;
}

.service-card {
  flex: 0 0 340px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(46, 46, 159, 0.2);
}

.service-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card-img img[src*="production.jpg"] {
  object-position: top center;
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.service-card-body {
  padding: 28px;
}

.service-card-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 16px;
}

.service-card-list {
  list-style: none;
  margin-bottom: 20px;
}

.service-card-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 16px;
}

.service-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.service-card-list li:last-child {
  border-bottom: none;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-card-link i {
  transition: transform 0.3s;
}

.service-card:hover .service-card-link i {
  transform: translateX(6px);
}

@media (max-width: 1024px) {
  .services-carousel {
    padding: 0 30px;
    gap: 20px;
  }

  .service-card {
    flex: 0 0 300px;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 60px 0;
  }

  .services-carousel {
    padding: 0 20px;
    gap: 16px;
  }

  .service-card {
    flex: 0 0 280px;
  }

  .service-card-img {
    height: 180px;
  }

  .service-card-body {
    padding: 24px;
  }
}

/* ========== INDUSTRIES CAROUSEL ========== */
.industries-section {
  padding: 0 0 80px; background: var(--bg);
}
.industry-heading-section {
  padding: 80px 0 40px; text-align: center;
}
.industry-heading-section h2 {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 44px);
  color: var(--text); font-weight: 400; margin-bottom: 16px;
}
.industry-heading-section p { color: var(--text-muted); font-size: 15px; max-width: 600px; margin: 0 auto; }

.industries-carousel-wrap {
  position: relative; max-width: 1400px; margin: 0 auto; padding: 0 60px;
}
.industries-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none; padding: 10px 0;
}
.industries-track::-webkit-scrollbar { display: none; }

.industry-card {
  flex: 0 0 320px; height: 420px; position: relative; overflow: hidden;
  border-radius: 12px; cursor: pointer;
}
.industry-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.industry-card:hover img { transform: scale(1.05); }
.industry-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  border-radius: 12px;
}
.industry-card-caption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; z-index: 2;
}
.industry-card-caption h5 {
  font-family: var(--font-display); font-size: 18px; color: #fff; font-weight: 400;
}

.industries-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: var(--primary); color: #fff; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.3s, transform 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.industries-arrow:hover { background: var(--accent); transform: translateY(-50%) scale(1.08); }
.industries-arrow-left { left: 0; }
.industries-arrow-right { right: 0; }

@media (max-width: 1024px) {
  .industry-heading-section { padding: 50px 0 30px; }
  .industries-carousel-wrap { padding: 0 40px; }
  .industry-card { flex: 0 0 260px; height: 360px; }
  .industries-arrow { width: 40px; height: 40px; font-size: 14px; }
}
@media (max-width: 640px) {
  .industries-carousel-wrap { padding: 0 16px; }
  .industry-card { flex: 0 0 220px; height: 300px; }
  .industries-arrow { width: 36px; height: 36px; font-size: 12px; }
  .industries-arrow-left { left: -4px; }
  .industries-arrow-right { right: -4px; }
}

/* ========== PARALLAX TEXT SECTION ========== */
.parallax-section {
  position: relative;
  height: 50vh;
  min-height: 350px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  isolation: isolate;
  contain: paint;
}
.parallax-bg {
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  bottom: -100px;
  background-image: url('../images/parallax-image.png');
  background-size: cover;
  background-position: center;
  z-index: 1;
  will-change: transform;
}
.parallax-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.55); z-index: 1; }
.parallax-content {
  position: relative; z-index: 5; text-align: center; padding: 20px 24px; max-width: 900px;
  width: 100%; display: block; visibility: visible; opacity: 1;
  margin: 0 auto;
}
.parallax-content h2 {
  font-family: var(--font-display); font-size: clamp(26px, 4vw, 52px);
  font-weight: 400; line-height: 1.35; color: #fff;
  display: block; visibility: visible; opacity: 1; margin: 0;
}
.parallax-content h2 span { color: var(--accent); font-style: italic; }

/* ========== NATIONWIDE CTA ========== */
.nationwide-section { padding: 120px 0; text-align: center; background: var(--bg); }
.nationwide-section h2 {
  font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400; line-height: 1.2; margin-bottom: 50px; color: var(--text);
}
.nationwide-section h2 span { color: var(--accent); }
.india-map-wrap { position: relative; max-width: 500px; margin: 0 auto 50px; }
.india-map-wrap img { width: 100%; height: auto; opacity: 0.7; transition: opacity 0.4s; }
.india-map-wrap:hover img { opacity: 1; }

.cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 44px; border: 2px solid var(--accent); border-radius: 50px;
  font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text); background: transparent; cursor: pointer;
  transition: all 0.4s; position: relative; overflow: hidden;
}
.cta-btn::before {
  content: ''; position: absolute; inset: 0; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform 0.4s; z-index: -1;
}
.cta-btn:hover::before { transform: scaleX(1); transform-origin: left; }
.cta-btn:hover { color: #fff; }
.cta-btn i { transition: transform 0.3s; }
.cta-btn:hover i { transform: translateX(4px); }

/* ========== CONTACT BAR ========== */
.contact-bar {
  background: var(--primary); padding: 40px 0;
}
.contact-bar .container {
  max-width: 1200px; margin: 0 auto; padding: 0 80px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.contact-bar-item { display: flex; align-items: center; gap: 12px; color: #fff; }
.contact-bar-item i { font-size: 20px; opacity: 0.8; }
.contact-bar-item span { font-size: 14px; }

/* ========== FOOTER (Light Theme) ========== */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); }
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 80px; border-bottom: 1px solid var(--border);
}
.footer-back-top {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted); transition: color 0.3s;
}
.footer-back-top:hover { color: var(--text); }
.footer-back-top svg { width: 14px; height: 14px; fill: currentColor; transition: transform 0.3s; }
.footer-back-top:hover svg { transform: translateY(-3px); }
.footer-socials { display: flex; gap: 20px; }
.footer-socials a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-muted); transition: all 0.3s;
}
.footer-socials a:hover {
  background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px);
}
.footer-main {
  display: flex; justify-content: space-between; padding: 50px 80px; gap: 60px;
}
.footer-col h4 {
  font-family: var(--font-display); font-size: 16px; font-weight: 400;
  margin-bottom: 20px; color: var(--text);
}
.footer-col p { font-size: 13px; line-height: 1.8; color: var(--text-muted); max-width: 300px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px; color: var(--text-muted); transition: all 0.3s;
  display: flex; align-items: center; gap: 8px;
}
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-col ul li a i { font-size: 10px; color: var(--accent); }
.footer-col-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-col-contact a, .footer-col-contact span {
  font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 10px;
  transition: color 0.3s;
}
.footer-col-contact a:hover { color: var(--accent); }
.footer-col-contact i { color: var(--accent); width: 16px; text-align: center; }
.footer-bottom {
  padding: 20px 80px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--text-muted); letter-spacing: 1px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--text-muted); transition: color 0.3s; }
.footer-bottom-links a:hover { color: var(--accent); }

@media (max-width: 1024px) {
  .footer-top, .footer-main, .footer-bottom { padding-left: 30px; padding-right: 30px; }
}
@media (max-width: 768px) {
  /* Footer Top: Sleek horizontal bar */
  .footer-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
  }
  .footer-back-top {
    font-size: 11px;
    letter-spacing: 1.5px;
    gap: 6px;
  }
  .footer-back-top svg {
    width: 12px;
    height: 12px;
  }
  .footer-socials {
    gap: 10px;
  }
  .footer-socials a {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  /* Footer Main: Modern 2-Column Grid */
  .footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    padding: 28px 20px 20px;
  }

  /* Brand Column */
  .footer-main .footer-col:first-child {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
  }
  .footer-main .footer-col:first-child .logo {
    justify-content: center;
    margin-bottom: 8px !important;
  }
  .footer-main .footer-col:first-child p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    text-align: center;
    max-width: 290px;
    margin: 0 auto;
  }

  /* Quick Links & Our Services side-by-side */
  .footer-main .footer-col:nth-child(2) {
    grid-column: 1;
    width: 100%;
  }
  .footer-main .footer-col:nth-child(3) {
    grid-column: 2;
    width: 100%;
  }
  .footer-col h4 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--text);
  }
  .footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .footer-col ul li a {
    font-size: 12.5px;
    gap: 6px;
    color: var(--text-muted);
    line-height: 1.3;
  }
  .footer-col ul li a i {
    font-size: 8px;
    opacity: 0.8;
  }

  /* Contact Column */
  .footer-main .footer-col:nth-child(4) {
    grid-column: 1 / -1;
    width: 100%;
    padding-top: 18px;
    border-top: 1px solid var(--border);
  }
  .footer-main .footer-col:nth-child(4) h4 {
    margin-bottom: 12px;
    text-align: left;
  }
  .footer-col-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0, 0, 0, 0.02);
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
  }
  .footer-col-contact a,
  .footer-col-contact span {
    font-size: 12.5px;
    gap: 10px;
    line-height: 1.4;
    color: var(--text-muted);
  }
  .footer-col-contact a:hover {
    color: var(--accent);
  }
  .footer-col-contact i {
    font-size: 12px;
    width: 16px;
    flex-shrink: 0;
  }

  /* Footer Bottom */
  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 16px 20px 24px;
  }
  .footer-bottom span {
    font-size: 11px;
    color: var(--text-muted);
  }
  .footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 16px;
  }
  .footer-bottom-links a {
    font-size: 11px;
    color: var(--text-muted);
  }

  /* Floating WhatsApp on mobile */
  .whatsapp-float {
    width: 48px !important;
    height: 48px !important;
    bottom: 20px !important;
    right: 16px !important;
  }
  .whatsapp-float i {
    font-size: 24px !important;
  }
}

/* ========== FLOATING WHATSAPP BUTTON ========== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

.whatsapp-float i {
  font-size: 30px;
  color: #fff;
}

.whatsapp-float .whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #fff;
  color: var(--text);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float i {
    font-size: 26px;
  }
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
  opacity: 0; transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.4,0,0.2,1), transform 0.9s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.text-center { text-align: center; }
.overflow-hidden { overflow: hidden; }

/* ========== COMPREHENSIVE MOBILE RESPONSIVE ========== */

/* Tablet & Small Desktop (max-width: 1024px) */
@media (max-width: 1024px) {
  /* Header */
  #header-container { padding: 0 30px; }
  .clapat-nav-wrapper { display: none; }
  .burger-dots { display: flex; }

  /* Hero */
  #hero-caption h1 { font-size: clamp(28px, 5vw, 48px); }
  #hero-caption p { font-size: clamp(14px, 2vw, 18px); }

  /* Stats */
  .stats-grid { gap: 20px; padding: 0 30px; }
  .stat-card { padding: 30px 24px; }

  /* Parallax */
  .parallax-section { height: 50vh; min-height: 350px; }
  .parallax-content h2 { font-size: clamp(22px, 4vw, 40px); }

  /* CTA Button */
  .cta-btn { padding: 14px 36px; font-size: 12px; letter-spacing: 2px; }

  /* Contact Bar */
  .contact-bar .container { padding: 0 40px; }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* Header & Nav: Logo pinned to left corner, Hamburger pinned to right corner */
  .clapat-header { padding: 0; }
  #header-container {
    padding: 0 20px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .logo { display: flex; align-items: center; }
  .logo img { width: 44px; height: 44px; }
  .burger-dots { width: 44px; height: 44px; margin-left: auto; }
  #menu-burger { width: 22px; height: 16px; }
  .mobile-nav-overlay a { font-size: 26px; }

  /* Hero */
  #hero { height: 100vh; min-height: 600px; }
  #hero-caption { width: 92%; padding: 0 16px; text-align: center; }
  #hero-caption h1 { font-size: clamp(24px, 7vw, 36px); margin-bottom: 16px; text-align: center; }
  #hero-caption p { font-size: clamp(13px, 3.5vw, 16px); margin-bottom: 24px; text-align: center; }

  /* Client Marquee: Significantly Increased Size on Mobile */
  .moving-gallery { padding: 30px 0; }
  .moving-gallery li {
    width: 130px !important;
    padding-left: 8px;
    padding-right: 8px;
    margin: 6px 0;
  }
  .moving-gallery li img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }

  /* Sections General: Centered Content */
  .section-label {
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 12px;
    justify-content: center !important;
    text-align: center !important;
  }
  h2 { font-size: clamp(22px, 6vw, 32px) !important; text-align: center; }

  /* About / Experience GE Difference Section: Centered on Mobile */
  .about-section { padding: 60px 0; text-align: center; }
  .about-layout {
    flex-direction: column;
    padding: 0 20px;
    gap: 36px;
    text-align: center;
  }
  .about-left {
    position: static;
    width: 100%;
    text-align: center;
  }
  .about-left .section-label {
    justify-content: center !important;
    text-align: center !important;
  }
  .about-left h2 { text-align: center; }
  .about-left p { text-align: center; font-size: 14px; line-height: 1.7; }
  .about-right { width: 100%; gap: 16px; }
  .expertise-text {
    padding: 0 20px !important;
    margin: 40px auto 0 !important;
    text-align: center !important;
  }
  .expertise-text p {
    text-align: center !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
  }

  /* About Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 0 20px; }
  .stat-card { padding: 24px 16px; text-align: center; }
  .stat-card .stat-number { font-size: clamp(24px, 6vw, 32px); text-align: center; }
  .stat-card .stat-label { font-size: 10px; letter-spacing: 1px; text-align: center; }
  .stat-card .stat-desc { font-size: 12px; margin-top: 8px; text-align: center; }

  /* Services */
  .services-section { padding: 60px 0; text-align: center; }
  .services-header { margin-bottom: 30px; padding: 0 20px; text-align: center; }
  .services-header h2 { margin-bottom: 12px; text-align: center; }
  .services-header p { text-align: center; }
  .services-carousel { padding: 0 20px; gap: 16px; scroll-snap-type: x mandatory; }
  .service-card { flex: 0 0 280px; scroll-snap-align: start; text-align: left; }
  .service-card-img { height: 160px; }
  .service-card-body { padding: 20px; }
  .service-card-body h3 { font-size: 18px; margin-bottom: 12px; }
  .service-card-list { font-size: 13px; gap: 6px; }
  .services-cta { margin-top: 30px; text-align: center; }
  .services-cta .cta-btn { padding: 14px 28px; font-size: 14px; }

  /* Industries */
  .industries-section { padding: 0 0 60px; }
  .industry-heading-section { padding: 40px 20px 24px; }
  .industry-heading-section h2 { margin-bottom: 12px; }
  .industry-heading-section p { font-size: 14px; }
  .industries-carousel-wrap { padding: 0 16px; }
  .industry-card { flex: 0 0 200px; height: 260px; }

  /* Parallax */
  .parallax-section { height: 45vh; min-height: 300px; }
  .parallax-bg { inset: -40px; }
  .parallax-content { padding: 0 20px; }
  .parallax-content h2 { font-size: clamp(20px, 6vw, 32px); }

  /* Nationwide CTA */
  .nationwide-section { padding: 60px 20px; }
  .nationwide-section h2 { margin-bottom: 30px; font-size: clamp(22px, 6vw, 32px); }
  .india-map-wrap { max-width: 280px; margin-bottom: 30px; }
  .cta-btn { padding: 12px 28px; font-size: 11px; letter-spacing: 2px; }

  /* Contact Bar */
  .contact-bar { padding: 24px 0; }
  .contact-bar .container { flex-direction: column; align-items: flex-start; padding: 0 20px; gap: 16px; }
  .contact-bar-item span { font-size: 13px; }

}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  /* Hero */
  #hero-caption h1 { font-size: 28px; line-height: 1.3; }
  #hero-caption p { font-size: 14px; }

  /* Stats - Single Column on Very Small Screens */
  .stats-grid { grid-template-columns: 1fr; }

  /* Services */
  .service-card { flex: 0 0 260px; }
  .service-card-img { height: 140px; }
  .service-card-body { padding: 16px; }
  .service-card-body h3 { font-size: 16px; }
  .service-card-list { font-size: 12px; }

  /* Industries */
  .industry-card { flex: 0 0 170px; height: 230px; }
  .industry-card-content { padding: 16px; }
  .industry-card h3 { font-size: 16px; margin-bottom: 8px; }
  .industry-card p { font-size: 12px; }

  /* Parallax */
  .parallax-section { height: 40vh; min-height: 250px; }
  .parallax-content h2 { font-size: 22px; }

  /* Contact Bar */
  .contact-bar-item { width: 100%; }
  .contact-bar-item i { font-size: 16px; }
  .contact-bar-item span { font-size: 12px; }

  /* Mobile Nav */
  .mobile-nav-overlay a { font-size: 22px; }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .industry-card:hover,
  .cta-btn:hover,
  .job-card:hover {
    transform: none;
    box-shadow: none;
  }

  .service-card:active,
  .industry-card:active {
    transform: scale(0.98);
  }
}

/* Safe area for notched phones */
@supports (padding: env(safe-area-inset-bottom)) {
  .whatsapp-float {
    bottom: calc(20px + env(safe-area-inset-bottom));
    right: calc(20px + env(safe-area-inset-right));
  }

  .footer-bottom {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
}
