/* Obsidian Fire Architecture Studio - Custom Styles */

/* === ROOT VARIABLES === */
:root {
  --primary-color: #E53935;
  --secondary-color: #212121;
  --dark-bg: #0a0a0a;
  --light-text: #ffffff;
  --gray-text: #b0b0b0;
  --transition-speed: 0.4s;
  --shadow-fire: 0 0 30px rgba(229, 57, 53, 0.3);
  --shadow-deep: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--dark-bg) !important;
  color: var(--light-text) !important;
  line-height: 1.6;
  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;
}

.lead {
  color: var(--gray-text) !important;
  font-size: 1.25rem !important;
  font-weight: 300;
}

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

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

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

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

/* === NAVBAR === */
.navbar {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(33, 33, 33, 0.9) 100%) !important;
  backdrop-filter: blur(10px);
  transition: all var(--transition-speed) ease;
  border-bottom: 1px solid rgba(229, 57, 53, 0.1);
  padding: 1rem 0 !important;
  z-index: 1030;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.98) !important;
  box-shadow: var(--shadow-deep);
  padding: 0.5rem 0 !important;
}

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

.navbar-brand:hover {
  color: var(--primary-color) !important;
  text-shadow: var(--shadow-fire);
  transform: scale(1.05);
}

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

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

.navbar-nav .nav-link {
  color: var(--gray-text) !important;
  font-weight: 500 !important;
  padding: 0.75rem 1.25rem !important;
  margin: 0 0.25rem;
  transition: all var(--transition-speed) ease;
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

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

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

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

/* === BUTTONS === */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-speed) ease !important;
  border-radius: 4px !important;
  border-width: 2px !important;
  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.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

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

.btn-primary,
.btn-lg {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.btn-primary:hover,
.btn-lg:hover {
  background-color: #c62828 !important;
  border-color: #c62828 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.5);
}

.btn-outline-light {
  border-color: #ffffff !important;
  color: #ffffff !important;
  background-color: transparent !important;
}

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

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

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

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

.btn-light:hover {
  background-color: var(--gray-text) !important;
  border-color: var(--gray-text) !important;
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
}

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

.btn-dark:hover {
  background-color: #000000 !important;
  border-color: #000000 !important;
  transform: translateY(-2px);
}

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

/* === HERO SECTION === */
.position-relative.overflow-hidden {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-bg) 100%);
  position: relative;
}

.position-relative.overflow-hidden::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(229, 57, 53, 0.15) 0%, transparent 60%);
  z-index: 1;
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.object-fit-cover {
  object-fit: cover !important;
  opacity: 0.3;
  filter: grayscale(30%);
  z-index: 0;
}

.position-relative .container {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

.display-1 {
  font-size: clamp(2.5rem, 8vw, 5rem) !important;
  font-weight: 900 !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

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

.bi-chevron-down {
  font-size: 2rem;
  animation: bounce 2s infinite;
  color: var(--primary-color) !important;
}

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

/* === BADGES === */
.badge {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 20px !important;
}

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

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

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

.p-5, .p-lg-5 {
  padding: 3rem !important;
}

.p-lg-6 {
  padding: 4rem !important;
}

/* === CARDS === */
.card {
  background-color: rgba(33, 33, 33, 0.8) !important;
  border: 1px solid rgba(229, 57, 53, 0.2) !important;
  border-radius: 8px !important;
  transition: all var(--transition-speed) ease;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-fire), 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;
  margin-bottom: 1rem !important;
}

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

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

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

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

.shadow-sm {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

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

.shadow-lg {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7) !important;
}

/* === CONTACT CARD === */
.contact-card {
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.1) 0%, rgba(33, 33, 33, 0.9) 100%) !important;
  border: 2px solid rgba(229, 57, 53, 0.3) !important;
}

.contact-card .bi {
  color: var(--primary-color) !important;
  font-size: 1.5rem;
}

/* === FLIP CARDS === */
.card-flip {
  perspective: 1000px;
  height: 400px;
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.6s ease;
  border-radius: 8px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.card-front {
  background-color: rgba(33, 33, 33, 0.9) !important;
  border: 1px solid rgba(229, 57, 53, 0.2) !important;
}

.card-back {
  background: linear-gradient(135deg, var(--primary-color) 0%, #c62828 100%) !important;
  transform: rotateY(180deg);
}

.card-flip:hover .card-front {
  transform: rotateY(180deg);
}

.card-flip:hover .card-back {
  transform: rotateY(0);
}

.instructor-card .card-flip {
  cursor: pointer;
}

/* === FORMS === */
.form-control,
.form-select,
.form-control-lg,
.form-select-lg {
  background-color: rgba(33, 33, 33, 0.8) !important;
  border: 2px solid rgba(229, 57, 53, 0.2) !important;
  color: var(--light-text) !important;
  padding: 0.75rem 1rem !important;
  border-radius: 4px !important;
  transition: all var(--transition-speed) ease;
}

.form-control:focus,
.form-select:focus,
.form-control-lg:focus,
.form-select-lg:focus {
  background-color: rgba(33, 33, 33, 0.95) !important;
  border-color: var(--primary-color) !important;
  color: var(--light-text) !important;
  box-shadow: 0 0 0 0.25rem rgba(229, 57, 53, 0.25) !important;
}

.form-control::placeholder {
  color: var(--gray-text) !important;
  opacity: 0.7;
}

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

.form-check-input {
  background-color: rgba(33, 33, 33, 0.8) !important;
  border: 2px solid rgba(229, 57, 53, 0.2) !important;
  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(229, 57, 53, 0.25) !important;
}

.form-check-label {
  color: var(--gray-text) !important;
  cursor: pointer;
}

.invalid-feedback {
  color: #ff5252 !important;
  font-weight: 500 !important;
}

.valid-feedback {
  color: #4caf50 !important;
  font-weight: 500 !important;
}

.was-validated .form-control:invalid {
  border-color: #ff5252 !important;
}

.was-validated .form-control:valid {
  border-color: #4caf50 !important;
}

/* === FORM STEPS === */
.form-step {
  display: none;
  animation: fadeInRight 0.5s ease;
}

.form-step.active {
  display: block;
}

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

/* === ALERTS === */
.alert {
  border-radius: 8px !important;
  border: 2px solid transparent !important;
  padding: 1rem 1.5rem !important;
  font-weight: 500 !important;
}

.alert-success {
  background-color: rgba(76, 175, 80, 0.15) !important;
  border-color: #4caf50 !important;
  color: #4caf50 !important;
}

/* === ICONS === */
.bi {
  font-size: 1.25rem;
  vertical-align: middle;
}

.bi-lightning-charge-fill,
.bi-fire,
.bi-play-fill {
  color: var(--primary-color) !important;
}

/* === PROGRESS BARS === */
.progress {
  background-color: rgba(33, 33, 33, 0.8) !important;
  height: 10px !important;
  border-radius: 10px !important;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary-color) 0%, #ff6659 100%) !important;
  animation: progressAnimation 1s ease-out;
}

@keyframes progressAnimation {
  from { width: 0; }
}

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

.timeline-block {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 2rem;
  border-left: 2px solid rgba(229, 57, 53, 0.3);
}

.timeline-block::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 14px;
  height: 14px;
  background-color: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.2);
}

.timeline-block:hover::before {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(229, 57, 53, 0.1); }
  100% { box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.2); }
}

/* === CAROUSEL === */
.carousel {
  background-color: rgba(33, 33, 33, 0.5) !important;
  border-radius: 8px !important;
  overflow: hidden;
}

.carousel-inner {
  border-radius: 8px !important;
}

.carousel-item {
  transition: transform 0.6s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5% !important;
  opacity: 0.8 !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1 !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary-color);
  border-radius: 50%;
  padding: 1.5rem;
}

/* === ACCORDION === */
.accordion {
  background-color: transparent !important;
}

.accordion-item {
  background-color: rgba(33, 33, 33, 0.6) !important;
  border: 1px solid rgba(229, 57, 53, 0.2) !important;
  margin-bottom: 1rem;
  border-radius: 8px !important;
  overflow: hidden;
}

.accordion-button {
  background-color: rgba(33, 33, 33, 0.8) !important;
  color: var(--light-text) !important;
  font-weight: 600 !important;
  padding: 1.25rem 1.5rem !important;
  border: none !important;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(229, 57, 53, 0.2) !important;
  color: var(--light-text) !important;
  box-shadow: none !important;
}

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

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

.accordion-body {
  background-color: rgba(33, 33, 33, 0.4) !important;
  color: var(--gray-text) !important;
  padding: 1.5rem !important;
}

/* === FILTER BUTTONS === */
.filter-btn {
  background-color: rgba(33, 33, 33, 0.8) !important;
  border: 2px solid rgba(229, 57, 53, 0.2) !important;
  color: var(--gray-text) !important;
  padding: 0.75rem 1.5rem !important;
  margin: 0.5rem !important;
  border-radius: 50px !important;
  transition: all var(--transition-speed) ease !important;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.intensity-btn {
  background-color: rgba(33, 33, 33, 0.8) !important;
  border: 2px solid rgba(229, 57, 53, 0.2) !important;
  color: var(--gray-text) !important;
  transition: all var(--transition-speed) ease !important;
}

.intensity-btn.active {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
}

/* === CLASS ITEMS === */
.class-item {
  transition: all var(--transition-speed) ease;
  animation: fadeIn 0.5s ease;
}

.class-item.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* === SCHEDULE TIMES === */
.schedule-times {
  background-color: rgba(229, 57, 53, 0.1);
  border-left: 3px solid var(--primary-color);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin-top: 1rem;
}

/* === STATS SECTION === */
.col-md-3.text-center,
.col-md-4.text-center,
.col-6.text-center {
  padding: 2rem 1rem;
  transition: all var(--transition-speed) ease;
}

.col-md-3.text-center:hover,
.col-md-4.text-center:hover,
.col-6.text-center:hover {
  transform: translateY(-5px);
}

.col-md-3.text-center .bi,
.col-md-4.text-center .bi,
.col-6.text-center .bi {
  font-size: 3rem;
  color: var(--primary-color) !important;
  margin-bottom: 1rem;
  display: block;
}

/* === FOOTER === */
footer {
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--secondary-color) 100%) !important;
  border-top: 1px solid rgba(229, 57, 53, 0.2);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

footer a {
  color: var(--gray-text) !important;
  text-decoration: none !important;
  transition: all var(--transition-speed) ease;
}

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

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

.border-top {
  border-top: 1px solid rgba(229, 57, 53, 0.2) !important;
}

/* === SOCIAL ICONS === */
.bi-facebook,
.bi-instagram,
.bi-youtube,
.bi-twitter-x {
  font-size: 1.5rem !important;
  transition: all var(--transition-speed) ease;
  color: var(--gray-text) !important;
}

.bi-facebook:hover,
.bi-instagram:hover,
.bi-youtube:hover,
.bi-twitter-x:hover {
  color: var(--primary-color) !important;
  transform: scale(1.2) translateY(-3px);
}

/* === PRIVACY HEADER === */
.privacy-header {
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.2) 0%, rgba(33, 33, 33, 0.8) 100%);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem !important;
  border-radius: 8px;
}

.privacy-intro {
  background-color: rgba(33, 33, 33, 0.6);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(229, 57, 53, 0.2);
}

/* === UTILITY CLASSES === */
.position-sticky {
  position: sticky !important;
  top: 80px;
  z-index: 1020;
}

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

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

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

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

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

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

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

.flex-column {
  flex-direction: column !important;
}

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

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

.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.text-center {
  text-align: center !important;
}

.text-start {
  text-align: left !important;
}

.text-end {
  text-align: right !important;
}

.text-decoration-none {
  text-decoration: none !important;
}

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

.fst-italic {
  font-style: italic !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

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

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

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

.g-0 {
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
}

.g-3 {
  --bs-gutter-x: 1rem !important;
  --bs-gutter-y: 1rem !important;
}

.g-4 {
  --bs-gutter-x: 1.5rem !important;
  --bs-gutter-y: 1.5rem !important;
}

.g-5 {
  --bs-gutter-x: 3rem !important;
  --bs-gutter-y: 3rem !important;
}

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

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

.opacity-75 {
  opacity: 0.75 !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

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

/* === SPACING === */
.m-0 { margin: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mt-auto { margin-top: auto !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-md-0 { margin-bottom: 0 !important; }

.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !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; }

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

.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

.pb-3 { padding-bottom: 1rem !important; }

.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.px-lg-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

.ps-5 { padding-left: 3rem !important; }

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1399px) {
  .col-xl-7 { flex: 0 0 auto; width: 58.333333%; }
}

@media (max-width: 991px) {
  .navbar-collapse {
    background-color: rgba(10, 10, 10, 0.98);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid rgba(229, 57, 53, 0.2);
  }
  
  .navbar-nav .nav-link {
    padding: 1rem !important;
    border-bottom: 1px solid rgba(229, 57, 53, 0.1);
  }
  
  .navbar-nav .nav-link::before {
    display: none;
  }
  
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-2 {
    font-size: 2.25rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .col-lg-6,
  .col-lg-4,
  .col-lg-5,
  .col-lg-7,
  .col-lg-8,
  .col-lg-9,
  .col-lg-10,
  .col-lg-2,
  .col-lg-3 {
    width: 100% !important;
    margin-bottom: 2rem;
  }
  
  .p-lg-5,
  .p-lg-6 {
    padding: 2rem !important;
  }
  
  .py-lg-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .d-lg-block {
    display: block !important;
  }
  
  .order-lg-1 {
    order: 1;
  }
  
  .order-lg-2 {
    order: 2;
  }
  
  .text-lg-end {
    text-align: right !important;
  }
  
  .mt-lg-0 {
    margin-top: 0 !important;
  }
}

@media (max-width: 767px) {
  .col-md-4,
  .col-md-3,
  .col-md-6,
  .col-md-8 {
    width: 100% !important;
    margin-bottom: 1.5rem;
  }
  
  .p-md-4,
  .p-md-5 {
    padding: 1.5rem !important;
  }
  
  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }
  
  .mb-md-0 {
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 575px) {
  .col-6 {
    width: 100% !important;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .px-4,
  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .display-1 {
    font-size: 2rem !important;
  }
  
  .lead {
    font-size: 1.1rem !important;
  }
}

/* === ANIMATIONS === */
@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);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* === SCROLL TO TOP BUTTON === */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1050;
  width: 50px;
  height: 50px;
  border-radius: 50% !important;
  background-color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  color: #ffffff !important;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  box-shadow: var(--shadow-fire);
}

#scrollTopBtn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(229, 57, 53, 0.5);
}

#scrollTopBtn.show {
  display: flex !important;
  animation: fadeInUp 0.5s ease;
}

/* === LOADING SPINNER === */
.spinner-border {
  border: 3px solid rgba(229, 57, 53, 0.2);
  border-top-color: var(--primary-color);
}

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

::-webkit-scrollbar-track {
  background: var(--secondary-color);
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

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

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

/* === FOCUS VISIBLE === */
*:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* === TRANSITIONS FOR SMOOTH INTERACTIONS === */
a, button, .btn, .card, .form-control, .nav-link {
  transition: all var(--transition-speed) ease;
}

/* === HOVER EFFECTS === */
.hover-lift {
  transition: transform var(--transition-speed) ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
}

/* === BACKDROP EFFECTS === */
.backdrop-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* === TEXT GLOW EFFECT === */
.text-glow {
  text-shadow: 0 0 20px rgba(229, 57, 53, 0.5);
}

/* === BORDER ANIMATIONS === */
.border-animate {
  position: relative;
  overflow: hidden;
}

.border-animate::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  animation: borderSlide 3s linear infinite;
}

@keyframes borderSlide {
  0% { left: -100%; }
  100% { left: 100%; }
}

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