/* Architecture Studio - Bold Red & Carbon Theme CSS */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #D32F2F;
  --secondary-color: #212121;
  --dark-gray: #424242;
  --light-gray: #BDBDBD;
  --white: #FFFFFF;
  --black: #000000;
  --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;
  background-color: #FAFAFA !important;
  color: var(--secondary-color) !important;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ===== NAVBAR ===== */
.navbar {
  background-color: var(--secondary-color) !important;
  padding: 1rem 0 !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
  transition: var(--transition) !important;
  z-index: 1050 !important;
}

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

.navbar-brand {
  font-size: 1.75rem !important;
  color: var(--white) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  transition: var(--transition) !important;
  position: relative;
}

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

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

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

.navbar-dark .navbar-toggler {
  border-color: var(--primary-color) !important;
  padding: 0.5rem !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;
}

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

.navbar-nav {
  align-items: center;
}

.nav-item {
  margin: 0 0.5rem;
}

.nav-link {
  color: var(--light-gray) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  padding: 0.5rem 1rem !important;
  border-radius: 6px !important;
  transition: var(--transition) !important;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.nav-link:hover {
  color: var(--white) !important;
  background-color: rgba(211, 47, 47, 0.1) !important;
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link.active {
  color: var(--white) !important;
  background-color: var(--primary-color) !important;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4) !important;
}

/* ===== BUTTONS ===== */
.btn {
  font-weight: 700 !important;
  border-radius: 8px !important;
  transition: var(--transition) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid transparent !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-color: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

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

.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3) !important;
}

.btn-primary:hover {
  background-color: #B71C1C !important;
  border-color: #B71C1C !important;
  color: var(--white) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 25px rgba(211, 47, 47, 0.5) !important;
}

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

.btn-outline-primary:hover {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 25px rgba(211, 47, 47, 0.5) !important;
}

.btn-dark {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(33, 33, 33, 0.3) !important;
}

.btn-dark:hover {
  background-color: var(--dark-gray) !important;
  border-color: var(--dark-gray) !important;
  color: var(--white) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 25px rgba(33, 33, 33, 0.5) !important;
}

.btn-light {
  background-color: var(--white) !important;
  border-color: var(--white) !important;
  color: var(--secondary-color) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

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

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

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #424242 100%);
  position: relative !important;
  overflow: hidden !important;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(211, 47, 47, 0.03) 2px, rgba(211, 47, 47, 0.03) 4px),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(211, 47, 47, 0.03) 2px, rgba(211, 47, 47, 0.03) 4px);
  pointer-events: none;
}

.diagonal-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(120deg, rgba(211, 47, 47, 0.15) 0%, transparent 60%);
  transform: skewY(-5deg);
  transform-origin: top left;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.hero-section .display-3 {
  color: var(--white) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem !important;
}

.hero-section .lead {
  color: var(--light-gray) !important;
  font-size: 1.4rem !important;
  line-height: 1.7 !important;
}

.badge-card {
  background: rgba(211, 47, 47, 0.95) !important;
  backdrop-filter: blur(10px);
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(211, 47, 47, 0.4) !important;
  transition: var(--transition) !important;
  border: 2px solid rgba(255, 255, 255, 0.1);
  animation: slideInRight 1s ease-out;
}

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

.badge-card h2,
.badge-card p {
  color: var(--white) !important;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: var(--white) !important;
  border-radius: 16px !important;
  transition: var(--transition) !important;
  height: 100%;
  border: 2px solid transparent !important;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #F44336);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-15px) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
  border-color: var(--primary-color) !important;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #E53935);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.service-card:hover .service-icon {
  transform: rotateY(360deg) scale(1.1);
  box-shadow: 0 6px 25px rgba(211, 47, 47, 0.5);
}

.service-icon .bi {
  font-size: 2.5rem !important;
  color: var(--white) !important;
}

.service-card h4,
.service-card .h4 {
  color: var(--secondary-color) !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
}

.service-card p {
  color: var(--dark-gray) !important;
  line-height: 1.7 !important;
}

/* ===== CARDS ===== */
.card {
  border-radius: 12px !important;
  border: none !important;
  transition: var(--transition) !important;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
}

.card-title {
  color: var(--secondary-color) !important;
  font-weight: 700 !important;
}

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

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

/* ===== SECTIONS ===== */
section {
  padding: 80px 0;
  position: relative;
}

.bg-light {
  background-color: #F5F5F5 !important;
}

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

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6,
.bg-dark .h1,
.bg-dark .h2,
.bg-dark .h3,
.bg-dark .h4,
.bg-dark .h5,
.bg-dark .h6 {
  color: var(--white) !important;
}

.bg-dark p,
.bg-dark .lead {
  color: var(--light-gray) !important;
}

/* ===== IMAGES ===== */
.img-fluid {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.img-fluid:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

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

.border {
  border: 2px solid var(--light-gray) !important;
  border-radius: 8px !important;
}

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

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

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

.text-muted {
  color: #9E9E9E !important;
}

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

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

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

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

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

/* ===== SHADOWS ===== */
.shadow {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

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

.shadow-lg {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}

/* ===== FORMS ===== */
.form-control,
.form-select {
  border: 2px solid #E0E0E0 !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition) !important;
  background-color: 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.2rem rgba(211, 47, 47, 0.15) !important;
  outline: none !important;
}

.form-control-lg,
.form-select-lg {
  padding: 1rem 1.5rem !important;
  font-size: 1.1rem !important;
}

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

textarea.form-control {
  min-height: 150px !important;
  resize: vertical !important;
}

/* ===== ALERTS ===== */
.alert {
  border-radius: 8px !important;
  border: none !important;
  padding: 1.25rem 1.5rem !important;
  border-left: 4px solid !important;
}

.alert-primary {
  background-color: rgba(211, 47, 47, 0.1) !important;
  border-left-color: var(--primary-color) !important;
  color: #B71C1C !important;
}

.alert-dark {
  background-color: rgba(33, 33, 33, 0.1) !important;
  border-left-color: var(--secondary-color) !important;
  color: var(--secondary-color) !important;
}

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

.accordion-item {
  border: none !important;
  border-bottom: 1px solid #E0E0E0 !important;
  background-color: transparent !important;
}

.accordion-item:last-child {
  border-bottom: none !important;
}

.accordion-header {
  margin-bottom: 0 !important;
}

.accordion-button {
  background-color: var(--white) !important;
  color: var(--secondary-color) !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  padding: 1.5rem !important;
  border: none !important;
  box-shadow: none !important;
  transition: var(--transition) !important;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(211, 47, 47, 0.05) !important;
  color: var(--primary-color) !important;
  border-left: 4px solid var(--primary-color) !important;
}

.accordion-button:hover {
  background-color: rgba(211, 47, 47, 0.05) !important;
}

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

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) saturate(100%) invert(27%) sepia(93%) saturate(2518%) hue-rotate(346deg);
}

.accordion-body {
  padding: 1.5rem !important;
  color: var(--dark-gray) !important;
  background-color: #FAFAFA !important;
  line-height: 1.8 !important;
}

.accordion-collapse {
  border: none !important;
}

/* ===== LISTS ===== */
.list-unstyled {
  padding-left: 0 !important;
  list-style: none !important;
}

.list-unstyled li {
  padding: 0.5rem 0 !important;
  color: var(--dark-gray) !important;
  display: flex;
  align-items: center;
}

.custom-list li {
  padding: 0.75rem 0 !important;
  position: relative;
  padding-left: 2rem !important;
}

.custom-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

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

.bi-check-circle-fill {
  color: var(--primary-color) !important;
}

/* ===== STICKY ELEMENTS ===== */
.sticky-lg-top {
  position: sticky !important;
  top: 100px !important;
  z-index: 1020 !important;
}

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

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

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

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

.animated-pulse {
  animation: pulse 2s infinite;
}

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

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Fade in animation for sections */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--secondary-color) !important;
  color: var(--white) !important;
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), #F44336, var(--primary-color));
}

footer h5,
footer .h5 {
  color: var(--white) !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  position: relative;
  padding-bottom: 0.5rem;
}

footer h5::after,
footer .h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

footer a {
  color: var(--light-gray) !important;
  text-decoration: none !important;
  transition: var(--transition) !important;
  display: inline-block;
}

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

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

footer p {
  color: var(--light-gray) !important;
  line-height: 1.8 !important;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .d-lg-block {
    display: block !important;
  }
  
  .d-lg-none {
    display: none !important;
  }
  
  .flex-lg-row {
    flex-direction: row !important;
  }
  
  .flex-lg-row-reverse {
    flex-direction: row-reverse !important;
  }
  
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  
  .pe-lg-4 {
    padding-right: 2rem !important;
  }
  
  .ps-lg-4 {
    padding-left: 2rem !important;
  }
  
  .p-lg-5 {
    padding: 3rem !important;
  }
  
  .px-lg-5 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .d-md-block {
    display: block !important;
  }
  
  .flex-md-row {
    flex-direction: row !important;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(33, 33, 33, 0.98);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
  
  .nav-item {
    margin: 0.5rem 0;
  }
  
  .hero-section {
    padding: 80px 0 40px;
    min-height: auto;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
  
  section {
    padding: 60px 0;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 0.95rem !important;
  }
  
  .sticky-lg-top {
    position: relative !important;
    top: auto !important;
  }
  
  .position-sticky {
    position: relative !important;
  }
}

@media (max-width: 767.98px) {
  .display-3 {
    font-size: 2rem !important;
  }
  
  .lead {
    font-size: 1.1rem !important;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .text-lg-end {
    text-align: left !important;
  }
  
  .mt-lg-0 {
    margin-top: 1rem !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 2rem !important;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
  
  .service-icon .bi {
    font-size: 2rem !important;
  }
  
  footer {
    padding: 40px 0 20px;
  }
}

/* ===== UTILITY CLASSES ===== */
.rounded {
  border-radius: 8px !important;
}

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

.p-0 {
  padding: 0 !important;
}

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

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

.p-5 {
  padding: 3rem !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;
}

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

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

.m-3 {
  margin: 1rem !important;
}

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

.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !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;
}

.mt-3 {
  margin-top: 1rem !important;
}

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

.mt-5 {
  margin-top: 3rem !important;
}

.ms-2 {
  margin-left: 0.5rem !important;
}

.ms-4 {
  margin-left: 1.5rem !important;
}

.ms-auto {
  margin-left: auto !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

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

.pb-4 {
  padding-bottom: 1.5rem !important;
}

.ps-4 {
  padding-left: 1.5rem !important;
}

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

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

.g-0 {
  gap: 0 !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

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

.container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

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

.fs-1 {
  font-size: calc(1.375rem + 1.5vw) !important;
}

.fs-3 {
  font-size: calc(1.3rem + 0.6vw) !important;
}

.fs-4 {
  font-size: calc(1.275rem + 0.3vw) !important;
}

.fs-5 {
  font-size: 1.25rem !important;
}

.small {
  font-size: 0.875rem !important;
}

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

::-webkit-scrollbar-track {
  background: #F5F5F5;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #B71C1C;
}

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

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

/* ===== LOADING ANIMATION ===== */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

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

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

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

/* ===== ACCESSIBILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

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