/* Forest Sage Architecture Studio - Custom Styles */

:root {
  --primary: #2C5530;
  --secondary: #A8C09A;
  --light-sage: #D4E5D1;
  --dark-forest: #1a3320;
  --white: #ffffff;
  --light: #f8f9fa;
  --dark: #212529;
  --text-muted: #6c757d;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700;
  color: var(--dark-forest) !important;
  line-height: 1.2;
}

.text-white,
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.text-white .display-1,
.text-white .display-2,
.text-white .display-3,
.text-white .display-4,
.text-white .display-5,
.text-white .display-6 {
  color: var(--white) !important;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

/* Navbar Styles */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  background-color: var(--primary) !important;
  box-shadow: 0 2px 10px rgba(44, 85, 48, 0.1);
}

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

.navbar.navbar-dark {
  background-color: var(--dark-forest) !important;
}

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

.navbar.sticky-top,
.navbar.fixed-top,
.navbar.sticky-lg-top {
  backdrop-filter: blur(10px);
}

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

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

.navbar-brand:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

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

.navbar-light .navbar-toggler {
  border-color: var(--primary) !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(44, 85, 48, 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='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-light .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%2844, 85, 48, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

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

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

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

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

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

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

/* Button Styles */
.btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 50px;
  transition: var(--transition);
  border: 2px solid transparent;
  font-size: 0.9rem;
}

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

.btn:active {
  transform: translateY(-1px);
}

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

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--dark-forest) !important;
  border-color: var(--dark-forest) !important;
  color: var(--white) !important;
}

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

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

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

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

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

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

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

.btn-outline-success:hover,
.btn-outline-success:focus {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--white) !important;
}

.btn-lg {
  padding: 1rem 3rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.8rem;
}

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

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

/* Carousel Styles */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carousel.carousel-fade .carousel-item.active {
  opacity: 1;
}

.carousel-inner {
  height: 100vh;
  min-height: 600px;
}

.carousel-item {
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 85, 48, 0.7) 0%, rgba(26, 51, 32, 0.8) 100%);
  z-index: 1;
}

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

.carousel-item > * {
  position: relative;
  z-index: 2;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  z-index: 3;
  opacity: 0.8;
  transition: var(--transition);
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary);
  border-radius: 50%;
  padding: 2rem;
  width: 3rem;
  height: 3rem;
}

/* Card Styles */
.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition);
  background-color: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(44, 85, 48, 0.2);
}

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

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

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

.card-body {
  padding: 2rem;
  background-color: var(--white);
}

.card-footer {
  background-color: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.5rem 2rem;
}

/* Portfolio Styles */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  margin-bottom: 2rem;
}

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

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(44, 85, 48, 0.95) 0%, rgba(44, 85, 48, 0.7) 50%, rgba(44, 85, 48, 0) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
  color: var(--white) !important;
}

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

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

.portfolio-overlay h3,
.portfolio-overlay h4,
.portfolio-overlay p {
  color: var(--white) !important;
}

/* Badge Styles */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

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

/* Form Styles */
.form-control,
.form-select {
  padding: 0.875rem 1.25rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  transition: var(--transition);
  font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(44, 85, 48, 0.15) !important;
  outline: none;
}

.form-label {
  font-weight: 600;
  color: var(--dark-forest);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #e0e0e0;
  cursor: pointer;
  transition: var(--transition);
}

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

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(44, 85, 48, 0.15) !important;
}

.form-check-label {
  cursor: pointer;
  margin-left: 0.5rem;
}

/* Alert Styles */
.alert {
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  border: none;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.alert-light {
  background-color: var(--light-sage);
  color: var(--dark-forest);
}

/* Accordion Styles */
.accordion {
  border-radius: 15px;
  overflow: hidden;
}

.accordion-item {
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background-color: transparent;
}

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

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

.accordion-button {
  padding: 1.5rem 1.75rem;
  font-weight: 600;
  color: var(--dark-forest) !important;
  background-color: var(--white);
  border: none;
  transition: var(--transition);
  font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
  background-color: var(--light-sage);
  color: var(--primary) !important;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232C5530'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232C5530'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 1.5rem 1.75rem;
  background-color: var(--white);
  color: var(--text-muted);
  line-height: 1.8;
}

/* Breadcrumb Styles */
.breadcrumb {
  background-color: transparent;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.breadcrumb-item {
  font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  color: var(--text-muted);
}

.breadcrumb-item.active {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--primary);
}

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

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

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

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

/* Background Utilities */
.bg-primary {
  background-color: var(--primary) !important;
}

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

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

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

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

/* Text Color Utilities */
.text-primary {
  color: var(--primary) !important;
}

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

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

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

.text-warning {
  color: #ffc107 !important;
}

/* Border Utilities */
.border-white {
  border-color: var(--white) !important;
}

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

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

.border-start {
  border-left: 1px solid !important;
}

/* Shadow Utilities */
.shadow {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
}

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

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

/* Opacity Utilities */
.opacity-25 {
  opacity: 0.25 !important;
}

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

/* Rounded Utilities */
.rounded {
  border-radius: 10px !important;
}

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

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

/* Bootstrap Icons */
.bi {
  vertical-align: -0.125em;
}

.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-instagram,
.bi-linkedin,
.bi-facebook,
.bi-twitter,
.bi-arrow-right,
.bi-map,
.bi-telephone,
.bi-envelope,
.bi-info-circle,
.bi-gear,
.bi-shield-check,
.bi-share,
.bi-cookie,
.bi-hand-thumbs-up,
.bi-clock-history,
.bi-people,
.bi-pencil-square,
.bi-lightbulb,
.bi-lightning-charge-fill,
.bi-droplet-fill,
.bi-tree-fill,
.bi-recycle,
.bi-award-fill,
.bi-check-circle-fill,
.bi-graph-up-arrow,
.bi-house-heart-fill {
  font-size: 1.2rem;
}

/* Font Awesome Icons */
.fas,
.fab {
  vertical-align: middle;
}

.fa-lg {
  font-size: 1.5rem;
}

/* Ratio Utilities */
.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%;
}

/* Section Spacing */
section {
  padding: 5rem 0;
}

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

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

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

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

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

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

.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-auto { margin-left: auto !important; }

.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 2rem !important; }
.p-5 { padding: 3rem !important; }

.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 2rem !important; padding-right: 2rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  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 scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

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

.scale-in {
  animation: scaleIn 0.6s ease-out forwards;
}

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

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

.hover-scale {
  transition: var(--transition);
}

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

/* Text Decoration */
.text-decoration-none {
  text-decoration: none !important;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--dark-forest);
}

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

/* Overflow Utilities */
.overflow-hidden {
  overflow: hidden !important;
}

/* Position Utilities */
.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !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;
}

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

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

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

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

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

/* Flex Utilities */
.flex-wrap {
  flex-wrap: wrap !important;
}

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

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

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

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

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

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

/* Gap Utilities */
.gap-2 {
  gap: 0.5rem !important;
}

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

/* Width Utilities */
.w-100 {
  width: 100% !important;
}

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

/* Height Utilities */
.h-100 {
  height: 100% !important;
}

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

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

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--primary);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  .navbar-light .navbar-collapse {
    background-color: var(--white);
    border: 2px solid var(--secondary);
  }
  
  .navbar-nav {
    gap: 0.5rem !important;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
  }
  
  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .navbar-light .nav-link:hover {
    background-color: var(--light-sage);
  }
  
  .carousel-inner {
    height: 70vh;
    min-height: 500px;
  }
  
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-2 {
    font-size: 2.25rem !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;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .mb-lg-0 {
    margin-bottom: 2rem !important;
  }
}

@media (max-width: 767.98px) {
  .carousel-inner {
    height: 60vh;
    min-height: 450px;
  }
  
  .display-1 {
    font-size: 2rem !important;
  }
  
  .display-2 {
    font-size: 1.75rem !important;
  }
  
  .display-3 {
    font-size: 1.5rem !important;
  }
  
  .display-4 {
    font-size: 1.35rem !important;
  }
  
  .fs-4 {
    font-size: 1rem !important;
  }
  
  .fs-5 {
    font-size: 0.95rem !important;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  
  .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
  }
  
  .card {
    margin-bottom: 1.5rem;
  }
  
  .card-body {
    padding: 1.25rem;
  }
  
  .accordion-button {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }
  
  .accordion-body {
    padding: 1rem 1.25rem;
  }
  
  .text-md-start {
    text-align: center !important;
  }
  
  .text-md-end {
    text-align: center !important;
  }
  
  .mb-md-0 {
    margin-bottom: 1rem !important;
  }
  
  .mt-md-0 {
    margin-top: 1rem !important;
  }
  
  .p-md-5 {
    padding: 2rem !important;
  }
}

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .carousel-inner {
    height: 50vh;
    min-height: 400px;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 10%;
  }
  
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .display-1 {
    font-size: 1.75rem !important;
  }
  
  .display-2 {
    font-size: 1.5rem !important;
  }
  
  .btn-filter {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    margin: 0.2rem;
  }
  
  .flex-sm-row {
    flex-direction: column !important;
  }
  
  .col-sm-6 {
    width: 100%;
  }
}

@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%;
  }
  
  .offset-lg-3 {
    margin-left: 25%;
  }
  
  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
  
  .mt-lg-0 {
    margin-top: 0 !important;
  }
  
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  
  .px-lg-5 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }
  
  .text-lg-end {
    text-align: right !important;
  }
  
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
}

@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%;
  }
  
  .col-md-8 {
    flex: 0 0 auto;
    width: 66.666667%;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
}

@media (min-width: 576px) {
  .col-sm-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .flex-sm-row {
    flex-direction: row !important;
  }
}

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

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

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

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

/* Visually Hidden */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Smooth Scroll Behavior */
html {
  scroll-padding-top: 100px;
}

/* Focus Styles */
*:focus {
  outline: none;
}

.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus {
  box-shadow: 0 0 0 0.25rem rgba(44, 85, 48, 0.25) !important;
}

/* Loading Animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

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

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

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

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

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

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .carousel-control-prev,
  .carousel-control-next {
    display: none !important;
  }
}