/* ===================================================
   SOMNATH ALUMINIUM - Premium Design System
   Inspired by Aaryaveer Infra Reference Layout
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300..700;1,9..40,300..700&family=Manrope:wght@300;400;600;700;800&display=swap');

/* ─── CSS Variables ─────────────────────────────── */
:root {
  --primary:        #12223B;
  --primary-dark:   #0a1628;
  --accent:         #FFB703;
  --accent-dark:    #e6a500;
  --secondary-bg:   #E9F7FE;
  --white:          #FFFFFF;
  --text-body:      #667282;
  --text-light:     rgba(255,255,255,0.75);
  --divider:        rgba(18,34,59,0.12);
  --divider-dark:   rgba(255,255,255,0.10);

  --font-head:  "Manrope", sans-serif;
  --font-body:  "DM Sans", sans-serif;

  --ease-out:   cubic-bezier(0.25, 1, 0.5, 1);
  --tr-fast:    0.25s ease;
  --tr-normal:  0.4s var(--ease-out);
  --tr-slow:    0.75s var(--ease-out);

  --max-w:      1280px;
  --sh-sm:      0 4px 16px rgba(0,0,0,0.06);
  --sh-md:      0 12px 32px rgba(0,0,0,0.08);
  --sh-lg:      0 24px 60px rgba(0,0,0,0.12);
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
}

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; transition: var(--tr-fast); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--primary);
}

/* ─── Page Transition ───────────────────────────── */
body.page-enter {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
  transition: opacity 0.55s ease, transform 0.55s ease, filter 0.55s ease;
}
body.page-enter.page-loaded  { opacity:1; transform:none; filter:none; }
body.page-enter.page-leaving { opacity:0; transform:translateY(-14px); filter:blur(4px); }

/* ─── Preloader ─────────────────────────────────── */
.preloader {
  position: fixed; inset: 0;
  z-index: 99999;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease;
}
.preloader-ring {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--white);
  border-right-color: var(--white);
  animation: spin 1.4s linear infinite;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.preloader-logo {
  width: 48px; height: 48px;
  object-fit: contain;
  background: var(--white);
  border-radius: 10px;
  padding: 4px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Magic Cursor ──────────────────────────────── */
.cb-cursor {
  position: fixed; top:0; left:0;
  pointer-events: none;
  z-index: 99998;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.3s;
}
.cb-cursor.-visible { opacity: 1; }
.cb-cursor::before {
  content: "";
  position: absolute;
  top: -20px; left: -20px;
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 50%;
  transform: scale(0.25);
  transition: transform 0.35s var(--ease-out), background 0.25s;
}
.cb-cursor.-pointer::before  { transform: scale(0.35); }
.cb-cursor.-active::before   { transform: scale(0.15); }

@supports (mix-blend-mode: exclusion) {
  .cb-cursor.-opaque         { mix-blend-mode: exclusion; }
  .cb-cursor.-opaque::before { background: #fff; transform: scale(1); }
}

.cb-cursor-text {
  position: absolute; top:-18px; left:-18px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 10px; font-weight: 800;
  text-transform: uppercase; color: #fff;
  opacity: 0; transform: scale(0) rotate(10deg);
  transition: opacity 0.3s, transform 0.3s;
}
.cb-cursor.-text::before    { background: var(--primary); transform: scale(1.8); }
.cb-cursor.-text .cb-cursor-text { opacity:1; transform: scale(1) rotate(0deg); }

/* ─── IntersectionObserver Reveals ─────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-up.in-view { opacity:1; transform:none; }

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal-left.in-view { opacity:1; transform:none; }

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal-right.in-view { opacity:1; transform:none; }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ─── GSAP Image Mask Reveal ────────────────────── */
.img-reveal {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  visibility: hidden;
}
.img-reveal img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: left center;
}

/* ─── Utility ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.section-pad { padding: 7rem 0; }
.bg-dark      { background: var(--primary); }
.bg-light     { background: var(--secondary-bg); }
.bg-white     { background: var(--white); }
.text-white   { color: var(--white) !important; }
.text-gold    { color: var(--accent) !important; }
.text-center  { text-align: center; }

/* ─── Section Labels & Headings ─────────────────── */
.label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-head { margin-bottom: 3.5rem; }
.section-head.centered { text-align: center; max-width: 720px; margin-left:auto; margin-right:auto; }
.section-head h2 { font-size: clamp(2rem,4vw,3.25rem); color: var(--primary); }
.section-head.on-dark h2 { color: var(--white); }
.section-head p  { margin-top: 1.25rem; font-size: 1.0625rem; }

/* ─── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--tr-normal);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }

/* Primary – gold fill */
.btn-primary {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

/* Outline – white border */
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { background: var(--accent); border-color: var(--accent); color: var(--primary); }

/* Dark – navy fill */
.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-dark:hover { background: var(--primary-dark); }

/* Arrow icon */
.btn .arrow {
  display: inline-flex;
  width: 18px; height: 18px;
  transition: transform 0.25s;
}
.btn:hover .arrow { transform: translateX(4px); }

/* ─── Top Contact Bar ───────────────────────────── */
.top-bar {
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.65rem 0;
  transition: background 0.4s ease;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1;
}
.top-bar-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: var(--accent);
}
.top-bar-item a:hover { color: var(--accent); }
.top-bar-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.top-bar-socials a {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-head);
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.07);
  width: 30px; height: 30px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--tr-fast);
}
.top-bar-socials a:hover { background: var(--accent); color: var(--primary); }

/* ─── Header / Navigation ───────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

/* top-bar lives INSIDE site-header */
.site-header .top-bar {
  overflow: hidden;
  max-height: 48px;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
  opacity: 1;
}
.site-header.scrolled .top-bar {
  max-height: 0;
  opacity: 0;
  padding: 0;
}

/* On scroll: compact nav */
.site-header.scrolled {
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* navbar shell */
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
  background: transparent;
  margin: 1rem 2rem;
  position: relative;
  transition: padding 0.35s var(--ease-out), margin 0.35s var(--ease-out), border-color 0.35s ease;
}
.nav-shell::before {
  content: '';
  position: absolute;
  top: -10px; left: 260px;
  width: 44px; height: 10px;
  background: var(--accent);
  clip-path: polygon(0 100%, 12% 0, 100% 0, 88% 100%);
  transition: opacity 0.3s ease;
}
.scrolled .nav-shell {
  background: transparent;
  border-color: transparent;
  margin: 0;
  border-radius: 0;
  backdrop-filter: none;
  padding: 0.9rem 2rem;
}
.scrolled .nav-shell::before { opacity: 0; pointer-events: none; }

/* brand */
.nav-brand img {
  height: 68px; width: auto;
  background: var(--white);
  border-radius: 10px;
  padding: 4px;
  border: 2px solid rgba(255,255,255,0.8);
  box-shadow: var(--sh-sm);
  transition: height 0.35s var(--ease-out);
}
.scrolled .nav-brand img {
  height: 52px;
}

/* nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  transition: var(--tr-fast);
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); background: rgba(255,183,3,0.1); }

/* nav actions */
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-cta {
  font-family: var(--font-head);
  font-size: 14px; font-weight: 800;
  padding: 0.7rem 1.5rem;
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius-sm);
  transition: var(--tr-fast);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-cta:hover { background: var(--accent-dark); }

/* hamburger */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block; width: 24px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--tr-normal);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ─── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  overflow: hidden;
  padding: 11rem 0 8rem;  /* header(48px topbar + ~80px nav) = ~128px */
}

/* background decoration */
.hero-bg-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,183,3,0.08);
}
.hero-bg-ring:nth-child(1) { width: 600px; height: 600px; top: -200px; right: -200px; }
.hero-bg-ring:nth-child(2) { width: 400px; height: 400px; bottom: -100px; left: -100px; border-color: rgba(255,183,3,0.05); }
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content .label { font-size: 14px; }

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 1rem 0 1.75rem;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 2.75rem;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 1.25rem; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--sh-lg);
}
.hero-img-wrap img {
  width: 100%; height: 480px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.hero-img-wrap:hover img { transform: scale(1.04); }

.hero-badge {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-head);
  font-weight: 800;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--sh-lg);
  line-height: 1.2;
}
.hero-badge strong { display: block; font-size: 2.5rem; }
.hero-badge span   { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ─── Stats Strip ────────────────────────────────── */
.stats-strip {
  background: var(--accent);
  padding: 3.5rem 0;
}
.stats-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: center;
}
.stat-item h3 {
  font-size: clamp(2rem,4vw,3.25rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-item p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(18,34,59,0.75);
  margin-top: 0.4rem;
}

/* ─── Two-Column Split Grid ──────────────────────── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split-grid.reverse .split-img { order: 2; }
.split-grid.reverse .split-content { order: 1; }

.split-img { position: relative; }
.split-img img {
  border-radius: var(--radius-md);
  box-shadow: var(--sh-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.split-content .label { margin-bottom: 0.75rem; }
.split-content h2 { font-size: clamp(1.75rem,3.5vw,2.75rem); margin-bottom: 1.25rem; }
.split-content p  { margin-bottom: 1rem; }

/* Check list (about page) */
.check-list { list-style: none; margin: 1.75rem 0; }
.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  font-size: 0.9375rem;
  color: var(--primary);
  font-weight: 600;
}
.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900;
  margin-top: 2px;
}

/* ─── Why Cards Grid (3-col) ─────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  transition: var(--tr-normal);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease-out);
  transform-origin: left;
}
.card:hover::before { transform: scaleX(1); }
.card:hover {
  box-shadow: var(--sh-lg);
  border-color: transparent;
  transform: translateY(-6px);
}

.card-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: var(--secondary-bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.75rem;
  transition: var(--tr-fast);
}
.card-icon svg { width: 30px; height: 30px; stroke: var(--primary); }
.card:hover .card-icon { background: var(--primary); }
.card:hover .card-icon svg { stroke: var(--accent); }

.card h3 { font-size: 1.2rem; margin-bottom: 0.65rem; }
.card p   { font-size: 0.9375rem; }

/* Dark variant cards */
.card.dark-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.card.dark-card h3 { color: var(--white); }
.card.dark-card p  { color: var(--text-light); }
.card.dark-card .card-icon { background: rgba(255,183,3,0.12); }
.card.dark-card .card-icon svg { stroke: var(--accent); }
.card.dark-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,183,3,0.3); }

/* ─── Deliver Items (2-col on dark) ─────────────── */
.deliver-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.deliver-item {
  background: var(--secondary-bg);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  transition: var(--tr-normal);
}
.deliver-item:hover {
  background: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
}
.deliver-item h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.deliver-item:hover h3 { color: var(--white); }
.deliver-item p  { font-size: 0.9375rem; }
.deliver-item:hover p { color: var(--text-light); }

/* ─── Infrastructure Grid (3-col cards) ──────────── */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.infra-card {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--tr-normal);
}
.infra-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}
.infra-card-top {
  background: var(--primary);
  padding: 2.5rem;
  display: flex; align-items: center; justify-content: center;
}
.infra-card-top svg { width: 56px; height: 56px; stroke: var(--accent); }
.infra-card-body { padding: 2rem; }
.infra-card-body h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.infra-card-body ul { list-style: none; }
.infra-card-body ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-body);
}
.infra-card-body ul li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 900;
  font-size: 12px;
}

/* ─── Contact Layout ─────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-blocks { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-block {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--divider-dark);
  border-radius: var(--radius-md);
  transition: var(--tr-normal);
}
.contact-block:hover { border-color: var(--accent); background: rgba(255,183,3,0.06); }
.contact-block-icon {
  width: 48px; height: 48px;
  background: rgba(255,183,3,0.12);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-block-icon svg { width: 24px; height: 24px; stroke: var(--accent); }
.contact-block h4 { font-size: 1.05rem; color: var(--white); margin-bottom: 0.35rem; }
.contact-block p, .contact-block a { font-size: 0.9375rem; color: var(--text-light); }
.contact-block a:hover { color: var(--accent); }

.contact-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--divider-dark);
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.contact-form-wrap h2 { color: var(--white); font-size: 2rem; margin-bottom: 2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 13px; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.5rem;
}
.form-field {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-size: 15px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--white);
  transition: var(--tr-fast);
}
.form-field::placeholder { color: rgba(255,255,255,0.3); }
.form-field:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,183,3,0.06);
}
textarea.form-field { min-height: 130px; resize: vertical; }

/* Map */
.map-wrap {
  margin-top: 4rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--divider);
  box-shadow: var(--sh-md);
  height: 420px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ─── Spec Table ─────────────────────────────────── */
.table-wrap {
  width: 100%; overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--divider);
  box-shadow: var(--sh-sm);
}
.spec-table {
  width: 100%; border-collapse: collapse;
  background: var(--white);
}
.spec-table th, .spec-table td { padding: 1.1rem 1.75rem; border-bottom: 1px solid var(--divider); text-align: left; }
.spec-table th { background: var(--primary); color: var(--white); font-family: var(--font-head); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: var(--secondary-bg); }
.spec-table td strong { font-family: var(--font-head); font-weight: 800; color: var(--primary); }

/* ─── Product Carousel / Swiper ──────────────────── */
.carousel-wrap { padding: 2rem 0 4rem; }
.swiper-pagination-bullet-active { background: var(--accent) !important; }
.slide-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--divider); }
.slide-card img { height: 240px; width: 100%; object-fit: cover; }
.slide-card-body { padding: 1.25rem; }
.slide-card-body h4 { font-size: 1rem; }

/* ─── Page Header Banner ─────────────────────────── */
.page-banner {
  position: relative;
  padding: 13rem 0 7rem;
  background: linear-gradient(135deg, rgba(8,20,38,0.94), rgba(18,34,59,0.85)),
              url('../images/footer-banner.jpeg') center/cover no-repeat;
  text-align: center;
}
.page-banner h1 { font-size: clamp(2.5rem,6vw,4rem); color: var(--white); margin-bottom: 1rem; }
.page-banner .breadcrumbs {
  display: flex; justify-content: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.page-banner .breadcrumbs a:hover { color: var(--accent); }

/* ─── Footer ─────────────────────────────────────── */
footer {
  background: var(--primary-dark);
  border-top: 4px solid var(--accent);
  padding: 5.5rem 0 0;
  color: rgba(255,255,255,0.65);
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.75fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
}
.footer-brand-logo {
  height: 80px; width: auto;
  background: var(--white);
  border-radius: 10px;
  padding: 5px;
  margin-bottom: 1.25rem;
}
.footer-brand p { line-height: 1.8; margin-bottom: 1rem; }

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  position: relative;
}
.footer-col h4::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--accent);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a {
  display: flex; align-items: center; gap: 0.5rem;
  transition: var(--tr-fast);
  color: rgba(255,255,255,0.6);
}
.footer-links a::before { content: '→'; color: var(--accent); font-weight: 700; }
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-list { list-style: none; }
.footer-contact-list li {
  display: flex; gap: 0.75rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.footer-contact-list svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  stroke: var(--accent);
  margin-top: 3px;
}
.footer-contact-list a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a:hover { color: var(--white); }

/* ─── Text Split Animation ───────────────────────── */
.text-split span {
  display: inline-block;
  opacity: 0;
  transform: translateX(20px);
}
.text-split.split-done span { /* animated by GSAP */ }

/* ─── Mobile Nav Menu ────────────────────────────── */
@media (max-width: 900px) {
  .nav-shell::before { display: none; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0; top: 0;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    z-index: 850;
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1.25rem; }
  .nav-actions .nav-cta { display: none; }
}

/* ─── Responsive Breakpoints ─────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-content { text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-img-wrap img { height: 360px; }
  .hero-badge { bottom: -18px; left: -10px; }

  .split-grid { grid-template-columns: 1fr; gap: 3rem; }
  .split-grid.reverse .split-img,
  .split-grid.reverse .split-content { order: unset; }

  .cards-grid { grid-template-columns: repeat(2,1fr); }
  .infra-grid  { grid-template-columns: repeat(2,1fr); }
  .deliver-grid { grid-template-columns: repeat(2,1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .section-pad { padding: 5rem 0; }
  .nav-shell { margin: 0.5rem 1rem; padding: 0.85rem 1.25rem; }
  .top-bar-contacts { gap: 1rem; }
  .hero { padding: 10rem 0 6rem; }
  .hero-title { font-size: clamp(2rem,7vw,3rem); }
  .stats-row { gap: 1.5rem; }
  .cards-grid  { grid-template-columns: 1fr; }
  .infra-grid  { grid-template-columns: 1fr; }
  .deliver-grid { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 2rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .top-bar-item:last-child { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .hero-badge { position: static; margin-top: 1.5rem; display: inline-block; border-radius: var(--radius-sm); }
}

/* ─── NEW STYLES: Lightbox, WhatsApp float, WhatsApp CTA, Gallery grid, Timeline ─── */

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: transparent;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(18, 140, 126, 0.3), 0 8px 32px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  color: var(--white);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.floating-whatsapp svg {
  width: 60px;
  height: 60px;
  transition: transform 0.3s;
}
.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.5), 0 12px 40px rgba(0, 0, 0, 0.2);
}
.floating-whatsapp:hover svg {
  transform: rotate(8deg);
}
/* Pulsing glow animation */
.floating-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  z-index: -1;
  animation: whatsapp-pulse 2s infinite;
}
@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* WhatsApp Specs CTA */
.whatsapp-cta-box {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, rgba(18,34,59,0.9), rgba(10,22,40,0.95));
  border: 1px solid rgba(255, 183, 3, 0.25);
  border-radius: var(--radius-md);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--sh-lg);
  position: relative;
  overflow: hidden;
}
.whatsapp-cta-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,183,3,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.whatsapp-cta-box h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-head);
}
.whatsapp-cta-box p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-color: transparent;
  color: var(--white) !important;
  padding: 1.1rem 2.5rem;
  border-radius: var(--radius-sm);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btn-whatsapp:hover {
  background: linear-gradient(135deg, #20ba56, #0e7569);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
.whatsapp-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Card-based Product Gallery Grid */
.gallery-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.gallery-card {
  background: var(--white);
  border: 1px solid rgba(18, 34, 59, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
}

.gallery-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--primary-dark);
  cursor: pointer;
}

.gallery-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.gallery-card:hover .gallery-card-img img {
  transform: scale(1.05);
}

.gallery-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-card-badge {
  display: inline-block;
  align-self: flex-start;
  background: #FDF2E2;
  color: #D48C00;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.95rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
}

.gallery-card-title {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.gallery-card-desc {
  color: var(--text-body);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.gallery-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--primary);
  border: none;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 100%;
  transition: background 0.3s, transform 0.3s;
}

.gallery-card-btn:hover {
  background: var(--accent-dark);
}

@media (max-width: 992px) {
  .gallery-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 85%;
  transform: scale(0.92);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid rgba(255, 183, 3, 0.5);
}
.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}
.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  display: block;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: -50px; right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 36px;
  cursor: pointer;
  transition: transform 0.3s;
  line-height: 1;
}
.lightbox-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

/* Infrastructure Manufacturing Timeline */
.timeline-container {
  position: relative;
  max-width: 680px;
  margin: 3rem auto 0;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
}
.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent) 0%, rgba(255, 183, 3, 0.1) 100%);
  transform: translateX(-50%);
}
.timeline-node {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  margin-bottom: 0.6rem;
  width: 50%;
  padding-right: 1.5rem;
}
.timeline-node:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  margin-left: auto;
  padding-right: 0;
  padding-left: 1.5rem;
}

/* Timeline dots */
.timeline-dot {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--accent);
  box-shadow: 0 0 4px rgba(255, 183, 3, 0.5);
  z-index: 5;
  transition: transform 0.3s;
}
.timeline-node:nth-child(even) .timeline-dot {
  left: -5px;
  right: auto;
}
.timeline-node:hover .timeline-dot {
  transform: translateY(-50%) scale(1.2);
  background: var(--accent);
}

/* Content Card */
.timeline-card {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  box-shadow: var(--sh-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
  position: relative;
  width: 100%;
}
.timeline-card::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--white);
  border-right: 1px solid var(--divider);
  border-top: 1px solid var(--divider);
}
.timeline-node:nth-child(even) .timeline-card::after {
  left: -5px;
  right: auto;
  border-right: none;
  border-top: none;
  border-left: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.timeline-node:hover .timeline-card {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
  border-color: var(--accent);
}
.timeline-step {
  font-family: var(--font-head);
  font-size: 8px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.1rem;
  display: block;
}
.timeline-card h4 {
  font-size: 0.82rem;
  color: var(--primary);
  margin-bottom: 0.1rem;
}
.timeline-card p {
  font-size: 0.7rem;
  color: var(--text-body);
  line-height: 1.4;
}

/* Adjustments for transparent header top-spacing */
.page-banner {
  padding: 15rem 0 7rem;
}

/* Timeline and Grid Responsive Styles */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .timeline-container::before {
    left: 20px;
  }
  .timeline-node {
    width: 100%;
    padding-left: 3.5rem;
    padding-right: 0;
    justify-content: flex-start;
  }
  .timeline-node:nth-child(even) {
    padding-left: 3.5rem;
  }
  .timeline-dot {
    left: 15px !important;
    right: auto !important;
  }
  .timeline-card::after {
    left: -6px !important;
    right: auto !important;
    border-right: none !important;
    border-top: none !important;
    border-left: 1px solid var(--divider) !important;
    border-bottom: 1px solid var(--divider) !important;
  }
  .lightbox-content {
    max-width: 95%;
  }
  .lightbox-close {
    top: 15px;
    right: 15px;
    background: rgba(18, 34, 59, 0.8);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
  }
}

/* Show full uncropped certificate */
.cert-img-wrap {
  overflow: hidden !important;
  height: auto !important;
  aspect-ratio: 563/799 !important;
  max-width: 450px !important;
  margin: 0 auto;
}
.cert-img-wrap a {
  display: block;
  width: 100%;
  height: 100% !important;
}
.cert-img-wrap img {
  aspect-ratio: auto !important;
  object-fit: contain !important;
  width: 100% !important;
  height: 100% !important;
}
