/* Listen Hear Audio - Custom Styles */

/* Color Variables */
:root {
  /* Brand (never change) */
  --primary-blue: #0341fc;
  --primary-yellow: #FFFF00;
  --primary-dark: #232323;
  --text-grey: #4a4a4a;
  --light-grey: #f8f9fa;
  --white: #ffffff;

  /* Dark theme tokens */
  --bg-color:          #121212;
  --card-bg:           #1e1e1e;
  --card-bg-elevated:  #2a2a2a;
  --border-color:      #333333;
  --text-color:        #F5F5F5;
  --text-muted:        #A0A0A0;
  --ui-accent:         #5B8FFF;
  --ui-highlight:      #FEFE4C;

  /* Override Bootstrap's primary color */
  --bs-primary: #0341FC;
  --bs-primary-rgb: 3, 65, 252;
  /* Override Bootstrap base vars so any template using var(--bs-*) inherits dark theme */
  --bs-body-bg:        #121212;
  --bs-body-color:     #F5F5F5;
  --bs-border-color:   #333333;
  --bs-card-bg:        #1e1e1e;
  --bs-secondary-color: #A0A0A0;
}

/* Override Bootstrap primary color classes */
.text-primary {
  color: var(--primary-blue) !important;
}

.bg-primary {
  background-color: var(--primary-blue) !important;
}

.btn-primary {
  background-color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
}

.btn-primary:hover {
  background-color: var(--primary-yellow) !important;
  border-color: var(--primary-yellow) !important;
  color: var(--primary-dark) !important;
}

.btn-outline-primary {
  color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
}

.btn-outline-primary:hover {
  background-color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
  color: var(--white) !important;
}

.border-primary {
  border-color: var(--primary-blue) !important;
}

/* Base Styles */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
}

/* Wider container for all pages */
.container {
  max-width: 1400px !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-color);
  font-weight: 600;
}

/* Navigation Styles */
.navbar-custom {
  background-color: var(--primary-blue) !important;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1050; /* Ensure navbar is above sticky elements */
}

.navbar-custom .container-fluid {
  padding-left: 2rem;
  padding-right: 2rem;
}

.navbar-custom .navbar-brand {
  color: var(--primary-yellow) !important;
  font-weight: 700;
  font-size: 1.9rem;
  transition: color 0.3s ease;
}

.navbar-custom .navbar-brand:hover {
  color: var(--white) !important;
}

.navbar-logo {
  height: 84px;
  width: auto;
  object-fit: contain;
}

.navbar-custom .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  font-size: 17.5px;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-custom .nav-link:hover {
  color: var(--primary-yellow) !important;
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-yellow);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-custom .nav-link:hover::after {
  width: 80%;
}

.navbar-toggler {
  border-color: var(--white);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Catalog hover dropdown */
.nav-catalog { position: relative; }
.nav-catalog__caret {
  font-size: 0.65em; opacity: 0.7;
  transition: transform 0.2s ease;
  display: inline-block;
  vertical-align: middle;
  margin-left: 2px;
}
.nav-catalog:hover .nav-catalog__caret { transform: rotate(180deg); }

.nav-catalog__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--primary-blue);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 1060;
  list-style: none;
  margin: 0;
}
.nav-catalog:hover .nav-catalog__menu,
.nav-catalog--open .nav-catalog__menu {
  display: block;
  animation: navDropFadeIn 0.15s ease;
}
.nav-catalog--open .nav-catalog__caret { transform: rotate(180deg); }

@media (max-width: 991.98px) {
  .nav-catalog__menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    min-width: 100%;
    background: rgba(0,0,0,0.2);
    padding-left: 0.5rem;
  }
}
.nav-catalog__menu .dropdown-item {
  color: rgba(255,255,255,0.85);
  padding: 0.45rem 1.25rem;
  font-size: 0.92rem;
  font-family: 'DM Sans', sans-serif;
  background: none;
  border: none;
}
.nav-catalog__menu .dropdown-item:hover {
  background: rgba(255,255,255,0.1);
  color: var(--primary-yellow);
}
.nav-catalog__menu .dropdown-divider {
  border-color: rgba(255,255,255,0.15);
  margin: 0.35rem 0;
}
@keyframes navDropFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Cart Badge */
/* Cart Badge */
.cart-badge {
  background-color: var(--primary-yellow);
  color: var(--primary-dark);
  border-radius: 50%;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.3rem;
}

/* Footer Styles */
.footer {
  background: var(--card-bg);
  color: var(--white);
  padding: 3rem 0 1rem;
  border-top: 3px solid var(--primary-yellow);
}

.footer .container-fluid {
  padding-left: 2rem;
  padding-right: 2rem;
}

.footer h5 {
  color: var(--primary-yellow);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-yellow) !important;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.footer-logo-text {
  color: var(--primary-yellow);
  font-size: 1.6rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.footer-logo:hover .footer-logo-text {
  color: var(--white) !important;
}

.footer-logo-image {
  height: 84px;
  width: auto;
  object-fit: contain;
}

.footer-social a {
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--primary-yellow) !important;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 4px;
}

.newsletter-form button {
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background-color: var(--primary-yellow);
  color: var(--primary-dark);
}

/* Catalog Sidebar Navigation */
.catalog-sidebar {
  position: sticky;
  top: 20px;
  background-color: var(--card-bg-elevated);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.sidebar-title {
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-blue);
}

.catalog-nav-link {
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.25rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.catalog-nav-link i {
  font-size: 1.2rem;
  color: var(--primary-blue);
}

.catalog-nav-link:hover {
  background-color: var(--card-bg);
  color: var(--primary-blue);
  text-decoration: none;
  transform: translateX(5px);
}

/* Property Nav Section */
.property-nav-section {
  margin-bottom: 0.5rem;
}

.property-nav-link {
  font-weight: 600;
  color: var(--text-color);
  text-decoration: none;
}

.property-nav-link .chevron-icon {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.property-nav-link .chevron-icon.rotated {
  transform: rotate(180deg);
}

.property-nav-link i:first-child {
  flex-shrink: 0;
}

/* Category Navigation List */
.category-nav-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 1.5rem;
}

.category-nav-list.show {
  max-height: 500px;
  margin-bottom: 0.5rem;
}

.category-nav-link {
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  text-decoration: none;
}

.category-nav-link:hover {
  border-left-color: var(--primary-blue);
  background-color: rgba(0, 0, 255, 0.05);
}

/* Cart Item Images */
.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.cart-item-image-placeholder {
  width: 80px;
  height: 80px;
  background-color: var(--light-grey);
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 2rem;
}

/* Description Cards */
.property-type-description-card {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.property-type-description-card .card {
  border-width: 2px;
  border-left-width: 6px;
}

.category-description-card {
  margin-top: 0.5rem;
}

.subcategory-description-card {
  font-size: 0.9rem;
}

.category-subtitle {
  color: var(--text-color);
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 1rem;
}

/* Product Card Styles */
.product-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.product-card.in-cart {
  border-color: #28a745 !important;
  border-width: 2px !important;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15) !important;
}

.product-card img {
  border-radius: 8px 8px 0 0;
  height: 200px;
  object-fit: cover;
}

/* Package Image & Features Overlay */
.package-image-container {
  position: relative;
  overflow: hidden;
}

.package-image {
  height: 200px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.3s ease;
}

.product-card:hover .package-image {
  transform: scale(1.05);
}

.features-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.85) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card:hover .features-overlay {
  opacity: 1;
}

.features-content {
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  padding-right: 5px;
}

.features-content::-webkit-scrollbar {
  width: 4px;
}

.features-content::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}

.features-content::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
}

.features-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.6);
}

.features-content ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}

.features-content li {
  margin-bottom: 0.35rem;
  padding-left: 1.2em;
  position: relative;
}

.features-content li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #7fff7f;
}

.package-short-description {
  flex-grow: 1;
  line-height: 1.5;
}

/* Add to Cart Button States */
.add-to-cart-btn.loading {
  pointer-events: none;
  opacity: 0.6;
}

.add-to-cart-btn.btn-success {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: white !important;
}

.add-to-cart-btn.btn-danger {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: white !important;
}

.product-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  color: var(--text-color);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.product-price {
  color: var(--primary-blue);
  font-size: 1.25rem;
  font-weight: 700;
}

/* Quick Add to Cart Form */
.quick-add-form {
  margin-bottom: 0.5rem;
}

.quick-add-form button {
  font-size: 0.9rem;
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--primary-yellow);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* Category Sections */
.category-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.category-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary-blue);
}

.category-title {
  color: var(--text-color);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.category-title i {
  font-size: 2.5rem;
}

.category-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Package Detail Styles */
.package-detail-image {
  border-radius: 8px;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: 700;
}

/* Alerts */
.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #f87f8a;
  background-color: rgba(220, 53, 69, 0.15);
  border-color: rgba(220, 53, 69, 0.3);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .catalog-sidebar {
    position: static;
    margin-bottom: 2rem;
  }

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

  .category-title i {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar-custom .container-fluid,
  .footer .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .container, .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }

  .row {
    margin-left: -15px;
    margin-right: -15px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }

  .product-card img {
    height: 150px;
  }

  .catalog-nav-link {
    font-size: 0.9rem;
  }

  .cart-item-image {
    width: 60px !important;
    height: 60px !important;
  }
}

/* Cart Styles */
.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-item-image-placeholder {
  width: 80px;
  height: 80px;
  background-color: var(--light-grey);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  font-size: 2rem;
}

/* Checkout Steps */
.checkout-steps {
  position: relative;
  padding: 2rem 0;
}

.checkout-steps .step {
  text-align: center;
  position: relative;
  flex: 1;
}

.checkout-steps .step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--card-bg-elevated);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.checkout-steps .step.active .step-icon {
  background-color: var(--primary-blue);
  color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 255, 0.3);
}

.checkout-steps .step.completed .step-icon {
  background-color: #28a745;
  color: white;
}

.checkout-steps .step-label {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
}

.checkout-steps .step.active .step-label {
  color: var(--primary-blue);
  font-weight: 600;
}

.checkout-steps .step-line {
  height: 2px;
  background-color: #dee2e6;
  flex: 1;
  margin: 25px 10px 0;
}

.checkout-steps .step.completed + .step-line {
  background-color: #28a745;
}

/* Confirmation Page */
.success-icon {
  animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Ensure sticky elements don't cover dropdown menus */
.sticky-top {
  z-index: 1020; /* Lower than navbar (1050) */
}

/* Ensure card headers with bg-primary have white text */
.card-header.bg-primary {
  color: white !important;
}

.card-header.bg-primary h4,
.card-header.bg-primary h5 {
  color: white !important;
}

/* Hover lift effect for cards */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

/* Timeline styles for service request success page */
.timeline .step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

/* ========== Category Detail Page ========== */

.category-detail-header {
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.category-hero-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.category-hero-img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.category-info-panel {
  padding: 1.5rem 0;
}

.category-details-text {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Category Slideshow */
.category-slideshow-img {
  height: 500px;
  object-fit: cover;
}

.category-slideshow-section .carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  bottom: 1.5rem;
}

.category-slideshow-section .carousel-control-prev-icon,
.category-slideshow-section .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 1.25rem;
  background-size: 50%;
}

.category-slideshow-section .carousel-indicators button {
  background-color: var(--primary-blue);
}

/* Category Videos Section */
.category-videos-section iframe {
  border: none;
}

.category-videos-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #000;
}

/* Category Packages Section */

/* Category CTA */
.category-cta-section {
  padding: 2rem 0;
}

/* Responsive - Category Detail */
@media (max-width: 991px) {
  .category-hero-img {
    max-height: 350px;
  }

  .category-info-panel {
    padding: 0;
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .category-slideshow-img {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .category-slideshow-img {
    height: 220px;
  }
}

/* ========== Gallery Styles ========== */

/* Dark background for gallery page */
.gallery-page-dark {
  background-color: var(--primary-dark);
  min-height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* CSS Column Masonry Grid */
.gallery-masonry {
  column-count: 5;
  column-gap: 5px;
  width: 100%;
  margin: 0;
  padding: 0 10px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 5px;
  transition: opacity 0.3s ease;
  display: inline-block;
  width: 100%;
}

.gallery-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  object-fit: contain;
}

.gallery-image:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Tag filter buttons */
.tag-filter {
  transition: all 0.2s ease;
  border-color: #6c757d;
  color: #e0e0e0;
  background-color: transparent;
}

.tag-filter.active {
  background-color: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

.tag-filter:hover {
  background-color: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

/* Custom Lightbox Overlay */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--primary-yellow);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  padding: 16px;
  user-select: none;
  transition: all 0.3s ease;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: var(--primary-blue);
  color: white;
}

.lightbox-caption {
  color: white;
  text-align: center;
  padding: 10px 20px;
  margin-top: 10px;
  font-size: 1rem;
}

/* Responsive breakpoints for gallery */
@media (max-width: 1400px) {
  .gallery-masonry {
    column-count: 4;
  }
}

@media (max-width: 1100px) {
  .gallery-masonry {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .gallery-masonry {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .gallery-masonry {
    column-count: 1;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 30px;
    padding: 12px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    right: 20px;
    font-size: 30px;
  }
}

/* ========== Builder Showroom Styles ========== */

/* Showroom containers - increased text sizes by 2pt */
.showroom-guided-container,
.builder-intro-container {
  font-size: 1.125rem; /* 18px base instead of 16px */
}

.showroom-guided-container .small,
.showroom-guided-container small,
.builder-intro-container .small,
.builder-intro-container small {
  font-size: 0.9375rem !important; /* 15px instead of ~13px */
}

.showroom-guided-container p,
.builder-intro-container p {
  font-size: 1.125rem;
}

.showroom-guided-container .card-title,
.builder-intro-container .card-title {
  font-size: 1.375rem;
}

.showroom-guided-container .card-text,
.builder-intro-container .card-text {
  font-size: 1.0625rem;
}

.showroom-guided-container h2,
.builder-intro-container h2 {
  font-size: 2.125rem;
}

.showroom-guided-container h3,
.builder-intro-container h3 {
  font-size: 1.625rem;
}

.showroom-guided-container h4,
.builder-intro-container h4 {
  font-size: 1.375rem;
}

.showroom-guided-container h5,
.builder-intro-container h5 {
  font-size: 1.25rem;
}

.showroom-guided-container h6,
.builder-intro-container h6 {
  font-size: 1.125rem;
}

.showroom-guided-container .btn,
.builder-intro-container .btn {
  font-size: 1rem;
}

.showroom-guided-container .btn-lg,
.builder-intro-container .btn-lg {
  font-size: 1.125rem;
}

.showroom-guided-container .btn-sm,
.builder-intro-container .btn-sm {
  font-size: 0.9375rem;
}

.showroom-guided-container .text-muted,
.builder-intro-container .text-muted {
  font-size: inherit;
}

.showroom-guided-container .lead,
.builder-intro-container .lead {
  font-size: 1.375rem;
}

.showroom-guided-container .list-unstyled li,
.builder-intro-container .list-unstyled li {
  font-size: 1.0625rem;
}

/* Showroom Guided - Layout Styles */
.showroom-guided-container {
  background: var(--bg-color);
  min-height: 100vh;
}

.showroom-guided-container .progress-nav {
  z-index: 1000;
}

.showroom-guided-container .progress-dots {
  gap: 0;
}

.showroom-guided-container .step-indicator {
  display: flex;
  align-items: center;
}

.showroom-guided-container .step-dot {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--ui-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.showroom-guided-container .step-dot:hover {
  background-color: var(--primary-blue);
  transform: scale(1.1);
}

.showroom-guided-container .step-indicator.active .step-dot {
  background: var(--primary-blue);
  color: #fff;
  box-shadow: 0 4px 8px rgba(3, 65, 252, 0.4);
}

.showroom-guided-container .step-indicator.completed .step-dot {
  background-color: var(--primary-blue);
  color: #fff;
}

.showroom-guided-container .step-house {
  font-size: 1.2rem;
}

.showroom-guided-container .step-line {
  width: 40px;
  height: 3px;
  background-color: var(--border-color);
  transition: all 0.3s ease;
}

.showroom-guided-container .step-indicator.completed .step-line {
  background: var(--primary-blue);
}

.showroom-guided-container .section-number-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(3, 65, 252, 0.3);
  flex-shrink: 0;
}

.showroom-guided-container .category-card {
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-blue);
}

.showroom-guided-container .category-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  transform: translateX(5px);
}

.showroom-guided-container .package-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showroom-guided-container .package-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
  border-color: var(--primary-blue) !important;
}

.showroom-guided-container .package-card.in-cart {
  border-color: #28a745 !important;
  border-width: 2px !important;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15) !important;
  background-color: rgba(40, 167, 69, 0.02);
}

.showroom-guided-container .package-card.in-cart:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3) !important;
  border-color: #28a745 !important;
}

.showroom-guided-container .package-image-container {
  position: relative;
  overflow: hidden;
}

.showroom-guided-container .package-image {
  height: 200px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.3s ease;
}

.showroom-guided-container .package-card:hover .package-image {
  transform: scale(1.05);
}

.showroom-guided-container .cart-toggle-btn.loading {
  pointer-events: none;
  opacity: 0.6;
}

.showroom-guided-container .cart-toggle-btn.in-cart {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: white !important;
}

.showroom-guided-container .cart-toggle-btn.in-cart:hover {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
}

.showroom-guided-container .cart-toggle-btn.btn-danger {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: white !important;
}

.showroom-guided-container .package-features-list {
  font-size: 0.9375rem;
}

.showroom-guided-container .package-features-list .features-list {
  list-style-type: none;
  padding-left: 0;
}

.showroom-guided-container .package-features-list .features-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.25rem;
  color: #495057;
  line-height: 1.4;
}

.showroom-guided-container .package-features-list .features-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.showroom-guided-container .package-details .details-toggle {
  color: var(--primary-blue);
  font-size: 0.95rem;
}

.showroom-guided-container .package-details .details-toggle:hover {
  color: #0230d4;
}

.showroom-guided-container .package-details .details-toggle[aria-expanded="true"] .bi-chevron-down {
  transform: rotate(180deg);
}

.showroom-guided-container .package-details .bi-chevron-down {
  transition: transform 0.2s ease;
}

.showroom-guided-container .package-description-full {
  max-height: 200px;
  overflow-y: auto;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.showroom-guided-container .package-description-full p {
  margin-bottom: 0.5rem;
}

.showroom-guided-container .package-description-full p:last-child {
  margin-bottom: 0;
}

.floating-cart-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

@media (max-width: 767px) {
  .floating-cart-badge { bottom: 10px; right: 10px; }
}

/* Builder Intro Page Styles */
.builder-intro-container .hero-section {
  background: var(--primary-blue);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.builder-intro-container .benefits-section {
  background: var(--bg-color);
}

.builder-intro-container .cta-section {
  background: var(--primary-blue);
  box-shadow: 0 -4px 6px rgba(0,0,0,0.1);
}

.builder-intro-container .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.builder-intro-container .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2) !important;
}

.builder-intro-container .showroom-option-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.builder-intro-container .showroom-option-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.3) !important;
}

/* Showroom Responsive Styles */
@media (max-width: 768px) {
  .showroom-guided-container,
  .builder-intro-container {
    font-size: 1rem;
  }

  .showroom-guided-container .section-number-badge {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .showroom-guided-container .step-dot {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .showroom-guided-container .step-line {
    width: 20px;
  }

  .showroom-guided-container .progress-dots {
    flex-wrap: nowrap;
  }

  .showroom-guided-container .floating-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .showroom-guided-container .floating-prev {
    left: 10px;
  }

  .showroom-guided-container .floating-next {
    right: 10px;
  }

  .builder-intro-container .display-2 {
    font-size: 2.5rem;
  }

  .builder-intro-container .display-3 {
    font-size: 2rem;
  }

  .builder-intro-container .display-4 {
    font-size: 1.75rem;
  }
}

/* ============================================================
   Site Banner
   ============================================================ */
.site-banner {
  background: var(--primary-yellow);
  color: var(--primary-blue);
  text-align: center;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  width: 100%;
  line-height: 1.4;
}

@media (max-width: 576px) {
  .site-banner {
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
  }
}

/* =============================================================
   DARK THEME — site-wide near-black overhaul
   ============================================================= */

/* --- Bootstrap utility overrides --- */
.bg-light, .bg-white  { background-color: var(--card-bg) !important; }
.bg-body              { background-color: var(--bg-color) !important; }
.text-muted           { color: var(--text-muted) !important; }
.text-dark            { color: var(--text-color) !important; }
.text-body            { color: var(--text-color) !important; }
hr                    { border-color: var(--border-color); opacity: 1; }

/* --- Links (outside nav/footer/branded zones) --- */
a:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):not(.footer a):not([class*="lhx"]):not([class*="ct-"]):not([class*="ab-"]):not(.step-dot) {
  color: var(--ui-accent);
}
a:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):not(.footer a):not([class*="lhx"]):not([class*="ct-"]):not([class*="ab-"]):not(.step-dot):hover {
  color: var(--ui-highlight);
}

/* --- Bootstrap Cards --- */
.card {
  background-color: var(--card-bg);
  border-color: var(--border-color);
  color: var(--text-color);
}
.card-header {
  background-color: var(--card-bg-elevated);
  border-bottom-color: var(--border-color);
  color: var(--text-color);
}
.card-footer {
  background-color: var(--card-bg-elevated);
  border-top-color: var(--border-color);
}

/* --- Forms --- */
.form-control,
.form-select {
  background-color: var(--card-bg);
  border-color: var(--border-color);
  color: var(--text-color);
}
.form-control:focus,
.form-select:focus {
  background-color: var(--card-bg-elevated);
  border-color: var(--ui-accent);
  color: var(--text-color);
  box-shadow: 0 0 0 0.2rem rgba(91, 143, 255, 0.2);
}
.form-control::placeholder { color: var(--text-muted); }
.input-group-text {
  background-color: var(--card-bg-elevated);
  border-color: var(--border-color);
  color: var(--text-muted);
}
.form-label  { color: var(--text-color); }
.form-check-label { color: var(--text-color); }
.form-text   { color: var(--text-muted); }

/* --- Tables --- */
.table {
  color: var(--text-color);
  border-color: var(--border-color);
}
.table > :not(caption) > * > * {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-color);
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: rgba(255,255,255,0.03);
  color: var(--text-color);
}
.table thead th {
  background-color: var(--card-bg-elevated);
  color: var(--text-color);
}

/* --- Modal --- */
.modal-content { background-color: var(--card-bg); border-color: var(--border-color); color: var(--text-color); }
.modal-header  { border-bottom-color: var(--border-color); }
.modal-footer  { border-top-color: var(--border-color); }
.modal-title   { color: var(--text-color); }

/* --- Dropdowns (non-navbar) --- */
.dropdown-menu   { background-color: var(--card-bg); border-color: var(--border-color); }
.dropdown-item   { color: var(--text-color); }
.dropdown-item:hover, .dropdown-item:focus { background-color: var(--card-bg-elevated); color: var(--text-color); }
.dropdown-divider  { border-color: var(--border-color); }
.dropdown-header   { color: var(--text-muted); }

/* --- Breadcrumb --- */
.breadcrumb { background-color: transparent; padding: 0; }
.breadcrumb-item a { color: var(--ui-accent); }
.breadcrumb-item a:hover { color: var(--ui-highlight); }
.breadcrumb-item.active { color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* --- Accordion --- */
.accordion-item   { background-color: var(--card-bg); border-color: var(--border-color); }
.accordion-button { background-color: var(--card-bg); color: var(--text-color); }
.accordion-button:not(.collapsed) {
  background-color: var(--card-bg-elevated);
  color: var(--text-color);
  box-shadow: inset 0 -1px 0 var(--border-color);
}
.accordion-button::after { filter: invert(0.8); }
.accordion-body { background-color: var(--card-bg); color: var(--text-color); }

/* --- List Group --- */
.list-group-item { background-color: var(--card-bg); border-color: var(--border-color); color: var(--text-color); }
.list-group-item:hover { background-color: var(--card-bg-elevated); }
.list-group-item-action:focus { background-color: var(--card-bg-elevated); color: var(--text-color); }

/* --- Alerts --- */
.alert-info    { background-color: rgba(91,143,255,0.15); border-color: rgba(91,143,255,0.3); color: var(--text-color); }
.alert-success { background-color: rgba(40,167,69,0.15);  border-color: rgba(40,167,69,0.3);  color: #7defa7; }
.alert-warning { background-color: rgba(254,254,76,0.1);  border-color: rgba(254,254,76,0.3); color: var(--ui-highlight); }
.alert-danger  { background-color: rgba(220,53,69,0.15);  border-color: rgba(220,53,69,0.3);  color: #f87f8a; }
.alert-debug   { background-color: var(--card-bg); color: var(--text-color); border-color: var(--border-color); }

/* --- Bootstrap utility overrides for dark theme --- */
.bg-light  { background-color: var(--card-bg-elevated) !important; color: var(--text-color) !important; }
.bg-white  { background-color: var(--card-bg) !important; }
.text-dark { color: var(--text-color) !important; }

/* --- Badges --- */
.badge.bg-secondary { background-color: var(--card-bg-elevated) !important; color: var(--text-muted); }
.badge.bg-light     { background-color: var(--card-bg-elevated) !important; color: var(--text-color); }

/* --- Pagination --- */
.page-link { background-color: var(--card-bg); border-color: var(--border-color); color: var(--ui-accent); }
.page-link:hover { background-color: var(--card-bg-elevated); color: var(--ui-highlight); }
.page-item.active .page-link { background-color: var(--primary-blue); border-color: var(--primary-blue); color: #fff; }
.page-item.disabled .page-link { background-color: var(--card-bg); color: var(--text-muted); }

/* --- Nav tabs / pills (non-navbar) --- */
.nav-tabs { border-bottom-color: var(--border-color); }
.nav-tabs .nav-link { color: var(--text-muted); border-color: transparent; }
.nav-tabs .nav-link:hover { color: var(--text-color); border-color: var(--border-color); }
.nav-tabs .nav-link.active {
  background-color: var(--card-bg);
  border-color: var(--border-color) var(--border-color) var(--card-bg);
  color: var(--text-color);
}

/* --- Catalog page nav (solutions) --- */
.catalog-sidebar  { background-color: var(--card-bg); }
.sidebar-title    { color: var(--text-color); }
.catalog-nav-link { color: var(--text-muted); border-color: var(--border-color); }

/* --- Product / category classes --- */
.category-packages-section,
.category-videos-section               { background: var(--card-bg) !important; }
.category-section      { border-bottom-color: var(--border-color); }
.category-header       { border-bottom-color: var(--primary-blue); }
.category-subtitle     { color: var(--text-color); border-bottom-color: var(--border-color); }
.category-description  { color: var(--text-muted); }
.category-title        { color: var(--text-color); }
.category-details-text { color: var(--text-muted); }
.category-detail-header { border-bottom-color: var(--border-color); }
.product-card           { background-color: var(--card-bg); border-color: var(--border-color); }
.product-card-title     { color: var(--text-color); }
.product-card-body      { background-color: var(--card-bg); }
.product-card:hover     { box-shadow: 0 8px 16px rgba(0,0,0,0.5); }
.product-price          { color: var(--ui-accent); }

/* --- Cart --- */
.cart-item-image             { border-color: var(--border-color); }
.cart-item-image-placeholder { background-color: var(--card-bg); border-color: var(--border-color); color: var(--text-muted); }
.checkout-steps .step-icon   { background-color: var(--card-bg-elevated); color: var(--text-muted); }
.checkout-steps .step-label  { color: var(--text-muted); }
.checkout-steps .step-line   { background-color: var(--border-color); }

/* --- Sidebar nav links --- */
.property-nav-link  { color: var(--text-color); }
.category-nav-link  { color: var(--text-muted); }
.category-nav-link:hover {
  background-color: rgba(91,143,255,0.08);
  border-left-color: var(--ui-accent);
}

/* --- Showroom / builder (dark base) --- */
.showroom-guided-container { background: var(--bg-color); }
.showroom-guided-container .progress-nav {
  background-color: var(--card-bg-elevated) !important;
  border-bottom-color: var(--border-color) !important;
}
.showroom-guided-container .step-line { background-color: var(--border-color); }
.showroom-guided-container .package-features-list .features-list li { color: var(--text-muted); }
.showroom-guided-container .package-description-full { background-color: var(--card-bg-elevated) !important; color: var(--text-muted); }
.builder-intro-container .benefits-section { background: var(--card-bg); }

/* --- Home page showroom builder — forced dark --- */
.lhx-builder                              { background-color: var(--bg-color) !important; }
.lhx-builder .lhx-eyebrow                { color: var(--ui-accent) !important; }
.lhx-builder .lhx-section-title          { color: var(--text-color) !important; }
.lhx-builder .lhx-section-title em       { color: var(--ui-highlight) !important; }
.lhx-builder .lhx-builder__text          { color: var(--text-muted) !important; }
.lhx-builder .lhx-feature-list li        { color: var(--text-muted) !important; }
.lhx-builder .lhx-feature-list .bi-check-circle-fill { color: var(--ui-accent) !important; }

/* --- Home page trusted brands — forced dark --- */
.lhx-brands                              { background-color: var(--card-bg) !important; }
.lhx-brands .lhx-eyebrow                { color: var(--ui-accent) !important; }
.lhx-brands .lhx-section-title          { color: var(--text-color) !important; }
.lhx-brands .lhx-section-sub            { color: var(--text-muted) !important; }
.lhx-brand-logo img                      { filter: grayscale(30%) brightness(1.15); opacity: 0.75; }
.lhx-brand-logo:hover img               { filter: grayscale(0) brightness(1.2); opacity: 1; }

/* --- Home page catalog strip — forced dark (overrides day-phase --dn-* values) --- */
.lhx-catalog-strip                               { background-color: var(--card-bg) !important; }
.lhx-catalog-strip .lhx-eyebrow                 { color: var(--ui-accent); }
.lhx-catalog-strip .lhx-section-title           { color: var(--text-color); }
.lhx-catalog-item                                { background: var(--card-bg-elevated) !important; border-color: var(--border-color) !important; }
.lhx-catalog-item:hover                          { border-color: var(--ui-accent) !important; box-shadow: 0 8px 30px rgba(91,143,255,0.15) !important; }
.lhx-catalog-item__icon-wrap                     { background: rgba(91,143,255,0.12) !important; }
.lhx-catalog-item:hover .lhx-catalog-item__icon-wrap   { background: var(--ui-accent) !important; }
.lhx-catalog-item:hover .lhx-catalog-item__icon-wrap i { color: #fff !important; }
.lhx-catalog-item__icon-wrap i                   { color: var(--ui-accent) !important; }
.lhx-catalog-item__label                         { color: var(--text-color) !important; }
.lhx-catalog-item__desc                          { color: var(--text-muted) !important; }
.lhx-catalog-item__arrow                         { color: var(--ui-accent) !important; }

/* --- Primary buttons — use softer ui-accent on dark bg (navbar excluded) --- */
.btn-primary {
  background-color: var(--ui-accent) !important;
  border-color: var(--ui-accent) !important;
  color: #fff !important;
}
.btn-primary:hover {
  background-color: var(--ui-highlight) !important;
  border-color: var(--ui-highlight) !important;
  color: #111 !important;
}
.btn-outline-primary {
  color: var(--ui-accent) !important;
  border-color: var(--ui-accent) !important;
}
.btn-outline-primary:hover {
  background-color: var(--ui-accent) !important;
  border-color: var(--ui-accent) !important;
  color: #fff !important;
}
.btn-primary-custom {
  background-color: var(--ui-accent);
  color: #fff;
  border: none;
}
.btn-primary-custom:hover {
  background-color: var(--ui-highlight);
  color: #111;
}
.btn-outline-custom {
  color: var(--ui-accent);
  border-color: var(--ui-accent);
}
.btn-outline-custom:hover {
  background-color: var(--ui-accent);
  color: #fff;
}
.lhx-btn--primary {
  background: var(--ui-accent);
  color: #fff;
  border-color: var(--ui-accent);
}
.lhx-btn--primary:hover {
  background: var(--ui-highlight);
  border-color: var(--ui-highlight);
  color: #111;
}

/* --- Accent / primary text — softer on dark bg --- */
.text-primary { color: var(--ui-accent) !important; }
.product-price { color: var(--ui-accent); }

/* ========== Builder Showroom Intro (si-*) ========== */

.si-container {
  width: 92%; max-width: 1200px; margin: 0 auto;
  padding-left: 0; padding-right: 0;
}
@media (min-width: 768px)  { .si-container { width: 86%; } }
@media (min-width: 1200px) { .si-container { width: 80%; } }

.mb-6 { margin-bottom: 3.5rem; }

/* Typography */
.si-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ui-accent); margin-bottom: 0.5rem;
}
.si-eyebrow--light { color: var(--primary-yellow); }

.si-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.75rem); font-weight: 700;
  color: var(--text-color); line-height: 1.15; margin-bottom: 1rem;
}
.si-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 600px; margin: 0 auto; line-height: 1.7;
}

/* Buttons */
.si-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 700;
  padding: 0.85rem 2rem; border-radius: 8px;
  text-decoration: none; transition: all 0.2s ease;
  border: 2px solid transparent;
}
/* Yellow primary — used on hero + CTA (dark blue bg) */
.si-btn--primary {
  background: var(--primary-yellow); color: var(--primary-dark);
  border-color: var(--primary-yellow);
}
.si-btn--primary:hover {
  background: #fff; color: var(--primary-dark);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,255,0,0.3);
}
/* In modals (light bg) — flip to dark on hover so button stays visible */
.modal .si-btn--primary {
  background: var(--primary-yellow); color: var(--primary-dark);
  border-color: var(--primary-yellow);
}
.modal .si-btn--primary:hover {
  background: var(--primary-dark); color: var(--primary-yellow);
  border-color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(3,17,252,0.25);
}
/* In regular (non-hero/CTA) sections, use accent blue */
.si-section .si-btn--primary {
  background: var(--ui-accent); color: #fff;
  border-color: var(--ui-accent);
}
.si-section .si-btn--primary:hover {
  background: var(--ui-highlight); color: #111;
  border-color: var(--ui-highlight);
  box-shadow: 0 6px 20px rgba(91,143,255,0.3);
}
.si-btn--ghost {
  background: transparent; color: white;
  border-color: rgba(255,255,255,0.5);
}
.si-btn--ghost:hover {
  background: rgba(255,255,255,0.1); border-color: white; color: white;
}
.si-btn--xl {
  font-size: 1.2rem;
  padding: 1.15rem 2.75rem;
  border-radius: 10px;
}

/* Sections */
.si-section { padding: 5rem 0; }
.si-section--white { background: var(--card-bg); }
.si-section--gray  { background: var(--bg-color); }

/* Hero */
.si-hero {
  position: relative;
  min-height: 80vh;
  display: flex; align-items: center;
  background-color: #060818;
  overflow: hidden;
  width: 100%;
}
.si-hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  pointer-events: none;
}
.si-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,8,24,0.25) 0%, rgba(5,8,24,0.1) 40%, rgba(5,8,24,0.7) 80%, rgba(5,8,24,0.95) 100%);
  z-index: 1;
}
.si-hero__content {
  position: relative; z-index: 2;
  padding: 5rem 0;
  animation: siFadeUp 0.9s ease both;
}
.si-hero__headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 4.25rem); font-weight: 900;
  color: white; line-height: 1.05; margin-bottom: 1.1rem;
}
.si-hero__accent { color: var(--primary-yellow); }
.si-hero__sub {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.82); line-height: 1.75;
  max-width: 560px; margin-bottom: 2rem;
}
@keyframes siFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Benefits grid */
.si-benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem 4rem;
}
@media (max-width: 767px) { .si-benefit-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.si-benefit { display: flex; gap: 1.5rem; }
.si-benefit__icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(91,143,255,0.12);
  display: flex; align-items: center; justify-content: center;
}
.si-benefit__icon i { font-size: 1.5rem; color: var(--ui-accent); }
.si-benefit__body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem; font-weight: 700;
  color: var(--text-color); margin-bottom: 0.6rem; line-height: 1.2;
}
.si-benefit__body p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem;
}

/* Check / X lists */
.si-check-list, .si-x-list {
  list-style: none; padding: 0; margin: 0;
}
.si-check-list li, .si-x-list li {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; color: var(--text-muted); line-height: 1.6;
  padding: 0.3rem 0;
  display: flex; align-items: flex-start; gap: 0.55rem;
}
.si-check-list li i { color: var(--ui-accent); flex-shrink: 0; margin-top: 0.15em; }
.si-x-list   li i { color: #f87f8a;            flex-shrink: 0; margin-top: 0.15em; }

/* Timing comparison */
.si-timing-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 860px; margin: 0 auto 2rem;
}
@media (max-width: 767px) {
  .si-timing-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .si-timing--vs { display: none; }
}
.si-timing {
  background: var(--card-bg-elevated);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-color);
}
.si-timing--during { border-top: 3px solid var(--ui-accent); }
.si-timing--after  { border-top: 3px solid #f87f8a; }
.si-timing__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.si-timing--during .si-timing__label { color: var(--ui-accent); }
.si-timing--after  .si-timing__label { color: #f87f8a; }
.si-timing--vs {
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; padding: 0;
}
.si-timing--vs span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--text-muted); line-height: 1;
}
.si-timing__note {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; color: var(--text-muted);
  text-align: center; max-width: 600px; margin: 0 auto;
  font-style: italic;
}

/* Feature 3x2 grid */
.si-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 3rem;
}
@media (max-width: 991px) { .si-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .si-feature-grid { grid-template-columns: 1fr; gap: 2rem; } }
.si-feature__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(91,143,255,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.si-feature__icon i { font-size: 1.4rem; color: var(--ui-accent); }
.si-feature h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--text-color); margin-bottom: 0.5rem; line-height: 1.2;
}
.si-feature p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.975rem; color: var(--text-muted); line-height: 1.75; margin: 0;
}

/* CTA section */
.si-cta {
  position: relative;
  background: var(--primary-blue);
  overflow: hidden;
  padding: 5rem 0;
}
.si-cta__glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 100% 100%, rgba(255,255,255,0.13) 0%, transparent 55%);
  pointer-events: none;
}
.si-cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(1,8,128,0.5) 0%, transparent 65%);
}
.si-cta__inner { position: relative; z-index: 2; }
.si-cta__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 767px) {
  .si-cta__split { grid-template-columns: 1fr; gap: 2.5rem; }
  .si-cta__image-wrap { order: -1; }
}
.si-cta__text { padding: 1rem 0; }
.si-cta__headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700;
  color: white; line-height: 1.1; margin-bottom: 1.25rem;
}
.si-cta__sub {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.8); line-height: 1.75;
  margin-bottom: 2.25rem;
}
.si-cta__image-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  border: 3px solid rgba(255,255,255,0.15);
}
.si-cta__image {
  width: 100%; display: block;
  aspect-ratio: 4/3; object-fit: cover;
  transition: transform 0.4s ease;
}
.si-cta__image-wrap:hover .si-cta__image { transform: scale(1.03); }

/* Scheduler section */
.si-scheduler-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 767px) { .si-scheduler-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.si-scheduler__cards { position: relative; padding: 1rem; }
.si-scheduler__card {
  background: var(--card-bg-elevated);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  border-left: 4px solid var(--ui-accent);
  font-family: 'DM Sans', sans-serif;
}
.si-scheduler__card--2 { margin-left: 2rem;   border-left-color: var(--primary-yellow); }
.si-scheduler__card--3 { margin-left: 1rem; }
.si-scheduler__card--4 { margin-left: 2.5rem; border-left-color: #2ECC71; }
.si-scheduler__card i  { font-size: 1.3rem; color: var(--ui-accent); flex-shrink: 0; }
.si-scheduler__card--2 i { color: var(--primary-yellow); }
.si-scheduler__card--4 i { color: #2ECC71; }
.si-scheduler__card strong { display: block; font-size: 0.9rem; color: var(--text-color); }
.si-scheduler__card span   { font-size: 0.8rem; color: var(--text-muted); }