﻿/*
Theme Name: Fiinovation Premium
Theme URI: https://fiinovation.co.in/
Author: Antigravity
Description: A premium, modern CSR and ESG consulting theme redesigned for Fiinovation. Features elegant animations, customizer settings, and clean typography.
Version: 3.0
Text Domain: fiinovation-premium
*/

/* --- Design Tokens & CSS Variables --- */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* ESG Nature/Tech Palette */
  --clr-forest: hsl(158, 40%, 6%);            /* Deep Forest Charcoal */
  --clr-forest-light: hsl(158, 30%, 12%);
  --clr-forest-dark: hsl(158, 50%, 3%);
  
  --clr-brand: #D12023;         /* Fiinovation Crimson Red */
  --clr-brand-light: #e53e3e;
  --clr-brand-dim: rgba(209, 32, 35, 0.08);
  
  --clr-gold: hsl(45, 95%, 48%);             /* Sunburst Gold */
  --clr-gold-light: hsl(45, 100%, 55%);
  
  --clr-bg-light: hsl(150, 10%, 97%);
  --clr-bg-white: hsl(0, 0%, 100%);
  --clr-bg-dark: hsl(158, 40%, 5%);          /* Dark Slate */
  --clr-bg-dark-card: hsl(158, 25%, 9%);
  
  --clr-text-dark: hsl(158, 25%, 12%);
  --clr-text-light: hsl(158, 15%, 92%);
  --clr-text-muted: hsl(158, 10%, 48%);
  
  --border-light: 1px solid rgba(0, 104, 56, 0.06);
  --border-glass: 1px solid rgba(255, 255, 255, 0.06);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 20px 40px rgba(0, 104, 56, 0.05);
  --shadow-lg: 0 32px 80px rgba(0, 104, 56, 0.1);
  --shadow-glow: 0 0 30px rgba(209, 32, 35, 0.25);
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--clr-text-dark);
  background-color: var(--clr-bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--clr-forest-dark);
  letter-spacing: -0.5px;
}

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

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

ul {
  list-style: none;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--clr-bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--clr-forest-light);
  border-radius: var(--radius-pill);
}

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

.section-padding {
  padding-top: 140px;
  padding-bottom: 140px;
}

.text-center { text-align: center; }
.text-light { color: var(--clr-text-light); }

.section-header {
  max-width: 640px;
  margin: 0 auto 80px auto;
  text-align: center;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--clr-forest-dark);
  margin-bottom: 20px;
}

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

/* --- Refined Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--clr-brand);
  color: var(--clr-bg-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--clr-brand-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background-color: transparent;
  color: var(--clr-text-light);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  background-color: var(--clr-bg-white);
  color: var(--clr-forest-dark);
  border-color: var(--clr-bg-white);
  transform: translateY(-4px);
}

/* --- Header / Navigation --- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 40px 0;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  position: fixed;
  background-color: rgba(9, 13, 10, 0.9);
  backdrop-filter: blur(20px);
  padding: 18px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1); /* Force header logo white */
  transition: var(--transition-smooth);
}

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

.nav-menu a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.3px;
  padding: 8px 0;
  position: relative;
}

.nav-menu a:hover {
  color: var(--clr-brand-light);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--clr-brand);
  transition: var(--transition-smooth);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
  width: 16px;
}

.header-actions .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--clr-text-light);
  cursor: pointer;
}

/* --- Hero Section (Next-Gen ESG Banner) --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('https://fiinovation.co.in/wp-content/uploads/2026/04/Podcast-web-cover.png');
  background-size: cover;
  background-position: center;
  color: var(--clr-text-light);
  overflow: hidden;
  padding-top: 140px;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(9, 13, 10, 0.8) 0%, rgba(9, 13, 10, 0.95) 100%),
              radial-gradient(circle at 75% 30%, rgba(209, 32, 35, 0.15) 0%, transparent 60%);
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-text h1 {
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--clr-bg-white);
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero-text h1 span {
  display: block;
  color: var(--clr-brand);
}

.hero-text p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-glow-sphere {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(140, 80%, 45%, 0.18) 0%, transparent 70%);
  position: absolute;
  filter: blur(10px);
}

/* Elegant geometric layout representing timeline */
.hero-timeline-mockup {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 320px;
  background-color: var(--clr-bg-dark-card);
  border-radius: var(--radius-md);
  padding: 30px;
  border: var(--border-glass);
}

.timeline-step {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
}

.timeline-step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 11px;
  width: 2px;
  height: calc(100% - 8px);
  background-color: rgba(255, 255, 255, 0.1);
}

.timeline-step-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--clr-text-light);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.timeline-step.active .timeline-step-icon {
  background-color: var(--clr-brand);
  border-color: var(--clr-brand);
  color: var(--clr-bg-dark);
  box-shadow: 0 0 15px var(--clr-brand);
}

.timeline-step-content h4 {
  font-size: 0.95rem;
  color: var(--clr-text-light);
  margin-bottom: 4px;
}

.timeline-step-content p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Section: The ESG Paradigm --- */
.paradigm-section {
  background-color: var(--clr-bg-white);
  border-bottom: var(--border-light);
}

.paradigm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.paradigm-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--clr-brand);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 12px;
}

.paradigm-grid h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--clr-forest-dark);
}

.paradigm-text {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
}

.paradigm-text p {
  margin-bottom: 24px;
}

/* --- Section: ESG Capabilities Grid --- */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.capability-card {
  background: var(--clr-bg-white);
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: var(--border-light);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.capability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--clr-brand);
  opacity: 0;
  transition: var(--transition-smooth);
}

.capability-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

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

.capability-letter {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 104, 56, 0.03);
  position: absolute;
  top: 20px;
  right: 30px;
  transition: var(--transition-smooth);
}

.capability-card:hover .capability-letter {
  color: var(--clr-brand-dim);
}

.capability-card h3 {
  font-size: 1.6rem;
  margin-bottom: 24px;
  color: var(--clr-forest-dark);
}

.capability-list li {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.capability-list i {
  color: var(--clr-brand);
  margin-top: 6px;
}


/* --- Differentiated Capability Card Accents --- */
.capability-card.environmental::before {
  background-color: #10b981;
}
.capability-card.environmental:hover {
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.08);
}
.capability-card.environmental .capability-letter {
  color: rgba(16, 185, 129, 0.03);
}
.capability-card.environmental:hover .capability-letter {
  color: rgba(16, 185, 129, 0.08);
}

.capability-card.social::before {
  background-color: #f97316;
}
.capability-card.social:hover {
  border-color: rgba(249, 115, 22, 0.25);
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.08);
}
.capability-card.social .capability-letter {
  color: rgba(249, 115, 22, 0.03);
}
.capability-card.social:hover .capability-letter {
  color: rgba(249, 115, 22, 0.08);
}

.capability-card.governance::before {
  background-color: #2563eb;
}
.capability-card.governance:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
}
.capability-card.governance .capability-letter {
  color: rgba(37, 99, 235, 0.03);
}
.capability-card.governance:hover .capability-letter {
  color: rgba(37, 99, 235, 0.08);
}

.process-step.active .process-number {
  background-color: var(--clr-brand);
  border-color: var(--clr-brand);
  color: var(--clr-bg-white);
  box-shadow: 0 0 15px rgba(209, 32, 35, 0.4);
  transform: scale(1.1);
}
/* --- Section: The Sector ESG Matrix --- */
.matrix-section {
  background-color: var(--clr-bg-dark);
  color: var(--clr-text-light);
}

.matrix-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.matrix-info h2 {
  font-size: 3rem;
  color: var(--clr-bg-white);
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.matrix-info h2 span {
  color: var(--clr-brand);
}

.matrix-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.matrix-simulator {
  background-color: var(--clr-bg-dark-card);
  padding: 50px;
  border-radius: var(--radius-lg);
  border: var(--border-glass);
}

.simulator-selectors {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.simulator-btn {
  padding: 12px 24px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.simulator-btn:hover {
  background-color: rgba(209, 32, 35, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--clr-brand-light);
}

.simulator-btn.active {
  background-color: var(--clr-brand);
  border-color: var(--clr-brand);
  color: var(--clr-forest-dark);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.simulator-display {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.simulator-display-header {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--clr-gold);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.simulator-display-body h3 {
  font-size: 1.4rem;
  color: var(--clr-bg-white);
  margin-bottom: 12px;
}

.simulator-display-body p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* --- Section: SaaS-Style Decarbonization Dashboard --- */
.dashboard-section {
  background-color: var(--clr-bg-white);
}

.dashboard-board {
  background: var(--clr-bg-light);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  border: var(--border-light);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.dashboard-info h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.dashboard-info p {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

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

.metric-card {
  background-color: var(--clr-bg-white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: var(--border-light);
  text-align: center;
  transition: var(--transition-smooth);
}

.metric-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(209, 32, 35, 0.15);
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--clr-forest-dark);
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Section: Insights & Publications --- */
.insights-section {
  background-color: var(--clr-bg-light);
  border-top: var(--border-light);
}

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

.insight-card {
  background-color: var(--clr-bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: var(--border-light);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.insight-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

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

.insight-card:hover .insight-img img {
  transform: scale(1.06);
}

.insight-category {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--clr-brand);
  color: var(--clr-bg-white);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  letter-spacing: 1px;
}

.insight-content {
  padding: 36px 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.insight-date {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.insight-title {
  font-size: 1.3rem;
  line-height: 1.35;
  margin-bottom: 16px;
  color: var(--clr-forest-dark);
}

.insight-excerpt {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.insight-link {
  margin-top: auto;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--clr-forest-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.insight-link i {
  transition: transform 0.3s ease;
}

.insight-card:hover .insight-link i {
  transform: translateX(6px);
  color: var(--clr-brand);
}

/* --- Section: Grayscale Ticker --- */
.ticker-section {
  background-color: var(--clr-bg-white);
  padding: 80px 0;
  border-bottom: var(--border-light);
}

.ticker-track {
  display: flex;
  gap: 80px;
  animation: logoScroll 25s linear infinite;
  align-items: center;
}

.ticker-logo {
  height: 55px;
  width: auto;
  filter: grayscale(1) opacity(0.5);
  transition: var(--transition-smooth);
}

.ticker-logo:hover {
  filter: grayscale(0) opacity(0.85);
}

@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 40px)); }
}

/* --- Footer Overhaul --- */
.site-footer {
  background-color: var(--clr-forest-dark);
  color: var(--clr-text-light);
  padding-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 0.9fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-widget h3 {
  font-size: 1.2rem;
  color: var(--clr-bg-white);
  margin-bottom: 28px;
  position: relative;
}

.footer-widget h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 20px;
  height: 2px;
  background-color: var(--clr-brand);
}

.footer-about p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.footer-subscribe {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 6px;
}

.footer-subscribe input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--clr-bg-white);
  font-size: 0.95rem;
  font-family: var(--font-body);
}

.footer-subscribe input:focus {
  outline: none;
}

.footer-subscribe button {
  background: transparent;
  border: none;
  color: var(--clr-brand);
  cursor: pointer;
  padding: 6px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

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

.footer-contact li {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact i {
  color: var(--clr-brand);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background-color: var(--clr-brand);
  color: var(--clr-forest-dark);
  border-color: var(--clr-brand);
  transform: translateY(-4px);
}

/* --- Section: Strategic Partners Grid --- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  align-items: center;
  justify-items: center;
  margin-top: 20px;
}

.partner-logo {
  max-width: 140px;
  height: auto;
  filter: grayscale(1) contrast(0.8) opacity(0.5);
  transition: var(--transition-smooth);
}

.partner-logo:hover {
  filter: grayscale(0) contrast(1) opacity(1);
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
}

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

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


/* --- Hero Stats Glass Card --- */
.hero-stats-card {
  margin-top: 60px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  padding: 30px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1000px;
}

.hero-stat-item {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--clr-brand-light);
  line-height: 1.1;
  margin-bottom: 6px;
}

.hero-stat-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .hero-stats-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px;
  }
  .hero-stat-item {
    border-right: none;
  }
  .hero-stat-item:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* --- Section: Industries Grid --- */
.industries-section {
  background-color: var(--clr-bg-white);
  border-top: var(--border-light);
}

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

.industry-card {
  background-color: var(--clr-bg-light);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  border: var(--border-light);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.industry-card:hover {
  transform: translateY(-8px);
  background-color: var(--clr-bg-white);
  box-shadow: var(--shadow-md);
  border-color: rgba(209, 32, 35, 0.2);
}

.industry-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--clr-brand-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-brand);
  font-size: 1.3rem;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.industry-card:hover .industry-icon {
  background-color: var(--clr-brand);
  color: var(--clr-bg-white);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.industry-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--clr-forest-dark);
}

.industry-card p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

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

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

/* --- Section: Why Fiinovation Comparison --- */
.comparison-section {
  background-color: var(--clr-bg-light);
  border-top: var(--border-light);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.comparison-table {
  background: var(--clr-bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: var(--border-light);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 104, 56, 0.06);
  font-size: 0.95rem;
}

.comparison-row.header {
  border-bottom: 2px solid var(--clr-brand);
  font-weight: 700;
  color: var(--clr-forest-dark);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding-bottom: 12px;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-cell {
  padding-right: 15px;
}

.comparison-cell.feature {
  font-weight: 600;
  color: var(--clr-forest-dark);
}

.comparison-cell.fiinovation {
  color: var(--clr-brand-light);
  font-weight: 600;
}

.comparison-cell.others {
  color: var(--clr-text-muted);
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .comparison-table {
    padding: 24px;
  }
  .comparison-row {
    font-size: 0.85rem;
  }
}

/* --- Section: Horizontal Process Timeline --- */
.process-section {
  background-color: var(--clr-bg-white);
  border-top: var(--border-light);
}

.process-timeline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 40px;
  right: 40px;
  height: 2px;
  background-color: rgba(0, 104, 56, 0.06);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
  padding: 0 10px;
}

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--clr-bg-light);
  border: 2px solid rgba(0, 104, 56, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--clr-text-muted);
  margin: 0 auto 24px auto;
  transition: var(--transition-smooth);
}

.process-step:hover .process-number {
  background-color: var(--clr-brand);
  border-color: var(--clr-brand);
  color: var(--clr-bg-white);
  box-shadow: 0 0 15px rgba(209, 32, 35, 0.35);
  transform: scale(1.08);
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--clr-forest-dark);
}

.process-step p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .process-timeline {
    flex-direction: column;
    gap: 40px;
  }
  .process-timeline::before {
    display: none;
  }
  .process-step {
    display: flex;
    text-align: left;
    gap: 20px;
    align-items: flex-start;
  }
  .process-number {
    margin: 0;
    flex-shrink: 0;
  }
}

/* --- Section: Testimonials --- */
.testimonials-section {
  background-color: var(--clr-bg-light);
  border-top: var(--border-light);
}

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

.testimonial-card {
  background: var(--clr-bg-white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(209, 32, 35, 0.15);
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 30px;
  position: relative;
}

.testimonial-quote::before {
  content: '“';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--clr-brand-dim);
  position: absolute;
  top: -30px;
  left: -20px;
  line-height: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--clr-brand-dim);
}

.client-details h4 {
  font-size: 1rem;
  color: var(--clr-forest-dark);
  margin-bottom: 2px;
}

.client-details p {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

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

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

/* --- Mega Dropdown & Navigation Adjustments --- */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background-color: var(--clr-brand);
  z-index: 2000;
  width: 0%;
  transition: width 0.1s ease;
}

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

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-bg-white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: var(--transition-smooth);
  font-size: 1.3rem;
  cursor: pointer;
}

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

.floating-btn.call {
  background-color: var(--clr-brand);
}

.floating-btn.back-to-top {
  background-color: var(--clr-forest-dark);
  border: 1px solid rgba(255,255,255,0.1);
  display: none;
}

.floating-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1200px) {
  .hero-text h1 {
    font-size: 3.8rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .paradigm-grid,
  .matrix-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-text {
    text-align: center;
  }
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .capabilities-grid,
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--clr-forest-light);
    flex-direction: column;
    padding: 60px 24px;
    gap: 28px;
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open {
    left: 0;
  }
  .nav-menu a {
    color: var(--clr-text-light);
    font-size: 1.15rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 14px;
  }
  .header-actions {
    display: none;
  }
  .capabilities-grid,
  .insights-grid,
  .dashboard-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 2.8rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
