/* ==========================================================================
   TVM SOLAR TECHNOLOGY - MASTER STYLESHEET
   100% Custom CSS - Zero Third-Party Dependencies - Pure Performance & SEO
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --primary: #f59e0b;        /* Solar Gold */
  --primary-dark: #d97706;   /* Dark Gold */
  --primary-light: #fef3c7;  /* Soft Warm Accent */
  --primary-glow: rgba(245, 158, 11, 0.25);
  
  --secondary: #0f172a;      /* Slate Navy */
  --secondary-light: #1e293b;
  --secondary-muted: #334155;
  
  --accent-green: #10b981;   /* Eco Green */
  --accent-green-dark: #059669;
  --accent-green-light: #ecfdf5;

  --accent-blue: #0284c7;    /* Electric Tech Blue */
  --accent-blue-light: #e0f2fe;

  /* Neutral Surface Colors */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #f59e0b;
  
  /* Text Colors */
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Elevations & Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-gold: 0 8px 24px -4px rgba(245, 158, 11, 0.35);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
  
  /* Layout */
  --max-width: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --header-height: 80px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE ELEMENTS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

img, svg {
  display: block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   3. UTILITIES & CONTAINER
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-py {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-py-sm {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-dark); }
.text-accent { color: var(--accent-green-dark); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-white); }

.bg-white { background-color: var(--bg-card); }
.bg-alt { background-color: var(--bg-alt); }
.bg-dark { background-color: var(--secondary); color: var(--text-white); }

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Badges & Pills */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background-color: var(--primary-light);
  color: #92400e;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.pill-badge-green {
  background-color: var(--accent-green-light);
  color: #065f46;
  border-color: rgba(16, 185, 129, 0.3);
}

.pill-badge-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary);
  border-color: rgba(245, 158, 11, 0.3);
}

/* Section Header Component */
.section-header {
  margin-bottom: 3.5rem;
  max-width: 760px;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.25;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.bg-dark .section-header h2 {
  color: var(--text-white);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.bg-dark .section-header p {
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   4. BUTTONS & CTAs
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.975rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
  box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.39);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text-white);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  border-color: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: var(--text-white);
  color: var(--secondary);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary-dark);
  border-color: var(--primary);
}

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

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

/* --------------------------------------------------------------------------
   5. TOP ANNOUNCEMENT BAR & NAVIGATION
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--secondary);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary);
  flex-shrink: 0;
}

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

/* Main Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-img-logo {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 1.25rem;
}

.footer-img-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-icon-wrapper {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary) 0%, #ea580c 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
}

.brand-icon-wrapper svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-title span {
  color: var(--primary-dark);
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary);
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast);
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

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

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--secondary);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #091322 0%, #0f172a 60%, #1e293b 100%);
  color: var(--text-white);
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero-overlay-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(rgba(245, 158, 11, 0.12) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  opacity: 0.8;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0) 70%);
  top: -100px;
  right: -50px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.hero-content h1 span.highlight {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p.hero-subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.trust-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  flex-shrink: 0;
}

.trust-item span {
  font-size: 0.875rem;
  color: #e2e8f0;
  font-weight: 500;
}

/* Hero Visual / Lead Card */
.hero-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(12px);
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.hero-card-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero-card-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.hero-card-header p {
  font-size: 0.9rem;
  color: #94a3b8;
}

.hero-quick-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #ffffff;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.form-control::placeholder {
  color: #64748b;
}

/* Light theme form control */
.form-control-light {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.form-control-light:focus {
  background-color: #ffffff;
  border-color: var(--primary);
}

.form-control-light::placeholder {
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. STATS STRIP
   -------------------------------------------------------------------------- */
.stats-strip {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 2.25rem 0;
  box-shadow: var(--shadow-sm);
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-number span {
  color: var(--primary-dark);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   8. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-green));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(245, 158, 11, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon-box svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary-dark);
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.85rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-feature-list {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--secondary-muted);
  font-weight: 500;
}

.service-feature-list li svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-green-dark);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.9rem;
  margin-top: auto;
}

.service-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   9. WHOLESALE & DISTRIBUTION SECTION
   -------------------------------------------------------------------------- */
.wholesale-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  color: #ffffff;
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wholesale-banner-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.wholesale-banner h2 {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.2;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

.wholesale-banner p {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.wholesale-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.wholesale-point-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.wholesale-point-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.wholesale-point-item strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
}

.wholesale-point-item span {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Brands Showcase Strip */
.brands-strip {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2.25rem 0;
}

.brands-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.brand-badge-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--secondary);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.brand-badge-item:hover {
  border-color: var(--primary);
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.brand-badge-item .brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

/* Image styles for product & system showcases */
.product-img-real {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
  transition: transform var(--transition-normal);
}

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

.system-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.system-compare-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.system-compare-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.system-compare-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.system-compare-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Product Cards Grid */
.product-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background-color: var(--bg-alt);
  color: var(--secondary);
}

.filter-btn.active {
  background-color: var(--secondary);
  color: #ffffff;
  border-color: var(--secondary);
}

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

.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 158, 11, 0.4);
}

.product-thumb {
  height: 180px;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1.5rem;
}

.product-thumb svg {
  width: 90px;
  height: 90px;
  fill: var(--secondary-muted);
  opacity: 0.85;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-thumb svg {
  transform: scale(1.08);
  fill: var(--primary-dark);
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--secondary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-tag.stock {
  right: 12px;
  left: auto;
  background-color: var(--accent-green-dark);
}

.product-details {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-details h4 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-specs {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.1rem;
}

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

.dealer-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-green-dark);
}

/* --------------------------------------------------------------------------
   10. SOLAR SAVINGS CALCULATOR
   -------------------------------------------------------------------------- */
.calculator-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.calc-container {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.calc-inputs {
  padding: 3rem;
  background-color: #ffffff;
}

.calc-inputs h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.calc-inputs p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.slider-group {
  margin-bottom: 2rem;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.slider-label-row label {
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.95rem;
}

.slider-value-display {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary-dark);
}

.calc-range-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border: 3px solid #ffffff;
  transition: transform 0.1s ease;
}

.calc-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-select-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

/* Calculator Results Panel */
.calc-results {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 3rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-results-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.calc-results-header p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.results-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.result-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.result-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
  border-color: rgba(245, 158, 11, 0.4);
}

.result-card-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.result-card.featured .result-card-title {
  color: var(--primary);
}

.result-card-value {
  font-size: 1.85rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
}

.result-card.featured .result-card-value {
  font-size: 2.5rem;
  color: #fef3c7;
}

.result-card-sub {
  font-size: 0.78rem;
  color: #cbd5e1;
  margin-top: 0.35rem;
}

/* --------------------------------------------------------------------------
   11. DUAL BRANCH SHOWCASE (PALLIKARANAI & CHENGALPATTU)
   -------------------------------------------------------------------------- */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.location-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: var(--accent-blue-light);
  color: #0369a1;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.location-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.location-coverage {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.location-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.location-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.location-info-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-dark);
  flex-shrink: 0;
  margin-top: 3px;
}

.location-info-item div strong {
  display: block;
  font-size: 0.9rem;
  color: var(--secondary);
}

.location-info-item div p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. DEALER REGISTRATION / B2B SECTION
   -------------------------------------------------------------------------- */
.dealer-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.dealer-perk-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.dealer-perk-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.dealer-perk-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dealer-perk-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary-dark);
}

.dealer-perk-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.dealer-perk-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

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

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.35rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  cursor: pointer;
}

.faq-question:hover {
  color: var(--primary-dark);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  stroke: var(--text-muted);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  stroke: var(--primary-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #0b1120;
  color: #94a3b8;
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   15. FLOATING QUICK ACTION BAR (MOBILE & DESKTOP)
   -------------------------------------------------------------------------- */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  color: #ffffff;
  border: none;
}

.floating-btn.whatsapp {
  background-color: #25d366;
}

.floating-btn.phone {
  background-color: var(--primary-dark);
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.floating-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   16. TOAST NOTIFICATION & MODALS
   -------------------------------------------------------------------------- */
.toast-notice {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  background-color: var(--secondary);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--accent-green);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(150%);
  transition: transform var(--transition-normal);
}

.toast-notice.show {
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   17. INNER PAGES SPECIFIC (About, Services, Products, Contact, Dealers)
   -------------------------------------------------------------------------- */
.page-banner {
  background: linear-gradient(135deg, #091322 0%, #0f172a 60%, #1e293b 100%);
  color: #ffffff;
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-banner h1 {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.2;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.page-banner p {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 700px;
  line-height: 1.7;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.breadcrumb-nav a {
  color: #cbd5e1;
}

.breadcrumb-nav a:hover {
  color: #ffffff;
}

.content-block-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.check-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--secondary-muted);
}

.check-list-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-green-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE BREAKPOINTS (MEDIA QUERIES)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .wholesale-banner-grid {
    grid-template-columns: 1fr;
  }
  
  .calc-container {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .dealer-perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .content-block-grid, .contact-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
  }
  
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .nav-actions {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 2.35rem;
  }
  
  .services-grid, .locations-grid {
    grid-template-columns: 1fr;
  }
  
  .wholesale-points {
    grid-template-columns: 1fr;
  }
  
  .wholesale-banner {
    padding: 2rem 1.5rem;
  }
  
  .calc-inputs, .calc-results {
    padding: 2rem 1.5rem;
  }
  
  .calc-select-row {
    grid-template-columns: 1fr;
  }
  
  .results-metric-grid {
    grid-template-columns: 1fr;
  }
  
  .result-card.featured {
    grid-column: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 540px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .dealer-perks-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-banner h1 {
    font-size: 2.1rem;
  }
}
