/* Ember & Steel Architecture Studio - Custom Styles */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #D32F2F;
  --secondary-color: #424242;
  --primary-dark: #B71C1C;
  --primary-light: #EF5350;
  --secondary-dark: #212121;
  --secondary-light: #616161;
  --text-dark: #212121;
  --text-light: #FFFFFF;
  --background-light: #F5F5F5;
  --background-white: #FFFFFF;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.15);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.2);
  --transition-base: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

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

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

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark) !important;
  background-color: var(--background-white) !important;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary-color) !important;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 800 !important;
  letter-spacing: -1px;
}

p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ===== NAVBAR STYLES ===== */
.navbar {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%) !important;
  padding: 1rem 0 !important;
  transition: var(--transition-base);
  box-shadow: 0 2px 15px rgba(0,0,0,0.3);
  z-index: 1050;
}

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

.navbar-brand {
  font-size: 1.75rem !important;
  letter-spacing: 1px;
  color: var(--text-light) !important;
  transition: var(--transition-base);
  text-transform: uppercase;
}

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

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

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

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

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

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3) !important;
  padding: 0.5rem 0.75rem;
}

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

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

.position-relative.vh-100::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(33, 33, 33, 0.8) 0%, rgba(211, 47, 47, 0.6) 100%);
  z-index: 1;
}

.position-relative.vh-100 .position-absolute {
  z-index: 0;
  filter: brightness(0.5) contrast(1.1);
}

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

.object-fit-cover {
  object-fit: cover;
  object-position: center;
}

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

.text-white.display-1 {
  color: var(--text-light) !important;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  font-weight: 900 !important;
}

.text-white.fs-3,
.text-white.fs-5 {
  color: var(--text-light) !important;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.opacity-90 {
  opacity: 0.9 !important;
}

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

.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;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  border-color: var(--primary-color) !important;
  color: var(--text-light) !important;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #8B0000 100%) !important;
  border-color: var(--primary-dark) !important;
  color: var(--text-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4) !important;
}

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

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: var(--text-light) !important;
  color: var(--text-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2) !important;
}

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

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

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

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

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

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
  background: var(--background-light) !important;
  border-color: var(--background-light) !important;
  color: var(--secondary-color) !important;
}

.btn-sm {
  padding: 0.4rem 1rem !important;
  font-size: 0.85rem !important;
}

.btn-lg {
  padding: 0.8rem 2rem !important;
  font-size: 1.1rem !important;
}

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

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

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

.animate-fade-in {
  animation: fadeIn 1.2s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 1s ease-out 0.3s forwards;
  opacity: 0;
}

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

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

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

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

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

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

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

.card-body {
  padding: 1.5rem;
}

.card-header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%) !important;
  color: var(--text-light) !important;
  border-bottom: 3px solid var(--primary-color) !important;
  font-weight: 600;
  padding: 1rem 1.5rem;
}

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

.card-text {
  color: var(--secondary-light) !important;
  line-height: 1.7;
}

.team-card {
  transition: var(--transition-base);
  cursor: pointer;
}

.team-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.team-card .card-img-top {
  transition: var(--transition-base);
  filter: grayscale(0.3);
}

.team-card:hover .card-img-top {
  filter: grayscale(0);
  transform: scale(1.05);
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.95) 0%, rgba(66, 66, 66, 0.95) 100%);
  opacity: 0;
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  text-align: center;
}

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

.portfolio-overlay h3,
.portfolio-overlay p {
  color: var(--text-light) !important;
  transform: translateY(20px);
  transition: var(--transition-base);
}

.portfolio-card:hover .portfolio-overlay h3,
.portfolio-card:hover .portfolio-overlay p {
  transform: translateY(0);
}

.portfolio-item {
  overflow: hidden;
  border-radius: 8px;
  transition: var(--transition-base);
}

.portfolio-item img {
  transition: var(--transition-slow);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

/* ===== SECTIONS ===== */
section {
  position: relative;
  overflow: hidden;
}

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

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

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

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

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

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

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

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

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

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

/* ===== TEXT UTILITIES ===== */
.text-muted {
  color: var(--secondary-light) !important;
}

.text-light {
  color: rgba(255, 255, 255, 0.9) !important;
}

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

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

.text-uppercase {
  text-transform: uppercase !important;
  letter-spacing: 2px;
}

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

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

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

.opacity-50 {
  opacity: 0.5 !important;
}

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

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--secondary-light) !important;
}

.small {
  font-size: 0.875rem;
  color: var(--secondary-light) !important;
}

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

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

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

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

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

.border-3 {
  border-width: 3px !important;
}

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

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

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

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

/* ===== ICONS ===== */
.bi, .fas, .fa {
  display: inline-block;
  line-height: 1;
}

.bi-flag-fill,
.bi-award-fill,
.bi-people-fill,
.bi-trophy-fill,
.bi-star-fill,
.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-arrow-right,
.bi-check-circle-fill,
.bi-calendar-check,
.bi-train-front-fill,
.bi-p-square-fill,
.bi-brightness-high,
.bi-droplet-half,
.bi-recycle,
.bi-lightning-charge,
.bi-award,
.bi-house-check,
.bi-tree,
.bi-building,
.bi-quote {
  color: var(--primary-color) !important;
}

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

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

/* ===== FORMS ===== */
.form-control,
.form-select {
  border: 2px solid #E0E0E0;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  transition: var(--transition-base);
  font-size: 1rem;
  background-color: var(--background-white) !important;
  color: var(--text-dark) !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;
  background-color: var(--background-white) !important;
  color: var(--text-dark) !important;
}

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

.invalid-feedback {
  color: var(--primary-color) !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--primary-color) !important;
  background-image: none;
}

.form-check-input {
  border: 2px solid #E0E0E0;
  transition: var(--transition-base);
}

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

.form-check-input:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.15) !important;
}

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

.needs-validation .form-control:invalid,
.needs-validation .form-select:invalid {
  border-color: #E0E0E0;
}

.needs-validation .form-control:valid,
.needs-validation .form-select:valid {
  border-color: #4CAF50;
}

/* ===== ALERTS ===== */
.alert {
  border-radius: 8px;
  border: none;
  padding: 1rem 1.5rem;
  margin-top: 1rem;
}

.alert-success {
  background-color: #E8F5E9 !important;
  color: #2E7D32 !important;
  border-left: 4px solid #4CAF50 !important;
}

.alert-warning {
  background-color: #FFF3E0 !important;
  color: #E65100 !important;
  border-left: 4px solid #FF9800 !important;
}

.alert-info {
  background-color: #E3F2FD !important;
  color: #1565C0 !important;
  border-left: 4px solid #2196F3 !important;
}

/* ===== BADGES ===== */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

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

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

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

.list-unstyled li {
  padding: 0.5rem 0;
}

.list-unstyled a {
  color: var(--secondary-light) !important;
  text-decoration: none;
  transition: var(--transition-base);
}

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

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

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

footer p,
footer a,
footer li {
  color: rgba(255, 255, 255, 0.8) !important;
}

footer a:hover {
  color: var(--primary-light) !important;
}

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

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

/* ===== RATIO (VIDEO EMBEDS) ===== */
.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-16x9 {
  --bs-aspect-ratio: 56.25%;
}

.ratio iframe {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

/* ===== TIME SLOT STYLES ===== */
.time-slot {
  padding: 0.75rem 1.5rem;
  border: 2px solid #E0E0E0;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-base);
  text-align: center;
  background: var(--background-white);
  color: var(--secondary-color) !important;
}

.time-slot:hover {
  border-color: var(--primary-color);
  background: rgba(211, 47, 47, 0.05);
  transform: translateY(-2px);
}

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

/* ===== FILTER BUTTONS ===== */
.filter-btn {
  margin: 0.25rem;
  transition: var(--transition-base);
}

.filter-btn.active {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--text-light) !important;
  transform: scale(1.05);
}

/* ===== STICKY ELEMENTS ===== */
.position-sticky,
.sticky-top {
  position: sticky;
  top: 80px;
  z-index: 1020;
}

/* ===== PRIVACY CONTENT ===== */
.privacy-content {
  color: var(--secondary-color) !important;
}

.privacy-content h2,
.privacy-content h3,
.privacy-content .h3 {
  color: var(--secondary-color) !important;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.privacy-content p {
  color: var(--secondary-light) !important;
  line-height: 1.8;
}

.privacy-content ul {
  color: var(--secondary-light) !important;
}

/* ===== CUSTOM SPACING ===== */
.min-vh-50 {
  min-height: 50vh;
}

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

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

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

.g-2 {
  --bs-gutter-x: 0.5rem;
  --bs-gutter-y: 0.5rem;
}

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

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

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

/* ===== LINK STYLES ===== */
a {
  color: var(--primary-color) !important;
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--primary-dark) !important;
}

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

/* ===== D-GRID ===== */
.d-grid {
  display: grid !important;
}

/* ===== QUOTE STYLES ===== */
.bi-quote {
  font-size: 4rem;
  opacity: 0.2;
  position: absolute;
  top: -1rem;
  left: 0;
}

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

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

/* ===== LINK UTILITIES ===== */
.d-inline-flex {
  display: inline-flex !important;
  align-items: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(33, 33, 33, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  }
  
  .navbar-nav {
    padding: 0.5rem 0;
  }
  
  .navbar-dark .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-dark .navbar-nav .nav-link::after {
    display: none;
  }
  
  .display-1 {
    font-size: 3rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
  
  .display-6 {
    font-size: 1.5rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .btn-lg {
    padding: 0.7rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  .position-sticky,
  .sticky-top {
    position: relative;
    top: 0;
  }
}

@media (max-width: 767.98px) {
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .fs-3 {
    font-size: 1.5rem !important;
  }
  
  .fs-5 {
    font-size: 1rem !important;
  }
  
  .btn-lg {
    padding: 0.6rem 1.2rem !important;
    font-size: 0.95rem !important;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .p-4 {
    padding: 1.5rem !important;
  }
  
  .p-5 {
    padding: 2rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .display-1 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .btn-lg {
    width: 100%;
    margin-bottom: 0.5rem !important;
  }
  
  .me-3 {
    margin-right: 0 !important;
  }
  
  .text-center-mobile {
    text-align: center !important;
  }
  
  .g-5 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
  }
}

/* ===== UTILITY OVERRIDES ===== */
.mx-auto {
  margin-left: auto !important;
  margin-right: auto !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;
}

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

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

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

.mt-lg-0 {
  margin-top: 0 !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-lg-0 {
  margin-bottom: 0 !important;
}

.mb-md-0 {
  margin-bottom: 0 !important;
}

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

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

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

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

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

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

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

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

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .btn,
  footer,
  .animate-bounce {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  a {
    color: black !important;
    text-decoration: underline !important;
  }
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 3px solid var(--primary-color) !important;
  outline-offset: 2px;
}

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

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

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

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

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

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