/*
 * Core Design System & Theme Settings
 * Modern premium tech theme with dark space and clean light transitions
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --bg-dark-primary: #050b14;
  --bg-dark-secondary: #0b1325;
  --bg-dark-tertiary: #111d35;
  --bg-light-primary: #ffffff;
  --bg-light-secondary: #f4f6f9;
  --bg-light-tertiary: #e9ecef;
  
  --accent-cyan: #00f0ff;
  --accent-blue: #0066cc;
  --accent-blue-neon: #00bcff;
  --accent-green: #64bc26;
  --accent-green-dark: #3a7511;
  --text-dark-primary: #ffffff;
  --text-dark-secondary: #a0aec0;
  --text-dark-muted: #718096;
  --text-light-primary: #1a202c;
  --text-light-secondary: #4a5568;
  --text-light-muted: #718096;
  
  /* Fonts */
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Spacing */
  --container-width: 1200px;
  
  /* Translucent/Glass effects */
  --glass-bg: rgba(11, 19, 37, 0.75);
  --glass-border: rgba(0, 240, 255, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --glass-blur: blur(12px);

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

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

button, input, textarea, select {
  font-family: inherit;
}

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

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.5px;
  position: relative;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-blue {
  background: linear-gradient(135deg, var(--accent-blue-neon) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Common Layout Components */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header/Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.5rem;
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-dark-secondary);
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link:hover {
  color: var(--text-dark-primary);
}

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

/* Caret Dropdown indicator styles */
.nav-link.has-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link.has-dropdown::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--text-dark-secondary);
  transition: transform 0.3s ease;
}

.nav-item:hover .nav-link.has-dropdown::after {
  transform: rotate(180deg);
  border-top-color: var(--accent-cyan);
}

/* Centered Dropdown Menu list */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--bg-dark-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--accent-cyan);
  border-radius: 8px;
  min-width: 300px;
  padding: 0.75rem 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 1050;
  display: flex;
  flex-direction: column;
}

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

.dropdown-link {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark-secondary);
  padding: 0.75rem 1.5rem;
  transition: var(--transition-fast);
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.dropdown-link:last-child {
  border-bottom: none;
}

.dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--accent-cyan);
  padding-left: 1.8rem;
}

.btn-header-cta {
  background-color: var(--accent-green);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(100, 188, 38, 0.3);
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.btn-header-cta:hover {
  background-color: var(--accent-green-dark);
  box-shadow: 0 6px 20px rgba(100, 188, 38, 0.5);
  transform: translateY(-2px);
}

/* Hamburger mobile menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 3px;
  transition: var(--transition-smooth);
}

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

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

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

/* SECTION 1: Hero Section (BDN style with Traffic Light Trails) */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(to bottom, rgba(5, 11, 20, 0.4), rgba(5, 11, 20, 0.95)), url('img/city_night_hero.png');
  background-size: cover;
  background-position: center;
  padding-top: 100px;
  overflow: hidden;
  z-index: 1;
}

/* Canvas Overlay for Highway Light Trails */
#traffic-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  opacity: 0.85;
}

/* Interactive Model Visualizer Controls */
.model-visualizer-control {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
  padding: 0.4rem;
  background-color: rgba(5, 11, 20, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  width: fit-content;
  animation: fadeInUp 1.2s ease forwards;
}

.visualizer-label {
  font-size: 0.75rem;
  color: var(--text-dark-secondary);
  padding-left: 1.2rem;
  padding-right: 0.4rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.visualizer-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.55rem 1.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  letter-spacing: 0.5px;
  outline: none;
}

.visualizer-btn:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.06);
}

.visualizer-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-cyan), #00b0ff);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.35);
}

/* On mobile, stack them */
@media (max-width: 768px) {
  .model-visualizer-control {
    flex-direction: column;
    align-items: stretch;
    border-radius: 14px;
    padding: 0.8rem;
    width: 100%;
    gap: 0.5rem;
  }
  .visualizer-label {
    padding-left: 0.5rem;
    padding-top: 0.3rem;
    margin-bottom: 0.3rem;
  }
  .visualizer-btn {
    width: 100%;
    text-align: left;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
  }
}

.hero-container {
  width: 100%;
  max-width: var(--container-width);
  padding: 0 2rem;
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 750px;
  margin-top: 2rem;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease forwards;
}

.hero-title span {
  display: block;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-dark-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  animation: fadeInUp 1.2s ease forwards;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff;
  border: 2px solid var(--accent-cyan);
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
  animation: fadeInUp 1.4s ease forwards;
}

.btn-hero:hover {
  background: var(--accent-cyan);
  color: var(--bg-dark-primary);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
  transform: translateY(-3px);
}

.btn-hero .arrow-icon {
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.btn-hero:hover .arrow-icon {
  transform: translateX(4px);
}

/* Three Hero Floating Boxes */
.hero-features-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: var(--container-width);
  margin: 5rem auto 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 3;
}

.hero-feature-box {
  background: rgba(11, 19, 37, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 3px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.hero-feature-box:hover {
  transform: translateY(-5px);
  border-bottom-color: var(--accent-cyan);
  background: rgba(11, 19, 37, 0.85);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.feature-box-icon {
  font-size: 2.2rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.feature-box-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.feature-box-link {
  font-size: 0.85rem;
  color: var(--text-dark-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-feature-box:hover .feature-box-link {
  color: var(--accent-cyan);
}

/* SECTION 2: Philosophy Section (BDN style) */
.philosophy-section {
  padding: 8rem 0;
  background-color: var(--bg-dark-primary);
  text-align: center;
  position: relative;
}

.philosophy-subtitle {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: var(--accent-blue-neon);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.philosophy-title {
  font-size: 2.5rem;
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto 2rem auto;
  line-height: 1.2;
}

.philosophy-desc {
  font-size: 1.1rem;
  color: var(--text-dark-secondary);
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.btn-learn {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: var(--transition-fast);
}

.btn-learn:hover {
  background: #fff;
  color: var(--bg-dark-primary);
  transform: translateY(-2px);
}

/* SECTION 3: emPOWER Your Business / Service Grid (BDN style) */
.empower-section {
  padding: 8rem 0;
  background: radial-gradient(circle at 70% 30%, rgba(15, 28, 63, 0.3) 0%, var(--bg-dark-primary) 70%);
}

.empower-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.empower-text {
  padding-right: 2rem;
}

.empower-text h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.empower-text p {
  color: var(--text-dark-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

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

.service-card {
  position: relative;
  background: linear-gradient(135deg, rgba(11, 19, 37, 0.85) 0%, rgba(15, 28, 63, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 3rem 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 250px;
  transition: var(--transition-smooth);
}

/* Hologram streaks in card backgrounds */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 240, 255, 0.15);
}

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

.service-icon {
  font-size: 3rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  transform: scale(1.15);
  color: #fff;
  text-shadow: 0 0 15px var(--accent-cyan);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.service-link {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-blue-neon);
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.service-card:hover .service-link {
  color: var(--accent-cyan);
}

/* SECTION 4: Carousel & Side Cards (BDN style, Dark theme) */
.carousel-section {
  padding: 8rem 0;
  background-color: #030811;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.carousel-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

/* Slider Container */
.slider-container {
  position: relative;
  background: var(--bg-dark-secondary);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.slider-wrapper {
  position: relative;
  height: 480px;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4rem 3rem;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(3, 8, 17, 0.95) 20%, rgba(3, 8, 17, 0.4) 60%, transparent 100%);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.slide-category {
  display: inline-block;
  background-color: var(--accent-green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.slide-title {
  font-size: 2.2rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.slide-desc {
  color: var(--text-dark-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.btn-slide {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.btn-slide:hover {
  background-color: #fff;
  color: var(--bg-dark-primary);
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent-green);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: var(--transition-fast);
}

.slider-arrow:hover {
  background-color: var(--accent-green-dark);
  transform: translateY(-50%) scale(1.05);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

/* Slider dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background-color: var(--bg-dark-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background-color: var(--accent-green);
  width: 25px;
  border-radius: 5px;
}

/* Side Featured Cards */
.side-cards-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.side-card {
  flex: 1;
  background: var(--bg-dark-secondary);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.side-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(100, 188, 38, 0.05));
  pointer-events: none;
}

.side-card:hover {
  transform: translateY(-5px);
  border-color: rgba(100, 188, 38, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.side-card-tag {
  color: var(--accent-green);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.side-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.side-card-desc {
  color: var(--text-dark-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.side-card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: auto;
}

.side-card:hover .side-card-link {
  text-decoration: underline;
}

/* Green Info/Search Bar */
.green-info-bar {
  background: linear-gradient(135deg, var(--accent-green-dark) 0%, var(--accent-green) 100%);
  padding: 2rem 0;
  color: #fff;
  border-bottom: 3px solid #3d7a12;
}

.info-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.info-bar-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.info-bar-search {
  position: relative;
  max-width: 450px;
  width: 100%;
}

.info-bar-search input {
  width: 100%;
  padding: 0.9rem 1.5rem;
  padding-right: 3.5rem;
  border-radius: 50px;
  border: none;
  background-color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  color: var(--text-light-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-bar-search input:focus {
  outline: none;
  background-color: #fff;
}

.search-submit-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--accent-green-dark);
  cursor: pointer;
}

/* Logo Scroller (Farmers, Mitre 10, Briscoes, Foodstuffs) */
.partners-scroller {
  background-color: #fff;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--bg-light-tertiary);
}

.scroller-title {
  text-align: center;
  color: var(--text-light-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.logo-strip {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  opacity: 0.85;
}

.logo-item {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #c5cdd6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logo-item.farmers { font-size: 2.1rem; font-weight: 900; color: #1e3a8a; }
.logo-item.foodstuffs { font-size: 1.8rem; color: #dc2626; display: flex; align-items: center; }
.logo-item.foodstuffs span { font-weight: 400; font-size: 1rem; margin-left: 5px; }
.logo-item.briscoes { color: #0f172a; font-weight: 900; }
.logo-item.mitre { color: #f97316; font-weight: 800; }

/* SECTION 5: Inspiring Better Business (BDN style, light bg) */
.inspiring-section {
  padding: 8rem 0;
  background-color: #fff;
  color: var(--text-light-primary);
  background-image: radial-gradient(rgba(0, 102, 204, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

.inspiring-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Overlapping Tiled Photo Composition */
.tiled-photo-gallery {
  position: relative;
  height: 480px;
}

.tile {
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border: 4px solid #fff;
  transition: var(--transition-smooth);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-1 {
  width: 320px;
  height: 220px;
  top: 0;
  left: 50px;
  z-index: 2;
}

.tile-2 {
  width: 200px;
  height: 200px;
  top: 150px;
  left: 0px;
  z-index: 3;
}

.tile-3 {
  width: 300px;
  height: 200px;
  bottom: 0;
  left: 140px;
  z-index: 1;
}

.tile:hover {
  transform: scale(1.05) translateY(-5px);
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.inspiring-content h2 {
  font-size: 2.8rem;
  color: #030811;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.inspiring-content p {
  color: var(--text-light-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.inspiring-features {
  list-style: none;
}

.inspiring-features li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.inspiring-features li i {
  color: var(--accent-green);
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Blue Stats Bar */
.stats-bar {
  background-color: var(--bg-dark-secondary);
  color: #fff;
  padding: 4rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dark-secondary);
}

/* SECTION 6: Testimonial Section (BDN style, gradient card) */
.testimonial-section {
  padding: 8rem 0;
  background-color: #fff;
  color: var(--text-light-primary);
}

.testimonial-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.testimonial-card {
  display: flex;
  background: linear-gradient(135deg, #16243d 0%, #0c1527 100%);
  color: #fff;
  border-radius: 16px;
  padding: 3rem;
  gap: 3rem;
  align-items: center;
  position: relative;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 240, 255, 0.15);
}

.testimonial-content {
  flex: 1;
}

.testimonial-icon-quote {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 4rem;
  color: rgba(100, 188, 38, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-author {
  color: var(--accent-green);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.testimonial-author-title {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-dark-secondary);
}

/* Client badge circle on the right side of card */
.client-badge-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.client-badge-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: #030811;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: 0 0 20px rgba(100, 188, 38, 0.3);
}

.client-badge-circle.farmers {
  border-color: var(--accent-green);
  color: #1e3a8a;
}

.client-badge-circle.foodstuffs {
  border-color: var(--accent-cyan);
  color: #dc2626;
}

/* SECTION 7: Story / Grid Cards (BDN style, light bg grid) */
.story-section {
  padding: 8rem 0;
  background-color: var(--bg-light-secondary);
  color: var(--text-light-primary);
  border-top: 1px solid var(--bg-light-tertiary);
  border-bottom: 1px solid var(--bg-light-tertiary);
}

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

.story-card {
  background-color: #fff;
  border-radius: 12px;
  border: 1px solid var(--bg-light-tertiary);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.story-card-img-wrapper {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.story-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.story-card:hover .story-card-img {
  transform: scale(1.08);
}

.story-card-body {
  padding: 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.story-card-title {
  font-size: 1.5rem;
  color: #030811;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.story-card-text {
  color: var(--text-light-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* SECTION 8: Partnership & Award Logos Grid (BDN style) */
.partnerships-section {
  padding: 6rem 0;
  background-color: #fff;
  color: var(--text-light-primary);
  text-align: center;
  border-bottom: 1px solid var(--bg-light-tertiary);
}

.partnerships-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--accent-blue);
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.partnerships-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin: 3rem auto;
  align-items: center;
}

.partner-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #94a3b8;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: #fff;
  transition: var(--transition-fast);
}

.partner-logo:hover {
  color: var(--accent-blue);
  border-color: var(--accent-blue-neon);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
  transform: translateY(-3px);
}

/* SECTION 9: Sealy Case Study Banner (BDN style) */
.case-study-banner {
  background-image: linear-gradient(to right, rgba(11, 19, 37, 0.95) 40%, rgba(11, 19, 37, 0.6) 100%), url('img/truck_blue.png');
  background-size: cover;
  background-position: center;
  padding: 8rem 0;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.banner-content {
  max-width: 650px;
}

.banner-quote {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 2rem;
  font-style: italic;
  color: #f1f5f9;
}

.banner-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2rem;
}

.btn-banner {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: var(--transition-fast);
}

.btn-banner:hover {
  background-color: #fff;
  color: var(--bg-dark-primary);
  transform: translateY(-2px);
}

/* SECTION 10: Latest News Section (BDN style) */
.news-section {
  padding: 8rem 0;
  background-color: var(--bg-dark-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.news-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
}

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

.news-card {
  background: var(--bg-dark-secondary);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 188, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 188, 255, 0.15);
}

.news-card-img-wrapper {
  height: 200px;
  position: relative;
}

.news-card-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--bg-dark-secondary) 10%, transparent 100%);
}

.news-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-tag {
  color: var(--accent-blue-neon);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

.news-card-title {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.news-card-link {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
}

.news-card:hover .news-card-link {
  color: var(--accent-cyan);
}

.news-card-link i {
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.news-card:hover .news-card-link i {
  transform: translateX(4px);
}

/* SECTION 11: Contact Form Section (BDN style) */
.contact-section {
  padding: 8rem 0;
  background-color: #030811;
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: linear-gradient(135deg, rgba(11, 19, 37, 0.9) 0%, rgba(5, 11, 20, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.contact-form-side {
  padding: 4rem;
}

.contact-form-side h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-form-side p {
  color: var(--text-dark-secondary);
  margin-bottom: 2.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark-secondary);
}

.form-group input, .form-group textarea {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 0.85rem 1.2rem;
  color: #fff;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.btn-submit {
  background-color: var(--accent-green);
  color: #fff;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(100, 188, 38, 0.3);
  transition: var(--transition-fast);
}

.btn-submit:hover {
  background-color: var(--accent-green-dark);
  box-shadow: 0 6px 20px rgba(100, 188, 38, 0.5);
  transform: translateY(-2px);
}

.contact-image-side {
  background-image: linear-gradient(to left, rgba(3, 8, 17, 0.2), rgba(11, 19, 37, 0.85)), url('img/contact_city.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Footer Section */
.footer {
  background-color: #030811;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 0 2rem 0;
  color: var(--text-dark-secondary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1.5rem;
  line-height: 1.6;
}

.footer-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 5px;
}

.footer-social-icons {
  display: flex;
  gap: 1rem;
}

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

.social-icon:hover {
  background-color: var(--accent-cyan);
  color: var(--bg-dark-primary);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright {
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: var(--accent-cyan);
}

/* Animations Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Grid/Styles adjustments */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .empower-grid, .carousel-grid, .inspiring-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .tiled-photo-gallery {
    max-width: 500px;
    margin: 0 auto;
    height: 400px;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  .header-container {
    height: 70px;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark-secondary);
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-menu.active {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-features-strip {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
  }
  .service-card-grid {
    grid-template-columns: 1fr;
  }
  .story-grid, .news-grid, .partnerships-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .stat-item::after {
    display: none;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 2rem;
    text-align: center;
  }
  .contact-form-side {
    padding: 2rem;
  }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-image-side {
    height: 250px;
  }
}

/* ==========================================
   Antigravity Premium Layout Enhancements
   ========================================== */

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Card Glow and Hover Enhancements */
.glow-card {
  position: relative;
  transition: var(--transition-smooth);
}
.glow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(0, 240, 255, 0.3), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.glow-card:hover::before {
  opacity: 1;
}
.glow-card:hover {
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
  transform: translateY(-5px);
}

/* Quotation intake & workflow layout */
.quote-container {
  background: var(--bg-dark-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 3rem;
  margin-top: 3rem;
  box-shadow: var(--glass-shadow);
}
.quote-workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.workflow-step {
  background: var(--bg-dark-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  transition: var(--transition-smooth);
}
.workflow-step:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-5px);
}
.workflow-num {
  font-size: 2.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent-cyan);
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}
.workflow-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #fff;
  font-weight: 600;
}
.workflow-desc {
  font-size: 0.9rem;
  color: var(--text-dark-secondary);
  line-height: 1.5;
}

/* Project Gallery layout */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}
.gallery-img-wrapper {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  height: 300px;
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-img-wrapper:hover .gallery-img {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .quote-workflow {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .quote-workflow {
    grid-template-columns: 1fr;
  }
  .project-gallery {
    grid-template-columns: 1fr;
  }
  .gallery-img-wrapper {
    height: 220px;
  }
}

