/* Forest Gold Architecture Studio Theme CSS */

/* ============================================
   ROOT VARIABLES & OVERRIDES
   ============================================ */
:root {
  --primary-color: #2C5530;
  --secondary-color: #D4AF37;
  --light-green: #3d7341;
  --dark-green: #1a3a1d;
  --gold-light: #e8c968;
  --gold-dark: #b89429;
  --text-light: #f5f5f5;
  --text-dark: #1a1a1a;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-subtle: 0 4px 6px rgba(44, 85, 48, 0.1);
  --shadow-medium: 0 10px 25px rgba(44, 85, 48, 0.15);
  --shadow-heavy: 0 20px 40px rgba(44, 85, 48, 0.25);
}

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

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: #fafafa;
  overflow-x: hidden;
  line-height: 1.7;
}

html {
  scroll-behavior: smooth;
}

/* ============================================
   TYPOGRAPHY ENHANCEMENTS
   ============================================ */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  line-height: 1.2 !important;
  color: var(--primary-color) !important;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-dark);
  opacity: 0.9;
}

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

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

/* ============================================
   NAVBAR STYLES
   ============================================ */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  z-index: 1030;
}

.navbar.scrolled {
  padding: 0.5rem 0 !important;
  box-shadow: var(--shadow-medium);
}

.navbar-brand {
  color: var(--text-light) !important;
  font-weight: 700 !important;
  font-size: 1.75rem !important;
  letter-spacing: -0.01em;
  transition: var(--transition-smooth);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

.navbar-nav {
  gap: 1rem;
}

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

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

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

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

.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  padding: 0.5rem 0.75rem;
  transition: var(--transition-smooth);
}

.navbar-toggler:hover {
  border-color: var(--secondary-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, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.vh-100 {
  min-height: 100vh;
  position: relative;
}

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-sticky {
  position: sticky;
  top: 0;
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.overflow-hidden {
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 85, 48, 0.85) 0%, rgba(26, 58, 29, 0.75) 50%, rgba(44, 85, 48, 0.85) 100%);
  z-index: 1;
}

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

.hero-content .display-1 {
  color: var(--text-light) !important;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-content .fs-3,
.hero-content .fs-5 {
  color: var(--text-light) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* ============================================
   BUTTON STYLES
   ============================================ */
.btn {
  border-radius: 0.5rem;
  padding: 0.75rem 2rem;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border-width: 2px !important;
  font-size: 0.95rem;
}

.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-lg {
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem !important;
}

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

.btn-outline-light:hover {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

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

.btn-outline-dark:hover {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(44, 85, 48, 0.3);
}

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

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

.btn-group .btn {
  margin: 0 0.25rem;
}

/* ============================================
   CARD STYLES
   ============================================ */
.card {
  border: none !important;
  border-radius: 1rem;
  overflow: hidden;
  transition: var(--transition-smooth);
  background: #ffffff;
  box-shadow: var(--shadow-subtle);
}

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

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

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

.card-body {
  padding: 1.75rem;
}

.card-title {
  color: var(--primary-color) !important;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--text-dark);
  opacity: 0.85;
  line-height: 1.7;
}

/* ============================================
   PROJECT ITEMS & FILTERING
   ============================================ */
.project-item {
  transition: var(--transition-smooth);
  animation: fadeIn 0.6s ease-out;
}

.project-item.hidden {
  display: none;
}

.filter-btn {
  transition: var(--transition-smooth);
  margin: 0.5rem;
}

.filter-btn.active {
  background: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  border-color: var(--secondary-color) !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* ============================================
   SHADOW UTILITIES
   ============================================ */
.shadow {
  box-shadow: var(--shadow-subtle) !important;
}

.shadow-sm {
  box-shadow: 0 2px 4px rgba(44, 85, 48, 0.08) !important;
}

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

/* ============================================
   BACKGROUND & COLOR UTILITIES
   ============================================ */
.bg-light {
  background-color: #f8f9fa !important;
}

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

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

/* ============================================
   BORDER UTILITIES
   ============================================ */
.border-top {
  border-top: 1px solid rgba(44, 85, 48, 0.15) !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.mb-5 {
  margin-bottom: 4rem !important;
}

.mb-4 {
  margin-bottom: 3rem !important;
}

.mb-3 {
  margin-bottom: 2rem !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}

.mb-1 {
  margin-bottom: 0.5rem !important;
}

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

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

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

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

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

/* ============================================
   FORM STYLES
   ============================================ */
.form-control,
.form-select {
  border: 2px solid rgba(44, 85, 48, 0.2);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  transition: var(--transition-smooth);
  font-size: 1rem;
  background-color: #ffffff;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.15) !important;
  outline: none;
}

.form-label {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-check-input {
  border: 2px solid rgba(44, 85, 48, 0.3);
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
}

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

.form-check-label {
  color: var(--text-dark);
  cursor: pointer;
  margin-left: 0.5rem;
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #dc3545 !important;
}

.form-control.is-valid,
.form-select.is-valid {
  border-color: var(--primary-color) !important;
}

.invalid-feedback {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

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

/* ============================================
   MODAL STYLES
   ============================================ */
.modal-content {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  background: #ffffff;
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%);
  color: var(--text-light) !important;
  border: none;
  padding: 1.5rem 2rem;
}

.modal-title {
  color: var(--text-light) !important;
  font-weight: 600;
}

.modal-body {
  padding: 2rem;
}

.btn-close,
.btn-close-white {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: var(--transition-smooth);
}

.btn-close:hover,
.btn-close-white:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* ============================================
   BADGE STYLES
   ============================================ */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.85rem;
  background-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

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

/* ============================================
   ROUNDED UTILITIES
   ============================================ */
.rounded {
  border-radius: 0.5rem !important;
}

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

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

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

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

.list-unstyled a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-block;
}

.list-unstyled a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

/* ============================================
   LINK STYLES
   ============================================ */
a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

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

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

/* ============================================
   FLEX UTILITIES
   ============================================ */
.d-flex {
  display: flex !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;
}

.justify-content-end {
  justify-content: flex-end !important;
}

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

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

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

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

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

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

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

.animate-fadeIn {
  animation: fadeIn 0.8s ease-out;
}

.animate-fadeInUp {
  animation: fadeInUp 1s ease-out;
}

.animate-slideInLeft {
  animation: slideInLeft 0.8s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 0.8s ease-out;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-medium);
  }

  .navbar-nav {
    gap: 0.5rem;
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
  }

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

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

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

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

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

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

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

  .pe-lg-4 {
    padding-right: 1rem !important;
  }

  .mt-lg-0 {
    margin-top: 0 !important;
  }

  .sticky-lg-top {
    position: static !important;
  }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */
@media (max-width: 767.98px) {
  .display-1 {
    font-size: 2.5rem !important;
  }

  .display-3 {
    font-size: 2rem !important;
  }

  .display-4 {
    font-size: 1.75rem !important;
  }

  .display-5 {
    font-size: 1.5rem !important;
  }

  .display-6 {
    font-size: 1.25rem !important;
  }

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

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

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

  .btn-lg {
    padding: 0.75rem 1.75rem !important;
    font-size: 0.95rem !important;
  }

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

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

  .my-5 {
    margin-top: 2.5rem !important;
    margin-bottom: 2.5rem !important;
  }

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

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

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

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

  .card-img-top {
    height: 220px;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .flex-sm-row {
    flex-direction: row !important;
  }

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

  .filter-btn {
    margin: 0.25rem;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.5rem !important;
  }

  .display-1 {
    font-size: 2rem !important;
  }

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

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
    margin: 0.25rem 0;
  }

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

  .order-1 {
    order: 1 !important;
  }

  .order-2 {
    order: 2 !important;
  }
}

/* ============================================
   LARGE SCREEN SPECIFIC
   ============================================ */
@media (min-width: 992px) {
  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.666667%;
  }

  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }

  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }

  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.666667%;
  }

  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.333333%;
  }

  .col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }

  .offset-lg-1 {
    margin-left: 8.333333%;
  }

  .offset-lg-2 {
    margin-left: 16.666667%;
  }

  .order-lg-1 {
    order: 1 !important;
  }

  .order-lg-2 {
    order: 2 !important;
  }

  .order-lg-3 {
    order: 3 !important;
  }

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

  .mt-lg-0 {
    margin-top: 0 !important;
  }

  .pt-lg-0 {
    padding-top: 0 !important;
  }

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

  .pe-lg-4 {
    padding-right: 2rem !important;
  }

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

  .sticky-lg-top {
    position: sticky !important;
    top: 0;
    z-index: 1020;
  }
}

/* ============================================
   MEDIUM SCREEN SPECIFIC
   ============================================ */
@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }

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

/* ============================================
   SMALL UTILITIES
   ============================================ */
.small {
  font-size: 0.875rem;
  color: var(--text-dark);
  opacity: 0.8;
}

.text-uppercase {
  text-transform: uppercase !important;
  letter-spacing: 0.05em;
}

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

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

.fw-medium {
  font-weight: 500 !important;
}

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

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

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

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

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

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

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

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

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

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

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

.top-50 {
  top: 50% !important;
}

.start-50 {
  left: 50% !important;
}

.translate-middle {
  transform: translate(-50%, -50%) !important;
}

.translate-middle-y {
  transform: translateY(-50%) !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;
}

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

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

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

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

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

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

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

.col-4 {
  flex: 0 0 auto;
  width: 33.333333%;
}

.col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

/* ============================================
   ACCESSIBILITY & FOCUS STATES
   ============================================ */
*:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

.btn:focus,
.nav-link:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 3px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .navbar,
  .btn,
  .modal,
  footer {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  a {
    text-decoration: underline !important;
  }
}

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

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

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

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

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

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