/* --- Tarvaa Solar Main Stylesheet (Navy & Gold Theme) --- */

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.top-bar-info a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-info a:hover {
  color: var(--accent-light);
}

.top-bar-socials {
  display: flex;
  gap: 16px;
}

.top-bar-socials a:hover {
  color: var(--accent-light);
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-navbar);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: var(--header-height);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

header.scrolled {
  height: 70px;
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* Logo CSS wrapper - Unified SVG integration */
.logo-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 4px 0;
}

.logo-svg {
  height: 54px;
  width: auto;
  color: var(--primary);
  transition: var(--transition-normal);
}

header.scrolled .logo-svg {
  height: 48px;
}

.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  position: relative;
  padding: 8px 0;
}

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

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

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  margin-bottom: 6px;
  transition: var(--transition-normal);
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 992px) {
  .top-bar-info a span {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #FFFFFF;
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    padding: 100px 32px 30px;
    transition: var(--transition-normal);
    z-index: 100;
    gap: 20px;
  }
  .nav-menu.active {
    right: 0;
  }
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  font-size: 15px;
}

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

.btn-primary:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 180, 0, 0.3);
}

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

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 35, 66, 0.3);
}

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

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

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: var(--border-radius-sm);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(10, 35, 66, 0.96) 0%, rgba(22, 54, 92, 0.88) 100%), 
              url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-content {
  max-width: 780px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(244, 180, 0, 0.15);
  border: 1px solid rgba(244, 180, 0, 0.4);
  color: var(--accent-light);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-badge svg {
  fill: var(--accent-light);
}

.hero-title {
  font-size: 52px;
  color: white;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--accent-light);
  background: linear-gradient(to right, var(--accent-light), #FFE082);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Logo Watermark inside Hero for recall */
.hero-watermark {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  color: rgba(244, 180, 0, 0.05);
  z-index: 1;
  pointer-events: none;
}

.hero-watermark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 70px;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-watermark {
    width: 300px;
    height: 300px;
    right: -20px;
  }
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-bar {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: -60px;
  position: relative;
  z-index: 10;
  padding: 30px;
  border: 1px solid var(--border-color);
}

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

.stat-item {
  text-align: center;
  border-right: 1px solid var(--border-color);
  padding: 10px 0;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 6px;
}

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

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* ==========================================================================
   Section Headers & Separators
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-subtitle {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 36px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Center Section Separator with logo icon to build brand recall */
.logo-separator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px 0;
  opacity: 0.8;
}

.logo-separator svg {
  color: var(--primary);
  fill: none;
  stroke: currentColor;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }
  .logo-separator {
    margin: 40px 0;
  }
}

/* ==========================================================================
   Grid System & Cards
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

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

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

/* Base card styling */
.card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(244, 180, 0, 0.25);
}

.card-icon {
  width: 54px;
  height: 54px;
  background-color: rgba(244, 180, 0, 0.1);
  border-radius: 10px;
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-normal);
}

.card:hover .card-icon {
  background-color: var(--accent);
  color: var(--primary);
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.card-desc {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-dark);
}

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

/* Feature/Why Tarvaa Cards */
.feature-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  background-color: rgba(10, 35, 66, 0.05);
  border-radius: 8px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card:hover .feature-icon-box {
  background-color: var(--accent);
  color: var(--primary);
}

/* ==========================================================================
   Brand Checklist/List component with custom Logo Bullet point
   ========================================================================== */
.brand-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brand-list-item {
  position: relative;
  padding-left: 28px;
  line-height: 1.6;
}

/* Logo icon shape as bullet point */
.brand-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'><circle cx='20' cy='20' r='8' fill='%23F4B400'/><path d='M12 20 A 8 8 0 0 1 28 20 Z' fill='%230A2342'/><line x1='5' y1='20' x2='35' y2='20' stroke='%230A2342' stroke-width='3'/></svg>") no-repeat center;
  background-size: contain;
}

/* PM Surya Ghar Banner Block */
.banner-block {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border-radius: var(--border-radius-lg);
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.banner-block::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(244, 180, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.banner-content {
  max-width: 600px;
}

.banner-badge {
  display: inline-block;
  background-color: var(--warning);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.banner-title {
  color: white;
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 750;
}

.banner-title span {
  color: var(--accent-light);
}

.banner-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
}

.banner-action {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .banner-block {
    flex-direction: column;
    padding: 30px;
    text-align: center;
  }
  .banner-title {
    font-size: 24px;
  }
}

/* ==========================================================================
   Solar Calculator Section
   ========================================================================== */
.calculator-section {
  background-color: #FFFFFF;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}

.calc-inputs {
  padding: 40px;
  background-color: #FFFFFF;
}

.calc-results {
  padding: 40px;
  background-color: #F8FAFC;
  border-left: 1px solid var(--border-color);
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input-prefix {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 16px;
}

.form-input {
  width: 100%;
  padding: 14px 16px 14px 36px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-size: 16px;
  transition: var(--transition-normal);
  color: var(--text-primary);
  background-color: #FFFFFF;
}

.form-input-no-prefix {
  padding-left: 16px;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.15);
}

.calc-toggle {
  display: flex;
  gap: 10px;
  background-color: #F1F5F9;
  padding: 4px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.calc-toggle-btn {
  flex: 1;
  border: none;
  background: none;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.calc-toggle-btn.active {
  background-color: #FFFFFF;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.range-slider {
  width: 100%;
  margin-top: 10px;
  accent-color: var(--accent);
}

.results-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.result-card {
  background-color: #FFFFFF;
  padding: 18px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
}

.result-val {
  font-family: var(--font-headings);
  font-size: 24px;
  font-weight: 850;
  color: var(--accent-dark);
  margin-bottom: 4px;
}

.result-val.primary-color {
  color: var(--primary);
}

.result-lbl {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
}

.carbon-card {
  background: linear-gradient(135deg, rgba(244, 180, 0, 0.08) 0%, rgba(20, 184, 166, 0.03) 100%);
  border: 1px dashed var(--accent);
  padding: 20px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.carbon-icon {
  width: 44px;
  height: 44px;
  background-color: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.carbon-text {
  font-size: 14px;
  color: var(--text-primary);
}

.carbon-text strong {
  color: var(--accent-dark);
  font-weight: 700;
}

@media (max-width: 992px) {
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .calc-results {
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
}

@media (max-width: 576px) {
  .calc-inputs, .calc-results {
    padding: 24px;
  }
  .results-summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   Project Portfolio Page & Gallery (Design Proposals)
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
}

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

.gallery-item {
  background-color: #FFFFFF;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-img-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: #E2E8F0;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--accent);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.gallery-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.gallery-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.gallery-loc {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
}

.gallery-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: auto;
}

.gallery-stat-box {
  text-align: center;
  flex: 1;
}

.gallery-stat-box:first-child {
  border-right: 1px solid var(--border-color);
}

.gallery-stat-num {
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}

.gallery-stat-num span {
  color: var(--accent-dark);
}

.gallery-stat-lbl {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
}

.gallery-testimonial {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-color);
  font-style: italic;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  position: relative;
}

.gallery-testimonial p {
  margin: 0 0 8px 0;
  position: relative;
  z-index: 1;
}

.gallery-testimonial p::before {
  content: "“";
  font-family: var(--font-headings);
  font-size: 36px;
  color: rgba(244, 180, 0, 0.2); /* Accent gold with opacity */
  position: absolute;
  top: -12px;
  left: -10px;
  line-height: 1;
  z-index: -1;
}

.gallery-testimonial cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  color: var(--primary);
  text-align: right;
}

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

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FAQ Section Accordions
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #FFFFFF;
  border-radius: var(--border-radius-md);
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
  font-family: var(--font-headings);
}

.faq-question svg {
  transition: var(--transition-normal);
  color: var(--text-muted);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #FCFDFE;
  color: var(--text-secondary);
  font-size: 15px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  line-height: 1.6;
}

.faq-item.active {
  box-shadow: var(--shadow-md);
  border-color: rgba(244, 180, 0, 0.25);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--accent);
}

/* ==========================================================================
   Lead Generation & Contact Forms
   ========================================================================== */
.contact-block {
  background-color: #FFFFFF;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.contact-form-side {
  padding: 50px;
}

.contact-info-side {
  padding: 50px;
  background-color: var(--primary);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-header {
  margin-bottom: 30px;
}

.info-title {
  color: white;
  font-size: 28px;
  margin-bottom: 12px;
}

.info-desc {
  color: rgba(255, 255, 255, 0.8);
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  flex-shrink: 0;
}

.info-text-heading {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-transform: uppercase;
}

.info-text-val {
  font-size: 16px;
  font-weight: 500;
}

.info-text-val a:hover {
  color: var(--accent-light);
}

@media (max-width: 992px) {
  .contact-block {
    grid-template-columns: 1fr;
  }
  .contact-info-side {
    order: -1;
  }
}

@media (max-width: 576px) {
  .contact-form-side, .contact-info-side {
    padding: 30px 20px;
  }
}

/* ==========================================================================
   Modals & Exit-Intent Popup
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 20, 39, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-container {
  background-color: #FFFFFF;
  border-radius: var(--border-radius-lg);
  max-width: 540px;
  width: calc(100% - 32px);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(5, 20, 39, 0.05);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.modal-close:hover {
  background-color: rgba(5, 20, 39, 0.1);
  color: var(--primary);
}

.modal-header-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 30px;
  text-align: center;
}

.modal-badge {
  background-color: var(--accent);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

.modal-title {
  color: white;
  font-size: 24px;
  font-weight: 800;
}

.modal-body {
  padding: 30px;
}

.modal-desc {
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
  margin-bottom: 24px;
}

/* Success Modal styling */
.success-content {
  text-align: center;
  padding: 40px 20px;
}

.success-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: rgba(244, 180, 0, 0.1);
  color: var(--accent-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* ==========================================================================
   Floating Widgets & Sticky Bars
   ========================================================================== */
/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  z-index: 90;
  transition: var(--transition-normal);
  color: white;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Sticky Action Sidebar/Bottombar */
.sticky-cta-btn {
  position: fixed;
  right: -54px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  z-index: 90;
  background-color: var(--warning);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: var(--transition-fast);
  transform-origin: center right;
}

.sticky-cta-btn:hover {
  background-color: var(--accent-dark);
  right: -48px;
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  border-top: 1px solid var(--border-color);
  padding: 10px 16px;
  z-index: 95;
}

.mobile-sticky-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mobile-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  padding: 10px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 80px; /* Offset for bottom sticky bar */
    right: 20px;
  }
  .sticky-cta-btn {
    display: none; /* Hide desktop sticky sidebar */
  }
  .mobile-sticky-bar {
    display: block; /* Show mobile sticky footer buttons */
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.footer-top {
  padding: 80px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand .logo-svg {
  height: 54px;
  width: auto;
  color: #FFFFFF;
}

.footer-col-title {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  font-family: var(--font-headings);
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

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

.footer-link a:hover {
  color: white;
  padding-left: 4px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-item svg {
  color: var(--accent-light);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-contact-text a:hover {
  color: white;
}

.footer-certifications {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-cert-badge {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
}

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

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon-link:hover {
  background-color: var(--accent);
  color: var(--primary) !important;
  transform: translateY(-3px);
  border-color: var(--accent);
}

.footer-bottom {
  padding: 30px 0;
  font-size: 13px;
}

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

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

.footer-legal-links a:hover {
  color: white;
}

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

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Page Specific Components
   ========================================================================== */
/* Page banner for subpages */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-title {
  font-size: 40px;
  color: white;
  font-weight: 800;
  margin-bottom: 8px;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a:hover {
  color: white;
}

/* Subsidy Slabs Table */
.styled-table-wrapper {
  overflow-x: auto;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  margin: 30px 0;
  box-shadow: var(--shadow-sm);
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
  background-color: #FFFFFF;
}

.styled-table th {
  background-color: var(--primary);
  color: white;
  font-weight: 600;
  padding: 16px 20px;
}

.styled-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.styled-table tr:last-child td {
  border-bottom: none;
}

.styled-table tr:nth-child(even) {
  background-color: #F8FAFC;
}

.highlight-row {
  background-color: var(--warning-light) !important;
  font-weight: 600;
}

.badge-green {
  background-color: rgba(244, 180, 0, 0.1);
  color: var(--accent-dark);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

/* Timeline Process Flow */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
  padding: 0 10px;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--border-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: #FFFFFF;
  border: 4px solid var(--accent);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-left {
  left: 0;
}

.timeline-right {
  left: 50%;
}

.timeline-right::after {
  left: -8px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: #FFFFFF;
  position: relative;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.timeline-step {
  font-weight: 800;
  color: var(--accent-dark);
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.timeline-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .timeline::after {
    left: 21px;
  }
  .timeline-container {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
  }
  .timeline-container::after {
    left: 13px;
  }
  .timeline-right {
    left: 0%;
  }
}

/* ==========================================================================
   Animations & Transition Effects
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
