/* Nordic Forest Architecture Studio - Custom Styles */

/* Root Variables */
:root {
  --primary-color: #2E3440;
  --secondary-color: #88C999;
  --light-bg: #ECEFF4;
  --dark-text: #2E3440;
  --light-text: #D8DEE9;
  --accent-green: #A3BE8C;
  --accent-frost: #8FBCBB;
  --white: #FFFFFF;
  --shadow: rgba(46, 52, 64, 0.15);
  --shadow-lg: rgba(46, 52, 64, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark-text) !important;
  background-color: var(--light-bg) !important;
  line-height: 1.7;
  overflow-x: hidden;
}

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

.lead {
  font-size: 1.25rem !important;
  color: var(--dark-text) !important;
  opacity: 0.85;
}

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

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

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

/* Navigation Bar */
.navbar {
  background-color: var(--primary-color) !important;
  padding: 1rem 0 !important;
  transition: var(--transition);
  box-shadow: 0 2px 15px var(--shadow);
}

.navbar.floating-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  animation: slideDown 0.5s ease-out;
}

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

.navbar-brand {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

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

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

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--white) !important;
  background-color: rgba(136, 201, 153, 0.15) !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
  background-color: rgba(136, 201, 153, 0.2) !important;
}

.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(136, 201, 153, 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='%2388C999' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Hero Slideshow */
.hero-slideshow {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: var(--primary-color);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46, 52, 64, 0.85) 0%, rgba(46, 52, 64, 0.65) 50%, rgba(136, 201, 153, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  color: var(--white) !important;
  padding-top: 80px;
}

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

.hero-content .lead,
.hero-content p {
  color: var(--light-text) !important;
  text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.6s both;
}

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

/* Buttons */
.btn {
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: var(--transition) !important;
  border: 2px solid transparent !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.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 {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--accent-green) !important;
  border-color: var(--accent-green) !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(136, 201, 153, 0.4) !important;
}

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

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(136, 201, 153, 0.4) !important;
}

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

.btn-outline-light:hover,
.btn-outline-light:focus {
  background-color: var(--white) !important;
  border-color: var(--white) !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
}

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

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #3B4252 !important;
  border-color: #3B4252 !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(46, 52, 64, 0.4) !important;
}

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

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

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

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--shadow-lg) !important;
}

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

.portfolio-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--primary-color);
}

.portfolio-card img {
  transition: var(--transition);
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(46, 52, 64, 0.95) 0%, rgba(46, 52, 64, 0.5) 50%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--white) !important;
}

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

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

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

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

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

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

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

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

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

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

/* Background Variations */
.bg-light {
  background-color: var(--light-bg) !important;
}

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

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

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

/* Text Colors */
.text-white {
  color: var(--white) !important;
}

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

.text-muted {
  color: rgba(46, 52, 64, 0.6) !important;
}

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

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

/* Badges */
.badge {
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.05em;
}

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

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

.rounded-pill {
  border-radius: 50rem !important;
}

/* Images */
.img-fluid {
  border-radius: 12px;
  transition: var(--transition);
}

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

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

.shadow {
  box-shadow: 0 8px 25px var(--shadow) !important;
}

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

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

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

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

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(136, 201, 153, 0.25) !important;
  outline: none;
}

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

.form-check-input {
  border: 2px solid #E5E9F0 !important;
  width: 1.25rem;
  height: 1.25rem;
}

.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(136, 201, 153, 0.25) !important;
}

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

.invalid-feedback {
  color: #BF616A !important;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
  border-color: #BF616A !important;
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
  border-color: var(--secondary-color) !important;
}

/* Alerts */
.alert {
  border-radius: 8px !important;
  border: none !important;
  padding: 1rem 1.5rem !important;
  font-weight: 500;
}

.alert-success {
  background-color: rgba(136, 201, 153, 0.15) !important;
  color: var(--accent-green) !important;
}

.alert-danger {
  background-color: rgba(191, 97, 106, 0.15) !important;
  color: #BF616A !important;
}

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

/* Progress Bars */
.progress {
  height: 12px !important;
  border-radius: 8px !important;
  background-color: #E5E9F0 !important;
  overflow: hidden;
}

.progress-bar {
  background-color: var(--secondary-color) !important;
  transition: width 1s ease-in-out;
}

/* Accordion */
.accordion {
  --bs-accordion-border-color: #E5E9F0 !important;
  --bs-accordion-border-radius: 12px !important;
}

.accordion-item {
  border: 2px solid #E5E9F0 !important;
  border-radius: 12px !important;
  margin-bottom: 1rem;
  overflow: hidden;
  background-color: var(--white) !important;
}

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

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

.accordion-button:not(.collapsed) {
  background-color: rgba(136, 201, 153, 0.1) !important;
  color: var(--primary-color) !important;
  box-shadow: none !important;
}

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

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232E3440'%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") !important;
}

.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='%2388C999'%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") !important;
}

.accordion-body {
  padding: 1.5rem !important;
  color: var(--dark-text) !important;
  background-color: var(--white) !important;
}

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

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

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

.portfolio-item {
  transition: var(--transition);
  animation: fadeIn 0.6s ease-out;
}

.portfolio-item.hide {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Navigation Tabs */
.nav {
  border: none !important;
}

.nav.flex-column {
  gap: 0.5rem;
}

.nav-link {
  color: var(--dark-text) !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: 8px !important;
  transition: var(--transition);
  font-weight: 500 !important;
  border: 2px solid transparent !important;
}

.nav-link:hover {
  background-color: rgba(136, 201, 153, 0.1) !important;
  color: var(--secondary-color) !important;
}

.nav-link.active {
  background-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  border-color: var(--secondary-color) !important;
}

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

.list-unstyled li {
  padding: 0.5rem 0;
}

/* Links */
a {
  color: var(--secondary-color) !important;
  text-decoration: none !important;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-green) !important;
  text-decoration: none !important;
}

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

/* Footer */
footer {
  background-color: var(--primary-color) !important;
  color: var(--light-text) !important;
  padding: 3rem 0 1rem;
}

footer h5,
footer .h5 {
  color: var(--white) !important;
  margin-bottom: 1.5rem !important;
}

footer p,
footer a {
  color: var(--light-text) !important;
}

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

footer .border-top {
  border-color: rgba(216, 222, 233, 0.2) !important;
}

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

.bi-geo-alt-fill,
.bi-geo-alt,
.bi-telephone-fill,
.bi-telephone,
.bi-envelope-fill,
.bi-envelope,
.bi-check-circle-fill,
.bi-send,
.bi-clock-fill,
.bi-cup-hot-fill,
.bi-award-fill,
.bi-house-heart-fill,
.bi-patch-check-fill,
.bi-tree-fill,
.bi-facebook,
.bi-twitter,
.bi-instagram,
.bi-linkedin,
.bi-pinterest {
  color: var(--secondary-color) !important;
}

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

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

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

.position-sticky {
  position: sticky !important;
  top: 100px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.mt-lg-0 {
  margin-top: 0 !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* 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-16x9 {
  --bs-aspect-ratio: 56.25%;
}

/* Responsive Design - Mobile First */
@media (max-width: 575.98px) {
  .hero-slideshow {
    height: 70vh;
    min-height: 500px;
  }
  
  .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;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .p-5 {
    padding: 2rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
  
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.666667%;
  }
  
  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  
  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
  
  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }
  
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }
  
  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.666667%;
  }
  
  .col-lg-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  
  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.333333%;
  }
  
  .offset-lg-1 {
    margin-left: 8.333333%;
  }
  
  .offset-lg-2 {
    margin-left: 16.666667%;
  }
  
  .text-lg-end {
    text-align: right !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
  
  .mt-lg-0 {
    margin-top: 0 !important;
  }
  
  .ps-lg-4 {
    padding-left: 1.5rem !important;
  }
  
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  
  .pe-lg-5 {
    padding-right: 3rem !important;
  }
  
  .p-lg-6 {
    padding: 4rem !important;
  }
}

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

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

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

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(-5%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.bounce {
  animation: bounce 1s infinite;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-green);
}

/* Selection Color */
::selection {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

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

/* Loading Animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  animation: spin 1s linear infinite;
}

/* Nordic Forest Specific Accents */
.nordic-accent {
  position: relative;
}

.nordic-accent::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-green));
  border-radius: 2px;
}

.forest-pattern {
  background-image: 
    linear-gradient(30deg, rgba(136, 201, 153, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(136, 201, 153, 0.05) 87.5%, rgba(136, 201, 153, 0.05)),
    linear-gradient(150deg, rgba(136, 201, 153, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(136, 201, 153, 0.05) 87.5%, rgba(136, 201, 153, 0.05)),
    linear-gradient(30deg, rgba(136, 201, 153, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(136, 201, 153, 0.05) 87.5%, rgba(136, 201, 153, 0.05)),
    linear-gradient(150deg, rgba(136, 201, 153, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(136, 201, 153, 0.05) 87.5%, rgba(136, 201, 153, 0.05));
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px;
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    background-color: white !important;
    color: black !important;
  }
}