/* ==========================================================================
   FOREST FORMULATIONS - B2B Contract Manufacturing Landing Page Style Sheet
   Aesthetic: Ultra-Premium, Organic-Clinical, Modern & Fast Loading
   ========================================================================== */

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

/* --------------------------------------------------------------------------
   1. Design Tokens & Core Variables
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --primary-hsl: 153, 68%, 14%;
  --primary: hsl(var(--primary-hsl)); /* Deep Forest Green: #0b3a24 */
  --primary-light: hsl(153, 60%, 22%);
  --primary-rgb: 11, 58, 36;
  
  --secondary-hsl: 45, 65%, 52%;
  --secondary: hsl(var(--secondary-hsl)); /* Champagne Gold: #d4af37 */
  --secondary-light: hsl(45, 75%, 62%);
  --secondary-dark: hsl(45, 65%, 42%);
  
  --bg-cream: #faf9f6; /* Soft Alabaster */
  --bg-mint: #edf6f0;  /* Pastel Sage Mint */
  --text-dark: #121814; /* Off-black */
  --text-muted: #536257; /* Muted Sage-Grey */
  --text-light: #ffffff;
  
  /* System States */
  --success: #2e7d32;
  --error: #c62828;
  --card-bg-glass: rgba(255, 255, 255, 0.85);
  --card-border-glass: rgba(11, 58, 36, 0.08);
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows & Curves */
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 30px rgba(11, 58, 36, 0.06);
  --shadow-lg: 0 20px 50px rgba(11, 58, 36, 0.12);
  --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

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

ul {
  list-style: none;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* --------------------------------------------------------------------------
   3. Reusable Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Buttons & Interactive States */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(11, 58, 36, 0.2);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  opacity: 0;
  z-index: -1;
  transition: var(--transition-normal);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
  color: var(--primary);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--text-light);
  transform: translateY(-3px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  opacity: 0;
  z-index: -1;
  transition: var(--transition-normal);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(11, 58, 36, 0.25);
  color: var(--text-light);
}

.btn-gold:hover::after {
  opacity: 1;
}

/* Badges & Section Headers */
.section-subtitle {
  font-family: var(--font-headings);
  color: var(--secondary-dark);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 16px;
  background-color: var(--bg-mint);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(11, 58, 36, 0.08);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  letter-spacing: -0.5px;
}

.section-title span {
  background: linear-gradient(135deg, var(--primary), var(--secondary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 50px auto;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

/* Glassmorphism Panel style */
.glass-panel {
  background: var(--card-bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border-glass);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

/* --------------------------------------------------------------------------
   4. Header & Navigation (Sticky & Sleek)
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 24px;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

.top-bar-info i {
  color: var(--secondary);
}

.top-bar-badges span {
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary-light);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

@media (max-width: 768px) {
  .top-bar-badges {
    display: none;
  }
  .top-bar-content {
    justify-content: center;
  }
  .top-bar-info {
    gap: 16px;
    font-size: 0.82rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }
  .top-bar {
    padding: 6px 0;
  }
  .top-bar-info {
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .logo {
    height: 38px;
  }
  .logo-container {
    gap: 8px;
  }
  .logo-title {
    font-size: 1.05rem;
  }
  .logo-tagline {
    font-size: 0.55rem;
    letter-spacing: 0.8px;
  }
  .menu-toggle {
    font-size: 1.35rem;
    padding: 4px 8px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 58, 36, 0.06);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.site-header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 48px;
  object-fit: contain;
}

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

.logo-title {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--secondary-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link-item {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
}

.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition-fast);
}

.nav-link-item:hover {
  color: var(--primary);
}

.nav-link-item:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  font-size: 0.85rem;
}

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

@media (max-width: 1150px) {
  .nav-menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   5. Hero Section (Paid Ad Magnet)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(11, 58, 36, 0.04) 0%, rgba(250, 249, 246, 1) 90%);
  padding: 40px 0;
  overflow: hidden;
}

@media (min-width: 993px) {
  .hero {
    min-height: calc(100vh - 116px);
    display: flex;
    align-items: center;
    padding: 0;
  }
}

.hero-background-shapes::before, .hero-background-shapes::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.3;
}

.hero-background-shapes::before {
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background-color: var(--bg-mint);
}

.hero-background-shapes::after {
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background-color: rgba(212, 175, 55, 0.15);
}

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

@media (min-width: 993px) {
  .hero .container {
    margin-top: -30px;
  }
}

.hero-content {
  max-width: 620px;
}

.hero-badge {
  display: inline-block;
  background: rgba(11, 58, 36, 0.05);
  border: 1px solid rgba(11, 58, 36, 0.08);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 36px;
  margin-bottom: 16px;
  text-align: center;
  max-width: 100%;
  line-height: 1.4;
}

.hero-badge i {
  color: var(--secondary);
  margin-right: 6px;
  display: inline-block;
  vertical-align: -1px;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -1.5px;
}

.hero-title span {
  display: block;
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
}

@media (max-width: 576px) {
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
}

/* Sleek horizontal glassmorphic stats bar overlapping the bottom of the hero image */
.hero-image-stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 16px 20px;
  margin-top: -24px; /* Overlaps card bottom edge beautifully */
  position: relative;
  z-index: 10;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(11, 58, 36, 0.1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-normal);
}

.hero-image-stats:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: var(--secondary);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.stat-num {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-num span {
  color: var(--secondary);
}

.stat-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.hero-stat-divider {
  width: 1px;
  height: 28px;
  background-color: rgba(11, 58, 36, 0.1);
}

@media (max-width: 768px) {
  .hero-image-stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    margin-top: 24px;
    max-width: 100%;
  }
  
  .hero-stat-divider {
    width: 60%;
    height: 1px;
    background-color: rgba(11, 58, 36, 0.08);
  }
  
  .stat-lbl {
    font-size: 0.75rem; /* Let it breathe a bit larger once stacked vertically */
  }
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
}

.hero-image-card {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: var(--transition-slow);
}

.hero-image-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-image-card img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  max-height: 55vh;
}

/* Floating credential pill over hero image */
.hero-floating-pill {
  position: absolute;
  bottom: 24px;
  left: -30px;
  padding: 16px 24px;
  max-width: 260px;
}

@media (max-width: 1200px) {
  .hero-floating-pill {
    left: 20px;
  }
}

.pill-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pill-icon {
  background: var(--primary);
  color: var(--secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.pill-text h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.pill-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 992px) {
  .hero {
    padding: 20px 0 40px 0;
  }
  .hero-content {
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-badge {
    margin-top: 10px;
    margin-bottom: 16px;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .hero-actions {
    justify-content: center;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   6. Trust Badge Bar
   -------------------------------------------------------------------------- */
.trust-bar {
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  padding: 30px 0;
  color: var(--text-light);
  overflow: hidden;
  border-top: 4px solid var(--secondary);
}

.trust-badges-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.85;
  transition: var(--transition-fast);
}

.trust-badge-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.trust-badge-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.25rem;
}

.trust-badge-info h4 {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.trust-badge-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .trust-badges-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* --------------------------------------------------------------------------
   7. Segments & Solutions (Nutra, Herbal, Ayurvedic)
   -------------------------------------------------------------------------- */
.segments {
  background-color: var(--bg-cream);
}

.segments-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .segments-tabs {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    max-width: 340px;
    margin: 0 auto 30px auto;
  }
  
  .tab-btn {
    padding: 12px 20px;
    text-align: center;
    width: 100%;
  }
}

.tab-btn {
  padding: 12px 28px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--card-bg-glass);
  border: 1px solid var(--card-border-glass);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.tab-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(11, 58, 36, 0.2);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.2);
}

.product-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-icon-container {
  width: 56px;
  height: 56px;
  background: var(--bg-mint);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  border: 1px solid rgba(11, 58, 36, 0.05);
}

.product-badge {
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary-dark);
  background: rgba(212, 175, 55, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.product-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(11, 58, 36, 0.06);
  padding-top: 20px;
}

.product-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.product-feature-item i {
  color: var(--success);
}

/* --------------------------------------------------------------------------
   8. Interactive Lead Funnel (B2B Calculator)
   -------------------------------------------------------------------------- */
.calculator-section {
  background: linear-gradient(to bottom, var(--bg-cream), var(--bg-mint));
  position: relative;
  overflow: hidden;
}

.calc-container {
  max-width: 850px;
  margin: 0 auto;
  padding: 40px;
}

@media (max-width: 576px) {
  .calc-container {
    padding: 24px;
  }
}

.calc-steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.calc-steps-indicator::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(11, 58, 36, 0.08);
  z-index: 1;
}

.calc-step {
  width: 36px;
  height: 36px;
  background: var(--bg-cream);
  border: 2px solid rgba(11, 58, 36, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-muted);
  z-index: 2;
  transition: var(--transition-normal);
}

.calc-step.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--text-light);
  box-shadow: 0 0 15px rgba(11, 58, 36, 0.2);
}

.calc-step.completed {
  border-color: var(--secondary);
  background: var(--secondary);
  color: var(--primary);
}

.calc-content-step {
  display: none;
}

.calc-content-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.calc-grid-select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .calc-grid-select {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.calc-option-card {
  padding: 24px;
  text-align: center;
  cursor: pointer;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
}

.calc-option-card:hover {
  border-color: rgba(11, 58, 36, 0.15);
  background-color: white;
}

.calc-option-card.selected {
  border-color: var(--primary);
  background-color: white;
  box-shadow: var(--shadow-md);
}

.calc-option-card i {
  font-size: 2.25rem;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.calc-option-card.selected i {
  color: var(--secondary-dark);
}

.calc-option-card h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.calc-option-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.calc-form-group {
  margin-bottom: 25px;
}

.calc-form-group label {
  display: block;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.calc-form-group label span {
  float: right;
  color: var(--secondary-dark);
  font-weight: 800;
  font-size: 1.1rem;
}

/* Custom Range Input styling */
.range-slider {
  width: 100%;
  height: 6px;
  background: rgba(11, 58, 36, 0.08);
  outline: none;
  border-radius: var(--radius-pill);
  -webkit-appearance: none;
  margin: 15px 0;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--secondary);
  border: 3px solid var(--primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: var(--shadow-glow);
}

.moq-tip {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.moq-tip i {
  color: var(--secondary-dark);
}

/* Calculator Footer Navigation */
.calc-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(11, 58, 36, 0.06);
  padding-top: 25px;
  margin-top: 30px;
}

.calc-feasibility-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(46, 125, 50, 0.1);
  border: 1px solid rgba(46, 125, 50, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 700;
}

.calc-feasibility-badge.waiting {
  background: rgba(18, 24, 20, 0.05);
  border-color: rgba(18, 24, 20, 0.1);
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .calc-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
    padding-top: 20px;
  }
  .calc-feasibility-badge {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
    padding: 10px 16px;
    font-size: 0.82rem;
    text-align: center;
  }
  #btn-calc-prev {
    grid-column: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
  #btn-calc-next {
    grid-column: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
}

/* Form layout for calculator step 3 */
.calc-lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.calc-input-wrapper {
  position: relative;
}

.calc-input-wrapper i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.calc-control {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(11, 58, 36, 0.12);
  background-color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-fast);
}

.calc-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(11, 58, 36, 0.06);
}

.calc-full-width {
  grid-column: span 2;
}

@media (max-width: 576px) {
  .calc-lead-form {
    grid-template-columns: 1fr;
  }
  .calc-full-width {
    grid-column: span 1;
  }
}

/* Success screen */
.calc-success-card {
  text-align: center;
  padding: 40px 20px;
}

.success-icon-shield {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2.5rem;
  margin: 0 auto 24px auto;
  box-shadow: var(--shadow-glow);
  position: relative;
}

.success-icon-shield::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border: 1px dashed var(--secondary);
  border-radius: 50%;
  top: -10px;
  left: -10px;
  animation: rotate 15s linear infinite;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

.calc-success-card h3 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.calc-success-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 24px auto;
}

/* --------------------------------------------------------------------------
   9. Plant Infrastructure (Saha, Ambala Highlight)
   -------------------------------------------------------------------------- */
.infrastructure {
  background: linear-gradient(180deg, #061810 0%, #0d281c 50%, #05100a 100%);
  color: var(--text-light);
  position: relative;
}

.infra-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--secondary-light);
}

.infra-title {
  color: var(--text-light);
}

.infra-title span {
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.infra-card {
  background: linear-gradient(135deg, rgba(10, 13, 11, 0.95), rgba(20, 25, 22, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 3px solid rgba(212, 175, 55, 0.25);
  padding: 32px 28px;
  border-radius: var(--radius-md);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Subtle gloss reflection effect on card */
.infra-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
  z-index: 1;
}

.infra-card:hover {
  transform: translateY(-10px);
  background: linear-gradient(135deg, rgba(14, 18, 16, 0.98), rgba(26, 32, 29, 1));
  border-color: rgba(212, 175, 55, 0.45);
  border-top-color: var(--secondary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 
              0 0 30px rgba(212, 175, 55, 0.15);
}

.infra-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.03));
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--secondary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.1);
  z-index: 2;
}

.infra-card:hover .infra-card-icon {
  transform: rotateY(360deg) scale(1.05);
  background: var(--secondary);
  border-color: var(--secondary);
  color: #0c0f0d;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.45);
}

.infra-card h3 {
  color: var(--text-light);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 14px;
  transition: var(--transition-fast);
  font-family: var(--font-headings);
  letter-spacing: -0.02em;
  z-index: 2;
}

.infra-card:hover h3 {
  color: var(--secondary-light);
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.1);
}

.infra-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.6;
  transition: var(--transition-fast);
  z-index: 2;
}

.infra-card:hover p {
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 576px) {
  .infra-card {
    padding: 24px 20px;
  }
  .infra-card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    margin-bottom: 18px;
  }
  .infra-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }
}

/* Infrastructure Image Split Section */
.infra-split {
  margin-top: 60px;
  gap: 50px;
}

.infra-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.infra-img-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(18, 24, 20, 0.6));
}

.infra-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.infra-feature-row {
  display: flex;
  gap: 22px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.01);
  border-left: 3px solid rgba(255, 255, 255, 0.03);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  align-items: flex-start;
}

.infra-feature-row:hover {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-left-color: var(--secondary);
  padding-left: 26px;
  transform: translateX(4px);
}

.infra-row-num {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-light);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: inset 0 0 8px rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.infra-feature-row:hover .infra-row-num {
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  color: #0c0f0d;
  border-color: var(--secondary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  transform: scale(1.08) rotate(360deg);
}

.infra-row-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.infra-row-text h4 {
  color: var(--text-light);
  font-size: 1.15rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.infra-feature-row:hover .infra-row-text h4 {
  color: var(--secondary-light);
}

.infra-row-text p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.infra-feature-row:hover .infra-row-text p {
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 576px) {
  .infra-feature-row {
    padding: 12px 14px;
    gap: 14px;
  }
  .infra-feature-row:hover {
    padding-left: 18px;
    transform: translateX(2px);
  }
  .infra-row-num {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  .infra-row-text h4 {
    font-size: 1.05rem;
  }
  .infra-row-text p {
    font-size: 0.82rem;
  }
}

/* --------------------------------------------------------------------------
   10. Manufacturing Process Timeline
   -------------------------------------------------------------------------- */
.process-timeline {
  background-color: var(--bg-cream);
  position: relative;
}

.timeline-line {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-line::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(11, 58, 36, 0.1);
  transform: translateX(-50%);
}

.timeline-node {
  display: flex;
  margin-bottom: 50px;
  position: relative;
}

.timeline-node:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-cream);
  border: 4px solid var(--primary);
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 5px var(--bg-mint);
  transition: var(--transition-fast);
}

.timeline-node:hover .timeline-dot {
  border-color: var(--secondary);
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.2);
}

.timeline-card-wrapper {
  width: 45%;
}

.timeline-card {
  padding: 30px;
}

.timeline-card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 58, 36, 0.15);
  box-shadow: var(--shadow-md);
}

.timeline-step-num {
  font-family: var(--font-headings);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--secondary-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.timeline-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.timeline-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .timeline-line::before {
    left: 20px;
    transform: none;
  }
  .timeline-dot {
    left: 20px;
    transform: translate(-50%, -50%);
    top: 30px;
  }
  .timeline-node, .timeline-node:nth-child(even) {
    flex-direction: row;
    padding-left: 45px;
  }
  .timeline-card-wrapper {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   11. Collapsible FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-section {
  background-color: var(--bg-mint);
}

.faq-container {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(11, 58, 36, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--text-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(11, 58, 36, 0.15);
  box-shadow: var(--shadow-md);
}

.faq-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast);
}

.faq-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  transition: var(--transition-normal);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-content {
  padding: 0 24px 20px 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid transparent;
  transition: var(--transition-fast);
}

/* Active FAQ States */
.faq-item.active {
  border-color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--secondary);
}

.faq-item.active .faq-body {
  max-height: 200px; /* Big enough to fit any answer */
}

.faq-item.active .faq-content {
  border-color: rgba(11, 58, 36, 0.06);
}

/* --------------------------------------------------------------------------
   12. Lead Capture Form & Map Integration
   -------------------------------------------------------------------------- */
.contact-section {
  background: linear-gradient(180deg, var(--bg-cream), #ffffff);
}

.contact-card-wrapper {
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
}

@media (max-width: 992px) {
  .contact-card-wrapper {
    grid-template-columns: 1fr;
  }
}

.contact-info-panel {
  padding: 40px;
  color: var(--text-light);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-panel h3 {
  color: var(--text-light);
  font-size: 1.85rem;
  margin-bottom: 12px;
}

.contact-info-panel p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.contact-details-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-row-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-row-info h4 {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-row-info p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 0;
}

.contact-row-info a:hover {
  color: var(--secondary);
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-panel {
  padding: 40px;
}

@media (max-width: 576px) {
  .contact-info-panel, .contact-form-panel {
    padding: 24px;
  }
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 576px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(11, 58, 36, 0.1);
  background-color: var(--bg-cream);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: white;
  box-shadow: 0 0 10px rgba(11, 58, 36, 0.05);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   13. Footer & Legal
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, #061810 0%, #0d281c 50%, #05100a 100%);
  color: rgba(255, 255, 255, 0.5);
  padding: 60px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 40px;
  margin-bottom: 30px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo-title {
  color: var(--text-light);
  font-size: 1.35rem;
}

.footer-desc {
  margin: 15px 0 20px 0;
  line-height: 1.5;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-links-col h4 {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 30px;
  }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   14. Floating Sticky Widgets & Contact Buttons (Right Middle & Bottom)
   -------------------------------------------------------------------------- */
.contact-sticky-widgets {
  position: fixed;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 100;
}

.whatsapp-widget, .call-widget {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

/* WhatsApp Icon Premium Style */
.whatsapp-widget {
  background-color: #25d366;
  color: white;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* Call Icon Premium Cohesive Style */
.call-widget {
  background: var(--primary);
  color: var(--secondary);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 6px 20px rgba(11, 58, 36, 0.4);
}

.whatsapp-widget:hover {
  transform: scale(1.1) translateX(-4px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.55);
}

.call-widget:hover {
  transform: scale(1.1) translateX(-4px);
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.45);
}

/* Hover Tooltips (Slide out to the left) */
.whatsapp-widget::after, .call-widget::after {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.78rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  letter-spacing: 0.02em;
}

.whatsapp-widget::after {
  content: 'WhatsApp Us';
  background-color: #1ebea5;
}

.call-widget::after {
  content: 'Call Direct';
  background-color: var(--primary);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.whatsapp-widget:hover::after, .call-widget:hover::after {
  opacity: 1;
  right: 64px;
}

.floating-widgets {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
}

.scroll-top-widget {
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  color: var(--secondary);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition-normal);
}

.scroll-top-widget.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-widget:hover {
  background-color: var(--secondary);
  color: var(--primary);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   15. Interactive Feasibility Indicator Colors
   -------------------------------------------------------------------------- */
.indicator-tag {
  font-weight: 800;
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  margin-left: 8px;
}

.indicator-easy {
  background: rgba(46, 125, 50, 0.1);
  color: var(--success);
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.indicator-custom {
  background: rgba(212, 175, 55, 0.15);
  color: var(--secondary-dark);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* --------------------------------------------------------------------------
   16. Micro-animations & Loading
   -------------------------------------------------------------------------- */
.pulse-gold {
  animation: pulseGoldAnimation 2s infinite;
}

@keyframes pulseGoldAnimation {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   17. Dynamic B2B Modal Popup Styling
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 58, 36, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  overflow: hidden; /* Absolute no scroll */
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 92%;
  max-width: 500px; /* Condensed width for PC density */
  padding: 24px 30px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 58, 36, 0.1);
  box-shadow: var(--shadow-lg);
  overflow: hidden; /* Absolute no scroll */
  margin: auto;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
  z-index: 11;
}

.modal-close-btn:hover {
  color: var(--error);
  transform: rotate(90deg);
}

.modal-header h3 {
  font-size: 1.35rem;
  margin-bottom: 4px;
  color: var(--primary);
  padding-right: 24px;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* Highly Compact Form Styling */
.modal-form .form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 0;
}

.modal-form .form-group {
  margin-bottom: 12px;
}

.modal-form label {
  display: block;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.72rem;
  margin-bottom: 4px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-form .form-control {
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(11, 58, 36, 0.1);
  background-color: var(--bg-cream);
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-fast);
}

.modal-form .form-control:focus {
  border-color: var(--primary);
  background-color: white;
  box-shadow: 0 0 8px rgba(11, 58, 36, 0.05);
}

.modal-form textarea.form-control {
  resize: none;
  min-height: 55px; /* Compact height for text area */
  height: 55px;
}

.modal-form .submit-btn {
  width: 100%;
  padding: 10px 20px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  margin-top: 4px;
}

/* Mobile Specific Ultra-Tighter Rules */
@media (max-width: 576px) {
  .modal-container {
    padding: 16px 20px;
    width: 95%;
  }
  .modal-close-btn {
    top: 10px;
    right: 15px;
    font-size: 1.75rem;
  }
  .modal-header h3 {
    font-size: 1.15rem;
  }
  .modal-header p {
    font-size: 0.72rem;
    margin-bottom: 12px;
  }
  .modal-form .form-group-row {
    gap: 8px;
  }
  .modal-form .form-group {
    margin-bottom: 8px;
  }
  .modal-form .form-control {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
  .modal-form label {
    font-size: 0.68rem;
    margin-bottom: 3px;
  }
  .modal-form textarea.form-control {
    min-height: 48px;
    height: 48px;
  }
  .modal-form .submit-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    margin-top: 0;
  }
}
