/* Architecture Studio - Forest & Amber Theme CSS */

:root {
  --primary-color: #2E7D32;
  --secondary-color: #FFC107;
  --dark-green: #1B5E20;
  --light-green: #4CAF50;
  --amber-light: #FFD54F;
  --white: #FFFFFF;
  --black: #000000;
  --gray-light: #F5F5F5;
  --gray-dark: #424242;
  --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;
  line-height: 1.6;
  color: var(--gray-dark);
  overflow-x: hidden;
}

/* Hero Slideshow Section */
.hero-slideshow {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-color) 100%);
}

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

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

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

.slideshow-container {
  z-index: 1;
}

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

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

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

.slide {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  pointer-events: none;
}

.slide.active {
  opacity: 0.4;
  pointer-events: auto;
}

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

/* Navbar Styles */
.navbar {
  z-index: 1000;
  transition: var(--transition);
  background: rgba(30, 125, 50, 0.95) !important;
  backdrop-filter: blur(10px);
}

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

.navbar-light {
  background-color: var(--white) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-expand-lg {
  padding: 0.5rem 1rem;
}

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

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.navbar-brand {
  color: var(--white) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  transition: var(--transition);
  text-decoration: none;
}

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

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

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

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

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.5) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.collapse {
  transition: var(--transition);
}

.navbar-collapse {
  flex-grow: 1;
}

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

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

.navbar-nav {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.nav-item {
  list-style: none;
}

.nav-link {
  color: var(--white) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  text-decoration: none;
  display: block;
  position: relative;
}

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

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

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

/* Hero Content */
.hero-content {
  z-index: 2;
  position: relative;
}

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

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

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

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

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

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

.text-muted {
  color: #6c757d !important;
}

.text-danger {
  color: #dc3545 !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;
}

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

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

.display-2 {
  font-size: calc(1.575rem + 3.9vw) !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
}

.display-3 {
  font-size: calc(1.525rem + 3.3vw) !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
}

.display-4 {
  font-size: calc(1.475rem + 2.7vw) !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
}

.display-5 {
  font-size: calc(1.425rem + 2.1vw) !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
}

.display-6 {
  font-size: calc(1.375rem + 1.5vw) !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.my-auto {
  margin-top: auto !important;
  margin-bottom: auto !important;
}

.ms-1 {
  margin-left: 0.25rem !important;
}

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

.ms-3 {
  margin-left: 1rem !important;
}

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

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

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

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

.mx-2 {
  margin-left: 0.5rem !important;
  margin-right: 0.5rem !important;
}

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

.fs-3 {
  font-size: calc(1.3rem + 0.6vw) !important;
}

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

.fs-1 {
  font-size: calc(1.375rem + 1.5vw) !important;
}

.fs-2 {
  font-size: calc(1.325rem + 0.9vw) !important;
}

.lh-base {
  line-height: 1.6 !important;
}

/* Button Styles */
.btn {
  display: inline-block;
  font-weight: 600 !important;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.5rem;
  transition: var(--transition);
  background-color: var(--secondary-color) !important;
  color: var(--black) !important;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5) !important;
  background-color: var(--amber-light) !important;
  color: var(--black) !important;
}

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

.btn-lg {
  padding: 1rem 2rem !important;
  font-size: 1.25rem !important;
  border-radius: 0.75rem;
}

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

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

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

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

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

.btn-close {
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition);
}

.btn-close:hover {
  opacity: 1;
}

/* Layout */
.bottom-0 {
  bottom: 0 !important;
}

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

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

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

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

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

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

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

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

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

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

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.g-0 {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.g-0 > * {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.g-3 {
  margin-right: -0.5rem !important;
  margin-left: -0.5rem !important;
}

.g-3 > * {
  padding-right: 0.5rem !important;
  padding-left: 0.5rem !important;
  margin-bottom: 1rem !important;
}

.g-4 {
  margin-right: -0.75rem !important;
  margin-left: -0.75rem !important;
}

.g-4 > * {
  padding-right: 0.75rem !important;
  padding-left: 0.75rem !important;
  margin-bottom: 1.5rem !important;
}

.g-5 {
  margin-right: -1.5rem !important;
  margin-left: -1.5rem !important;
}

.g-5 > * {
  padding-right: 1.5rem !important;
  padding-left: 1.5rem !important;
  margin-bottom: 3rem !important;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-md-4 {
  flex: 0 0 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-md-6 {
  flex: 0 0 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-lg-2 {
  flex: 0 0 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-lg-3 {
  flex: 0 0 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-lg-4 {
  flex: 0 0 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-lg-5 {
  flex: 0 0 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-lg-6 {
  flex: 0 0 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-lg-7 {
  flex: 0 0 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-lg-8 {
  flex: 0 0 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-lg-9 {
  flex: 0 0 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

/* Images */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.rounded-3 {
  border-radius: 0.5rem !important;
}

.rounded-4 {
  border-radius: 1rem !important;
}

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

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

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

/* Cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: var(--white);
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(46, 125, 50, 0.2) !important;
}

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

.card-body {
  flex: 1 1 auto;
  padding: 1.5rem;
}

.card-img-top {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

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

.card-text {
  margin-bottom: 1rem;
  color: var(--gray-dark);
}

.h4 {
  font-size: 1.5rem !important;
  font-weight: 600;
  color: var(--primary-color);
}

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

.h6 {
  font-size: 1rem !important;
  font-weight: 600;
  color: var(--primary-color);
}

.h3 {
  font-size: 1.75rem !important;
  font-weight: 600;
  color: var(--primary-color);
}

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

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

/* Opacity */
.opacity-75 {
  opacity: 0.75 !important;
}

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

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

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

/* Text & Typography */
.lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
}

.small {
  font-size: 0.875rem;
}

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

.text-md-start {
  text-align: left !important;
}

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

.text-lg-start {
  text-align: left !important;
}

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

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

/* Badge */
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  color: var(--white) !important;
  background-color: var(--secondary-color) !important;
  border-radius: 0.375rem;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
}

/* Timeline */
.timeline-container {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 2rem;
  border-left: 3px solid var(--primary-color);
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 16px;
  height: 16px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  border: 3px solid var(--primary-color);
}

.timeline-item:hover::before {
  transform: scale(1.3);
  transition: var(--transition);
}

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

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

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray-dark) !important;
  background-color: var(--white);
  background-clip: padding-box;
  border: 2px solid #ced4da;
  appearance: none;
  border-radius: 0.5rem;
  transition: var(--transition);
}

.form-control:focus {
  color: var(--gray-dark) !important;
  background-color: var(--white);
  border-color: var(--primary-color) !important;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.25) !important;
}

.form-select {
  display: block;
  width: 100%;
  padding: 0.75rem 2.25rem 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray-dark) !important;
  background-color: var(--white);
  border: 2px solid #ced4da;
  border-radius: 0.5rem;
  transition: var(--transition);
}

.form-select:focus {
  border-color: var(--primary-color) !important;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.25) !important;
}

.form-check {
  display: block;
  min-height: 1.5rem;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  vertical-align: top;
  background-color: var(--white);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 2px solid rgba(0, 0, 0, 0.25);
  appearance: none;
  transition: var(--transition);
  float: left;
  margin-left: -1.75rem;
}

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

.form-check-input:focus {
  border-color: var(--primary-color) !important;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.25) !important;
}

.form-check-label {
  color: var(--gray-dark) !important;
  cursor: pointer;
}

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

.bi-info-circle::before { content: "ℹ"; }
.bi-geo-alt-fill::before { content: "📍"; }
.bi-telephone-fill::before { content: "📞"; }
.bi-envelope-fill::before { content: "✉"; }
.bi-calendar-check::before { content: "📅"; }
.bi-chat-dots::before { content: "💬"; }
.bi-briefcase::before { content: "💼"; }
.bi-facebook::before { content: "f"; }
.bi-instagram::before { content: "📷"; }
.bi-linkedin::before { content: "in"; }
.bi-house-door::before { content: "🏠"; }
.bi-check-circle-fill::before { content: "✓"; }
.bi-building::before { content: "🏢"; }
.bi-bank::before { content: "🏛"; }
.bi-leaf::before { content: "🍃"; }
.bi-map::before { content: "🗺"; }
.bi-grid-3x3::before { content: "⊞"; }

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

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

/* Portfolio */
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
  transition: var(--transition);
}

.portfolio-item {
  margin-bottom: 2rem;
  opacity: 1;
  transition: var(--transition);
}

.portfolio-item.hidden {
  opacity: 0;
  display: none;
}

.portfolio-card {
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

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

.portfolio-card .card-img-top {
  transition: transform 0.5s ease;
}

/* Service Cards */
.service-card {
  position: relative;
  height: 350px;
  perspective: 1000px;
  cursor: pointer;
}

.service-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.service-card:hover .service-overlay {
  transform: rotateY(180deg);
}

.service-front,
.service-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-front {
  background: linear-gradient(135deg, var(--primary-color), var(--light-green));
  color: var(--white) !important;
}

.service-back {
  background: linear-gradient(135deg, var(--secondary-color), var(--amber-light));
  color: var(--gray-dark) !important;
  transform: rotateY(180deg);
}

.service-front h5,
.service-front .h5 {
  color: var(--white) !important;
  margin-top: 1rem;
}

.service-back p {
  color: var(--gray-dark) !important;
  text-align: center;
}

/* Accordion */
.accordion {
  border-radius: 0.5rem;
  overflow: hidden;
}

.accordion-flush {
  border-radius: 0;
}

.accordion-item {
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.125);
  margin-bottom: 1rem;
}

.border {
  border: 1px solid #dee2e6 !important;
}

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

.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-dark) !important;
  text-align: left;
  background-color: var(--white);
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  transition: var(--transition);
  cursor: pointer;
}

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

.accordion-button:hover {
  background-color: var(--gray-light);
}

.accordion-button:focus {
  z-index: 3;
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.25);
}

.collapsed {
  border-radius: 0.5rem;
}

.accordion-collapse {
  border: 0;
}

.accordion-body {
  padding: 1.25rem;
  background-color: var(--gray-light);
  color: var(--gray-dark) !important;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1055;
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.modal.fade {
  transition: opacity 0.15s linear;
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
}

.modal-lg {
  max-width: 800px;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: var(--white);
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  outline: 0;
}

.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1.5rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  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);
  }
}

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

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

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

/* Responsive Media Queries */
@media (min-width: 768px) {
  .navbar-nav {
    flex-direction: row;
  }
  
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
}

@media (min-width: 992px) {
  .col-lg-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  
  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  
  .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  
  .col-lg-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  
  .text-lg-start {
    text-align: left !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;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    background-color: rgba(30, 125, 50, 0.98);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .service-card {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
  
  .filter-buttons {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
  }
}

/* Utility Classes */
.cursor-pointer {
  cursor: pointer !important;
}

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

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

.z-index-1000 {
  z-index: 1000 !important;
}

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

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

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

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

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

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

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .modal,
  .filter-buttons {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}