/* Forest Gold Architecture Studio - Custom Styles */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #2E7D32;
  --primary-dark: #1B5E20;
  --primary-light: #4CAF50;
  --secondary-color: #FFC107;
  --secondary-dark: #FFA000;
  --secondary-light: #FFECB3;
  --forest-dark: #1A4D2E;
  --gold-light: #FFD54F;
  --text-dark: #212529;
  --text-light: #F8F9FA;
  --transition-base: all 0.3s ease;
  --shadow-sm: 0 2px 4px rgba(46, 125, 50, 0.1);
  --shadow-md: 0 4px 12px rgba(46, 125, 50, 0.15);
  --shadow-lg: 0 8px 24px rgba(46, 125, 50, 0.2);
}

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

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

html {
  scroll-behavior: smooth;
}

/* ===== TYPOGRAPHY ===== */
.display-1, .display-3, .display-4, .display-5 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--forest-dark);
}

.lead {
  font-weight: 400;
  line-height: 1.8;
}

/* ===== NAVIGATION ===== */
.navbar {
  padding: 1rem 0;
  transition: var(--transition-base);
  background-color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.navbar.sticky-top {
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  font-size: 1.75rem;
  color: var(--primary-color) !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  transition: var(--transition-base);
}

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

.navbar-light .navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 1.25rem !important;
  margin: 0 0.25rem;
  transition: var(--transition-base);
  position: relative;
  border-radius: 8px;
}

.navbar-light .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: var(--transition-base);
  transform: translateX(-50%);
  border-radius: 2px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  background-color: rgba(46, 125, 50, 0.05);
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
  width: 70%;
}

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 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='%232E7D32' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

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

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
  background-color: rgba(255, 193, 7, 0.1);
}

/* ===== HERO SECTION ===== */
.hero-section {
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.85) 0%, rgba(26, 77, 46, 0.75) 50%, rgba(255, 193, 7, 0.6) 100%);
  z-index: 1;
}

.hero-section img,
.hero-section .w-100 {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-section .position-absolute {
  z-index: 2;
  width: 100%;
}

.hero-title {
  color: var(--text-light) !important;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
  font-weight: 800 !important;
}

.hero-subtitle {
  color: var(--secondary-light) !important;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1.2s ease-out;
  font-weight: 400 !important;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition-base);
  border-radius: 12px;
  text-transform: uppercase;
  font-size: 0.9rem;
  border-width: 2px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

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

.btn-lg {
  padding: 1rem 2.5rem !important;
  font-size: 1rem !important;
  border-radius: 15px;
}

.btn-primary,
.btn-success {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
  border: none !important;
  color: white !important;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-success:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--forest-dark)) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: white !important;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark)) !important;
  border: none !important;
  color: var(--forest-dark) !important;
  box-shadow: var(--shadow-md);
  font-weight: 700 !important;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-dark), #F57C00) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--forest-dark) !important;
}

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

.btn-outline-dark:hover {
  background-color: var(--forest-dark) !important;
  color: white !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  border-color: white !important;
  color: white !important;
  background-color: transparent !important;
  border-width: 2px !important;
}

.btn-outline-light:hover {
  background-color: white !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

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

.btn-light {
  background-color: white !important;
  color: var(--primary-color) !important;
  border: 2px solid rgba(46, 125, 50, 0.2) !important;
}

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

.btn-sm {
  padding: 0.5rem 1.25rem !important;
  font-size: 0.85rem !important;
}

.btn-close:focus {
  box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.25) !important;
}

/* ===== CARDS ===== */
.card {
  border-radius: 16px;
  transition: var(--transition-base);
  background-color: white;
  overflow: hidden;
  height: 100%;
}

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

.card.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

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

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

.card-body.p-4 {
  padding: 2.5rem !important;
}

.service-card,
.portfolio-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.2), transparent);
  transition: left 0.5s;
}

.service-card:hover::before {
  left: 100%;
}

.portfolio-card {
  border-radius: 12px;
  overflow: hidden;
}

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

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(46, 125, 50, 0.95) 0%, rgba(26, 77, 46, 0.7) 50%, transparent 100%);
  opacity: 0;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

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

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

.bi-building,
.bi-house-heart,
.bi-tree,
.bi-palette,
.bi-clipboard-check,
.bi-layers,
.bi-people,
.bi-lightbulb,
.bi-chat-dots,
.bi-brightness-high,
.bi-recycle,
.bi-graph-up,
.bi-droplet,
.bi-flower1,
.bi-house-door,
.bi-grid-3x3,
.bi-laptop {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: var(--transition-base);
}

.card:hover .bi-building,
.card:hover .bi-house-heart,
.card:hover .bi-tree,
.card:hover .bi-palette,
.card:hover .bi-clipboard-check,
.card:hover .bi-layers,
.card:hover .bi-people,
.card:hover .bi-lightbulb,
.card:hover .bi-chat-dots,
.card:hover .bi-brightness-high,
.card:hover .bi-recycle,
.card:hover .bi-graph-up,
.card:hover .bi-droplet,
.card:hover .bi-flower1,
.card:hover .bi-house-door,
.card:hover .bi-grid-3x3,
.card:hover .bi-laptop {
  color: var(--secondary-color);
  transform: scale(1.15) rotate(5deg);
}

.bi-star-fill {
  color: var(--secondary-color);
  font-size: 1.25rem;
}

.bi-arrow-right,
.bi-send,
.bi-chevron-down,
.bi-arrow-clockwise {
  margin-left: 0.5rem;
  transition: var(--transition-base);
}

.btn:hover .bi-arrow-right,
.btn:hover .bi-send {
  transform: translateX(5px);
}

.bi-facebook,
.bi-instagram,
.bi-linkedin,
.bi-twitter {
  font-size: 1.5rem;
  color: white;
  transition: var(--transition-base);
}

.bi-facebook:hover {
  color: #4267B2;
  transform: scale(1.2);
}

.bi-instagram:hover {
  color: #E1306C;
  transform: scale(1.2);
}

.bi-linkedin:hover {
  color: #0077B5;
  transform: scale(1.2);
}

.bi-twitter:hover {
  color: #1DA1F2;
  transform: scale(1.2);
}

/* ===== IMAGES ===== */
.img-fluid {
  max-width: 100%;
  height: auto;
  transition: var(--transition-base);
}

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

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

.shadow {
  box-shadow: var(--shadow-md) !important;
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

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

/* ===== SECTIONS ===== */
section {
  position: relative;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ===== BADGES ===== */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  background-color: var(--secondary-color) !important;
  color: var(--forest-dark) !important;
}

/* ===== FORMS ===== */
.form-control,
.form-select {
  border: 2px solid rgba(46, 125, 50, 0.2);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: var(--transition-base);
  background-color: white;
  color: var(--text-dark);
  font-size: 1rem;
}

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

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

.form-check-input {
  border: 2px solid rgba(46, 125, 50, 0.3);
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
}

.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 {
  margin-left: 0.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

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

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

/* ===== ACCORDION ===== */
.accordion-item {
  border: 1px solid rgba(46, 125, 50, 0.1);
  border-radius: 12px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

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

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

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

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232E7D32'%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='white'%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;
  background-color: rgba(46, 125, 50, 0.02);
  color: var(--text-dark);
  line-height: 1.8;
}

/* ===== MODAL ===== */
.modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  padding: 1.5rem 2rem;
}

.modal-title {
  font-weight: 700;
  color: white !important;
}

.modal-body {
  padding: 2rem;
}

.btn-close {
  filter: brightness(0) invert(1);
  opacity: 1;
}

/* ===== MASONRY GRID ===== */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 2rem;
  margin-top: 2rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 2rem;
  transition: var(--transition-base);
}

.masonry-item.hidden {
  display: none;
}

/* ===== FILTER BUTTONS ===== */
.filter-btn {
  margin: 0.5rem;
  transition: var(--transition-base);
}

.filter-btn.active {
  transform: scale(1.05);
}

/* ===== RATIO ===== */
.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-4x3 {
  --bs-aspect-ratio: 75%;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 0 0;
}

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

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

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

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

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

/* ===== PRIVACY CONTENT ===== */
.privacy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  line-height: 1.8;
}

.privacy-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--primary-color);
}

.privacy-content p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

/* ===== EXPAND BUTTON ===== */
.expand-btn {
  cursor: pointer;
  user-select: none;
  transition: var(--transition-base);
}

.expand-btn:hover {
  background-color: rgba(46, 125, 50, 0.05);
}

.see-more {
  transition: var(--transition-base);
  max-height: 0;
  overflow: hidden;
}

.see-more.show {
  max-height: 1000px;
  transition: max-height 0.5s ease-in;
}

/* ===== 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-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

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

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

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

/* ===== UTILITY CLASSES ===== */
.position-relative {
  position: relative !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.fst-italic {
  font-style: italic !important;
}

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

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

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

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

.flex-grow-1 {
  flex-grow: 1 !important;
}

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

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

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

.border-bottom {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.border-secondary {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: white;
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
  }
  
  .navbar-nav {
    align-items: stretch;
  }
  
  .navbar-light .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
    border-radius: 8px;
  }
  
  .hero-section {
    height: 80vh;
    min-height: 500px;
  }
  
  .display-1 {
    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;
  }
  
  .lead.fs-3 {
    font-size: 1.25rem !important;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 0.95rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .masonry-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 1.5rem;
  }
  
  .sticky-lg-top {
    position: relative !important;
  }
  
  .text-lg-end {
    text-align: start !important;
  }
  
  .flex-sm-row {
    flex-direction: row !important;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    height: 70vh;
    min-height: 450px;
  }
  
  .display-1 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
  }
  
  .btn-lg.me-3 {
    margin-right: 0 !important;
    margin-bottom: 1rem;
  }
  
  .masonry-grid {
    grid-template-columns: 1fr;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  
  .modal-lg {
    max-width: 95%;
  }
  
  .bi-building,
  .bi-house-heart,
  .bi-tree,
  .bi-palette,
  .bi-clipboard-check,
  .bi-layers,
  .bi-people,
  .bi-lightbulb,
  .bi-chat-dots {
    font-size: 2.5rem;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .btn {
    font-size: 0.85rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
  
  .flex-column.flex-sm-row {
    flex-direction: column !important;
  }
  
  .flex-sm-row .btn {
    width: 100%;
    margin-bottom: 0.75rem;
  }
  
  footer {
    padding: 3rem 0 0;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .btn,
  footer,
  .modal {
    display: none !important;
  }
  
  body {
    color: black;
    background: white;
  }
  
  a {
    text-decoration: underline;
  }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

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

::-webkit-scrollbar-track {
  background: #F1F1F1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary-color), var(--primary-dark));
  border-radius: 6px;
}

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

/* ===== SELECTION ===== */
::selection {
  background-color: var(--secondary-color);
  color: var(--forest-dark);
}

::-moz-selection {
  background-color: var(--secondary-color);
  color: var(--forest-dark);
}