/* ==============================================
   MRSV Engineering - Main Stylesheet
   Design: Innovate | Deliver
   ============================================== */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #1a2d5a;
  --secondary: #c0c0c0;
  --accent: #e8a020;
  --dark: #0d1b38;
  --light: #f4f6fa;
  --white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --border: #e0e4ee;
  --gradient: linear-gradient(135deg, #1a2d5a 0%, #0d1b38 100%);
  --shadow: 0 4px 24px rgba(26, 45, 90, 0.12);
  --shadow-lg: 0 8px 40px rgba(26, 45, 90, 0.18);
  --radius: 8px;
  --transition: all 0.3s ease;
  --font-main: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition)
}

ul {
  list-style: none
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px
}

.section-padding {
  padding: 80px 0
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 10px
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 50px
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 12px auto 20px;
  border-radius: 2px
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .5px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(232, 160, 32, .35)
}

.btn-primary:hover {
  background: #c8880a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 160, 32, .45)
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 11px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition)
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary)
}

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
  padding: 8px 0
}

#header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 10px 0
}

#header.scrolled .nav-link {
  color: var(--primary)
}

#header.scrolled .hamburger span {
  background: var(--primary)
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none
}

.nav-logo img {
  /* height: 55px; */
  width: 110px;
  border-radius: 4px;
  background: white;
  padding: 2px
}

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

.nav-item {
  position: relative
}

.nav-link {
  color: #111;
  font-weight: 600;
  font-size: .92rem;
  padding: 8px 14px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .3)
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent)
}

.nav-link svg {
  width: 10px;
  height: 10px;
  transition: transform .3s;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg)
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  padding: 2px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  border-top: 3px solid var(--accent);
  z-index: 999
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0)
}

.dropdown-menu li a {
  display: block;
  padding: 4px 20px;
  font-size: .8rem;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent
}

.dropdown-menu li a:hover {
  background: var(--light);
  color: var(--primary);
  border-left-color: var(--accent);
  padding-left: 24px
}

.nav-cta {
  margin-left: 12px
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition)
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
}

.hamburger.active span:nth-child(2) {
  opacity: 0
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px)
}

/* Mobile Nav */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 80px 20px 40px
}

.mobile-menu.open {
  display: flex
}

.mobile-menu .close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  line-height: 1
}

.mobile-nav-link {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 0;
  text-align: center;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.mobile-nav-link:hover {
  color: var(--accent)
}

.mobile-dropdown {
  width: 100%;
  text-align: center
}

.mobile-dropdown-toggle {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  cursor: pointer
}

.mobile-dropdown-toggle:hover {
  color: var(--accent)
}

.mobile-submenu {
  display: none;
  background: rgba(255, 255, 255, .05);
  border-radius: 6px;
  margin-top: 4px
}

.mobile-submenu.open {
  display: block
}

.mobile-submenu a {
  display: block;
  color: rgba(255, 255, 255, .8);
  font-size: .9rem;
  padding: 8px 20px;
  text-align: left
}

.mobile-submenu a:hover {
  color: var(--accent)
}

/* ===== HERO ===== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  overflow: hidden
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease
}

.hero-slide.active {
  opacity: 1
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 27, 56, .82) 0%, rgba(13, 27, 56, .5) 60%, rgba(0, 0, 0, .25) 100%)
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 60px;
  max-width: 700px;
  animation: heroFadeIn 1.2s ease forwards
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.hero-badge {
  background: var(--accent);
  color: var(--white);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-block
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3)
}

.hero-title span {
  color: var(--accent)
}

.hero-desc {
  color: rgba(255, 255, 255, .88);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.7
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  right: 40px;
  display: flex;
  gap: 8px
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent
}

.dot.active {
  background: var(--accent);
  border-color: var(--white);
  transform: scale(1.2)
}

/* ===== STATS ===== */
#stats {
  background: var(--gradient);
  padding: 40px 0
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}

.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, .15)
}

.stat-item:last-child {
  border-right: none
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px
}

.stat-label {
  color: rgba(255, 255, 255, .8);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .5px
}

/* ===== ABOUT ===== */
#about {
  background: var(--light)
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center
}

.about-img-wrap {
  position: relative
}

.about-img-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-lg)
}

.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--white);
  border-radius: 10px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(232, 160, 32, .4)
}

.about-img-badge .badge-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1
}

.about-img-badge .badge-txt {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .5px
}

.about-content .section-title {
  text-align: left
}

.about-content .divider {
  margin: 12px 0 20px
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.75
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 30px
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--primary)
}

.about-feature .feat-icon {
  width: 32px;
  height: 32px;
  background: rgba(232, 160, 32, .12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.about-feature .feat-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none
}

/* ===== PRODUCTS ===== */
#products {
  background: var(--white)
}

.products-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-light);
  border: 2px solid var(--border);
  background: var(--white);
  transition: var(--transition)
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary)
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  cursor: pointer
}

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

.product-img-wrap {
  overflow: hidden;
  height: 200px
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease
}

.product-card:hover .product-card-img {
  transform: scale(1.06)
}

.product-card-body {
  padding: 16px
}

.product-card-num {
  font-size: .75rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px
}

.product-card-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35
}

.product-card-desc {
  font-size: .82rem;
  color: var(--text-light);
  margin-top: 6px;
  line-height: 1.5
}

/* ===== WHY CHOOSE US ===== */
#why-us {
  background: var(--gradient);
  color: var(--white)
}

#why-us .section-title {
  color: var(--white)
}

#why-us .section-subtitle {
  color: rgba(255, 255, 255, .75)
}

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

.why-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition)
}

.why-card:hover {
  background: rgba(255, 255, 255, .13);
  transform: translateY(-4px);
  border-color: var(--accent)
}

.why-icon {
  width: 64px;
  height: 64px;
  background: rgba(232, 160, 32, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 2px solid rgba(232, 160, 32, .3)
}

.why-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white)
}

.why-card p {
  font-size: .88rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.65
}

/* ===== GALLERY ===== */
#gallery {
  background: var(--light)
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 30px
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  aspect-ratio: 1
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease
}

.gallery-item:hover img {
  transform: scale(1.1)
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 45, 90, .65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease
}

.gallery-item:hover .gallery-overlay {
  opacity: 1
}

.gallery-overlay svg {
  width: 32px;
  height: 32px;
  stroke: var(--white);
  fill: none
}

.gallery-load-more {
  text-align: center;
  margin-top: 10px
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column
}

#lightbox.open {
  display: flex
}

.lb-img-wrap {
  max-width: 90vw;
  max-height: 80vh
}

#lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5)
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 2.2rem;
  color: var(--white);
  cursor: pointer;
  line-height: 1;
  transition: color .2s
}

.lightbox-close:hover {
  color: var(--accent)
}

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

.lightbox-nav:hover {
  background: var(--accent)
}

.lightbox-prev {
  left: 20px
}

.lightbox-next {
  right: 20px
}

.lightbox-counter {
  color: rgba(255, 255, 255, .6);
  font-size: .85rem;
  margin-top: 12px
}

/* ===== CONTACT ===== */
#contact {
  background: var(--white)
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start
}

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

.contact-info p {
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.7
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none
}

.contact-item-text strong {
  display: block;
  font-weight: 700;
  color: var(--primary);
  font-size: .9rem;
  margin-bottom: 2px
}

.contact-item-text span {
  font-size: .9rem;
  color: var(--text-light)
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 28px
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition)
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary)
}

.social-btn:hover svg {
  stroke: var(--white)
}

.social-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-light);
  fill: none;
  transition: var(--transition)
}

.contact-form-wrap {
  background: var(--light);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow)
}

.contact-form-wrap h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px
}

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

.form-group {
  margin-bottom: 18px
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  background: var(--white);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: .92rem;
  font-family: inherit;
  color: var(--text);
  transition: border .25s;
  outline: none
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 45, 90, .08)
}

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

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  background: #eafaf1;
  border-radius: 8px;
  color: #27ae60;
  font-weight: 600;
  margin-top: 12px
}

/* ===== MAP ===== */
#map-section {
  padding: 0
}

#map-section iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: block
}

/* ===== ENQUIRE MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 1500;
  align-items: center;
  justify-content: center
}

.modal-overlay.open {
  display: flex
}

.modal-box {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  max-width: 520px;
  width: 95%;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn .3s ease
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(.9)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.6rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1
}

.modal-close:hover {
  color: var(--primary)
}

.modal-box h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 6px
}

.modal-box p {
  font-size: .9rem;
  color: var(--text-light);
  margin-bottom: 22px
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1200;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .5);
  transition: var(--transition);
  animation: wapulse 2.5s infinite
}

.whatsapp-btn:hover {
  transform: scale(1.12)
}

.whatsapp-btn svg {
  width: 30px;
  height: 30px
}

@keyframes wapulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .5)
  }

  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0)
  }
}

/* ===== FOOTER ===== */
#footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .75)
}

.footer-top {
  padding: 60px 0 40px
}

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

.footer-brand img {
  height: 45px;
  /* background: white; */
  border-radius: 6px;
  padding: 4px;
  margin-bottom: 16px
}

.footer-brand p {
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 18px
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.footer-links a {
  font-size: .88rem;
  transition: var(--transition)
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: .87rem
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  flex-shrink: 0;
  margin-top: 3px
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem
}

.footer-bottom a {
  color: var(--accent)
}

/* ===== BACK TO TOP ===== */
#back-to-top {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 1200;
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition)
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible
}

#back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px)
}

#back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0)
}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px
  }
}

@media(max-width:900px) {

  .nav-links,
  .nav-cta {
    display: none
  }

  .hamburger {
    display: flex
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .about-img-badge {
    bottom: 10px;
    right: 10px
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .stat-item:nth-child(2) {
    border-right: none
  }

  .hero-content {
    padding: 0 30px
  }
}

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

  .section-title {
    font-size: 1.7rem
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .why-grid {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center
  }

  .form-row {
    grid-template-columns: 1fr
  }

  .contact-form-wrap {
    padding: 24px
  }

  .hero-content {
    padding: 0 20px
  }

  .modal-box {
    padding: 28px 20px
  }
}

@media(max-width:480px) {
  .products-grid {
    grid-template-columns: 1fr
  }

  .about-features {
    grid-template-columns: 1fr
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr
  }
}

/* Multi-page internal styles */
.internal-hero {
  padding: 150px 20px 80px;
  background: linear-gradient(135deg, #111827, #243b53);
  color: #fff;
  text-align: center
}

.internal-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  margin: 0 0 15px
}

.internal-hero p {
  max-width: 760px;
  margin: auto;
  color: rgba(255, 255, 255, .8)
}

.internal-content {
  padding: 80px 0
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center
}

.detail-image {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .12)
}

.detail-copy h2 {
  font-size: 38px;
  margin: 0 0 15px
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 25px 0
}

.feature-list div {
  padding: 14px;
  background: #f5f7fa;
  border-radius: 8px
}

.internal-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px
}

.internal-card {
  background: #fff;
  border: 1px solid #e7e9ee;
  border-radius: 14px;
  overflow: hidden;
  transition: .25s
}

.internal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, .1)
}

.internal-card img {
  width: 100%;
  height: 220px;
  object-fit: cover
}

.internal-card-body {
  padding: 20px
}

.internal-card-body h3 {
  margin: 0 0 8px
}

.contact-page-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px
}

.contact-box {
  padding: 30px;
  background: #f7f8fa;
  border-radius: 15px
}

.internal-form {
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
  background: #fff
}

.internal-form input,
.internal-form textarea,
.internal-form select {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin: 7px 0 18px;
  font: inherit
}

.internal-form textarea {
  min-height: 140px
}

.gallery-grid-page {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.gallery-grid-page img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px
}

.breadcrumb {
  padding: 18px 0;
  background: #f6f7f9
}

.breadcrumb a {
  color: inherit
}

@media(max-width:900px) {

  .detail-grid,
  .contact-page-grid {
    grid-template-columns: 1fr
  }

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

  .gallery-grid-page {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:600px) {

  .internal-cards,
  .gallery-grid-page,
  .feature-list {
    grid-template-columns: 1fr
  }

  .gallery-grid-page img {
    height: 260px
  }

  .internal-content {
    padding: 55px 0
  }

  .detail-copy h2 {
    font-size: 30px
  }
}

/* ===== FINAL MOBILE HEADER + PRODUCT NAVIGATION ===== */
.nav-logo img {
  display: block;
  object-fit: contain;
  max-width: 100%;
}

.mobile-product-link {
  display: block;
  color: rgba(255, 255, 255, .88);
  font-size: .9rem;
  padding: 8px 18px;
  text-align: left;
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, .06)
}

.mobile-product-link:hover,
.mobile-product-all:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, .06)
}

.mobile-product-all {
  display: block;
  color: var(--accent);
  font-size: .92rem;
  font-weight: 700;
  padding: 10px 18px;
  text-align: left;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .12)
}

.mobile-enquire {
  margin-top: 20px;
  text-align: center
}

.product-card[data-product-url] {
  cursor: pointer
}

.product-card[data-product-url]:focus {
  outline: 3px solid rgba(232, 160, 32, .65);
  outline-offset: 3px
}

@media(max-width:900px) {
  #header {
    padding: 8px 0;
    background: #0D1B38;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px)
  }

  #header.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, .97)
  }

  .nav-container {
    padding: 0 16px;
    min-height: 54px
  }

  .nav-logo img {
    height: 46px;
    width: 73px;
    border-radius: 6px;
    padding: 3px
  }

  .hamburger {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    z-index: 1002
  }

  .hamburger span {
    width: 30px;
    height: 3px
  }

  .mobile-menu {
    z-index: 1001;
    align-items: stretch;
    justify-content: flex-start;
    padding: 76px 22px 35px
  }

  .mobile-menu .close-btn {
    top: 18px;
    right: 18px;
    background: transparent;
    border: 0;
    padding: 4px;
    color: #fff;
    font-size: 2.2rem;
    z-index: 2
  }

  .mobile-nav-link,
  .mobile-dropdown-toggle {
    font-size: 1rem;
    padding: 11px 8px
  }

  .mobile-dropdown {
    max-width: 500px;
    margin: 0 auto;
    width: 100%
  }

  .mobile-submenu {
    max-height: 48vh;
    overflow-y: auto;
    text-align: left
  }

  #hero {
    min-height: 680px;
    height: 100svh
  }

  .hero-content {
    justify-content: flex-start;
    padding: 120px 20px 80px;
    max-width: 100%;
    overflow-y: auto
  }

  .hero-badge {
    font-size: .68rem;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding: 5px 12px;
    max-width: calc(100vw - 40px)
  }

  .hero-title {
    font-size: clamp(2.25rem, 10vw, 3.4rem);
    line-height: 1.08;
    margin-bottom: 16px
  }

  .hero-desc {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 22px;
    max-width: 100%
  }

  .hero-btns {
    gap: 10px
  }

  .hero-btns .btn-primary,
  .hero-btns .btn-outline {
    padding: 10px 20px;
    font-size: .88rem
  }
}

@media(max-width:600px) {
  .nav-logo img {
    height: 42px;
    width: 66px
  }

  .nav-container {
    padding: 0 14px;
    min-height: 50px
  }

  .hamburger {
    width: 36px;
    height: 36px
  }

  .hamburger span {
    width: 29px;
    height: 3px
  }

  #hero {
    min-height: 650px
  }

  .hero-content {
    padding-top: 112px;
    padding-left: 18px;
    padding-right: 18px
  }

  .hero-title {
    font-size: clamp(2.05rem, 11vw, 3rem)
  }

  .hero-badge {
    font-size: .62rem
  }

  .internal-hero {
    padding: 125px 18px 60px
  }

  .internal-hero h1 {
    font-size: clamp(32px, 10vw, 48px)
  }

  .detail-image {
    max-height: 380px;
    object-fit: cover
  }
}