/* ═══════════════════════════════════════════════════════════
   NIV OIL — REVOLUTIONARY GREEN ENERGY
   Brand Colors: Orange #C96324 | Green #4A7A2E | Accent #C8E8F0
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --orange:       #C96324;
  --orange-dark:  #A84E1A;
  --orange-light: #E8874A;
  --orange-pale:  #FDF0E8;

  --green:        #4A7A2E;
  --green-dark:   #3A6122;
  --green-light:  #6BA048;
  --green-pale:   #EDF5E8;

  --accent:       #C8E8F0;

  --dark:         #111827;
  --dark-2:       #1F2937;
  --dark-3:       #374151;
  --gray:         #6B7280;
  --gray-light:   #9CA3AF;
  --border:       #E5E7EB;

  --bg:           #FFFFFF;
  --bg-light:     #F8F6F2;

  --font:         'Poppins', sans-serif;
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    24px;
  --radius-xl:    40px;

  --shadow-sm:    0 2px 8px rgba(0,0,0,.07);
  --shadow:       0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:    0 16px 48px rgba(0,0,0,.16);

  --transition:   .3s cubic-bezier(.4,0,.2,1);
  --navbar-h:     80px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ─── Utilities ─────────────────────────────────────────── */
.container     { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section       { padding: 100px 0; }
.bg-light      { background: var(--bg-light); }
.txt-orange    { color: var(--orange); }
.txt-green     { color: var(--green); }
.mt-lg         { margin-top: 32px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-pale);
  color: var(--orange);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-heading {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
}

.bg-dark {
  background: var(--dark);
  color: #fff;
}

.bg-dark .section-heading,
.bg-dark .section-sub {
  color: #fff;
}

.bg-dark .section-sub {
  color: rgba(255,255,255,.7);
}

.bg-dark .tag {
  background: rgba(201,99,36,.2);
  color: var(--orange-light);
}

.bg-dark .txt-green {
  color: var(--green-light);
}

/* Dark section product cards */
.bg-dark .product-card {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.1);
}

.bg-dark .product-card:hover {
  background: rgba(255,255,255,.1);
}

.bg-dark .product-body h3 {
  color: #fff;
}

.bg-dark .product-body p {
  color: rgba(255,255,255,.7);
}


/* ══════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-pale), var(--green-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--orange);
}

.testimonial-header h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.testimonial-header span {
  font-size: .8rem;
  color: var(--gray);
}

.testimonial-card > p {
  color: var(--gray);
  font-size: .92rem;
  line-height: 1.75;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  color: #FFB800;
  font-size: .9rem;
}

/* Responsive testimonials */
@media (max-width: 1100px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(201,99,36,.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  box-shadow: 0 8px 24px rgba(201,99,36,.45);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 2px solid rgba(255,255,255,.6);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }


/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo img {
  height: 175px;
  width: auto;
  margin-top:60px;
  transition: var(--transition);
}
.nav-logo:hover img { transform: scale(1.04); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  transition: var(--transition);
}

.navbar.scrolled .nav-link { color: var(--dark-3); }

.nav-link:hover {
  color: var(--orange) !important;
  background: var(--orange-pale);
}

.nav-link.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 9px 22px;
  box-shadow: 0 4px 12px rgba(201,99,36,.3);
}
.nav-link.nav-cta:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201,99,36,.4);
}

/* Navbar for inner pages (always solid) */
body.page-about .navbar,
body.page-products .navbar,
body.page-gallery .navbar,
body.page-contact .navbar {
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

/* Navbar links for inner pages */
body.page-about .nav-link,
body.page-products .nav-link,
body.page-gallery .nav-link,
body.page-contact .nav-link {
  color: var(--dark-3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span,
body.page-about .hamburger span,
body.page-products .hamburger span, 
body.page-gallery .hamburger span,
body.page-contact .hamburger span { background: var(--dark); }

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


/* ══════════════════════════════════════════════
   HERO SLIDER
══════════════════════════════════════════════ */
.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility .6s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide .hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide .hero-blob {
  position: absolute;
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.slider-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-50%) scale(1.1);
}

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

/* Slider Dots (hidden - removed) */
.slider-dots {
  display: none;
}

/* Responsive slider */
@media (max-width: 768px) {
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: .95rem;
  }
  .slider-prev { left: 12px; }
  .slider-next { right: 12px; }
}


/* ══════════════════════════════════════════════
   HERO (Original)
══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--navbar-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17,24,39,.88) 0%,
    rgba(74,122,46,.45) 60%,
    rgba(201,99,36,.30) 100%
  );
}

/* Decorative blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .18;
  pointer-events: none;
}
.hero-blob-1 {
  width: 500px; height: 500px;
  background: var(--orange);
  top: -120px; right: -80px;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: var(--green);
  bottom: -100px; left: 5%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.hero-text { 
  max-width: 720px; 
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .06em;
  margin-bottom: 20px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,99,36,.5); }
  50%      { box-shadow: 0 0 0 10px rgba(201,99,36,0); }
}

.hero-text h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 22px;
}
.hero-text h1 .highlight {
  background: linear-gradient(90deg, #c96e37, #c96324);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: rgba(255,255,255,.78);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero badge card */
.hero-badge-wrap { flex-shrink: 0; }

.hero-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  color: #fff;
  animation: floatBadge 4s ease-in-out infinite;
}
@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
.hero-badge img { width: 90px; border-radius: 8px; }
.hero-badge strong { display: block; font-size: 1.2rem; font-weight: 700; }
.hero-badge span { font-size: .78rem; opacity: .8; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  font-size: .7rem;
  animation: bounce 2.5s ease-in-out infinite;
}
.scroll-ring {
  width: 32px; height: 32px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(8px); }
}


/* ══════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════ */
.stats-bar {
  background: linear-gradient(135deg, var(--dark-2), var(--dark));
  padding: 48px 0;
}

.stats-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  padding: 16px 48px;
  flex: 1;
  min-width: 160px;
}

.stat-num {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-unit {
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange-light);
}

.stat p {
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: .04em;
}

.stat-divider {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Image stack */
.about-images { position: relative; }

.img-stack {
  position: relative;
  border-radius: var(--radius-lg);
  height: 500px;
}

.img-back {
  position: absolute;
  top: 0; right: 0;
  width: 85%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.img-front {
  position: absolute;
  bottom: -40px; left: 0;
  width: 60%;
  height: 65%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 5px solid var(--bg);
  box-shadow: var(--shadow);
  z-index: 2;
}

.img-badge {
  position: absolute;
  top: 20px; left: 0;
  z-index: 3;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
}
.img-badge i { font-size: 1.4rem; }
.img-badge span { font-size: .75rem; font-weight: 600; line-height: 1.3; }

.exp-pill {
  position: absolute;
  bottom: -24px; right: 20px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  z-index: 3;
}
.exp-num  { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.exp-label{ font-size: .75rem; opacity: .9; margin-top: 2px; line-height: 1.3; }

/* About text */
.about-text { padding-bottom: 40px; }

.about-text h2 { margin-bottom: 20px; }

.about-text p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 1rem;
}
.about-text strong { color: var(--dark); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--green-pale);
  color: var(--green-dark);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
}
.chip i { color: var(--green); }

.about-address {
  display: flex;
  gap: 14px;
  background: var(--bg-light);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin-top: 20px;
}
.about-address i {
  color: var(--orange);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.about-address strong { color: var(--dark); font-size: .9rem; }
.about-address div { font-size: .88rem; color: var(--gray); line-height: 1.7; }


/* ══════════════════════════════════════════════
   PRODUCTS
══════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Product card (image thumbnail version) ─────── */
.product-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Image thumbnail */
.product-thumb {
  position: relative;
  height: 170px;
  overflow: hidden;
}
.product-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.08); }

.product-thumb-overlay {
  position: absolute;
  inset: 0;
}
.product-card.orange .product-thumb-overlay {
  background: linear-gradient(180deg, rgba(201,99,36,.55) 0%, rgba(17,24,39,.7) 100%);
}
.product-card.green .product-thumb-overlay {
  background: linear-gradient(180deg, rgba(74,122,46,.55) 0%, rgba(17,24,39,.7) 100%);
}

/* Floating icon on thumbnail */
.product-icon-over {
  position: absolute;
  top: 14px; left: 14px;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}
.product-card.orange .product-icon-over { background: rgba(201,99,36,.75); }
.product-card.green  .product-icon-over { background: rgba(74,122,46,.75); }
.product-card:hover .product-icon-over  { transform: scale(1.12) rotate(-8deg); }

/* Abbr badge on thumbnail */
.product-abbr-badge {
  position: absolute;
  top: 14px; right: 14px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 4px 12px;
}

/* Card body */
.product-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-body p {
  color: var(--gray);
  font-size: .86rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}

/* Kept for compatibility */
.product-abbr {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.product-card.orange .product-abbr { color: var(--orange); }
.product-card.green  .product-abbr { color: var(--green); }

.product-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.product-card p {
  color: var(--gray);
  font-size: .875rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  transition: var(--transition);
}
.product-card.orange .product-link { color: var(--orange); }
.product-card.green  .product-link { color: var(--green); }
.product-link:hover { gap: 10px; }
.product-link i { font-size: .75rem; transition: var(--transition); }


/* ══════════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════════ */
.why-us { background: var(--bg); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  background: var(--bg);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}

.why-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-pale), var(--green-pale));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--orange);
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--orange), var(--green));
  color: #fff;
  transform: scale(1.1);
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.why-card p { color: var(--gray); font-size: .9rem; line-height: 1.65; }


/* ══════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17,24,39,0) 40%,
    rgba(201,99,36,.7) 100%
  );
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay i {
  font-size: 2.2rem;
  color: #fff;
  transform: scale(.6);
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay i { transform: scale(1); }

/* Make first item span 2 rows */
.gallery-item:first-child {
  grid-row: span 2;
  aspect-ratio: unset;
}
.gallery-item:first-child img { height: 100%; }


/* ══════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--dark);
}

.info-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.info-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--orange-pale);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-row strong {
  display: block;
  font-size: .85rem;
  color: var(--dark);
  margin-bottom: 4px;
  font-weight: 600;
}
.info-row p {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.65;
}
.info-row a { color: var(--orange); }
.info-row a:hover { text-decoration: underline; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 28px;
  height: 220px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* Form */
.contact-form-wrap {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-group label span { color: var(--orange); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--dark);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(201,99,36,.1);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-success {
  text-align: center;
  padding: 60px 32px;
}
.form-success i {
  font-size: 3rem;
  color: var(--green);
  margin-bottom: 16px;
}
.form-success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form-success p  { color: var(--gray); }


/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer-top {
  background: var(--dark);
  padding: 80px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr;
  gap: 56px;
}

.footer-brand img {
  height: 85px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
}
.footer-brand p {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange-light);
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
}
.footer-phone:hover { color: var(--orange); }

.footer-col h4 {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,255,255,.1);
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,.6);
  font-size: .87rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer-col a i { font-size: .65rem; color: var(--orange); }
.footer-col a:hover { color: var(--orange-light); padding-left: 4px; }

.footer-address {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-address i { color: var(--orange); margin-top: 3px; flex-shrink: 0; }
.footer-address p {
  color: rgba(255,255,255,.6);
  font-size: .87rem;
  line-height: 1.7;
}
.footer-address a { color: var(--orange-light); }
.footer-address a:hover { color: var(--orange); }

.footer-bottom
 {
    background: rgb(5 15 35);
    padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  color: rgba(255,255,255,.45);
  font-size: .82rem;
}
.footer-tagline {
  color: var(--orange-light) !important;
  font-weight: 600;
  letter-spacing: .05em;
}


/* ══════════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.lightbox.open { opacity: 1; visibility: visible; }

.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  color: #fff;
  font-size: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--orange); }

.lightbox-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 90vw;
  max-height: 90vh;
}

#lightboxImg {
  max-width: 80vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: opacity .25s ease;
}

.lb-nav {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.lb-nav:hover { background: var(--orange); }


/* ══════════════════════════════════════════════
   FLOATING ELEMENTS
══════════════════════════════════════════════ */
.fab-call {
  position: fixed;
  bottom: 88px; right: 28px;
  z-index: 900;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 20px rgba(74,122,46,.45);
  transition: var(--transition);
  animation: pulse-ring 3s infinite;
}
.fab-call:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(74,122,46,.6);
}

/* Floating WhatsApp Button */
.fab-whatsapp {
  position: fixed;
  bottom: 156px; right: 28px;
  z-index: 900;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
  transition: var(--transition);
  animation: pulse-whatsapp 3s infinite;
}
.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(37,211,102,.6);
}
@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5), 0 6px 20px rgba(37,211,102,.45); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 6px 20px rgba(37,211,102,.45); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 6px 20px rgba(37,211,102,.45); }
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(74,122,46,.5), 0 6px 20px rgba(74,122,46,.45); }
  70% { box-shadow: 0 0 0 14px rgba(74,122,46,0), 0 6px 20px rgba(74,122,46,.45); }
  100% { box-shadow: 0 0 0 0 rgba(74,122,46,0), 0 6px 20px rgba(74,122,46,.45); }
}

.back-top {
  position: fixed;
  bottom: 24px; right: 28px;
  z-index: 900;
  width: 48px; height: 48px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
}
.back-top.show {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.back-top:hover {
  background: var(--orange-dark);
  transform: translateY(-3px);
}


/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */

/* ── 1100px ── */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ── 900px ── */
@media (max-width: 900px) {
  .about-grid    { grid-template-columns: 1fr; }
  .about-images  { max-width: 540px; margin: 0 auto 60px; }
  .contact-grid  { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-row: unset; aspect-ratio: 4/3; }

  .hero-text h1  { font-size: clamp(2.2rem, 7vw, 3.5rem); }
  .hero-sub      { margin: 0 auto 36px; }
}

/* ── 768px ── */
@media (max-width: 768px) {
  :root { --navbar-h: 68px; }

  .section { padding: 72px 0; }

  /* Navbar mobile */
  .hamburger { display: flex; background: rgba(0,0,0,.28); border-radius: 8px; }
  .navbar.scrolled .hamburger,
  body.page-about .hamburger,
  body.page-products .hamburger,
  body.page-gallery .hamburger,
  body.page-contact .hamburger { background: transparent; }

  /* Shrink logo to fit the 68px mobile navbar */
  .nav-logo img { height: 52px; margin-top: 0; }

  .nav-links {
    position: absolute;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--navbar-h) + 24px) 28px 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -8px 0 32px rgba(0,0,0,.2);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }

  .nav-link {
    color: var(--dark-3) !important;
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
  }
  .nav-link.nav-cta {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
  }

  /* Page-specific navbar fixes */
  body.page-about .nav-links,
  body.page-products .nav-links,
  body.page-gallery .nav-links,
  body.page-contact .nav-links {
    background: var(--bg);
  }
  body.page-about .nav-link,
  body.page-products .nav-link,
  body.page-gallery .nav-link,
  body.page-contact .nav-link {
    color: var(--dark-3) !important;
  }

  /* Mobile overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  .nav-overlay.show { opacity: 1; visibility: visible; }

  .products-grid { grid-template-columns: 1fr 1fr; }
  .form-row-2    { grid-template-columns: 1fr; }
  .stats-bar .container { gap: 0; }
  .stat-divider  { display: none; }
  .stat          { min-width: 50%; padding: 16px 20px; }

  .img-stack { height: 380px; }
}

/* ── 520px ── */
@media (max-width: 520px) {
  .products-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrap { padding: 28px 20px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  .hero-text h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .btn { padding: 13px 24px; }
  .facility-content h2 { font-size: 1.8rem; }
  .facility-stats { flex-direction: column; gap: 14px; }
}


/* ══════════════════════════════════════════════
   IMAGE MARQUEE STRIP
══════════════════════════════════════════════ */
.img-marquee {
  overflow: hidden;
  background: var(--dark);
  padding: 18px 0;
  position: relative;
}
.img-marquee::before,
.img-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.img-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--dark) 0%, transparent 100%);
}
.img-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--dark) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track.paused { animation-play-state: paused; }

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

.marquee-item {
  flex-shrink: 0;
  width: 260px;
  height: 170px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.08);
  transition: border-color var(--transition);
}
.marquee-item:hover { border-color: var(--orange); }

.marquee-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.marquee-item:hover img { transform: scale(1.06); }


/* ══════════════════════════════════════════════
   FACILITY BANNER
══════════════════════════════════════════════ */
.facility-banner {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.facility-bg {
  position: absolute;
  inset: 0;
}
.facility-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(17,24,39,.92) 0%,
    rgba(74,122,46,.6) 55%,
    rgba(201,99,36,.4) 100%
  );
}

.facility-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  color: #fff;
}

.tag-white {
  background: rgba(255,255,255,.15) !important;
  color: rgba(255,255,255,.9) !important;
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
}

.facility-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 16px 0 20px;
  color: #fff;
}
.facility-content h2 span {
  background: linear-gradient(90deg, var(--orange-light), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.facility-content p {
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.facility-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.fstat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 600;
}
.fstat i {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(201,99,36,.3);
  border: 1px solid rgba(201,99,36,.5);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-light);
  font-size: .9rem;
  flex-shrink: 0;
}

