/* ============================================
   JAY PRODUCTS - Main Stylesheet
   RCC Pipes & Manhole Covers Manufacturer
   Mahesana, Gujarat, India
   ============================================ */

:root {
  --primary: #1a1a2e;
  --secondary: #c4b9ac;
  --accent: #e85d04;
  --light: #f5f5f0;
  --dark: #2d2d2d;
  --white: #ffffff;
  --gray: #6b7280;
  --light-gray: #e5e7eb;
  --glass: rgba(255, 255, 255, 0.1);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
  --card-bg: #ffffff;
  --border-color: #e5e7eb;
}

/* ============================================
   DARK MODE VARIABLES (Polished Contrast)
   ============================================ */
body.dark-mode {
  --light: #0d0d12;
  --dark: #f0f0f0;
  --gray: #b0b0b0;
  --light-gray: #2a2a35;
  --primary: #0a0a16;
  --glass: rgba(0, 0, 0, 0.5);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
  --card-bg: #16161e;
  --border-color: #2a2a35;
}

/* Smooth transition for theme change */
body,
.section,
.about,
.products,
.calculator,
.locations,
.contact,
.documents,
.company-profile,
.clients,
.testimonials,
.faq,
.specs,
.product-card,
.doc-card,
.contact-form,
.contact-card,
.location-card,
.quality-card,
.profile-card,
.testimonial-card,
.navbar {
  transition:
    background-color 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease;
}

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

/* SCROLL PROGRESS BAR */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--accent);
  width: 0%;
  z-index: 999999;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px var(--accent);
}

/* 3D TILT EFFECT */
.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(1000px);
  transition: transform 0.1s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

/* ============================================
   PRELOADER (800ms)
   ============================================ */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 30px;
  animation: pulse 1s ease-in-out infinite;
}

.preloader-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preloader-text {
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.preloader-progress {
  width: 0%;
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  animation: progress 0.6s ease-in-out forwards;
}

.preloader-percent {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 700;
  margin-top: 20px;
}

.preloader-tagline {
  color: var(--secondary);
  font-size: 0.9rem;
  margin-top: 15px;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
@keyframes progress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ============================================================
   JAY PRODUCTS - NAVBAR FIX
   ============================================================ */

.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  padding: 5px 0;
  transition:
    background 0.3s ease,
    padding 0.3s ease,
    box-shadow 0.3s ease;
 background: var(--primary);
}

/* ============================================================
   NAV CONTAINER
   ============================================================ */

.nav-container {
  width: 100% !important;
  max-width: 1400px !important;
  min-height: 70px;
  margin: 0 auto !important;
  padding: 10px 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box;
}

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

.nav-logo {
  display: flex !important;
  align-items: center !important;

  flex-shrink: 0;

  position: relative;

  z-index: 10001;
  text-decoration: none !important;
}

.nav-logo img {
  width: 50px;
  height: 50px;

  object-fit: contain;

  border-radius: 8px;
}

.nav-logo-text {
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 1px;
  padding-left: 10px;
  margin-top: 8px;
}

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

.theme-toggle-btn {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}
.theme-toggle-btn:hover {
    background: var(--accent);
    color: #fff;
}

/* ============================================================
   MOBILE MENU CLOSE BUTTON
   ============================================================ */

.mobile-nav-close {
    display: none !important;
}

@media (max-width: 768px) {

    .mobile-nav-close {
        display: flex !important;
        justify-content: flex-end;
        align-items: center;

        width: 100%;

        margin-bottom: 15px;
    }

    .mobile-nav-close button {
        width: 44px;
        height: 44px;

        display: flex;
        align-items: center;
        justify-content: center;

        border: 0;
        border-radius: 10px;

        background: rgba(255, 255, 255, 0.08);

        color: #fff;

        font-size: 20px;

        cursor: pointer;

        transition:
            background 0.2s ease,
            transform 0.2s ease;
    }

    .mobile-nav-close button:hover {
        background: var(--accent, #ff6b00);

        transform: rotate(90deg);
    }

    .mobile-nav-close button:active {
        transform: scale(0.92);
    }

}

/* ============================================================
   DESKTOP NAV LINKS
   ============================================================ */

.nav-links {
  display: flex !important;

  align-items: center !important;

  justify-content: flex-end !important;

  gap: 28px !important;

  margin: 0 0 0 auto !important;

  padding: 0 !important;

  list-style: none !important;

  position: relative;

  z-index: 10000;

  opacity: 1 !important;

  visibility: visible !important;
  z-index: 99999;
  transform: none !important;
}

.nav-links li {
  display: flex !important;

  align-items: center !important;
}

.nav-links a {
  display: inline-flex !important;

  align-items: center;

  white-space: nowrap;

  color: var(--white);

  text-decoration: none;

  font-weight: 500;

  font-size: 0.95rem;

  position: relative;

  transition: color 0.3s ease;
}

/* Active / hover underline */

.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -6px;

  width: 0;

  height: 2px;

  background: var(--accent);

  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

/* ============================================================
   MOBILE TOGGLE
   ============================================================ */

.mobile-toggle {
  display: none !important;

  position: relative;

  width: 44px;
  height: 44px;

  padding: 0;

  margin-left: auto;

  border: 0;

  border-radius: 10px;

  background: transparent;

  cursor: pointer;

  z-index: 10002;

  align-items: center;

  justify-content: center;
}

/* Hamburger lines */

.mobile-toggle span {
  position: absolute;

  left: 10px;

  width: 24px;

  height: 2px;

  border-radius: 2px;

  background: #fff;

  transition:
    transform 0.25s ease,
    opacity 0.2s ease,
    top 0.25s ease;
}

.mobile-toggle span:nth-child(1) {
  top: 13px;
}

.mobile-toggle span:nth-child(2) {
  top: 21px;
}

.mobile-toggle span:nth-child(3) {
  top: 29px;
}

/* ============================================================
   HAMBURGER -> X
   ============================================================ */

.mobile-toggle.active span:nth-child(1) {
  top: 21px;

  transform: rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  top: 21px;

  transform: rotate(-45deg);
}

/* ============================================================
   DESKTOP
   ============================================================ */

@media (min-width: 769px) {
  .nav-links {
    display: flex !important;

    opacity: 1 !important;

    visibility: visible !important;

    transform: none !important;
  }

  .mobile-toggle {
    display: none !important;
  }
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  /* Container */

  .nav-container {
    min-height: 60px;

    padding: 8px 16px !important;
  }

  /* Show hamburger */

  .mobile-toggle {
    display: flex !important;
  }

  /* Mobile menu */

  .nav-links {
    position: fixed !important;

    top: 0 !important;

    right: 0 !important;

    bottom: 0 !important;

    width: min(86vw, 350px) !important;

    height: 100dvh !important;

    margin: 0 !important;

    padding: 90px 24px 30px !important;

    background: rgba(20, 24, 38, 0.98) !important;

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    box-shadow: -12px 0 35px rgba(0, 0, 0, 0.35);

    display: flex !important;

    flex-direction: column !important;

    align-items: stretch !important;

    justify-content: flex-start !important;

    gap: 4px !important;

    overflow-y: auto;

    opacity: 0 !important;

    visibility: hidden !important;

    transform: translateX(105%) !important;

    transition:
      transform 0.3s ease,
      opacity 0.25s ease,
      visibility 0.3s ease !important;
  }

  /* Open menu */

  .nav-links.active {
    opacity: 1 !important;

    visibility: visible !important;

    transform: translateX(0) !important;
  }

  /* Mobile items */

  .nav-links li {
    width: 100%;

    display: block !important;
  }

  .nav-links li a {
    width: 100%;

    min-height: 48px;

    padding: 12px 4px !important;

    display: flex !important;

    align-items: center;

    font-size: 1rem !important;

    color: #ffffff !important;
  }

  /* Remove desktop underline on mobile */

  .nav-links li a::after {
    display: none;
  }

  .nav-links li a:hover {
    color: var(--accent) !important;
  }
}

/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {
  .nav-container {
    padding-left: 12px !important;

    padding-right: 12px !important;
  }

  .nav-logo img {
    width: 40px !important;

    height: 40px !important;
  }

  .nav-logo-text {
    font-size: 0.95rem !important;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    #16213e 50%,
    var(--primary) 100%
  );
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Parallax bg handled by JS */
.hero-bg {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: calc(100% + 100px);
  /* background: url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1920&q=80")
    center/cover; */
  background-image: url('images/1.jpg');
  opacity: 0.15;
  /* transition: transform 0.1s linear; */
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, var(--primary), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 30px 80px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-text h1 .highlight {
  color: var(--accent);
}
.typewriter-cursor {
  color: var(--accent);
  animation: blink 1s infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hero-subtitle {
  color: var(--secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 30px;
}

.hero-badges {
  display: flex;
  gap: 15px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}
.badge {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.badge i {
  color: var(--accent);
}

.hero-ctas {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 10px 30px rgba(232, 93, 4, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}
.stat-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.stat-label {
  color: var(--secondary);
  font-size: 0.85rem;
  margin-top: 5px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  cursor: pointer;
}

/* ============================================
   INFINITE MARQUEE
   ============================================ */
.marquee-section {
  background: var(--accent);
  padding: 15px 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.marquee-content {
  display: inline-flex;
  animation: marquee 25s linear infinite;
}
.marquee-section:hover .marquee-content {
  animation-play-state: paused;
}
.marquee-item {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 40px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
}
.marquee-item i {
  margin-right: 10px;
  font-size: 0.9rem;
  color: var(--primary);
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section {
  padding: 100px 0;
  position: relative;
  background: var(--light);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-label {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}
body.dark-mode .section-title {
  color: var(--white);
}
.section-desc {
  color: var(--gray);
  font-size: 1.05rem;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-images {
  position: relative;
}
.about-img-main {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  height: 100%;
}
.spinning-img {
  animation: slow-spin 25s linear infinite;
}
@keyframes slow-spin {
  100% {
    transform: rotate(360deg);
  }
}
.about-img-float {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid var(--card-bg);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.about-content h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
}
body.dark-mode .about-content h3 {
  color: var(--white);
}
.about-content p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 25px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.about-feature i {
  color: var(--accent);
  font-size: 1.2rem;
}
.about-feature span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

/* ============================================
   COMPANY PROFILE 
   ============================================ */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.profile-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.profile-card:hover {
  border-color: var(--accent);
}
.profile-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 20px;
}
.profile-card h3 {
  font-family: "Space Grotesk", sans-serif;
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 15px;
}
body.dark-mode .profile-card h3 {
  color: var(--white);
}
.profile-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ============================================
   CLIENTS & PROJECTS
   ============================================ */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.client-logo {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 20px 30px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  filter: grayscale(100%);
  opacity: 0.7;
}
.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  border-color: var(--accent);
  transform: translateY(-5px);
}
.client-logo i {
  font-size: 2.5rem;
  color: var(--accent);
}
.client-logo span {
  font-weight: 600;
  color: var(--dark);
  font-family: "Space Grotesk", sans-serif;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
  background: linear-gradient(180deg, var(--light) 0%, var(--card-bg) 100%);
}
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 12px 28px;
  border: 2px solid var(--border-color);
  background: var(--card-bg);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray);
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}
.tab-btn.active,
.tab-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(232, 93, 4, 0.3);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.product-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.product-img-wrap {
  position: relative;
  overflow: hidden;
  height: 250px;
  border-radius: 20px 20px 0 0;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}
.img-overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.5s ease;
  color: #fff;
  text-align: center;
  padding: 20px;
}
.img-overlay-text span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
  transform: translateY(-20px);
  transition: all 0.5s ease;
}
.img-overlay-text p {
  font-size: 0.9rem;
  transform: translateY(20px);
  transition: all 0.5s ease;
}
.product-card:hover .product-img,
.about-images:hover .about-img-main {
  filter: blur(5px) brightness(0.6);
  transform: scale(1.1);
}
.product-card:hover .img-overlay-text,
.about-images:hover .img-overlay-text {
  opacity: 1;
}
.product-card:hover .img-overlay-text span,
.product-card:hover .img-overlay-text p {
  transform: translateY(0);
}
.product-info {
  padding: 25px;
}
.product-tag {
  display: inline-block;
  background: rgba(232, 93, 4, 0.1);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.product-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
body.dark-mode .product-name {
  color: var(--white);
}
.product-desc {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 15px;
}
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}
.spec {
  background: var(--light);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--dark);
  font-weight: 500;
  border: 1px solid var(--border-color);
}
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap 0.3s ease;
}
.product-cta:hover {
  gap: 10px;
}

/* ============================================
   SPECIFICATIONS TABLE
   ============================================ */
.specs {
  background: var(--light);
}
.table-container {
  overflow-x: auto;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.spec-table th,
.spec-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--dark);
}
.spec-table th {
  background: var(--primary);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
}
.spec-table tr:hover {
  background: rgba(232, 93, 4, 0.05);
}
.spec-table .badge {
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* ============================================
   PROJECT CALCULATOR
   ============================================ */
.calculator-grid {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.calc-input-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.calc-result-area {
  display: flex;
  gap: 20px;
}
.result-box {
  flex: 1;
  background: rgba(232, 93, 4, 0.05);
  border: 1px solid var(--accent);
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}
.result-box:hover {
  background: rgba(232, 93, 4, 0.1);
  transform: translateY(-5px);
}
.result-box h4 {
  font-family: "Space Grotesk", sans-serif;
  color: var(--primary);
  font-size: 1.1rem;
}
body.dark-mode .result-box h4 {
  color: var(--white);
}
.result-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin: 10px 0;
}
.result-box p {
  color: var(--gray);
  font-size: 0.85rem;
}

/* ============================================
   QUALITY SECTION
   ============================================ */
.quality {
  background: var(--primary);
  color: #fff;
}
.quality .section-title {
  color: #fff;
}
.quality .section-desc {
  color: var(--secondary);
}
.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.quality-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
  color: #fff;
}
.quality-card:hover {
  border-color: var(--accent);
  background: rgba(232, 93, 4, 0.1);
}
.quality-icon {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: #fff;
}
.quality-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.quality-card p {
  color: var(--secondary);
  font-size: 0.9rem;
}

/* ============================================
   TESTIMONIALS 
   ============================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}
.stars {
  color: #ffd700;
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.quote {
  color: var(--gray);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
}
.testimonial-card h4 {
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}
body.dark-mode .testimonial-card h4 {
  color: var(--white);
}
.testimonial-card span {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================================
   DOCUMENTS SECTION (SECURE VAULT)
   ============================================ */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.doc-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.doc-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.doc-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
}
.doc-card h4 {
  font-family: "Space Grotesk", sans-serif;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
body.dark-mode .doc-card h4 {
  color: var(--white);
}
.doc-card p {
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.btn-view-doc {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-view-doc:hover {
  background: var(--accent);
  color: #fff;
}

/* SECURE MODAL */
.doc-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999999;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
}
.doc-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}
.doc-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: #111;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid #333;
  overflow: hidden;
}
body.dark-mode .doc-modal-content {
  background: #1e1e1e;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--primary);
  border-bottom: 1px solid #333;
}
.modal-header h3 {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-header h3 i {
  color: var(--accent);
}
.close-modal,
.close-quote {
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}
.close-modal:hover,
.close-quote:hover {
  color: var(--accent);
}
.doc-viewer-wrapper {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow-y: auto;
  background: #fff;
}
.doc-viewer-wrapper img {
  width: 100%;
  height: auto;
  pointer-events: none; /* Stops drag directly on image */
  display: block;
}
.watermark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  overflow: hidden;
  opacity: 0.25;
}
.watermark-text {
  font-size: clamp(2rem, 5vw, 4rem);
  font-family: "Space Grotesk", sans-serif;
  color: #000;
  font-weight: 900;
  transform: rotate(-30deg);
  white-space: nowrap;
  user-select: none;
  letter-spacing: 5px;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}
body.dark-mode .faq-question {
  color: var(--white);
}
.faq-question i {
  color: var(--accent);
  transition: transform 0.3s ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  background: var(--light);
}
.faq-answer p {
  color: var(--gray);
  font-size: 0.95rem;
  padding: 0 20px 20px;
}
.faq-item.active .faq-question i {
  transform: rotate(45deg);
}
.faq-item.active .faq-answer {
  max-height: 200px;
}

/* ============================================
   BROCHURE SECTION
   ============================================ */
.brochure {
  background: linear-gradient(135deg, var(--accent) 0%, #d9480f 100%);
  padding: 80px 0;
}
.brochure-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.brochure-text h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 15px;
}
.brochure-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 500px;
}
.brochure-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.btn-white {
  background: #fff;
  color: var(--accent);
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #fff;
}
.btn-white:hover {
  background: transparent;
  color: #fff;
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   LOCATIONS SECTION
   ============================================ */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.location-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}
.location-card:hover {
  box-shadow: var(--shadow-lg);
}
.location-map {
  width: 100%;
  height: 250px;
  border: none;
}
body.dark-mode .location-map {
  filter: invert(90%) hue-rotate(180deg) brightness(80%) contrast(80%);
}
.location-info {
  padding: 30px;
}
.location-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
}
.location-info h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 15px;
}
body.dark-mode .location-info h3 {
  color: var(--white);
}
.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--gray);
  font-size: 0.95rem;
}
.location-detail i {
  color: var(--accent);
  margin-top: 3px;
  width: 16px;
}
.location-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}
.location-btn:hover {
  gap: 12px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: linear-gradient(180deg, var(--light) 0%, var(--card-bg) 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 10px;
}
body.dark-mode .contact-info h3 {
  color: var(--white);
}
.contact-info > p {
  color: var(--gray);
  margin-bottom: 30px;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 16px;
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}
.contact-card:hover {
  border-color: var(--accent);
}
.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(232, 93, 4, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-detail h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 3px;
}
body.dark-mode .contact-detail h4 {
  color: var(--white);
}
.contact-detail a,
.contact-detail p {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.contact-detail a:hover {
  color: var(--accent);
}

/* FORM SUCCESS STYLES */
.contact-form-wrapper {
  position: relative;
}
.contact-form {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}
body.dark-mode .form-group label {
  color: var(--white);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--light);
  color: var(--dark);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--card-bg);
  box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.btn-submit {
  width: 100%;
  background: var(--accent);
  color: #fff;
  padding: 16px;
  border: none;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-submit:hover {
  background: #d9480f;
  box-shadow: 0 10px 30px rgba(232, 93, 4, 0.3);
}
.form-success {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  text-align: center;
  padding: 30px;
  z-index: 10;
}
.form-success.hidden {
  display: none;
}
.form-success i {
  font-size: 4rem;
  color: #25d366;
  margin-bottom: 20px;
}
.form-success h3 {
  color: var(--primary);
  font-family: "Space Grotesk";
  font-size: 2rem;
  margin-bottom: 10px;
}
body.dark-mode .form-success h3 {
  color: var(--white);
}
.form-success p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* ============================================
   QUICK QUOTE BUTTON (NEW)
   ============================================ */
.quick-quote-float {
  position: fixed;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: #fff;
  padding: 15px 20px;
  border: 2px solid var(--accent);
  border-radius: 10px 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
}
.quick-quote-float:hover {
  background: var(--accent);
  padding-right: 25px;
}
.quick-quote-float i {
  margin-right: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand img {
  width: 100px;
  height: 70px;
  border-radius: 10px;
  /* margin-bottom: 15px; */
}
.footer-brand h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.footer-brand h3 span {
  color: var(--accent);
}
.footer-brand p {
  color: var(--secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}
.footer-links h4, .footer-contact h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #fff;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--secondary);
  font-size: 0.9rem;
}

.footer-contact p a {
    color: inherit;
    text-decoration: none;
}

.footer-contact p a:hover {
    text-decoration: underline;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 3px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.footer-bottom p {
  color: var(--secondary);
  font-size: 0.85rem;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}
.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover {
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}
@keyframes pulse-whatsapp {
  0%,
  100% {
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 5px 30px rgba(37, 211, 102, 0.7);
  }
}

/* ============================================
   CIRCULAR BACK TO TOP
   ============================================ */
.progress-wrap {
  position: fixed;
  right: 30px;
  bottom: 105px;
  height: 50px;
  width: 50px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  box-shadow: inset 0 0 0 2px rgba(232, 93, 4, 0.2);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 200ms linear;
}
.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.progress-wrap::after {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f062";
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  color: var(--accent);
  left: 0;
  top: 0;
  height: 50px;
  width: 50px;
  cursor: pointer !important;
  display: block;
  z-index: 1;
  transition: all 200ms linear;
}
.progress-wrap:hover::after {
  color: var(--white);
}
.progress-wrap:hover {
  box-shadow: inset 0 0 0 50px var(--accent);
}
.progress-wrap svg path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4;
  box-sizing: border-box;
  transition: all 200ms linear;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-down {
  opacity: 0;
  transform: translateY(-60px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-down.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-rotate {
  opacity: 0;
  transform: translateY(60px) rotate(-10deg) scale(0.9);
  transition: all 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-rotate.active {
  opacity: 1;
  transform: translateY(0) rotate(0) scale(1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-stats {
    max-width: 500px;
    margin: 0 auto;
  }
  .about-grid,
  .contact-grid,
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .about-images {
    order: -1;
  }
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .progress-wrap {
    display: none !important;
  }
  .quick-quote-float {
    top: auto;
    bottom: 105px;
    right: 0;
    transform: none;
    border-radius: 10px 0 0 10px;
    padding: 10px 15px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    padding: 80px 40px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 25px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }
  .nav-links.active {
    right: 0;
  }
  .nav-close {
    display: block;
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
  }
  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }
  .hero-stats,
  .quality-grid,
  .locations-grid,
  .form-row,
  .about-features {
    grid-template-columns: 1fr;
  }
  .brochure-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .watermark-text {
    font-size: 2rem;
  }
  .calc-result-area {
    flex-direction: column;
  }
  .spec-table th,
  .spec-table td {
    padding: 10px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .product-grid,
  .doc-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 60px 0;
  }
  .input-row {
    flex-direction: column;
  }
  .profile-card,
  .testimonial-card {
    padding: 30px 20px;
  }
}

/* ============================================================
   JAY PRODUCTS - MOBILE RESPONSIVE OVERRIDES
   Added after the existing stylesheet so the original desktop
   design remains unchanged while improving phone/tablet layouts.
   ============================================================ */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
video,
iframe {
  max-width: 100%;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

body,
.section,
.container,
.nav-container {
  min-width: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
span,
td,
th {
  overflow-wrap: anywhere;
}

/* ============================================================
   TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .container,
  .nav-container {
    width: 100%;
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .section {
    padding: 80px 0;
  }

  .hero-content {
    min-height: 100vh;
    padding: 120px 24px 70px;
    gap: 40px;
  }

  .hero-text {
    max-width: 760px;
    margin: 0 auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .about-grid,
  .contact-grid,
  .calculator-grid {
    gap: 40px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }

  .doc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brochure-content {
    align-items: flex-start;
  }
}

/* ============================================================
   MOBILE / TABLET
   ============================================================ */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }

  body {
    font-size: 15px;
  }

  .container,
  .nav-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 38px;
  }

  .section-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }

  .section-title {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 1.15;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  /* ---------- NAVBAR ---------- */

  .navbar {
    padding: 10px 0;
  }

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

  .nav-logo {
    gap: 8px;
    min-width: 0;
  }

  .nav-logo img {
    width: 42px;
    height: 42px;
  }

  .nav-logo-text {
    font-size: 1rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    padding-left: 0;
  }

  .mobile-toggle {
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .mobile-toggle span {
    width: 24px;
    height: 2px;
  }

  .nav-links {
    width: min(86vw, 340px);
    max-width: none;
    padding: 78px 24px 30px;
    gap: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    align-items: stretch;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 8px 4px;
    font-size: 1rem;
  }

  .nav-links a::after {
    bottom: 4px;
  }

  .nav-links .theme-toggle-btn {
    margin-top: 8px;
  }

  .nav-close {
    top: 17px;
    right: 20px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ---------- HERO ---------- */

  .hero {
    min-height: auto;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 115px 16px 70px;
    gap: 35px;
    min-height: 100svh;
  }

  .hero-text h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.08;
    margin-bottom: 16px;
  }

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

  .hero-badges {
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
  }

  .badge {
    padding: 7px 10px;
    font-size: 0.7rem;
  }

  .hero-ctas {
    justify-content: center;
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-white,
  .btn-outline-white {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 0.9rem;
  }

  .hero-stats {
    width: 100%;
    max-width: 520px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .stat-card {
    padding: 14px 8px;
    border-radius: 12px;
  }

  .stat-number {
    font-size: 1.55rem;
  }

  .stat-label {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .scroll-indicator {
    display: none;
  }

  /* ---------- MARQUEE ---------- */

  .marquee-section {
    padding: 10px 0;
  }

  .marquee-item {
    margin: 0 20px;
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  /* ---------- ABOUT ---------- */

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

  .about-images {
    order: -1;
  }

  .about-images .product-img-wrap {
    height: min(75vw, 400px) !important;
  }

  .about-img-float {
    width: 120px;
    height: 120px;
    right: 8px;
    bottom: -20px;
    border-width: 4px;
  }

  .about-content h3 {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  .about-content p {
    font-size: 0.95rem;
  }

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

  /* ---------- GENERAL CARDS ---------- */

  .profile-grid,
  .quality-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .profile-card,
  .testimonial-card,
  .quality-card {
    padding: 28px 20px;
  }

  .clients-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .client-logo {
    min-width: 0;
    padding: 18px 10px;
    gap: 10px;
  }

  .client-logo i {
    font-size: 1.8rem;
  }

  .client-logo span {
    font-size: 0.8rem;
    text-align: center;
  }

  /* ---------- PRODUCTS ---------- */

  .product-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 2px 10px;
    margin-bottom: 30px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .product-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .product-grid,
  .doc-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-card {
    border-radius: 16px;
  }

  .product-img-wrap {
    height: 220px;
    border-radius: 16px 16px 0 0;
  }

  .product-info {
    padding: 20px;
  }

  .product-name {
    font-size: 1.15rem;
  }

  .product-desc {
    font-size: 0.88rem;
  }

  .product-specs {
    gap: 6px;
  }

  .spec {
    font-size: 0.72rem;
    padding: 4px 8px;
  }

  .product-cta {
    min-height: 44px;
    font-size: 0.88rem;
  }

  /* Hover effects are not useful on touch screens */
  .product-card:hover .product-img,
  .about-images:hover .about-img-main {
    filter: none;
    transform: none;
  }

  /* ---------- SPECIFICATION TABLE ---------- */

  .table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .spec-table {
    min-width: 650px;
  }

  .spec-table th,
  .spec-table td {
    padding: 11px 12px;
    font-size: 0.8rem;
  }

  /* ---------- CALCULATOR ---------- */

  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 22px 16px;
    border-radius: 16px;
  }

  .calc-result-area {
    flex-direction: column;
    gap: 12px;
  }

  .input-row {
    flex-wrap: wrap;
  }

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

  /* ---------- BROCHURE ---------- */

  .brochure {
    padding: 55px 0;
  }

  .brochure-content {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .brochure-text h2 {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
    line-height: 1.2;
  }

  .brochure-text p {
    font-size: 0.95rem;
  }

  .brochure-actions {
    width: 100%;
    justify-content: center;
  }

  /* ---------- LOCATIONS ---------- */

  .locations-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .location-map {
    height: 220px;
  }

  .location-info {
    padding: 22px 18px;
  }

  .location-detail {
    font-size: 0.88rem;
  }

  /* ---------- CONTACT ---------- */

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

  .contact-info h3 {
    font-size: 1.5rem;
  }

  .contact-card {
    padding: 16px;
    gap: 12px;
  }

  .contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .contact-detail a,
  .contact-detail p {
    font-size: 0.88rem;
  }

  .contact-form {
    padding: 22px 16px;
    border-radius: 16px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 16px;
  }

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

  /* ---------- FAQ ---------- */

  .faq-question {
    padding: 16px;
    font-size: 0.95rem;
    gap: 15px;
  }

  .faq-answer p {
    padding: 0 16px 16px;
    font-size: 0.88rem;
  }

  /* ---------- MODALS / DOCUMENT VIEWER ---------- */

  .modal-content {
    width: calc(100% - 20px) !important;
    max-width: none !important;
    max-height: calc(100svh - 20px);
    margin: 10px auto;
    border-radius: 12px;
  }

  .modal-header {
    padding: 12px 14px;
  }

  .modal-header h3 {
    min-width: 0;
    font-size: 0.9rem;
  }

  .doc-viewer-wrapper {
    height: calc(100svh - 90px);
    max-height: calc(100svh - 90px);
  }

  .watermark-text {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
    letter-spacing: 2px;
  }

  /* ---------- FLOATING CONTROLS ---------- */

  .progress-wrap {
    display: none !important;
  }

  .whatsapp-float {
    right: 14px !important;
    bottom: 18px !important;
    width: 52px !important;
    height: 52px !important;
    font-size: 1.45rem !important;
  }

  .quick-quote-float {
    right: 0;
    bottom: 82px;
    padding: 9px 12px;
    font-size: 0.8rem;
    border-radius: 9px 0 0 9px;
  }
  .contact-info{
    grid-template-columns: 1fr !important;
    gap: 0px !important;
  }

  /* ---------- FOOTER ---------- */

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-bottom {
    gap: 10px;
    padding: 20px 0;
  }
  .footer-brand , .footer-contact{
    grid-column: 1 / -1;
  }
  .footer-social{
    justify-content: center;
  }
  .footer-links, .footer-contact p{
    text-align: left;
    padding-left: 10px;
  }
}

/* ============================================================
   VERY SMALL PHONES
   ============================================================ */
@media (max-width: 480px) {
  .container,
  .nav-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .section {
    padding: 52px 0;
  }

  .nav-logo-text {
    font-size: 0.9rem;
  }

  .nav-logo img {
    width: 38px;
    height: 38px;
  }

  .hero-content {
    padding: 105px 12px 55px;
    gap: 28px;
  }

  .hero-text h1 {
    font-size: clamp(1.85rem, 10vw, 2.45rem);
  }

  .hero-subtitle {
    font-size: 0.88rem;
  }

  .hero-badges {
    gap: 6px;
  }

  .badge {
    font-size: 0.65rem;
    padding: 6px 8px;
  }

  .hero-stats {
    gap: 5px;
  }

  .stat-card {
    padding: 11px 5px;
  }

  .stat-number {
    font-size: 1.35rem;
  }

  .stat-label {
    font-size: 0.6rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary,
  .btn-white,
  .btn-outline-white {
    width: 100%;
    justify-content: center;
  }

  .about-images .product-img-wrap {
    height: 280px !important;
  }

  .about-img-float {
    width: 95px;
    height: 95px;
    right: 5px;
    bottom: -15px;
  }

  .clients-grid {
    grid-template-columns: 1fr 1fr;
  }

  .client-logo span {
    font-size: 0.7rem;
  }

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

  .product-info {
    padding: 17px;
  }

  .calculator-grid {
    padding: 18px 12px;
  }

  .location-map {
    height: 190px;
  }

  .location-info {
    padding: 18px 14px;
  }

  .contact-form {
    padding: 18px 12px;
  }

  .modal-content {
    width: calc(100% - 12px) !important;
    margin: 6px auto;
  }

  .quick-quote-float {
    bottom: 78px;
    font-size: 0.72rem;
  }
}

/* ============================================================
   LANDSCAPE PHONES
   ============================================================ */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-content {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .hero-stats {
    max-width: 460px;
  }

  .nav-links {
    padding-top: 65px;
    padding-bottom: 20px;
  }
}

/* ============================================================
   TOUCH DEVICES
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
  .product-card:hover,
  .profile-card:hover,
  .client-logo:hover,
  .location-card:hover,
  .contact-card:hover {
    transform: none;
  }

  .product-card:active,
  .profile-card:active,
  .client-logo:active {
    transform: scale(0.99);
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
