/* Fire & Steel Architecture Studio - Custom CSS */

/* ==========================================
   ROOT VARIABLES & BASE STYLES
   ========================================== */
:root {
  --primary-color: #D32F2F;
  --secondary-color: #424242;
  --dark-bg: #1a1a1a;
  --light-bg: #f5f5f5;
  --text-dark: #212121;
  --text-light: #ffffff;
  --accent-fire: #FF5722;
  --accent-steel: #607D8B;
  --transition-speed: 0.3s;
  --shadow-sm: 0 2px 8px rgba(211, 47, 47, 0.1);
  --shadow-md: 0 4px 16px rgba(211, 47, 47, 0.15);
  --shadow-lg: 0 8px 32px rgba(211, 47, 47, 0.2);
}

* {
  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;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==========================================
   NAVIGATION STYLES
   ========================================== */
.navbar {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-bg) 100%) !important;
  padding: 1rem 0;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-speed) ease;
  z-index: 1050;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: linear-gradient(135deg, rgba(66, 66, 66, 0.98) 0%, rgba(26, 26, 26, 0.98) 100%) !important;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.8rem !important;
  color: var(--text-light) !important;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
}

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

.navbar-brand .bi-fire {
  color: var(--primary-color) !important;
  margin-right: 0.5rem;
  animation: flicker 2s infinite alternate;
}

@keyframes flicker {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: 0.8; filter: brightness(1.2); }
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.2rem;
  transition: all var(--transition-speed) ease;
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

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

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

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

.navbar-toggler {
  border-color: var(--primary-color) !important;
  padding: 0.5rem;
}

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

/* ==========================================
   HERO SECTION & CAROUSEL
   ========================================== */
.hero-slideshow {
  margin-top: 0;
  min-height: 100vh;
  position: relative;
}

.carousel {
  height: 100vh;
}

.carousel-inner {
  height: 100%;
}

.carousel-item {
  height: 100vh;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-bg) 100%);
  position: relative;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.7) 0%, rgba(66, 66, 66, 0.8) 100%);
  z-index: 1;
}

.carousel-item.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.carousel-caption {
  z-index: 2;
  bottom: 50%;
  transform: translateY(50%);
  text-align: left;
  left: 10%;
  right: 10%;
}

.carousel-caption .display-2,
.carousel-caption .display-3 {
  color: var(--text-light) !important;
  font-weight: 800;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  margin-bottom: 1.5rem;
  animation: slideInLeft 1s ease-out;
}

.carousel-caption .lead {
  color: var(--text-light) !important;
  font-size: 1.4rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: 2rem;
  max-width: 700px;
  animation: slideInLeft 1s ease-out 0.2s both;
}

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

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.8;
  transition: all var(--transition-speed) ease;
}

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

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

.bi-chevron-down {
  font-size: 2rem;
  color: var(--text-light) !important;
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.bi-chevron-down:hover {
  color: var(--primary-color) !important;
  transform: scale(1.2);
}

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

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-fire) 100%) !important;
  border-color: var(--primary-color) !important;
  color: var(--text-light) !important;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b71c1c 0%, #D32F2F 100%) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--text-light) !important;
}

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

.btn-outline-light:hover {
  background: var(--text-light) !important;
  color: var(--primary-color) !important;
  border-color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.btn-light:hover {
  background-color: var(--light-bg) !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

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

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

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

/* ==========================================
   CARDS
   ========================================== */
.card {
  border: none !important;
  border-radius: 15px;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  background: var(--text-light);
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg) !important;
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: all 0.5s ease;
}

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

.card-body {
  padding: 2rem;
}

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

.card-text {
  color: var(--text-dark);
  line-height: 1.8;
}

.service-card {
  background: linear-gradient(135deg, var(--text-light) 0%, var(--light-bg) 100%);
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
}

.service-card:hover {
  border-color: var(--primary-color);
  background: var(--text-light);
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-fire) 100%);
  color: var(--text-light) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  transition: all var(--transition-speed) ease;
}

.service-card:hover .service-icon {
  transform: rotate(360deg) scale(1.1);
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.95) 0%, rgba(66, 66, 66, 0.95) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.5s ease;
  padding: 2rem;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay * {
  color: var(--text-light) !important;
}

/* ==========================================
   BADGES & LABELS
   ========================================== */
.badge {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-fire) 100%) !important;
  color: var(--text-light) !important;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
}

/* ==========================================
   SECTIONS
   ========================================== */
section {
  padding: 5rem 0;
  position: relative;
}

.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.parallax-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.8) 0%, rgba(66, 66, 66, 0.8) 100%);
  z-index: 1;
}

.parallax-section > * {
  position: relative;
  z-index: 2;
}

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

/* ==========================================
   TYPOGRAPHY
   ========================================== */
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.display-2 { font-size: 4rem; }
.display-3 { font-size: 3.5rem; }
.display-4 { font-size: 3rem; }
.display-5 { font-size: 2.5rem; }
.display-6 { font-size: 2rem; }

.lead {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-dark);
}

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

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

.text-success {
  color: #4CAF50 !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 700;
  line-height: 1.3;
}

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

.timeline-simple::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-fire) 100%);
}

.timeline-simple .mb-4 {
  position: relative;
}

.timeline-simple .mb-4::before {
  content: '';
  position: absolute;
  left: -3.5rem;
  top: 0.5rem;
  width: 15px;
  height: 15px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 3px solid var(--text-light);
  box-shadow: var(--shadow-sm);
}

/* ==========================================
   PROCESS STEPS
   ========================================== */
.process-steps {
  position: relative;
}

.process-steps .rounded-circle {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-fire) 100%);
  color: var(--text-light) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-md);
  border: 5px solid var(--text-light);
  transition: all var(--transition-speed) ease;
}

.process-steps .card:hover .rounded-circle {
  transform: rotate(360deg) scale(1.1);
}

/* ==========================================
   ACCORDION
   ========================================== */
.accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 10px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background-color: var(--light-bg) !important;
  color: var(--text-dark) !important;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.25rem 1.5rem;
  transition: all var(--transition-speed) ease;
}

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

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.25);
  border-color: var(--primary-color);
}

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

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

.accordion-body {
  padding: 1.5rem;
  background-color: var(--text-light);
}

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

.form-control,
.form-select {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
  background-color: var(--text-light);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.25) !important;
  background-color: var(--text-light);
}

.form-control::placeholder {
  color: #9e9e9e;
}

.invalid-feedback {
  color: var(--primary-color) !important;
  font-weight: 600;
}

.form-check-input {
  border-color: var(--primary-color);
}

.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.2rem rgba(211, 47, 47, 0.25);
}

.form-check-label {
  color: var(--text-dark);
}

/* ==========================================
   FILTER BUTTONS
   ========================================== */
.filter-btn {
  background-color: transparent !important;
  border: 2px solid var(--secondary-color) !important;
  color: var(--secondary-color) !important;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  transition: all var(--transition-speed) ease;
  font-weight: 600;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-fire) 100%) !important;
  border-color: var(--primary-color) !important;
  color: var(--text-light) !important;
  transform: translateY(-2px);
}

.portfolio-item {
  transition: all 0.5s ease;
}

.portfolio-item.hide {
  opacity: 0;
  transform: scale(0.8);
  display: none;
}

/* ==========================================
   SOCIAL LINKS
   ========================================== */
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--secondary-color);
  color: var(--text-light) !important;
  border-radius: 50%;
  margin: 0 0.5rem;
  transition: all var(--transition-speed) ease;
  font-size: 1.2rem;
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-fire) 100%);
  transform: translateY(-5px) rotate(360deg);
  box-shadow: var(--shadow-md);
  color: var(--text-light) !important;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-bg) 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
}

footer h5,
footer h6 {
  color: var(--text-light) !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

footer a {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  display: block;
  margin-bottom: 0.5rem;
}

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

footer .bi {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

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

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

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

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

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

.bg-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-fire) 100%) !important;
}

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

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

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

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

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

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

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

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

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

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.animate-on-scroll {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

/* ==========================================
   RATIO & MEDIA
   ========================================== */
.ratio {
  position: relative;
  width: 100%;
}

.ratio::before {
  display: block;
  padding-top: var(--bs-aspect-ratio);
  content: "";
}

.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ratio-21x9 {
  --bs-aspect-ratio: calc(9 / 21 * 100%);
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: linear-gradient(135deg, rgba(66, 66, 66, 0.98) 0%, rgba(26, 26, 26, 0.98) 100%);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .carousel-caption {
    bottom: 40%;
    left: 5%;
    right: 5%;
  }
  
  .display-2 { font-size: 2.5rem; }
  .display-3 { font-size: 2.2rem; }
  .display-4 { font-size: 2rem; }
  .display-5 { font-size: 1.75rem; }
  .display-6 { font-size: 1.5rem; }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .parallax-section {
    background-attachment: scroll;
  }
}

@media (max-width: 767.98px) {
  .carousel-caption .display-2,
  .carousel-caption .display-3 {
    font-size: 1.8rem;
  }
  
  .carousel-caption .lead {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .process-steps .rounded-circle {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.4rem !important;
  }
  
  .carousel {
    height: 100vh;
  }
  
  .carousel-item {
    height: 100vh;
  }
  
  .carousel-caption {
    bottom: 30%;
  }
  
  .carousel-caption .display-2,
  .carousel-caption .display-3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .carousel-caption .lead {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .btn-lg {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .display-2 { font-size: 2rem; }
  .display-3 { font-size: 1.8rem; }
  .display-4 { font-size: 1.6rem; }
  .display-5 { font-size: 1.4rem; }
  .display-6 { font-size: 1.2rem; }
  
  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin: 0 0.25rem;
  }
  
  .timeline-simple {
    padding-left: 2rem;
  }
  
  .timeline-simple .mb-4::before {
    left: -2.5rem;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-fire) 100%);
  border-radius: 10px;
  border: 2px solid var(--light-bg);
}

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

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

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

/* ==========================================
   LOADING ANIMATION
   ========================================== */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading.hide {
  opacity: 0;
  pointer-events: none;
}

.loading::after {
  content: '';
  width: 60px;
  height: 60px;
  border: 5px solid rgba(211, 47, 47, 0.2);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================
   EXPAND BUTTON
   ========================================== */
.expand-btn {
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.expand-btn:hover {
  transform: scale(1.1);
  color: var(--primary-color) !important;
}

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-fire) 100%);
  color: var(--text-light) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
  z-index: 1000;
  cursor: pointer;
  border: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(211, 47, 47, 0.3);
}

/* ==========================================
   BORDER UTILITIES
   ========================================== */
.border-bottom {
  border-bottom: 3px solid var(--primary-color) !important;
}

.border-top {
  border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* ==========================================
   ICON STYLING
   ========================================== */
.bi {
  display: inline-block;
  vertical-align: middle;
}

.bi-check-circle-fill,
.bi-check-lg {
  color: var(--primary-color);
}

/* ==========================================
   MISC
   ========================================== */
.min-vh-100 {
  min-height: 100vh !important;
}

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

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

.small {
  font-size: 0.875rem;
}

.fs-1 { font-size: 2.5rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }