/* Forest Gold Architecture Studio Theme - CSS */

:root {
  --primary-color: #2C5530;
  --secondary-color: #D4AF37;
  --primary-dark: #1a3320;
  --primary-light: #3d7044;
  --secondary-dark: #b8941f;
  --secondary-light: #e6c968;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --shadow: 0 4px 6px rgba(44, 85, 48, 0.1);
  --shadow-lg: 0 10px 25px rgba(44, 85, 48, 0.2);
  --transition: all 0.3s ease;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Typography */
.display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  letter-spacing: -0.5px;
}

.lead {
  font-size: 1.15rem !important;
  font-weight: 300 !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

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

.fs-1, .fs-2, .fs-3, .fs-4, .fs-5, .fs-6 {
  font-weight: 600 !important;
}

/* Navigation Bar */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  padding: 1rem 0 !important;
  transition: var(--transition);
  z-index: 1050 !important;
}

.navbar.scrolled {
  padding: 0.5rem 0 !important;
  background: rgba(44, 85, 48, 0.98) !important;
}

.navbar-brand {
  font-size: 1.5rem !important;
  color: var(--text-light) !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  transition: var(--transition);
}

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

.navbar-brand .bi {
  font-size: 1.8rem !important;
  color: var(--secondary-color) !important;
  margin-right: 0.5rem;
  transition: var(--transition);
}

.navbar-brand:hover .bi {
  transform: rotate(10deg) scale(1.1);
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  position: relative;
  transition: var(--transition);
  border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color) !important;
  background: rgba(212, 175, 55, 0.1) !important;
  transform: translateY(-2px);
}

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

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

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

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23D4AF37' 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 {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, #1a2f1e 100%) !important;
  position: relative;
  overflow: hidden;
}

.position-relative.vh-100::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(212, 175, 55, 0.03) 35px, rgba(212, 175, 55, 0.03) 70px);
  animation: backgroundShift 20s linear infinite;
}

@keyframes backgroundShift {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(70px) translateY(70px); }
}

.text-white {
  color: var(--text-light) !important;
  position: relative;
  z-index: 2;
}

.text-white .display-3 {
  color: var(--text-light) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

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

.text-white .lead {
  animation: fadeInUp 1s ease-out 0.3s both;
}

/* Buttons */
.btn {
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: var(--transition) !important;
  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(--secondary-color) !important;
  color: var(--primary-dark) !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
  font-weight: 700 !important;
}

.btn-lg:hover {
  background: var(--secondary-dark) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6) !important;
}

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

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

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

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

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

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

/* Cards */
.card {
  border: none !important;
  border-radius: 12px !important;
  overflow: hidden;
  transition: var(--transition);
  background: var(--text-light) !important;
}

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

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

.card.shadow,
.card.h-100 {
  box-shadow: 0 2px 10px rgba(44, 85, 48, 0.15) !important;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(44, 85, 48, 0.25) !important;
}

.card-body {
  position: relative;
  z-index: 2;
}

.card .bi {
  color: var(--secondary-color) !important;
  font-size: 2.5rem !important;
  transition: var(--transition);
}

.card:hover .bi {
  transform: scale(1.15) rotate(5deg);
}

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

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

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

.card-text {
  color: var(--text-dark) !important;
  font-size: 0.95rem !important;
}

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

.form-control,
.form-select {
  border: 2px solid rgba(44, 85, 48, 0.2) !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition) !important;
  background: var(--text-light) !important;
  color: var(--text-dark) !important;
}

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

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

.form-control::placeholder {
  color: rgba(44, 85, 48, 0.5) !important;
}

.form-check-input {
  border: 2px solid var(--primary-color) !important;
  width: 1.25em !important;
  height: 1.25em !important;
}

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

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25) !important;
}

.form-check-label {
  color: var(--text-dark) !important;
  font-weight: 500 !important;
}

/* Sections */
.py-5 {
  padding: 4rem 0 !important;
}

.py-5.bg-light {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%) !important;
}

.py-5:not(.bg-light) {
  background: var(--text-light) !important;
}

section {
  position: relative;
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.bi-building,
.bi-stars,
.bi-briefcase,
.bi-egg-fried,
.bi-heart-pulse,
.bi-check-circle-fill,
.bi-star-fill,
.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-linkedin,
.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-calendar-event,
.bi-calendar-check,
.bi-geo-alt,
.bi-telephone,
.bi-envelope,
.bi-check2,
.bi-arrow-right,
.bi-shield-check,
.bi-info-circle,
.bi-gear,
.bi-share,
.bi-cookie,
.bi-shield-lock,
.bi-clock-history,
.bi-hand-thumbs-up,
.bi-people,
.bi-link-45deg,
.bi-envelope-open,
.bi-arrow-repeat,
.bi-chat-dots,
.bi-chat-left-text,
.bi-camera-video,
.bi-arrow-right-circle-fill,
.bi-wifi,
.bi-tv,
.bi-cup-hot,
.bi-snow,
.bi-droplet,
.bi-brightness-high,
.bi-heart-fill,
.bi-briefcase-fill,
.bi-calendar-check-fill,
.bi-clock,
.bi-x-circle,
.bi-credit-card,
.bi-award,
.bi-menu-button-wide,
.bi-headset,
.bi-people-fill,
.bi-lightning-charge-fill,
.bi-cup-hot-fill,
.bi-display,
.bi-mic,
.bi-sun,
.bi-flower1,
.bi-music-note,
.bi-door-open,
.bi-projector,
.bi-outlet,
.bi-fire,
.bi-book,
.bi-cup-straw,
.bi-cake2,
.bi-palette,
.bi-person-badge,
.bi-p-square,
.bi-door-closed,
.bi-quote,
.bi-calculator,
.bi-file-earmark-text {
  color: var(--secondary-color) !important;
}

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

/* Lists */
.list-unstyled li {
  padding: 0.5rem 0;
  color: var(--text-dark) !important;
  font-weight: 500 !important;
}

.list-unstyled .bi {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* Images */
.img-fluid {
  transition: var(--transition);
}

.img-fluid:hover {
  transform: scale(1.02);
}

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

.object-fit-cover {
  object-fit: cover !important;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
  color: var(--text-light) !important;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

footer h5,
footer h6 {
  color: var(--secondary-color) !important;
  font-weight: 600 !important;
}

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

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

footer .bi {
  color: var(--secondary-color) !important;
  font-size: 1.5rem;
  transition: var(--transition);
}

footer .bi:hover {
  transform: scale(1.2) rotate(10deg);
}

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

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

/* Badge */
.badge {
  background: var(--secondary-color) !important;
  color: var(--primary-dark) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 20px !important;
}

/* Alert */
.alert {
  border-radius: 10px !important;
  border: none !important;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%) !important;
  border-left: 4px solid var(--secondary-color) !important;
  color: var(--primary-color) !important;
  font-weight: 500 !important;
}

/* Carousel */
.carousel {
  position: relative;
}

.carousel-indicators button {
  background-color: var(--secondary-color) !important;
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  border: none !important;
  opacity: 0.5 !important;
}

.carousel-indicators button.active {
  opacity: 1 !important;
  transform: scale(1.3);
}

.carousel-item {
  transition: transform 0.6s ease-in-out !important;
}

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

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

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

.fst-italic {
  font-style: italic !important;
  color: var(--text-dark) !important;
}

/* Utility Classes */
.text-decoration-none {
  text-decoration: none !important;
}

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

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

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

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

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

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

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(44, 85, 48, 0.075) !important;
}

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

.rounded-pill {
  border-radius: 50rem !important;
}

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

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

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

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

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

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

.top-0 { top: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.start-0 { left: 0 !important; }
.end-0 { right: 0 !important; }
.top-50 { top: 50% !important; }
.start-50 { left: 50% !important; }

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

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

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

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

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

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

.justify-content-between {
  justify-content: space-between !important;
}

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

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

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

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

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

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

.mt-auto {
  margin-top: auto !important;
}

/* Spacing Utilities */
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.mx-2 { margin-left: 0.5rem !important; margin-right: 0.5rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 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; }
.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-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }

.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.ps-lg-4 { padding-left: 1.5rem !important; }
.ps-lg-5 { padding-left: 3rem !important; }
.pe-lg-4 { padding-right: 1.5rem !important; }

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

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

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

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

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

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

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

/* Scroll Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Mobile Responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--primary-dark);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    box-shadow: var(--shadow-lg);
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0 !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;
  }
  
  .vh-100 {
    min-height: 100vh !important;
    height: auto !important;
    padding: 80px 0 40px !important;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .card {
    margin-bottom: 1.5rem;
  }
  
  .py-5 {
    padding: 2.5rem 0 !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .flex-md-row {
    flex-direction: row !important;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
  
  .mt-lg-0 {
    margin-top: 0 !important;
  }
}

@media (max-width: 767.98px) {
  .display-3 {
    font-size: 2rem !important;
  }
  
  .col-md-6,
  .col-md-4,
  .col-md-3,
  .col-md-5 {
    margin-bottom: 1.5rem;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .btn-lg {
    width: 100%;
  }
  
  .gap-3 {
    gap: 0.75rem !important;
  }
  
  .flex-column {
    flex-direction: column !important;
  }
}

@media (max-width: 575.98px) {
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .lead {
    font-size: 1rem !important;
  }
  
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  .px-4 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  .py-5 {
    padding: 2rem 0 !important;
  }
  
  .col-sm-6 {
    margin-bottom: 1rem;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .container,
  .container-fluid {
    max-width: 1320px;
  }
  
  .col-lg-6,
  .col-lg-5,
  .col-lg-4,
  .col-lg-3,
  .col-lg-2,
  .col-lg-7,
  .col-lg-8,
  .col-lg-10 {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .offset-lg-1 {
    margin-left: 8.333333%;
  }
  
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  
  .pe-lg-4 {
    padding-right: 1.5rem !important;
  }
  
  .text-lg-end {
    text-align: right !important;
  }
  
  .flex-lg-row-reverse {
    flex-direction: row-reverse !important;
  }
  
  .w-lg-auto {
    width: auto !important;
  }
  
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    color: #000 !important;
  }
  
  .card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .btn-lg {
    border: 3px solid var(--primary-dark) !important;
  }
  
  .nav-link {
    border: 1px solid transparent;
  }
  
  .nav-link:focus {
    border-color: var(--secondary-color);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus Styles for Accessibility */
*:focus {
  outline: 2px solid var(--secondary-color) !important;
  outline-offset: 2px !important;
}

.btn:focus,
.form-control:focus,
.form-select:focus {
  outline: none !important;
}

/* Selection Color */
::selection {
  background: var(--secondary-color);
  color: var(--primary-dark);
}

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

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 12px;
}

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

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

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

/* Loading Animation */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid var(--secondary-color);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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