:root {
  --primary: #1a3877;
  --primary-dark: #0f2557;
  --primary-light: #2e5fad;
  --primary-lighter: #4a7fd6;
  --accent: #f0a500;
  --accent-dark: #d68f00;
  --bg-light: #f0f5fc;
  --card-bg: #deeaf8;
  --card-bg-hover: #c9ddf5;
  --text-dark: #1a2440;
  --text-body: #444444;
  --text-muted: #777777;
  --border: #d0ddf0;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(26, 56, 119, 0.12);
  --shadow-hover: 0 8px 30px rgba(26, 56, 119, 0.22);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

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

img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--primary-dark);
  color: #c5d4f0;
  padding: 8px 0;
  font-size: 14px;
}

.top-bar a {
  color: #c5d4f0;
}

.top-bar a:hover {
  color: var(--accent);
}

.top-bar i {
  color: var(--accent);
  margin-right: 6px;
}

/* ===== Navbar ===== */
.navbar {
  background: var(--white) !important;
  padding: 12px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.logo-text {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-text .accent {
  color: var(--accent);
}

.logo-tagline {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  margin-top: 2px;
}

.navbar-nav {
  gap: 0;
}

.navbar-nav .nav-item {
  position: relative;
}

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark) !important;
  padding: 10px 16px !important;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
  border-bottom-color: var(--accent);
}

.nav-separator {
  color: var(--border);
  font-size: 14px;
  align-self: center;
  user-select: none;
}

/* ===== Hero Banner ===== */
.hero-banner {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 37, 87, 0.88) 0%, rgba(26, 56, 119, 0.7) 60%, rgba(26, 56, 119, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 650px;
}

.hero-content .hero-label {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-content h1 {
  color: var(--white);
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  color: #d0e0f5;
  margin-bottom: 28px;
}

.btn-valve {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 4px;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.btn-valve:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 165, 0, 0.4);
}

.btn-outline-valve {
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 4px;
  border: 2px solid var(--primary);
  transition: var(--transition);
  font-size: 14px;
  letter-spacing: 1px;
}

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

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

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

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

/* ===== Page Banner ===== */
.page-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 37, 87, 0.85) 0%, rgba(26, 56, 119, 0.6) 100%);
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  color: var(--white);
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 8px;
}

.breadcrumb-nav {
  color: #b0c8e8;
  font-size: 14px;
}

.breadcrumb-nav a {
  color: var(--accent);
}

.breadcrumb-nav span {
  margin: 0 8px;
}

/* ===== Section Styles ===== */
.section {
  padding: 80px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading .section-label {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.section-divider .line {
  height: 3px;
  width: 50px;
  background: var(--border);
}

.section-divider .accent-line {
  height: 3px;
  width: 30px;
  background: var(--accent);
}

.section-heading p {
  max-width: 700px;
  margin: 16px auto 0;
  color: var(--text-muted);
  font-size: 16px;
}

/* ===== Intro / About Preview ===== */
.intro-section {
  padding: 80px 0;
  background: var(--white);
}

.intro-text h2 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 20px;
}

.intro-text .year-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 16px;
}

.intro-text p {
  color: var(--text-body);
  margin-bottom: 16px;
}

.intro-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stats-row {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* ===== Product Cards ===== */
.product-card {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  border: 1px solid transparent;
}

.product-card:hover {
  background: var(--card-bg-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
  border-color: var(--primary-lighter);
}

.product-card .product-img {
  height: 220px;
  overflow: hidden;
  background: var(--white);
  position: relative;
}

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

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

.product-card .product-body {
  padding: 20px;
  text-align: center;
}

.product-card .product-body h5 {
  font-size: 17px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.product-card .product-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ===== Industry Cards ===== */
.industry-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 240px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.industry-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

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

.industry-card:hover img {
  transform: scale(1.1);
}

.industry-card .industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 37, 87, 0.1) 0%, rgba(15, 37, 87, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: var(--transition);
}

.industry-card:hover .industry-overlay {
  background: linear-gradient(180deg, rgba(15, 37, 87, 0.3) 0%, rgba(15, 37, 87, 0.95) 100%);
}

.industry-card .industry-overlay h5 {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

/* ===== Quality / Standards ===== */
.quality-badge {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.quality-badge:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.quality-badge .badge-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 30px;
  color: var(--primary);
}

.quality-badge h6 {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  margin: 0;
}

/* ===== Client Logos ===== */
.client-logo {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.client-logo span {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}

.client-logo:hover span {
  color: var(--primary);
}

/* ===== Gallery ===== */
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow);
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 37, 87, 0.7);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.gallery-overlay i {
  color: var(--white);
  font-size: 32px;
}

/* ===== Contact ===== */
.contact-info-card {
  background: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
}

.contact-info-card .icon-circle {
  width: 56px;
  height: 56px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
  color: var(--primary);
}

.contact-info-card h5 {
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 12px;
}

.contact-info-card p {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 6px;
}

.contact-info-card a {
  color: var(--text-body);
}

.contact-info-card a:hover {
  color: var(--primary);
}

.contact-form {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-control,
.form-select {
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 15px;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(46, 95, 173, 0.12);
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
  margin-bottom: 6px;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* ===== About Page ===== */
.about-story h2 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-story p {
  margin-bottom: 16px;
  color: var(--text-body);
}

.about-story .highlight {
  color: var(--primary);
  font-weight: 600;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feature-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: var(--text-body);
}

.feature-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 16px;
}

.leader-card {
  text-align: center;
  background: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.leader-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.leader-card .leader-icon {
  width: 90px;
  height: 90px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 36px;
  color: var(--primary);
}

.leader-card h5 {
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 4px;
}

.leader-card .role {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.leader-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #c5d4f0;
  font-size: 18px;
  margin-bottom: 24px;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark);
  color: #b0c8e8;
  padding: 60px 0 0;
}

.footer h5 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer p {
  font-size: 14px;
  color: #8fa8d0;
  margin-bottom: 12px;
}

.footer .footer-logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
  display: block;
}

.footer .footer-logo .accent {
  color: var(--accent);
}

.footer .footer-tagline {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #b0c8e8;
  font-size: 14px;
  transition: var(--transition);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  color: #b0c8e8;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 4px;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 18px 0;
  margin-top: 50px;
  text-align: center;
  font-size: 13px;
  color: #6f8ab5;
}

.footer-bottom a {
  color: #8fa8d0;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
  font-size: 18px;
}

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

.back-to-top:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

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

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

/* ===== Floating Action Buttons ===== */
.floating-actions {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 52px;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: -4px 4px 14px rgba(0, 0, 0, 0.22);
}

.fab:first-child { border-radius: 6px 0 0 0; }
.fab:last-child  { border-radius: 0 0 0 6px; }

.fab:hover { max-width: 220px; }

.fab i {
  font-size: 20px;
  min-width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.fab-quote          { background: var(--primary);  color: var(--white); }
.fab-quote:hover    { background: var(--primary-light); color: var(--white); }
.fab-whatsapp       { background: #25D366; color: var(--white); }
.fab-whatsapp:hover { background: #1da851; color: var(--white); }

.fab-label { font-size: 13px; white-space: nowrap; flex-shrink: 0; }

/* ===== Products Mega Dropdown ===== */
.products-dropdown-item { position: relative; }

.products-mega-menu {
  display: none;
  min-width: 260px;
  background: var(--primary);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 14px 40px rgba(15,37,87,.28);
  padding: 4px 0;
  z-index: 9990;
}

@media (min-width: 992px) {
  .products-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
  }
  .products-dropdown-item:hover .products-mega-menu,
  .products-mega-menu:hover { display: block; }
  .products-mega-menu.mobile-open { display: none; }
}

.mega-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-decoration: none;
  color: #ccdcf5;
  position: relative;
  transition: background .2s, color .2s;
  cursor: pointer;
  white-space: nowrap;
}
.mega-item:last-child { border-bottom: none; }
.mega-item span { flex: 1; }
.mega-item > .mega-arrow { color: var(--accent); font-size: 10px; margin-left: 10px; flex-shrink: 0; }
.mega-item:hover { background: rgba(255,255,255,.12); color: #fff; }

.mega-sub {
  display: none;
  min-width: 330px;
  background: var(--primary-dark);
  padding: 4px 0;
  border-radius: 0 0 8px 0;
  box-shadow: 6px 6px 24px rgba(0,0,0,.25);
  z-index: 9991;
}

@media (min-width: 992px) {
  .mega-sub { position: absolute; left: 100%; top: 0; }
  .mega-item.has-sub:hover .mega-sub { display: block; }
}
.mega-sub a {
  display: block;
  color: #b0c8e8;
  padding: 10px 20px;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-decoration: none;
  transition: color .2s, padding-left .2s, background .2s;
}
.mega-sub a:last-child { border-bottom: none; }
.mega-sub a:hover { color: var(--accent); padding-left: 28px; background: rgba(255,255,255,.04); }

/* Products nav link caret */
.products-nav-link .fa-caret-down { transition: transform .25s; }
.products-dropdown-item:hover .products-nav-link .fa-caret-down { transform: rotate(180deg); }

/* ============================================
   RESPONSIVE — Tablet & Mobile Optimization
   Breakpoints: 991px (tablet landscape → mobile nav)
               768px (tablet portrait)
               576px (large phone)
               400px (small phone)
   ============================================ */

/* ── 991px: Tablet landscape / small laptop ── */
@media (max-width: 991px) {
  .nav-separator { display: none; }

  .navbar { padding: 10px 0; }
  .navbar-brand { margin-right: auto; }
  .logo-text { font-size: 24px; }
  .logo-tagline { font-size: 10px; letter-spacing: 1.5px; }

  .navbar-collapse {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-nav .nav-link {
    padding: 11px 14px !important;
    border-bottom: none;
    border-radius: 4px;
    font-size: 15px;
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background: var(--card-bg);
    color: var(--primary) !important;
  }

  /* Products mega menu inside mobile collapse */
  .products-mega-menu {
    position: static;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
    border: 1px solid var(--border);
    margin: 4px 0 8px;
    min-width: 100%;
  }
  .products-mega-menu.mobile-open { display: block; }
  .mega-item { color: var(--primary); border-bottom: 1px solid var(--border); }
  .mega-item:hover { background: var(--card-bg); }
  .mega-sub {
    position: static;
    background: var(--bg-light);
    border-radius: 4px;
    margin: 2px 6px 6px;
    box-shadow: none;
    min-width: 100%;
  }
  .mega-sub.mobile-open { display: block; }
  .mega-sub a { color: var(--text-body); border-bottom-color: var(--border); }
  .mega-sub a:hover { color: var(--primary); background: var(--card-bg-hover); padding-left: 24px; }

  /* Hero */
  .hero-banner { min-height: 480px; }
  .hero-content h1 { font-size: 34px; line-height: 1.25; margin-bottom: 16px; }
  .hero-content p { font-size: 16px; margin-bottom: 22px; }
  .hero-content .hero-label { font-size: 12px; letter-spacing: 2px; }

  /* Section headings */
  .section-heading h2,
  .intro-text h2,
  .about-story h2,
  .cta-banner h2 { font-size: 28px; }

  .section-heading p { font-size: 15px; }

  /* Page banner */
  .page-banner { min-height: 240px; }
  .page-banner h1 { font-size: 32px; }

  /* Stats */
  .stats-row { flex-wrap: wrap; gap: 20px; }
  .stat-item { flex: 1 1 45%; min-width: 130px; }
  .stat-item .stat-number { font-size: 32px; }

  /* Contact form */
  .contact-form { padding: 28px; }

  /* Product cards */
  .product-card .product-img { height: 180px; }
  .product-card .product-body { padding: 16px; }
  .product-card .product-body h5 { font-size: 16px; }

  /* Industry cards */
  .industry-card { height: 200px; }

  /* Quality badges */
  .quality-badge { padding: 18px; }
  .quality-badge .badge-icon { width: 58px; height: 58px; font-size: 26px; }

  /* Client logos */
  .client-logo { height: 90px; padding: 16px; }
  .client-logo span { font-size: 17px; }

  /* Gallery */
  .gallery-item { border-radius: 6px; }

  /* Map */
  .map-container iframe { height: 320px; }

  /* Footer */
  .footer { padding: 50px 0 0; }
  .footer h5 { font-size: 16px; margin-bottom: 14px; }

  /* Floating actions — keep compact on tablet */
  .fab { padding: 12px 14px; font-size: 12px; }
  .fab i { font-size: 18px; }
}

/* ── Floating actions: switch to a bottom-right stack of round buttons
   on tablet/phone so the rail never overlaps horizontally-scrolling
   cards, tables, or text on the right edge of the screen. ── */
@media (max-width: 768px) {
  .floating-actions {
    top: auto;
    bottom: 92px;
    right: 18px;
    left: auto;
    transform: none;
    flex-direction: column;
    gap: 12px;
  }
  .fab,
  .fab:hover {
    max-width: 52px;
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50% !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  }
  .fab-label { display: none; }
}

/* ── 768px: Tablet portrait ── */
@media (max-width: 768px) {
  .container { padding-left: 16px; padding-right: 16px; }

  /* Top bar */
  .top-bar { font-size: 12px; padding: 6px 0; }
  .top-bar .container { gap: 6px; }
  .top-bar span { white-space: nowrap; }

  /* Navbar */
  .navbar { padding: 8px 0; }
  .navbar-toggler { padding: 6px 10px; font-size: 18px; border-color: var(--border); }
  .logo-text { font-size: 22px; }
  .logo-tagline { font-size: 9px; letter-spacing: 1.5px; }

  /* Hero */
  .hero-banner { min-height: 420px; }
  .hero-content { max-width: 100%; padding: 0 8px; }
  .hero-content h1 { font-size: 28px; line-height: 1.2; margin-bottom: 14px; }
  .hero-content p { font-size: 15px; margin-bottom: 20px; }
  .hero-content .hero-label { font-size: 11px; letter-spacing: 2px; margin-bottom: 12px; }
  .hero-dots { bottom: 20px; gap: 8px; }
  .hero-dot { width: 10px; height: 10px; }

  /* Section spacing */
  .section { padding: 56px 0; }
  .intro-section { padding: 56px 0; }

  .section-heading { margin-bottom: 36px; }
  .section-heading h2,
  .intro-text h2,
  .about-story h2,
  .cta-banner h2 { font-size: 24px; }
  .section-heading .section-label { font-size: 12px; letter-spacing: 2px; }
  .section-heading p { font-size: 14px; }

  /* Page banner */
  .page-banner { min-height: 200px; }
  .page-banner h1 { font-size: 26px; }
  .breadcrumb-nav { font-size: 13px; }
  .page-banner-content p { font-size: 13px !important; }

  /* Buttons */
  .btn-valve,
  .btn-outline-valve {
    padding: 11px 26px;
    font-size: 13px;
    letter-spacing: 0.5px;
  }

  /* Stats */
  .stat-item { flex: 1 1 45%; min-width: 120px; }
  .stat-item .stat-number { font-size: 28px; }
  .stat-item .stat-label { font-size: 12px; letter-spacing: 0.5px; }

  /* Product cards */
  .product-card .product-img { height: 160px; }
  .product-card .product-body { padding: 14px; }
  .product-card .product-body h5 { font-size: 15px; }
  .product-card .product-body p { font-size: 13px; }

  /* Industry cards */
  .industry-card { height: 180px; }
  .industry-card .industry-overlay { padding: 16px; }
  .industry-card .industry-overlay h5 { font-size: 16px; }

  /* Quality badges */
  .quality-badge { padding: 16px; }
  .quality-badge .badge-icon { width: 52px; height: 52px; font-size: 22px; }
  .quality-badge h6 { font-size: 13px; }

  /* Client logos */
  .client-logo { height: 80px; padding: 14px; }
  .client-logo span { font-size: 15px; }

  /* Contact */
  .contact-info-card { padding: 24px; }
  .contact-info-card h5 { font-size: 16px; }
  .contact-info-card p { font-size: 14px; }
  .contact-form { padding: 24px; }
  .form-control, .form-select { padding: 11px 14px; font-size: 15px; }

  /* Map */
  .map-container iframe { height: 280px; }

  /* CTA */
  .cta-banner { padding: 44px 0; }
  .cta-banner p { font-size: 15px; }

  /* Footer */
  .footer { padding: 44px 0 0; }
  .footer p { font-size: 13px; }
  .footer-links a { font-size: 13px; }
  .footer-contact li { font-size: 13px; }

  /* Back to top */
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; font-size: 16px; }

  /* Floating actions — round buttons stacked above Back to top, so
     nothing on the page's right edge sits underneath them */
  .floating-actions { bottom: 74px; right: 20px; gap: 10px; }
  .fab, .fab:hover { width: 48px; height: 48px; max-width: 48px; }
  .fab i { font-size: 18px; }
}

/* ── 576px: Large phone ── */
@media (max-width: 576px) {
  .container { padding-left: 14px; padding-right: 14px; }

  /* Top bar — stack phone & email */
  .top-bar { padding: 6px 0; }
  .top-bar > .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .top-bar .d-flex:first-child { flex-direction: column; gap: 2px !important; }
  .top-bar span { font-size: 11px; }
  .top-bar i { font-size: 11px; margin-right: 4px; }

  /* Navbar */
  .navbar { padding: 6px 0; }
  .logo-text { font-size: 20px; }
  .logo-tagline { font-size: 8px; letter-spacing: 1px; }
  .navbar-toggler { padding: 5px 8px; font-size: 16px; }
  .navbar-collapse {
    margin-top: 8px;
    padding: 8px;
    max-height: 65vh;
  }
  .navbar-nav .nav-link { padding: 10px 12px !important; font-size: 14px; }

  /* Hero */
  .hero-banner { min-height: 380px; }
  .hero-content h1 { font-size: 22px; line-height: 1.2; margin-bottom: 12px; }
  .hero-content p { font-size: 14px; margin-bottom: 18px; }
  .hero-content .hero-label { font-size: 10px; letter-spacing: 1.5px; margin-bottom: 10px; }
  .hero-dots { bottom: 14px; gap: 6px; }
  .hero-dot { width: 9px; height: 9px; }

  /* Section spacing */
  .section { padding: 44px 0; }
  .intro-section { padding: 44px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2,
  .intro-text h2,
  .about-story h2,
  .cta-banner h2 { font-size: 21px; }
  .section-heading .section-label { font-size: 11px; letter-spacing: 1.5px; }
  .section-heading p { font-size: 13.5px; }

  /* Page banner */
  .page-banner { min-height: 170px; }
  .page-banner h1 { font-size: 22px; }
  .breadcrumb-nav { font-size: 12px; }
  .page-banner-content p { font-size: 12px !important; }

  /* Buttons */
  .btn-valve,
  .btn-outline-valve {
    padding: 10px 22px;
    font-size: 12px;
    letter-spacing: 0.3px;
    width: 100%;
    display: block;
    text-align: center;
  }
  .cta-banner .d-flex { flex-direction: column; gap: 10px !important; }

  /* Intro text */
  .intro-text .year-badge { font-size: 12px; padding: 4px 14px; }
  .intro-text p, .about-story p { font-size: 14px; line-height: 1.7; }

  /* Stats — 2×2 grid */
  .stats-row { gap: 16px; }
  .stat-item { flex: 1 1 45%; min-width: 100px; }
  .stat-item .stat-number { font-size: 24px; }
  .stat-item .stat-label { font-size: 11px; }

  /* Product cards */
  .product-card .product-img { height: 140px; }
  .product-card .product-body { padding: 12px; }
  .product-card .product-body h5 { font-size: 14px; }
  .product-card .product-body p { font-size: 12px; }

  /* Industry cards */
  .industry-card { height: 160px; }
  .industry-card .industry-overlay { padding: 12px; }
  .industry-card .industry-overlay h5 { font-size: 14px; }

  /* Quality badges */
  .quality-badge { padding: 14px; }
  .quality-badge .badge-icon { width: 46px; height: 46px; font-size: 20px; margin-bottom: 10px; }
  .quality-badge h6 { font-size: 12px; }

  /* Client logos */
  .client-logo { height: 70px; padding: 12px; }
  .client-logo span { font-size: 14px; }

  /* Gallery */
  .gallery-item img { height: auto; }

  /* Contact */
  .contact-info-card { padding: 20px; }
  .contact-info-card .icon-circle { width: 44px; height: 44px; font-size: 18px; margin-bottom: 12px; }
  .contact-info-card h5 { font-size: 15px; }
  .contact-info-card p, .contact-info-card a { font-size: 13px; }
  .contact-form { padding: 20px; }
  .form-control, .form-select { padding: 10px 12px; font-size: 14px; }
  .form-label { font-size: 13px; }

  /* Map */
  .map-container iframe { height: 240px; }

  /* CTA */
  .cta-banner { padding: 36px 0; }
  .cta-banner p { font-size: 14px; margin-bottom: 18px; }

  /* Leader cards */
  .leader-card { padding: 22px; }
  .leader-card .leader-icon { width: 70px; height: 70px; font-size: 28px; margin-bottom: 12px; }
  .leader-card h5 { font-size: 16px; }
  .leader-card .role { font-size: 12px; }
  .leader-card p { font-size: 13px; }

  /* Footer */
  .footer { padding: 36px 0 0; }
  .footer h5 { font-size: 15px; margin-bottom: 12px; }
  .footer p { font-size: 13px; }
  .footer-links a { font-size: 13px; }
  .footer-contact li { font-size: 12.5px; gap: 8px; margin-bottom: 12px; }
  .footer-bottom { padding: 14px 0; font-size: 12px; }

  /* Back to top */
  .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; font-size: 15px; }

  /* Floating actions — round buttons stacked above Back to top */
  .floating-actions { bottom: 64px; right: 16px; gap: 8px; }
  .fab, .fab:hover { width: 44px; height: 44px; max-width: 44px; }
  .fab i { font-size: 17px; }
  .fab-label { display: none; }
}

/* ── 400px: Small phone ── */
@media (max-width: 400px) {
  .container { padding-left: 12px; padding-right: 12px; }

  .logo-text { font-size: 18px; }
  .logo-tagline { display: none; }

  .hero-banner { min-height: 340px; }
  .hero-content h1 { font-size: 19px; }
  .hero-content p { font-size: 13px; }

  .section { padding: 36px 0; }
  .section-heading h2,
  .intro-text h2,
  .about-story h2,
  .cta-banner h2 { font-size: 19px; }

  .page-banner { min-height: 150px; }
  .page-banner h1 { font-size: 20px; }

  /* Product cards — stack, smaller image */
  .product-card .product-img { height: 120px; }
  .product-card .product-body { padding: 10px; }
  .product-card .product-body h5 { font-size: 13px; }

  /* Industry cards */
  .industry-card { height: 140px; }
  .industry-card .industry-overlay h5 { font-size: 13px; }

  /* Quality badges */
  .quality-badge { padding: 12px; }
  .quality-badge .badge-icon { width: 40px; height: 40px; font-size: 18px; }

  /* Stats */
  .stat-item { min-width: 90px; }
  .stat-item .stat-number { font-size: 22px; }

  /* Contact */
  .contact-info-card { padding: 16px; }
  .contact-form { padding: 16px; }

  /* Footer */
  .footer .footer-logo { font-size: 24px; }

  /* Floating actions */
  .floating-actions { bottom: 58px; right: 14px; gap: 8px; }
  .fab, .fab:hover { width: 40px; height: 40px; max-width: 40px; }
  .fab i { font-size: 15px; }

  .back-to-top { bottom: 14px; right: 14px; width: 38px; height: 38px; font-size: 14px; }
}

/* ── Landscape phone optimization ── */
@media (max-width: 991px) and (orientation: landscape) {
  .hero-banner { min-height: 340px; }
  .navbar-collapse { max-height: 60vh; }
}

/* ── Reduced motion preference ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
}

/* ===== Welcome Popup ===== */
.welcome-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.welcome-popup.active {
  display: flex;
  animation: welcomeFadeIn 0.3s ease;
}
@keyframes welcomeFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.welcome-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 37, 87, 0.75);
  backdrop-filter: blur(3px);
}
.welcome-popup-box {
  position: relative;
  background: var(--white);
  border-radius: 12px;
  max-width: 780px;
  width: 100%;
  display: flex;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  animation: welcomeSlideUp 0.4s ease;
  max-height: 90vh;
}
@keyframes welcomeSlideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.welcome-popup-close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--primary-dark);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.welcome-popup-close:hover {
  background: var(--accent);
  color: var(--white);
  transform: rotate(90deg);
}
.welcome-popup-image {
  flex: 0 0 40%;
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.welcome-popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.welcome-popup-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 37, 87, 0.55) 0%, rgba(26, 56, 119, 0.25) 100%);
}
.welcome-popup-content {
  flex: 1;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}
.welcome-popup-label {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}
.welcome-popup-content h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.welcome-popup-content > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
}
.welcome-popup-content .form-control,
.welcome-popup-content .form-select {
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  transition: var(--transition);
}
.welcome-popup-content .form-control:focus,
.welcome-popup-content .form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(46, 95, 173, 0.15);
}
.welcome-popup-content .btn-valve {
  padding: 11px 24px;
  font-size: 14px;
}
.welcome-popup-content .alert-success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .welcome-popup-box {
    flex-direction: column;
    max-width: 420px;
  }
  .welcome-popup-image {
    flex: 0 0 140px;
    min-height: 140px;
  }
  .welcome-popup-content {
    padding: 24px 20px;
  }
  .welcome-popup-content h3 {
    font-size: 22px;
  }
}
@media (max-width: 480px) {
  .welcome-popup { padding: 12px; }
  .welcome-popup-image { flex: 0 0 110px; min-height: 110px; }
  .welcome-popup-content { padding: 20px 16px; }
  .welcome-popup-content h3 { font-size: 20px; }
}
