:root {
  /* Light Mode Defaults (Navy text on light background) */
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-hover: #f1f5f9;

  /* Brand Colors from Reference */
  --color-primary: #af1b3f;
  /* Crimson Red */
  --color-primary-dark: #8b1532;
  --color-primary-light: #d6224d;
  --color-navy: #090914;
  /* Deep Navy Blue */
  --color-navy-light: #16162a;

  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-border: #e2e8f0;

  --font-main: 'Outfit', sans-serif;

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.05);
}

/* Dark Mode Variables */
body.dark-mode {
  --color-bg: var(--color-navy);
  --color-surface: var(--color-navy-light);
  --color-surface-hover: #21213d;

  --color-text: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-border: #2a2a47;

  --glass-bg: rgba(9, 9, 20, 0.85);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

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

.text-accent {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Base Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(175, 27, 63, 0.39);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(175, 27, 63, 0.5);
}

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

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  flex: 1;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  border-radius: 4px;
  display: inline-block;
  box-shadow: 0 0 15px rgba(175, 27, 63, 0.5);
}

.nav-links {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: 100%;
}

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

.nav-links a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
}

.nav-links a:not(.btn):hover {
  color: var(--color-text);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

/* Dropdown Mechanics */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  cursor: pointer;
}

.caret {
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--color-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dropdown:hover .caret {
  opacity: 1;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Invisible bridge for hover */
.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(10px);
}

.dropdown-menu a:not(.btn) {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--color-text) !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-menu a:not(.btn)::after {
  display: none;
  /* Hide standard underline */
}

.dropdown-menu a:not(.btn):hover {
  background: var(--color-surface-hover);
  color: var(--color-primary) !important;
  padding-left: 1.75rem;
  /* Slight indent on hover */
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 2rem 0;
  /* Accountant for fixed navbar */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: radial-gradient(circle at 50% 50%, rgba(175, 27, 63, 0.05) 0%, var(--color-bg) 50%);
}

.hero-gradient {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(175, 27, 63, 0.1) 0%, rgba(9, 9, 20, 0) 70%);
  filter: blur(60px);
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite alternate;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

.hero-content {
  max-width: 1000px;
  text-align: center;
  z-index: 1;
  margin-top: 50px;
  /* Extra clearance from header */
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Features Section */
.features {
  padding: 8rem 2rem;
  background: var(--color-surface);
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 3rem 2rem;
  border-radius: 1rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 40px var(--shadow-color);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(175, 27, 63, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  background: linear-gradient(135deg, var(--color-surface-hover), var(--color-surface));
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--color-border);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--color-text-muted);
}

/* CTA */
.cta {
  padding: 8rem 2rem;
  background: linear-gradient(to bottom, var(--color-surface), var(--color-bg));
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem;
  background: rgba(175, 27, 63, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  position: relative;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.25rem;
  color: var(--color-text-muted);
}

/* Footer */
.footer {
  padding: 4rem 2rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand p {
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.footer-links span {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* =========================================
   About Us Page Styles 
   ========================================= */

.page-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.hero-bg-img {
  position: absolute;
  top: -10%;
  /* Start higher for downward movement */
  left: 0;
  width: 100%;
  height: 120%;
  /* Room to move */
  object-fit: cover;
  z-index: -2;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(9, 9, 20, 0.4) 0%, rgba(9, 9, 20, 0.2) 50%, rgba(9, 9, 20, 0.6) 100%);
  z-index: -1;
}

.parallax-text {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.scroll-down-btn {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.scroll-down-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateX(-50%) translateY(-5px);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.company-logo-container {
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-block;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

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

.page-title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

/* Values Section */
.values-section {
  background: #0a1931;
  /* Deep Maverick Blue */
  padding: 8rem 2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.values-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
}

.values-sidebar {
  flex: 0 0 300px;
}

.values-sidebar h2 {
  font-size: 3.5rem;
  margin-top: 2rem;
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--color-primary);
}

.values-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem 3rem;
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-icon {
  width: 64px;
  height: 64px;
  color: var(--color-primary-light);
  opacity: 0.9;
}

.value-item p {
  font-size: 1.15rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  max-width: 320px;
}

@media (max-width: 1024px) {
  .values-container {
    flex-direction: column;
    gap: 4rem;
  }

  .values-sidebar {
    flex: none;
  }
}

.about-content {
  padding: 4rem 2rem 8rem;
}

.content-block {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 8rem;
}

.content-block.reverse {
  flex-direction: row-reverse;
}

.text-column {
  flex: 1;
}

.text-column h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 9999px;
  font-weight: 500;
  vertical-align: middle;
}

.underline {
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  margin-bottom: 2rem;
  border-radius: 2px;
}

.text-column p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.image-column {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Abstract Visual for Maverick */
.abstract-visual {
  width: 400px;
  height: 400px;
  position: relative;
  background: var(--color-surface);
  border-radius: 2rem;
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.abstract-visual .circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.abstract-visual .c1 {
  width: 200px;
  height: 200px;
  background: rgba(16, 185, 129, 0.3);
  top: -50px;
  left: -50px;
  animation: float1 10s infinite alternate ease-in-out;
}

.abstract-visual .c2 {
  width: 300px;
  height: 300px;
  background: rgba(24, 24, 27, 0.8);
  bottom: -100px;
  right: -50px;
  animation: float2 15s infinite alternate ease-in-out;
}

@keyframes float1 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(100px, 100px);
  }
}

@keyframes float2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-50px, -50px) scale(1.2);
  }
}

.glass-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 1;
}

.stats-box {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 1rem;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stats-box h4 {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
}

/* Image Card for Diversified */
.image-card {
  width: 400px;
  height: 500px;
  background-image: url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?q=80&w=1284&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-border);
}

.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.9) 0%, rgba(9, 9, 11, 0) 60%);
}

.image-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  z-index: 2;
}

.image-card-content h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.image-card-content p {
  color: var(--color-primary-light);
  font-weight: 500;
  margin: 0;
}

/* Animations */
.slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 900px) {

  .content-block,
  .content-block.reverse {
    flex-direction: column;
    gap: 3rem;
  }

  .image-column,
  .abstract-visual,
  .image-card {
    width: 100%;
    max-width: 500px;
  }
}

/* Utility Classes for Animation Delays */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-500 {
  animation-delay: 0.5s;
}

/* Utility Classes */
.d-none {
  display: none !important;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  padding: 0.5rem;
  font-size: 1.25rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: 0 2px 8px var(--shadow-color);
}

.theme-toggle-btn:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-primary);
  transform: scale(1.05);
}

/* Logo Image Styles */
.logo-mark-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  margin-right: 8px;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 12px rgba(175, 27, 63, 0.6));
  transition: var(--transition-smooth);
}

.logo-mark-img:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 16px rgba(175, 27, 63, 0.9));
}

.footer-logo {
  height: 24px;
  filter: grayscale(1) opacity(0.5);
  margin-right: 8px;
}

/* About Us Hub Layout */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.hub-card {
  position: relative;
  height: 400px;
  border-radius: 1rem;
  overflow: hidden;
  display: block;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.hub-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary);
  box-shadow: 0 15px 40px rgba(175, 27, 63, 0.2);
}

.hub-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.hub-card:hover .hub-card-bg {
  transform: scale(1.05);
}

.hub-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 20, 0.95) 0%, rgba(9, 9, 20, 0.4) 40%, rgba(9, 9, 20, 0) 100%);
  z-index: 2;
  transition: background 0.3s ease;
}

.hub-card:hover .hub-card-overlay {
  background: linear-gradient(to top, rgba(9, 9, 20, 0.95) 0%, rgba(175, 27, 63, 0.4) 40%, rgba(9, 9, 20, 0) 100%);
}

.hub-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hub-card-content h3 {
  font-size: 1.75rem;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 600;
}

.hub-card-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-light);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hub-card:hover .hub-card-arrow {
  background: var(--color-primary);
  color: #fff;
  transform: translateX(5px);
  border-color: var(--color-primary-light);
}

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

/* About Us Hub Utilities */
.hub-intro-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hub-intro-underline {
  margin: 0 auto 2rem;
}

.hub-intro-wrapper {
  margin-top: 8rem;
}

/* Diversified Energy visit link */
.div-energy-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 2px solid transparent;
  transition: var(--transition-smooth);
  letter-spacing: 0.5px;
}

.div-energy-link:hover {
  color: var(--color-primary-dark);
  border-bottom-color: var(--color-primary);
  gap: 0.75rem;
}

/* =========================================
   Operations Page (Video Background)
   ========================================= */

.video-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  background: var(--color-navy);
}

.video-bg-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4, 15, 45, 0.85) 0%, rgba(4, 15, 45, 0.75) 50%, rgba(4, 15, 45, 0.9) 100%);
  z-index: -1;
  pointer-events: none;
}

.ops-hero {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding-top: 80px;
}

.ops-hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -2px;
}

.ops-hero .hero-subtitle {
  max-width: 800px;
  margin: 2rem auto 0;
  font-size: 1.25rem;
  opacity: 0.9;
}

.ops-content-section {
  padding: 8rem 0;
  position: relative;
  z-index: 1;
}

.ops-content-section.tinted {
  background: rgba(9, 9, 20, 0.4);
}

.ops-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.ops-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.ops-card {
  background: rgba(9, 9, 20, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 1.5rem;
  transition: var(--transition-smooth);
}

.ops-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary);
  background: rgba(9, 9, 20, 0.95);
}

.ops-card h3 {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.ops-card p {
  color: var(--color-text-muted);
  line-height: 1.8;
}

.ops-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.ops-header-text {
  text-align: center;
  margin-bottom: 5rem;
}

.ops-header-text h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 2px 5px rgba(0, 0, 0, 0.5);
}

.ops-header-text p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.ops-subsidiary-content {
  max-width: 900px;
}

.ops-subsidiary-content h2 {
  font-size: 2.25rem;
  color: #fff;
  margin-bottom: 2rem;
}

.ops-subsidiary-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.ops-subsidiary-content p:last-child {
  margin-bottom: 0;
}

/* =========================================
   Sustainability Pages Styling
   ========================================= */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.metric-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  background: rgba(175, 27, 63, 0.05);
}

.metric-value {
  font-size: 3rem;
  color: var(--color-primary-light);
  margin-bottom: 0.5rem;
  font-weight: 800;
  line-height: 1;
}

.metric-label {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1.4;
}

.sustainability-content-block {
  margin-bottom: 6rem;
}

.sustainability-content-block h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sustainability-content-block p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.sustainability-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.sustainability-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.15rem;
  color: var(--color-text-muted);
}

.sustainability-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* =========================================
   Application Wizard (Careers/iCIMS mimic)
   ========================================= */

.wizard-container {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 3rem;
  margin-top: 2rem;
  display: none;
  /* Hidden by default until "Begin Application" is clicked */
}

/* Wizard Typography */
.wizard-header {
  text-align: center;
  margin-bottom: 2rem;
}

.wizard-title {
  font-size: 1.75rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.wizard-subtitle {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Progress Bar */
.wizard-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.wizard-progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 2px;
  background: var(--color-border);
  z-index: 1;
}

.progress-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-surface);
  padding: 0 1rem;
}

.step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.progress-step.active .step-circle {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 0 10px rgba(175, 27, 63, 0.4);
}

.progress-step.completed .step-circle {
  background: var(--color-primary-dark);
  color: white;
}

/* Wizard Form Elements */
.wizard-section {
  display: none;
  animation: fadeIn 0.4s ease;
}

.wizard-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-section-header {
  font-size: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  font-weight: 600;
}

.wizard-section-header:first-of-type {
  margin-top: 0;
}

/* Multi-column Grid for Form Inputs */
.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Required field star */
.required-star {
  color: #e74c3c;
}

/* Mock Connection Buttons */
.connect-accounts {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.mock-btn {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s;
  color: white;
}

.mock-btn:hover {
  transform: scale(1.05);
}

.mock-apple {
  background: #000;
}

.mock-indeed {
  background: #003a9b;
}

.mock-linkedin {
  background: #0a66c2;
}

.mock-microsoft {
  background: #00a4ef;
}

/* Resume Mock Upload Options */
.resume-options {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.resume-option-btn {
  flex: 1;
  min-width: 140px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  padding: 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.resume-option-btn:hover,
.resume-option-btn.active {
  border-color: var(--color-primary);
  background: rgba(175, 27, 63, 0.05);
}

/* Wizard Specific Overrides */
.wizard-container .form-control {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.wizard-container .form-control:focus {
  border-color: var(--color-primary);
}

/* Select dropdown options visible in dark mode */
.wizard-container select.form-control option {
  background: #fff;
  color: #111;
}

/* Action Buttons */
.wizard-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {

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

/* Auto-extracted inline styles to resolve lint errors */
.auto-style-1 {
  margin-left: 0;
  margin-bottom: 2rem;
}

.auto-style-2 {
  order: 0;
}

.auto-style-3 {
  order: 1;
}

.auto-style-4 {
  margin-left: 0;
  margin-bottom: 2rem;
}

.auto-style-5 {
  color: var(--color-gray-300);
  max-width: 600px;
  margin: 0 auto;
}

.auto-style-6 {
  color: var(--color-gray-300);
  max-width: 600px;
  margin: 0 auto;
}

.auto-style-7 {
  min-height: 50vh;
  padding-top: 120px;
}

.auto-style-8 {
  padding-top: 4rem;
}

.auto-style-9 {
  margin-top: 6rem;
}

.auto-style-10 {
  min-height: 50vh;
  padding-top: 120px;
}

.auto-style-11 {
  padding-top: 4rem;
}

.auto-style-12 {
  margin-top: 6rem;
}

.auto-style-13 {
  margin-top: 5rem;
  text-align: center;
}

.auto-style-14 {
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

.auto-style-15 {
  animation-delay: 0.1s;
}

.auto-style-16 {
  animation-delay: 0.2s;
}

.auto-style-17 {
  animation-delay: 0.3s;
}

.auto-style-18 {
  animation-delay: 0.5s;
}

.auto-style-19 {
  animation-delay: 0.7s;
}

.auto-style-20 {
  color: var(--color-gray-300);
  margin-bottom: 1.5rem;
}

.auto-style-21 {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  color: var(--color-text-muted);
}

.auto-style-22 {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  color: var(--color-text-muted);
}

.auto-style-23 {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  color: var(--color-text-muted);
}

.auto-style-24 {
  max-width: 400px;
  margin: 0 auto;
}

.auto-style-25 {
  border-top: none;
  justify-content: center;
  margin-top: 1.5rem;
}

.auto-style-26 {
  max-width: 200px;
}

.auto-style-27 {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.auto-style-28 {
  font-weight: bold;
  font-family: serif;
}

.auto-style-29 {
  font-size: 1.5rem;
}

.auto-style-30 {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.auto-style-31 {
  display: none;
}

.auto-style-32 {
  color: var(--color-primary);
  font-size: 0.9rem;
  margin-top: -1rem;
  margin-bottom: 1rem;
  display: none;
}

.auto-style-33 {
  margin-top: 3rem;
}

.auto-style-34 {
  margin-top: 3rem;
}

.auto-style-35 {
  margin-top: 1.5rem;
}

.auto-style-36 {
  max-width: 300px;
}

.auto-style-37 {
  margin-top: 3rem;
}

.auto-style-38 {
  max-width: calc(33.333% - 1rem);
}

.auto-style-39 {
  display: none;
}

.auto-style-40 {
  margin-top: 3rem;
}

.auto-style-41 {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.auto-style-42 {
  border-color: var(--color-border);
}

.auto-style-43 {
  width: auto;
  margin-top: 0;
  padding-left: 3rem;
  padding-right: 3rem;
}

.auto-style-44 {
  text-align: center;
  padding: 4rem 2rem;
}

.auto-style-45 {
  color: #2ecc71;
  margin-bottom: 1rem;
}

.auto-style-46 {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.auto-style-47 {
  margin-top: 2rem;
}

.auto-style-48 {
  justify-content: flex-end;
}

.auto-style-49 {
  min-height: 50vh;
  padding-top: 120px;
}

.auto-style-50 {
  padding-top: 4rem;
}

.auto-style-51 {
  margin-top: 6rem;
}

.auto-style-52 {
  min-height: 50vh;
  padding-top: 120px;
}

.auto-style-53 {
  padding-top: 4rem;
}

.auto-style-54 {
  margin-top: 6rem;
}

.auto-style-55 {
  min-height: 50vh;
  padding-top: 120px;
}

.auto-style-56 {
  padding-top: 4rem;
}

.auto-style-57 {
  margin-top: 5rem;
}

.auto-style-58 {
  margin-top: 1rem;
}

.auto-style-59 {
  margin-top: 6rem;
}

.auto-style-60 {
  grid-template-columns: repeat(2, 1fr);
}

.auto-style-61 {
  grid-column: 1 / -1;
  height: 300px;
}

/* =========================================
   Mobile Navigation & Responsiveness
   ========================================= */
.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--color-text);
  cursor: pointer;
  z-index: 1001;
}

@media (max-width: 900px) {
  .nav-container {
    padding: 0 1.5rem;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .values-container {
    flex-direction: column;
  }
  .content-block {
    flex-direction: column;
    text-align: center;
  }
  .content-block.reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-150%); /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    z-index: 999;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem;
    justify-content: center;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--glass-border);
    transform: translateY(150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    z-index: 1000;
  }
  .nav-actions.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    min-width: 100%;
    opacity: 1;
    visibility: visible;
    display: none; 
    padding: 0;
    margin-top: 0.5rem;
  }
  /* Show dropdown on hover/active for mobile */
  .dropdown.active .dropdown-menu,
  .dropdown:hover .dropdown-menu {
    display: block;
    transform: none;
  }
  .nav-links a:not(.btn) {
    font-size: 1.1rem;
  }
}