/* ============================================
   MAIN STYLES
   L'ÉQUIPE Football Agency
   ============================================ */

/* ============================================
   GLOBAL RESET & BASE
   ============================================ */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: #061625;
}

body {
  overflow-x: hidden;
  background-color: #061625;
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  position: relative;
  background: linear-gradient(
      135deg,
      rgba(6, 22, 37, 0.72) 0%,
      rgba(5, 16, 24, 0.58) 40%,
      rgba(5, 16, 24, 0.58) 60%,
      rgba(6, 22, 37, 0.72) 100%
    ),
    url("../img/background/background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
  /* Let content determine height, but suggest full viewport */
  min-height: 100vh;
  min-height: 100dvh;
  /* CRITICAL: Fixed navbar is ~70-80px, add safe buffer */
  padding-top: 100px;
  padding-bottom: 3rem;
}

.hero-section .container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.hero-section .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

/* Desktop - Two columns side by side */
@media (min-width: 992px) {
  .hero-section {
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-section .row {
    width: 100%;
    align-items: center;
  }

  .pitch-lines {
    opacity: 0.25;
  }
}

/* Tablet - Stack vertically, center content */
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 2.5rem;
  }

  .hero-section .row {
    text-align: center;
    flex-direction: column;
    gap: 2rem;
  }

  .hero-section .hero-cta-split {
    justify-content: center;
  }

  .pitch-lines {
    opacity: 0.18;
  }
}

/* Medium screens with medium height (576-991px width, ≤900px height) */
@media (min-width: 576px) and (max-width: 991.98px) and (max-height: 900px) {
  .hero-section {
    padding-top: 115px !important;
    padding-bottom: 2rem;
  }

  .hero-section .row {
    gap: 1.5rem;
  }
}

/* Medium screens with short height (576-991px width, ≤800px height) */
@media (min-width: 576px) and (max-width: 991.98px) and (max-height: 800px) {
  .hero-section {
    padding-top: 120px !important;
    padding-bottom: 1.5rem;
  }

  .hero-section .row {
    gap: 1.25rem;
  }
}

/* Medium screens with very short height (576-991px width, ≤700px height) */
@media (min-width: 576px) and (max-width: 991.98px) and (max-height: 700px) {
  .hero-section {
    padding-top: 115px !important;
    padding-bottom: 1rem;
  }

  .hero-section .row {
    gap: 1rem;
  }
}

/* Mobile - Stack vertically, reduce spacing */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: auto;
    padding-top: 95px;
    padding-bottom: 1.5rem;
  }

  .hero-section .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .hero-section .row {
    text-align: center;
    flex-direction: column;
    gap: 1.25rem;
  }

  .hero-section .hero-cta-split {
    justify-content: center;
  }

  .pitch-lines {
    opacity: 0.12;
  }
}

/* Mobile with medium height (≤575px width, ≤710px height) */
@media (max-width: 575.98px) and (max-height: 710px) {
  .hero-section {
    padding-top: 105px !important;
    padding-bottom: 2rem !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  .hero-section .row {
    gap: 1rem;
  }
}

/* Mobile with medium-short height (≤575px width, ≤660px height) */
@media (max-width: 575.98px) and (max-height: 660px) {
  .hero-section {
    padding-top: 108px !important;
    padding-bottom: 2rem !important;
  }

  .hero-section .row {
    gap: 0.95rem;
  }
}

/* Mobile with lower medium height (≤575px width, ≤620px height) */
@media (max-width: 575.98px) and (max-height: 620px) {
  .hero-section {
    padding-top: 110px !important;
    padding-bottom: 2rem !important;
  }

  .hero-section .row {
    gap: 0.9rem;
  }
}

/* Mobile with medium/short height (≤575px width, ≤590px height) */
@media (max-width: 575.98px) and (max-height: 590px) {
  .hero-section {
    padding-top: 105px !important;
    padding-bottom: 2.5rem !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  .hero-section .row {
    gap: 0.85rem;
  }
}

/* Mobile with medium/short height (≤575px width, ≤585px height) */
@media (max-width: 575.98px) and (max-height: 585px) {
  .hero-section {
    padding-top: 105px !important;
    padding-bottom: 2.5rem !important;
  }

  .hero-section .row {
    gap: 0.85rem;
  }
}

/* Mobile with short height (≤575px width, ≤520px height) */
@media (max-width: 575.98px) and (max-height: 520px) {
  .hero-section {
    padding-top: 110px !important;
    padding-bottom: 2rem !important;
  }

  .hero-section .row {
    gap: 0.75rem;
  }
}

/* Small phones - iPhone SE, Samsung S8+, etc. (≤375px width) */
@media (max-width: 375px) {
  .hero-section {
    padding-top: 110px !important;
    padding-bottom: 1.25rem;
  }

  .hero-section .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .hero-section .row {
    gap: 1rem;
  }
}

/* Small phones with short height (≤375px width, ≤590px height) */
@media (max-width: 375px) and (max-height: 590px) {
  .hero-section {
    padding-top: 115px !important;
    padding-bottom: 2.5rem !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  .hero-section .row {
    gap: 0.75rem;
  }
}

/* Small phones with short height (≤375px width, ≤585px height) */
@media (max-width: 375px) and (max-height: 585px) {
  .hero-section {
    padding-top: 115px !important;
    padding-bottom: 2.25rem !important;
  }

  .hero-section .row {
    gap: 0.75rem;
  }
}

/* Very small phones (≤360px width) - Samsung S8, Galaxy S5, etc. */
@media (max-width: 360px) {
  .hero-section {
    padding-top: 115px !important;
    padding-bottom: 1rem;
  }

  .hero-section .row {
    gap: 0.85rem;
  }
}

/* Ultra small phones (≤320px width) - iPhone 5/SE (1st gen), older devices */
@media (max-width: 320px) {
  .hero-section {
    padding-top: 120px !important;
    padding-bottom: 0.85rem;
  }

  .hero-section .container {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .hero-section .row {
    gap: 0.75rem;
  }
}

/* Ultra small phones with medium height (≤320px width, ≤568px height) */
@media (max-width: 320px) and (max-height: 568px) {
  .hero-section {
    padding-top: 115px !important;
    padding-bottom: 2rem !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  .hero-section .row {
    gap: 0.65rem;
  }
}

/* Short Height Screens - ALL orientations (≤600px height), EXCEPT small phones */
@media (max-height: 600px) and (min-width: 376px) {
  .hero-section {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 0.75rem;
  }

  .hero-section .row {
    gap: 0.6rem;
  }

  .pitch-lines {
    opacity: 0.1;
  }
}

/* Short Height + Small phones (≤600px height AND ≤375px width) */
@media (max-height: 600px) and (max-width: 375px) {
  .hero-section {
    min-height: auto;
    padding-top: 110px !important;
    padding-bottom: 0.75rem;
  }

  .hero-section .row {
    gap: 0.85rem;
  }

  .pitch-lines {
    opacity: 0.1;
  }
}

/* Short Height + Very small phones (≤600px height AND ≤360px width) */
@media (max-height: 600px) and (max-width: 360px) {
  .hero-section {
    padding-top: 115px !important;
  }
}

/* Wide screens with short height - Two column layout (≥900px width, ≤600px height) */
@media (max-height: 600px) and (min-width: 900px) {
  .hero-section {
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-section .row {
    flex-direction: row !important;
    align-items: center;
    gap: 2rem;
  }

  .hero-section .col-12 {
    flex: 0 0 auto;
    width: 48%;
  }
}

/* Medium-wide screens with short height (768-899px width, ≤600px height) */
@media (max-height: 600px) and (min-width: 768px) and (max-width: 899.98px) {
  .hero-section {
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-section .row {
    flex-direction: row !important;
    align-items: center;
    gap: 1.5rem;
  }

  .hero-section .col-12 {
    flex: 0 0 auto;
    width: 48%;
  }
}

/* Very short height screens (≤450px) - stacked on narrow screens */
@media (max-height: 450px) and (max-width: 767.98px) {
  .hero-section {
    padding-top: 90px;
    padding-bottom: 0.5rem;
  }

  .hero-section .row {
    gap: 0.4rem;
  }
}

/* Very short height screens (≤450px) - two columns on wider screens */
@media (max-height: 450px) and (min-width: 768px) {
  .hero-section {
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-section .row {
    flex-direction: row !important;
    gap: 1.5rem;
  }

  .hero-section .col-12 {
    flex: 0 0 auto;
    width: 48%;
  }
}

/* Ultra short height screens (≤380px) - stacked on narrow screens */
@media (max-height: 380px) and (max-width: 767.98px) {
  .hero-section {
    padding-top: 85px;
    padding-bottom: 0.3rem;
  }

  .hero-section .row {
    gap: 0.3rem;
  }

  .pitch-lines {
    opacity: 0.08;
  }
}

/* Ultra short height screens (≤380px) - two columns on wider screens */
@media (max-height: 380px) and (min-width: 768px) {
  .hero-section {
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-section .row {
    flex-direction: row !important;
    gap: 1rem;
  }

  .hero-section .col-12 {
    flex: 0 0 auto;
    width: 48%;
  }
}

/* Vignette effect for better content visibility */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.3) 70%,
      rgba(0, 0, 0, 0.5) 100%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(0, 255, 135, 0.02) 0%,
      transparent 60%
    );
  pointer-events: none;
  z-index: 1;
}

.hero-section .container {
  z-index: 2;
}

.hero-cta {
  margin-top: var(--spacing-5);
}

/* Mobile Optimizations */
@media (max-width: 767.98px) {
  .hero-section {
    background-attachment: scroll !important;
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
    circle at 2px 2px,
    rgba(6, 22, 37, 0.08) 1.5px,
    transparent 1.5px
  );
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

.about-section > * {
  position: relative;
  z-index: 1;
}

/* About Section Logo */
.about-logo-container {
  margin-bottom: 3rem;
}

.about-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 12px rgba(6, 22, 37, 0.1));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.about-logo:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 6px 16px rgba(6, 22, 37, 0.15));
}

/* Responsive adjustments for about logo */
@media (max-width: 991.98px) {
  .about-logo {
    max-width: 350px;
  }
}

@media (max-width: 767.98px) {
  .about-logo {
    max-width: 300px;
  }

  .about-logo-container {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 575.98px) {
  .about-logo {
    max-width: 250px;
  }

  .about-logo-container {
    margin-bottom: 2rem;
  }
}

@media (max-width: 375px) {
  .about-logo {
    max-width: 220px;
  }
}

@media (max-width: 320px) {
  .about-logo {
    max-width: 200px;
  }
}

.about-more-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.about-more-content.show {
  max-height: 1000px;
  opacity: 1;
}

.stats-grid {
  margin-top: var(--spacing-6);
}

/* Professional Stat Card */
.stat-card-simple {
  position: relative;
  padding: var(--spacing-6) var(--spacing-4);
  text-align: center;
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 16px rgba(6, 22, 37, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  height: 100%;
}

.stat-card-simple::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 18px,
      rgba(0, 180, 216, 0.04) 18px,
      rgba(0, 180, 216, 0.04) 19px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 18px,
      rgba(0, 255, 135, 0.04) 18px,
      rgba(0, 255, 135, 0.04) 19px
    );
  pointer-events: none;
  z-index: 0;
}

.stat-card-simple::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 255, 135, 0.02) 0%,
    rgba(0, 180, 216, 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.stat-card-simple:hover {
  box-shadow: 0 12px 32px rgba(6, 22, 37, 0.18);
  transform: translateY(-8px);
}

.stat-card-simple:hover::after {
  opacity: 1;
}

.stat-card-simple .stat-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--spacing-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e6fff5 0%, #e6f7fb 100%);
  border-radius: 50%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.stat-card-simple .stat-icon::before {
  content: "";
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--electric-mint), var(--neon-blue));
  border-radius: 50%;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.stat-card-simple:hover .stat-icon {
  transform: scale(1.05);
}

.stat-card-simple:hover .stat-icon::before {
  opacity: 0.15;
}

.stat-card-simple .stat-icon i {
  font-size: 2rem;
  color: var(--deep-navy);
  position: relative;
  z-index: 1;
}

.stat-card-simple .stat-number {
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1;
  color: var(--deep-navy);
  display: inline-block;
  letter-spacing: 0.02em;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  position: relative;
  z-index: 2;
}

.stat-card-simple .stat-plus {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--electric-mint);
  display: inline-block;
  margin-left: 2px;
  vertical-align: top;
  position: relative;
  z-index: 2;
}

.stat-card-simple .stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  margin-top: var(--spacing-3);
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
    circle at 2px 2px,
    rgba(6, 22, 37, 0.08) 1.5px,
    transparent 1.5px
  );
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

.services-section > * {
  position: relative;
  z-index: 1;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ============================================
   MANAGEMENT SECTION
   ============================================ */

.management-section {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.management-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
    circle at 2px 2px,
    rgba(6, 22, 37, 0.08) 1.5px,
    transparent 1.5px
  );
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

.management-section > * {
  position: relative;
  z-index: 1;
}

.tab-content {
  min-height: 300px;
}

@media (max-width: 767.98px) {
  .management-tabs {
    display: none;
  }
}

/* ============================================
   PLAYERS SECTION
   ============================================ */

.players-section {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.players-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
    circle at 2px 2px,
    rgba(6, 22, 37, 0.08) 1.5px,
    transparent 1.5px
  );
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

.players-section > * {
  position: relative;
  z-index: 1;
}

/* ============================================
   TEAM SECTION
   ============================================ */

.team-section {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.team-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
    circle at 2px 2px,
    rgba(6, 22, 37, 0.08) 1.5px,
    transparent 1.5px
  );
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

.team-section > * {
  position: relative;
  z-index: 1;
}

.team-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-4);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-default);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 16px rgba(6, 22, 37, 0.12);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--electric-mint);
}

.team-photo {
  width: 120px;
  height: 120px;
  margin-bottom: var(--spacing-3);
  position: relative;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 255, 135, 0.1),
    rgba(255, 51, 102, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-blue);
  transition: all var(--duration-normal) var(--ease-default);
}

.team-card:hover .photo-placeholder {
  background: linear-gradient(
    135deg,
    rgba(0, 255, 135, 0.2),
    rgba(255, 51, 102, 0.2)
  );
  color: var(--electric-mint);
  transform: scale(1.05);
}

.team-info {
  flex: 1;
}

.team-name {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  font-family: var(--font-subheading);
  color: var(--text-primary);
  margin-bottom: var(--spacing-1);
}

.team-role {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: var(--electric-mint);
  margin-bottom: var(--spacing-3);
}

.team-bio {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 575.98px) {
  .team-card {
    padding: var(--spacing-3);
  }

  .team-photo {
    width: 100px;
    height: 100px;
  }
}

/* ============================================
   CLIENTS SECTION
   ============================================ */

.clients-section {
  background-color: var(--bg-light);
  overflow: hidden;
  position: relative;
}

.clients-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
    circle at 2px 2px,
    rgba(6, 22, 37, 0.08) 1.5px,
    transparent 1.5px
  );
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

.clients-section > * {
  position: relative;
  z-index: 1;
}

/* Logo Carousel Container */
.logo-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: var(--spacing-4) 0;
}

.logo-carousel::before,
.logo-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-light) 0%, transparent 100%);
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(90deg, transparent 0%, var(--bg-light) 100%);
}

/* Logo Track */
.logo-track {
  display: flex;
  gap: var(--spacing-6);
  animation: scroll-logos 30s linear infinite;
  width: fit-content;
}

.logo-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Individual Logo Styling */
.client-logo {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 249, 250, 0.8) 100%
  );
  border-radius: var(--border-radius-lg);
  border: 2px solid rgba(0, 255, 135, 0.1);
  transition: all var(--duration-normal) var(--ease-default);
  opacity: 0.85;
  position: relative;
  overflow: hidden;
}

.client-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 135, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.client-logo:hover::before {
  left: 100%;
}

.client-logo:hover {
  opacity: 1;
  border-color: var(--electric-mint);
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 255, 135, 0.2),
    0 0 0 1px rgba(0, 255, 135, 0.1) inset;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(248, 249, 250, 1) 100%
  );
}

.logo-placeholder {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  color: var(--deep-navy);
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Mobile Optimizations */
@media (max-width: 767.98px) {
  .logo-carousel::before,
  .logo-carousel::after {
    width: 50px;
  }

  .logo-track {
    gap: var(--spacing-4);
    animation-duration: 20s;
  }

  .client-logo {
    width: 150px;
    height: 90px;
    padding: var(--spacing-2);
  }

  .logo-placeholder {
    font-size: var(--font-size-xs);
  }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
    circle at 2px 2px,
    rgba(6, 22, 37, 0.08) 1.5px,
    transparent 1.5px
  );
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

.contact-section > * {
  position: relative;
  z-index: 1;
}

.contact-form {
  background-color: var(--bg-light);
  padding: var(--spacing-5);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 16px rgba(6, 22, 37, 0.12);
}

@media (max-width: 1024px) {
  .contact-form {
    padding: var(--spacing-4);
  }
}

/* ============================================
   FOOTER
   ============================================ */

.footer-section {
  background-color: var(--deep-navy);
  color: var(--text-light);
  padding: var(--spacing-7) 0 var(--spacing-4) 0;
}

.footer-logo-wrapper {
  display: inline-block;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  display: inline-block;
  transition: all var(--duration-fast) var(--ease-default);
}

.footer-logo-img:hover {
  filter: brightness(1.1) drop-shadow(0 0 12px rgba(0, 255, 135, 0.5));
  transform: scale(1.03);
}

@media (max-width: 575.98px) {
  .footer-logo-img {
    height: 60px;
  }
}

@media (max-width: 375px) {
  .footer-logo-img {
    height: 50px;
  }
}

.footer-description,
.footer-location {
  color: var(--slate-blue);
  font-size: var(--font-size-sm);
}

.footer-tagline {
  color: var(--electric-mint);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.05em;
  margin-top: var(--spacing-2);
  margin-bottom: 0;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3);
  justify-items: center;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-2);
  font-size: var(--font-size-sm);
}

.footer-links a,
.footer-contact a {
  color: var(--slate-blue);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--electric-mint);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: var(--spacing-2);
  color: var(--slate-blue);
  font-size: var(--font-size-sm);
}

.footer-social {
  margin-top: var(--spacing-3);
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--slate-blue);
  border-radius: var(--border-radius-sm);
  color: var(--slate-blue);
  transition: all var(--duration-fast) var(--ease-default);
}

.footer-social-link:hover {
  background-color: var(--electric-mint);
  border-color: var(--electric-mint);
  color: var(--deep-navy);
  transform: translateY(-2px);
}

.footer-social-icon-box {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--slate-blue);
  border-radius: var(--border-radius-md);
  color: var(--slate-blue);
  font-size: 1.25rem;
  transition: all var(--duration-fast) var(--ease-default);
}

.footer-social-icon-box:hover {
  background-color: var(--electric-mint);
  border-color: var(--electric-mint);
  color: var(--deep-navy);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 255, 135, 0.3);
}

.footer-copyright {
  color: var(--slate-blue);
  font-size: var(--font-size-xs);
}

.footer-legal-link {
  color: var(--slate-blue);
  text-decoration: none;
  font-size: var(--font-size-xs);
  transition: color var(--duration-fast) var(--ease-default);
}

.footer-legal-link:hover {
  color: var(--electric-mint);
}

.footer-section .border-top {
  border-color: rgba(139, 147, 167, 0.2) !important;
}

/* ============================================
   DESKTOP OPTIMIZATIONS
   ============================================ */

/* Desktop - Standard */
@media (min-width: 992px) and (max-width: 1439.98px) {
  .pitch-lines {
    opacity: 0.22;
  }
}

/* Desktop - Large (Full HD and above) */
@media (min-width: 1440px) {
  .hero-section .container {
    max-width: 1320px;
  }

  .pitch-lines {
    opacity: 0.25;
  }
}

/* Desktop - Extra Large */
@media (min-width: 1920px) {
  .hero-section .container {
    max-width: 1400px;
  }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

/* Mobile */
@media (max-width: 575.98px) {
  .section-padding {
    padding: var(--spacing-6) var(--spacing-2);
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-section {
    padding: var(--spacing-4) 0;
  }
}

/* Tablet */
@media (min-width: 576px) and (max-width: 1024px) {
  .section-padding {
    padding: var(--spacing-7) var(--spacing-4);
  }
}

/* Desktop */
@media (min-width: 1025px) {
  .section-padding {
    padding: var(--spacing-8) var(--spacing-6);
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Position */
.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

/* Display */
.d-flex {
  display: flex;
}

.d-inline-flex {
  display: inline-flex;
}

/* Alignment */
.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

/* Text Alignment */
.text-center {
  text-align: center;
}

.text-start {
  text-align: left;
}

.text-end {
  text-align: right;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

/* Width */
.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

/* Viewport Units */
.vh-100 {
  height: 100vh;
}

/* Gaps */
.gap-1 {
  gap: var(--spacing-1);
}
.gap-2 {
  gap: var(--spacing-2);
}
.gap-3 {
  gap: var(--spacing-3);
}
.gap-4 {
  gap: var(--spacing-4);
}
.gap-5 {
  gap: var(--spacing-5);
}

/* ============================================
   LOADING STATES & PERFORMANCE
   ============================================ */

/* Preload Critical Elements */
.hero-section,
.navbar {
  will-change: transform;
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   FOCUS STATES (Accessibility)
   ============================================ */

:focus-visible {
  outline: 2px solid var(--electric-mint);
  outline-offset: 4px;
  border-radius: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--electric-mint);
  outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .navbar,
  .scroll-indicator,
  .hero-cta,
  .contact-form,
  .footer-social {
    display: none;
  }

  body {
    background-color: white;
    color: black;
  }

  a {
    text-decoration: underline;
  }

  .section-padding {
    padding: 1rem 0;
  }
}
