/* Forest Gold Architecture Studio Theme */

/* === ROOT VARIABLES === */
:root {
  --primary-color: #2C5F41;
  --primary-dark: #1a3827;
  --primary-light: #3d7a56;
  --secondary-color: #D4AF37;
  --secondary-dark: #b8962d;
  --secondary-light: #e5c96b;
  --forest-darker: #1e4430;
  --gold-lighter: #f0db94;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --transition-speed: 0.3s;
}

/* === GLOBAL STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

.text-white, .text-white.display-2, .text-white.display-3, .text-white.display-4 {
  color: #ffffff !important;
}

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

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

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

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

.fw-normal {
  font-weight: 400 !important;
}

.fs-3 {
  font-size: 1.75rem !important;
}

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

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

.fs-6 {
  font-size: 1rem !important;
}

.small {
  font-size: 0.875rem !important;
}

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

.text-success {
  color: #198754 !important;
}

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

/* === NAVBAR === */
.navbar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
  padding: 1rem 0 !important;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 15px rgba(44, 95, 65, 0.3);
}

.navbar.fixed-top {
  top: 0;
  z-index: 1030;
}

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

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

.navbar-brand {
  color: var(--secondary-color) !important;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

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

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

.navbar-nav {
  gap: 0.5rem;
}

.nav-item {
  position: relative;
}

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

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

.nav-link.active {
  color: var(--secondary-color) !important;
  background-color: rgba(212, 175, 55, 0.15) !important;
  font-weight: 600 !important;
}

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

/* === BUTTONS === */
.btn {
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all var(--transition-speed) ease !important;
  border: 2px solid transparent !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-lg {
  padding: 0.875rem 2rem !important;
  font-size: 1.125rem !important;
}

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

.btn-outline-light {
  color: #ffffff !important;
  border-color: #ffffff !important;
  background-color: transparent !important;
}

.btn-outline-light:hover {
  background-color: #ffffff !important;
  color: var(--primary-color) !important;
  border-color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3) !important;
}

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

.btn-outline-secondary:hover {
  background-color: var(--secondary-color) !important;
  color: #ffffff !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3) !important;
}

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

.d-grid .btn {
  width: 100%;
}

/* Primary Button Style */
.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
}

.btn-primary:hover {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(44, 95, 65, 0.3) !important;
}

/* Secondary Button Style */
.btn-secondary {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--primary-dark) !important;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark) !important;
  border-color: var(--secondary-dark) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3) !important;
}

/* === HERO SECTION === */
.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.bottom-0 {
  bottom: 0;
}

.start-0 {
  left: 0;
}

.end-0 {
  right: 0;
}

.top-50 {
  top: 50% !important;
}

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

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

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

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

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23D4AF37" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  animation: wave 15s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero-section .d-flex {
  min-height: 100vh;
}

/* === CARDS === */
.card {
  border: none !important;
  border-radius: 12px !important;
  transition: all var(--transition-speed) ease !important;
  background-color: #ffffff !important;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(44, 95, 65, 0.2) !important;
}

.card-header {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border-bottom: 3px solid var(--secondary-color) !important;
  padding: 1rem 1.5rem !important;
}

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

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

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

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

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

.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 {
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
  font-size: 0.95rem !important;
}

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

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

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

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

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

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

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

.input-group {
  border-radius: 8px;
  overflow: hidden;
}

.input-group .form-control {
  border-right: none !important;
}

/* === ICONS === */
.bi {
  display: inline-block;
  vertical-align: middle;
}

.bi-building, .bi-gem, .bi-egg-fried, .bi-briefcase, 
.bi-person-check, .bi-water, .bi-telephone-fill, 
.bi-star-fill, .bi-facebook, .bi-instagram, .bi-twitter, 
.bi-linkedin, .bi-geo-alt-fill, .bi-envelope-fill,
.bi-arrow-right, .bi-headset, .bi-calendar-check,
.bi-flower1, .bi-cup-hot, .bi-pin-map-fill,
.bi-person-circle, .bi-laptop, .bi-camera-video,
.bi-credit-card, .bi-chat-dots, .bi-star,
.bi-graph-up, .bi-envelope, .bi-shield-check,
.bi-file-text, .bi-lock-fill, .bi-shield-lock-fill,
.bi-server, .bi-exclamation-triangle, .bi-eye-fill,
.bi-pencil-fill, .bi-trash-fill, .bi-envelope-slash-fill,
.bi-file-earmark-arrow-down-fill, .bi-question-circle-fill,
.bi-info-circle, .bi-check-circle-fill, .bi-check2,
.bi-exclamation-circle-fill, .bi-heart-fill,
.bi-cup-straw, .bi-clock, .bi-clock-history,
.bi-telephone {
  font-size: 2.5rem !important;
  color: var(--secondary-color) !important;
  transition: all var(--transition-speed) ease;
}

.card:hover .bi,
.text-center:hover .bi {
  transform: scale(1.1) rotate(5deg);
  color: var(--primary-color) !important;
}

.rounded-circle {
  border-radius: 50% !important;
  background-color: rgba(212, 175, 55, 0.1);
  padding: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

/* === SECTIONS === */
.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

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

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

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

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

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

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

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

.p-5 {
  padding: 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;
}

.ps-0 {
  padding-left: 0 !important;
}

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

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

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

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

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

.pb-4 {
  padding-bottom: 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-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-2 {
  margin-left: 0.5rem !important;
}

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

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

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

/* === LAYOUT === */
.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: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

.g-0 {
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
}

.g-3 {
  --bs-gutter-x: 1rem !important;
  --bs-gutter-y: 1rem !important;
}

.g-4 {
  --bs-gutter-x: 1.5rem !important;
  --bs-gutter-y: 1.5rem !important;
}

.g-5 {
  --bs-gutter-x: 3rem !important;
  --bs-gutter-y: 3rem !important;
}

.col-5, .col-6, .col-7, .col-12,
.col-sm-6, .col-md-2, .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-9 {
  flex: 0 0 auto;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

.col-5 { width: 41.66666667%; }
.col-6 { width: 50%; }
.col-7 { width: 58.33333333%; }
.col-12 { width: 100%; }

/* === FLEX UTILITIES === */
.d-flex {
  display: flex !important;
}

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

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

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

.flex-row-reverse {
  flex-direction: row-reverse !important;
}

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

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

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

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

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

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

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

/* === TEXT UTILITIES === */
.text-center {
  text-align: center !important;
}

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

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

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

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

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

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

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

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

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

.border-light {
  border-color: #f8f9fa !important;
}

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

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

/* === BACKGROUNDS === */
.bg-danger {
  background-color: #dc3545 !important;
}

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

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

.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

/* === BADGE === */
.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 6px;
  background-color: var(--secondary-color) !important;
}

/* === ALERT === */
.alert {
  position: relative;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: rgba(212, 175, 55, 0.1);
  border-color: var(--secondary-color);
  color: var(--primary-color);
}

/* === FOOTER === */
footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: #ffffff !important;
  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;
  transform: translateX(5px);
}

footer .bi-facebook,
footer .bi-instagram,
footer .bi-twitter,
footer .bi-linkedin {
  font-size: 1.5rem !important;
  padding: 0.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-speed) ease;
}

footer .bi-facebook:hover,
footer .bi-instagram:hover,
footer .bi-twitter:hover,
footer .bi-linkedin:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px) rotate(360deg);
}

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

@keyframes fadeInDown {
  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-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeInDown {
  animation: fadeInDown 0.8s ease-out forwards;
}

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

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

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

/* === RESPONSIVE DESIGN === */
@media (max-width: 575.98px) {
  .display-2 { font-size: 2.5rem !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; }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  .px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
  .px-5 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  
  .py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  
  .card { margin-bottom: 1.5rem; }
  
  .hero-section { min-height: 100vh; }
}

@media (min-width: 576px) {
  .col-sm-6 { width: 50%; }
}

@media (min-width: 768px) {
  .col-md-2 { width: 16.66666667%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.33333333%; }
  .col-md-6 { width: 50%; }
  
  .text-md-start { text-align: start !important; }
  .text-md-end { text-align: end !important; }
  .mb-md-0 { margin-bottom: 0 !important; }
  
  .p-md-5 { padding: 3rem !important; }
}

@media (min-width: 992px) {
  .col-lg-2 { width: 16.66666667%; }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.33333333%; }
  .col-lg-5 { width: 41.66666667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.33333333%; }
  .col-lg-8 { width: 66.66666667%; }
  .col-lg-9 { width: 75%; }
  
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
  }
  
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
  
  .order-lg-1 { order: 1 !important; }
  .order-lg-2 { order: 2 !important; }
  
  .text-lg-end { text-align: end !important; }
  .mb-lg-0 { margin-bottom: 0 !important; }
  .mt-lg-0 { margin-top: 0 !important; }
  .w-lg-auto { width: auto !important; }
  
  .pe-lg-5 { padding-right: 3rem !important; }
  .ps-lg-5 { padding-left: 3rem !important; }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--primary-dark);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
  }
  
  .navbar-nav {
    gap: 0;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .order-2 { order: 2 !important; }
  .order-1 { order: 1 !important; }
}

/* === SCROLL BEHAVIOR === */
html {
  scroll-behavior: smooth;
}

/* === SCROLLBAR STYLING === */
::-webkit-scrollbar {
  width: 10px;
}

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

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

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

/* === HOVER EFFECTS === */
.card-hover-effect {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover-effect:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(44, 95, 65, 0.25) !important;
}

/* === 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(--secondary-color);
  animation: spin 1s ease-in-out infinite;
}

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

/* === UTILITY CLASSES === */
.cursor-pointer {
  cursor: pointer;
}

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

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }

/* === FOCUS STATES === */
*:focus {
  outline: none;
}

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

/* === PRINT STYLES === */
@media print {
  .navbar, .btn, footer {
    display: none !important;
  }
}

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

/* === ADDITIONAL ENHANCEMENTS === */
.section-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  margin: 3rem 0;
  border: none;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(44, 95, 65, 0.2);
}

/* === PROJECT GALLERY === */
.project-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.project-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 95, 65, 0.9), rgba(212, 175, 55, 0.8));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.project-item:hover::before {
  opacity: 1;
}

/* === TESTIMONIAL STYLES === */
.testimonial-card {
  border-left: 4px solid var(--secondary-color) !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
}

.testimonial-card:hover {
  border-left-width: 6px !important;
}

/* === SERVICE ICONS === */
.service-icon-wrapper {
  position: relative;
  display: inline-block;
}

.service-icon-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100%;
  height: 100%;
  background: rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.service-icon-wrapper:hover::after {
  transform: translate(-50%, -50%) scale(1.5);
}

/* === FORM VALIDATION STATES === */
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #dc3545 !important;
}

.form-control.is-valid,
.form-select.is-valid {
  border-color: #198754 !important;
}

.invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback {
  display: block;
}

.valid-feedback {
  display: none;
  color: #198754;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-control.is-valid ~ .valid-feedback,
.form-select.is-valid ~ .valid-feedback {
  display: block;
}

/* === MOBILE OPTIMIZATION === */
@media (max-width: 767.98px) {
  .gap-3 { gap: 0.75rem !important; }
  .gap-4 { gap: 1rem !important; }
  
  .container { padding: 0 1rem; }
  
  .card { margin-bottom: 1rem; }
  
  .hero-section .lead {
    font-size: 1rem !important;
  }
}

/* === DARK MODE SUPPORT (Optional) === */
@media (prefers-color-scheme: dark) {
  /* Uncomment if dark mode is desired */
  /* body { background-color: #1a1a1a !important; } */
  /* .card { background-color: #2a2a2a !important; color: #ffffff !important; } */
}