/* Forge Steel & Ember Architecture Studio - Custom Styles */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --dark-steel: #1a252f;
  --light-steel: #3d5266;
  --ember-glow: #ff8c42;
  --ember-dark: #c96515;
  --text-light: #ecf0f1;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Typography */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

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

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

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

/* Navigation */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-steel) 100%) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
  padding: 1rem 0 !important;
  z-index: 1050;
}

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

.navbar.sticky-top {
  background: rgba(44, 62, 80, 0.95) !important;
}

.navbar-dark .navbar-brand {
  color: #ffffff !important;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}

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

.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  transition: var(--transition-smooth);
  position: relative;
}

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

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link.active {
  color: #ffffff !important;
  background: rgba(230, 126, 34, 0.1);
  border-radius: 4px;
}

.navbar-dark .nav-link:hover::after,
.navbar-dark .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.2rem rgba(230, 126, 34, 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='rgba%28230, 126, 34, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Buttons */
.btn {
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

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

.btn-primary,
.btn.btn-lg.px-5.py-3:first-of-type {
  background: var(--secondary-color) !important;
  color: #ffffff !important;
  border: 2px solid var(--secondary-color) !important;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover,
.btn.btn-lg.px-5.py-3:first-of-type:hover {
  background: var(--ember-dark) !important;
  border-color: var(--ember-dark) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(230, 126, 34, 0.4);
}

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

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

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

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section */
.position-relative.overflow-hidden {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-steel) 50%, #000000 100%);
  position: relative;
}

.position-relative.overflow-hidden::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23E67E22" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.5;
  animation: patternMove 60s linear infinite;
}

@keyframes patternMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.position-relative.overflow-hidden .container {
  position: relative;
  z-index: 2;
}

/* Icons */
.bi {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bi-fire::before,
.bi-award-fill::before,
.bi-tree-fill::before,
.bi-cup-hot-fill::before {
  font-size: 3rem;
  color: var(--secondary-color);
  transition: var(--transition-smooth);
}

/* Stats/Features Section */
.py-5 {
  background: var(--primary-color);
  position: relative;
}

.py-5::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom right, transparent 49%, var(--primary-color) 50%);
}

.py-4 .col-md-3 {
  transition: var(--transition-smooth);
}

.py-4 .col-md-3:hover {
  transform: translateY(-10px);
}

.py-4 .col-md-3:hover .bi::before {
  transform: scale(1.2) rotate(360deg);
  color: var(--ember-glow);
}

/* Project/Portfolio Grid */
.g-4 .col-lg-6,
.g-5 .col-lg-6 {
  position: relative;
  overflow: hidden;
}

.position-relative.overflow-hidden.p-5 {
  min-height: 400px;
  background-size: cover !important;
  background-position: center !important;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.position-relative.overflow-hidden.p-5::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
  transition: var(--transition-smooth);
}

.position-relative.overflow-hidden.p-5:hover::before {
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.9) 0%, rgba(201, 101, 21, 0.8) 100%);
}

.position-relative.overflow-hidden.p-5:hover {
  transform: scale(1.02);
}

.position-relative.overflow-hidden .position-absolute {
  z-index: 2;
}

/* Services Section */
.py-5.bg-light,
.py-5:not([style]) {
  background: #f8f9fa !important;
}

.col-md-6.col-lg-4 {
  transition: var(--transition-smooth);
}

.col-md-6.col-lg-4:hover {
  transform: translateY(-10px);
}

.col-md-6.col-lg-4 .p-4 {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
  border-left: 4px solid transparent;
  height: 100%;
}

.col-md-6.col-lg-4:hover .p-4 {
  box-shadow: 0 10px 40px rgba(230, 126, 34, 0.2);
  border-left-color: var(--secondary-color);
  background: linear-gradient(to right, rgba(230, 126, 34, 0.05) 0%, #ffffff 10%);
}

.col-md-6.col-lg-4 .bi::before {
  font-size: 2.5rem;
  color: var(--secondary-color);
  transition: var(--transition-smooth);
}

.col-md-6.col-lg-4:hover .bi::before {
  transform: scale(1.1) rotate(5deg);
  color: var(--ember-glow);
}

/* Cards */
.card {
  border-radius: 12px !important;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: none !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
}

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

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

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

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

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

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

/* Images */
img, .img-fluid {
  max-width: 100%;
  height: auto;
  transition: var(--transition-smooth);
}

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

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

.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: 8px !important;
}

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

/* Forms */
.form-control,
.form-select {
  border: 2px solid #dee2e6 !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition-smooth);
  background: #ffffff !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;
}

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

.form-check-input {
  border: 2px solid #dee2e6 !important;
  transition: var(--transition-smooth);
}

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

/* Badges */
.badge {
  background: var(--secondary-color) !important;
  color: #ffffff !important;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

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

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

.bg-transparent {
  background-color: transparent !important;
}

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

/* Spacing Utilities */
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.p-0 { padding: 0 !important; }
.m-3 { margin: 1rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !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; }
.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; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.me-2 { margin-left: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.ps-2 { padding-left: 0.5rem !important; }

/* Gap Utilities */
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }

/* Grid */
.g-0 { --bs-gutter-x: 0; --bs-gutter-y: 0; }
.g-2 { --bs-gutter-x: 0.5rem; --bs-gutter-y: 0.5rem; }
.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; }

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-steel) 0%, var(--primary-color) 100%);
  color: var(--text-light) !important;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom right, transparent 49%, var(--dark-steel) 50%);
}

footer h5,
footer h4,
footer h3,
footer .h5,
footer .h4,
footer .h3 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

footer .list-unstyled a {
  color: rgba(255, 255, 255, 0.8) !important;
  transition: var(--transition-smooth);
  text-decoration: none !important;
}

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

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

footer a:hover .bi {
  transform: scale(1.2);
}

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

/* Social Media Icons */
.bi-facebook::before,
.bi-instagram::before,
.bi-twitter::before,
.bi-linkedin::before,
.bi-youtube::before {
  font-size: 1.5rem;
  color: #ffffff !important;
  transition: var(--transition-smooth);
}

.bi-facebook:hover::before { color: #1877f2 !important; }
.bi-instagram:hover::before { color: #e4405f !important; }
.bi-twitter:hover::before { color: #1da1f2 !important; }
.bi-linkedin:hover::before { color: #0077b5 !important; }
.bi-youtube:hover::before { color: #ff0000 !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);
  }
}

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

@keyframes glow {
  0%, 100% { text-shadow: 0 0 10px rgba(230, 126, 34, 0.5); }
  50% { text-shadow: 0 0 20px rgba(230, 126, 34, 0.8), 0 0 30px rgba(230, 126, 34, 0.6); }
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

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

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

/* Scroll animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Hover Effects */
.hover-lift {
  transition: var(--transition-smooth);
}

.hover-lift:hover {
  transform: translateY(-10px);
}

/* Text decorations */
.text-decoration-none {
  text-decoration: none !important;
}

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

.text-uppercase {
  text-transform: uppercase !important;
}

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

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

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

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

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

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

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

/* Flex utilities */
.flex-wrap {
  flex-wrap: wrap !important;
}

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

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

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

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

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

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

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

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

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

.mt-auto {
  margin-top: auto !important;
}

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

/* Position utilities */
.position-relative {
  position: relative !important;
}

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

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

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

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

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

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

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

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

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

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

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

/* Overflow utilities */
.overflow-hidden {
  overflow: hidden !important;
}

/* Size utilities */
.fs-1 { font-size: calc(1.375rem + 1.5vw) !important; }
.fs-2 { font-size: calc(1.325rem + 0.9vw) !important; }
.fs-3 { font-size: calc(1.3rem + 0.6vw) !important; }
.fs-4 { font-size: calc(1.275rem + 0.3vw) !important; }
.fs-5 { font-size: 1.25rem !important; }

.h3, h3 { font-size: calc(1.3rem + 0.6vw) !important; }
.h4, h4 { font-size: calc(1.275rem + 0.3vw) !important; }
.h5, h5 { font-size: 1.25rem !important; }
.h6, h6 { font-size: 1rem !important; }

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

/* Responsive Design */
@media (max-width: 1199.98px) {
  .display-1 { font-size: 4rem !important; }
  .display-2 { font-size: 3.5rem !important; }
  .display-3 { font-size: 3rem !important; }
  .display-4 { font-size: 2.5rem !important; }
  .display-5 { font-size: 2rem !important; }
  .display-6 { font-size: 1.75rem !important; }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.98);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  }
  
  .navbar-nav {
    gap: 0.5rem;
  }
  
  .navbar-dark .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: 6px;
  }
  
  .display-1 { font-size: 3rem !important; }
  .display-2 { font-size: 2.5rem !important; }
  .display-3 { font-size: 2rem !important; }
  .display-4 { font-size: 1.75rem !important; }
  .display-5 { font-size: 1.5rem !important; }
  .display-6 { font-size: 1.25rem !important; }
  
  .position-relative.overflow-hidden.p-5 {
    min-height: 300px;
    padding: 2rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .col-lg-6.order-lg-1,
  .col-lg-6.order-lg-2 {
    order: 0 !important;
  }
  
  .ps-lg-5, .pe-lg-4, .ps-lg-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .mt-lg-0 {
    margin-top: 1rem !important;
  }
  
  .text-lg-end {
    text-align: left !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 767.98px) {
  .display-1 { font-size: 2.5rem !important; }
  .display-2 { font-size: 2rem !important; }
  .display-3 { font-size: 1.75rem !important; }
  .display-4 { font-size: 1.5rem !important; }
  .display-5 { font-size: 1.25rem !important; }
  .display-6 { font-size: 1.1rem !important; }
  
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .col-md-3,
  .col-md-4,
  .col-md-6 {
    margin-bottom: 1.5rem;
  }
  
  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }
  
  .mt-md-0 {
    margin-top: 1rem !important;
  }
  
  .p-md-5 {
    padding: 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .btn-lg {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .gap-3 {
    gap: 0.75rem !important;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .position-relative.overflow-hidden {
    min-height: 70vh;
  }
}

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

::-webkit-scrollbar-track {
  background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 6px;
}

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

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

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

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

/* Loading animation */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 3px solid rgba(230, 126, 34, 0.3);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Utility classes for theme */
.bg-primary-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-steel) 100%) !important;
}

.bg-secondary-gradient {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--ember-dark) 100%) !important;
}

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

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

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

/* Accessibility improvements */
.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;
}

/* Print styles */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    color: #000000 !important;
    background: #ffffff !important;
  }
}