/* Midnight Ascent Architecture Studio - CSS */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #1A237E;
  --secondary-color: #00E676;
  --dark-bg: #0D1117;
  --light-bg: #F8F9FA;
  --text-dark: #212529;
  --text-light: #FFFFFF;
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background-color: var(--light-bg);
}

/* ===== TYPOGRAPHY ===== */
.display-1, .display-3, .display-4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
}

/* ===== NAVBAR ===== */
.navbar {
  padding: 1rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0D47A1 100%) !important;
  box-shadow: var(--shadow);
  transition: var(--transition);
  z-index: 1030;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(26, 35, 126, 0.98) !important;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  color: var(--text-light) !important;
  font-weight: 700 !important;
  font-size: 1.75rem !important;
  letter-spacing: -0.01em;
  transition: var(--transition);
  text-transform: uppercase;
}

.navbar-brand:hover {
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
}

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 230, 118, 0.25) !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='%2300E676' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-nav {
  gap: 1rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.375rem;
  transition: var(--transition);
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color) !important;
  background: rgba(0, 230, 118, 0.1) !important;
}

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

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #0A1128 0%, var(--primary-color) 50%, #0D47A1 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 230, 118, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 230, 118, 0.15) 0%, transparent 50%),
    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='%23ffffff' fill-opacity='0.03'%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");
  animation: moveBackground 60s linear infinite;
  pointer-events: none;
}

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

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

.hero-section .display-1 {
  color: var(--text-light) !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out 0.2s both;
  max-width: 700px;
}

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

.animate-bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  50% {
    transform: translateY(-20px) translateX(-50%);
  }
}

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

.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: 300px;
  height: 300px;
}

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

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

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

.book-btn,
.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #00C853 100%) !important;
  border: 2px solid var(--secondary-color) !important;
  color: var(--primary-color) !important;
  font-weight: 700 !important;
}

.book-btn:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, #00C853 0%, var(--secondary-color) 100%) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 230, 118, 0.4) !important;
  color: var(--text-light) !important;
}

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

/* ===== CARDS ===== */
.card {
  border: none !important;
  border-radius: 1rem !important;
  transition: var(--transition);
  overflow: hidden;
  background: var(--text-light) !important;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.card-body {
  padding: 2rem !important;
}

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

.card-text {
  color: #6C757D;
  line-height: 1.8;
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-img-top {
  transform: scale(1.1);
}

/* ===== PROGRAM CARDS ===== */
.program-card {
  position: relative;
  border: 2px solid #E9ECEF !important;
  background: var(--text-light) !important;
}

.program-card:hover {
  border-color: var(--secondary-color) !important;
}

.program-details {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0D47A1 100%);
  color: var(--text-light) !important;
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-top: 1rem;
}

/* ===== ACHIEVEMENT SECTION ===== */
.achievement-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0D47A1 100%);
  color: var(--text-light) !important;
  position: relative;
  overflow: hidden;
}

.achievement-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.achievement-card {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  color: var(--text-light) !important;
  transition: var(--transition);
}

.achievement-card:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-10px) scale(1.02);
}

.achievement-icon {
  width: 80px;
  height: 80px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary-color) !important;
  box-shadow: 0 10px 30px rgba(0, 230, 118, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.achievement-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary-color) !important;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 0.5rem;
}

.achievement-text {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.1rem;
  font-weight: 500;
}

/* ===== TEAM SECTION ===== */
.team-intro {
  background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
  padding: 3rem 0;
}

.hexagon-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 0;
}

.trainer-hex {
  width: 280px;
  height: 320px;
  position: relative;
  perspective: 1000px;
  cursor: pointer;
  transition: var(--transition);
}

.hex-face {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  transition: transform 0.6s;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hex-front {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0D47A1 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hex-back {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #00C853 100%);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: 2rem;
  justify-content: center;
}

.trainer-hex:hover .hex-front {
  transform: rotateY(-180deg);
}

.trainer-hex:hover .hex-back {
  transform: rotateY(0deg);
}

.trainer-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--secondary-color);
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.trainer-name {
  color: var(--text-light) !important;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.trainer-title {
  color: var(--secondary-color) !important;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.specialty-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--primary-color) !important;
}

.specialty-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(26, 35, 126, 0.2);
  font-weight: 600;
}

.specialty-list li:last-child {
  border-bottom: none;
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.badge-item {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== BADGES ===== */
.badge {
  padding: 0.5rem 1rem !important;
  font-weight: 600 !important;
  border-radius: 2rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem !important;
}

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

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

/* ===== FORMS ===== */
.form-control,
.form-select {
  border: 2px solid #DEE2E6 !important;
  border-radius: 0.5rem !important;
  padding: 0.875rem 1rem !important;
  font-size: 1rem !important;
  transition: var(--transition);
  background: var(--text-light) !important;
  color: var(--text-dark) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(0, 230, 118, 0.15) !important;
  outline: none;
}

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

.form-check-input {
  width: 1.25rem !important;
  height: 1.25rem !important;
  border: 2px solid #DEE2E6 !important;
  border-radius: 0.25rem !important;
  cursor: pointer;
}

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

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

.form-check-label {
  cursor: pointer;
  color: var(--text-dark) !important;
  font-weight: 500;
}

/* ===== ACCORDION ===== */
.accordion {
  border-radius: 1rem !important;
  overflow: hidden;
}

.accordion-item {
  border: 2px solid #E9ECEF !important;
  margin-bottom: 1rem !important;
  border-radius: 0.75rem !important;
  overflow: hidden;
  background: var(--text-light) !important;
}

.accordion-button {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0D47A1 100%) !important;
  color: var(--text-light) !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  padding: 1.25rem 1.5rem !important;
  border: none !important;
  transition: var(--transition);
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #0D47A1 0%, var(--primary-color) 100%) !important;
  color: var(--secondary-color) !important;
  box-shadow: none !important;
}

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

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

.accordion-body {
  padding: 1.5rem !important;
  background: var(--text-light) !important;
  color: var(--text-dark) !important;
  line-height: 1.8;
  font-size: 1rem;
}

.accordion-collapse {
  background: var(--text-light) !important;
}

/* ===== FILTER BUTTONS ===== */
.filter-btn {
  background: transparent !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 2rem !important;
  font-weight: 600 !important;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem !important;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(26, 35, 126, 0.2) !important;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, #0A1128 0%, var(--primary-color) 100%) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  position: relative;
  overflow: hidden;
}

footer::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='%23ffffff' fill-opacity='0.02'%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;
  pointer-events: none;
}

footer h5 {
  color: var(--secondary-color) !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

.footer-link-list a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.footer-link-list a:hover {
  color: var(--secondary-color) !important;
  transform: translateX(5px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info a,
.contact-info p {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
  font-weight: 500;
}

.contact-info a:hover {
  color: var(--secondary-color) !important;
  transform: translateX(5px);
}

.border-bottom {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ===== SOCIAL ICONS ===== */
.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-youtube,
.bi-linkedin {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8) !important;
  transition: var(--transition);
  cursor: pointer;
}

.bi-facebook:hover {
  color: #1877F2 !important;
  transform: translateY(-5px);
}

.bi-instagram:hover {
  color: #E4405F !important;
  transform: translateY(-5px);
}

.bi-twitter:hover {
  color: #1DA1F2 !important;
  transform: translateY(-5px);
}

.bi-youtube:hover {
  color: #FF0000 !important;
  transform: translateY(-5px);
}

.bi-linkedin:hover {
  color: #0A66C2 !important;
  transform: translateY(-5px);
}

/* ===== SHADOWS ===== */
.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow {
  box-shadow: var(--shadow) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

/* ===== BACKGROUND UTILITIES ===== */
.bg-white {
  background-color: var(--text-light) !important;
}

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

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

.text-dark {
  color: var(--text-dark) !important;
}

.text-muted {
  color: #6C757D !important;
}

/* ===== BORDER UTILITIES ===== */
.border {
  border: 2px solid #DEE2E6 !important;
}

.border-0 {
  border: none !important;
}

.rounded {
  border-radius: 0.5rem !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

/* ===== POSITION UTILITIES ===== */
.position-relative {
  position: relative !important;
}

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

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

.position-sticky {
  position: sticky !important;
  top: 100px;
  z-index: 10;
}

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

/* ===== ICONS ===== */
.bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bi-check-circle-fill,
.bi-award,
.bi-graph-up-arrow,
.bi-gear,
.bi-clock,
.bi-person-badge,
.bi-lightning-charge,
.bi-trophy,
.bi-heart-pulse,
.bi-people {
  color: var(--secondary-color) !important;
}

/* ===== IMAGES ===== */
.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

/* ===== OPACITY ===== */
.opacity-75 {
  opacity: 0.75 !important;
}

/* ===== SPACING UTILITIES ===== */
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(26, 35, 126, 0.98);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
  }

  .navbar-nav {
    gap: 0.5rem;
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
  }

  .display-1 {
    font-size: 3rem !important;
  }

  .display-3 {
    font-size: 2.5rem !important;
  }

  .display-4 {
    font-size: 2rem !important;
  }

  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 1rem !important;
  }

  .achievement-number {
    font-size: 2.5rem;
  }

  .trainer-hex {
    width: 100%;
    max-width: 280px;
  }

  .position-sticky {
    position: relative !important;
    top: auto;
  }
}

@media (max-width: 767.98px) {
  .display-1 {
    font-size: 2.5rem !important;
  }

  .display-3 {
    font-size: 2rem !important;
  }

  .display-4 {
    font-size: 1.75rem !important;
  }

  .lead {
    font-size: 1.1rem;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
  }

  .achievement-number {
    font-size: 2rem;
  }

  .achievement-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .card-img-top {
    height: 200px;
  }

  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

@media (max-width: 575.98px) {
  .display-1 {
    font-size: 2rem !important;
  }

  .display-3 {
    font-size: 1.75rem !important;
  }

  .display-4 {
    font-size: 1.5rem !important;
  }

  .navbar-brand {
    font-size: 1.25rem !important;
  }

  .btn-lg {
    padding: 0.625rem 1.25rem !important;
    font-size: 0.9rem !important;
  }

  .achievement-number {
    font-size: 1.75rem;
  }

  .card-body {
    padding: 1.5rem !important;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 6px;
  transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 1s ease-out;
}

.animate-slideInLeft {
  animation: slideInLeft 1s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 1s ease-out;
}

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

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

/* ===== LOADING STATES ===== */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

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

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