/* ==========================================================================
   Bodyline Sports - Flooring Landing Page 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 & Dark Colors */
  --text-heading: #0c192c;
  --text-body: #475569;
  --text-muted: #64748b;
  --bg-light-gray: #f8fafc;
  --bg-soft-card: #f9fafb;
  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  
  /* Shadows & Transitions */
  --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;
}

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;
}

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

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;
}

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

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

.section-tag.left-aligned::after {
  display: none;
}

/* Section Titles */
.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--text-heading);
}

.section-subtitle {
  font-size: 1.05rem;
  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: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.65rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition-base);
  box-shadow: 0 4px 14px rgba(217, 37, 52, 0.25);
  text-decoration: none;
  cursor: pointer;
}

.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);
}

/* ==================== HERO BANNER SECTION ==================== */
.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: 280px;
  max-height: 520px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

/* ==================== ABOUT / MAIN INTRO SECTION ==================== */
.flooring-about-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  background-color: #ffffff;
}

.flooring-visual-card {
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  position: relative;

}

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

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

/* 5 Feature Benefits Badges */
.feature-benefits-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (max-width: 991.98px) {
  .feature-benefits-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575.98px) {
  .feature-benefits-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-benefit-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.15rem 0.65rem;
  text-align: center;
  transition: var(--transition-base);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.feature-benefit-card:hover {
  border-color: var(--bs-brand-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(217, 37, 52, 0.08);
}

.feature-benefit-icon {
  width: 44px;
  height: 44px;
  background-color: var(--bs-brand-red-light);
  border: 1px solid rgba(217, 37, 52, 0.18);
  color: var(--bs-brand-red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: var(--transition-base);
}

.feature-benefit-card:hover .feature-benefit-icon {
  background-color: var(--bs-brand-red);
  color: #ffffff;
  transform: scale(1.08);
}

.feature-benefit-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
  margin: 0;
}

/* ==================== FLOORING CATEGORIES SECTION ==================== */
.flooring-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);
}

.flooring-category-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background-color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
}

.flooring-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
  border-color: rgba(217, 37, 52, 0.4);
}

.flooring-category-thumb {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: #1e293b;
}

.flooring-category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.flooring-category-card:hover .flooring-category-thumb img {
  transform: scale(1.08);
}

.flooring-category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  align-items: flex-end;
  z-index: 2;
}

.flooring-category-info-badge {
  width: 100%;
  background: rgba(18, 20, 26, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.flooring-category-card:hover .flooring-category-info-badge {
  background: rgba(10, 14, 22, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
}

.flooring-category-name {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  flex: 1;
}

.flooring-category-arrow {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.flooring-category-card:hover .flooring-category-arrow {
  background: var(--bs-brand-red);
  border-color: var(--bs-brand-red);
  color: #ffffff;
  transform: translate(2px, -2px);
}

/* Swiper Controls */
.flooring-swiper-wrapper {
  position: relative;
  /* padding: 0.5rem 0 1rem 0; */
}

.flooring-swiper {
  /* padding: 0.5rem 0.5rem 1.5rem 0.5rem; */
  overflow: hidden;
}

.flooring-nav-btn {
  position: absolute;
  top: 45%;
  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;
}

.flooring-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);
}

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

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

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

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

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

/* ==================== INSTALLATION PROCESS SECTION ==================== */
.installation-process-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  background-color: #ffffff;
  position: relative;
}

.installation-process-flow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.25rem;
  margin-top: 2.5rem;
}

.installation-step-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  position: relative;
}

.installation-step-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: var(--transition-base);
}

.installation-step-img-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 0.95rem;
}

.installation-step-badge {
  position: absolute;
  top: -10px;
  left: -8px;
  width: 32px;
  height: 32px;
  background-color: var(--bs-brand-red);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  border: 2px solid #ffffff;
  box-shadow: 0 3px 8px rgba(217, 37, 52, 0.4);
  z-index: 3;
  transition: transform 0.3s ease;
}

.installation-step-card:hover .installation-step-badge {
  transform: scale(1.1);
}

.installation-step-img-inner {
  width: 100%;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #e2e8f0;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.installation-step-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.installation-step-card:hover .installation-step-img-inner img {
  transform: scale(1.08);
}

.installation-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-brand-red);
  font-size: 1.15rem;
  font-weight: 800;
  padding: 0 0.45rem;
  height: 110px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.installation-step-item:hover .installation-step-arrow {
  transform: translateX(4px);
}

.installation-step-content {
  padding-right: 0.25rem;
}

.installation-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.installation-step-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 991.98px) {
  .installation-process-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
  }

  .installation-step-arrow {
    display: none;
  }

  .installation-step-img-inner {
    height: 130px;
  }
}

@media (max-width: 575.98px) {
  .installation-process-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 0.9rem;
  }

  .installation-step-img-inner {
    height: 105px;
    border-radius: 10px;
  }

  .installation-step-badge {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    top: -8px;
    left: -6px;
  }

  .installation-step-title {
    font-size: 0.875rem;
  }

  .installation-step-desc {
    font-size: 0.775rem;
    line-height: 1.4;
  }
}

@media (max-width: 380px) {
  .installation-process-flow {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .installation-step-img-inner {
    height: 140px;
  }
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
  padding-top: 5rem;
  padding-bottom: 5.5rem;
  background-color: #fafbfc;
  border-top: 1px solid var(--border-subtle);
}

.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 BANNER SECTION ==================== */
.cta-banner-section {
  background: linear-gradient(135deg, #0c192c 0%, #1e293b 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: #080d1a;
  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);
}
