/* Blaze Midnight Architecture Studio Theme */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #E63946;
  --secondary-color: #1D3557;
  --dark-bg: #0B1622;
  --light-text: #F1FAEE;
  --accent-gold: #FFB703;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 30px rgba(230, 57, 70, 0.3);
  --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--dark-bg) !important;
  color: var(--light-text) !important;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  color: var(--light-text) !important;
  letter-spacing: -0.02em;
  line-height: 1.2 !important;
}

.display-1 {
  font-size: clamp(3rem, 8vw, 6rem) !important;
  text-shadow: 2px 2px 20px rgba(230, 57, 70, 0.5);
}

.display-2 {
  font-size: clamp(2.5rem, 6vw, 5rem) !important;
}

.display-3 {
  font-size: clamp(2rem, 5vw, 4rem) !important;
}

.display-4 {
  font-size: clamp(1.75rem, 4vw, 3.5rem) !important;
}

.display-5 {
  font-size: clamp(1.5rem, 3vw, 3rem) !important;
}

.display-6 {
  font-size: clamp(1.25rem, 2.5vw, 2.5rem) !important;
}

.lead {
  font-size: clamp(1rem, 2vw, 1.5rem) !important;
  color: var(--light-text) !important;
  opacity: 0.9;
}

.fs-1, .fs-2, .fs-3, .fs-4, .fs-5 {
  color: var(--light-text) !important;
}

.text-white {
  color: #ffffff !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

.text-muted {
  color: rgba(241, 250, 238, 0.6) !important;
}

.text-success {
  color: #00D9A3 !important;
}

.text-warning {
  color: var(--accent-gold) !important;
}

/* ===== NAVBAR ===== */
.navbar {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-bg) 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
  padding: 1rem 0 !important;
  transition: var(--transition-smooth);
  z-index: 1050;
}

.navbar.scrolled {
  background: rgba(11, 22, 34, 0.95) !important;
  padding: 0.5rem 0 !important;
}

.navbar-brand {
  font-size: 1.8rem !important;
  color: var(--primary-color) !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(230, 57, 70, 0.6);
  transition: var(--transition-smooth);
}

.navbar-brand:hover {
  color: #ffffff !important;
  transform: scale(1.05);
  text-shadow: 0 0 30px rgba(230, 57, 70, 0.9);
}

.navbar-toggler {
  border: 2px solid var(--primary-color) !important;
  padding: 0.5rem 0.75rem !important;
  transition: var(--transition-smooth);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(230, 57, 70, 0.4) !important;
}

.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(230, 57, 70, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.2rem;
  position: relative;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
  transform: translateX(-50%);
  transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 80%;
}

/* ===== BUTTONS ===== */
.btn {
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 50px !important;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 2px solid transparent !important;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.btn:hover::before {
  width: 300%;
  height: 300%;
}

.btn-lg {
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem !important;
}

.btn-sm {
  padding: 0.5rem 1.5rem !important;
  font-size: 0.875rem !important;
}

.btn-primary,
.btn.bg-danger {
  background: linear-gradient(135deg, var(--primary-color), #d62839) !important;
  color: #ffffff !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 5px 20px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover,
.btn.bg-danger:hover {
  background: linear-gradient(135deg, #d62839, var(--primary-color)) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(230, 57, 70, 0.6);
}

.btn-outline-light {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  background: transparent !important;
}

.btn-outline-light:hover {
  color: var(--primary-color) !important;
  background: #ffffff !important;
  border-color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.btn-outline-secondary {
  color: var(--light-text) !important;
  border-color: var(--secondary-color) !important;
  background: transparent !important;
}

.btn-outline-secondary:hover {
  color: #ffffff !important;
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-3px);
}

.btn-light {
  background: #ffffff !important;
  color: var(--secondary-color) !important;
  border-color: #ffffff !important;
}

.btn-light:hover {
  background: var(--light-text) !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.btn-close-white {
  filter: brightness(0) invert(1) !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 50%, #0B1622 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23E63946" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.3;
  animation: backgroundScroll 60s linear infinite;
}

@keyframes backgroundScroll {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.hero-section .position-absolute {
  z-index: 0;
}

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

.hero-section .row {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section .display-1 {
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-section .display-4 {
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-section .lead {
  animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero-section .d-flex.gap-3 {
  animation: fadeInUp 1s ease-out 0.8s backwards;
}

.hero-section .fa-chevron-down {
  animation: bounce 2s infinite;
  color: var(--primary-color) !important;
  filter: drop-shadow(0 0 10px rgba(230, 57, 70, 0.6));
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-8px);
  }
}

/* ===== CARDS ===== */
.card {
  background: linear-gradient(145deg, rgba(29, 53, 87, 0.4), rgba(11, 22, 34, 0.6)) !important;
  border: 1px solid rgba(230, 57, 70, 0.2) !important;
  border-radius: 20px !important;
  overflow: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow), var(--shadow-deep);
  border-color: var(--primary-color) !important;
}

.card-body {
  padding: 2rem !important;
  color: var(--light-text) !important;
}

.card-title {
  color: var(--light-text) !important;
  font-weight: 700 !important;
  font-size: 1.5rem !important;
  margin-bottom: 1rem !important;
}

.card-text {
  color: rgba(241, 250, 238, 0.85) !important;
  line-height: 1.7;
}

.card-header {
  background: linear-gradient(135deg, var(--primary-color), #d62839) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-bottom: none !important;
  padding: 1.5rem !important;
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: var(--transition-smooth);
  filter: brightness(0.8) contrast(1.1);
}

.card:hover .card-img-top {
  transform: scale(1.1);
  filter: brightness(1) contrast(1.2);
}

/* ===== SECTIONS ===== */
.py-5 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.my-5 {
  margin-top: 5rem !important;
  margin-bottom: 5rem !important;
}

.bg-light {
  background: linear-gradient(135deg, rgba(29, 53, 87, 0.3), rgba(11, 22, 34, 0.5)) !important;
}

/* ===== IMAGES ===== */
.img-fluid {
  border-radius: 15px;
  transition: var(--transition-smooth);
}

.shadow-lg {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
}

.rounded {
  border-radius: 15px !important;
}

.rounded-circle {
  border-radius: 50% !important;
  border: 4px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
}

.object-fit-cover {
  object-fit: cover !important;
  width: 100%;
  height: 100%;
}

/* ===== ICONS ===== */
.fas, .fab, .fa, .bi {
  color: var(--primary-color) !important;
  transition: var(--transition-smooth);
}

.fa-fire, .bi-fire {
  animation: flicker 2s infinite alternate;
}

@keyframes flicker {
  0%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(230, 57, 70, 0.8));
  }
  50% {
    opacity: 0.8;
    filter: drop-shadow(0 0 5px rgba(230, 57, 70, 0.4));
  }
}

.fa-2x, .fa-3x {
  margin-bottom: 1rem;
}

/* ===== BADGES ===== */
.badge {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  padding: 0.5rem 1rem !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

/* ===== TIMELINE ===== */
.timeline-container {
  position: relative;
  padding-left: 2rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
  animation: fadeInLeft 0.6s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 4px solid var(--dark-bg);
  box-shadow: 0 0 20px rgba(230, 57, 70, 0.6);
  z-index: 2;
}

.timeline-line {
  position: absolute;
  left: -1.55rem;
  top: 20px;
  width: 3px;
  height: calc(100% - 20px);
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.timeline-item:last-child .timeline-line {
  display: none;
}

/* ===== TEAM GRID ===== */
.team-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 400px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  filter: brightness(0.7);
}

.team-card:hover img {
  transform: scale(1.1);
  filter: brightness(0.5);
}

.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(11, 22, 34, 0.95), transparent);
  transform: translateY(60%);
  transition: var(--transition-smooth);
}

.team-card:hover .team-overlay {
  transform: translateY(0);
}

/* ===== FORMS ===== */
.form-label {
  color: var(--light-text) !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
  font-size: 1rem;
}

.form-control,
.form-select {
  background: rgba(29, 53, 87, 0.3) !important;
  border: 2px solid rgba(230, 57, 70, 0.3) !important;
  border-radius: 10px !important;
  color: var(--light-text) !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-control:focus,
.form-select:focus {
  background: rgba(29, 53, 87, 0.5) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(230, 57, 70, 0.25) !important;
  color: #ffffff !important;
}

.form-control::placeholder {
  color: rgba(241, 250, 238, 0.5) !important;
}

.form-check-input {
  background-color: rgba(29, 53, 87, 0.3) !important;
  border: 2px solid rgba(230, 57, 70, 0.3) !important;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(230, 57, 70, 0.25) !important;
}

.form-check-label {
  color: var(--light-text) !important;
  cursor: pointer;
  margin-left: 0.5rem;
}

.invalid-feedback {
  color: #ff6b6b !important;
  font-weight: 600;
  margin-top: 0.5rem;
}

.valid-feedback {
  color: #00D9A3 !important;
  font-weight: 600;
  margin-top: 0.5rem;
}

.form-control.is-invalid {
  border-color: #ff6b6b !important;
}

.form-control.is-valid {
  border-color: #00D9A3 !important;
}

/* ===== ALERTS ===== */
.alert {
  border-radius: 15px !important;
  border: none !important;
  padding: 1.5rem !important;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.alert-success {
  background: linear-gradient(135deg, #00D9A3, #00B386) !important;
  color: #ffffff !important;
}

.alert-info {
  background: linear-gradient(135deg, #3B82F6, #2563EB) !important;
  color: #ffffff !important;
}

.alert-warning {
  background: linear-gradient(135deg, var(--accent-gold), #FB8500) !important;
  color: var(--dark-bg) !important;
}

/* ===== ACCORDION ===== */
.accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: rgba(230, 57, 70, 0.2);
}

.accordion-item {
  background: linear-gradient(145deg, rgba(29, 53, 87, 0.3), rgba(11, 22, 34, 0.5)) !important;
  border: 1px solid rgba(230, 57, 70, 0.2) !important;
  border-radius: 15px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background: linear-gradient(135deg, var(--secondary-color), var(--dark-bg)) !important;
  color: var(--light-text) !important;
  font-weight: 700 !important;
  font-size: 1.1rem;
  padding: 1.5rem !important;
  border: none !important;
  transition: var(--transition-smooth);
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary-color), #d62839) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(230, 57, 70, 0.25) !important;
}

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  background: rgba(11, 22, 34, 0.5) !important;
  color: var(--light-text) !important;
  padding: 2rem !important;
  line-height: 1.8;
}

/* ===== LIST GROUP ===== */
.list-group {
  border-radius: 15px;
  overflow: hidden;
}

.list-group-item {
  background: linear-gradient(145deg, rgba(29, 53, 87, 0.4), rgba(11, 22, 34, 0.6)) !important;
  border: 1px solid rgba(230, 57, 70, 0.2) !important;
  color: var(--light-text) !important;
  padding: 1.25rem !important;
  transition: var(--transition-smooth);
}

.list-group-item:hover,
.list-group-item-action:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--dark-bg)) !important;
  border-color: var(--primary-color) !important;
  transform: translateX(5px);
  color: #ffffff !important;
}

.list-group-item-action {
  cursor: pointer;
}

.list-unstyled {
  list-style: none;
  padding-left: 0;
}

.list-unstyled li {
  padding: 0.5rem 0;
  color: var(--light-text) !important;
}

/* ===== MODAL ===== */
.modal-content {
  background: linear-gradient(145deg, var(--secondary-color), var(--dark-bg)) !important;
  border: 2px solid var(--primary-color) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  color: var(--light-text) !important;
}

.modal-header {
  border-bottom: 1px solid rgba(230, 57, 70, 0.3) !important;
  padding: 2rem !important;
  background: linear-gradient(135deg, var(--primary-color), #d62839) !important;
}

.modal-title {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.75rem !important;
}

.modal-body {
  padding: 2rem !important;
  color: var(--light-text) !important;
}

.modal-footer {
  border-top: 1px solid rgba(230, 57, 70, 0.3) !important;
  padding: 1.5rem 2rem !important;
}

/* ===== SCHEDULE & CLASS CARDS ===== */
.schedule-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.class-card,
.class-item {
  background: linear-gradient(145deg, rgba(29, 53, 87, 0.4), rgba(11, 22, 34, 0.6)) !important;
  border: 2px solid rgba(230, 57, 70, 0.2) !important;
  border-radius: 15px;
  padding: 1.5rem;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.class-card:hover,
.class-item:hover {
  border-color: var(--primary-color) !important;
  transform: translateX(5px);
  box-shadow: 0 5px 25px rgba(230, 57, 70, 0.3);
}

.class-details {
  color: var(--light-text) !important;
}

.toggle-details {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color) !important;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.toggle-details:hover {
  background: var(--primary-color);
  color: #ffffff !important;
}

/* ===== FILTER BUTTONS ===== */
.filter-btn {
  background: rgba(29, 53, 87, 0.5) !important;
  border: 2px solid rgba(230, 57, 70, 0.3) !important;
  color: var(--light-text) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  transition: var(--transition-smooth);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(230, 57, 70, 0.4);
}

/* ===== TRAINER MASONRY ===== */
.trainer-masonry {
  column-count: 3;
  column-gap: 2rem;
}

.trainer-card-wrapper {
  break-inside: avoid;
  margin-bottom: 2rem;
}

.trainer-card {
  background: linear-gradient(145deg, rgba(29, 53, 87, 0.4), rgba(11, 22, 34, 0.6)) !important;
  border: 2px solid rgba(230, 57, 70, 0.2) !important;
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.trainer-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color) !important;
  box-shadow: 0 15px 40px rgba(230, 57, 70, 0.3);
}

/* ===== COUNTER ===== */
.counter {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color) !important;
  text-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
  display: inline-block;
}

/* ===== RATIO (VIDEO EMBEDS) ===== */
.ratio {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ===== UTILITIES ===== */
.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.text-decoration-none {
  text-decoration: none !important;
  color: var(--light-text) !important;
  transition: var(--transition-smooth);
}

.text-decoration-none:hover {
  color: var(--primary-color) !important;
}

.d-none {
  display: none !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.flex-grow-1 {
  flex-grow: 1 !important;
}

.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.position-fixed {
  position: fixed !important;
  z-index: 1040;
}

.position-sticky {
  position: sticky !important;
  top: 80px;
}

.overflow-hidden {
  overflow: hidden !important;
}

.vh-100 {
  height: 100vh !important;
}

.min-vh-100 {
  min-height: 100vh !important;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.top-0 {
  top: 0 !important;
}

.start-0 {
  left: 0 !important;
}

.end-0 {
  right: 0 !important;
}

.bottom-0 {
  bottom: 0 !important;
}

.start-50 {
  left: 50% !important;
}

.translate-middle-x {
  transform: translateX(-50%) !important;
}

/* ===== SPACING UTILITIES ===== */
.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.ps-5 { padding-left: 3rem !important; }
.ps-lg-5 { padding-left: 3rem !important; }
.pe-lg-5 { padding-right: 3rem !important; }
.m-0 { margin: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mb-lg-0 { margin-bottom: 0 !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-lg-0 { margin-top: 0 !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-auto { margin-left: auto !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* ===== BORDER UTILITIES ===== */
.border-0 { border: 0 !important; }
.border-bottom { border-bottom: 1px solid rgba(230, 57, 70, 0.2) !important; }
.border-secondary { border-color: rgba(230, 57, 70, 0.3) !important; }
.rounded-3 { border-radius: 15px !important; }

/* ===== SHADOW UTILITIES ===== */
.shadow { box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important; }
.shadow-sm { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important; }
.shadow-lg { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important; }

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, var(--dark-bg), var(--secondary-color)) !important;
  color: var(--light-text) !important;
  border-top: 3px solid var(--primary-color);
  margin-top: 5rem;
}

footer a {
  color: rgba(241, 250, 238, 0.8) !important;
  transition: var(--transition-smooth);
  text-decoration: none;
}

footer a:hover {
  color: var(--primary-color) !important;
  transform: translateX(5px);
}

footer .bi,
footer .fab {
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

footer .bi:hover,
footer .fab:hover {
  color: #ffffff !important;
  transform: scale(1.2);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1199px) {
  .trainer-masonry {
    column-count: 2;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(11, 22, 34, 0.98);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 15px;
    border: 1px solid rgba(230, 57, 70, 0.3);
  }
  
  .nav-link {
    padding: 1rem !important;
    border-bottom: 1px solid rgba(230, 57, 70, 0.1);
  }
  
  .nav-link::before {
    display: none;
  }
  
  .ps-lg-5 {
    padding-left: 1rem !important;
  }
  
  .pe-lg-5 {
    padding-right: 1rem !important;
  }
  
  .text-lg-end {
    text-align: center !important;
  }
  
  .mt-lg-0 {
    margin-top: 1.5rem !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 1.5rem !important;
  }
}

@media (max-width: 767px) {
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-2 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .hero-section {
    height: auto !important;
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .trainer-masonry {
    column-count: 1;
  }
  
  .team-grid-container {
    grid-template-columns: 1fr;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .modal-body {
    padding: 1.5rem !important;
  }
  
  .counter {
    font-size: 2rem;
  }
}

@media (max-width: 575px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .gap-3 {
    gap: 0.75rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
  }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  border-radius: 10px;
  border: 2px solid var(--dark-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #d62839, var(--primary-color));
}

/* ===== SELECTION STYLING ===== */
::selection {
  background: var(--primary-color);
  color: #ffffff;
}

::-moz-selection {
  background: var(--primary-color);
  color: #ffffff;
}

/* ===== LOADING ANIMATIONS ===== */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== ACCESSIBILITY ===== */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}