/* Midnight Justice Architecture Studio - Custom Styles */

:root {
  --primary-color: #1a237e;
  --secondary-color: #c62828;
  --primary-light: #3949ab;
  --secondary-light: #e53935;
  --dark-bg: #0d1117;
  --light-bg: #f5f5f5;
  --text-dark: #212529;
  --text-light: #ffffff;
  --transition-speed: 0.3s;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.15);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.2);
}

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

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

html {
  scroll-behavior: smooth;
}

/* Navigation Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, #000428 100%) !important;
  padding: 1rem 0;
  transition: all var(--transition-speed) ease;
  box-shadow: var(--shadow-md);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(26, 35, 126, 0.98) !important;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  color: var(--text-light) !important;
  font-size: 1.5rem;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
}

.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 1rem;
  margin: 0 0.25rem;
  transition: all var(--transition-speed) ease;
  border-bottom: 2px solid transparent;
  font-weight: 500;
}

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

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

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

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

.position-relative.vh-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 100 100"><rect fill="rgba(255,255,255,0.02)" width="100" height="100"/><g fill="rgba(255,255,255,0.03)"><polygon points="0,0 50,0 50,50"/><polygon points="50,50 100,50 100,100"/></g></svg>') repeat;
  background-size: 100px 100px;
  animation: gridMove 20s linear infinite;
  z-index: 1;
}

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

.position-relative.vh-100 .container {
  position: relative;
  z-index: 2;
}

.display-1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--text-light) !important;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease;
  letter-spacing: 2px;
}

.display-4 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--secondary-color) !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1.2s ease;
  font-weight: 700;
}

.display-6 {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.95) !important;
  animation: fadeInUp 1.4s ease;
  font-weight: 400;
  line-height: 1.8;
}

.tagline-fade {
  animation: fadeInUp 1.6s ease;
}

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

/* Buttons */
.btn {
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
  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 {
  background: var(--secondary-color) !important;
  color: var(--text-light) !important;
  border-color: var(--secondary-color) !important;
  padding: 1rem 2.5rem;
  box-shadow: var(--shadow-md);
}

.btn-lg:hover {
  background: var(--secondary-light) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

.btn-light:hover {
  background: var(--light-bg) !important;
  color: var(--secondary-color) !important;
  transform: translateY(-3px);
}

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

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

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

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

.print-btn,
.filter-btn {
  cursor: pointer;
}

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  transition: all var(--transition-speed) ease;
  overflow: hidden;
  background: var(--text-light);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(26, 35, 126, 0.3) !important;
}

.card-body {
  padding: 2rem;
}

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

.case-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.case-card .hover-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 35, 126, 0.95);
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.case-card:hover .hover-content {
  opacity: 1;
}

.card-img-top {
  transition: transform 0.5s ease;
}

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

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

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

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

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

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

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

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

.bg-success {
  background: #28a745 !important;
}

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

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

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

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

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

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

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

/* Text Styles */
.text-white {
  color: var(--text-light) !important;
}

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

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

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

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

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

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

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

.text-end {
  text-align: right !important;
}

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

.text-decoration-none {
  text-decoration: none !important;
  color: inherit;
  transition: color var(--transition-speed) ease;
}

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

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

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

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

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

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

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

.h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary-color);
}

.h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
}

.h6 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.fs-1 {
  font-size: calc(1.375rem + 1.5vw) !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;
}

.small {
  font-size: 0.875rem;
  color: #6c757d;
}

/* Badges */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
}

/* Alerts */
.alert {
  border-radius: 8px;
  padding: 1rem 1.5rem;
  border: none;
  box-shadow: var(--shadow-sm);
}

.alert-danger {
  background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%) !important;
  color: var(--text-light) !important;
}

.alert-success {
  background: linear-gradient(135deg, #28a745 0%, #218838 100%) !important;
  color: var(--text-light) !important;
}

/* Forms */
.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all var(--transition-speed) ease;
  background: var(--text-light);
  color: var(--text-dark);
}

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

.form-control.is-invalid {
  border-color: var(--secondary-color) !important;
}

.form-control.is-valid {
  border-color: #28a745 !important;
}

.invalid-feedback {
  color: var(--secondary-color) !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.valid-feedback {
  color: #28a745 !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #dee2e6;
  cursor: pointer;
}

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

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.25) !important;
}

.form-check-label {
  cursor: pointer;
  margin-left: 0.5rem;
}

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

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

.list-unstyled a {
  color: var(--text-dark);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

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

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

.bi-shield-check,
.bi-building,
.bi-briefcase,
.bi-scales,
.bi-award,
.bi-people,
.bi-journal-check,
.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-exclamation-triangle-fill,
.bi-check-circle-fill,
.bi-send-fill,
.bi-exclamation-circle,
.bi-calendar-week,
.bi-clock-history,
.bi-car-front,
.bi-train-front,
.bi-p-circle,
.bi-star-fill,
.bi-play-fill {
  color: var(--secondary-color);
}

/* Accordion */
.accordion {
  border-radius: 8px;
  overflow: hidden;
}

.accordion-item {
  border: none;
  border-bottom: 1px solid #dee2e6;
  background: var(--text-light);
}

.accordion-button {
  background: var(--light-bg) !important;
  color: var(--primary-color) !important;
  font-weight: 600;
  padding: 1.25rem;
  border: none;
  transition: all var(--transition-speed) ease;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-button.collapsed {
  background: var(--text-light) !important;
  color: var(--text-dark) !important;
}

.accordion-body {
  padding: 1.5rem;
  background: var(--text-light);
}

/* Carousel */
.carousel {
  position: relative;
}

.carousel-indicators {
  margin-bottom: 2rem;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  border: 2px solid var(--text-light);
}

.carousel-item {
  transition: transform 0.6s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.8;
  transition: all var(--transition-speed) ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  background: var(--secondary-color);
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

/* Borders */
.border-0 {
  border: none !important;
}

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

.border-start {
  border-left: 4px solid var(--primary-color) !important;
}

.border-5 {
  border-width: 5px !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;
}

.mb-md-0 {
  margin-bottom: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

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

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

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

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

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

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

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

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

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

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

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

.p-0 {
  padding: 0 !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.fixed-top {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

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

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

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

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

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

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

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

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

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

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

.flex-sm-row {
  flex-direction: row !important;
}

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

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

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

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

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

/* Size Utilities */
.vh-100 {
  height: 100vh !important;
}

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

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

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

/* Opacity Utilities */
.opacity-75 {
  opacity: 0.75 !important;
}

.opacity-90 {
  opacity: 0.9 !important;
}

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

/* Z-Index */
.z-2 {
  z-index: 2 !important;
}

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

/* Custom Classes */
.privacy-header,
.section-content,
.privacy-content {
  padding: 2rem 0;
}

.sidebar-nav {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.sidebar-nav .nav-link {
  color: var(--text-dark) !important;
  padding: 0.75rem 1rem;
  border-left: 3px solid transparent;
  transition: all var(--transition-speed) ease;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
  color: var(--secondary-color) !important;
  border-left-color: var(--secondary-color);
  background: var(--light-bg);
}

.last-updated {
  color: #6c757d;
  font-size: 0.875rem;
  font-style: italic;
}

.show {
  display: block !important;
}

.collapsed {
  /* Collapsed state handled by Bootstrap */
}

/* Responsive Grid */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-12,
.col-6,
.col-sm-6,
.col-md-3,
.col-md-4,
.col-md-6,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

/* Animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

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

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

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

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

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

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

/* Footer Styles */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, #000428 100%);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

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

footer a:hover {
  color: var(--secondary-color) !important;
}

/* Tablet Styles */
@media (min-width: 576px) {
  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .flex-sm-row {
    flex-direction: row !important;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
}

@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .col-lg-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  
  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  
  .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  
  .col-lg-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  
  .col-lg-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
  }
  
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
  
  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
  
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  
  .pe-lg-5 {
    padding-right: 3rem !important;
  }
  
  .order-lg-1 {
    order: 1;
  }
  
  .order-lg-2 {
    order: 2;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(26, 35, 126, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
  }
  
  .navbar-nav {
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-left: 3px solid transparent;
  }
  
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    border-left-color: var(--secondary-color);
    border-bottom-color: transparent;
  }
  
  .display-1 {
    font-size: 2.5rem;
  }
  
  .display-4 {
    font-size: 1.5rem;
  }
  
  .display-6 {
    font-size: 1rem;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .sidebar-nav {
    position: static;
    max-height: none;
  }
}

@media (max-width: 767.98px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  
  .carousel-control-prev {
    left: 10px;
  }
  
  .carousel-control-next {
    right: 10px;
  }
  
  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }
}

@media (max-width: 575.98px) {
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .carousel-control-prev,
  .carousel-control-next,
  .navbar-toggler,
  footer {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .container {
    max-width: 100%;
  }
}

/* Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .btn {
    border: 3px solid currentColor;
  }
  
  .card {
    border: 2px solid currentColor;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
  /* Dark mode styles can be added here if needed */
}