/* ===================================
   Midnight Authority Architecture Studio
   Primary: #1A365D | Secondary: #D4AF37
   =================================== */

/* === ROOT VARIABLES === */
:root {
  --primary-color: #1A365D;
  --secondary-color: #D4AF37;
  --dark-bg: #0f1e33;
  --light-text: #f8f9fa;
  --transition-speed: 0.3s;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: #212529;
  line-height: 1.6;
  overflow-x: hidden;
}

/* === NAVBAR === */
.navbar {
  background-color: var(--primary-color) !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease;
  padding: 1rem 0;
}

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

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

.navbar-brand {
  font-size: 1.75rem;
  color: var(--secondary-color) !important;
  font-weight: 700;
  letter-spacing: 1px;
  transition: transform var(--transition-speed) ease;
}

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

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

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

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

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

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

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

/* === HERO SECTION === */
.hero-content {
  padding: 4rem 0;
  z-index: 10;
  position: relative;
}

.display-3,
.display-4,
.display-5 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

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

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

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

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

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

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

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

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

.btn-outline-light:hover {
  background-color: #ffffff !important;
  color: var(--primary-color) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

.btn-outline-dark:hover {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(26, 54, 93, 0.3);
}

/* === GEOMETRIC LINES === */
.geometric-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.line-animate {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  opacity: 0.3;
}

.line-animate:nth-child(1) {
  width: 200%;
  height: 2px;
  top: 20%;
  left: -50%;
  animation: lineMove1 8s linear infinite;
}

.line-animate:nth-child(2) {
  width: 2px;
  height: 200%;
  right: 30%;
  top: -50%;
  animation: lineMove2 10s linear infinite;
}

.line-animate:nth-child(3) {
  width: 200%;
  height: 2px;
  bottom: 30%;
  right: -50%;
  animation: lineMove3 12s linear infinite;
}

@keyframes lineMove1 {
  0% { left: -50%; }
  100% { left: 100%; }
}

@keyframes lineMove2 {
  0% { top: -50%; }
  100% { top: 100%; }
}

@keyframes lineMove3 {
  0% { right: -50%; }
  100% { right: 100%; }
}

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

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

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

.card.shadow-lg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.card.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

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

.card-body {
  padding: 1.5rem;
}

.card-header {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  padding: 1rem 1.5rem;
  font-weight: 600;
  border-bottom: 3px solid var(--secondary-color);
}

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

.card-text {
  color: #495057;
  line-height: 1.8;
}

.card-img-top {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

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

/* === PRACTICE CARDS === */
.practice-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(26, 54, 93, 0.95), rgba(26, 54, 93, 0.3));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #ffffff !important;
  transition: all var(--transition-speed) ease;
}

.practice-card:hover .card-overlay {
  background: linear-gradient(to top, rgba(212, 175, 55, 0.95), rgba(26, 54, 93, 0.5));
}

/* === VALUE CARDS === */
.value-card {
  padding: 2rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  transition: all var(--transition-speed) ease;
  border-left: 4px solid var(--secondary-color);
}

.value-card:hover {
  background-color: var(--primary-color);
  transform: translateX(10px);
}

.value-card:hover .value-content,
.value-card:hover .bi {
  color: #ffffff !important;
}

.value-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  transition: all var(--transition-speed) ease;
}

.value-content h3 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.75rem;
  transition: color var(--transition-speed) ease;
}

/* === PARTNER CARDS === */
.partner-card {
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
}

.hexagon-frame {
  width: 150px;
  height: 150px;
  position: relative;
}

.hex-clip {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.partner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 54, 93, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
  padding: 1.5rem;
  text-align: center;
}

.partner-card:hover .partner-overlay {
  opacity: 1;
}

/* === TIMELINE === */
.timeline-marker {
  position: relative;
  padding-left: 3rem;
}

.timeline-marker::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  border: 4px solid var(--primary-color);
}

.timeline-marker::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 20px;
  width: 2px;
  height: calc(100% + 20px);
  background-color: var(--primary-color);
}

.timeline-marker:last-child::after {
  display: none;
}

/* === FORMS === */
.form-control,
.form-select {
  border: 2px solid #dee2e6;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  transition: all var(--transition-speed) ease;
  background-color: #ffffff;
  color: #212529 !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25) !important;
  background-color: #ffffff;
  color: #212529 !important;
}

.form-control-lg {
  padding: 1rem 1.25rem;
  font-size: 1.125rem;
}

.form-select-lg {
  padding: 1rem 1.25rem;
  font-size: 1.125rem;
}

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

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

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

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

.contact-input {
  background-color: #f8f9fa !important;
  border: 2px solid #e9ecef !important;
}

.contact-input:focus {
  background-color: #ffffff !important;
}

/* === CONTACT PULSE === */
.contact-pulse {
  position: relative;
  display: inline-block;
}

.contact-pulse::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: var(--secondary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 2s infinite;
  opacity: 0.5;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

/* === TABLES === */
.table-responsive {
  border-radius: 8px;
  overflow: hidden;
}

.table {
  margin-bottom: 0;
}

.table-hover tbody tr {
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.table-hover tbody tr:hover {
  background-color: rgba(212, 175, 55, 0.1) !important;
}

.case-row {
  border-left: 4px solid transparent;
  transition: all var(--transition-speed) ease;
}

.case-row:hover {
  border-left-color: var(--secondary-color);
}

.case-details {
  background-color: #f8f9fa !important;
  padding: 1.5rem;
}

.expand-btn {
  cursor: pointer;
  transition: transform var(--transition-speed) ease;
}

.expand-btn:hover {
  transform: rotate(180deg);
}

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

.accordion .card {
  border: 1px solid #dee2e6 !important;
  margin-bottom: 1rem;
}

.btn-link {
  color: var(--primary-color) !important;
  text-decoration: none !important;
  font-weight: 600;
  width: 100%;
  text-align: left;
  padding: 1rem;
}

.btn-link:hover {
  color: var(--secondary-color) !important;
}

.btn-link.collapsed {
  color: #495057 !important;
}

/* === BADGES === */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 4px;
}

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

/* === ALERTS === */
.alert {
  border-radius: 8px;
  border: none;
  padding: 1rem 1.5rem;
  border-left: 4px solid;
}

.alert.bg-light {
  background-color: #f8f9fa !important;
  border-left-color: var(--secondary-color);
}

/* === NAVIGATION PILLS === */
.nav-pills .nav-link {
  border-radius: 4px;
  color: var(--primary-color) !important;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
}

.nav-pills .nav-link.active {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
}

.nav-pills .nav-link:hover:not(.active) {
  background-color: rgba(26, 54, 93, 0.1);
}

/* === COUNTER === */
.counter {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: block;
  margin-bottom: 0.5rem;
}

/* === MODAL === */
.modal-content {
  border-radius: 8px;
  border: none;
  overflow: hidden;
}

.modal-header {
  background-color: var(--primary-color);
  color: #ffffff !important;
  border-bottom: 3px solid var(--secondary-color);
}

.modal-title {
  color: #ffffff !important;
  font-weight: 700;
}

.btn-close,
.btn-close-white {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.btn-close:hover,
.btn-close-white:hover {
  opacity: 0.75;
}

.modal-footer {
  border-top: 1px solid #dee2e6;
}

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

.bi-shield-check,
.bi-chat-square-text,
.bi-lightning-charge,
.bi-graph-up-arrow,
.bi-people,
.bi-calculator,
.bi-check-circle-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt-fill,
.bi-clock-fill,
.bi-exclamation-triangle-fill,
.bi-calendar-check,
.bi-list-ul,
.bi-chevron-down,
.bi-arrow-right-circle,
.bi-trophy-fill,
.bi-file-pdf,
.bi-handshake-fill {
  color: var(--secondary-color);
}

/* === UTILITY CLASSES === */
.text-white {
  color: #ffffff !important;
}

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

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

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

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

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

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

.bg-secondary {
  background-color: #6c757d !important;
}

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

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

.border-secondary {
  border-color: #6c757d !important;
}

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

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

.shadow-lg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

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

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

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

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

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

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

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

.position-fixed {
  position: fixed !important;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

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

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

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

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

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

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

.translate-middle {
  transform: translate(-50%, -50%) !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;
}

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

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

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

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

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

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

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

.flex-row-reverse {
  flex-direction: row-reverse !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;
}

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

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

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

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

.h4 {
  font-size: 1.5rem;
  font-weight: 700;
}

.h5 {
  font-size: 1.25rem;
  font-weight: 700;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.object-fit-cover {
  object-fit: cover;
}

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

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

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

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

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

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

.me-3 {
  margin-right: 1rem !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;
}

.mt-1 {
  margin-top: 0.25rem !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;
}

.my-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.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;
}

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

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

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

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

.small {
  font-size: 0.875rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(26, 54, 93, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-link::after {
    display: none;
  }
  
  .display-3 {
    font-size: 2.5rem;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.75rem;
  }
  
  .hero-content {
    padding: 2rem 0;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
  }
  
  .col-lg-6,
  .col-lg-7,
  .col-lg-8,
  .col-lg-9,
  .col-lg-12 {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .offset-lg-1,
  .offset-lg-2,
  .offset-lg-6 {
    margin-left: 0;
  }
  
  .mb-lg-0 {
    margin-bottom: 1rem !important;
  }
  
  .text-lg-end {
    text-align: left !important;
  }
  
  .mt-lg-0 {
    margin-top: 1rem !important;
  }
  
  .p-lg-5 {
    padding: 2rem !important;
  }
  
  .position-fixed {
    bottom: 1rem;
    right: 1rem;
  }
}

@media (max-width: 767.98px) {
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7,
  .col-md-12 {
    width: 100%;
  }
  
  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .counter {
    font-size: 2rem;
  }
  
  .timeline-marker {
    padding-left: 2rem;
  }
  
  .timeline-marker::before {
    width: 15px;
    height: 15px;
  }
  
  .timeline-marker::after {
    left: 6.5px;
  }
}

@media (max-width: 575.98px) {
  .col-sm-6 {
    width: 100%;
  }
  
  .col-6 {
    width: 100%;
  }
  
  .display-3 {
    font-size: 2rem;
  }
  
  .display-4 {
    font-size: 1.75rem;
  }
  
  .display-5 {
    font-size: 1.5rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .btn-lg {
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
  }
  
  .value-card,
  .partner-card {
    margin-bottom: 1rem;
  }
  
  .modal-dialog {
    margin: 0.5rem;
  }
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@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-fade-in {
  animation: fadeIn 0.6s ease-out;
}

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

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

/* === SCROLL BEHAVIOR === */
html {
  scroll-behavior: smooth;
}

/* === SELECTION === */
::selection {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

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

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

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

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

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

/* === 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-width: 0;
}

/* === PRINT STYLES === */
@media print {
  .navbar,
  .btn,
  .form-control,
  .modal,
  .position-fixed {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .card {
    border: 1px solid #000;
    page-break-inside: avoid;
  }
}