/* ===================================
   Architectural Studio - Slate & Copper Theme
   Primary: #2C3E50 (Slate)
   Secondary: #E67E22 (Copper)
   =================================== */

/* === ROOT VARIABLES === */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --primary-dark: #1a252f;
  --secondary-dark: #d35400;
  --light-gray: #ecf0f1;
  --dark-gray: #7f8c8d;
  --white: #ffffff;
  --black: #000000;
  --transition-speed: 0.3s;
  --box-shadow: 0 10px 40px rgba(44, 62, 80, 0.15);
  --box-shadow-hover: 0 15px 50px rgba(44, 62, 80, 0.25);
}

/* === GLOBAL STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

/* === 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(--primary-color) !important;
  letter-spacing: -0.5px;
}

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

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

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

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

.display-6 {
  font-size: clamp(1.25rem, 2.5vw, 2rem) !important;
}

.fs-1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
}

.fs-2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
}

.fs-4 {
  font-size: clamp(1rem, 1.5vw, 1.25rem) !important;
}

.fs-5 {
  font-size: clamp(0.95rem, 1.25vw, 1.1rem) !important;
}

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem) !important;
  color: var(--dark-gray) !important;
}

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

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

/* === BUTTONS === */
.btn {
  border-radius: 8px;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-speed) ease;
  border: none !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background-color: var(--secondary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--secondary-dark) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4) !important;
}

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

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

.btn-secondary {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: var(--primary-dark) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4) !important;
}

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

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  border-color: var(--primary-color) !important;
}

.btn-success {
  background-color: #27ae60 !important;
  color: var(--white) !important;
}

.btn-success:hover {
  background-color: #229954 !important;
  color: var(--white) !important;
}

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

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

/* === NAVBAR === */
.navbar {
  transition: all var(--transition-speed) ease;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: transparent !important;
}

.navbar.scrolled {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  box-shadow: var(--box-shadow);
  padding: 0.75rem 0 !important;
}

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

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

.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-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.5) !important;
}

.navbar-nav {
  gap: 0.5rem;
}

.nav-link {
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: all var(--transition-speed) ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  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;
}

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

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

.hero-image {
  object-fit: cover;
  opacity: 0.25;
  z-index: 0;
  filter: grayscale(30%);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(26, 37, 47, 0.9) 100%);
  z-index: 1;
}

.hero-section .container-fluid,
.hero-section .text-center {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  color: var(--white) !important;
  font-weight: 800 !important;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.hero-section p {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .d-flex {
  animation: fadeInUp 1s ease-out 0.4s;
  animation-fill-mode: both;
}

.hero-section .bottom-0 {
  animation: bounce 2s infinite;
}

.hero-section .bottom-0 i {
  font-size: 2rem;
  color: var(--secondary-color) !important;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.4));
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

@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 scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

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

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

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

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

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

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

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

/* === BADGE === */
.badge {
  background-color: var(--secondary-color) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.75rem !important;
  display: inline-block;
}

.d-inline-block.mb-3 {
  animation: fadeIn 0.6s ease-out;
}

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

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

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

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

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

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

/* === SERVICE CARDS === */
.service-card {
  background-color: var(--light-gray) !important;
  border-radius: 12px;
  transition: all var(--transition-speed) ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--secondary-dark));
  transform: scaleX(0);
  transition: transform var(--transition-speed) ease;
}

.service-card:hover {
  background-color: var(--white) !important;
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--secondary-color) !important;
  margin-bottom: 1.5rem;
  transition: all var(--transition-speed) ease;
}

.service-card:hover i {
  transform: scale(1.1) rotate(5deg);
}

.service-card .h4 {
  color: var(--primary-color) !important;
  margin-bottom: 1rem !important;
}

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

/* === PORTFOLIO CARDS === */
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  height: 350px;
  background-color: var(--light-gray);
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(230, 126, 34, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.5s ease;
  padding: 2rem;
}

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

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

.portfolio-overlay h3,
.portfolio-overlay p {
  color: var(--white) !important;
  transform: translateY(20px);
  transition: all 0.5s ease 0.1s;
}

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

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

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

/* === FILTER BUTTONS === */
.filter-btn {
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  background-color: transparent !important;
  margin: 0.25rem;
  transition: all var(--transition-speed) ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--white) !important;
}

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

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

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

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

.shadow-sm {
  box-shadow: 0 2px 10px rgba(44, 62, 80, 0.1) !important;
}

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

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

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

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

.form-control,
.form-select {
  border: 2px solid var(--light-gray) !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  transition: all var(--transition-speed) ease;
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25) !important;
  outline: none !important;
}

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

.form-check-input {
  border: 2px solid var(--primary-color) !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.2rem rgba(230, 126, 34, 0.25) !important;
}

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

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

.alert-success {
  background-color: #d4edda !important;
  color: #155724 !important;
}

/* === PROGRESS BARS === */
.progress {
  height: 0.75rem !important;
  border-radius: 50px !important;
  background-color: var(--light-gray) !important;
  overflow: visible;
}

.progress-bar {
  background: linear-gradient(90deg, var(--secondary-color), var(--secondary-dark)) !important;
  border-radius: 50px !important;
  position: relative;
  overflow: visible;
}

.bg-success {
  background-color: #27ae60 !important;
}

/* === RATIO (RESPONSIVE EMBEDS) === */
.ratio {
  position: relative;
  width: 100%;
}

.ratio::before {
  display: block;
  padding-top: var(--bs-aspect-ratio);
  content: "";
}

.ratio-21x9 {
  --bs-aspect-ratio: 42.857143%;
}

.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* === ICONS === */
i.fas,
i.fab,
i.bi {
  transition: all var(--transition-speed) ease;
}

.fa-leaf,
.fa-tools,
.fa-chart-line,
.fa-lightbulb,
.fa-shield-alt,
.fa-comments,
.fa-handshake,
.bi-thermometer-half,
.bi-cash-coin,
.bi-house-check,
.bi-award,
.bi-rulers,
.bi-droplet-fill,
.bi-recycle,
.bi-sun-fill,
.bi-tree-fill,
.bi-building,
.bi-moisture,
.bi-cpu {
  color: var(--secondary-color) !important;
}

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

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

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

.list-unstyled a {
  color: var(--dark-gray) !important;
  text-decoration: none !important;
  transition: all var(--transition-speed) ease;
  display: inline-block;
}

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

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

footer h5,
footer h6,
footer p,
footer a {
  color: var(--white) !important;
}

footer a {
  text-decoration: none !important;
  transition: all var(--transition-speed) ease;
  display: inline-block;
}

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

footer .border-secondary {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* === SOCIAL ICONS === */
.d-inline-flex {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

a.d-inline-flex.rounded-circle {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-speed) ease;
}

a.d-inline-flex.rounded-circle:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-5px) scale(1.1);
}

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

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

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

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

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

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

.start-50 {
  left: 50% !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;
}

.vh-100 {
  height: 100vh !important;
}

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

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

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

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

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

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

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

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

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

.opacity-75 {
  opacity: 0.75 !important;
}

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

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

.ms-2 {
  margin-left: 0.5rem !important;
}

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

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

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

.me-3 {
  margin-right: 1rem !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;
}

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

.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 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;
}

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

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

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

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

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

.px-2 {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

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

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

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

.gap-4 {
  gap: 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;
}

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

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

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

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

.g-0 {
  gap: 0 !important;
}

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

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

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

/* === RESPONSIVE DESIGN === */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: var(--box-shadow);
  }
  
  .navbar-nav {
    gap: 0.5rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .hero-section h1 {
    font-size: 2.5rem !important;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .py-5 {
    padding: 3rem 0 !important;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .portfolio-card {
    height: 300px;
  }
  
  .masonry-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 2rem !important;
  }
  
  .hero-section p {
    font-size: 1rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
  }
  
  .display-2 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .display-4 {
    font-size: 1.5rem !important;
  }
  
  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  .py-5 {
    padding: 2.5rem 0 !important;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .service-card {
    padding: 2rem !important;
  }
  
  .portfolio-card {
    height: 250px;
  }
  
  .masonry-grid {
    grid-template-columns: 1fr;
  }
  
  footer {
    text-align: center;
  }
  
  .text-md-start,
  .text-md-end,
  .text-lg-end {
    text-align: center !important;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem;
  }
  
  .hero-section h1 {
    font-size: 1.75rem !important;
  }
  
  .hero-section p {
    font-size: 0.95rem !important;
  }
  
  .navbar-brand {
    font-size: 1.5rem !important;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .d-flex.gap-3 {
    flex-direction: column;
    gap: 0.5rem !important;
  }
  
  .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* === SCROLL TO TOP BUTTON === */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: var(--white) !important;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
}

/* === LOADING SPINNER === */
.spinner-border {
  border: 3px solid rgba(230, 126, 34, 0.2);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  animation: spin 0.75s linear infinite;
}

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

/* === HOVER EFFECTS === */
.hover-lift {
  transition: all var(--transition-speed) ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.hover-scale {
  transition: all var(--transition-speed) ease;
}

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

/* === BORDER UTILITIES === */
.border-0 {
  border: none !important;
}

/* === RESPONSIVE GRID === */
.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

@media (min-width: 992px) {
  .col-lg-2 {
    width: 16.66666667%;
  }
  
  .col-lg-3 {
    width: 25%;
  }
  
  .col-lg-4 {
    width: 33.33333333%;
  }
  
  .col-lg-5 {
    width: 41.66666667%;
  }
  
  .col-lg-6 {
    width: 50%;
  }
  
  .col-lg-7 {
    width: 58.33333333%;
  }
  
  .col-lg-8 {
    width: 66.66666667%;
  }
  
  .col-lg-10 {
    width: 83.33333333%;
  }
  
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  
  .pe-lg-5 {
    padding-right: 3rem !important;
  }
  
  .pt-lg-0 {
    padding-top: 0 !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
  
  .mt-lg-0 {
    margin-top: 0 !important;
  }
  
  .text-lg-end {
    text-align: right !important;
  }
  
  .justify-content-lg-end {
    justify-content: flex-end !important;
  }
  
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
  
  .flex-lg-row-reverse {
    flex-direction: row-reverse !important;
  }
}

@media (min-width: 768px) {
  .col-md-3 {
    width: 25%;
  }
  
  .col-md-4 {
    width: 33.33333333%;
  }
  
  .col-md-5 {
    width: 41.66666667%;
  }
  
  .col-md-6 {
    width: 50%;
  }
  
  .col-md-12 {
    width: 100%;
  }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
  
  .mt-md-0 {
    margin-top: 0 !important;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
}

@media (min-width: 576px) {
  .col-sm-6 {
    width: 50%;
  }
}

.col-6 {
  width: 50%;
}

.col-12 {
  width: 100%;
}

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

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

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

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

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

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

/* === FOCUS STYLES === */
*: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,
  .scroll-to-top,
  footer {
    display: none !important;
  }
  
  body {
    color: #000;
  }
  
  a {
    text-decoration: underline;
  }
}