/* Industrial Steel Architecture Studio Theme - Complete CSS */

/* ===================================
   ROOT VARIABLES & RESET
   =================================== */
:root {
  --primary-color: #2E3440;
  --secondary-color: #D08770;
  --dark-bg: #1a1d25;
  --light-bg: #f5f5f5;
  --text-light: #ffffff;
  --text-dark: #2E3440;
  --steel-gray: #4C566A;
  --accent-light: #e8a686;
  --shadow-light: rgba(46, 52, 64, 0.1);
  --shadow-medium: rgba(46, 52, 64, 0.2);
  --shadow-heavy: rgba(46, 52, 64, 0.3);
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
}

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

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
  background-color: var(--primary-color) !important;
  padding: 1.2rem 0;
  box-shadow: 0 4px 12px var(--shadow-medium);
  transition: all var(--transition-speed) ease;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.navbar.scrolled {
  padding: 0.8rem 0;
  box-shadow: 0 6px 20px var(--shadow-heavy);
}

.navbar-brand {
  color: var(--text-light) !important;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
}

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

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

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

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

.navbar-nav {
  gap: 0.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.7rem 1.2rem !important;
  transition: all var(--transition-speed) ease;
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

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

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

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

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(45deg, rgba(208, 135, 112, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(208, 135, 112, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(208, 135, 112, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(208, 135, 112, 0.05) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  animation: metalTexture 20s linear infinite;
}

@keyframes metalTexture {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(60px) translateY(60px); }
}

.hero-section .position-relative {
  z-index: 1;
}

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

.display-1 {
  font-size: clamp(2.5rem, 8vw, 5.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -2px;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.lead {
  font-size: clamp(1rem, 2vw, 1.4rem) !important;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1.2s ease-out;
}

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

/* ===================================
   BUTTONS
   =================================== */
.btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  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-lg {
  background-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
  border: 2px solid var(--secondary-color) !important;
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(208, 135, 112, 0.3);
}

.btn-lg:hover {
  background-color: var(--accent-light) !important;
  border-color: var(--accent-light) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(208, 135, 112, 0.4);
}

.btn-sm {
  background-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
  border: 1px solid var(--secondary-color) !important;
  padding: 0.5rem 1.5rem !important;
}

.btn-sm:hover {
  background-color: var(--accent-light) !important;
  color: var(--text-light) !important;
  transform: translateY(-2px);
}

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

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

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

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

.btn-light {
  background-color: var(--text-light) !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--text-light) !important;
}

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

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

/* ===================================
   SECTIONS
   =================================== */
.py-5 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

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

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

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

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

section {
  position: relative;
  overflow: hidden;
}

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

.display-3 {
  font-size: clamp(2rem, 5vw, 4rem) !important;
}

.display-4 {
  font-size: clamp(1.8rem, 4vw, 3.5rem) !important;
}

.display-5 {
  font-size: clamp(1.5rem, 3vw, 2.5rem) !important;
}

.h3,
h3 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.75rem;
}

.h4,
h4,
.fs-4 {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.5rem;
}

.h5,
h5,
.fs-5 {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.25rem;
}

.h6,
h6 {
  color: var(--steel-gray);
  font-weight: 600;
  font-size: 1rem;
}

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

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

.small {
  font-size: 0.875rem;
}

/* ===================================
   CARDS
   =================================== */
.card {
  border: none !important;
  border-radius: 12px;
  transition: all var(--transition-speed) ease;
  background-color: #ffffff;
  overflow: hidden;
}

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

.card-body {
  padding: 2rem;
}

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

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

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

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

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

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

.service-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2.5rem;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
  height: 100%;
}

.service-card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-8px);
  box-shadow: 0 12px 35px var(--shadow-medium);
}

/* ===================================
   ICONS
   =================================== */
[class^="bi-"],
[class*=" bi-"] {
  color: var(--secondary-color);
  transition: all var(--transition-speed) ease;
}

.bi {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.bi-building,
.bi-gear-wide-connected,
.bi-tools,
.bi-tree,
.bi-clipboard-check,
.bi-box-seam,
.bi-lightbulb,
.bi-hammer,
.bi-people,
.bi-lightning-fill,
.bi-calendar-check,
.bi-people-fill,
.bi-geo-fill,
.bi-gear-fill,
.bi-rulers,
.bi-tree-fill,
.bi-box,
.bi-quote {
  display: inline-block;
}

.bi-check-circle-fill {
  color: var(--secondary-color) !important;
  font-size: 1.5rem;
}

.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt,
.bi-telephone,
.bi-envelope {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.bi-arrow-right {
  transition: transform var(--transition-speed) ease;
}

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

.rounded-circle {
  width: 60px;
  height: 60px;
  background-color: rgba(208, 135, 112, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* ===================================
   IMAGES
   =================================== */
.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

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

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

/* ===================================
   PORTFOLIO
   =================================== */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  height: 350px;
}

.portfolio-item img {
  transition: all 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(46, 52, 64, 0.8) 100%);
  opacity: 0;
  transition: all var(--transition-speed) ease;
  z-index: 1;
}

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

.filter-btn {
  background-color: transparent !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--steel-gray) !important;
  padding: 0.6rem 1.8rem !important;
  margin: 0.3rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
}

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

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

/* ===================================
   FORMS
   =================================== */
.form-label {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.form-control,
.form-select {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.85rem 1.2rem;
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
  background-color: #ffffff;
  color: var(--text-dark);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(208, 135, 112, 0.15) !important;
  outline: none;
}

.form-control::placeholder {
  color: #999;
}

.form-check-input {
  width: 1.3rem;
  height: 1.3rem;
  border: 2px solid var(--steel-gray);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.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(208, 135, 112, 0.15) !important;
}

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

/* ===================================
   MODAL
   =================================== */
.modal {
  z-index: 1060;
}

.modal-content {
  border-radius: 16px;
  border: none;
  overflow: hidden;
}

.modal-header {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 1.5rem 2rem;
}

.modal-title {
  color: var(--text-light) !important;
  font-weight: 700;
}

.modal-body {
  padding: 2rem;
}

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

.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.modal-xl {
  max-width: 1200px;
}

.modal-lg {
  max-width: 800px;
}

/* ===================================
   CAROUSEL
   =================================== */
.carousel {
  position: relative;
}

.carousel-inner {
  border-radius: 12px;
  overflow: hidden;
}

.carousel-item {
  transition: transform 0.6s ease-in-out;
  padding: 3rem;
  background-color: #ffffff;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: all var(--transition-speed) ease;
}

.carousel-control-prev {
  left: -25px;
}

.carousel-control-next {
  right: -25px;
}

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

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

/* ===================================
   ALERT
   =================================== */
.alert {
  border-radius: 8px;
  border: none;
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 10px var(--shadow-light);
}

/* ===================================
   PRIVACY CONTENT
   =================================== */
.privacy-content {
  background-color: #ffffff;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px var(--shadow-light);
}

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

.privacy-content p {
  color: var(--steel-gray);
  line-height: 1.8;
}

/* ===================================
   NAVIGATION SIDEBAR
   =================================== */
.nav {
  display: flex;
}

.nav.flex-column {
  flex-direction: column;
}

.nav.flex-column .nav-link {
  color: var(--steel-gray) !important;
  padding: 0.8rem 1.2rem;
  border-left: 3px solid transparent;
  transition: all var(--transition-speed) ease;
}

.nav.flex-column .nav-link:hover,
.nav.flex-column .nav-link.active {
  color: var(--secondary-color) !important;
  border-left-color: var(--secondary-color);
  background-color: rgba(208, 135, 112, 0.05);
}

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

/* ===================================
   RATIO CONTAINERS
   =================================== */
.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-21x9 {
  --bs-aspect-ratio: 42.857143%;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-decoration-none {
  text-decoration: none !important;
}

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

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

.overflow-hidden {
  overflow: hidden;
}

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

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

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

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

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

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

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

.d-flex {
  display: flex;
}

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

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

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

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

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

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

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

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

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

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

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

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

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

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

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

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

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

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

.ms-3 {
  margin-left: 1rem;
}

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

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

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

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

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

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

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

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

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

.p-md-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-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

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

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

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

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

/* ===================================
   FOOTER
   =================================== */
footer {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

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

footer a {
  color: rgba(255, 255, 255, 0.7) !important;
  transition: all var(--transition-speed) ease;
}

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

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

/* ===================================
   ANIMATIONS
   =================================== */
@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 fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.animate-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.animate-on-scroll.visible {
  animation-play-state: running;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1199.98px) {
  .display-1 {
    font-size: 3.5rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 5px 20px var(--shadow-heavy);
  }
  
  .nav-link {
    padding: 0.8rem 1rem !important;
    border-left: 3px solid transparent;
  }
  
  .nav-link:hover,
  .nav-link.active {
    border-left-color: var(--secondary-color);
    background-color: rgba(208, 135, 112, 0.1);
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 3rem 0;
  }
  
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .ps-lg-5,
  .ps-lg-4 {
    padding-left: 1rem !important;
  }
  
  .col-lg-5,
  .col-lg-6,
  .col-lg-7,
  .col-lg-8,
  .col-lg-9,
  .col-lg-10 {
    margin-bottom: 2rem;
  }
  
  .order-lg-1,
  .order-lg-2 {
    order: unset;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .display-1 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.8rem !important;
  }
  
  .display-4 {
    font-size: 1.6rem !important;
  }
  
  .display-5 {
    font-size: 1.4rem !important;
  }
  
  .lead {
    font-size: 1rem !important;
  }
  
  .btn-lg {
    padding: 0.8rem 2rem !important;
    font-size: 1rem;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .carousel-item {
    padding: 2rem 1rem;
    min-height: 250px;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .privacy-content {
    padding: 2rem 1.5rem;
  }
  
  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }
  
  .portfolio-item {
    height: 250px;
  }
  
  footer {
    text-align: center;
  }
  
  footer .col-lg-2,
  footer .col-lg-3 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .display-1 {
    font-size: 1.8rem !important;
  }
  
  .navbar-brand {
    font-size: 1.4rem;
  }
  
  .btn-lg {
    padding: 0.7rem 1.5rem !important;
    font-size: 0.95rem;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .p-5 {
    padding: 2rem !important;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem;
  }
}

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

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

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

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
  .navbar,
  .btn,
  footer,
  .modal,
  .carousel-control-prev,
  .carousel-control-next {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--steel-gray);
  border-radius: 6px;
  transition: background var(--transition-speed) ease;
}

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

/* ===================================
   LOADING ANIMATION
   =================================== */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(208, 135, 112, 0.2);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ===================================
   BACK TO TOP BUTTON
   =================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
  z-index: 999;
  box-shadow: 0 4px 15px var(--shadow-medium);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-light);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px var(--shadow-heavy);
}

/* ===================================
   PRELOADER
   =================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease-out;
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  color: var(--text-light);
}

.preloader-logo {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}