/* Forest Adventure Architecture Studio - Custom Styles */

/* ===== Root Variables ===== */
:root {
  --primary-color: #2E7D32;
  --secondary-color: #FF8F00;
  --dark-green: #1B5E20;
  --light-green: #4CAF50;
  --dark-orange: #F57C00;
  --light-orange: #FFB74D;
  --forest-dark: #0D3B0D;
  --forest-light: #C8E6C9;
  --transition-speed: 0.3s;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background-color: #f8f9fa;
  color: #212529;
}

html {
  scroll-behavior: smooth;
}

/* ===== Typography ===== */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  letter-spacing: -0.5px;
}

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

.text-dark {
  color: #212529 !important;
}

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

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

/* ===== Navigation ===== */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%) !important;
  padding: 1rem 0;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.sticky-top {
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.3);
}

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

.navbar-brand {
  color: #ffffff !important;
  font-size: 1.75rem;
  transition: all var(--transition-speed) ease;
}

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

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

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3) !important;
  padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 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") !important;
}

.navbar-collapse {
  transition: all var(--transition-speed) ease;
}

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

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

.nav-item {
  margin: 0 0.25rem;
}

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

.nav-link:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.nav-link.active {
  color: #ffffff !important;
  background-color: var(--secondary-color) !important;
  box-shadow: 0 4px 10px rgba(255, 143, 0, 0.3);
}

/* ===== Hero Section ===== */
.position-relative {
  position: relative !important;
}

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

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

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

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

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

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

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

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

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

.d-block {
  display: block !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;
}

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

.flex-wrap {
  flex-wrap: wrap !important;
}

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

.gap-2 {
  gap: 0.5rem !important;
}

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

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

/* ===== Buttons ===== */
.btn {
  font-weight: 600;
  border-radius: 8px;
  transition: all var(--transition-speed) ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-lg {
  padding: 0.75rem 2rem !important;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: var(--secondary-color) !important;
  color: #ffffff !important;
  border: 2px solid var(--secondary-color) !important;
}

.btn-primary:hover {
  background-color: var(--dark-orange) !important;
  border-color: var(--dark-orange) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(255, 143, 0, 0.4);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  border: 2px solid var(--primary-color) !important;
}

.btn-secondary:hover {
  background-color: var(--dark-green) !important;
  border-color: var(--dark-green) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
  transform: translateY(-3px);
}

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

.btn-outline-secondary:hover {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

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

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

/* ===== Cards ===== */
.card {
  border-radius: 12px;
  transition: all var(--transition-speed) ease;
  overflow: hidden;
  height: 100%;
}

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

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

.card-body {
  padding: 1.5rem;
}

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

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

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

.card-text {
  color: #6c757d;
  line-height: 1.6;
}

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

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

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

/* ===== Adventure Cards ===== */
.adventure-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%);
  border-radius: 15px;
  padding: 2rem;
  color: #ffffff !important;
  transition: all var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
}

.adventure-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  transition: all 0.6s ease;
  transform: scale(0);
}

.adventure-card:hover::before {
  transform: scale(1);
}

.adventure-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(46, 125, 50, 0.4) !important;
}

.adventure-card .bi {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* ===== Project Items ===== */
.project-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.project-item:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
}

.project-item img {
  transition: all 0.5s ease;
}

.project-item:hover img {
  transform: scale(1.2);
  filter: brightness(0.7);
}

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

/* ===== Filter Buttons ===== */
.filter-btn {
  background-color: #f8f9fa !important;
  color: var(--primary-color) !important;
  border: 2px solid #e9ecef !important;
  padding: 0.5rem 1.5rem;
  margin: 0.25rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
  transform: translateY(-2px);
}

/* ===== Badges ===== */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  background-color: var(--secondary-color) !important;
  color: #ffffff !important;
}

/* ===== Icons ===== */
.bi {
  line-height: 1;
}

.bi-mountain,
.bi-tree,
.bi-compass,
.bi-house-heart,
.bi-flag,
.bi-snow2,
.bi-chat-dots,
.bi-geo-alt,
.bi-telephone,
.bi-envelope,
.bi-send,
.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-pin-map-fill,
.bi-tree-fill,
.bi-water,
.bi-snow,
.bi-facebook,
.bi-instagram,
.bi-linkedin,
.bi-mountains,
.bi-shield-lock,
.bi-info-circle,
.bi-collection,
.bi-gear,
.bi-cookie,
.bi-shield-check,
.bi-share,
.bi-hand-thumbs-up,
.bi-check-circle-fill,
.bi-clock-history,
.bi-link-45deg,
.bi-people,
.bi-pencil-square,
.bi-calendar-check,
.bi-rulers,
.bi-award,
.bi-twitter,
.bi-speedometer2,
.bi-people-fill,
.bi-lightbulb-fill,
.bi-house-fill,
.bi-droplet-fill,
.bi-bicycle,
.bi-life-preserver,
.bi-stars,
.bi-recycle,
.bi-lightning-charge,
.bi-camera-fill {
  color: inherit;
  transition: all var(--transition-speed) ease;
}

.rounded-circle {
  border-radius: 50% !important;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--forest-light);
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

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

.fs-4 {
  font-size: calc(1.275rem + 0.3vw) !important;
}

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

/* ===== Spacing Utilities ===== */
.m-3 {
  margin: 1rem !important;
}

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

.my-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.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: 1.5rem !important;
}

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

.mt-lg-0 {
  margin-top: 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;
}

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

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

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

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

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

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

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

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

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

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

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

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

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

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

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

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

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

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

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

.rounded {
  border-radius: 0.375rem !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;
}

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

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

.form-control,
.form-select {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all var(--transition-speed) ease;
  background-color: #ffffff;
  color: #212529;
}

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

.form-check-input {
  border: 2px solid #e9ecef;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

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

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

.form-check-label {
  cursor: pointer;
  color: #495057;
}

/* ===== Alerts ===== */
.alert {
  border-radius: 8px;
  padding: 1rem 1.5rem;
  border: none;
  margin-bottom: 1rem;
}

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

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

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

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

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

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

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

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

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

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

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

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

.list-unstyled a {
  color: #6c757d;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

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

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

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

/* ===== Border Utilities ===== */
.border-0 {
  border: 0 !important;
}

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

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

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

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

/* ===== Container ===== */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

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

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

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

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

.col-6,
.col-12,
.col-md-3,
.col-md-4,
.col-md-6,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-10 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

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

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

/* ===== Typography Sizes ===== */
.h2, .h3, .h4, .h5, .h6 {
  font-weight: 600;
  color: var(--primary-color);
}

.h2 {
  font-size: 2rem;
}

.h3 {
  font-size: 1.75rem;
}

.h4 {
  font-size: 1.5rem;
}

.h5 {
  font-size: 1.25rem;
}

.h6 {
  font-size: 1rem;
}

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

.small {
  font-size: 0.875rem;
}

/* ===== Order Utilities ===== */
.order-lg-1 {
  order: 1;
}

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

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

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

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

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

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

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

/* ===== Social Icons ===== */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #ffffff !important;
  transition: all var(--transition-speed) ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: var(--secondary-color);
  color: #ffffff !important;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(255, 143, 0, 0.4);
}

/* ===== Footer ===== */
footer {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--primary-color) 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 3rem 0 1rem;
}

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

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

footer h5,
footer h6 {
  color: #ffffff;
}

/* ===== Scroll to Top Button ===== */
#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: #ffffff;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 143, 0, 0.3);
}

#scrollToTop.show {
  opacity: 1;
  visibility: visible;
}

#scrollToTop:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
}

/* ===== Loading Spinner ===== */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

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

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

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  
  .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;
  }
  
  .p-md-5 {
    padding: 3rem !important;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
  }
  
  .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-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  
  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
  
  .mt-lg-0 {
    margin-top: 0 !important;
  }
  
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  
  .pe-lg-5 {
    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: 1200px) {
  .container {
    max-width: 1140px;
  }
}

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

/* ===== Mobile Optimizations ===== */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: rgba(46, 125, 50, 0.98);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
  }
  
  .display-1 {
    font-size: 3rem !important;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

@media (max-width: 767px) {
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .btn-lg {
    padding: 0.5rem 1.5rem !important;
    font-size: 1rem;
  }
  
  #scrollToTop {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* ===== Print Styles ===== */
@media print {
  .navbar,
  .btn,
  footer,
  #scrollToTop {
    display: none !important;
  }
}

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

*:focus-visible {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

/* ===== Selection ===== */
::selection {
  background-color: var(--secondary-color);
  color: #ffffff;
}

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

/* ===== 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(--dark-green);
}