/* Architecture Studio - Forest Gold Theme CSS */

/* CSS Variables and Root Styles */
:root {
  --primary-color: #2C5F41;
  --secondary-color: #B8860B;
  --primary-light: #3a7a54;
  --primary-dark: #1e4029;
  --secondary-light: #d4a518;
  --secondary-dark: #8b6914;
  --text-light: #f8f9fa;
  --text-dark: #212529;
  --shadow: rgba(44, 95, 65, 0.2);
  --shadow-lg: rgba(44, 95, 65, 0.3);
  --transition: all 0.3s ease;
}

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

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

/* Utility Classes with !important for Bootstrap Overrides */
.position-relative {
  position: relative !important;
}

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

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

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

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

.vh-100 {
  height: 100vh !important;
  min-height: 500px;
}

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

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

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

/* Slideshow Container */
.slideshow-container {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 95, 65, 0.7) 0%, rgba(184, 134, 11, 0.5) 100%);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* Navbar Styles */
.navbar {
  background: transparent !important;
  transition: var(--transition);
  z-index: 1030 !important;
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  background: rgba(44, 95, 65, 0.95) !important;
  box-shadow: 0 4px 12px var(--shadow);
}

.navbar-expand-lg {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.navbar-dark .navbar-brand {
  color: var(--text-light) !important;
  font-weight: bold !important;
  font-size: 1.5rem !important;
  transition: var(--transition);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.navbar-toggler {
  background-color: rgba(255, 255, 255, 0.9) !important;
  border: 2px solid var(--secondary-color) !important;
  padding: 0.5rem !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(184, 134, 11, 0.5) !important;
}

.navbar-nav {
  gap: 1rem !important;
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  transition: var(--transition) !important;
  position: relative;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

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

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

/* Hero Section */
.top-50 {
  top: 50% !important;
}

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

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

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

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

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

.display-1 {
  font-size: clamp(2.5rem, 8vw, 5rem) !important;
  font-weight: 700 !important;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.display-3 {
  font-size: clamp(2rem, 6vw, 4rem) !important;
  font-weight: 700 !important;
}

.display-4 {
  font-size: clamp(1.8rem, 5vw, 3.5rem) !important;
  font-weight: 700 !important;
}

.display-5 {
  font-size: clamp(1.5rem, 4vw, 3rem) !important;
  font-weight: 700 !important;
}

.display-6 {
  font-size: clamp(1.2rem, 3vw, 2rem) !important;
  font-weight: 600 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

/* Buttons */
.btn {
  border-radius: 50px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition) !important;
  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: 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-primary {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--secondary-dark) !important;
  border-color: var(--secondary-dark) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(184, 134, 11, 0.4) !important;
}

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

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(44, 95, 65, 0.4) !important;
}

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

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

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

.btn-outline-dark:hover,
.btn-outline-dark:focus {
  background-color: var(--text-dark) !important;
  border-color: var(--text-dark) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(33, 37, 41, 0.3) !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 {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
}

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

.btn-light:hover,
.btn-light:focus {
  background-color: #e0e0e0 !important;
  border-color: #e0e0e0 !important;
  color: var(--primary-dark) !important;
  transform: translateY(-3px);
}

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

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

/* Card Styles */
.card {
  border: none !important;
  border-radius: 15px !important;
  transition: var(--transition) !important;
  overflow: hidden;
  background: white;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-lg) !important;
}

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

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

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

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

/* Portfolio Styles */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 95, 65, 0.95) 0%, rgba(184, 134, 11, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: var(--transition);
  padding: 2rem;
  z-index: 2;
}

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

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

.filter-btn {
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  background: transparent !important;
  margin: 0.25rem;
}

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

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

/* Image Styles */
.img-fluid {
  max-width: 100% !important;
  height: auto !important;
}

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

.shadow {
  box-shadow: 0 10px 30px var(--shadow) !important;
}

.shadow-sm {
  box-shadow: 0 5px 15px var(--shadow) !important;
}

.shadow-lg {
  box-shadow: 0 20px 50px var(--shadow-lg) !important;
}

/* Form Styles */
.form-control,
.form-select {
  border: 2px solid #dee2e6 !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition) !important;
  background-color: white !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(184, 134, 11, 0.25) !important;
  outline: none !important;
}

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

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

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

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

.text-danger {
  color: #dc3545 !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Alert Styles */
.alert {
  border-radius: 10px !important;
  padding: 1rem 1.5rem !important;
  border-left: 4px solid var(--secondary-color) !important;
  background-color: rgba(184, 134, 11, 0.1) !important;
  color: var(--text-dark) !important;
}

/* Progress Bar */
.progress {
  height: 30px !important;
  border-radius: 50px !important;
  background-color: #e9ecef !important;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
  font-weight: 600 !important;
  line-height: 30px !important;
  transition: width 1s ease-in-out !important;
}

/* Ratio (Video Embed) */
.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-21x9 {
  --bs-aspect-ratio: 42.857143%;
}

/* Icons */
.bi {
  display: inline-block;
  vertical-align: -0.125em;
  fill: currentColor;
}

.bi-chat-dots::before,
.bi-send::before,
.bi-geo-alt-fill::before,
.bi-telephone-fill::before,
.bi-envelope-fill::before,
.bi-lightning-fill::before,
.bi-telephone::before,
.bi-envelope::before,
.bi-car-front::before,
.bi-clock-history::before,
.bi-calendar-check::before,
.bi-shield-check::before,
.bi-geo-alt::before,
.bi-calendar3::before,
.bi-award-fill::before,
.bi-trophy-fill::before,
.bi-star-fill::before,
.bi-patch-check-fill::before,
.bi-tree-fill::before,
.bi-globe-americas::before,
.bi-lightning-charge-fill::before,
.bi-droplet-fill::before,
.bi-recycle::before,
.bi-cloud-minus-fill::before,
.bi-check-circle-fill::before {
  font-family: 'bootstrap-icons' !important;
}

/* Navigation Pills */
.nav {
  display: flex;
}

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

.nav-link.active {
  background-color: var(--primary-color) !important;
  color: var(--text-light) !important;
}

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

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

/* Link Styles */
a {
  color: var(--secondary-color) !important;
  text-decoration: none !important;
  transition: var(--transition) !important;
}

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

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

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

/* Background Colors */
.bg-light {
  background-color: #f8f9fa !important;
}

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

/* Text Colors */
.text-muted {
  color: #6c757d !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}

/* Spacing Utilities */
.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !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-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; }

.pt-3 { padding-top: 1rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.ps-3 { padding-left: 1rem !important; }
.ps-4 { padding-left: 1.5rem !important; }

.m-0 { margin: 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; }
.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; }
.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: 0.5rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }

/* Display Utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }

/* Flex Utilities */
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: flex-end !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-end { align-items: flex-end !important; }
.flex-wrap { flex-wrap: wrap !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }

/* Font Utilities */
.fw-light { font-weight: 300 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }
.fs-1 { font-size: 2.5rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.h4 { font-size: 1.5rem !important; }
.h5 { font-size: 1.25rem !important; }
.h6 { font-size: 1rem !important; }
.lead { font-size: 1.25rem !important; font-weight: 300 !important; }
.small { font-size: 0.875rem !important; }

/* Opacity Utilities */
.opacity-25 { opacity: 0.25 !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-90 { opacity: 0.9 !important; }

/* Text Alignment */
.text-end { text-align: right !important; }

/* Border Utilities */
.border { border: 1px solid #dee2e6 !important; }
.border-top { border-top: 1px solid #dee2e6 !important; }

/* Grid System */
.container,
.container-fluid {
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}

.container {
  max-width: 1320px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y, 0));
  margin-right: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
  margin-left: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
}

.row > * {
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  margin-top: var(--bs-gutter-y, 0);
}

.g-0 { --bs-gutter-x: 0; --bs-gutter-y: 0; }
.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; }

.col-6 { flex: 0 0 auto; width: 50%; }
.col-12 { flex: 0 0 auto; width: 100%; }
.col-md-4 { flex: 0 0 auto; width: 100%; }
.col-md-6 { flex: 0 0 auto; width: 100%; }
.col-md-12 { flex: 0 0 auto; width: 100%; }
.col-lg-2 { flex: 0 0 auto; width: 100%; }
.col-lg-3 { flex: 0 0 auto; width: 100%; }
.col-lg-4 { flex: 0 0 auto; width: 100%; }
.col-lg-5 { flex: 0 0 auto; width: 100%; }
.col-lg-6 { flex: 0 0 auto; width: 100%; }
.col-lg-7 { flex: 0 0 auto; width: 100%; }
.col-lg-8 { flex: 0 0 auto; width: 100%; }
.col-lg-9 { flex: 0 0 auto; width: 100%; }
.col-lg-10 { flex: 0 0 auto; width: 100%; }

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

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

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

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

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

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

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

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

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

/* Hover Effects */
.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-lg);
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--text-light) !important;
  padding: 3rem 0;
}

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

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

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

/* Responsive Design - Mobile First */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  .col-md-4 {
    width: 33.333333%;
  }
  
  .col-md-6 {
    width: 50%;
  }
  
  .col-md-12 {
    width: 100%;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
  
  .p-md-5 {
    padding: 3rem !important;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
  
  .col-lg-2 {
    width: 16.666667%;
  }
  
  .col-lg-3 {
    width: 25%;
  }
  
  .col-lg-4 {
    width: 33.333333%;
  }
  
  .col-lg-5 {
    width: 41.666667%;
  }
  
  .col-lg-6 {
    width: 50%;
  }
  
  .col-lg-7 {
    width: 58.333333%;
  }
  
  .col-lg-8 {
    width: 66.666667%;
  }
  
  .col-lg-9 {
    width: 75%;
  }
  
  .col-lg-10 {
    width: 83.333333%;
  }
  
  .d-lg-block {
    display: block !important;
  }
  
  .text-lg-end {
    text-align: right !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
  
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  
  .px-lg-5 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }
  
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
  
  .flex-lg-row-reverse {
    flex-direction: row-reverse !important;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Mobile Optimizations */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(44, 95, 65, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.8rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .px-lg-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (max-width: 767px) {
  .btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
  }
}

/* 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: 0;
}

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

button:focus,
.btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(184, 134, 11, 0.5) !important;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

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

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

/* 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);
}

/* Loading Spinner */
.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--secondary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

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