/* BASE & VARIABLES */
:root {
  --brand-blue: #082863;
  --brand-orange: #dea230;
  --bg-dark: #040c1c;
  --bg-card: rgba(8, 40, 99, 0.15);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glow-orange: rgba(222, 162, 48, 0.4);
  --glow-blue: rgba(8, 40, 99, 0.8);
  --glass-border: rgba(255, 255, 255, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* 0. NAVBAR & MOBILE MENU */
#navbar-section {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--text-main);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}
#navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

#navbar-logo {
  height: 40px; /* Adjust this up or down depending on your specific logo's whitespace */
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

#navbar-brand:hover #navbar-logo {
  transform: scale(1.05); /* Adds a subtle, modern hover effect to the logo */
}

#navbar-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.navbar-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand-blue);
  transition: color 0.3s;
  position: relative;
}
.navbar-link:hover,
.navbar-link.active {
  color: var(--brand-orange);
}
.navbar-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-orange);
  box-shadow: 0 0 10px var(--glow-orange);
}
#navbar-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Menu */
#mobile-menu-section {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #020817;
  border-left: 1px solid rgba(222, 162, 48, 0.2);
  z-index: 1002;
  padding: 4rem 2rem;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobile-menu-section.open {
  right: 0;
}
#mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--brand-orange);
  font-size: 1.5rem;
  cursor: pointer;
}
#mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}
.mobile-link.active {
  color: var(--brand-orange);
}
#mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
#mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* 1. HERO SECTION */
/* #hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem 2rem;
  overflow: hidden;
}

#hero-section-bg {
  position: absolute;
  inset: 0;
  background: url("https://picsum.photos/id/249/1920/1080") center/cover
    no-repeat;
  filter: grayscale(40%);
}
#hero-section-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4, 12, 28, 0.95) 10%,
    rgba(8, 40, 99, 0.85) 100%
  );
}
#hero-section-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
#hero-section-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid var(--brand-orange);
  color: var(--brand-orange);
  font-size: 0.75rem;
  letter-spacing: 2px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  background: rgba(222, 162, 48, 0.1);
  box-shadow: 0 0 15px rgba(222, 162, 48, 0.2);
}
#hero-section-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
#hero-section-title span {
  color: transparent;
  -webkit-text-stroke: 1px var(--brand-orange);
  text-shadow: 0 0 20px rgba(222, 162, 48, 0.3);
}
#hero-section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-inline: auto;
}
#hero-section-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 4rem;
}
.hero-btn {
  padding: 1rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-btn-primary {
  background: var(--brand-orange);
  color: var(--bg-dark);
  box-shadow: 0 0 20px var(--glow-orange);
}
.hero-btn-primary:hover {
  box-shadow: 0 0 35px var(--glow-orange);
  transform: translateY(-2px);
}
.hero-btn-secondary {
  background: rgba(8, 40, 99, 0.3);
  border: 1px solid var(--brand-blue);
  color: var(--text-main);
  backdrop-filter: blur(5px);
}
.hero-btn-secondary:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

#hero-section-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
}
.hero-stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
}
.hero-stat-icon {
  font-size: 1.8rem;
  color: var(--brand-orange);
  text-shadow: 0 0 10px var(--glow-orange);
}
.hero-stat-info {
  text-align: left;
}
.hero-stat-info h3 {
  font-size: 1.2rem;
  font-weight: 800;
}
.hero-stat-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
} */

/* 1. LIGHT FUTURISTIC HERO SECTION */
#hero-section.hero-light-mode {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 5vw 4rem 5vw;
  overflow: hidden;
  background-color: #f4f7fb; /* Crisp, clean light tech background */
  color: var(--brand-blue); /* Forces dark text on the light background */
  z-index: 1;
}

/* Technical Grid Pattern Background */
#hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8, 40, 99, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 40, 99, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: -2;
}

/* Floating Glowing Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.6;
  animation: floatOrb 10s infinite alternate ease-in-out;
}
.hero-orb-blue {
  width: 400px;
  height: 400px;
  background: rgba(8, 40, 99, 0.2);
  top: -100px;
  right: -50px;
}
.hero-orb-orange {
  width: 300px;
  height: 300px;
  background: rgba(222, 162, 48, 0.2);
  bottom: 10%;
  left: -100px;
  animation-delay: -5s;
}

@keyframes floatOrb {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(30px) scale(1.1);
  }
}

/* Hero Layout Container */
#hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* --- LEFT COLUMN: TEXT --- */
#hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.5rem 1.2rem;
  background: rgba(8, 40, 99, 0.05);
  border: 1px solid rgba(8, 40, 99, 0.1);
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  border-radius: 50px;
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
}
.hero-badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--brand-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-orange);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(222, 162, 48, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(222, 162, 48, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(222, 162, 48, 0);
  }
}

#hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #0f172a;
}
#hero-title span {
  color: var(--brand-orange);
}

#hero-subtitle {
  font-size: 1.1rem;
  color: #475569; /* Darker slate for readability on light */
  margin-bottom: 2.5rem;
  max-width: 90%;
  line-height: 1.7;
}

#hero-actions {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.hero-btn-solid {
  background: var(--brand-blue);
  color: #ffffff;
  padding: 1rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(8, 40, 99, 0.2);
}
@media (max-width: 768px) {
  .hero-btn-solid,
  .hero-btn-outline {
    font-size: 0.85rem;
    padding: 0.8rem 1.5rem;
    width: 80vw;
  }
}

.hero-btn-solid:hover {
  background: var(--brand-orange);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(222, 162, 48, 0.3);
}

.hero-btn-outline {
  background: transparent;
  border: 1px solid rgba(8, 40, 99, 0.2);
  color: var(--brand-blue);
  padding: 1rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-btn-outline:hover {
  background: rgba(8, 40, 99, 0.05);
  border-color: var(--brand-blue);
}

#hero-trust-indicators p {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.hero-trust-tags span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-blue);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  border: 1px solid rgba(8, 40, 99, 0.1);
  backdrop-filter: blur(4px);
}

/* --- RIGHT COLUMN: VISUALS --- */
#hero-visual-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5rem;
}

#hero-image-pod {
  position: relative;
  border-radius: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(8, 40, 99, 0.08);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
  animation: hoverFloat 6s infinite ease-in-out;
}
#hero-image-pod:hover {
  transform: perspective(1000px) rotateY(0deg);
}

#hero-main-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Light Glassmorphism Stat Cards */
.hero-glass-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 1);
  border-bottom: 2px solid var(--brand-orange);
  padding: 1.2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 15px 35px rgba(8, 40, 99, 0.1);
  z-index: 3;
  animation: hoverFloat 6s infinite ease-in-out reverse;
}

.float-stat-1 {
  bottom: -20px;
  left: -40px;
}

.float-stat-2 {
  top: -20px;
  right: -20px;
  animation-delay: -3s;
}

.hero-stat-icon-wrap {
  width: 45px;
  height: 45px;
  background: rgba(222, 162, 48, 0.15);
  color: var(--brand-orange);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  font-size: 1.2rem;
}

.hero-stat-text h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
}

.hero-stat-text p {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.2rem;
}

@keyframes hoverFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Smooth Fade into Dark Mode */
#hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  /* Melts the light background (#f4f7fb) seamlessly into your dark site background (#040c1c) */
  background: linear-gradient(
    to bottom,
    rgba(4, 12, 28, 0) 0%,
    var(--bg-dark) 100%
  );
  z-index: 4;
  pointer-events: none;
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 992px) {
  #hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  #hero-subtitle {
    margin: 0 auto 2.5rem auto;
  }

  #hero-actions {
    justify-content: center;
  }

  #hero-trust-indicators {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #hero-trust-tags {
    justify-content: center;
  }

  #hero-visual-content {
    margin-top: 3rem;
  }

  .float-stat-1 {
    left: 10px;
    bottom: -10px;
  }
  .float-stat-2 {
    right: 10px;
    top: -10px;
  }
}

@media (max-width: 767px) {
  #hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .float-stat-1,
  .float-stat-2 {
    position: relative;
    inset: auto;
    margin: 1rem auto;
    width: 100%;
    max-width: 300px;
    transform: none;
    animation: none;
  }
  #hero-visual-content {
    position: relative;
    display: block;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
  }
  #hero-container {
    gap: 0;
    margin-bottom: 1rem;
  }
}

/* 2. ABOUT US SECTION */
#about-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
#about-section-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
#about-section-label {
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
#about-section-heading {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
#about-section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}
#about-section-image-wrapper {
  position: relative;
  border-radius: 8px;
}
#about-section-img {
  width: 100%;
  border-radius: 4px;
  position: relative;
  z-index: 2;
  filter: grayscale(40%) contrast(120%);
}
#about-section-glow {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: var(--brand-blue);
  border-radius: 4px;
  z-index: 1;
  opacity: 0.5;
  filter: blur(40px);
}

/* 3. SERVICES SECTION */
#services-section {
  padding: 6rem 2rem;
  background: #030a17;
}
#services-section-header {
  text-align: center;
  margin-bottom: 4rem;
}
#services-section-label {
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}
#services-section-heading {
  font-size: 2.5rem;
  margin-top: 0.5rem;
}
#services-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.services-section-card {
  background: var(--bg-card);
  border: 1px solid rgba(8, 40, 99, 0.4);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}
.services-section-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-orange);
  box-shadow: 0 10px 30px rgba(222, 162, 48, 0.15);
}
.services-section-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.services-section-card:hover .services-section-card-img {
  opacity: 1;
}
.services-section-card-content {
  padding: 1.5rem;
}
.services-section-card-icon {
  font-size: 1.5rem;
  color: var(--brand-orange);
  margin-bottom: 1rem;
}
.services-section-card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.services-section-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 4. FUTURISTIC CTA */
.combined {
  position: relative;
}

#cta-section {
  padding: 4rem 2rem 2rem 2rem;
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background: #020817;
}
#cta-section-orb-1,
#cta-section-orb-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
}
#cta-section-orb-1 {
  background: var(--brand-orange);
  top: -100px;
  left: 10%;
  opacity: 0.3;
}
#cta-section-orb-2 {
  background: var(--brand-blue);
  bottom: 50%;
  right: 50%;
  opacity: 0.5;
}
#cta-section-box {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  padding: 2px; /* For gradient border effect */
  background: linear-gradient(
    45deg,
    rgba(8, 40, 99, 0.8),
    rgba(222, 162, 48, 0.5)
  );
  border-radius: 12px;
}
#cta-section-glass {
  background: rgba(4, 12, 28, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 10px;
  padding: 4rem 2rem;
  text-align: center;
}
.cta-section-icon {
  font-size: 3rem;
  color: var(--brand-orange);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px var(--glow-orange);
}
#cta-section-title {
  font-size: 2rem;
  line-height: 2.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
#cta-section-desc {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
  max-width: 600px;
  margin-inline: auto;
}
#cta-section-btn {
  background: transparent;
  border: 1px solid var(--brand-orange);
  color: var(--brand-orange);
  padding: 1rem 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: inset 0 0 10px rgba(222, 162, 48, 0.1);
}
#cta-section-btn:hover {
  background: var(--brand-orange);
  color: var(--bg-dark);
  box-shadow: 0 0 30px var(--glow-orange);
}

/* 5. ULTRA-MODERN TESTIMONIALS */
/* 5. ULTRA-MODERN TESTIMONIALS WITH MOTION */
#testimonials-section {
  position: relative;
  padding: 12rem 0 10rem 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #020817;
}

#testimonials-content {
  width: 100%;
  max-width: 1200px;
  z-index: 2;
  text-align: center;
}

#testimonials-content .caption {
  width: 60vw;
  margin: auto;
  color: var(--text-muted);
}

#testimonials-section-header {
  margin-bottom: 4rem;
}
#testimonials-section-label {
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}
#testimonials-section-heading {
  font-size: 2.2rem;
  /* margin-top: 0.5rem; */
}

/* Sleek Digital Ticker Tapes */
.modern-tape {
  position: absolute;
  width: 110vw;
  left: -5vw;
  height: 3.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 3;
}

.tape-top {
  top: 4rem;
  transform: rotate(-2deg);
  background: var(--brand-blue);
  color: var(--brand-orange);
  border-top: 1px solid rgba(222, 162, 48, 0.3);
  border-bottom: 1px solid rgba(222, 162, 48, 0.3);
  box-shadow: 0 0 20px rgba(8, 40, 99, 0.8);
}

.tape-bottom {
  bottom: 4rem;
  transform: rotate(2deg);
  background: var(--brand-orange);
  color: var(--brand-blue);
  border-top: 1px solid rgba(8, 40, 99, 0.5);
  border-bottom: 1px solid rgba(8, 40, 99, 0.5);
  box-shadow: 0 0 20px rgba(222, 162, 48, 0.4);
}

.tape-track-left,
.tape-track-right {
  display: flex;
  width: max-content;
  white-space: nowrap;
}

/* Ticker Animations */
.tape-track-left {
  animation: scrollTapeLeft 30s linear infinite;
}
.tape-track-right {
  animation: scrollTapeRight 30s linear infinite;
}
.tape-track-left span,
.tape-track-right span {
  padding: 0 2rem;
}

@keyframes scrollTapeLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.33%);
  } /* Adjusted for 3 spans */
}
@keyframes scrollTapeRight {
  0% {
    transform: translateX(-33.33%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Infinite Scrolling Marquee for Cards */
#testimonials-marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

#testimonials-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scrollTestimonials 45s linear infinite;
}

/* #testimonials-track:hover {
  animation-play-state: paused;
} */

@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 1rem));
  }
}

/* Minimal & Professional Testimonial Cards */
/* Update your existing .test-card rule with this */
.test-card {
  width: 380px;
  max-width: 85vw; /* Prevents overflow on very small phones */
  flex-shrink: 0; /* Forces them to stay in a row */
  text-align: left;
  background: linear-gradient(
    145deg,
    rgba(8, 40, 99, 0.15),
    rgba(4, 12, 28, 0.6)
  );
  border: 1px solid rgba(8, 40, 99, 0.4);
  border-top: 1px solid rgba(222, 162, 48, 0.3);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  position: relative;
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
  cursor: grab;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
}

.test-card:active {
  cursor: grabbing;
}

.test-card:hover {
  border-color: rgba(222, 162, 48, 0.5);
  background: linear-gradient(
    145deg,
    rgba(8, 40, 99, 0.25),
    rgba(4, 12, 28, 0.8)
  );
  transform: translateY(-5px);
  box-shadow:
    0 15px 35px rgba(4, 12, 28, 0.8),
    0 0 15px rgba(222, 162, 48, 0.05);
}

/* Large faded quote icon in the background */
.test-card-bg-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 4rem;
  color: rgba(8, 40, 99, 0.4);
  z-index: 0;
  transition: color 0.4s;
}

.test-card:hover .test-card-bg-icon {
  color: rgba(222, 162, 48, 0.1);
}

.test-card-body {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  font-weight: 300;
}

.test-card-bottom {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.test-card-icon-wrap {
  width: 35px;
  height: 35px;
  background: rgba(8, 40, 99, 0.5);
  color: var(--brand-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.test-card-meta h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.test-card-meta span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 6. MODERN FOOTER */
#footer-section {
  background: #020817;
  padding: 2rem;
  /* padding: 5rem 2rem 2rem 2rem; */
  /* border-top: 1px solid rgba(8, 40, 99, 0.5); */
}
#footer-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 4rem auto;
}
.footer-section-brand-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.footer-section-logo {
  height: 50px; /* Slightly larger than the navbar logo for better footer presence */
  width: auto;
  object-fit: contain;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.footer-section-brand-link:hover .footer-section-logo {
  opacity: 0.9;
  transform: scale(1.02);
}
.footer-section-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.footer-section-socials {
  display: flex;
  gap: 1rem;
}
.footer-section-social {
  color: var(--brand-orange);
  border: 1px solid rgba(222, 162, 48, 0.3);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}
.footer-section-social:hover {
  background: var(--brand-orange);
  color: var(--bg-dark);
  box-shadow: 0 0 15px var(--glow-orange);
}
.footer-section-heading {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}
.footer-section-list {
  list-style: none;
}
.footer-section-list-item {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-section-list-item i {
  color: var(--brand-orange);
}
.footer-section-list-item a:hover {
  color: var(--brand-orange);
}

#footer-section-form {
  display: flex;
  border: 1px solid rgba(8, 40, 99, 0.8);
  border-radius: 4px;
  overflow: hidden;
}
#footer-section-input {
  background: transparent;
  border: none;
  padding: 0.8rem;
  color: white;
  width: 100%;
  outline: none;
  font-size: 0.85rem;
}
#footer-section-submit {
  background: var(--brand-blue);
  border: none;
  color: white;
  padding: 0 1.2rem;
  cursor: pointer;
  transition: background 0.3s;
}
#footer-section-submit:hover {
  background: var(--brand-orange);
}
#footer-section-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(148, 163, 184, 0.5);
  font-size: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 767px) {
  #navbar-links {
    display: none;
  }
  #navbar-hamburger {
    display: block;
  }
  #about-section-container {
    grid-template-columns: 1fr;
  }
  #hero-section-actions {
    flex-direction: column;
  }
  .hero-stat-card {
    width: 100%;
    justify-content: center;
  }

  /* NEW MOBILE FIXES FOR TESTIMONIALS */
  #testimonials-section {
    padding: 10rem 0 6rem 0;
  }
  #testimonials-content .caption {
    width: 80vw;
  }
  #testimonials-section-header {
    margin-bottom: 4rem;
    width: 80vw;
    margin: 0 auto;
  }
  #testimonials-section-heading {
    font-size: 2.2rem;
    line-height: 2.1rem;
    margin: 0.5rem auto 1rem auto;
    /* margin-top: 0.5rem; */
  }

  .tape-top {
    top: 2rem;
  }
  .tape-bottom {
    bottom: 2rem;
  }

  /* Ensure cards stay horizontal and just slightly smaller */
  .test-card {
    width: 320px; /* Slightly smaller fixed width for mobile */
    padding: 1.5rem; /* Less padding to fit text better */
    min-height: 240px;
  }
}
