/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Colors */
  --primary-deep: #01224d;
  --secondary-teal: #01224d;
  --accent-gold: #72af20;
  --accent-gold-hover: #025032;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-glass-dark: rgba(1, 34, 77, 0.75);
  --bg-glass-light: rgba(255, 255, 255, 0.8);
  
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --text-light-muted: #cbd5e1;
  --border-light: rgba(226, 232, 240, 0.8);
  --border-glass: rgba(255, 255, 255, 0.1);


  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;

  /* Max Width */
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

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

body.nav-lock {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary-deep);
}

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

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

ul {
  list-style: none;
}

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

.section-padding {
  padding: 100px 20px;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

/* Utility Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: var(--primary-deep);
  box-shadow: 0 4px 14px rgba(255, 159, 28, 0.35);
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 159, 28, 0.5);
}

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

.btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-deep);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--primary-deep);
  border: 2px solid var(--primary-deep);
}

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

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

.section-tag {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

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

@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }
}

/* ==========================================================================
   HERO VIDEO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100vw;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

/* Hide mobile video on desktop by default */
.mobile-video {
  display: none;
}
.hero-video-bg.fade-out {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}

/* Video Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
  color: var(--text-light);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-gold);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  /* animation: heroFadeInUp 0.8s forwards 0.2s; */
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.15;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  /* animation: heroFadeInUp 0.8s forwards 0.4s; */
}

.hero-description {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 36px auto;
  color: var(--text-light-muted);
  opacity: 0;
  transform: translateY(20px);
  /* animation: heroFadeInUp 0.8s forwards 0.6s; */
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  /* animation: heroFadeInUp 0.8s forwards 0.8s; */
}

/* These trigger the animations only when the 'show-content' class is added via JS */
.hero-content.show-content .hero-subtitle {
  animation: heroFadeInUp 0.8s forwards 0.2s;
}
.hero-content.show-content .hero-title {
  animation: heroFadeInUp 0.8s forwards 0.4s;
}
.hero-content.show-content .hero-description {
  animation: heroFadeInUp 0.8s forwards 0.6s;
}
.hero-content.show-content .hero-actions {
  animation: heroFadeInUp 0.8s forwards 0.8s;
}

/* Static Background Image */
.hero-static-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* REPLACE this URL with your desired background image */
  background: url('bg.jpg') center/cover no-repeat; 
  z-index: 0; /* Keeps it strictly behind the video */
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

/* Class triggered by JS to fade in the background */
.hero-static-bg.active {
  opacity: 1;
}

/* Floating Text Container */
.hero-floating-text {
  position: absolute;
  bottom: 15%;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10; /* Keeps it above the hero-content */
  opacity: 0;
  pointer-events: none; /* Allows clicking through it */
  transition: opacity 2s ease-in-out 0.5s; /* 0.5s delay to fade in slightly after video */
}

/* Class triggered by JS to fade in the text */
.hero-floating-text.active {
  opacity: 1;
}

/* The actual floating text styling and animation */
.hero-floating-text span {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  display: inline-block;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  animation: floatTextAnim 4s ease-in-out infinite;
}
/* 
@media (max-width: 768px) {
  .hero-floating-text span {
    font-size: 1.2rem;
    padding: 0 20px;
  }
} */

@keyframes floatTextAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem !important;
  }
  .hero-description {
    font-size: 0.92rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-floating-text span {
    font-size: 1.2rem !important; /* Compact font size to avoid line wrapping */
    letter-spacing: 2px !important;
    padding: 0 15px !important;
  }

  /* 3. Shift 'Discover' scroll indicator lower to prevent collision */
  .scroll-down {
    bottom: 15px !important;
    font-size: 0.72rem !important;
  }

  .scroll-mouse {
    width: 20px !important;
    height: 32px !important;
  }
}

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

/* Scroll Down Indicator */
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  opacity: 0.7;
  cursor: pointer;
  transition: var(--transition-fast);
}

.scroll-down:hover {
  opacity: 1;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-light);
  border-radius: 20px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent-gold);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheelScroll 1.8s infinite;
}

@keyframes wheelScroll {
  0% { opacity: 0; top: 8px; }
  30% { opacity: 1; }
  100% { opacity: 0; top: 22px; }
}

/* ==========================================================================
   4-COLUMN BENEFIT BAR
   ========================================================================== */
.benefit-bar {
  background-color: var(--secondary-teal);
  color: var(--text-light);
  padding: 40px 20px;
  position: relative;
  z-index: 10;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.benefit-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
  transition: var(--transition-smooth);
}

.benefit-col:hover {
  transform: translateY(-5px);
}

.benefit-icon-wrapper {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.12) 100%);
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.15);
  color: var(--accent-gold);
}

.benefit-col:hover .benefit-icon-wrapper {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #ffc066 100%);
  color: var(--primary-deep);
  transform: scale(1.15) translateY(-2px) rotate(5deg);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 25px rgba(255, 159, 28, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.benefit-icon {
  width: 32px;
  height: 32px;
}

.benefit-name {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-light);
}

@media (max-width: 991px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .benefit-bar {
    padding: 50px 20px;
  }
}

/* ==========================================================================
   WHAT WE DO SECTION (White background)
   ========================================================================== */
.what-we-do-section {
  background-color: var(--bg-white);
}

.what-we-do-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.what-we-do-intro {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1.45;
  color: var(--primary-deep);
  font-style: italic;
  position: relative;
  padding-left: 24px;
  border-left: 4px solid var(--accent-gold);
}

.what-we-do-detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.what-we-do-detail p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.lithium-highlight-box {
  background-color: var(--bg-light);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-light);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 10px;
}

.lithium-icon-container {
  background-color: var(--primary-deep);
  color: var(--text-light);
  border-radius: 12px;
  padding: 12px;
  flex-shrink: 0;
}

.lithium-icon {
  width: 28px;
  height: 28px;
}

.lithium-text h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.lithium-text p {
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 991px) {
  .what-we-do-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   PRODUCT CATEGORY SECTION (Deep blue #01224d)
   ========================================================================== */
.product-category-section {
  background: linear-gradient(135deg, var(--primary-deep) 0%, #011633 100%);
  color: var(--text-light);
}

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

.product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  padding: 0;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-image-wrapper {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-image {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--accent-gold);
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.product-content {
  padding: 36px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-title {
  color: var(--text-light);
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.product-text {
  color: var(--text-light-muted);
  font-size: 0.98rem;
  margin-bottom: 24px;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-bottom: 30px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spec-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-gold);
  filter: drop-shadow(0 2px 4px rgba(255, 159, 28, 0.15));
  transition: all 0.3s ease;
}
.product-card:hover .spec-icon {
  color: #ffb74d;
  transform: scale(1.1) rotate(3deg);
  filter: drop-shadow(0 4px 8px rgba(255, 159, 28, 0.35));
}

.spec-label {
  font-size: 0.88rem;
  color: var(--text-light-muted);
}

@media (max-width: 991px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .product-image-wrapper {
    height: 220px;
  }
  .product-content {
    padding: 24px;
  }
  .product-specs {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SOLUTIONS SECTION (White Background)
   ========================================================================== */
.solutions-section {
  background-color: var(--bg-light);
}

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

.solution-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(1, 34, 77, 0.03);
  position: relative;
  transition: var(--transition-smooth);
}

.solution-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(1, 34, 77, 0.08);
  border-color: rgba(1, 65, 96, 0.2);
}

.solution-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.solution-title {
  font-size: 1.8rem;
  color: var(--primary-deep);
}

.solution-icon-box {
  background: linear-gradient(135deg, rgba(1, 65, 96, 0.04) 0%, rgba(1, 65, 96, 0.08) 100%);
  color: var(--secondary-teal);
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(1, 65, 96, 0.12);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8), 0 4px 10px rgba(1, 34, 77, 0.04);
}

.solution-box:hover .solution-icon-box {
  background: linear-gradient(135deg, var(--secondary-teal) 0%, #016fa3 100%);
  color: var(--bg-white);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 10px 20px rgba(1, 65, 96, 0.25), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.solution-icon {
  width: 32px;
  height: 32px;
}

.solution-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.solution-availability {
  background-color: rgba(1, 34, 77, 0.03);
  padding: 16px 20px;
  border-radius: 12px;
  border-left: 3px solid var(--secondary-teal);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--primary-deep);
}

.solution-availability strong {
  color: var(--accent-gold-hover);
}

@media (max-width: 768px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .solution-box {
    padding: 30px;
  }
}

/* ==========================================================================
   WHY CHOOSE US SECTION (Left Image, Right Content)
   ========================================================================== */
.why-choose-us-section {
  background-color: var(--bg-white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.why-us-image-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.why-us-image {
  width: 100%;
  object-fit: cover;
  height: 450px;
  display: block;
}

.why-us-image-container:hover .why-us-img {
  transform: scale(1.05);
}

.why-us-img-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: rgba(1, 34, 77, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.why-us-img-badge-title {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--accent-gold);
}

.why-us-img-badge-text {
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.why-us-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.why-us-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.why-us-item:hover {
  background-color: var(--bg-light);
  transform: translateX(5px);
}

.why-us-checkbox {
  background: linear-gradient(135deg, rgba(255, 159, 28, 0.08) 0%, rgba(255, 159, 28, 0.18) 100%) !important;
  color: var(--accent-gold-hover) !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 8px !important; /* Squircle checkbox */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 159, 28, 0.25) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2), 0 3px 6px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.why-us-item:hover .why-us-checkbox {
  background-color: var(--accent-gold);
  color: var(--primary-deep);
}

.why-us-check-icon {
  width: 20px;
  height: 20px;
}

.why-us-item-text {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.5;
}

@media (max-width: 991px) {
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-us-image {
    height: 400px;
  }
}

/* ==========================================================================
   4-STEP PROCESS SECTION (Background #01224d)
   ========================================================================== */
.process-section {
  background: linear-gradient(135deg, var(--primary-deep) 0%, #01122b 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

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

/* Connecting Line */
.process-grid::before {
  content: '';
  position: absolute;
  top: 75px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: linear-gradient(to right, var(--accent-gold), rgba(255, 255, 255, 0.15));
  z-index: 1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-deep);
  background-color: var(--accent-gold);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 4px solid var(--primary-deep);
  box-shadow: 0 0 0 4px rgba(255, 159, 28, 0.25);
  transition: var(--transition-smooth);
}

.process-step:hover .process-number {
  transform: scale(1.15);
  box-shadow: 0 0 0 8px rgba(255, 159, 28, 0.4);
}

.process-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  height: calc(100% - 78px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.process-step:hover .process-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.process-step-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-light);
}

.process-step-desc {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  line-height: 1.5;
}

@media (max-width: 991px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .process-grid::before {
    display: none; /* Hide connecting line on responsive layouts */
  }
}

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

/* ==========================================================================
   TESTIMONIALS SECTION (Fade transition, 1 at a time)
   ========================================================================== */
.testimonials-section {
  background-color: var(--bg-white);
}

.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 0 40px;
}

.testimonial-card-outer {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  padding: 50px;
  box-shadow: 0 15px 40px rgba(1, 34, 77, 0.04);
  position: relative;
}

/* Quote Graphic */
.testimonial-quote-icon {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 80px;
  height: 80px;
  color: rgba(1, 65, 96, 0.05);
  pointer-events: none;
}

.testimonial-inner-card {
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}

.testimonial-inner-card.fade-out {
  opacity: 0;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  color: var(--accent-gold);
}

.star-icon {
  width: 20px;
  height: 20px;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1.5;
  color: var(--primary-deep);
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-meta h5 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.testimonial-meta p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Nav Arrows */
.testimonial-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--primary-deep);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  z-index: 10;
}

.testimonial-nav-btn:hover {
  background-color: var(--primary-deep);
  color: var(--bg-white);
  border-color: var(--primary-deep);
}

.testimonial-nav-btn.prev {
  left: -20px;
}

.testimonial-nav-btn.next {
  right: -20px;
}

.nav-arrow-icon {
  width: 20px;
  height: 20px;
}

/* Indicator Dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--text-light-muted);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
}

.testimonial-dot.active {
  background-color: var(--accent-gold);
  transform: scale(1.2);
  width: 20px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .testimonial-container {
    padding: 0;
  }
  .testimonial-card-outer {
    padding: 30px;
  }
  .testimonial-text {
    font-size: 1.25rem;
  }
  .testimonial-nav-btn {
    top: auto;
    bottom: -70px;
    transform: none;
  }
  .testimonial-nav-btn.prev {
    left: calc(50% - 60px);
  }
  .testimonial-nav-btn.next {
    right: calc(50% - 60px);
  }
  .testimonial-dots {
    margin-top: 90px;
  }
}

/* ==========================================================================
   PARTNERS & ASSOCIATES SECTION (Full-Width White, Static, Proportional)
   ========================================================================== */
.partners-section {
  background-color: #ffffff;
  padding: 50px 20px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

.partners-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px; /* Generous spacing between logos */
  flex-wrap: wrap;
}

/* Base logo wrapper — no boxes, borders, or hover transforms */
.partner-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

/* Base image styling — full color, no filters */
.partner-img {
  width: auto;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
}

/* Standard horizontal logos (e.g. Unity ESS, Luxpowertek) */
.partner-img {
  height: 60px;
  max-width: 220px;
}

/* Square / Boxy logos (e.g. CLN Energy) — needs more height to match visually */
.partner-img.logo-square {
  height: 70px;
  max-width: 160px;
}

@media (max-width: 768px) {
  .partners-container {
    gap: 40px;
  }
  .partner-img {
    height: 38px;
    max-width: 160px;
  }
  .partner-img.logo-square {
    height: 52px;
    max-width: 120px;
  }
}
/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
  background-color: #0b0f19;
  color: var(--text-light-muted);
  padding: 80px 20px 30px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 50px;
  margin-bottom: 30px;
}

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

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 80px;
  width: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.footer-logo-text {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-light);
}

.footer-logo-accent {
  color: var(--accent-gold);
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

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

.footer-link {
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.footer-contact-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-copyright {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* ==========================================================================
   ABOUT PAGE HERO SECTION
   ========================================================================== */
.about-hero {
  position: relative;
  height: 50vh;
  min-height: 380px;
  background: url('images/lithium_bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
  overflow: hidden;
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(1, 34, 77, 0.9) 0%, rgba(1, 65, 96, 0.75) 100%);
  z-index: 2;
}

.about-hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-light);
  padding: 0 20px;
}

.about-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 12px;
}

.about-hero-desc {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  color: var(--text-light-muted);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .about-hero-title {
    font-size: 2.5rem;
  }
  .about-hero-desc {
    font-size: 1rem;
  }
}

/* ==========================================================================
   ABOUT ALTERNATING SECTIONS
   ========================================================================== */
.about-section {
  background-color: var(--bg-white);
  overflow: hidden;
}

.about-section.dark-bg {
  background: linear-gradient(135deg, var(--primary-deep) 0%, #01122b 100%);
  color: var(--text-light);
}

.about-section.dark-bg h2 {
  color: var(--text-light);
}

.about-section.dark-bg p {
  color: var(--text-light-muted);
}

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

.about-section.reverse .about-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.about-section.reverse .about-grid-col-text {
  order: 2;
}

.about-section.reverse .about-grid-col-img {
  order: 1;
}

.about-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-content-wrapper .section-title {
  text-align: left;
  margin-bottom: 10px;
}

.about-section-desc {
  font-size: 1.08rem;
  line-height: 1.7;
}

.about-image-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.about-section.dark-bg .about-image-container {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.award-img {
  width: 100%;
  /* height: 500px; */
  object-fit: contain;
  display: block;
  transition: var(--transition-smooth);
}

.about-image-container:hover .about-img {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
  .about-section.reverse .about-grid-col-text,
  .about-section.reverse .about-grid-col-img {
    order: unset;
  }
  .about-img {
    height: 320px;
  }
  .award-img{
    height: 320px;
  }
}

/* Checklist and Grid layouts inside About */
.about-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 15px;
}

.about-check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.about-check-icon-box {
  background-color: rgba(255, 159, 28, 0.15);
  color: var(--accent-gold);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-check-icon {
  width: 16px;
  height: 16px;
}

.about-check-text {
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 500;
}

.about-section.dark-bg .about-check-text {
  color: var(--text-light-muted);
}

@media (max-width: 576px) {
  .about-checklist {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* ==========================================================================
   CLIENTELE LOGO GRID (Proportionally Balanced - FIXED)
   ========================================================================== */
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.client-logo-box {
  background: #ffffff !important; 
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  height: 110px; /* Fixed uniform height so all boxes align perfectly */
  padding: 10px 20px; 
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Base setup for all standard logos */
.client-logo-img {
  width: 100%;
  height: 100%;
  max-height: 45px; /* Baseline cap to prevent standard logos from looking bloated */
  object-fit: contain;
  display: block;
  
  /* CRITICAL FIX: Forces full color and visibility */
  opacity: 1 !important; 
  filter: none !important; 
  -webkit-filter: none !important; 
}

/* 1. TALL / SQUARE LOGOS (e.g., Dabur, DS Group) */
.client-logo-img.logo-tall {
  max-height: 70px; /* Allows taller designs to fill the vertical space */
}

/* 2. EXTRA WIDE LOGOS (e.g., Delhivery, DTDC) */
.client-logo-img.logo-wide {
  max-height: 45px;
  transform: scale(2.4); /* A slight optical bump to defeat built-in whitespace in the image file */
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .client-logo-grid { 
    grid-template-columns: repeat(3, 1fr); 
  }
}

@media (max-width: 768px) {
  .client-logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .client-logo-box {
    height: 90px;
    padding: 10px 15px;
  }
  /* Scale down caps for mobile */
  .client-logo-img { max-height: 35px; }
  .client-logo-img.logo-tall { max-height: 55px; }
  .client-logo-img.logo-wide { max-height: 35px; transform: scale(1.1); }
}

/* ==========================================================================
   APP MONITORING VIDEO
   ========================================================================== */
.app-video-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  /* Flexbox ensures the video stays perfectly centered if container expands */
  display: flex; 
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light); /* Subtle background while video loads */
}

.app-video-element {
  width: 100%;
  height: auto; /* Overrides the fixed height that was causing the crop */
  max-height: 700px; /* Optional cap so it doesn't get overwhelmingly tall on massive screens */
  display: block;
  object-fit: contain; /* Guarantees the entire video frame remains visible */
  border-radius: 24px;
}

/* ==========================================================================
   CONTACT US SECTION & FORM
   ========================================================================== */
.contact-section {
  background-color: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary-deep) 0%, #01122b 100%);
  color: var(--text-light);
  padding: 50px;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(1, 34, 77, 0.12);
  display: flex;
  flex-direction: column;
  gap: 36px;
  height: 100%;
}

.contact-info-title {
  font-size: 2.2rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.contact-info-desc {
  color: var(--text-light-muted);
  font-size: 1.05rem;
}

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

.contact-details-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-details-icon {
  background-color: rgba(255, 159, 28, 0.15);
  color: var(--accent-gold);
  padding: 12px;
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-details-icon svg {
  width: 24px;
  height: 24px;
}

.contact-details-text h5 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.contact-details-text p {
  color: var(--text-light-muted);
  font-size: 1.05rem;
}

/* Contact Form Styling */
.contact-form-card {
  background-color: var(--bg-white);
  padding: 50px;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-deep);
}

.form-control {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 14px 20px;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  outline: none;
  background-color: var(--bg-light);
  transition: var(--transition-fast);
  color: var(--text-dark);
}

.form-control:focus {
  border-color: var(--accent-gold);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(255, 159, 28, 0.1);
}

.interest-group {
  margin-bottom: 28px;
}

.interest-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-deep);
  margin-bottom: 14px;
}

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

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast);
}

.checkbox-input {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--border-light);
  border-radius: 6px;
  outline: none;
  cursor: pointer;
  accent-color: var(--accent-gold);
}

.checkbox-label:hover {
  color: var(--primary-deep);
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-info-card, .contact-form-card {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .form-group-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .checkbox-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   WHY LITHIUM BATTERIES & COMPARISON SECTION
   ========================================================================== */
.lithium-benefits-section {
  background-color: var(--bg-light);
}

.lithium-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.lithium-benefit-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.01);
  transition: var(--transition-smooth);
}

.lithium-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(1, 34, 77, 0.05);
  border-color: rgba(1, 65, 96, 0.15);
}

.lithium-benefit-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.lithium-benefit-icon-box {
  background-color: rgba(255, 159, 28, 0.1);
  color: var(--accent-gold-hover);
  padding: 10px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lithium-benefit-icon {
  width: 24px;
  height: 24px;
}

.lithium-benefit-card-title {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.lithium-benefit-card-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 991px) {
  .lithium-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .lithium-benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Comparison Table Styling */
.comparison-section {
  background: linear-gradient(135deg, var(--primary-deep) 0%, #01122b 100%);
  color: var(--text-light);
}

.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 800px;
}

.comparison-table th, 
.comparison-table td {
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table th {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  background-color: rgba(1, 34, 77, 0.4);
}

.comparison-table th:first-child, 
.comparison-table td:first-child {
  font-weight: 700;
  color: var(--text-light);
  width: 20%;
}

.comparison-table td {
  font-size: 0.95rem;
  color: var(--text-light-muted);
  line-height: 1.5;
  vertical-align: top;
}

.comparison-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--text-light);
}

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

/* Specific Highlight Column */
.comparison-table th.highlight-col {
  color: var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
  background-color: rgba(255, 159, 28, 0.05);
}

.comparison-table td.highlight-col {
  color: var(--text-light);
  background-color: rgba(255, 159, 28, 0.02);
  border-right: 1.5px solid rgba(255, 159, 28, 0.15);
  border-left: 1.5px solid rgba(255, 159, 28, 0.15);
}

.comparison-table tr:hover td.highlight-col {
  background-color: rgba(255, 159, 28, 0.05);
}

/* ==================================================================
   DYNAMIC MOTION & LOADING ANIMATIONS
   ================================================================== */

/* Staggered Page-Load Entrance Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content, .hero-inner, .hero-learn-inner {
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

.benefit-col {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.benefit-col:nth-child(1) { animation-delay: 0.3s; }
.benefit-col:nth-child(2) { animation-delay: 0.5s; }
.benefit-col:nth-child(3) { animation-delay: 0.7s; }
.benefit-col:nth-child(4) { animation-delay: 0.9s; }

/* Enhanced Scroll Reveal animation with a slight scale */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Alternate Blue Section Backgrounds */
.bg-alternate-blue {
  background: linear-gradient(135deg, rgba(1, 34, 77, 0.02) 0%, rgba(1, 65, 96, 0.04) 100%) !important;
  position: relative;
  overflow: hidden;
}

/* Ambient Moving Background Blobs */
.ambient-blobs-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.08;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Set section content above blobs */
.ambient-blobs-container + .container,
.ambient-blobs-container ~ .container,
.ambient-blobs-container ~ div {
  position: relative;
  z-index: 2;
}

.ambient-blob.blob-1 {
  width: 300px;
  height: 300px;
  background-color: var(--accent-gold);
  top: 10%;
  left: 10%;
  animation: floatBlob1 25s infinite ease-in-out;
}

.ambient-blob.blob-2 {
  width: 400px;
  height: 400px;
  background-color: #014160;
  bottom: 10%;
  right: 15%;
  animation: floatBlob2 30s infinite ease-in-out;
}

@keyframes floatBlob1 {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 80px) scale(1.15); }
  66% { transform: translate(-40px, 50px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes floatBlob2 {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-80px, -60px) scale(0.9); }
  66% { transform: translate(50px, -80px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Cross-sell Background Scrolling Animation using anime_2.jpg */
.crosssell-section {
  position: relative;
  overflow: hidden;
}
.crosssell-bg-scroll {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-image: url('images/anime_2.jpg');
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
  opacity: 0.15;
  filter: brightness(0.85) contrast(1.1);
  animation: scrollBg 50s linear infinite;
}
.crosssell-section .container {
  position: relative;
  z-index: 2;
}
@keyframes scrollBg {
  0% { background-position-x: 0; }
  100% { background-position-x: -2000px; }
}

/* Product Configurations Background Scrolling Animation using anim3.jpg */
.product-category-section {
  position: relative;
  overflow: hidden;
}
.products-bg-scroll {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-image: url('images/anim3.jpg');
  background-repeat: repeat;
  background-position: center;
  background-size: 800px auto;
  opacity: 0.15;
  filter: brightness(0.8) contrast(1.2);
  animation: scrollLines 70s linear infinite;
}
.product-category-section .container {
  position: relative;
  z-index: 2;
}
@keyframes scrollLines {
  0% { background-position: 0 0; }
  100% { background-position: -800px -800px; }
}

/* Simple 4-Step Journey Background Scrolling Animation using anim4.jpg */
.process-section {
  position: relative;
  overflow: hidden;
}
.journey-bg-scroll {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-image: url('images/anim4.jpg');
  background-repeat: repeat;
  background-position: center;
  background-size: 800px auto;
  opacity: 0.15;
  filter: brightness(0.8) contrast(1.2);
  animation: scrollLinesJourney 75s linear infinite;
}
.process-section .container {
  position: relative;
  z-index: 2;
}
@keyframes scrollLinesJourney {
  0% { background-position: 0 0; }
  100% { background-position: 800px -800px; }
}

/* Lithium vs. Conventional Batteries Background Scrolling Animation using anim5.jpg */
.comparison-section {
  position: relative;
  overflow: hidden;
}
.comparison-bg-scroll {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-image: url('images/anim5.jpg');
  background-repeat: repeat;
  background-position: center;
  background-size: 800px auto;
  opacity: 0.15;
  filter: brightness(0.8) contrast(1.2);
  animation: scrollLinesComparison 80s linear infinite;
}
.comparison-section .container {
  position: relative;
  z-index: 2;
}
@keyframes scrollLinesComparison {
  0% { background-position: 0 0; }
  100% { background-position: -800px 800px; }
}

/* ==========================================================================
   MOBILE & RESPONSIVE OVERRIDES
   ========================================================================== */

@media (max-width: 768px) {
  /* 1. Mobile Hero: Hide video, instantly show static background & text */
  .desktop-video {
    display: none !important;
  }
  .mobile-video {
    display: block !important;
  }

  /* 2. Hide 'Why Choose Surin' image on mobile */
  .why-us-image-container {
    display: none !important;
  }

  /* 3. Center align headings for 'Efficiency Meets Safety' and 'Why Choose Surin' */
  .about-content-wrapper .section-tag,
  .about-content-wrapper .section-title,
  .why-us-headings .section-tag,
  .why-us-headings .section-title {
    text-align: center !important;
  }

  /* Align the text inside the feature list boxes slightly better for mobile */
  .about-content-wrapper .feat-text,
  .why-choose-us-section .feat-text {
    text-align: left; /* Keeps the actual bullet descriptions readable */
  }
}

/* 4. Adjust Benefit Bar to a 2x2 Grid on Mobile Phones */
@media (max-width: 576px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  
  /* Slightly scale down the text so it fits neatly in 2 columns */
  .benefit-name {
    font-size: 0.85rem !important;
    line-height: 1.3;
  }
}

/* ==================================================================
   SMART APP SECTION & PHONE MOCKUP (USP)
   ================================================================== */
.app-section {
  background: linear-gradient(135deg, #01122b 0%, #01224d 100%);
  position: relative;
  overflow: hidden;
}
.app-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.app-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 40px;
}
.app-usp-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.app-usp-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  cursor: pointer;
  transition: all 0.3s ease;
}
.app-usp-item:hover {
  transform: translateX(4px);
}
.app-usp-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(114, 175, 32, 0.1) 0%, rgba(114, 175, 32, 0.2) 100%);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(114, 175, 32, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.app-usp-item:hover .app-usp-icon {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #ffc066 100%);
  color: var(--primary-deep);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.12) rotate(-5deg);
  box-shadow: 0 8px 20px rgba(255, 159, 28, 0.35);
}
.app-usp-icon svg {
  width: 22px;
  height: 22px;
}
.app-usp-text h3 {
  color: var(--text-light);
  font-size: 1.25rem;
  margin-bottom: 6px;
  font-weight: 600;
}
.app-usp-text p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Phone Mockup Styling */
.phone-mockup {
  position: relative;
  width: 320px;
  height: 640px;
  margin: 0 auto;
  border-radius: 40px;
  border: 12px solid #1a1a1a;
  background: #000;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
}
.app-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 24px;
  background: #1a1a1a;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}
.phone-glow {
  position: absolute;
  inset: -15px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #00e5ff 100%);
  filter: blur(25px);
  opacity: 0.25;
  z-index: -1;
  pointer-events: none;
  animation: pulseGlow 8s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
  0% { transform: scale(0.98); opacity: 0.2; }
  100% { transform: scale(1.02); opacity: 0.35; }
}

@media (max-width: 991px) {
  .app-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .phone-mockup {
    width: 290px;
    height: 580px;
  }
}

/* Play/Pause Button Overlay Styles */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(114, 175, 32, 0.9);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  box-shadow: 0 10px 25px rgba(114, 175, 32, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #72af20;
  box-shadow: 0 12px 30px rgba(114, 175, 32, 0.6);
}
.video-play-btn svg {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease;
}
.video-play-btn:active svg {
  transform: scale(0.9);
}
.phone-screen:hover .video-play-btn {
  opacity: 1 !important;
  visibility: visible !important;
}
.video-play-btn.playing {
  opacity: 0;
  visibility: hidden;
}

/* ── LUCIDE ICON SIZING for lithium cards & solution icon boxes ── */
.lithium-benefit-icon-box i,
.lithium-benefit-icon-box svg {
  width: 24px;
  height: 24px;
}

.solution-icon-box i,
.solution-icon-box svg {
  width: 28px;
  height: 28px;
}

/* ── feat-list icon sizing (Lucide) ── */
.feat-icon-box i,
.feat-icon-box svg {
  width: 20px;
  height: 20px;
}

/* ── usp-card icon sizing ── */
.usp-card-icon i,
.usp-card-icon svg {
  width: 20px;
  height: 20px;
}

/* ── Staggered reveal transition delays ── */
.reveal-d1 { transition-delay: 0.06s; }
.reveal-d2 { transition-delay: 0.13s; }
.reveal-d3 { transition-delay: 0.20s; }
.reveal-d4 { transition-delay: 0.27s; }
.reveal-d5 { transition-delay: 0.34s; }
.reveal-d6 { transition-delay: 0.41s; }