/* ==========================================================================
   Bodyline Sports - Custom Design System & Stylesheet
   Typography: Instrument Sans
   Framework: Bootstrap 5.3 Compatible
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');

:root {
  --font-primary: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Brand Colors */
  --bs-brand-red: #d92534;
  --bs-brand-red-dark: #b81b28;
  --bs-brand-red-light: #fff0f1;
  --bs-brand-red-soft: rgba(217, 37, 52, 0.08);
  --bs-brand-red-gradient: linear-gradient(135deg, #e63946 0%, #d92534 50%, #ba1827 100%);
  
  /* Neutral Colors */
  --text-heading: #121826;
  --text-body: #4b5563;
  --text-muted: #6b7280;
  --bg-light-gray: #f8fafc;
  --bg-soft-card: #f9fafb;
  --border-light: #e5e7eb;
  --border-subtle: #f0f2f5;
  
  /* Shadows & Accents */
  --card-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 16px 32px rgba(217, 37, 52, 0.08), 0 6px 16px rgba(0, 0, 0, 0.06);
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
a{
  text-decoration: none;
}

    
body {
  font-family: var(--font-primary);
  color: var(--text-body);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Custom Text Highlight */
.text-danger-custom {
  color: var(--bs-brand-red) !important;
}

/* Badge Sub-Tag */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bs-brand-red);
  margin-bottom: 0.75rem;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 3px;
  background-color: var(--bs-brand-red);
  border-radius: 2px;
}

/* Section Title & Description */
.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Buttons */
.btn-red {
  background-color: var(--bs-brand-red);
  color: #ffffff;
  border: 1.5px solid var(--bs-brand-red);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.625rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-base);
  box-shadow: 0 4px 14px rgba(217, 37, 52, 0.25);
  text-decoration: none;
}

.btn-red:hover, .btn-red:focus {
  background-color: var(--bs-brand-red-dark);
  border-color: var(--bs-brand-red-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 37, 52, 0.35);
}

.btn-red-outline {
  background-color: transparent;
  color: var(--bs-brand-red);
  border: 1.5px solid var(--bs-brand-red);
  font-weight: 600;
  padding: 0.75rem 1.625rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-base);
  text-decoration: none;
}

.btn-red-outline:hover {
  background-color: var(--bs-brand-red);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Navigation */
.navbar-custom {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.85rem 0;
  transition: var(--transition-base);
}

.navbar-custom.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.navbar-brand-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.navbar-brand-logo .brand-icon {
  width: 38px;
  height: 38px;
  background: var(--bs-brand-red-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
}

.navbar-brand-logo span {
  color: var(--bs-brand-red);
}

.nav-link-custom {
  font-weight: 500;
  color: #374151;
  padding: 0.5rem 0.9rem !important;
  font-size: 0.95rem;
  transition: var(--transition-base);
  position: relative;
}

.nav-link-custom:hover, .nav-link-custom.active {
  color: var(--bs-brand-red);
}

/* Top Hero Banner */
.hero-banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0b0f19;
}

.hero-banner-wrapper {
  position: relative;
  width: 100%;
}



.hero-banner-img {
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.2) 0%, rgba(11, 15, 25, 0.4) 60%, rgba(11, 15, 25, 0.75) 100%);
  pointer-events: none;
}

/* About Section */
.about-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  background-color: #ffffff;
}

.about-img-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  position: relative;
}

.about-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-img-card:hover img {
  transform: scale(1.03);
}

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

.stat-icon-badge {
  width: 35px;
  height: 38px;
  background-color: var(--bs-brand-red-light);
  border: 1px solid rgba(217, 37, 52, 0.2);
  color: var(--bs-brand-red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stat-number {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.1;
  display: block;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
  display: block;
  white-space: nowrap;
}

.category-description{
  margin-top: -0.5rem;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.45;
}

/* Sports Categories Section */
.categories-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  background-color: #fafbfc;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.category-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow-sm);
  transition: var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(217, 37, 52, 0.3);
}

.category-img-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background-color: #e5e7eb;
}

.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .category-img-wrap img {
  transform: scale(1.06);
}

.category-floating-icon {
  position: absolute;
  bottom: 14px;
  left: 16px;
  width: 44px;
  height: 44px;
  background-color: var(--bs-brand-red);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid #ffffff;
  z-index: 2;
  transition: var(--transition-base);
}

.category-card:hover .category-floating-icon {
  transform: scale(1.1);
  background-color: #b81b28;
}

.category-card-body {
  padding: 1.25rem 1.25rem 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.category-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0;
}

.btn-circle-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  color: var(--text-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-base);
  text-decoration: none;
}

.category-card:hover .btn-circle-arrow {
  background-color: var(--bs-brand-red);
  color: #ffffff;
  border-color: var(--bs-brand-red);
  transform: translateX(3px);
}

/* Infrastructure Grid Section */
.infra-section {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
  background-color: #ffffff;
}

.infra-item-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.infra-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(217, 37, 52, 0.3);
}

.infra-thumb-wrap {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  background-color: #edf2f7;
}

@media (min-width: 1200px) {
  .infra-thumb-wrap {
    height: 150px;
  }
}

.infra-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.infra-item-card:hover .infra-thumb-wrap img {
  transform: scale(1.05);
}

.infra-badge-icon {
  position: absolute;
  bottom: 8px;
  left: 10px;
  width: 32px;
  height: 32px;
  background: var(--bs-brand-red);
  color: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.infra-card-title {
  padding: 0.85rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-heading);
  text-align: left;
  margin: 0;
  line-height: 1.25;
  background: #ffffff;
}

/* Infrastructure Carousel Styling */
/* .infra-carousel-wrapper {
  padding: 0.5rem 0 1rem 0;
} */

.infra-swiper {
  /* padding: 0.5rem 0.5rem 1rem 0.5rem; */
  overflow: hidden;
}

.infra-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.infra-swiper .infra-item-card {
  width: 100%;
}

.swiper-nav-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--text-heading);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: var(--transition-base);
  cursor: pointer;
  z-index: 10;
}

.swiper-nav-btn:hover {
  background: var(--bs-brand-red);
  color: #ffffff;
  border-color: var(--bs-brand-red);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(217, 37, 52, 0.3);
}

.infra-prev {
  left: -22px;
}

.infra-next {
  right: -22px;
}

@media (max-width: 991.98px) {
  .infra-prev {
    left: 4px;
  }
  .infra-next {
    right: 4px;
  }
}

.infra-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #94a3b8;
  opacity: 0.5;
  transition: var(--transition-base);
  margin: 0 4px;
}

.infra-pagination .swiper-pagination-bullet-active {
  background: var(--bs-brand-red);
  opacity: 1;
  width: 24px;
  border-radius: 4px;
}

/* Process Section */
.process-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  background-color: #fafbfc;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.process-step-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.75rem 1.4rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow-sm);
  height: 100%;
  transition: var(--transition-base);
  position: relative;
}

.process-step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 37, 52, 0.35);
  box-shadow: var(--card-shadow-hover);
}

.process-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.process-icon-circle {
  width: 48px;
  height: 48px;
  background: var(--bs-brand-red);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 10px rgba(217, 37, 52, 0.25);
}

.process-arrow-indicator {
  color: #9ca3af;
  font-size: 1.25rem;
  transition: var(--transition-base);
}

.process-step-card:hover .process-arrow-indicator {
  color: var(--bs-brand-red);
  transform: translateX(4px);
}

.process-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.process-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.process-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.process-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--bs-brand-red);
  font-size: 1.1rem;
  font-weight: bold;
}

.process-list li:last-child {
  margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
  padding-top: 4.5rem;
  padding-bottom: 5rem;
  background-color: #ffffff;
}

.faq-accordion .accordion-item {
  border: 1px solid var(--border-light);
  border-radius: 12px !important;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: var(--transition-base);
}

.faq-accordion .accordion-item:hover {
  border-color: #cbd5e1;
}

.faq-accordion .accordion-button {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-heading);
  background-color: #ffffff;
  padding: 1.25rem 1.5rem;
  box-shadow: none;
  transition: var(--transition-base);
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--bs-brand-red);
  background-color: #fff9f9;
  box-shadow: inset 0 -1px 0 rgba(217, 37, 52, 0.1);
}

.faq-accordion .accordion-button::after {
  font-family: 'bootstrap-icons';
  content: '\F64D'; /* bi-plus-lg */
  background-image: none;
  font-size: 1.1rem;
  color: #64748b;
  transform: none;
  transition: transform 0.3s ease, color 0.3s ease;
  width: auto;
  height: auto;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  content: '\F63B'; /* bi-dash-lg */
  color: var(--bs-brand-red);
  transform: rotate(180deg);
}

.faq-accordion .accordion-body {
  padding: 1.25rem 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  background-color: #ffffff;
}

/* CTA Consultation Strip */
.cta-banner-section {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(217, 37, 52, 0.3) 0%, rgba(217, 37, 52, 0) 70%);
  pointer-events: none;
}

/* Footer */
.footer-section {
  background-color: #0b0f19;
  color: #94a3b8;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-heading {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

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

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

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: var(--transition-base);
}

.footer-links a:hover {
  color: var(--bs-brand-red);
  padding-left: 4px;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition-base);
  font-size: 1rem;
}

.footer-social-icon:hover {
  background-color: var(--bs-brand-red);
  color: #ffffff;
  transform: translateY(-3px);
}



/* Back to Top Button */
.btn-back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  background-color: var(--bs-brand-red);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 15px rgba(217, 37, 52, 0.4);
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  border: none;
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.btn-back-to-top:hover {
  background-color: var(--bs-brand-red-dark);
  transform: translateY(-4px);
  color: #ffffff;
}

/* Utility Gaps & Comprehensive Responsiveness */
@media (max-width: 1199.98px) {
  .infra-prev {
    left: -10px;
  }
  .infra-next {
    right: -10px;
  }
}

@media (max-width: 991.98px) {
  .section-title {
    font-size: clamp(1.75rem, 3.8vw, 2.25rem);
    margin-bottom: 1rem;
  }

  .section-subtitle {
    font-size: 0.975rem;
  }
  
  .about-img-card {
    margin-top: 1rem;
  }

  .process-arrow-indicator {
    display: none;
  }

  .infra-prev, .infra-next {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .infra-prev {
    left: 4px;
  }

  .infra-next {
    right: 4px;
  }
}

@media (max-width: 767.98px) {
  .about-section, 
  .categories-section, 
  .infra-section, 
  .process-section, 
  .faq-section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .cta-banner-section {
    padding: 3.5rem 0;
  }

  .category-img-wrap {
    height: 210px;
  }

  .infra-thumb-wrap {
    height: 140px;
  }

  .faq-accordion .accordion-button {
    padding: 1rem 1.15rem;
    font-size: 0.95rem;
  }

  .faq-accordion .accordion-body {
    padding: 1rem 1.15rem 1.25rem 1.15rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 575.98px) {
  .section-title {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .section-subtitle {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .hero-banner-img {
    min-height: 180px;
    max-height: 280px;
  }

  .about-section {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  /* Stats Row on Mobile */
  .stat-item {
    gap: 0.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .stat-icon-badge {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    border-radius: 8px;
  }
  
  .stat-number {
    font-size: 1.05rem;
  }

  .stat-label {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .category-img-wrap {
    height: 185px;
  }

  .category-title {
    font-size: 1.05rem;
  }

  .category-card-body {
    padding: 1rem;
  }

  .process-step-card {
    padding: 1.35rem 1.15rem;
  }

  .process-title {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .process-list li {
    font-size: 0.8125rem;
  }

  .cta-banner-section .btn-red,
  .cta-banner-section .btn-outline-light {
    width: 100%;
    justify-content: center;
  }

  .btn-back-to-top {
    bottom: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

@media (max-width: 380px) {
  .hero-banner-img {
    min-height: 150px;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .category-img-wrap {
    height: 165px;
  }

  .stat-number {
    font-size: 0.95rem;
  }
}


.cta-social {
        display: block !important;
    }