/* Midnight Crimson Architecture Studio - Custom Styles */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E74C3C;
  --dark-accent: #1a252f;
  --light-accent: #34495e;
  --crimson-light: #ff6b5c;
  --text-light: #ecf0f1;
  --text-dark: #2c3e50;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-accent) 100%) !important;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 15px rgba(231, 76, 60, 0.1);
}

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

.navbar-brand {
  color: #ffffff !important;
  font-size: 1.5rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

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

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.2rem;
  transition: all 0.3s ease;
  position: relative;
}

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

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

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

.navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
  font-weight: 600;
}

.navbar-toggler {
  border-color: var(--secondary-color) !important;
  background-color: rgba(231, 76, 60, 0.1) !important;
}

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

.sticky-top {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.vh-100 {
  min-height: 100vh;
  position: relative;
}

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

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

.position-absolute {
  z-index: 0;
}

.position-absolute::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.8) 0%, rgba(231, 76, 60, 0.6) 100%);
  z-index: 1;
}

.object-fit-cover {
  object-fit: cover;
  filter: grayscale(20%) brightness(0.8);
}

.text-white {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.display-1 {
  font-weight: 700;
  letter-spacing: -1px;
  animation: fadeInUp 1s ease;
}

.display-3 {
  font-weight: 700;
  color: var(--primary-color) !important;
}

.display-4 {
  font-weight: 700;
  color: var(--primary-color) !important;
}

.display-5 {
  font-weight: 600;
  color: var(--text-dark) !important;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.8;
}

.fs-3 {
  animation: fadeInUp 1.2s ease;
}

/* Buttons */
.btn {
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--crimson-light) 100%) !important;
  border: 2px solid var(--secondary-color) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--crimson-light) 0%, var(--secondary-color) 100%) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
  color: #ffffff !important;
}

.btn-outline-light {
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  background-color: transparent !important;
}

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

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

.btn-outline-dark:hover {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

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

.btn-light:hover {
  background-color: transparent !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  transform: translateY(-3px);
}

.btn-sm {
  padding: 0.4rem 1rem !important;
  font-size: 0.875rem !important;
}

/* Cards */
.card {
  border: none !important;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #ffffff;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(44, 62, 80, 0.2) !important;
}

.card-body {
  padding: 2rem;
}

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

/* Service Cards */
.service-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-left: 4px solid var(--secondary-color) !important;
  transition: all 0.4s ease;
  height: 100%;
}

.service-card:hover {
  border-left-width: 8px !important;
  background: linear-gradient(135deg, #ffffff 0%, #fff5f4 100%);
  transform: translateX(5px);
}

/* Images */
.img-fluid {
  border-radius: 15px;
  transition: all 0.4s ease;
}

.img-fluid:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

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

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

/* Portfolio */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.8) 0%, rgba(231, 76, 60, 0.8) 100%);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1;
}

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

.portfolio-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.filter-btn {
  background-color: transparent !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  padding: 0.5rem 1.5rem !important;
  margin: 0.3rem !important;
  border-radius: 50px !important;
  transition: all 0.3s ease;
}

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

/* Badge */
.badge {
  padding: 0.5rem 1rem !important;
  font-weight: 500;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--crimson-light) 100%) !important;
  color: #ffffff !important;
}

/* Forms */
.form-control,
.form-select {
  border: 2px solid #dee2e6;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: all 0.3s 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.2rem rgba(231, 76, 60, 0.25) !important;
  background-color: #ffffff !important;
}

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

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

.form-check-input:checked {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
}

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

/* Accordion */
.accordion-item {
  border: 1px solid rgba(44, 62, 80, 0.1) !important;
  border-radius: 10px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background-color: #f8f9fa !important;
  color: var(--primary-color) !important;
  font-weight: 600;
  border: none !important;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-accent) 100%) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25) !important;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232C3E50'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

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

.collapsed {
  background-color: #f8f9fa !important;
}

/* Alert */
.alert {
  border-radius: 10px;
  border: none;
  padding: 1rem 1.5rem;
}

/* Progress Bar */
.progress {
  height: 10px;
  border-radius: 50px;
  background-color: rgba(44, 62, 80, 0.1) !important;
}

.progress-bar {
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--crimson-light) 100%) !important;
  border-radius: 50px;
  transition: width 1s ease;
}

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

.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-linkedin,
.bi-instagram,
.bi-facebook,
.bi-twitter,
.bi-arrow-right,
.bi-collection,
.bi-gear,
.bi-share,
.bi-tools,
.bi-building,
.bi-cloud,
.bi-shield-check,
.bi-laptop,
.bi-lock,
.bi-check-circle,
.bi-person-check,
.bi-geo-alt,
.bi-telephone,
.bi-envelope,
.bi-trophy-fill,
.bi-award-fill,
.bi-star-fill,
.bi-house-door,
.bi-leaf,
.bi-layout-three-columns,
.bi-map,
.bi-hourglass-split,
.bi-check-circle-fill,
.bi-brightness-high-fill,
.bi-recycle,
.bi-droplet-half,
.bi-tree-fill,
.bi-gear-fill,
.bi-lightning-charge-fill,
.bi-building-fill-add,
.bi-moisture,
.bi-graph-up-arrow,
.bi-circle-half {
  color: var(--secondary-color) !important;
  transition: all 0.3s ease;
}

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

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

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

/* Borders */
.border-start {
  border-left: 1px solid #dee2e6 !important;
}

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

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

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

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

.border-top {
  border-top: 1px solid #dee2e6 !important;
}

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

.text-muted {
  color: #6c757d !important;
}

.text-decoration-none {
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.3s ease;
}

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

.text-uppercase {
  text-transform: uppercase !important;
  letter-spacing: 2px;
}

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

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

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

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

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

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

.bg-light {
  background-color: #f8f9fa !important;
}

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

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

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

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

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

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

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

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

.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

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

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

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

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

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

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

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

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

.pb-4 {
  padding-bottom: 2.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;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* Nav */
.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

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

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

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

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

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

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

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

/* Flex */
.d-flex {
  display: flex !important;
}

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

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

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

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

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

.flex-row-reverse {
  flex-direction: row-reverse !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-between {
  justify-content: space-between !important;
}

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

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

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

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

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

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

/* Ratio */
.ratio {
  position: relative;
  width: 100%;
}

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

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

.ratio-16x9 {
  --bs-aspect-ratio: 56.25%;
}

/* Opacity */
.opacity-25 {
  opacity: 0.25 !important;
}

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

/* Typography */
.h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color) !important;
}

.h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color) !important;
}

.h6 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color) !important;
}

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

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

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

@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);
  }
}

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

.slide-in-left {
  animation: slideInLeft 1s ease;
}

.slide-in-right {
  animation: slideInRight 1s ease;
}

/* Scroll Animation */
.scroll-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* Responsive Media Queries */
@media (min-width: 768px) {
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
  
  .order-md-1 {
    order: 1 !important;
  }
  
  .order-md-2 {
    order: 2 !important;
  }
  
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
  
  .col-md-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }
  
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .col-md-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }
  
  .col-md-8 {
    flex: 0 0 auto;
    width: 66.666667%;
  }
}

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

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-accent) 100%);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .display-1 {
    font-size: 3rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
}

@media (max-width: 767.98px) {
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--crimson-light) 100%);
}

/* Selection */
::selection {
  background-color: var(--secondary-color);
  color: #ffffff;
}

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

/* Position Utilities */
.position-sticky {
  position: sticky !important;
  top: 80px;
}

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

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

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

/* Print Styles */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
}