/*
  PT FUMIN KINGDO BERSAUDARA
  Premium Corporate Stylesheet
  Colors: Emerald Green, Deep Emerald, Forest Green, Gold, Off White
*/

:root {
  /* Brand Colors - Lighter Emerald Spectrum */
  --green-bright: #34D399;    /* Bright mint for highlights */
  --green-vibrant: #10B981;   /* Vibrant emerald */
  --emerald: #059669;         /* Core corporate green */
  --emerald-deep: #047857;    /* Deep corporate green */
  --forest-green: #064E3B;    /* Lighter dark background (replaces very black) */
  --forest-dark: #022C22;     /* Deepest background (rich dark green, not black) */
  --sage-green: #4D7C0F;      /* Lighter sage */

  /* Brand Colors - Gold */
  --gold: #C9A227;
  --gold-light: #E5C76B;
  --gold-dark: #8B6B10;

  /* Elegant Gradients */
  --grad-emerald: linear-gradient(135deg, var(--emerald-deep) 0%, var(--green-vibrant) 100%);
  --grad-emerald-dark: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest-green) 100%);
  --grad-gold: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  --grad-emerald-to-gold: linear-gradient(135deg, var(--green-bright) 0%, var(--gold-light) 60%, var(--gold) 100%);
  --grad-fresh-energy: linear-gradient(135deg, var(--green-bright) 0%, var(--green-vibrant) 100%);
  --grad-dark-to-gold: linear-gradient(135deg, var(--forest-dark) 0%, var(--sage-green) 40%, var(--gold-dark) 100%);
  --grad-surface: linear-gradient(145deg, #ffffff 0%, #F7F7F2 100%);
  --grad-glass: linear-gradient(135deg, rgba(6, 78, 59, 0.9) 0%, rgba(2, 44, 34, 0.95) 100%);

  /* Neutral Colors */
  --white: #FFFFFF;
  --off-white: #F7F7F2;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Typography */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing & Layout */
  --container-width: 1200px;
  --section-padding: 100px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================= RESET & BASE ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background-color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: var(--section-padding) 0;
}

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

/* ================= TYPOGRAPHY & UTILITIES ================= */
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(to right, rgba(16, 185, 129, 0.1), rgba(201, 162, 39, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--green-vibrant);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  border-radius: 100px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.05);
}

.section-badge.light {
  background-color: rgba(201, 162, 39, 0.15);
  color: var(--gold-light);
}

.section-badge.gold-badge {
  background-color: rgba(201, 162, 39, 0.15);
  color: var(--gold);
}

.section-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.section-title.light {
  color: var(--white);
}

.section-intro {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 800px;
  margin: 0 auto 48px;
}

.section-intro.light {
  color: var(--gray-300);
}

.gold-text {
  color: var(--gold);
}

.gold-accent-line {
  width: 80px;
  height: 4px;
  background: var(--grad-gold);
  margin-bottom: 32px;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(201, 162, 39, 0.4);
}

.body-text {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 24px;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-gold, .btn-partner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--grad-emerald);
  background-size: 200% auto;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-primary:hover {
  background: var(--grad-fresh-energy);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-gold {
  background: var(--grad-gold);
  background-size: 200% auto;
  color: var(--forest-dark);
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.2);
}

.btn-gold:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(201, 162, 39, 0.4);
}

.btn-partner {
  background: #fffff0;
  background-size: 200% auto;
  color: var(--forest-dark);
  padding: 10px 24px;
  font-size: 0.875rem;
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.15);
}

.btn-partner:hover {
  background-position: right center;
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.3);
}

.full-width {
  width: 100%;
}

.full-width i {
  margin-right: 8px;
  width: 18px;
  height: 18px;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 24px 0;
  background-color: transparent;
}

.navbar.scrolled {
  background: var(--grad-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 16px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-emblem {
  width: 40px;
  height: 40px;
}

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

.logo-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.5px;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 2px;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

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

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-btn span {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition-normal);
  left: 0;
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 9px; }
.mobile-menu-btn span:nth-child(3) { top: 18px; }

.mobile-menu-btn.active span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

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

.mobile-menu-btn.active span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--forest-green);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

.mobile-cta {
  margin-top: 16px;
}

/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  overflow: hidden;
  background-color: var(--forest-dark);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-visual {
  width: 100%;
  height: 100%;
}

.hero-industrial-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(6, 78, 59, 0.6) 0%,
    rgba(2, 44, 34, 0.8) 50%,
    rgba(2, 44, 34, 0.95) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 100px;
  color: var(--gold-light);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 32px;
  backdrop-filter: blur(4px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
}

.hero-headline {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.headline-gold {
  color: var(--gold);
  background: linear-gradient(135deg, var(--green-bright) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-right: 10px; /* Prevent clipping */
}

.hero-sub {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--gray-300);
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.hero-metrics {
  position: relative;
  z-index: 2;
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
  background: var(--grad-glass);
  border: 1px solid rgba(201, 162, 39, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.metric-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.metric-card:last-child {
  border-right: none;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.metric-value.gold {
  color: var(--gold);
}

.metric-label {
  font-size: 0.875rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.metric-divider {
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--gold);
  animation: scrollAnim 2s infinite ease-in-out;
}

@keyframes scrollAnim {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ================= ABOUT SECTION ================= */
.about {
  background-color: var(--white);
}

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

.about-values {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.value-item {
  display: flex;
  gap: 16px;
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: rgba(201, 162, 39, 0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.value-desc {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.about-visual {
  position: relative;
}

.about-image-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-facility-svg {
  width: 100%;
  height: auto;
  display: block;
}

.about-stat-overlay {
  position: absolute;
  bottom: -20px;
  left: -20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--white);
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  font-weight: 600;
  color: var(--emerald-deep);
}

.stat-pill i {
  color: var(--emerald);
}

.stat-pill.gold-pill {
  background-color: var(--forest-green);
  color: var(--white);
}

.stat-pill.gold-pill i {
  color: var(--gold);
}

/* ================= STATISTICS SECTION ================= */
.statistics {
  background-color: var(--forest-green);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: radial-gradient(var(--gold) 1px, transparent 1px);
  background-size: 40px 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}

.stat-label {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.stat-note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

/* ================= BIODIESEL SECTION ================= */
.biodiesel {
  background-color: var(--off-white);
}

.biodiesel-visual {
  margin: 64px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.biodiesel-diagram-svg {
  width: 100%;
  height: auto;
  display: block;
}

.biodiesel-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.bio-card {
  background-color: var(--white);
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-top: 3px solid transparent;
  border-image: var(--grad-emerald-to-gold) 1;
  transition: var(--transition-normal);
}

.bio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.bio-card-icon {
  color: var(--emerald);
  margin-bottom: 24px;
}

.bio-card-icon i {
  width: 32px;
  height: 32px;
}

.bio-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.bio-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.disclaimer {
  display: flex;
  gap: 6px;
  background-color: var(--gray-100);
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.disclaimer i {
  color: var(--gray-500);
  flex-shrink: 0;
}

/* ================= PRODUCTION PROCESS ================= */
.production {
  background-color: var(--white);
}

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

.process-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
  transform: translateX(-50%);
}

.process-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  width: 100%;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-content {
  width: 45%;
  background-color: var(--off-white);
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: var(--transition-normal);
}

.process-step:nth-child(odd) .step-content {
  text-align: right;
}

.process-step:nth-child(even) .step-content {
  text-align: left;
}

.step-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.step-number {
  position: absolute;
  top: -20px;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(201, 162, 39, 0.15);
  line-height: 1;
  z-index: 0;
}

.process-step:nth-child(odd) .step-number { right: 20px; }
.process-step:nth-child(even) .step-number { left: 20px; }

.step-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-deep);
  z-index: 2;
  box-shadow: 0 0 0 8px var(--white), 0 4px 15px rgba(201, 162, 39, 0.3);
}

.step-icon i {
  width: 24px;
  height: 24px;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.step-desc {
  color: var(--gray-600);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* ================= FACILITY ================= */
.facility {
  background-color: var(--forest-dark);
  color: var(--white);
}

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

.facility-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--grad-emerald-dark);
  border: 1px solid rgba(201, 162, 39, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.facility-card.large {
  grid-column: span 3;
}

.facility-svg-wrap {
  width: 100%;
}

.facility-card.large .facility-svg-wrap {
  aspect-ratio: 21/9;
}

.facility-card:not(.large) .facility-svg-wrap {
  aspect-ratio: 4/3;
}

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

.facility-card:hover .facility-img-svg {
  transform: scale(1.05);
}

.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 44, 34, 0.9), transparent);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.facility-tag {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--white);
}

.facility-card.large .facility-tag {
  font-size: 1.5rem;
}

.facility-banner {
  background-color: var(--emerald-deep);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  justify-content: center;
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.banner-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
}

/* ================= TECHNOLOGY & QUALITY ================= */
.technology {
  background-color: var(--off-white);
}

.tech-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.tech-card {
  background-color: var(--white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(5, 150, 105, 0.1);
  transition: var(--transition-normal);
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(5, 150, 105, 0.1);
  border-color: rgba(201, 162, 39, 0.3);
}

.tech-icon {
  color: var(--emerald);
  margin-bottom: 24px;
}

.tech-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.tech-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.tech-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.cert-section {
  background-color: var(--white);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cert-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--emerald-deep);
}

.cert-header i {
  color: var(--gold);
}

.cert-header h3 {
  font-size: 1.5rem;
}

.cert-note {
  color: var(--gray-600);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cert-placeholders {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.cert-badge {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px dashed var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.875rem;
  font-weight: 500;
  background-color: var(--gray-50);
}

/* ================= SUSTAINABILITY ================= */
.sustainability {
  background: var(--grad-emerald-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.sustainability::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.sustain-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(5, 150, 105, 0.4) 0%, transparent 70%);
  z-index: 0;
}

.sustainability .container {
  position: relative;
  z-index: 1;
}

.sustain-visual {
  margin: 48px 0;
}

.sustain-svg {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: block;
}

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

.pillar-card {
  background: linear-gradient(145deg, rgba(5, 150, 105, 0.1) 0%, rgba(6, 78, 59, 0.4) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 32px 24px;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 39, 0.15);
  text-align: center;
  transition: var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(201, 162, 39, 0.05);
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(201, 162, 39, 0.1);
  color: var(--gold);
  margin-bottom: 24px;
}

.pillar-title {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--white);
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--gray-300);
}

/* ================= BUSINESS ================= */
.business {
  background-color: var(--white);
}

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

.partner-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.partner-type {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px;
  background-color: var(--off-white);
  border-radius: 8px;
  font-weight: 500;
}

.pt-icon {
  color: var(--gold);
}

.business-cta-card {
  background: var(--grad-dark-to-gold);
  color: var(--white);
  padding: 48px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.business-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
}

.bcta-icon {
  color: var(--gold);
  margin-bottom: 24px;
}

.bcta-icon i {
  width: 48px;
  height: 48px;
}

.business-cta-card h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--white);
}

.business-cta-card p {
  color: var(--gray-300);
  margin-bottom: 32px;
  font-size: 1.125rem;
}

.bcta-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 32px 0;
}

.bcta-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bcta-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray-300);
}

.bcta-feat i {
  color: var(--gold);
  width: 18px;
  height: 18px;
}

/* ================= CONTACT ================= */
.contact {
  background-color: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
}

.contact-form-wrap {
  background-color: var(--white);
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.form-row,
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-800);
}

.form-group label span {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--gray-50);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--emerald);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-note {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--gray-500);
  text-align: center;
}

.contact-info-card {
  background: var(--grad-emerald-dark);
  color: var(--white);
  padding: 48px;
  border-radius: 16px;
  height: 100%;
  border: 1px solid rgba(201, 162, 39, 0.15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.company-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.ci-logo {
  width: 64px;
  height: 64px;
}

.ci-name {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 4px;
}

.ci-sub {
  font-size: 0.75rem;
  color: var(--gold);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.cd-item {
  display: flex;
  gap: 16px;
}

.cd-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.cd-content {
  display: flex;
  flex-direction: column;
}

.cd-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.cd-value {
  font-weight: 500;
}

.map-placeholder {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ================= FOOTER ================= */
.footer {
  background-color: var(--forest-dark);
  color: var(--white);
  padding-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  margin-bottom: 64px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}

.footer-logo-svg {
  width: 48px;
  height: 48px;
}

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

.footer-co-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1;
}

.footer-co-sub {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 2px;
  margin-top: 4px;
}

.footer-tagline {
  color: var(--gray-400);
  margin-bottom: 32px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

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

.social-icon:hover {
  background-color: var(--gold);
  color: var(--forest-dark);
}

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

.footer-nav-title {
  font-size: 1.125rem;
  margin-bottom: 24px;
  color: var(--white);
}

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

.footer-link {
  color: var(--gray-400);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  gap: 6px;
  color: var(--gray-400);
}

.footer-contact-item i {
  color: var(--gold);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* ================= UTILITIES & ANIMATIONS ================= */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--gold);
  color: var(--forest-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--gold-light);
  transform: translateY(-3px);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .hero-metrics {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }

  .metric-card {
    width: calc(50% - 12px);
    align-items: center;
    text-align: center;
  }

  .metric-divider {
    display: none;
  }

  .about-grid {
    gap: 40px;
  }

  .process-timeline::before {
    left: 30px;
  }

  .process-line {
    left: 30px;
  }

  .step-icon {
    left: 30px;
  }

  .process-step {
    flex-direction: row !important;
    justify-content: flex-end;
  }

  .step-content {
    width: calc(100% - 80px);
    text-align: left !important;
  }

  .process-step:nth-child(odd) .step-number,
  .process-step:nth-child(even) .step-number {
    left: auto;
    right: 20px;
  }

  .tech-dashboard {
    grid-template-columns: repeat(2, 1fr);
  }

  .sustain-pillars {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .section-title {
    font-size: 2.25rem;
  }

  .nav-links, .btn-partner {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

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

  .about-values {
    grid-template-columns: 1fr;
  }

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

  .biodiesel-cards {
    grid-template-columns: 1fr 1fr;
  }

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

  .facility-card.large {
    grid-column: span 1;
  }

  .facility-card.large .facility-svg-wrap {
    aspect-ratio: 4/3;
  }

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

  .form-row,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

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

  .biodiesel-cards {
    grid-template-columns: 1fr;
  }

  .tech-dashboard {
    grid-template-columns: 1fr;
  }

  .sustain-pillars {
    grid-template-columns: 1fr;
  }

  .partner-types {
    grid-template-columns: 1fr;
  }
}


/* Elegant Text Gradient */
.text-gradient-emerald-gold {
  background: linear-gradient(135deg, var(--green-bright) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Added for actual image logos */
.brand-logo {
  height: 125px; /* Increased significantly for stacked logo readability */
  width: auto;
  object-fit: contain;
  transition: var(--transition-normal);
}

.navbar.scrolled .brand-logo {
  height: 60px; /* Shrink slightly when scrolling to save space */
}

.brand-logo:hover {
  opacity: 0.9;
}

.footer-brand-logo {
  height: 100px; /* Increased for footer readability */
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .brand-logo {
    height: 40px;
  }
}

/* Added for Manufacturing Process Tags */
.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.step-tag {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green-bright);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Align tags correctly based on timeline side */
@media (min-width: 992px) {
  .process-step:nth-child(odd) .step-tags {
    justify-content: flex-end;
  }
}

/* Logo Mask for perfect color matching */
.brand-logo-mask {
  height: 85px;
  width: 191px;
  background: var(--grad-gold);
  -webkit-mask-image: url('../assets/logo-fumin-ket.png');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  mask-image: url('../assets/logo-fumin-ket.png');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: left center;
  transition: var(--transition-normal);
}
.navbar.scrolled .brand-logo-mask {
  height: 60px;
  width: 135px;
}
.footer-brand-logo.brand-logo-mask {
  height: 100px;
  width: 225px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .brand-logo-mask {
    height: 60px;
    width: 135px;
  }
}

/* Dynamic Logo Layout */
.dynamic-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.4s ease;
}

.brand-emblem {
  height: 90px;
  width: auto;
  object-fit: contain;
  transition: all 0.4s ease;

}

.brand-text {
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 2px;
  font-weight: 700;
  white-space: nowrap;
}

/* Scrolled State for Navbar Logo */
.navbar.scrolled .dynamic-logo {
  flex-direction: column;
  gap: 2px;
}

.navbar.scrolled .brand-emblem {
  height: 90px;
}

.navbar.scrolled .brand-text {
  align-items: center;
}

.navbar.scrolled .logo-name {
  font-size: 0.9rem;
}

.navbar.scrolled .logo-sub {
  font-size: 0.55rem;
}

/* Footer specific */
.footer-dynamic-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 24px;
}
.footer-dynamic-logo .brand-emblem {
  height: 60px;
}
.footer-brand-text {
  align-items: flex-start;
}


/* WhatsApp CTA Card */
.whatsapp-cta-card {
  background: var(--grad-glass);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.whatsapp-title {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.whatsapp-desc {
  color: var(--gray-300);
  margin-bottom: 32px;
  line-height: 1.6;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #25D366; /* Official WhatsApp Green */
  color: white;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #1DA851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-note {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 16px;
  font-style: italic;
}

.select-wrapper {
  position: relative;
}
.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.select-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--emerald-deep);
}
.btn-wa-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background-color: #25D366;
  border: none;
  padding: 16px;
}
.btn-wa-submit:hover {
  background-color: #1DA851;
  transform: translateY(-2px);
}
.btn-email-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #ea4335 0%, #c5221f 100%);
  color: #fff;
  border: none;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(234, 67, 53, 0.2);
  width: 100%;
}
.btn-email-submit:hover {
  background: linear-gradient(135deg, #f05345 0%, #d62b28 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(234, 67, 53, 0.35);
  color: #fff;
}
.btn-email-submit:active {
  transform: translateY(0);
}
.btn-email-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Company Video Section */
.video-section {
  background-color: var(--forest-dark);
}

.video-container {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(201, 162, 39, 0.2);
  background: transparent;
  padding: 12px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: 12px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.contact-emblem { height: 48px; width: auto; object-fit: contain; }
/* Certifications Section */
.certifications {
  background-color: var(--white);
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.cert-card {
  background: var(--white);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 2px dotted var(--emerald-light);
  transition: all 0.3s ease;
  margin: 0 auto;
  width: 170px;
  height: 170px;
}
.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-color: var(--emerald-light);
}
.cert-icon {
  width: 60px;
  height: 60px;
  background: var(--emerald-light);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.cert-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--forest-dark);
  margin-bottom: 4px;
}
.cert-desc {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.4;
}

/* Nav Right & Lang Switch */
.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-family: var(--font-heading);
}
.lang-btn {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s ease;
}
.lang-btn:hover {
  color: var(--emerald-light);
}
.lang-btn.active {
  color: var(--gold);
}
.lang-div {
  color: var(--gray-300);
}

@media (max-width: 1024px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
  .nav-right .btn-partner {
    display: none; /* Hide button on mobile, it's inside mobile menu */
  }
}

/* Leadership Section */
.leadership {
  background-color: var(--forest-dark);
}
.leader-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-top: 80px;
}
.leader-content {
  flex: 1;
}
.leader-name {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 8px;
}
.leader-title {
  color: var(--gold);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 2px;
}
.leader-quote {
  font-size: 1.25rem;
  color: var(--gray-300);
  line-height: 1.8;
  font-style: italic;
  position: relative;
  padding-left: 24px;
  border-left: 4px solid var(--emerald-light);
  margin-top: 24px;
}
.leader-photo-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
}
.leader-photo-box {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  border-radius: 12px;
  background-color: var(--forest-dark);
  background-image:
    radial-gradient(circle at 50% 35%, rgba(5, 150, 105, 0.4) 0%, rgba(2, 44, 34, 1) 75%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px, 24px 24px;
  background-position: center center;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.4);
}
.photo-placeholder {
  width: 100%;
  height: 100%;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 600;
  position: relative;
  z-index: 2;
  border: 1px dashed rgba(201, 162, 39, 0.4);
}
.leader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.leader-frame {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: 12px;
  z-index: 1;
  transition: transform 0.4s ease;
}
.leader-row.reverse .leader-frame {
  left: -20px;
}
.leader-row:hover .leader-frame {
  transform: translate(-10px, -10px);
}
.leader-row.reverse:hover .leader-frame {
  transform: translate(10px, -10px);
}

@media (max-width: 1024px) {
  .leader-row {
    flex-direction: column !important;
    gap: 40px;
    text-align: center;
    margin-top: 56px;
  }
  .leader-row.reverse {
    flex-direction: column-reverse !important;
  }
  .leader-quote {
    padding-left: 0;
    border-left: none;
    border-top: 4px solid var(--emerald-light);
    padding-top: 24px;
  }
  .leader-frame {
    display: none;
  }
}

@media (max-width: 768px) {
  .brand-emblem {
    height: 70px;
  }
  .logo-name {
    font-size: 1rem;
  }
  .logo-sub {
    font-size: 0.6rem;
  }
  .leader-row {
    gap: 32px;
    margin-top: 40px;
  }
  .leader-name {
    font-size: 2rem;
  }
  .leader-quote {
    font-size: 1.1rem;
  }
  .cert-grid {
    gap: 16px;
  }
}

/* Automatically apply gradient to bold text inside headlines */
.hero-headline strong, .hero-headline b,
.section-title strong, .section-title b,
.hero-sub strong, .hero-sub b {
  background: linear-gradient(135deg, var(--green-bright) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: inherit;
}
/* Fix for RichEditor injecting <p> tags inside <h1> */
.hero-headline p, .hero-sub p {
  display: inline;
  margin: 0;
}

/* Scroll Margin for Navbar Offset */
section[id], div[id] {
  scroll-margin-top: 100px;
}

/* FAQ Section */
.faq {
  background-color: var(--forest-dark);
  position: relative;
}
