/* Crimson Power Architecture Studio - Custom CSS */

/* ===== CSS VARIABLES ===== */
:root {
  --primary-color: #D32F2F;
  --secondary-color: #212121;
  --accent-color: #FF5252;
  --dark-gray: #424242;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--secondary-color) !important;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== NAVIGATION ===== */
.navbar {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-gray) 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(211, 47, 47, 0.15);
  transition: var(--transition);
  padding: 1rem 0 !important;
}

.navbar.scrolled {
  background: rgba(33, 33, 33, 0.98) !important;
  box-shadow: 0 6px 30px rgba(211, 47, 47, 0.25);
}

.navbar-brand {
  color: var(--white) !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  transition: var(--transition);
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition);
}

.navbar-brand:hover::after {
  width: 100%;
}

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

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.25) !important;
}

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

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

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

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

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

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

/* ===== HERO VIDEO SECTION ===== */
.hero-video-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  position: relative;
  min-height: 100vh;
}

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

.hero-video-section video {
  object-fit: cover;
  opacity: 0.4;
  filter: grayscale(30%);
}

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

.hero-video-section .display-1 {
  font-weight: 900 !important;
  color: var(--white) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 3px 3px 20px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.hero-video-section .display-6 {
  color: var(--primary-color) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 3px;
  animation: fadeInUp 1.2s ease-out;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-video-section .lead {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.3rem !important;
  font-weight: 400 !important;
  animation: fadeInUp 1.4s ease-out;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.8;
}

.hero-video-section .btn {
  animation: fadeInUp 1.6s ease-out;
}

.bi-chevron-down {
  color: var(--white) !important;
  font-size: 2rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: var(--transition);
  filter: drop-shadow(0 0 10px rgba(211, 47, 47, 0.6));
}

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

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

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

.btn-lg {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  padding: 1rem 3rem !important;
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
}

.btn-lg:hover {
  background: var(--accent-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(211, 47, 47, 0.6);
}

.btn-outline-light {
  border: 2px solid var(--white) !important;
  color: var(--white) !important;
  background: transparent !important;
}

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

.btn-light {
  background: var(--white) !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--white) !important;
}

.btn-light:hover {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-3px);
}

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

.btn-dark:hover {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
}

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

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

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

/* ===== STATS SECTION ===== */
.py-5 {
  background: var(--secondary-color) !important;
}

.py-5 .col-md-3,
.py-5 .col-sm-6 {
  transition: var(--transition);
}

.py-5 .col-md-3:hover,
.py-5 .col-sm-6:hover {
  transform: translateY(-10px);
}

.p-4 {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 2px solid rgba(211, 47, 47, 0.3);
  transition: var(--transition);
}

.p-4:hover {
  background: rgba(211, 47, 47, 0.1);
  border-color: var(--primary-color);
  box-shadow: 0 10px 40px rgba(211, 47, 47, 0.3);
}

.bi-trophy-fill,
.bi-people-fill,
.bi-lightning-charge-fill,
.bi-clock-fill,
.bi-award-fill,
.bi-shield-check,
.bi-graph-up-arrow,
.bi-fire-fill,
.bi-lightning-fill,
.bi-speedometer2,
.bi-heart-pulse-fill,
.bi-shield-fill-check {
  color: var(--primary-color) !important;
  font-size: 3rem !important;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.p-4:hover .bi-trophy-fill,
.p-4:hover .bi-people-fill,
.p-4:hover .bi-lightning-charge-fill,
.p-4:hover .bi-clock-fill,
.p-4:hover .bi-award-fill,
.p-4:hover .bi-shield-check,
.p-4:hover .bi-graph-up-arrow,
.p-4:hover .bi-fire-fill,
.p-4:hover .bi-lightning-fill,
.p-4:hover .bi-speedometer2,
.p-4:hover .bi-heart-pulse-fill,
.p-4:hover .bi-shield-fill-check {
  transform: scale(1.2) rotate(5deg);
  color: var(--accent-color) !important;
}

.display-4,
.display-3,
.display-5 {
  color: var(--white) !important;
  font-weight: 900 !important;
}

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

/* ===== CARD STYLES ===== */
.card {
  border-radius: 20px !important;
  overflow: hidden;
  transition: var(--transition);
  background: var(--white) !important;
  border: 2px solid rgba(211, 47, 47, 0.1) !important;
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 60px rgba(211, 47, 47, 0.3) !important;
  border-color: var(--primary-color) !important;
}

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

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

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

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

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

.class-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%) !important;
  border: 2px solid var(--primary-color) !important;
  border-radius: 20px !important;
  transition: var(--transition);
  padding: 1.5rem !important;
}

.class-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 50px rgba(211, 47, 47, 0.4) !important;
}

.class-overlay {
  background: rgba(211, 47, 47, 0.95) !important;
  color: var(--white) !important;
  padding: 1rem;
  border-radius: 15px;
  margin-top: 1rem;
}

/* ===== CAROUSEL ===== */
.carousel {
  border-radius: 20px;
  overflow: hidden;
}

.carousel-item {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-gray) 100%);
  padding: 3rem;
  border-radius: 20px;
  border: 2px solid var(--primary-color);
}

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

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

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--accent-color);
  transform: scale(1.2);
}

.bi-quote {
  color: var(--primary-color) !important;
  font-size: 3rem !important;
}

/* ===== BADGE ===== */
.badge {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  padding: 0.5rem 1rem !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  font-size: 0.85rem !important;
}

/* ===== PROGRESS BAR ===== */
.progress {
  height: 8px !important;
  border-radius: 50px !important;
  background: rgba(211, 47, 47, 0.1) !important;
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%) !important;
  border-radius: 50px !important;
  transition: width 1s ease-in-out !important;
}

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

.timeline-item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 2rem;
  border-left: 3px solid var(--primary-color);
  margin-left: 1rem;
  transition: var(--transition);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary-color);
  transition: var(--transition);
}

.timeline-item:hover::before {
  transform: scale(1.5);
  background: var(--accent-color);
}

.timeline-item:hover {
  transform: translateX(10px);
}

/* ===== FORMS ===== */
.form-control,
.form-select {
  border: 2px solid rgba(211, 47, 47, 0.2) !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition);
  background: var(--white) !important;
  color: var(--secondary-color) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.25) !important;
  transform: translateY(-2px);
}

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

.form-check-input {
  border: 2px solid var(--primary-color) !important;
  width: 1.5rem !important;
  height: 1.5rem !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(211, 47, 47, 0.25) !important;
}

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

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

.accordion-item {
  border: 2px solid rgba(211, 47, 47, 0.2) !important;
  margin-bottom: 1rem !important;
  border-radius: 15px !important;
  overflow: hidden;
  background: var(--white) !important;
}

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

.accordion-button {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-gray) 100%) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 1.5rem !important;
  border: none !important;
  transition: var(--transition);
}

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

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

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

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

.accordion-body {
  padding: 2rem !important;
  background: var(--white) !important;
  color: var(--secondary-color) !important;
  line-height: 1.8;
}

/* ===== ICONS ===== */
.bi {
  transition: var(--transition);
}

.bi-facebook,
.bi-instagram,
.bi-youtube,
.bi-twitter,
.bi-person-circle,
.bi-lock-fill,
.bi-share-fill,
.bi-cookie,
.bi-hand-thumbs-up,
.bi-arrow-repeat,
.bi-question-circle,
.bi-question-circle-fill,
.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-send-fill,
.bi-chat-dots-fill,
.bi-clock-history,
.bi-check-circle-fill,
.bi-x-circle-fill,
.bi-alarm,
.bi-droplet,
.bi-person-fill,
.bi-clock,
.bi-chevron-right,
.bi-heart-fill {
  color: var(--primary-color) !important;
}

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

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-gray) 100%) !important;
  color: var(--white) !important;
  padding: 3rem 0 1rem 0;
  border-top: 3px solid var(--primary-color);
}

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

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

footer .text-decoration-none {
  display: block;
  padding: 0.3rem 0;
}

/* ===== UTILITY CLASSES ===== */
.text-white {
  color: var(--white) !important;
}

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

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

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

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

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

.border-start {
  border-left: 4px solid var(--primary-color) !important;
}

.shadow {
  box-shadow: 0 10px 40px rgba(211, 47, 47, 0.2) !important;
}

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

.shadow-sm {
  box-shadow: 0 5px 20px rgba(211, 47, 47, 0.15) !important;
}

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

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

/* ===== BLOCKQUOTE ===== */
blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 2rem;
  font-style: italic;
  color: var(--dark-gray) !important;
}

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

/* ===== RATIO (VIDEO EMBED) ===== */
.ratio {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(211, 47, 47, 0.3);
}

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

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

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(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-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(211, 47, 47, 0.3);
}

/* ===== BACK TO TOP BUTTON ===== */
.position-fixed.end-0.bottom-0 {
  z-index: 1000;
}

.position-fixed .btn {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  width: 50px;
  height: 50px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(211, 47, 47, 0.4);
  transition: var(--transition);
}

.position-fixed .btn:hover {
  background: var(--accent-color) !important;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 30px rgba(211, 47, 47, 0.6);
}

/* ===== LIST STYLES ===== */
.list-unstyled li {
  padding: 0.5rem 0;
  color: var(--secondary-color) !important;
}

.bi-check-circle-fill {
  font-size: 1.2rem !important;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(33, 33, 33, 0.98);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1rem;
    box-shadow: 0 10px 40px rgba(211, 47, 47, 0.3);
  }
  
  .nav-link {
    margin: 0.5rem 0 !important;
    padding: 0.75rem 1rem !important;
    border-radius: 10px;
  }
  
  .nav-link:hover,
  .nav-link.active {
    background: rgba(211, 47, 47, 0.2);
  }
  
  .display-1 {
    font-size: 3rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.8rem !important;
  }
  
  .display-6 {
    font-size: 1.3rem !important;
  }
  
  .btn-lg {
    padding: 0.8rem 2rem !important;
  }
}

@media (max-width: 767px) {
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.8rem !important;
  }
  
  .hero-video-section .lead {
    font-size: 1.1rem !important;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .p-4 {
    padding: 2rem !important;
  }
  
  .bi-trophy-fill,
  .bi-people-fill,
  .bi-lightning-charge-fill,
  .bi-clock-fill {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 575px) {
  .navbar-brand {
    font-size: 1.4rem !important;
  }
  
  .display-1 {
    font-size: 2rem !important;
  }
  
  .btn-lg {
    padding: 0.7rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
  
  .carousel-item {
    padding: 1.5rem;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 6px;
  border: 2px solid var(--secondary-color);
}

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

/* ===== SECTION BACKGROUNDS ===== */
section:nth-child(even) {
  background: var(--light-gray) !important;
}

section:nth-child(odd) {
  background: var(--white) !important;
}

/* ===== IMAGE STYLES ===== */
.img-fluid {
  border-radius: 15px;
  transition: var(--transition);
  box-shadow: 0 10px 40px rgba(211, 47, 47, 0.2);
}

.img-fluid:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 50px rgba(211, 47, 47, 0.4);
}

/* ===== OPACITY UTILITIES ===== */
.opacity-90 {
  opacity: 0.9 !important;
}

.opacity-25 {
  opacity: 0.25 !important;
}

/* ===== POSITION UTILITIES ===== */
.position-sticky {
  position: sticky !important;
  top: 100px;
}

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

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

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

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

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

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

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

/* ===== HEADING STYLES ===== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 700 !important;
  color: var(--secondary-color) !important;
  margin-bottom: 1rem;
}

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

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

/* ===== SMALL TEXT ===== */
.small {
  font-size: 0.875rem !important;
  color: var(--dark-gray) !important;
}

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

/* ===== OVERFLOW ===== */
.overflow-hidden {
  overflow: hidden !important;
}

/* ===== TEXT TRANSFORM ===== */
.text-uppercase {
  text-transform: uppercase !important;
}

/* ===== FONT STYLE ===== */
.fst-italic {
  font-style: italic !important;
}