/* Charcoal Ember Architecture Studio Theme CSS */

/* ============================
   ROOT VARIABLES & IMPORTS
   ============================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;900&family=Playfair+Display:wght@400;700;900&display=swap');

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --dark-bg: #1a252f;
  --light-bg: #f8f9fa;
  --text-dark: #2C3E50;
  --text-light: #ffffff;
  --transition-speed: 0.3s;
  --ember-glow: rgba(230, 126, 34, 0.3);
  --charcoal-overlay: rgba(44, 62, 80, 0.85);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark) !important;
  background-color: var(--light-bg) !important;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary-color) !important;
}

.text-white, .text-white h1, .text-white h2, .text-white h3,
.text-white .display-1, .text-white .display-2, .text-white .display-3,
.text-white .display-4, .text-white .display-5, .text-white .display-6 {
  color: var(--text-light) !important;
}

/* ============================
   NAVIGATION
   ============================ */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%) !important;
  padding: 1rem 0;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.sticky-top {
  backdrop-filter: blur(10px);
}

.navbar-dark .navbar-brand {
  color: var(--text-light) !important;
  font-size: 1.8rem;
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
}

.navbar-brand.fw-bold {
  font-weight: 900 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

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

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
}

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

.navbar-toggler {
  border-color: var(--secondary-color) !important;
  padding: 0.5rem 0.75rem;
}

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

/* ============================
   HERO SECTION
   ============================ */
.position-relative.w-100.h-100 {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
  position: relative;
  overflow: hidden;
}

.position-relative.w-100.h-100::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(230,126,34,0.1)"/></svg>') no-repeat bottom center;
  background-size: cover;
  opacity: 0.3;
  animation: wave 15s ease-in-out infinite;
}

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

.position-absolute.top-50.start-50.translate-middle {
  z-index: 10;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.display-2, .display-3, .display-4, .display-5 {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  animation: fadeIn 1.5s ease-out;
}

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

.lead, .fs-3 {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.8;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  border-width: 2px;
  position: relative;
  overflow: hidden;
}

.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 ease, height 0.6s ease;
}

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

.btn-primary,
.btn.btn-lg.px-5.py-3 {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.btn-primary:hover,
.btn.btn-lg.px-5.py-3:hover {
  background-color: #d35400 !important;
  border-color: #d35400 !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.6);
}

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

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

.btn-light {
  background-color: var(--text-light) !important;
  border-color: var(--text-light) !important;
  color: var(--primary-color) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

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

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

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

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

.filter-btn {
  transition: all var(--transition-speed) ease;
}

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

.container {
  position: relative;
}

section {
  position: relative;
  overflow: hidden;
}

/* ============================
   IMAGES
   ============================ */
.img-fluid {
  max-width: 100%;
  height: auto;
  transition: transform var(--transition-speed) ease;
}

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

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

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(44, 62, 80, 0.3) !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(44, 62, 80, 0.15) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(44, 62, 80, 0.2) !important;
}

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

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1.5rem 3rem rgba(44, 62, 80, 0.3) !important;
}

.card-img-top {
  transition: transform 0.5s ease;
  height: 250px;
  object-fit: cover;
}

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

.card-body {
  padding: 2rem;
  background-color: #ffffff;
}

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

.card-text {
  color: #6c757d !important;
  line-height: 1.8;
}

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

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

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

/* ============================
   PORTFOLIO MASONRY
   ============================ */
.portfolio-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  height: 350px;
  background-color: var(--primary-color);
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--charcoal-overlay) 0%, rgba(230, 126, 34, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.5s ease;
  color: var(--text-light);
  padding: 2rem;
  text-align: center;
}

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

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

.portfolio-overlay h3 {
  color: var(--text-light) !important;
  margin-bottom: 1rem;
  transform: translateY(20px);
  transition: transform 0.5s ease 0.1s;
}

.portfolio-overlay p {
  transform: translateY(20px);
  transition: transform 0.5s ease 0.2s;
}

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

/* ============================
   FORMS
   ============================ */
.form-label {
  font-weight: 600;
  color: var(--primary-color) !important;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control,
.form-select {
  border: 2px solid #e0e0e0 !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  transition: all var(--transition-speed) ease;
  background-color: #ffffff !important;
  color: var(--text-dark) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem var(--ember-glow) !important;
  background-color: #ffffff !important;
}

.form-check-input {
  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 var(--ember-glow) !important;
}

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

/* ============================
   ICONS
   ============================ */
.bi {
  vertical-align: middle;
}

.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt-fill,
.bi-geo-alt,
.bi-telephone,
.bi-envelope,
.bi-arrow-right,
.bi-car-front-fill,
.bi-train-front-fill,
.bi-bicycle,
.bi-tree-fill,
.bi-recycle,
.bi-award-fill,
.bi-lightning-charge-fill,
.bi-building,
.bi-globe,
.bi-droplet-fill,
.bi-bezier2,
.bi-check-circle-fill,
.bi-journal-text,
.bi-people,
.bi-mortarboard {
  color: var(--secondary-color) !important;
  font-size: 1.5rem;
}

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

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

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

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

/* ============================
   BACKGROUND COLORS
   ============================ */
.bg-light {
  background-color: #f8f9fa !important;
}

.bg-white {
  background-color: #ffffff !important;
}

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

/* ============================
   TEXT COLORS
   ============================ */
.text-muted {
  color: #6c757d !important;
}

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

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

/* ============================
   UTILITIES
   ============================ */
.opacity-75 {
  opacity: 0.75 !important;
}

.opacity-25 {
  opacity: 0.25 !important;
}

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

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

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

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

.list-unstyled li {
  padding: 0.5rem 0;
  transition: all var(--transition-speed) ease;
}

.list-unstyled li:hover {
  padding-left: 0.5rem;
  color: var(--secondary-color) !important;
}

/* ============================
   RATIOS
   ============================ */
.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-4x3 {
  --bs-aspect-ratio: 75%;
}

/* ============================
   BORDERS
   ============================ */
.border-top {
  border-top: 1px solid #dee2e6 !important;
}

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

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

.border-2 {
  border-width: 2px !important;
}

/* ============================
   POSITION UTILITIES
   ============================ */
.position-sticky {
  position: sticky !important;
  top: 100px;
}

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

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

/* ============================
   FLEXBOX UTILITIES
   ============================ */
.flex-column {
  flex-direction: column !important;
}

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

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

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

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

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

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

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

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

/* ============================
   FEATURE BOXES
   ============================ */
.p-4 {
  padding: 1.5rem !important;
}

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

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

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

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

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

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

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

.pe-lg-4 {
  padding-right: 1.5rem !important;
}

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

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

/* ============================
   ROUNDED ELEMENTS
   ============================ */
.rounded-circle {
  border-radius: 50% !important;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary-color), #d35400);
  color: var(--text-light) !important;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
  transition: all var(--transition-speed) ease;
}

.rounded-circle:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.6);
}

/* ============================
   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 slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  animation: slideInUp 0.8s ease forwards;
}

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

footer h5,
footer h6 {
  color: var(--text-light) !important;
}

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

footer a:hover {
  color: var(--secondary-color) !important;
  padding-left: 0.5rem;
}

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

/* ============================
   RESPONSIVE DESIGN
   ============================ */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.8rem !important;
  }
  
  .display-5 {
    font-size: 1.5rem !important;
  }
  
  .portfolio-masonry {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .position-sticky {
    position: relative !important;
    top: 0;
  }
}

@media (max-width: 767px) {
  .display-2 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .display-4 {
    font-size: 1.5rem !important;
  }
  
  .lead {
    font-size: 1rem !important;
  }
  
  .portfolio-masonry {
    grid-template-columns: 1fr;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .me-3 {
    margin-right: 0 !important;
  }
  
  .flex-md-row {
    flex-direction: column !important;
  }
  
  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }
}

@media (max-width: 575px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .fs-1 {
    font-size: 2rem !important;
  }
  
  .rounded-circle {
    width: 60px;
    height: 60px;
  }
  
  .portfolio-item {
    height: 250px;
  }
}

/* ============================
   HOVER EFFECTS
   ============================ */
.hover-lift {
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ============================
   LOADING ANIMATION
   ============================ */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

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

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

/* ============================
   TEXT UTILITIES
   ============================ */
.text-uppercase {
  text-transform: uppercase !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ============================
   PRINT STYLES
   ============================ */
@media print {
  .navbar,
  .btn,
  .scroll-to-top,
  footer {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}