/* Forest Bronze Architecture Studio CSS */

/* ===========================
   ROOT VARIABLES & RESET
   =========================== */
:root {
  --primary-color: #2C5530;
  --secondary-color: #B8860B;
  --primary-dark: #1a3319;
  --primary-light: #3d7142;
  --secondary-dark: #8b6508;
  --secondary-light: #daa520;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --dark-text: #1a1a1a;
  --gray: #6c757d;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

.text-white .display-2,
.text-white .display-3,
.text-white .display-4 {
  color: var(--white) !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

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

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

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

/* ===========================
   NAVIGATION BAR
   =========================== */
.navbar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  z-index: 1030;
  backdrop-filter: blur(10px);
}

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

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

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

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

.navbar-toggler {
  border: 2px solid var(--white) !important;
  padding: 0.5rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

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

.navbar-nav {
  gap: 1rem !important;
}

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

.nav-link:hover {
  color: var(--white) !important;
  background-color: rgba(184, 134, 11, 0.3) !important;
  transform: translateY(-2px);
}

.nav-link.active {
  color: var(--white) !important;
  background-color: var(--secondary-color) !important;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.4);
  font-weight: 600 !important;
}

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

.carousel-inner {
  height: 100%;
}

.carousel-item {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 85, 48, 0.7) 0%, rgba(184, 134, 11, 0.5) 100%);
  z-index: 1;
}

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

.carousel-caption {
  z-index: 2;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

.carousel-indicators {
  z-index: 3;
  bottom: 30px;
}

.carousel-indicators [data-bs-target] {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--secondary-color) !important;
  border: 2px solid var(--white);
  opacity: 0.7;
  transition: var(--transition);
}

.carousel-indicators .active {
  opacity: 1;
  transform: scale(1.3);
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  z-index: 3;
  opacity: 0.8;
  transition: var(--transition);
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--secondary-color);
  border-radius: 50%;
  padding: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: var(--transition);
  border: none;
  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-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
  border: 2px solid var(--secondary-color) !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.6);
  color: var(--white) !important;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(44, 85, 48, 0.4);
  border: 2px solid var(--primary-color) !important;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(44, 85, 48, 0.6);
  color: var(--white) !important;
}

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

.btn-outline-primary:hover {
  background: var(--secondary-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
}

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

.btn-outline-secondary:hover {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(44, 85, 48, 0.4);
}

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

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

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

.btn-sm {
  padding: 0.5rem 1.5rem !important;
  font-size: 0.9rem;
}

/* ===========================
   CARDS
   =========================== */
.card {
  border: none !important;
  border-radius: 15px !important;
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.card-body {
  padding: 2rem;
}

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

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

.shadow {
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1) !important;
}

.shadow-sm {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
}

.shadow-lg {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}

/* ===========================
   PORTFOLIO
   =========================== */
.portfolio-item {
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out;
}

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

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px !important;
  cursor: pointer;
  height: 100%;
}

.portfolio-card img {
  transition: transform 0.6s ease;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

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

.portfolio-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 85, 48, 0.9) 0%, rgba(184, 134, 11, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: var(--transition);
  padding: 2rem;
  z-index: 2;
}

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

.portfolio-overlay h4,
.portfolio-overlay p {
  color: var(--white) !important;
  transform: translateY(20px);
  transition: transform 0.4s ease 0.2s;
}

.portfolio-card:hover .portfolio-overlay h4,
.portfolio-card:hover .portfolio-overlay p {
  transform: translateY(0);
}

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

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(44, 85, 48, 0.4);
}

/* ===========================
   FORMS
   =========================== */
.form-control,
.form-select {
  border: 2px solid #e0e0e0 !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem;
  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(184, 134, 11, 0.15) !important;
  background-color: var(--white) !important;
}

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

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

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

.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(184, 134, 11, 0.25) !important;
}

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

.invalid-feedback {
  display: block;
  color: #dc3545 !important;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

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

.was-validated .form-control:valid,
.was-validated .form-select:valid {
  border-color: #28a745 !important;
}

/* ===========================
   ALERTS
   =========================== */
.alert {
  border-radius: 10px !important;
  border: none !important;
  padding: 1.25rem;
  font-weight: 500;
  animation: slideInDown 0.5s ease;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-success {
  background-color: #d4edda !important;
  color: #155724 !important;
  border-left: 4px solid #28a745 !important;
}

.alert .bi {
  font-size: 1.25rem;
  margin-right: 0.5rem;
}

/* ===========================
   ACCORDION
   =========================== */
.accordion {
  border-radius: 10px;
  overflow: hidden;
}

.accordion-item {
  border: none !important;
  margin-bottom: 1rem;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.accordion-header {
  border-radius: 10px;
}

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

.accordion-button:not(.collapsed) {
  background-color: var(--primary-dark) !important;
  color: var(--white) !important;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(44, 85, 48, 0.25) !important;
}

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

.accordion-button.collapsed {
  background-color: var(--light-bg) !important;
  color: var(--primary-dark) !important;
}

.accordion-button.collapsed::after {
  filter: none;
}

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

.accordion-collapse {
  border: none;
}

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

.timeline-bar {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  transform: translateX(-50%);
}

.timeline-container .row {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-container .rounded-circle {
  width: 80px;
  height: 80px;
  border: 4px solid var(--secondary-color);
  background-color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 0.25rem;
}

/* ===========================
   BADGES
   =========================== */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 50px !important;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

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

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

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

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

.bi-star-fill {
  color: var(--secondary-color) !important;
}

.fa-certificate,
.fa-leaf,
.fa-recycle,
.fa-sun {
  color: var(--secondary-color) !important;
}

.fa-3x {
  font-size: 3rem;
}

.fa-lg {
  font-size: 1.5rem;
}

/* ===========================
   SOCIAL ICONS
   =========================== */
.bi-facebook,
.bi-instagram,
.bi-linkedin,
.bi-twitter,
.fa-facebook,
.fa-instagram,
.fa-linkedin {
  color: var(--white) !important;
  transition: var(--transition);
  font-size: 1.5rem;
}

.bi-facebook:hover,
.fa-facebook:hover {
  color: #1877f2 !important;
}

.bi-instagram:hover,
.fa-instagram:hover {
  color: #e4405f !important;
}

.bi-linkedin:hover,
.fa-linkedin:hover {
  color: #0077b5 !important;
}

.bi-twitter:hover {
  color: #1da1f2 !important;
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.bg-light {
  background-color: var(--light-bg) !important;
}

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

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

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

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

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

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

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

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

.border-bottom {
  border-bottom: 2px solid var(--secondary-color) !important;
  padding-bottom: 1rem;
}

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

.rounded-start {
  border-top-left-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
}

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

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

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

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

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

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

.position-sticky,
.sticky-top {
  position: sticky !important;
  top: 100px;
  z-index: 1020;
}

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

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

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

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

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

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

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

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

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

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

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

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

.d-grid {
  display: grid !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-end {
  justify-content: flex-end !important;
}

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

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

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

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

.text-lg-end {
  text-align: right !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;
}

.ms-4 {
  margin-left: 1.5rem !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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.gx-3 {
  --bs-gutter-x: 1rem;
}

.gx-4 {
  --bs-gutter-x: 1.5rem;
}

/* ===========================
   TABLE
   =========================== */
.table {
  color: var(--dark-text) !important;
  border-collapse: separate;
  border-spacing: 0;
}

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

.table thead th {
  border: none;
  padding: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.table tbody tr:hover {
  background-color: rgba(44, 85, 48, 0.05) !important;
  transform: scale(1.01);
}

.table tbody td {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: middle;
}

.table-sm tbody td,
.table-sm thead th {
  padding: 0.75rem;
}

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

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

.list-unstyled a {
  color: var(--dark-text) !important;
  text-decoration: none !important;
  transition: var(--transition);
}

.list-unstyled a:hover {
  color: var(--secondary-color) !important;
  padding-left: 10px;
}

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

footer h5,
footer h6 {
  color: var(--white) !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

footer h5::after,
footer h6::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
}

footer p,
footer a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
}

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

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

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(44, 85, 48, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .navbar-nav {
    gap: 0.5rem !important;
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
  }

  .carousel {
    height: 70vh;
    min-height: 500px;
  }

  .carousel-item {
    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;
  }

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

  .timeline-bar {
    left: 30px;
  }

  .portfolio-card img {
    height: 250px;
  }

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

  .sticky-top,
  .position-sticky {
    position: relative !important;
  }

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

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

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

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

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

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

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

  .order-lg-1 {
    order: 0;
  }

  .order-lg-2 {
    order: 0;
  }
}

@media (max-width: 767.98px) {
  .carousel {
    height: 60vh;
    min-height: 400px;
  }

  .carousel-item {
    height: 60vh;
    min-height: 400px;
  }

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

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

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

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

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

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

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

  .portfolio-card img {
    height: 200px;
  }

  .card-body {
    padding: 1.5rem;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
  }

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

  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-md-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }

  .col-md-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }

  .col-md-12 {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .carousel {
    height: 50vh;
    min-height: 350px;
  }

  .carousel-item {
    height: 50vh;
    min-height: 350px;
  }

  .display-2 {
    font-size: 1.75rem !important;
  }

  .display-3 {
    font-size: 1.5rem !important;
  }

  .display-4,
  .display-5 {
    font-size: 1.25rem !important;
  }

  .btn-lg {
    padding: 0.625rem 1.25rem !important;
    font-size: 0.95rem;
  }

  .portfolio-card img {
    height: 180px;
  }

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

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

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

  footer {
    padding: 2rem 0 0.5rem;
    margin-top: 3rem;
  }

  .col-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-sm-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

/* ===========================
   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 pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

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

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

.animate-pulse {
  animation: pulse 2s infinite;
}

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

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

/* ===========================
   LOADING SPINNER
   =========================== */
.spinner-border {
  border: 3px solid rgba(184, 134, 11, 0.3);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

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

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

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

/* ===========================
   PRINT STYLES
   =========================== */
@media print {
  .navbar,
  .carousel-control-prev,
  .carousel-control-next,
  .carousel-indicators,
  .btn,
  footer {
    display: none !important;
  }

  body {
    color: #000;
  }

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