:root {
  --primary: #0091ff; /* Radiant Blue from Logo */
  --primary-hover: #0076d6;
  --primary-gradient: linear-gradient(135deg, #0091ff 0%, #00d2ff 100%);
  --secondary: #111827;
  --accent: #00d2ff;
  --bg-light: #f3f4f6;
  --bg-dark: #020617;
  --text-main: #4b5563;
  --text-heading: #0f172a;
  --white: #ffffff;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Fluid Typography - Tuned for mobile constraints */
  --fs-h1: clamp(1rem, 8vw + 0.5rem, 3rem);
  --fs-h2: clamp(1.5rem, 6vw + 0.3rem, 2.8rem);
  --fs-h3: clamp(1.2rem, 4vw + 0.2rem, 1.6rem);
  --fs-body: clamp(0.9rem, 0.2vw + 0.85rem, 1.1rem);
  --section-padding: clamp(2.5rem, 10vw, 8rem);
}

/* Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "inter", sans-serif;
}

html {
  overflow-x: clip;
  width: 100%;
}

body {
  width: 100%;
  position: relative;
  overflow-x: clip; /* prevent horizontal scroll, but preserve sticky positioning */
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--white);
  color: var(--text-main);
  line-height: 1.6;
  font-size: var(--fs-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
  color: var(--text-heading);
  font-weight: 700;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  display: inline-block;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding) 0;
  overflow: hidden; /* Prevent AOS overflow */
}

.bg-light {
  background-color: var(--bg-light);
}
.bg-dark {
  background-color: var(--bg-dark);
  color: var(--white) !important;
}
.bg-primary {
  background-color: var(--primary);
  color: var(--white) !important;
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
@media (max-width: 992px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  }
}
@media (max-width: 576px) {
  .grid {
    gap: 20px;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.text-center {
  text-align: center;
}
.text-white {
  color: var(--white) !important;
}
.mb-5 {
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}
.mt-4 {
  margin-top: clamp(1rem, 3vw, 2rem);
}
.py-5 {
  padding: clamp(2rem, 6vw, 5rem) 0;
}

.section-subtitle {
  color: var(--primary);
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: var(--fs-h2);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--primary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.about-section .section-title::after {
  left: 0;
  transform: none;
}

.section-desc {
  max-width: 700px;
  margin: 0 auto;
}

/* Header & Navbar */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.top-bar {
  background: #00000057;
  color: #ffffff;
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.top-bar .contact-info a {
  margin-right: 25px;
  color: #ffffff;
}

.header.scrolled .top-bar {
  background: #f8fafc;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled .top-bar .contact-info a,
.header.scrolled .top-bar .social-links a {
  color: var(--secondary);
}

.top-bar .contact-info i {
  color: var(--primary);
  margin-right: 8px;
}

.top-bar .social-links a {
  margin-left: 15px;
  color: #ffffff;
}

.navbar {
  background: #00000057;
  padding: 20px 0;
  transition: var(--transition);
  border-bottom: 1px solid #ffffff38;
}

.header.scrolled .navbar {
  background: #ffffff;
  padding: 15px 0;
  border-bottom: none;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  position: relative;
}

/* 3-column navbar: Logo | Nav | Quote */
.navbar .logo {
  flex: 0 0 auto;
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-quote-wrapper {
  flex: 0 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  max-height: 50px;
  width: auto;
  transition: var(--transition);
}

.logo-name {
  color: #0f172a; /* Professional Dark Navy to match branding */
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.header:not(.scrolled) .logo-name {
  color: #ffffff; /* Keep it white on dark hero for readability */
}

.header.scrolled .logo-img {
  max-height: 50px;
}

.header.scrolled .logo-name {
  /* font-size: 1.2rem; */
  color: var(--primary);
}

.header.scrolled .nav-menu a {
  color: var(--secondary);
}

.header.scrolled .mobile-toggle i {
  color: var(--secondary) !important;
}

.header.scrolled .nav-menu a.active,
.header.scrolled .nav-menu a:hover {
  color: var(--primary);
}

.header.scrolled .nav-menu a::after {
  background-color: var(--primary);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.footer-logo-img {
  max-height: 60px;
  width: auto;
  margin-bottom: 0px;
}

.footer-logo-name {
  color: #ffffff; /* Footer usually has dark bg, keeping white for contrast */
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  position: relative;
  padding: 8px 0;
  transition: var(--transition);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a.active::after,
.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--primary);
}

.btn-quote-nav {
  background: var(--primary);
  color: #ffffff !important;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 10px 15px -3px rgba(0, 145, 255, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.btn-quote-nav::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.18);
  transition: width 0.35s ease;
  z-index: -1;
  border-radius: 30px;
}

.btn-quote-nav:hover::before {
  width: 100%;
  left: 0;
  right: auto;
}

.btn-quote-nav:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(0, 145, 255, 0.45);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1100;
  padding: 5px;
  position: relative;
}

/* Sticky Header Effect */
.header.scrolled {
  position: fixed;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(10px);
}

.header.scrolled .navbar {
  padding: 10px 0;
}

.header.scrolled .top-bar {
  display: none;
}

/* Hero Section */
.hero {
  height: 100vh;
  height: 100svh; /* More reliable for mobile toolbars */
  width: 100%;
  overflow: hidden;
  position: relative;
}
@media (max-width: 768px) {
  .hero {
    height: 70vh;
    min-height: 500px;
  }
}
@media (max-width: 480px) {
  .hero {
    height: 60vh;
    min-height: 400px;
  }
}

.hero-swiper {
  height: 100%;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-swiper .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.4) 0%,
    rgba(2, 6, 23, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  color: var(--white);
  padding: 0 0 0 clamp(1.5rem, 5vw, 5rem);
  background: transparent;
  backdrop-filter: none;
  border: none;
  text-align: left;
  margin-top: 170px;
}

/* Text Animations */
.animate-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-slide-active .animate-up {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.3s;
}

.delay-2 {
  transition-delay: 0.6s;
}

.hero-content h1 {
  font-size: var(--fs-h1);
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-weight: 800;
}

.hero-content p {
  font-size: clamp(1rem, 0.5vw + 1rem, 1.2rem);
  margin-bottom: 2.5rem;
  opacity: 0.9;
  font-weight: 400;
  max-width: 600px;
}

/* Info CTA Bar */
.info-cta-bar {
  background-color: var(--primary);
  padding: 25px 0;
  color: var(--white);
}
.about-img {
  width: 100%;
  height: auto;
  min-height: 300px;
  max-height: 500px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid #00000038;
  display: block;
}

@media (max-width: 768px) {
  .about-img {
    height: 350px;
  }
}
.cta-bar-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  text-align: center;
}

.cta-bar-content p {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: #020617;
}

.cta-link {
  color: #020617;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.cta-link:hover {
  opacity: 0.8;
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .cta-bar-content p {
    font-size: 1rem;
  }
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 0;
}

/* Right-to-left fill animation for all buttons */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0%;
  height: 100%;
  transition: width 0.38s ease;
  z-index: -1;
  border-radius: 50px;
}

.btn:hover::before {
  width: 100%;
  left: 0;
  right: auto;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border: 2px solid var(--primary);
}

/* On hover: dark navy fill slides from right to left */
.btn-primary::before {
  background: #0f172a;
}

.btn-primary:hover {
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.swiper-button-next,
.swiper-button-prev {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.685);
  border-radius: 50%;
  color: #ffffff;
  transition: var(--transition);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary);
  color: #000000;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ffffff;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: var(--white);
  opacity: 1;
}

/* Quality Policy */
.quality-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.quality-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.quality-card:hover {
  transform: translateY(-10px);
}

.quality-card:hover::before {
  opacity: 1;
}

.quality-card:hover h3,
.quality-card:hover p,
.quality-card:hover .icon {
  color: var(--white) !important;
}

.quality-card .icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.quality-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

/* Products Slider */
#products {
  background-color: #dcf1ff;
}
.product-swiper {
  padding-bottom: 50px;
}

.product-swiper .swiper-slide {
  height: auto;
  display: flex !important;
  align-items: stretch !important;
}

.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-img {
  height: 250px;
  overflow: hidden;
}

@media (max-width: 576px) {
  .product-img {
    height: 200px;
  }
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-img img {
  transform: scale(1.1);
}

.product-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--secondary);
}

.product-info p {
  font-size: 0.9rem;
  flex-grow: 1;
}

.product-view-all {
  text-align: center;
  margin-top: 40px;
}

/* Swiper Styling */
.swiper-pagination-bullet-active {
  background: var(--primary);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary);
}

/* Industries Served */
.industry-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 250px;
}

.industry-img {
  height: 100%;
  width: 100%;
}

.industry-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  display: flex;
  align-items: flex-end;
  padding: 30px;
}

.industry-overlay h3 {
  color: var(--white);
  font-size: 1.1rem;
}
.mb-2 {
  margin-bottom: 20px;
}
/* Why Choose Us */
.why-section img {
  width: 100%;
  height: auto;
  min-height: 300px;
  max-height: 450px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 1px solid #00000038;
  display: block;
}

@media (max-width: 768px) {
  .why-section img {
    height: 300px;
  }
}

.why-list {
  margin-top: 30px;
}

.why-list li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.why-list i {
  color: var(--primary);
  margin-right: 15px;
  font-size: 1.25rem;
}

/* CTA Section */
.cta-section {
  position: relative;
  background: url("../img/cta.webp") no-repeat center center/cover;
  background-attachment: fixed;
  padding: 60px 0 !important;
  color: var(--white);
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 21, 45, 0.8);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section .cta-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn-light {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
}

/* On hover: primary blue fills from right to left */
.btn-light::before {
  background: var(--primary);
}

.btn-light:hover {
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 145, 255, 0.35);
}

.btn-outline-light {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

/* On hover: white fills from right to left */
.btn-outline-light::before {
  background: var(--white);
}

.btn-outline-light:hover {
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(255, 255, 255, 0.2);
}

/* Footer */
/* =========================================
   Footer
   ========================================= */
.footer {
  background: var(--secondary);
  color: #94a3b8;
  padding: 80px 0 40px;
}

.footer .container {
  padding-left: clamp(24px, 5vw, 80px);
  padding-right: clamp(24px, 5vw, 80px);
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.footer h3 {
  color: var(--white);
  margin-bottom: 28px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Three perfectly balanced columns */
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  margin-bottom: 56px;
  align-items: start;
}

/* About column */
.footer-about {
  max-width: 300px;
}

.footer-about p {
  line-height: 1.75;
  font-size: 0.9rem;
}

/* Logo stacked */
.footer-logo {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px !important;
  margin-bottom: 20px;
}

.footer-logo .logo-text,
.footer-logo .footer-logo-name {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}

/* Quick Links list */
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}

.footer-links ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 0.9rem;
  transition:
    color 0.25s,
    transform 0.25s;
}

.footer-links ul li a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-links i {
  color: var(--primary);
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

/* Contact Info items */
.footer-contact p {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact p:last-child {
  margin-bottom: 0;
}

.footer-contact i {
  color: var(--primary);
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 4px;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.developed-by a {
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s;
}

.developed-by a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* Responsive Styles */

/* 1600px+ Extra Large Screens */
@media (min-width: 1600px) {
  .container {
    max-width: 1500px;
  }
}

/* 1400px - 1599px */
@media (max-width: 1400px) {
  .container {
    max-width: 1300px;
  }
}

/* 1200px - 1399px (Standard Desktop) */
@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* 992px - 1199px (Small Desktop / Large Tablet) */
@media (max-width: 992px) {
  .container {
    max-width: 960px;
  }
  .nav-menu li {
    margin-left: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* 768px - 991px (Tablet) */
@media (max-width: 991px) {
  .top-bar {
    display: none;
  }
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
  }
  /* Hide center nav and quote wrapper on mobile */
  .nav-center {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0 20px;
  }
  .nav-center.active {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    animation: slideDown 0.4s ease forwards;
  }
  .nav-quote-wrapper {
    display: none;
  }
  .mobile-toggle {
    display: block !important;
    margin-left: auto;
  }
  .nav-menu {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
  }
  .nav-menu li {
    margin: 0 !important;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  .nav-menu li:last-child {
    border-bottom: none;
  }
  .nav-menu a {
    color: var(--secondary);
    display: block;
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
  }
  .nav-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
  }
  .hero-content {
    text-align: left;
    padding: 0 0 0 clamp(1rem, 4vw, 2.5rem);
    margin-top: 0;
    max-width: 100%;
  }
  .hero-btns {
    width: auto;
    justify-content: flex-start;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-btns .btn {
    width: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-about {
    max-width: 100%;
  }

  .footer-about p {
    max-width: 440px;
    margin: 0 auto;
  }

  .footer-logo {
    align-items: center;
  }

  .footer-links ul {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links ul li,
  .footer-contact p {
    justify-content: flex-start;
  }

  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-contact p {
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .developed-by {
    margin-top: 5px;
  }
}

/* 576px - 767px (Small Tablet / Landscape Mobile) */
@media (max-width: 767px) {
  .section-title {
    font-size: 2rem;
  }
  .btn {
    padding: 12px 30px;
  }
  /* Don't force hero buttons full width */
  .hero-btns .btn {
    width: auto;
    padding: 12px 28px;
  }
}

/* 480px - 575px (Regular Mobile) */
@media (max-width: 480px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
}

/* 320px - 479px (Small Mobile) */
@media (max-width: 479px) {
  .logo {
    gap: 8px;
  }
  .logo-img {
    max-height: 40px;
  }
  .logo-name {
    font-size: 1.1rem;
  }
  .section-padding {
    --section-padding: 3rem 0;
  }
  .top-bar .contact-info a {
    margin-right: 0;
    display: block;
    margin-bottom: 5px;
    font-size: 0.75rem;
  }
}

@media (max-width: 360px) {
  .logo-name {
    font-size: 1rem;
  }
  .hero-content h1 {
    font-size: 1.2rem;
  }
}
@media (max-width: 550px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  .hero-content {
    margin: 50px 0 0 0;
  }
  .hero-content h1 {
    font-size: 20px;
  }
  .hero-content p {
    font-size: 15px;
  }
}

@media (max-width: 319px) {
  .logo-name {
    display: none; /* Hide text on extremely small screens to save space, or just use logo-img */
  }
  .section-title {
    font-size: 1.6rem;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* WhatsApp Floating Icon & Chat Bubble Popup */
.whatsapp-wrapper {
  position: fixed;
  bottom: 30px;
  right: 15px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 15px;
  animation: waFloat 3s ease-in-out infinite alternate;
}

@keyframes waFloat {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-8px);
  }
}

/* Notification Container overlay */
.wa-popup-container {
  display: grid;
  align-items: center;
  justify-items: end;
}

/* Chat Bubble Popup (like a real notification) */
.wa-popup {
  grid-area: 1 / 1;
  background: #ffffff;
  color: #333333;
  padding: 12px 18px;
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  border: 1px solid #eaeaea;

  /* Initial State: Hidden right off screen */
  opacity: 0;
  transform: translateX(30px) scale(0.9);
  pointer-events: none;

  /* 21 second loop (7s per message slice) */
  animation: waNotification 21s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

/* Offset animations so they play one after another */
.wa-popup-1 {
  animation-delay: 2s;
}
.wa-popup-2 {
  animation-delay: 9s;
}
.wa-popup-3 {
  animation-delay: 16s;
}

/* In a 21s animation: 
   Wait phase: 0% 
   Pop in: ~2% - 5% (0.5s to 1s)
   Stay visible: 5% - 25% (around 5 seconds) 
   Drop out: 28% - 30% 
   Rest of time: invisible 
*/
@keyframes waNotification {
  0%,
  2% {
    opacity: 0;
    transform: translateX(30px) scale(0.9);
  }
  5%,
  25% {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
  }
  28%,
  100% {
    opacity: 0;
    transform: translateY(15px) scale(0.9);
    pointer-events: none;
  }
}

.wa-msg {
  white-space: nowrap;
  display: block;
}

/* The little pointing tail */
.wa-popup-tail {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid #ffffff;
  filter: drop-shadow(3px 0px 2px rgba(0, 0, 0, 0.05));
}

/* Base Icon */
.whatsapp-float {
  background-color: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 2px 2px 12px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-wrapper:hover .whatsapp-float {
  background-color: #128c7e;
  transform: scale(1.1) rotate(-10deg);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.6);
  color: #fff;
}

/* Bounce effect on wrapper hover */
.whatsapp-wrapper:hover .wa-popup {
  transform: scale(1.05);
}

/* Mobile Adjustments */
@media (max-width: 576px) {
  .whatsapp-wrapper {
    bottom: 20px;
    right: 15px;
    gap: 10px;
  }
  .wa-popup {
    padding: 10px 14px;
    font-size: 0.85rem;
    border-radius: 16px;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}

/* Fix for smooth scroll with sticky header */
html {
  scroll-padding-top: 80px;
}

/* =========================================
   Contact Page Styles
   ========================================= */

.contact-hero {
  position: relative;
  background: linear-gradient(135deg, #020617 0%, #0f172a 65%, #001f3d 100%);
  padding: clamp(130px, 18vw, 210px) 0 clamp(60px, 10vw, 100px);
  overflow: hidden;
  text-align: center;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 55% 55% at 85% 50%,
      rgba(0, 145, 255, 0.13) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 35% 35% at 15% 80%,
      rgba(0, 210, 255, 0.07) 0%,
      transparent 60%
    );
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.15;
}
.hero-blob-1 {
  width: clamp(200px, 38vw, 420px);
  height: clamp(200px, 38vw, 420px);
  background: var(--primary);
  top: -100px;
  right: -80px;
}
.hero-blob-2 {
  width: clamp(130px, 22vw, 280px);
  height: clamp(130px, 22vw, 280px);
  background: var(--accent);
  bottom: -60px;
  left: -60px;
}

.contact-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.842);
  margin-bottom: 18px;
}
.contact-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.842);
  display: inline;
  transition: color 0.3s;
}
.contact-hero .breadcrumb a:hover {
  color: var(--primary);
}
.contact-hero .breadcrumb i {
  font-size: 0.58rem;
  color: var(--primary);
}

.contact-hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  position: relative;
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(0.92rem, 1.8vw, 1.08rem);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

.contact-body-section {
  padding: clamp(50px, 9vw, 90px) 0 clamp(40px, 7vw, 70px);
  background: var(--bg-light);
}

.contact-body-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-body-grid {
    grid-template-columns: 1fr;
  }
}

.details-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.details-header {
  margin-bottom: 4px;
}
.details-header .section-subtitle {
  margin-bottom: 6px;
}
.details-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--text-heading);
  margin-bottom: 10px;
}
.details-header p {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.65;
}

.details-card {
  background: linear-gradient(140deg, #0f172a 0%, #020617 100%);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 36px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.biz-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.biz-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.biz-item:first-child {
  padding-top: 0;
}

.biz-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(0, 145, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.biz-item:hover .biz-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

.biz-text strong {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1.2px;
  margin-bottom: 4px;
  font-weight: 700;
}
.biz-text span,
.biz-text a {
  font-size: 0.91rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  display: block;
  transition: color 0.3s;
}
.biz-text a:hover {
  color: var(--primary);
}

.hours-card {
  background: var(--white);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.hours-card h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hours-card h3 i {
  color: var(--primary);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
  gap: 8px;
  flex-wrap: wrap;
}
.hours-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.hours-row .day {
  color: var(--text-main);
  font-weight: 500;
}
.hours-row .time-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.hours-row .time {
  color: var(--text-heading);
  font-weight: 700;
}
.badge-open {
  font-size: 0.68rem;
  background: #dcfce7;
  color: #16a34a;
  padding: 2px 9px;
  border-radius: 20px;
  font-weight: 700;
}
.badge-closed {
  font-size: 0.68rem;
  background: #fee2e2;
  color: #dc2626;
  padding: 2px 9px;
  border-radius: 20px;
  font-weight: 700;
}

.social-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
  border: 1.5px solid transparent;
}
.social-btn-wa {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.social-btn-wa:hover {
  background: #128c7e;
  color: #fff;
  border-color: #128c7e;
  transform: translateY(-2px);
}
.social-btn-mail {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.social-btn-mail:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.form-panel {
  background: var(--white);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-panel h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  color: var(--text-heading);
  margin-bottom: 6px;
}
.form-panel h2 span {
  color: var(--primary);
}

.form-panel .panel-sub {
  color: var(--text-main);
  font-size: 0.92rem;
  margin-bottom: 26px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 18px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}
.form-group label .req {
  color: #ef4444;
  margin-left: 2px;
}

.form-ctrl {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.93rem;
  color: var(--text-heading);
  background: #f8fafc;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    background 0.3s;
  font-family: "Inter", sans-serif;
  outline: none;
  appearance: none;
}
.form-ctrl:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 145, 255, 0.1);
}
.form-ctrl::placeholder {
  color: #94a3b8;
}
textarea.form-ctrl {
  resize: vertical;
  min-height: 120px;
}
.form-select-arrow {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230091ff' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.btn-contact-submit {
  width: 100%;
  padding: 14px 30px;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-contact-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #006dd6, #0091ff);
  opacity: 0;
  transition: opacity 0.35s;
}
.btn-contact-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 145, 255, 0.35);
}
.btn-contact-submit:hover::after {
  opacity: 1;
}
.btn-contact-submit span,
.btn-contact-submit i {
  position: relative;
  z-index: 1;
}

.form-alert {
  display: none;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
  align-items: center;
  gap: 10px;
}
.form-alert.show {
  display: flex;
}
.alert-success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #86efac;
}
.alert-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.contact-map-section {
  background: var(--white);
}

.map-header {
  text-align: center;
  padding: clamp(40px, 6vw, 60px) 0 clamp(24px, 4vw, 36px);
}
.map-header h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-heading);
  margin-bottom: 10px;
}
.map-header h2 span {
  color: var(--primary);
}
.map-header p {
  color: var(--text-main);
  font-size: 0.95rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

.map-full-wrap {
  position: relative;
  border-top: 3px solid var(--primary);
  box-shadow: 0 -6px 30px rgba(0, 145, 255, 0.08);
}

.map-full-wrap iframe {
  width: 100%;
  height: clamp(320px, 50vw, 500px);
  display: block;
  border: 0;
}

.map-pin-badge {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
  pointer-events: none;
  white-space: nowrap;
}
.map-pin-badge i {
  color: var(--primary);
}

.map-address-strip {
  background: #fff;
  color: #444444ff;
  padding: 18px 0;
}
.map-address-strip .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
  font-size: 0.88rem;
}
.map-address-strip i {
  color: var(--primary);
}
.map-address-strip a {
  color: #444444ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.map-address-strip a:hover {
  color: var(--primary);
}

.contact-cta {
  background: var(--primary-gradient);
  padding: clamp(50px, 8vw, 80px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.contact-cta h2 {
  color: #fff;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  margin-bottom: 12px;
  position: relative;
}
.contact-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
  position: relative;
}
.cta-btns-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
}

/* =========================================
   Products Page Refinement
   ========================================= */

.page-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: clamp(160px, 15vw, 220px) 0 clamp(80px, 8vw, 120px);
  text-align: center;
  padding-bottom: 50px;
  position: relative;
}

.products-hero {
  background-image:
    linear-gradient(rgba(10, 18, 36, 0.8), hsla(222, 56%, 9%, 0.8)),
    url("../img/products-hero.jpg");
}

.contact-hero {
  background-image:
    linear-gradient(rgba(10, 18, 36, 0.8), rgba(10, 18, 36, 0.8)),
    url("../img/contact-hero.jpg");
}

.products-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: #fff;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.products-hero h1 span {
  background: #fff;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.products-hero p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.822);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.products-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(40px, 6vw, 120px);
  /* Do not use align-items: start here so grid cell stretches full height natively */
  padding: clamp(60px, 8vw, 120px) 0;
}

/* Fix for Sticky: Ensure all parents have visible overflow */
.products-page,
.products-main,
.products-main > .container {
  overflow: visible !important;
}

/* --- Sidebar (Premium Sticky) --- */
.products-sidebar {
  position: sticky;
  top: 120px;
  align-self: start; /* Makes the sidebar its own height so it can stick within the stretched grid cell */
  padding: 15px;
  background: #e3f2ff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
  z-index: 10; /* Lowered from 100 so header stays above */
  box-sizing: border-box;
  min-width: 0;
  isolation: isolate; /* Contain its own stacking context */
}

.sidebar-sticky h3 {
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: #303030;
  margin-bottom: 28px;
  font-weight: 800;
}

#products-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#products-nav li {
  padding: 16px 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #525252;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
  position: relative;
  padding-left: 35px;
}

/* Bullets instead of icons */
#products-nav li::before {
  content: "";
  position: absolute;
  left: 15px;
  width: 8px;
  height: 8px;
  background: #5e5e5e;
  border-radius: 50%;
  transition: all 0.4s;
}

#products-nav li:hover {
  color: var(--secondary);
  background: #f1f5f9;
}

#products-nav li:hover::before {
  background: var(--primary);
  transform: scale(1.2);
}

#products-nav li.active {
  color: #fff;
  background: var(--secondary);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

#products-nav li.active::before {
  background: var(--primary);
  width: 6px;
  height: 14px;
  border-radius: 4px;
  left: 12px;
}

#products-nav li i {
  display: none; /* Hide icons as requested */
}

/* --- Content Area --- */
.product-section {
  display: none;
  max-width: 900px;
}

/* Content column: must not push wider than remaining grid space */
.products-content {
  min-width: 0;
  overflow-x: hidden;
}

.product-section.active {
  display: block;
  animation: premiumFadeIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes premiumFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-header {
  margin-bottom: 45px;
}

.product-header h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 15px;
  line-height: 1.1;
}

.product-header h2 span {
  display: block;
  color: var(--primary);
}

.product-meta {
  font-size: 0.8rem;
  color: #1f1f1f;
  font-weight: 800;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-meta::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.product-visual {
  margin-bottom: 50px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.product-img {
  width: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.product-visual:hover .product-img {
  transform: scale(1.05);
}

.product-desc p {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #475569;
  margin-bottom: 50px;
}

/* --- Premium Table --- */
.product-table-wrapper {
  overflow-x: auto;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #f1f5f9;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
}

.product-table {
  width: 100%;
  min-width: 480px; /* ensures scroll kicks in before column crush */
  border-collapse: collapse;
  text-align: left;
}

.product-table th {
  background: #f8fafc;
  color: #475569;
  padding: 20px 25px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  border: 1px solid #e2e8f0; /* Light grey lines to separate */
}

.product-table td {
  padding: 20px 25px;
  border: 1px solid #f1f5f9; /* Light grey lines to separate */
  line-height: 1.7;
  color: #475569;
  font-size: 0.95rem;
  vertical-align: top;
  transition: background 0.3s;
}

.product-table tr:hover td {
  background: #fcfcfc;
}

.product-table td strong {
  color: var(--secondary);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

/* Feature List */
.product-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.product-features li {
  background: #f8fafc;
  padding: 16px 20px;
  border-radius: 12px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s;
}

.product-features li:hover {
  transform: translateY(-3px);
  background: #eff6ff;
}

.subsection-title {
  font-size: 1.1rem;
  color: var(--secondary);
  font-weight: 700;
  margin: 40px 0 20px;
  padding-left: 15px;
  border-left: 3px solid var(--primary);
  display: flex;
  align-items: center;
}

/* --- Homepage CTA (Reverted) --- */
.cta-section {
  padding: clamp(80px, 8vw, 100px) 0;
  position: relative;
  overflow: hidden;
}

.cta-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* --- Product Bullet List --- */
.product-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-bullet-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-medium);
  background: #f0f5ff;
  padding: 12px 18px;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.product-bullet-list li:hover {
  background: #e0eaff;
  transform: translateX(4px);
}

.product-bullet-list li i {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.product-bullet-list--two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 600px) {
  .product-bullet-list--two-col {
    grid-template-columns: 1fr;
  }
}

/* --- reCAPTCHA v2 Wrapper --- */
.recaptcha-wrap {
  margin-bottom: 10px;
}
.recaptcha-wrap .g-recaptcha {
  transform-origin: left top;
}
@media (max-width: 400px) {
  .recaptcha-wrap .g-recaptcha {
    transform: scale(0.85);
  }
}

/* --- Disabled submit button --- */
.btn-contact-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* =====================================================
   PRODUCTS PAGE — RESPONSIVE AUDIT FIXES (320–1600px)
   ===================================================== */

/* ── 1600px+ : constrain content width ── */
@media (min-width: 1500px) {
  .products-layout {
    gap: 80px;
  }
  .product-section {
    max-width: 1000px;
  }
}

/* ── 1280px tablet-landscape ── */
@media (max-width: 1280px) {
  .products-layout {
    grid-template-columns: 260px 1fr;
    gap: 50px;
    padding: 80px 0;
  }
}

/* ── 1100px: sidebar narrows ── */
@media (max-width: 1100px) {
  .products-layout {
    grid-template-columns: 230px 1fr;
    gap: 35px;
    padding: 70px 0;
  }
  .product-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  }
}

/* ── 991px: stack to single column ── */
@media (max-width: 991px) {
  .products-layout {
    grid-template-columns: 1fr;
    padding: 50px 0;
    gap: 30px;
  }
  /* Sidebar: remove sticky, full-width card */
  .products-sidebar {
    position: static;
    width: 100%;
    border-radius: 14px;
    isolation: auto;
  }
  /* Nav: 2-column equal grid on mobile */
  #products-nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  #products-nav li {
    flex: unset;
    justify-content: center;
    padding: 12px 10px 12px 10px; /* equal all sides – no left-indent bullet */
    padding-left: 10px; /* override desktop 35px */
    font-size: 0.85rem;
    text-align: center;
    border-radius: 10px;
  }
  /* Hide bullet ::before on mobile – icon replaced by centred text */
  #products-nav li::before {
    display: none;
  }
  .product-header h2 {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
  }
  .product-visual {
    margin-bottom: 30px;
    border-radius: 16px;
  }
  .product-desc p {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .subsection-title {
    font-size: 1rem;
    margin: 28px 0 14px;
  }
  .product-table th,
  .product-table td {
    padding: 14px 16px;
    font-size: 0.9rem;
  }
}

/* ── 768px: tablet portrait ── */
@media (max-width: 768px) {
  .products-layout {
    padding: 40px 0;
  }
  .product-header {
    margin-bottom: 28px;
  }
  .product-header h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    letter-spacing: -0.5px;
  }
  .product-meta {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
  }
  .product-table-wrapper {
    border-radius: 12px;
  }
  .product-table th {
    padding: 12px 14px;
    font-size: 0.82rem;
    letter-spacing: 1px;
  }
  .product-table td {
    padding: 12px 14px;
    font-size: 0.87rem;
  }
  /* 5-col architectural table: let it scroll */
  .product-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .subsection-title {
    font-size: 0.95rem;
    margin: 24px 0 12px;
    padding-left: 10px;
  }
  .product-bullet-list li {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
  .product-bullet-list--two-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── 640px: large mobile ── */
@media (max-width: 640px) {
  .products-hero h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }
  .breadcrumb {
    font-size: 0.8rem;
    gap: 8px;
  }
  .products-layout {
    padding: 32px 0;
  }
  .sidebar-sticky h3 {
    font-size: 0.65rem;
    letter-spacing: 2px;
    margin-bottom: 18px;
  }
  #products-nav li {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
  .product-header h2 {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
  }
  .product-visual {
    border-radius: 12px;
    margin-bottom: 24px;
  }
  .product-desc p {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 24px;
  }
  .product-table th,
  .product-table td {
    padding: 10px 12px;
    font-size: 0.82rem;
  }
  .product-table td strong {
    font-size: 0.9rem;
  }
  .product-bullet-list--two-col {
    grid-template-columns: 1fr;
  }
  .product-bullet-list li {
    font-size: 0.88rem;
    padding: 10px 12px;
    gap: 10px;
  }
}

/* ── 480px: small mobile ── */
@media (max-width: 480px) {
  .products-layout {
    padding: 24px 0;
    gap: 20px;
  }
  #products-nav ul {
    gap: 6px;
  }
  #products-nav li {
    padding: 9px 10px;
    font-size: 0.77rem;
    border-radius: 8px;
  }
  .product-header h2 {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }
  .product-meta {
    font-size: 0.68rem;
    letter-spacing: 1px;
  }
  .product-table th,
  .product-table td {
    padding: 9px 10px;
    font-size: 0.8rem;
  }
  .subsection-title {
    font-size: 0.9rem;
  }
}

/* ── 375px: iPhone SE / small phones ── */
@media (max-width: 375px) {
  .products-hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }
  .product-header h2 {
    font-size: clamp(1.2rem, 7vw, 1.7rem);
  }
  #products-nav li {
    font-size: 0.73rem;
    padding: 8px 8px;
  }
  .product-table th,
  .product-table td {
    padding: 8px 8px;
    font-size: 0.77rem;
  }
  .product-bullet-list li {
    font-size: 0.83rem;
    padding: 8px 10px;
  }
}

/* Version Tracking: (v4.4) */

/* --- PDF Download Link --- */
.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 6px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}
.pdf-link:hover {
  background: var(--primary);
  color: #fff;
}

/* --- Table alternating row colours --- */
.product-table .row-even td {
  background: #ffffff;
}
.product-table .row-odd td {
  background: #f8fafc;
}
