/* Forest Guardian Architecture Studio - CSS */

/* ===================================
   ROOT VARIABLES & RESET
   =================================== */
:root {
  --primary-color: #1A472A;
  --secondary-color: #D4AF37;
  --dark-forest: #0F2318;
  --light-forest: #2D5F3F;
  --cream: #F5F0E8;
  --white: #FFFFFF;
  --shadow: rgba(26, 71, 42, 0.15);
  --shadow-hover: rgba(26, 71, 42, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-color);
}

.display-3, .display-4 {
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--light-forest);
}

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

a:hover {
  color: var(--secondary-color);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-forest) 100%) !important;
  padding: 1rem 0;
  box-shadow: 0 4px 20px var(--shadow);
  transition: var(--transition);
}

.navbar.sticky-top {
  backdrop-filter: blur(10px);
  background: rgba(26, 71, 42, 0.95) !important;
}

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

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

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

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

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1.25rem !important;
  margin: 0 0.25rem;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

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

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

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-forest) 50%, var(--primary-color) 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,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l30 30-30 30L0 30z' fill='%23D4AF37' fill-opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.3;
  animation: backgroundScroll 60s linear infinite;
}

@keyframes backgroundScroll {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section .text-white {
  color: var(--white) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .display-3 {
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  color: var(--white) !important;
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

/* Shield Animation */
.shield-container {
  position: relative;
  width: 300px;
  height: 300px;
  animation: float 6s ease-in-out infinite;
}

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

.shield-animation {
  width: 100%;
  height: 100%;
  position: relative;
  filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.3));
}

.shield-animation::before {
  content: '🛡️';
  font-size: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 3s ease-in-out infinite;
}

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

/* ===================================
   BUTTONS
   =================================== */
.btn {
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.875rem;
  border: 2px solid transparent;
}

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

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

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

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

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

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

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

/* ===================================
   CARDS
   =================================== */
.card {
  border: none !important;
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  background-color: var(--white);
  box-shadow: 0 5px 20px var(--shadow);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-hover);
}

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

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

.card-text {
  color: var(--light-forest) !important;
  font-size: 1rem;
  line-height: 1.7;
}

.card-header {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  border: none !important;
  padding: 1.25rem 1.5rem !important;
  font-weight: 600;
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 20px var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border-left: 5px solid var(--secondary-color) !important;
}

.service-card:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px var(--shadow-hover);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.service-header h4 {
  color: var(--primary-color) !important;
  margin: 0;
}

.service-preview {
  color: var(--light-forest);
  margin-bottom: 1rem;
}

.service-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.service-card.active .service-details {
  max-height: 500px;
  margin-top: 1rem;
}

.expand-icon {
  transition: transform 0.3s ease;
  color: var(--secondary-color);
  font-size: 1.5rem;
}

.service-card.active .expand-icon {
  transform: rotate(180deg);
}

/* Case Study Cards */
.case-study-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
}

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

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

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

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

.case-study-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 71, 42, 0.95), rgba(15, 35, 24, 0.95));
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 10;
}

.case-study-item:hover .case-study-overlay {
  opacity: 1;
}

.overlay-content {
  color: var(--white) !important;
  text-align: center;
  transform: translateY(20px);
  transition: var(--transition);
}

.case-study-item:hover .overlay-content {
  transform: translateY(0);
}

.overlay-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary-color);
  color: var(--dark-forest);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.overlay-close:hover {
  transform: rotate(90deg);
  background: var(--white);
}

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

/* ===================================
   SECTIONS
   =================================== */
section {
  padding: 5rem 0;
  position: relative;
}

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

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

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

/* Section Backgrounds */
section:nth-child(even) {
  background-color: var(--white);
}

section:nth-child(odd) {
  background-color: var(--cream);
}

/* ===================================
   IMAGES
   =================================== */
.img-fluid {
  border-radius: 15px;
  transition: var(--transition);
}

.img-fluid:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px var(--shadow-hover);
}

.shadow {
  box-shadow: 0 10px 30px var(--shadow) !important;
}

.shadow-lg {
  box-shadow: 0 20px 50px var(--shadow-hover) !important;
}

.shadow-sm {
  box-shadow: 0 5px 15px var(--shadow) !important;
}

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

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  transform: translateX(-50%);
}

.timeline-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--shadow);
  position: relative;
  transition: var(--transition);
  margin-bottom: 2rem;
}

.timeline-content:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px var(--shadow-hover);
}

.timeline-dot {
  width: 30px;
  height: 30px;
  background-color: var(--secondary-color);
  border: 5px solid var(--white);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 5px var(--primary-color);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 5px var(--primary-color); }
  50% { box-shadow: 0 0 0 10px var(--primary-color); }
}

/* ===================================
   HEXAGON GRID
   =================================== */
.hexagon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.hex-item {
  position: relative;
  perspective: 1000px;
  height: 250px;
}

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

.hex-item:hover .hex-content {
  transform: rotateY(180deg);
}

.hex-front,
.hex-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-shadow: 0 5px 20px var(--shadow);
}

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

.hex-back {
  background: linear-gradient(135deg, var(--secondary-color), #C19F2F);
  color: var(--dark-forest) !important;
  transform: rotateY(180deg);
}

.hex-front h3,
.hex-back h3 {
  color: inherit !important;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.hex-front .small,
.hex-back .small {
  color: inherit !important;
  opacity: 0.9;
}

/* ===================================
   FORTRESS WALL EFFECT
   =================================== */
.fortress-wall {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-forest) 100%);
  color: var(--white) !important;
  overflow: hidden;
}

.fortress-wall::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: repeating-linear-gradient(
    90deg,
    var(--secondary-color) 0px,
    var(--secondary-color) 40px,
    transparent 40px,
    transparent 80px
  );
}

.fortress-wall::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: repeating-linear-gradient(
    90deg,
    var(--secondary-color) 0px,
    var(--secondary-color) 40px,
    transparent 40px,
    transparent 80px
  );
}

/* ===================================
   ICONS
   =================================== */
.bi,
.fas,
.fa {
  color: var(--secondary-color);
  transition: var(--transition);
}

.bi-shield-check,
.fa-shield-alt {
  font-size: 3rem !important;
  color: var(--secondary-color) !important;
  margin-bottom: 1rem;
  filter: drop-shadow(0 5px 10px rgba(212, 175, 55, 0.3));
}

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

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

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

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

/* ===================================
   FORMS
   =================================== */
.form-control,
.form-select {
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--white);
  color: var(--dark-forest);
}

.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: var(--white) !important;
  color: var(--dark-forest) !important;
}

.form-label {
  font-weight: 600;
  color: var(--primary-color) !important;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-check-input {
  border: 2px solid var(--primary-color);
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
}

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

.form-check-label {
  color: var(--dark-forest);
  margin-left: 0.5rem;
  cursor: pointer;
}

.form-control.is-invalid {
  border-color: #dc3545 !important;
}

.form-control.is-valid {
  border-color: #28a745 !important;
}

/* ===================================
   PROGRESS BARS
   =================================== */
.progress {
  height: 30px;
  border-radius: 15px;
  background-color: rgba(26, 71, 42, 0.1);
  overflow: hidden;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)) !important;
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white) !important;
  transition: width 1s ease;
}

/* ===================================
   ACCORDION
   =================================== */
.accordion {
  border: none;
}

.accordion-item {
  border: none !important;
  margin-bottom: 1rem;
  border-radius: 15px !important;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
}

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

.accordion-button {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 1.25rem 1.5rem;
  border: none !important;
  transition: var(--transition);
}

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

.accordion-button:focus {
  box-shadow: none !important;
  border: none !important;
}

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(1) invert(0);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23D4AF37'%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 {
  background-color: var(--white);
  padding: 1.5rem;
  color: var(--light-forest);
  line-height: 1.8;
  border-top: 3px solid var(--secondary-color);
}

.accordion-collapse {
  border: none !important;
}

/* ===================================
   TABLES
   =================================== */
.table-responsive {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
}

.table {
  margin-bottom: 0;
  color: var(--dark-forest);
}

.table thead {
  background-color: var(--primary-color);
  color: var(--white) !important;
}

.table thead th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  padding: 1rem;
  border: none;
  color: var(--white) !important;
}

.table tbody tr {
  transition: var(--transition);
}

.table tbody tr:hover {
  background-color: rgba(212, 175, 55, 0.1);
}

.table td {
  padding: 1rem;
  vertical-align: middle;
  border-color: rgba(26, 71, 42, 0.1);
  color: var(--dark-forest) !important;
}

.table-bordered {
  border: 2px solid var(--primary-color);
}

/* ===================================
   ALERTS
   =================================== */
.alert {
  border-radius: 15px;
  border: 2px solid var(--primary-color);
  padding: 1.25rem 1.5rem;
  font-weight: 500;
}

.alert-light {
  background-color: rgba(212, 175, 55, 0.1);
  border-color: var(--secondary-color) !important;
  color: var(--dark-forest) !important;
}

/* ===================================
   FILTERS
   =================================== */
.filter-btn {
  padding: 0.5rem 1.5rem;
  margin: 0.5rem;
  border: 2px solid var(--primary-color);
  background-color: transparent;
  color: var(--primary-color) !important;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--shadow);
}

/* ===================================
   PRIVACY NAV
   =================================== */
.privacy-nav {
  position: sticky;
  top: 100px;
  background-color: var(--white);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 20px var(--shadow);
}

.privacy-nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--primary-color) !important;
  font-weight: 500;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.privacy-nav a:hover,
.privacy-nav a.active {
  background-color: var(--primary-color);
  color: var(--white) !important;
  transform: translateX(10px);
}

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

footer h5 {
  color: var(--secondary-color) !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: var(--transition);
  display: block;
  margin-bottom: 0.5rem;
}

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

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

footer .bi {
  color: var(--secondary-color) !important;
  margin-right: 0.5rem;
}

/* ===================================
   UTILITIES
   =================================== */
.text-muted {
  color: var(--light-forest) !important;
}

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

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

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

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

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

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

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

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(26, 71, 42, 0.98);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1rem;
    box-shadow: 0 10px 30px var(--shadow);
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
  }
  
  .hero-section {
    min-height: auto;
    padding: 4rem 0;
  }
  
  .shield-container {
    width: 200px;
    height: 200px;
    margin: 2rem auto;
  }
  
  .shield-animation::before {
    font-size: 120px;
  }
  
  .timeline-line {
    left: 30px;
  }
  
  .timeline-dot {
    left: 30px;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .hexagon-grid {
    grid-template-columns: 1fr;
  }
  
  .privacy-nav {
    position: relative;
    top: 0;
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 3rem 0;
  }
  
  .py-5 {
    padding: 3rem 0 !important;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 0.875rem !important;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    margin: 0.25rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.5rem !important;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .hero-section .display-3 {
    font-size: 2rem !important;
  }
  
  .card-title {
    font-size: 1.25rem;
  }
  
  .fs-1 {
    font-size: 2.5rem !important;
  }
  
  .fs-4 {
    font-size: 1.75rem !important;
  }
  
  .fs-5 {
    font-size: 1.5rem !important;
  }
}

/* ===================================
   ANIMATIONS
   =================================== */
@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 slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

.slide-in-up {
  animation: slideInUp 0.8s ease-out;
}

/* ===================================
   SCROLL ANIMATIONS
   =================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   LOADING SPINNER
   =================================== */
.spinner {
  border: 4px solid rgba(26, 71, 42, 0.1);
  border-top: 4px solid var(--secondary-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  border-radius: 6px;
  border: 2px solid var(--cream);
}

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

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

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

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

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

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
  .navbar,
  .btn,
  footer {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  a {
    text-decoration: underline;
  }
}

/* End of Forest Guardian Architecture Studio CSS */