/* ==========================================================================
   YuviCharge - Premium Electric Vehicle Charging Infrastructure
   Design System & Master Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Palette */
  --bg-dark: #070c16;
  --bg-surface: #0b1326;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(26, 38, 66, 0.85);

  /* Primary Brand Blue matching Official YuviCharge Logo */
  --primary-blue: #0077ff;
  --primary-cyan: #00d2ff;
  --primary-teal: #00a2ff;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --accent-indigo: #6366f1;

  /* Gradients */
  --gradient-electric: linear-gradient(135deg, #00d2ff 0%, #0077ff 50%, #0044cc 100%);
  --gradient-eco: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0, 210, 255, 0.15), rgba(0, 119, 255, 0.05));
  --gradient-dark: linear-gradient(180deg, #070c16 0%, #0b1326 100%);

  /* Text */
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;

  /* Borders & Shadows */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 210, 255, 0.3);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(0, 210, 255, 0.25);

  /* Dimensions & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 162, 255, 0.35));
  transition: transform 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.03);
}

.footer .brand-logo-img {
  height: 58px;
  /* background: #ffffff;
  padding: 6px 14px; */
  /* border-radius: var(--radius-sm);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.25); */
  display: inline-block;
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.gradient-text {
  background: var(--gradient-electric);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-eco-text {
  background: var(--gradient-eco);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
  position: relative;
  background-clip: padding-box;
  isolation: isolate;
  outline: none;
}

.btn-primary {
  background: var(--gradient-electric);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 18px rgba(0, 162, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(0, 210, 255, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border-color: var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
  background: rgba(0, 242, 254, 0.08);
  transform: translateY(-2px);
}

.btn-glow {
  position: relative;
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--gradient-electric);
  z-index: -1;
  filter: blur(12px);
  opacity: 0.55;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.btn-glow:hover::before {
  opacity: 0.85;
  filter: blur(16px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  border-radius: 9999px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-cyan {
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.badge-green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.8rem 0;
  background: rgba(7, 12, 22, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  flex-shrink: 0;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-electric);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-weight: 900;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-cyan);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-electric);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 8.5rem 0 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 70% 30%, rgba(0, 242, 254, 0.12) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.hero-subtitle {
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-cyan);
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}

.hero-img-wrapper img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-img-wrapper:hover img {
  transform: scale(1.03);
}

.floating-card {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: rgba(11, 19, 38, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glow);
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-card);
  animation: floatAnim 4s ease-in-out infinite alternate;
}

@keyframes floatAnim {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-10px);
  }
}

.floating-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 242, 254, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
  font-size: 1.3rem;
}

/* Feature Cards & Section Headers */
.section {
  padding: 6rem 0;
  position: relative;
  scroll-margin-top: 90px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-header .subtitle {
  margin-bottom: 0.8rem;
}

.section-header .title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header .desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Glass Card Component */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 254, 0.15);
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-thumb {
  position: relative;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 3rem 1.2rem 1.2rem;
  background: radial-gradient(circle at center, rgba(0, 242, 254, 0.08) 0%, transparent 70%);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.product-thumb .badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  backdrop-filter: blur(10px);
  max-width: calc(100% - 2rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-thumb img {
  max-height: 160px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
  transition: transform 0.4s ease;
  margin-top: 0.5rem;
}

.product-card:hover .product-thumb img {
  transform: scale(1.06) translateY(-4px);
}

.product-title {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.product-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.product-highlights {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.product-highlight-tag {
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-footer {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Button Layout Utility Classes */
.cta-buttons,
.responsive-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-buttons-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Responsive Grid Utility Classes */
.responsive-grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.responsive-grid-2-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.responsive-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.responsive-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

/* Specs Table & Interactive Calculator */
.calc-box {
  background: rgba(11, 19, 38, 0.9);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

/* Contact Form Field Validation & Alert Messaging */
.form-control.is-invalid {
  border-color: var(--accent-red) !important;
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.35) !important;
}

.error-msg {
  display: block;
  color: var(--accent-red);
  font-size: 0.82rem;
  margin-top: 0.4rem;
  font-weight: 500;
  min-height: 1.1rem;
  transition: opacity 0.2s ease;
}

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

.form-alert-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.form-alert-error {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #f87171;
}

.calc-result-card {
  background: var(--gradient-glow);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.calc-result-value {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-cyan);
  margin: 0.5rem 0;
}

/* Protection / Safety Grid */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.safety-card {
  padding: 1.5rem;
  text-align: center;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.safety-card:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-3px);
  background: rgba(0, 242, 254, 0.05);
}

.safety-icon {
  font-size: 2rem;
  color: var(--primary-cyan);
  margin-bottom: 0.8rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.8rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--primary-cyan);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.8rem 1.4rem;
}

/* Compare Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 12, 22, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  width: 92%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Footer */
.footer {
  background: #040810;
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin: 1.2rem 0 1.8rem;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-heading {
  font-size: 1.1rem;
  margin-bottom: 1.4rem;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-cyan);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
  .nav-container {
    padding: 0 1.25rem;
  }

  .logo {
    flex-shrink: 0;
  }

  .brand-logo-img {
    height: 38px;
    max-width: 150px;
  }

  .nav-actions {
    gap: 0.6rem;
  }

  .nav-actions .btn-sm {
    padding: 0.45rem 0.95rem;
    font-size: 0.82rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .responsive-grid-2,
  .responsive-grid-2-equal,
  .responsive-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .responsive-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .contact-grid,
  .product-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

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

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

  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
  }

  .nav-links.active {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .nav-actions .btn-outline {
    display: none;
  }

  .brand-logo-img {
    height: 35px;
    max-width: 135px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.2rem;
  }

  .section-header .title {
    font-size: 2rem;
  }

  .glass-card {
    padding: 1.6rem 1.25rem !important;
  }

  .calc-box {
    padding: 1.6rem 1.25rem !important;
  }

  .hero-buttons,
  .cta-buttons,
  .cta-buttons-center,
  .responsive-buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 1rem !important;
  }

  .hero-buttons .btn,
  .cta-buttons .btn,
  .cta-buttons-center .btn,
  .responsive-buttons .btn {
    width: 100% !important;
    justify-content: center !important;
    white-space: normal !important;
    margin: 0 !important;
  }

  .product-detail-grid {
    gap: 2rem !important;
  }

  .gallery-main {
    padding: 2rem 1rem;
  }

  .gallery-main img {
    max-height: 250px;
  }
}

@media (max-width: 600px) {
  .nav-container {
    padding: 0 0.85rem;
  }

  .brand-logo-img {
    height: 32px;
    max-width: 125px;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .nav-actions .btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
  }

  .hero {
    padding: 7rem 0 3.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-desc {
    font-size: 0.98rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .glass-card {
    padding: 1.35rem 1rem !important;
  }

  .calc-box {
    padding: 1.35rem 1rem !important;
  }

  .floating-card {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: 1.5rem;
  }

  .responsive-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

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

  .calc-result-value {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  .product-thumb {
    height: 210px;
    padding: 2.8rem 0.8rem 0.8rem;
  }

  .product-thumb img {
    max-height: 130px;
  }

  .modal-container {
    padding: 1.25rem 0.85rem !important;
  }

  .product-footer {
    gap: 0.6rem;
  }

  .product-footer .btn-sm {
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
  }
}