@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --primary-navy: #082B4B;
  --accent-teal: #00B4C6;
  --bg-white: #F7FAFC;
  --dark-section: #041B2D;
  --text-main: #111827;
  --text-muted: #6B7280;
  --glow-accent: rgba(0, 180, 198, 0.25);
  --glow-strong: rgba(0, 180, 198, 0.5);
  
  --font-body: 'Inter', sans-serif;
  --font-ui: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 600; margin-bottom: 24px; }
h3 { font-size: 1.75rem; font-weight: 600; margin-bottom: 16px; }

p { font-family: var(--font-ui); color: var(--text-muted); font-size: 1.125rem; margin-bottom: 24px; }

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 5%; }
.text-center { text-align: center; }

/* --- HEADER (Premium Enterprise) --- */
header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  height: 92px;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 61, 94, 0.08);
  transition: all 0.35s ease;
  display: flex; align-items: center;
}
header.scrolled {
  height: 78px;
  background: #ffffff;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.06);
}

.navbar {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1440px; margin: 0 auto; width: 100%;
  padding: 0 48px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img {
  height: 78px; max-width: 280px;
  object-fit: contain;
  transition: height 0.35s ease;
}
header.scrolled .logo img { height: 64px; }

.nav-links {
  display: flex; gap: 36px; align-items: center;
  list-style: none; margin: 0; padding: 0;
  flex: 1; justify-content: center;
}
.nav-links li a {
  font-family: var(--font-ui); font-weight: 600; font-size: 14px;
  color: #103B5C; transition: color 0.3s ease;
  text-transform: uppercase; letter-spacing: 0.5px;
  position: relative; padding: 4px 0;
  text-decoration: none;
}
.nav-links li a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: linear-gradient(90deg, #16B5C9, #0f8a9a);
  transition: width 0.3s ease; border-radius: 1px;
}
.nav-links li a:hover { color: #16B5C9; }
.nav-links li a:hover::after { width: 100%; }

/* Premium Contact CTA */
.header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 32px;
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, #16B5C9, #0E7490) border-box;
  border-radius: 24px;
  color: #0E7490; font-family: var(--font-ui);
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.8px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0; white-space: nowrap;
}
.header-cta:hover {
  background: linear-gradient(135deg, #16B5C9, #0E7490) padding-box,
              linear-gradient(135deg, #16B5C9, #0E7490) border-box;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(22, 181, 201, 0.35);
  transform: translateY(-2px);
}

/* Hamburger menu toggle */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 6px; padding: 8px; z-index: 1001;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: #103B5C;
  border-radius: 2px; transition: all 0.35s ease;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 4px;
  font-family: var(--font-ui); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase; letter-spacing: 1px;
}

.btn-primary {
  background: var(--accent-teal); color: #fff !important;
  border: 1px solid var(--accent-teal);
  box-shadow: 0 0 20px var(--glow-accent);
}
.btn-primary:hover {
  background: transparent; color: var(--accent-teal) !important;
  box-shadow: 0 0 30px var(--glow-strong);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent; color: var(--accent-teal) !important;
  border: 2px solid var(--accent-teal);
}
.btn-outline:hover {
  background: var(--accent-teal); color: #fff !important;
  box-shadow: 0 0 20px var(--glow-accent);
  transform: translateY(-2px);
}

/* --- HERO SECTION --- */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}

.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(4,27,45,0.85) 0%, rgba(8,43,75,0.55) 50%, rgba(8,43,75,0.4) 100%);
  z-index: 1;
}

.hero-content {
  color: #fff; width: 100%; z-index: 2;
  text-align: left; display: flex; flex-direction: column; align-items: flex-start;
}
.hero h1 { color: #fff; text-shadow: 0 2px 40px rgba(0,0,0,0.4); line-height: 1.1; margin-bottom: 20px; width: 100%; }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 700px; line-height: 1.7; }

.hero-buttons { display: flex; gap: 20px; margin-top: 36px; justify-content: flex-start; }

@keyframes slowZoom { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }

/* --- SECTIONS --- */
section { padding: 120px 0; position: relative; }
.dark-section { background-color: var(--dark-section); color: #fff; }
.dark-section h2, .dark-section h3 { color: #fff; }
.dark-section p { color: rgba(255,255,255,0.7); }

/* --- CAPABILITIES (GLASS CARDS) --- */
.capabilities-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(0,180,198,0.05) 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(8,43,75,0.05) 0%, transparent 40%);
  z-index: -1;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 16px; padding: 48px 40px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(8,43,75,0.03);
  position: relative; overflow: hidden;
}

.glass-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(0,180,198,0.05) 100%);
  opacity: 0; transition: opacity 0.5s; z-index: -1;
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0,180,198,0.3);
  box-shadow: 0 20px 40px rgba(0,180,198,0.1), 0 0 20px var(--glow-accent);
}
.glass-card:hover::before { opacity: 1; }

.card-icon { font-size: 3rem; margin-bottom: 24px; color: var(--accent-teal); }

/* --- VIDEO INTERSTITIAL --- */
.video-interstitial {
  height: 50vh; min-height: 400px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.video-interstitial video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.video-interstitial .overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(4,27,45,0.75); z-index: 1;
}
.video-interstitial h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.5rem); text-align: center; }

/* --- MANUFACTURING COUNTERS --- */
.counter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.counter-item { text-align: center; }
.counter-number { font-family: var(--font-heading); font-size: 4rem; font-weight: 700; color: var(--accent-teal); line-height: 1; margin-bottom: 16px; text-shadow: 0 0 20px var(--glow-accent); }
.counter-label { font-family: var(--font-ui); font-size: 1.125rem; font-weight: 600; color: var(--primary-navy); }

/* --- QUALITY & COMPLIANCE --- */
.dark-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  padding: 40px; border-radius: 12px; transition: all 0.4s ease;
}
.dark-card:hover {
  background: rgba(255,255,255,0.05); border-color: var(--accent-teal);
  box-shadow: 0 0 30px var(--glow-accent) inset;
}

/* --- CUSTOMERS MARQUEE --- */
.marquee-container { overflow: hidden; width: 100%; padding: 40px 0; position: relative; }
.marquee-container::before, .marquee-container::after {
  content: ''; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2;
}
.marquee-container::before { left: 0; background: linear-gradient(to right, var(--bg-white), transparent); }
.marquee-container::after { right: 0; background: linear-gradient(to left, var(--bg-white), transparent); }

.marquee-track { display: flex; width: max-content; animation: scrollMarquee 40s linear infinite; gap: 100px; align-items: center; }
.marquee-logo { height: 90px; transition: all 0.4s ease; object-fit: contain; }
.marquee-logo:hover { transform: scale(1.1) translateY(-5px); }

@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- CONTACT --- */
.contact-hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--dark-section) 100%);
  position: relative; overflow: hidden; padding: 200px 0 140px;
}
.moving-shape {
  position: absolute; border-radius: 50%; background: var(--accent-teal); filter: blur(100px); opacity: 0.15; animation: floatShape 20s infinite alternate ease-in-out;
}
@keyframes floatShape { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(100px, 100px) scale(1.5); } }

.contact-card {
  background: rgba(255,255,255,0.05); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1); padding: 80px; border-radius: 24px; text-align: center;
}

.email-huge {
  font-family: var(--font-heading); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700;
  color: #fff; background: linear-gradient(to right, #fff, var(--accent-teal)); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: inline-block; margin: 40px 0; border-bottom: 2px solid rgba(0,180,198,0.3); transition: all 0.3s ease;
}
.email-huge:hover { border-bottom-color: var(--accent-teal); }

/* --- FOOTER --- */
footer {
  background: var(--dark-section); padding: 80px 0 40px; position: relative; overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
}
.footer-divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); margin: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 24px; }
footer ul li { margin-bottom: 16px; }
footer ul li a { color: rgba(255,255,255,0.6); font-family: var(--font-ui); }
footer ul li a:hover { color: var(--accent-teal); text-shadow: 0 0 10px var(--glow-accent); }
footer .logo img { height: 60px; margin-bottom: 24px; border-radius: 4px; }

/* ANIMATIONS */
.stagger-up { opacity: 0; transform: translateY(50px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.stagger-up.in-view { opacity: 1; transform: translateY(0); }

/* Subpage header spacing */
.page-header { padding-top: 160px; padding-bottom: 80px; background: var(--bg-white); }

/* ============================================
   RESPONSIVE DESIGN — MOBILE & TABLET
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .navbar { padding: 0 32px; }
  .nav-links { gap: 20px; }
  .nav-links li a { font-size: 12px; letter-spacing: 0.3px; }
  .logo img { height: 60px; }
  .header-cta { height: 38px; padding: 0 22px; font-size: 11px; }
  .grid-2 { grid-template-columns: 1fr !important; gap: 40px !important; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .counter-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-card { padding: 50px 30px; }
}

/* Mobile */
@media (max-width: 768px) {
  header { height: 76px; }
  header.scrolled { height: 68px; }
  .navbar { padding: 0 20px; }
  .menu-toggle { display: flex; }
  .logo img { height: 46px; }

  .header-cta { display: none; }

  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; width: 100%;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    padding: 16px 24px; gap: 0;
    flex: unset;
  }
  .nav-links.nav-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a {
    display: block; padding: 16px 0; font-size: 15px;
    border-bottom: 1px solid rgba(15,61,94,0.06);
    text-transform: uppercase;
  }
  .nav-links li a::after { display: none; }
  .nav-links li:last-child a { border-bottom: none; }

  .btn { padding: 12px 20px; font-size: 0.85rem; }

  .hero { min-height: 600px; }
  .hero h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .hero p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; gap: 12px; width: 100%; }
  .hero-buttons .btn { width: 100%; text-align: center; justify-content: center; }

  section { padding: 80px 0; }
  .page-header { padding-top: 120px; padding-bottom: 50px; }

  .grid-3 { grid-template-columns: 1fr; }
  .glass-card { padding: 32px 24px; }
  .counter-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .counter-number { font-size: 3rem; }

  .video-interstitial { height: 40vh; min-height: 280px; }
  .marquee-logo { height: 50px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-card { padding: 40px 20px; }

  h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
}

/* Small mobile */
@media (max-width: 480px) {
  .container { padding: 0 5%; }
  .navbar { padding: 0 16px; }
  .logo img { height: 40px; }
  .hero { min-height: 500px; }
  .hero h1 { font-size: 1.5rem; }
  .counter-grid { grid-template-columns: 1fr; }
  .marquee-logo { height: 40px; }
}
