/* ===============================
   GLOBAL RESET & BASE
================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1e293b;
  background: #f8fafc;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* ===============================
   NAVBAR
================================ */

nav {
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

nav > div {
  min-height: 72px;
  align-items: center;
}

nav .flex.items-center.space-x-4 {
  gap: 12px;
  flex-wrap: nowrap;
  align-items: center;
}

nav .flex.items-center.space-x-4 > img {
  height: 42px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

nav .text-xl {
  font-size: clamp(0.72rem, 1vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #1d4ed8;
  line-height: 1.3;
}

nav .text-gray-400 {
  color: #cbd5e1;
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

nav .flex.items-center.space-x-2 {
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

nav .flex.items-center.space-x-2 img {
  height: 32px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

nav .flex.items-center.space-x-2 a {
  font-size: 0.8rem;
  font-weight: 500;
  color: #4b5563;
  white-space: nowrap;
  transition: color 0.25s;
}

nav .flex.items-center.space-x-2 a:hover {
  color: #2563eb;
}

nav ul {
  flex-shrink: 0;
}

nav ul li a {
  transition: color 0.25s;
  position: relative;
  padding-bottom: 4px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #2563eb;
  border-radius: 2px;
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: #2563eb;
}

nav ul li a:hover::after {
  width: 100%;
}

/* ===============================
   HERO
================================ */

.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.72) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  max-width: 900px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.85;
  font-weight: 400;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.847);
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-bar {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.847), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
  0%, 100% { opacity: 0.4; transform: scaleY(1);   }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ===============================
   SECTION SHARED
================================ */

.container-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 72px;
  align-items: center;
  padding: 0 40px;
}

.section-title {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: #0d1b2a;
  position: relative;
  line-height: 1.25;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: #2563eb;
  border-radius: 2px;
  margin-top: 14px;
}

.section-title-center {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 52px;
  text-align: center;
  color: #0d1b2a;
}

.section-title-center::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  background: #2563eb;
  border-radius: 2px;
  margin: 14px auto 0;
}

.section-text {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.9;
}

/* ===============================
   BUTTON
================================ */

.primary-btn {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
  margin-top: 28px;
}

.primary-btn:hover {
  background: #1d4ed8;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.4);
}

/* ===============================
   IMAGES
================================ */

.img-rounded {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.11);
  object-fit: cover;
  transition: transform 0.4s ease;
  aspect-ratio: 4/3;
}

.img-rounded:hover {
  transform: scale(1.025);
}

/* ===============================
   GLOBAL FOOTPRINT
================================ */

.global-img {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.11);
  display: block;
}

/* ===============================
   AWARDS
================================ */

.grid-awards {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding: 0 40px;
}

.grid-awards img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: contain;
  background: #f1f5f9;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: zoom-in;
}

.grid-awards img:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

/* ===============================
   INFRASTRUCTURE
================================ */

.grid-infra {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 0 40px;
}

.grid-infra img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: zoom-in;
}

.gallery img:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

/* ===============================
   PRODUCTS CAROUSEL
================================ */

.products-carousel {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 60px;
  overflow: hidden;
}

.products-carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-slide {
  min-width: 100%;
  padding: 0 8px;
  cursor: zoom-in;
}

.product-slide img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  display: block;
  transition: box-shadow 0.4s ease;
}

.product-slide img:hover {
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.22);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #0d1b2a;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  z-index: 10;
}

.carousel-btn:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(37,99,235,0.35);
}

.carousel-btn-prev { left: 0; }
.carousel-btn-next { right: 0; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}

.carousel-dot.active {
  background: #2563eb;
  transform: scale(1.35);
}

/* ===============================
   LOGO TRACK
================================ */

.logo-scroller {
  overflow: hidden;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  padding: 20px 36px;
}

.logo-track img {
  height: 52px;
  min-width: 110px;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity 0.3s, filter 0.3s, transform 0.3s;
  flex-shrink: 0;
}

.logo-track img:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.1);
}

/* ===============================
   CONTACT
================================ */

.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 64px;
  padding: 0 40px;
  align-items: start;
}

.contact-grid > div {
  display: flex;
  flex-direction: column;
}

.contact-grid > div p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.85;
  margin-bottom: 20px;
}

.contact-grid > div p b {
  color: #0d1b2a;
  font-weight: 700;
  font-size: 1.05rem;
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: #2563eb;
  font-weight: 700;
  margin-bottom: 3px;
}

.map {
  width: 100%;
  height: 400px;
  border-radius: 18px;
  border: none;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.1);
}

/* ===============================
   FOOTER
================================ */

.footer {
  background: #0d1b2a;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 18px 24px;
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

/* ===============================
   LIGHTBOX
================================ */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: background 0.3s ease;
}

.lightbox.active {
  display: flex;
  background: rgba(0, 0, 0, 0.9);
  animation: lbFadeIn 0.25s ease forwards;
}

@keyframes lbFadeIn {
  from { background: rgba(0,0,0,0); }
  to   { background: rgba(0,0,0,0.9); }
}

.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: lbZoomIn 0.28s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

@keyframes lbZoomIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox img {
  max-width: 88vw;
  max-height: 80vh;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(6px);
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s, transform 0.2s;
  line-height: 1;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.lightbox-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}


/* ===============================
   MOBILE HAMBURGER MENU
================================ */

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  gap: 5px;
  flex-shrink: 0;
  z-index: 100;
  padding: 0;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

.hamburger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  z-index: 49;
  padding: 8px 0 16px;
}

.mobile-menu.open {
  display: block;
  animation: menuSlideDown 0.25s ease forwards;
}

@keyframes menuSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-menu a {
  display: block;
  padding: 15px 28px;
  font-size: 1rem;
  font-weight: 500;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover,
.mobile-menu a.mobile-active {
  background: #eff6ff;
  color: #2563eb;
}

.mobile-menu a.mobile-active {
  font-weight: 700;
}

@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1024px) {
  .container-grid,
  .grid-awards,
  .grid-infra,
  .products-grid,
  .contact-grid {
    padding: 0 24px;
  }
  .container-grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  nav .flex.items-center.space-x-2 a {
    display: none;
  }
  nav .text-xl {
    font-size: 0.68rem;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-sub {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }
  .section-title-center {
    font-size: 1.6rem;
    margin-bottom: 36px;
  }
  .container-grid,
  .grid-awards,
  .grid-infra,
  .products-grid,
  .contact-grid {
    padding: 0 16px;
    gap: 20px;
  }
  .container-grid {
    gap: 32px;
  }
  .logo-track {
    gap: 44px;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}