/* Architectural Studio - Forest & Amber Theme */

/* ===== CSS Variables ===== */
:root {
  --primary-color: #2E7D32;
  --primary-dark: #1B5E20;
  --primary-light: #4CAF50;
  --secondary-color: #FFC107;
  --secondary-dark: #FFA000;
  --secondary-light: #FFD54F;
  --forest-dark: #1A4D2E;
  --forest-medium: #2E7D32;
  --amber-glow: rgba(255, 193, 7, 0.15);
  --white: #FFFFFF;
  --dark: #1B1B1B;
  --gray-light: #F5F5F5;
  --gray-medium: #9E9E9E;
  --shadow-sm: 0 2px 8px rgba(46, 125, 50, 0.1);
  --shadow-md: 0 4px 16px rgba(46, 125, 50, 0.15);
  --shadow-lg: 0 8px 32px rgba(46, 125, 50, 0.2);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  color: var(--forest-dark) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.5px;
}

.display-1 { font-size: 4.5rem !important; }
.display-2 { font-size: 4rem !important; }
.display-3 { font-size: 3.5rem !important; }
.display-4 { font-size: 3rem !important; }
.display-5 { font-size: 2.5rem !important; }
.display-6 { font-size: 2rem !important; }

.lead {
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  color: var(--dark) !important;
  opacity: 0.9;
}

.text-muted {
  color: var(--gray-medium) !important;
}

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

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

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

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

.lh-lg {
  line-height: 2 !important;
}

/* ===== Navigation Bar ===== */
.navbar {
  padding: 1.25rem 0 !important;
  transition: var(--transition-smooth);
  z-index: 1000;
  background-color: transparent !important;
}

.navbar.navbar-dark {
  background-color: rgba(26, 77, 46, 0.95) !important;
}

.navbar.navbar-light {
  background-color: var(--white) !important;
}

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

.navbar.sticky-top {
  position: sticky !important;
  top: 0 !important;
  animation: slideDown 0.5s ease-out;
}

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

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

.navbar-dark .navbar-brand {
  color: var(--white) !important;
}

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

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

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.3) !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-nav {
  align-items: center;
}

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

.nav-link {
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.5rem 1rem !important;
  transition: var(--transition-smooth);
  position: relative;
  text-decoration: none !important;
}

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

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

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

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link.active {
  color: var(--secondary-color) !important;
  font-weight: 600 !important;
}

/* ===== Buttons ===== */
.btn {
  font-weight: 600 !important;
  padding: 0.75rem 2rem !important;
  border-radius: 8px !important;
  transition: var(--transition-smooth);
  border: none !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem !important;
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

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

.btn-primary,
.btn.btn-primary {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

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

.btn-secondary,
.btn.btn-secondary {
  background-color: var(--secondary-color) !important;
  color: var(--dark) !important;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

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

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

.btn-outline-dark:hover {
  background-color: var(--dark) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(27, 27, 27, 0.3);
}

.btn-outline-light,
.btn.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 6px 20px rgba(255, 255, 255, 0.3);
}

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

.btn-outline-success:hover,
.btn-outline-success.active {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
}

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

.btn-outline-secondary:hover {
  background-color: var(--gray-medium) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
}

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

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

/* ===== Hero Carousel ===== */
.hero-carousel {
  height: 100vh;
  min-height: 600px;
  position: relative;
}

.carousel,
.carousel.slide,
.carousel-fade {
  height: 100%;
}

.carousel-inner,
.carousel-item {
  height: 100%;
}

.carousel-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

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

.carousel-item.active {
  animation: zoomIn 1s ease-out;
}

.carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 !important;
}

.carousel-caption .container {
  height: 100%;
}

.carousel-caption .display-3,
.carousel-caption .display-4 {
  color: var(--white) !important;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.carousel-caption .fs-4,
.carousel-caption .fs-5 {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.carousel-caption .btn {
  animation: fadeInUp 1s ease-out 0.9s both;
}

.carousel-indicators {
  margin-bottom: 2rem !important;
  z-index: 3;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--white);
  opacity: 0.5;
  border: 2px solid var(--white);
  margin: 0 6px;
  transition: var(--transition-smooth);
}

.carousel-indicators .active {
  opacity: 1;
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: scale(1.3);
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  background-color: rgba(46, 125, 50, 0.8);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 3;
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
  opacity: 1;
}

.carousel-control-prev {
  left: 2rem;
}

.carousel-control-next {
  right: 2rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: var(--secondary-color);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 24px;
  height: 24px;
}

/* ===== Sections ===== */
section {
  position: relative;
  overflow: hidden;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ===== Badge ===== */
.badge {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 6px !important;
  background-color: var(--amber-glow) !important;
  color: var(--secondary-dark) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  animation: pulse 2s infinite;
}

/* ===== Cards ===== */
.card {
  border: none !important;
  border-radius: 12px !important;
  overflow: hidden;
  transition: var(--transition-smooth);
  background-color: var(--white) !important;
  height: 100%;
}

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

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg) !important;
}

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

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

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

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

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

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

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

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

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

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

.object-fit-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ===== Flexbox Utilities ===== */
.d-flex {
  display: flex !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ===== Opacity ===== */
.opacity-25 {
  opacity: 0.25 !important;
}

.opacity-50 {
  opacity: 0.5 !important;
}

.opacity-90 {
  opacity: 0.9 !important;
}

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

/* ===== Small Text ===== */
.small {
  font-size: 0.875rem !important;
}

/* ===== Forms ===== */
.form-label {
  font-weight: 600 !important;
  color: var(--forest-dark) !important;
  margin-bottom: 0.5rem !important;
  font-size: 0.95rem !important;
}

.form-control,
.form-select {
  padding: 0.75rem 1rem !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  transition: var(--transition-smooth);
  background-color: var(--white) !important;
  color: var(--dark) !important;
}

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

.form-control::placeholder {
  color: var(--gray-medium) !important;
  opacity: 0.7;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  background-color: transparent !important;
  padding: 0 !important;
  margin-bottom: 2rem !important;
}

.breadcrumb-item {
  font-size: 0.9rem;
  color: var(--gray-medium) !important;
}

.breadcrumb-item.active {
  color: var(--primary-color) !important;
  font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '/' !important;
  color: var(--gray-medium) !important;
  padding: 0 0.5rem;
}

.breadcrumb-item a {
  color: var(--forest-dark) !important;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.breadcrumb-item a:hover {
  color: var(--primary-color) !important;
}

/* ===== Portfolio Filters ===== */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem !important;
  border: 2px solid var(--primary-color) !important;
  background-color: transparent !important;
  color: var(--primary-color) !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: var(--transition-smooth);
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.85rem !important;
  letter-spacing: 0.5px;
}

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

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

.masonry-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.masonry-item-tall {
  grid-row: span 2;
}

.masonry-item-wide {
  grid-column: span 2;
}

.portfolio-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(26, 77, 46, 0.9) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.masonry-item:hover .portfolio-card::before {
  opacity: 1;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  color: var(--white) !important;
  transform: translateY(100%);
  transition: var(--transition-smooth);
  z-index: 2;
}

.masonry-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-overlay h3,
.portfolio-overlay h4,
.portfolio-overlay h5 {
  color: var(--white) !important;
  margin-bottom: 0.5rem !important;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 0;
}

/* ===== Bootstrap Icons ===== */
.bi {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-linkedin,
.bi-instagram,
.bi-facebook,
.bi-sun-fill,
.bi-droplet-fill,
.bi-award-fill,
.bi-house-check-fill,
.bi-tree-fill,
.bi-shield-check,
.bi-check-circle-fill,
.bi-lightning-charge-fill,
.bi-recycle,
.bi-truck {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

/* ===== Footer ===== */
footer {
  background-color: var(--forest-dark) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

footer h5,
footer h4 {
  color: var(--white) !important;
  margin-bottom: 1.5rem !important;
  font-weight: 700 !important;
}

footer p,
footer li {
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.8;
}

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

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

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

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

/* Animation Classes */
.animate-fade-in {
  animation: fadeInUp 1s ease-out;
}

.animate-fade-left {
  animation: fadeInLeft 1s ease-out;
}

.animate-fade-right {
  animation: fadeInRight 1s ease-out;
}

/* ===== Scroll Animations ===== */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive Design - Tablet ===== */
@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  
  .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;
  }
}

/* ===== Responsive Design - Desktop ===== */
@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-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  
  .col-lg-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  
  .offset-lg-1 {
    margin-left: 8.333333%;
  }
  
  .order-lg-1 {
    order: 1;
  }
  
  .order-lg-2 {
    order: 2;
  }
  
  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
  
  .px-lg-5 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }
  
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  
  .pe-lg-5 {
    padding-right: 3rem !important;
  }
  
  .masonry-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

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

/* ===== Responsive Design - Mobile ===== */
@media (max-width: 991px) {
  .display-1 { font-size: 3rem !important; }
  .display-2 { font-size: 2.75rem !important; }
  .display-3 { font-size: 2.5rem !important; }
  .display-4 { font-size: 2.25rem !important; }
  .display-5 { font-size: 2rem !important; }
  .display-6 { font-size: 1.75rem !important; }
  
  .hero-carousel {
    height: 80vh;
    min-height: 500px;
  }
  
  .navbar-collapse {
    background-color: rgba(26, 77, 46, 0.98);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
  }
  
  .navbar-nav {
    gap: 0 !important;
  }
  
  .nav-item {
    margin: 0.5rem 0;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 50px;
    height: 50px;
  }
  
  .carousel-control-prev {
    left: 1rem;
  }
  
  .carousel-control-next {
    right: 1rem;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .masonry-grid {
    grid-template-columns: 1fr;
  }
  
  .masonry-item-tall,
  .masonry-item-wide {
    grid-row: span 1;
    grid-column: span 1;
  }
  
  .portfolio-overlay {
    transform: translateY(0);
    background: linear-gradient(to top, rgba(26, 77, 46, 0.95) 0%, transparent 100%);
  }
  
  .portfolio-card::before {
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .display-1 { font-size: 2.5rem !important; }
  .display-2 { font-size: 2.25rem !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.35rem !important; }
  
  .btn {
    padding: 0.625rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .hero-carousel {
    height: 70vh;
    min-height: 450px;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
}

@media (max-width: 575px) {
  .display-1 { font-size: 2rem !important; }
  .display-2 { font-size: 1.85rem !important; }
  .display-3 { font-size: 1.7rem !important; }
  .display-4 { font-size: 1.5rem !important; }
  .display-5 { font-size: 1.35rem !important; }
  .display-6 { font-size: 1.25rem !important; }
  
  .hero-carousel {
    height: 60vh;
    min-height: 400px;
  }
  
  .btn-lg {
    padding: 0.75rem 1.75rem !important;
    font-size: 0.95rem !important;
  }
  
  .portfolio-filters {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.625rem 1.25rem !important;
    font-size: 0.8rem !important;
  }
}

/* ===== Print Styles ===== */
@media print {
  .navbar,
  .carousel-control-prev,
  .carousel-control-next,
  .carousel-indicators,
  footer,
  .btn {
    display: none !important;
  }
  
  body {
    background-color: white !important;
    color: black !important;
  }
  
  .card {
    break-inside: avoid;
  }
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
  width: 12px;
}

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

::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 6px;
  border: 2px solid var(--gray-light);
}

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

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

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

/* ===== Focus Visible ===== */
*:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ===== Loading States ===== */
.loading {
  pointer-events: none;
  opacity: 0.6;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  margin-left: -15px;
  border: 3px solid var(--gray-light);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

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

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

.hover-lift:hover {
  transform: translateY(-5px);
  transition: var(--transition-smooth);
}

.hover-scale:hover {
  transform: scale(1.05);
  transition: var(--transition-smooth);
}

/* ===== Theme Specific Decorative Elements ===== */
.forest-accent::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.amber-glow {
  box-shadow: 0 0 30px rgba(255, 193, 7, 0.3);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}