/* Reset and Base Styles - Energy-Focused Color Palette */
:root {
  /* Primary Energy Colors - Inspired by Bidgely's Clean Energy Focus */
  --primary: #1E40AF;        /* Professional blue for energy sector */
  --secondary: #0EA5E9;      /* Sky blue for innovation */
  --accent: #10B981;         /* Green for sustainability */
  --energy-dark: #1E3A8A;    /* Deep blue for stability */
  --energy-light: #3B82F6;   /* Bright blue for technology */
  
  /* Supporting Colors */
  --success: #059669;        /* Green for efficiency */
  --warning: #F59E0B;        /* Amber for alerts */
  --info: #0284C7;          /* Blue for information */
  --neutral: #64748B;        /* Slate for secondary text */
  
  /* Text Colors */
  --text-light: #F8FAFC;     /* Light text for dark backgrounds */
  --text-dark: #0F172A;      /* Dark text for light backgrounds */
  --text-secondary: #475569; /* Secondary text color */
  --white: #FFFFFF;
  
  /* Background Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-accent: #F0F9FF;      /* Light blue accent background */
  
  /* Gradient Definitions */
  --gradient-energy: linear-gradient(135deg, #1E40AF 0%, #0EA5E9 50%, #10B981 100%);
  --gradient-hero: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(14, 165, 233, 0.9) 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  
  /* Card and Shadow Styles */
  --card-bg: rgba(255, 255, 255, 0.98);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: 'Inter', 'Roboto', sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  position: relative;
}

@supports (content-visibility: auto) {
  .deferred-section {
    content-visibility: auto;
    contain: layout paint style;
    contain-intrinsic-size: 600px 1200px;
  }

  @media (min-width: 768px) {
    .deferred-section {
      contain-intrinsic-size: 800px 1400px;
    }
  }
}

/* Navbar Styles - Completely Redesigned */
.navbar {
  background-color: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(17, 24, 39, 0.95);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.logo-container {
  padding: 0;
  transition: transform 0.3s ease;
}

.logo-container:hover {
  transform: scale(1.05);
}

.logo-container img {
  /* Remove fixed height to allow Tailwind classes to work */
  width: auto;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.06));
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

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

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

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

/* Mobile Menu Styles */
[x-cloak] {
    display: none !important;
}

/* Dropdown Navigation Styles */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-button {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
  cursor: pointer;
}

.nav-dropdown-button:hover {
  color: var(--accent);
}

.nav-dropdown-button svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-button svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.nav-dropdown-item:hover {
  background-color: #f8fafc;
  color: var(--accent);
  border-left-color: var(--accent);
  transform: translateX(2px);
}

/* Mobile dropdown styles */
.mobile-dropdown {
  display: none;
}

.mobile-dropdown.open {
  display: block;
}

.mobile-dropdown-item {
  display: block;
  padding: 0.75rem 0 0.75rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.mobile-dropdown-item:hover {
  color: var(--accent);
  border-left-color: var(--accent);
  transform: translateX(2px);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    margin: 6px 0;
    transition: 0.3s;
    border-radius: 1px;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Ensure mobile menu is above other content */
.md\:hidden.fixed {
    z-index: 50;
}

/* Smooth transitions for mobile menu */
.md\:hidden.fixed {
    transition: opacity 0.2s ease-in-out;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Section Base & Animations - Clean Professional Style */
.section {
  padding: 120px 20px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  background: var(--bg-primary);
}

.section.active {
  opacity: 1;
  transform: translateY(0);
}

/* Alternating section backgrounds for visual hierarchy */
.section:nth-child(even) {
  background: var(--bg-secondary);
}

.section:nth-child(odd) {
  background: var(--bg-primary);
}

/* Hero Section - Clean Energy-Focused Design */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
  background: var(--gradient-energy);
  padding-top: 6rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  /* Clean energy-themed background pattern */
  background: var(--gradient-energy);
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  background-size: 100px 100px, 150px 150px;
  background-position: 0 0, 50px 50px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  /* Subtle overlay for professional energy sector look */
  background: rgba(30, 64, 175, 0.04);
  backdrop-filter: blur(0.5px);
}

/* Subtle grid overlay with masked fade for a clean, modern look */
.hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px;
  opacity: 0.25;
  mask-image: radial-gradient(800px 600px at 25% 40%, black 60%, transparent 85%);
  -webkit-mask-image: radial-gradient(800px 600px at 25% 40%, black 60%, transparent 85%);
}

.visualization-placeholder {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 420px;
  animation: placeholderPulse 2.2s ease-in-out infinite;
}

.placeholder-panel,
.placeholder-chart {
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(255,255,255,0.06), rgba(255,255,255,0.16));
  height: 64px;
}

.placeholder-panel.short {
  width: 70%;
}

.placeholder-chart {
  flex: 1;
  min-height: 180px;
  position: relative;
  overflow: hidden;
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmerMove 1.6s linear infinite;
}

#hero-visual-container.hydrated .visualization-placeholder {
  display: none;
}

@keyframes shimmerMove {
  100% {
    transform: translateX(100%);
  }
}

@keyframes placeholderPulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.7;
  }
}

.noise-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23ffffff' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

.geometric-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  opacity: 0.18;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59,130,246,0.65), rgba(16,185,129,0.65));
  filter: blur(60px);
  mix-blend-mode: soft-light;
  will-change: transform, opacity, filter;
}

.shape-1 {
  top: 15%;
  left: 5%;
  width: 400px;
  height: 400px;
  animation: floatAnimation 18s infinite alternate ease-in-out;
}

.shape-2 {
  top: 60%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, rgba(59,130,246,0.55), rgba(16,185,129,0.6));
  animation: floatAnimation 22s infinite alternate-reverse ease-in-out;
}

.shape-3 {
  bottom: 5%;
  left: 35%;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(14,165,233,0.6), rgba(16,185,129,0.5));
  animation: floatAnimation 16s infinite alternate ease-in-out;
}

/* When JS parallax is active, disable float animation for better smoothness */
.hero-parallax .shape {
  animation: none !important;
}

/* Remove if not needed anymore */
.gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  opacity: 0.8;
}

.gradient-text {
  background: var(--gradient-energy);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  line-height: 1.3 !important;
  padding-bottom: 0.25rem;
  overflow: visible !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #0EA5E9 0%, #10B981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  line-height: 1.3 !important;
  padding-bottom: 0.25rem;
  overflow: visible !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fix for text clipping issue - ensure proper spacing for descenders */
.text-4xl, .text-5xl {
  line-height: 1.3 !important;
  padding-bottom: 0.25rem;
  overflow: visible !important;
}

/* Specific fixes for large headings to prevent clipping of descenders (p, g, j, q, y) */
h1.text-4xl, h1.text-5xl,
h2.text-4xl, h2.text-5xl,
h3.text-4xl, h3.text-5xl,
h4.text-4xl, h4.text-5xl {
  line-height: 1.25 !important;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  overflow: visible !important;
}

/* Enhanced gradient text to prevent clipping */
.gradient-text {
  line-height: 1.3 !important;
  padding-bottom: 0.125rem;
  overflow: visible !important;
  /* Ensure proper text rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.gradient-text-alt {
  line-height: 1.3 !important;
  padding-bottom: 0.125rem;
  overflow: visible !important;
  /* Ensure proper text rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hero Buttons - Clean Energy Sector Design */
.hero-button {
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: var(--shadow);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.hero-button.primary {
  background: var(--gradient-energy);
  color: var(--white);
  border: 1px solid transparent;
}

.hero-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.05);
}

.hero-button.secondary {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border: 1px solid rgba(30, 64, 175, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-button.secondary:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}



@keyframes ringPulse {
  0% {
    transform: scale(0.8);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.1;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.3;
  }
}

@keyframes pulseRing {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.6;
  }
}

/* Responsive adjustments for the video button */


/* Trusted By Section - Redesigned */
.logo-slide img {
  max-width: 100%;
  height: 50px;
  object-fit: contain;
  filter: grayscale(100%) opacity(50%);
  transition: all 0.3s ease;
}

.logo-slide img:hover {
  filter: grayscale(0%) opacity(100%);
  transform: scale(1.05);
}

/* Spotlight to subtly emphasize left hero content area */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 500px at 20% 40%, rgba(255,255,255,0.14), transparent 70%),
    radial-gradient(480px 360px at 70% 65%, rgba(16,185,129,0.08), transparent 75%);
  mix-blend-mode: soft-light;
}

/* Ensure hero badge has breathing room under the fixed header */
.hero-content .inline-block {
  margin-top: 1.25rem;
  margin-bottom: 2rem;
}

/* Trusted By Section */
.trusted-by {
  padding: 4rem 0;
  background-color: var(--white);
  text-align: center;
}

.trusted-by-title {
  color: #666;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.logo-carousel {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.logo-slide-track {
  display: flex;
  animation: scroll 30s linear infinite;
  width: calc(250px * 12); /* 250px per logo * 2 sets of logos */
}

.logo-slide {
  width: 250px;
  padding: 0 40px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 6)); /* Moves by one set of logos */
  }
}

/* Products Section - Redesigned */
#products {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 8rem 0;
}

#products::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM36 0V4h-2V0h-4v4h4v4h2V4h4V0h-4zM6 34v-4H4v4H0v2h4v4h2V6h4V4H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

#products .text-center {
  position: relative;
  z-index: 1;
}

#products h2 {
  position: relative;
  display: inline-block;
}

#products h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 3px;
}

.artistic-card.artistic-shadow {
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  transition: all 0.3s ease;
  border: 1px solid rgba(30, 64, 175, 0.1);
  box-shadow: var(--shadow);
  overflow: visible;
}

.artistic-card.artistic-shadow:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.artistic-card.artistic-shadow .w-16 {
  transition: all 0.3s ease;
  color: var(--primary);
}

.artistic-card.artistic-shadow:hover .w-16 {
  transform: scale(1.1);
  color: var(--accent);
}

.artistic-card.artistic-shadow h3 {
  transition: all 0.3s ease;
  color: var(--text-dark);
}

.artistic-card.artistic-shadow:hover h3 {
  color: var(--primary);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0) translateX(0) translateZ(0);
  }
  50% {
    transform: translateY(-16px) translateX(12px) translateZ(0);
  }
  100% {
    transform: translateY(0) translateX(0) translateZ(0);
  }
}

@keyframes floatDashboard {
  0% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0);
  }
  50% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(-15px);
  }
  100% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0);
  }
}

@keyframes glowPulse {
  0% {
    opacity: 0.2;
    box-shadow: 0 0 30px 5px rgba(99, 102, 241, 0.2);
  }
  100% {
    opacity: 0.4;
    box-shadow: 0 0 60px 10px rgba(236, 72, 153, 0.3);
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 7));
  }
}




/* Enhanced Industries Section */
#industries {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 8rem 0;
  overflow: visible !important;
  z-index: 1;
}

#industries::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(248, 250, 252, 0.7) 50%, 
    rgba(248, 250, 252, 1) 100%);
  z-index: 2;
  transform: skewY(2deg);
  transform-origin: top left;
}

#industries canvas {
  opacity: 0.5;
  filter: blur(0.5px);
}

#industries h2 {
  background: linear-gradient(135deg, #111827 0%, #4338ca 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: industryTextGradient 8s infinite alternate;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

@keyframes industryTextGradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

#industries h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, 
    #111827 0%, 
    #4338ca 50%, 
    #6366F1 100%);
  border-radius: 4px;
}

.industry-card {
  perspective: 1200px;
  transform-style: preserve-3d;
  position: relative;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.industry-card > div {
  height: 100%;
  transform-style: preserve-3d;
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 4px 20px -10px rgba(0, 0, 0, 0.1),
    0 2px 10px -5px rgba(0, 0, 0, 0.05);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(99, 102, 241, 0.08);
}

.industry-card:hover > div {
  transform: translateY(-16px) rotateX(4deg);
  box-shadow: 
    0 20px 30px -15px rgba(0, 0, 0, 0.2),
    0 10px 15px -10px rgba(0, 0, 0, 0.1),
    0 0 20px 0px rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.industry-card .h-1 {
  height: 4px;
  background: var(--secondary);
  transition: width 0.5s ease-in-out;
  width: 40%;
  border-radius: 4px;
}

.industry-card:hover .h-1 {
  width: 80%;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
}

.industry-card h3 {
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.industry-card:hover h3 {
  transform: translateY(-2px);
  color: var(--secondary);
}

.industry-card h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  transition: width 0.3s ease;
}

.industry-card:hover h3::after {
  width: 100%;
}

.industry-card p {
  transition: all 0.3s ease 0.1s;
}

.industry-card:hover p {
  color: #374151;
}

.industry-card ul {
  position: relative;
  padding-left: 0;
  transition: all 0.3s ease 0.2s;
}

.industry-card ul li {
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.85;
  transform: translateX(0);
}

.industry-card:hover ul li {
  opacity: 1;
  transform: translateX(5px);
}

/* Stagger list item animations on hover */
.industry-card:hover ul li:nth-child(1) { transition-delay: 0.05s; }
.industry-card:hover ul li:nth-child(2) { transition-delay: 0.1s; }
.industry-card:hover ul li:nth-child(3) { transition-delay: 0.15s; }
.industry-card:hover ul li:nth-child(4) { transition-delay: 0.2s; }

.industry-card a {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.05);
  color: var(--secondary);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 500;
  margin-top: 1rem;
  z-index: 1;
}

.industry-card a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: -1;
}

.industry-card a:hover {
  color: white;
  border: 1px solid transparent;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px -5px rgba(99, 102, 241, 0.4);
}

.industry-card a:hover::before {
  width: 100%;
}

.industry-card a svg {
  transition: transform 0.3s ease;
  margin-left: 0.5rem;
}

.industry-card a:hover svg {
  transform: translateX(3px);
}













/* Believe Video Section - Full Bleed */
.py-16.bg-black {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.py-16.bg-black video {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* New cleaner video section */
.video-section {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.video-section video {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

/* Blog Card Styles */
.blog-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e5e7eb;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.blog-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary);
}

.blog-tag {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.blog-card h3 {
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.blog-card p {
  line-height: 1.6;
  color: #6b7280;
}

.blog-card a:hover svg {
  transform: translateX(4px);
}

/* Blog section specific styles */
#blog-insights {
  position: relative;
  overflow: hidden;
}

#blog-insights::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Responsive adjustments for blog cards */
@media (max-width: 768px) {
  .blog-card:hover {
    transform: translateY(-4px);
  }
  
  .blog-card h3 {
    font-size: 1.125rem;
    line-height: 1.5;
  }
}

/* Blog insights call to action */
#blog-insights .hero-button {
  transition: all 0.3s ease;
}

#blog-insights .hero-button.secondary {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border: 2px solid var(--secondary);
  color: var(--secondary);
}

#blog-insights .hero-button.secondary:hover {
  background: var(--secondary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.3);
}

#blog-insights .hero-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.2);
}

/* Blog CTA - Brand aligned */
.brand-cta {
  padding: 5rem 1rem;
  position: relative;
  background: var(--gradient-energy);
  color: var(--text-light);
  overflow: hidden;
  text-align: center;
}

.brand-cta .cta-container {
  max-width: 64rem; /* 1024px */
  margin: 0 auto;
  padding: 0 1rem;
}

.brand-cta .cta-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.brand-cta .cta-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
}

.brand-cta .cta-link {
  color: #dbeafe; /* light blue for readability */
  text-decoration: underline;
  text-underline-offset: 3px;
}

.brand-cta .cta-link:hover {
  color: var(--white);
}

.brand-cta .cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .brand-cta .cta-actions { flex-direction: row; }
}

/* Button adjustments on gradient background */
.brand-cta .btn-energy-primary {
  background: var(--white);
  color: var(--primary);
}

.brand-cta .btn-energy-primary:hover {
  filter: none;
  transform: translateY(-2px);
}

.brand-cta .btn-energy-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.brand-cta .btn-energy-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

/* Professional Energy Sector Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.125rem;
}

.text-lg {
  font-size: 1.25rem;
  line-height: 1.6;
}

/* Respect reduced motion preferences globally for hero motion-heavy elements */
@media (prefers-reduced-motion: reduce) {
  .shape,
  .hero-overlay::before,
  .dashboard-glow,
  .floating-dashboard,
  .hero-button,
  .carousel-layer,
  [data-aos] {
    animation: none !important;
    transition: none !important;
  }
}

/* Energy Sector Specific Gradient Text */
.energy-gradient-text {
  background: var(--gradient-energy);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* Hero Subtitle - Black Text for Readability */
.energy-subtitle {
  color: #000000 !important;
  font-weight: 500;
}

/* Professional Button Styles */
.btn-energy-primary {
  background: var(--gradient-energy);
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-energy-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.05);
}

.btn-energy-secondary {
  background: var(--white);
  color: var(--primary);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-energy-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Professional Stats/Metrics Display */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30, 64, 175, 0.1);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Energy Icon Styles */
.energy-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-accent);
  border-radius: var(--radius);
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.energy-icon:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

/* Professional List Styles */
.energy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.energy-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(30, 64, 175, 0.1);
}

.energy-list li:last-child {
  border-bottom: none;
}

.energy-list li::before {
  content: "✓";
  background: var(--accent);
  color: var(--white);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
  .section {
    padding: 80px 15px;
  }

  /* Mobile hero tuning: fewer, lighter shapes and static grid */
  .shape-1 {
    width: 260px;
    height: 260px;
    left: -5%;
    top: 12%;
  }
  .shape-2 {
    width: 320px;
    height: 320px;
    right: -10%;
    top: auto;
    bottom: 8%;
  }
  .shape-3 {
    width: 220px;
    height: 220px;
    left: 40%;
    bottom: 2%;
  }
  .hero-overlay::before {
    opacity: 0.18;
    background-size: 24px 24px, 24px 24px;
    mask-image: radial-gradient(600px 420px at 35% 30%, black 45%, transparent 80%);
    -webkit-mask-image: radial-gradient(600px 420px at 35% 30%, black 45%, transparent 80%);
  }
  .noise-overlay { opacity: 0.03; }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .stat-item {
    padding: 1.5rem 0.75rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 420px) {
  .shape-3 { display: none; }
}

/* Language Switcher Styles */
.language-switcher {
  position: relative;
}

.language-switcher button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
  border: none;
  background: transparent;
  cursor: pointer;
}

.language-switcher button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.flag-icon {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  display: inline-block;
  background-size: cover;
  background-position: center;
  margin-right: 0.25rem;
}

.flag-icon.france {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Cpath fill='%23002654' d='M0 0h1v2H0z'/%3E%3Cpath fill='%23fff' d='M1 0h1v2H1z'/%3E%3Cpath fill='%23ce1126' d='M2 0h1v2H2z'/%3E%3C/svg%3E");
}

.flag-icon.usa {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7410 3900'%3E%3Cpath fill='%23b22234' d='M0 0h7410v3900H0z'/%3E%3Cpath stroke='%23fff' stroke-width='300' d='M0 450h7410m0 600H0m0 600h7410m0 600H0m0 600h7410m0 600H0'/%3E%3Cpath fill='%233c3b6e' d='M0 0h2964v2100H0z'/%3E%3Cg fill='%23fff'%3E%3Cg id='s18'%3E%3Cg id='s9'%3E%3Cg id='s5'%3E%3Cg id='s4'%3E%3Cpath id='s' d='M247 90l70.534 217.082-184.66-134.164h228.253L176.466 307.082z'/%3E%3Cuse y='420' href='%23s'/%3E%3Cuse y='840' href='%23s'/%3E%3Cuse y='1260' href='%23s'/%3E%3C/g%3E%3Cuse y='1680' href='%23s'/%3E%3C/g%3E%3Cuse x='247' y='210' href='%23s4'/%3E%3C/g%3E%3Cuse x='494' href='%23s9'/%3E%3C/g%3E%3Cuse x='741' href='%23s18'/%3E%3Cuse x='1235' href='%23s9'/%3E%3Cuse x='1729' href='%23s5'/%3E%3C/g%3E%3C/svg%3E");
}

.flag-icon.mobile {
  width: 24px;
  height: 18px;
}

#languageMenu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.5rem;
  width: 8rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 50;
  overflow: hidden;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: left;
  border: none;
  background: white;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 0.875rem;
}

.language-option:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.language-option:first-child {
  border-radius: 0.5rem 0.5rem 0 0;
}

.language-option:last-child {
  border-radius: 0 0 0.5rem 0.5rem;
}