/* Architectural Studio - Heroic Crimson & Gold Theme */

:root {
  --primary-color: #D32F2F;
  --secondary-color: #FFC107;
  --dark-bg: #1a1a1a;
  --light-text: #ffffff;
  --shadow-lg: 0 10px 40px rgba(211, 47, 47, 0.3);
  --shadow-gold: 0 5px 20px rgba(255, 193, 7, 0.4);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background-color: #0a0a0a !important;
  color: #ffffff !important;
}

/* Navbar Styling */
.navbar {
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.95) 0%, rgba(139, 0, 0, 0.95) 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(211, 47, 47, 0.5);
  transition: all 0.3s ease;
  padding: 1rem 0 !important;
}

.navbar.sticky-top {
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.navbar-brand {
  color: #FFC107 !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

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

.navbar-brand .bi {
  color: #FFC107 !important;
  filter: drop-shadow(0 0 10px #FFC107);
}

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

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #FFC107;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: #FFC107 !important;
  background: rgba(255, 193, 7, 0.1) !important;
  transform: translateY(-2px);
}

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

.navbar-toggler {
  border: 2px solid #FFC107 !important;
  padding: 0.5rem 0.75rem !important;
}

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

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a0000 0%, #0a0a0a 50%, #1a0a00 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(211, 47, 47, 0.2) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(255, 193, 7, 0.15) 0%, transparent 50%);
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.video-background {
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

.display-1 {
  font-weight: 900 !important;
  color: #ffffff !important;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7),
               0 0 30px rgba(211, 47, 47, 0.5);
  letter-spacing: -2px;
  animation: fadeInUp 1s ease;
}

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

.hero-glow {
  animation: fadeInUp 1.2s ease 0.3s both;
}

.display-1 .hero-glow {
  color: #FFC107 !important;
  filter: drop-shadow(0 0 20px #FFC107);
}

.display-5 {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 300 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.lead {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1.3rem !important;
  animation: fadeInUp 1.4s ease 0.6s both;
}

/* Buttons */
.btn {
  border-radius: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease !important;
  border: none !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

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

.btn-lg {
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem !important;
  animation: fadeInUp 1.6s ease 0.9s both;
}

.btn-lg:nth-child(1) {
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 5px 20px rgba(211, 47, 47, 0.4);
}

.btn-lg:nth-child(1):hover {
  background: linear-gradient(135deg, #F44336 0%, #D32F2F 100%) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 30px rgba(211, 47, 47, 0.6) !important;
  color: #ffffff !important;
}

.btn-lg:nth-child(2) {
  background: linear-gradient(135deg, #FFC107 0%, #FFA000 100%) !important;
  color: #1a1a1a !important;
  box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

.btn-lg:nth-child(2):hover {
  background: linear-gradient(135deg, #FFD54F 0%, #FFC107 100%) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 30px rgba(255, 193, 7, 0.6) !important;
  color: #000000 !important;
}

.btn-warning {
  background: linear-gradient(135deg, #FFC107 0%, #FFA000 100%) !important;
  color: #1a1a1a !important;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover {
  background: linear-gradient(135deg, #FFD54F 0%, #FFC107 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(255, 193, 7, 0.5) !important;
  color: #000000 !important;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  color: #ffffff !important;
  background: transparent !important;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.btn-outline-dark {
  border: 2px solid #1a1a1a !important;
  color: #1a1a1a !important;
  background: transparent !important;
}

.btn-outline-dark:hover {
  background: #1a1a1a !important;
  color: #FFC107 !important;
  transform: translateY(-2px) !important;
}

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

.btn-outline-danger:hover {
  background: #D32F2F !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.btn-secondary {
  background: linear-gradient(135deg, #424242 0%, #212121 100%) !important;
  color: #FFC107 !important;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #616161 0%, #424242 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

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

.filter-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px !important;
  padding: 0.5rem 1.5rem !important;
  transition: all 0.3s ease !important;
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%) !important;
  color: #ffffff !important;
  border-color: #D32F2F !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

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

.py-5 {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
}

.bg-danger {
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%) !important;
}

.bg-dark {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%) !important;
}

.bg-secondary {
  background: linear-gradient(135deg, #424242 0%, #212121 100%) !important;
}

.bg-warning {
  background: linear-gradient(135deg, #FFC107 0%, #FFA000 100%) !important;
}

.bg-primary {
  background: linear-gradient(135deg, #1976D2 0%, #0D47A1 100%) !important;
}

.bg-success {
  background: linear-gradient(135deg, #388E3C 0%, #1B5E20 100%) !important;
}

.bg-info {
  background: linear-gradient(135deg, #0097A7 0%, #006064 100%) !important;
}

.bg-opacity-25 {
  opacity: 0.95 !important;
}

/* Images */
.img-fluid {
  border-radius: 16px;
  transition: all 0.5s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.img-fluid:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 15px 50px rgba(211, 47, 47, 0.4);
}

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

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

/* Cards */
.card {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%) !important;
  border: 1px solid rgba(211, 47, 47, 0.2) !important;
  border-radius: 16px !important;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.1), transparent);
  transition: left 0.5s ease;
}

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

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 193, 7, 0.5) !important;
  box-shadow: 0 15px 50px rgba(211, 47, 47, 0.3),
              0 0 30px rgba(255, 193, 7, 0.2) !important;
}

.card-body {
  background: transparent !important;
  color: #ffffff !important;
}

.card-title {
  color: #FFC107 !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
  font-size: 1.5rem !important;
}

.card-text {
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.7 !important;
}

.card-header {
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.8) 0%, rgba(139, 0, 0, 0.8) 100%) !important;
  border-bottom: 2px solid rgba(255, 193, 7, 0.3) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 1.2rem !important;
}

.card-img-top {
  transition: all 0.5s ease;
  filter: brightness(0.9);
}

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

/* Badges */
.badge {
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%) !important;
  color: #ffffff !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  border: 1px solid rgba(255, 193, 7, 0.3);
  transition: all 0.3s ease;
}

.badge:hover {
  background: linear-gradient(135deg, #FFC107 0%, #FFA000 100%) !important;
  color: #1a1a1a !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

/* Typography */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 800 !important;
  color: #ffffff !important;
}

.display-3 {
  color: #FFC107 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.display-4 {
  background: linear-gradient(135deg, #D32F2F 0%, #FFC107 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.display-6 {
  color: #FFC107 !important;
}

.text-warning {
  color: #FFC107 !important;
}

.text-danger {
  color: #D32F2F !important;
}

.text-light {
  color: rgba(255, 255, 255, 0.95) !important;
}

.text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

.text-success {
  color: #4CAF50 !important;
}

.text-info {
  color: #00BCD4 !important;
}

.text-dark {
  color: #1a1a1a !important;
}

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

.lead {
  font-size: 1.25rem !important;
  font-weight: 300 !important;
}

.fs-2 {
  color: #FFC107 !important;
}

.fs-4 {
  color: rgba(255, 255, 255, 0.9) !important;
}

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

/* Icons */
.bi {
  vertical-align: middle;
  transition: all 0.3s ease;
}

.bi-lightning-charge-fill,
.bi-trophy-fill,
.bi-fire,
.bi-star-fill {
  color: #FFC107 !important;
  filter: drop-shadow(0 0 5px rgba(255, 193, 7, 0.5));
}

.bi-hammer,
.bi-compass,
.bi-lightning-fill,
.bi-person-arms-up,
.bi-people-fill,
.bi-heart-pulse-fill,
.bi-map {
  color: #D32F2F !important;
  font-size: 2.5rem !important;
  margin-bottom: 1rem !important;
  filter: drop-shadow(0 0 10px rgba(211, 47, 47, 0.3));
}

.card:hover .bi {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 0 15px rgba(255, 193, 7, 0.6));
}

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

.list-unstyled li {
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.85) !important;
  transition: all 0.3s ease;
}

.list-unstyled li:hover {
  color: #FFC107 !important;
  transform: translateX(5px);
}

.list-group {
  border-radius: 12px !important;
  overflow: hidden;
}

.list-group-item {
  background: rgba(26, 26, 26, 0.8) !important;
  border: 1px solid rgba(211, 47, 47, 0.2) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 1rem 1.5rem !important;
  transition: all 0.3s ease;
}

.list-group-item:hover {
  background: rgba(211, 47, 47, 0.1) !important;
  border-color: rgba(255, 193, 7, 0.4) !important;
  transform: translateX(5px);
  color: #FFC107 !important;
}

.list-group-flush .list-group-item {
  border-width: 0 0 1px !important;
}

/* Forms */
.form-label {
  color: #FFC107 !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
  display: block !important;
}

.form-control,
.form-select {
  background: rgba(26, 26, 26, 0.9) !important;
  border: 2px solid rgba(211, 47, 47, 0.3) !important;
  color: #ffffff !important;
  padding: 0.75rem 1rem !important;
  border-radius: 10px !important;
  transition: all 0.3s ease !important;
}

.form-control:focus,
.form-select:focus {
  background: rgba(26, 26, 26, 1) !important;
  border-color: #FFC107 !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25) !important;
  transform: translateY(-2px);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

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

.form-select option {
  background: #1a1a1a !important;
  color: #ffffff !important;
}

/* Alerts */
.alert {
  border-radius: 12px !important;
  border: none !important;
  padding: 1.25rem !important;
  margin-bottom: 1.5rem !important;
  font-weight: 500 !important;
}

.alert-warning {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(255, 160, 0, 0.2) 100%) !important;
  color: #FFC107 !important;
  border-left: 4px solid #FFC107 !important;
}

.alert-info {
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.2) 0%, rgba(0, 96, 100, 0.2) 100%) !important;
  color: #00BCD4 !important;
  border-left: 4px solid #00BCD4 !important;
}

.alert .bi {
  font-size: 1.5rem;
  margin-right: 0.75rem;
  vertical-align: middle;
}

/* Timeline */
.timeline-path {
  position: relative;
  padding: 2rem 0;
}

.timeline-path::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #D32F2F 0%, #FFC107 100%);
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .timeline-path::before {
    left: 20px;
  }
}

/* Accordion */
.accordion {
  border-radius: 12px !important;
  overflow: hidden;
}

.accordion-item {
  background: rgba(26, 26, 26, 0.9) !important;
  border: 1px solid rgba(211, 47, 47, 0.2) !important;
  margin-bottom: 1rem !important;
  border-radius: 12px !important;
  overflow: hidden;
}

.accordion-header {
  margin-bottom: 0 !important;
}

.accordion-button {
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.2) 0%, rgba(139, 0, 0, 0.2) 100%) !important;
  color: #FFC107 !important;
  font-weight: 600 !important;
  padding: 1.25rem 1.5rem !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.4) 0%, rgba(139, 0, 0, 0.4) 100%) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25) !important;
  border-color: #FFC107 !important;
}

.accordion-button::after {
  filter: brightness(0) invert(1);
  background-size: 1.25rem;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1) sepia(1) saturate(10) hue-rotate(10deg);
}

.accordion-body {
  background: rgba(10, 10, 10, 0.5) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 1.5rem !important;
  border-top: 1px solid rgba(211, 47, 47, 0.2);
}

.accordion-collapse {
  border: none !important;
}

/* Progress */
.progress {
  background: rgba(26, 26, 26, 0.8) !important;
  height: 1.5rem !important;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.progress-bar {
  background: linear-gradient(90deg, #D32F2F 0%, #FFC107 100%) !important;
  font-weight: 600 !important;
  line-height: 1.5rem !important;
  transition: width 0.6s ease !important;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Table */
.table-responsive {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.table {
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 0 !important;
}

.table thead {
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%) !important;
  color: #ffffff !important;
}

.table thead th {
  border: none !important;
  padding: 1rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.table tbody tr {
  background: rgba(26, 26, 26, 0.8) !important;
  border-bottom: 1px solid rgba(211, 47, 47, 0.2) !important;
  transition: all 0.3s ease;
}

.table-hover tbody tr:hover {
  background: rgba(211, 47, 47, 0.2) !important;
  transform: scale(1.01);
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.table tbody td {
  padding: 1rem !important;
  vertical-align: middle !important;
  border: none !important;
}

/* Ratio (Video) */
.ratio {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.ratio iframe {
  border: none;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 3rem 0 1rem;
  border-top: 3px solid rgba(211, 47, 47, 0.5);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #D32F2F 0%, #FFC107 50%, #D32F2F 100%);
}

footer h5 {
  color: #FFC107 !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  position: relative;
  padding-bottom: 0.5rem;
}

footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: #D32F2F;
}

footer a {
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  display: inline-block;
}

footer a:hover {
  color: #FFC107 !important;
  transform: translateX(5px);
}

footer .bi {
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

footer .bi:hover {
  color: #FFC107 !important;
  transform: scale(1.2) rotate(5deg);
}

.border-top {
  border-top: 1px solid rgba(211, 47, 47, 0.3) !important;
}

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

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

.rounded-pill {
  border-radius: 50rem !important;
}

.shadow {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3) !important;
}

.shadow-sm {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

.border {
  border: 1px solid rgba(211, 47, 47, 0.3) !important;
}

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

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

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

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

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

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

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

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

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

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

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

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(211, 47, 47, 0.4);
}

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

.scroll-to-top:hover {
  background: linear-gradient(135deg, #FFC107 0%, #FFA000 100%);
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(255, 193, 7, 0.5);
}

/* Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 193, 7, 0.3);
  border-top-color: #FFC107;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(139, 0, 0, 0.98);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 193, 7, 0.3);
  }
  
  .nav-link {
    margin: 0.5rem 0;
    padding: 0.75rem 1rem !important;
  }
  
  .display-1 {
    font-size: 3rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .card {
    margin-bottom: 1.5rem;
  }
}

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

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  .navbar-brand {
    font-size: 1.5rem !important;
  }
  
  .display-1 {
    font-size: 2rem !important;
  }
  
  .btn-lg {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  footer {
    text-align: center;
  }
  
  footer .col-lg-2,
  footer .col-lg-3,
  footer .col-md-4 {
    margin-bottom: 2rem;
  }
  
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  footer,
  .scroll-to-top {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .card {
    border: 1px solid #ddd !important;
    page-break-inside: avoid;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

*:focus {
  outline: 2px solid #FFC107;
  outline-offset: 3px;
}

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

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #D32F2F 0%, #FFC107 100%);
  border-radius: 6px;
  border: 2px solid #0a0a0a;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #F44336 0%, #FFD54F 100%);
}

/* Selection */
::selection {
  background: rgba(255, 193, 7, 0.3);
  color: #ffffff;
}

::-moz-selection {
  background: rgba(255, 193, 7, 0.3);
  color: #ffffff;
}