/* Midnight Justice - Architectural Studio Theme */
/* Root Variables & Base Styles */
:root {
  --primary-color: #1a237e;
  --secondary-color: #c62828;
  --dark-bg: #0d1117;
  --light-text: #ffffff;
  --accent-gold: #ffd700;
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0d47a1 100%) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-speed) ease;
  padding: 1rem 0 !important;
}

.navbar-dark .navbar-brand {
  color: var(--light-text) !important;
  font-size: 1.8rem;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-dark .navbar-brand:hover {
  color: var(--accent-gold) !important;
  transform: scale(1.05);
  transition: all var(--transition-speed) ease;
}

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

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

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

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link.active {
  color: var(--accent-gold) !important;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 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%28255, 255, 255, 0.9%29' 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, var(--primary-color) 0%, #0d1b4d 50%, var(--dark-bg) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::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 1440 320"><path fill="rgba(198, 40, 40, 0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: bottom;
  opacity: 0.3;
  animation: waveAnimation 15s ease-in-out infinite;
}

@keyframes waveAnimation {
  0%, 100% { transform: translateX(0) scale(1); }
  50% { transform: translateX(-5%) scale(1.05); }
}

.hero-section .text-white {
  color: var(--light-text) !important;
  z-index: 2;
  position: relative;
}

.scales-icon {
  font-size: 5rem;
  color: var(--accent-gold) !important;
  animation: scaleBalance 3s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

@keyframes scaleBalance {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.display-3 {
  font-weight: 800 !important;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  margin-bottom: 1.5rem !important;
}

.lead {
  font-size: 1.4rem !important;
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.8;
}

/* Buttons */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
  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 {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--light-text) !important;
  box-shadow: 0 4px 15px rgba(198, 40, 40, 0.4);
}

.btn-lg:hover {
  background: #9b1f1f !important;
  border-color: #9b1f1f !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(198, 40, 40, 0.6) !important;
  color: var(--light-text) !important;
}

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

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

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

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

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

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

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

.btn-light:hover {
  background: var(--accent-gold) !important;
  color: var(--dark-bg) !important;
  border-color: var(--accent-gold) !important;
}

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

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

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

.btn-link {
  color: var(--primary-color) !important;
  text-decoration: none !important;
}

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

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

.floating-cta {
  animation: floatButton 3s ease-in-out infinite;
}

@keyframes floatButton {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Parallax Image */
.parallax-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.2;
  filter: blur(2px);
}

/* Testimonial Ticker */
.testimonial-ticker {
  background: rgba(26, 35, 126, 0.95) !important;
  padding: 1.5rem 0;
  overflow: hidden;
  border-top: 3px solid var(--accent-gold);
  border-bottom: 3px solid var(--accent-gold);
}

.ticker-content {
  display: flex;
  animation: tickerScroll 30s linear infinite;
  width: max-content;
}

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

.testimonial-item {
  color: var(--light-text) !important;
  white-space: nowrap;
  min-width: 300px;
}

.bi-star-fill {
  color: var(--accent-gold) !important;
}

/* Service Cards */
.service-card {
  border-radius: 15px;
  padding: 2rem;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
  background: var(--light-text) !important;
  height: 100%;
}

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

.service-card .icon {
  font-size: 3rem;
  color: var(--primary-color) !important;
  margin-bottom: 1.5rem;
  transition: all var(--transition-speed) ease;
}

.service-card:hover .icon {
  color: var(--secondary-color) !important;
  transform: scale(1.2) rotate(10deg);
}

/* Practice Cards */
.practice-card {
  background: var(--light-text) !important;
  border-radius: 15px;
  padding: 2rem;
  transition: all var(--transition-speed) ease;
  border: 2px solid #e0e0e0;
  height: 100%;
}

.practice-card:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 10px 30px rgba(198, 40, 40, 0.2) !important;
  transform: translateY(-5px);
}

.practice-card .bi {
  font-size: 2.5rem;
  color: var(--secondary-color) !important;
  margin-bottom: 1rem;
}

/* Case Cards */
.case-card {
  background: var(--light-text) !important;
  border-radius: 15px;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  border: none !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.case-card .card-img-top {
  height: 250px;
  object-fit: cover;
  transition: all var(--transition-speed) ease;
}

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

.case-card .card-body {
  padding: 1.5rem;
}

.case-item {
  margin-bottom: 2rem;
}

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

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  transform: translateX(-50%);
}

.timeline-card {
  background: var(--light-text) !important;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all var(--transition-speed) ease;
}

.timeline-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.milestone-year {
  background: var(--primary-color) !important;
  color: var(--light-text) !important;
  font-weight: bold;
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  margin-bottom: 1rem;
}

/* Team Member */
.team-member-wrapper {
  text-align: center;
  margin-bottom: 2rem;
}

.hexagon-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
}

.hexagon-frame {
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 3px;
  transition: all var(--transition-speed) ease;
}

.hexagon-frame:hover {
  transform: rotate(10deg) scale(1.1);
}

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

.bio-overlay {
  transition: opacity var(--transition-speed) ease;
}

.team-member-wrapper:hover .bio-overlay {
  opacity: 1 !important;
}

/* Value Pillars */
.value-pillar {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0d47a1 100%);
  color: var(--light-text) !important;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.value-pillar:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(26, 35, 126, 0.4);
}

.pillar-icon {
  font-size: 2.5rem;
  color: var(--accent-gold) !important;
  margin-bottom: 1rem;
}

.pillar-preview {
  color: rgba(255, 255, 255, 0.9) !important;
}

.pillar-expanded {
  color: rgba(255, 255, 255, 0.95) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 1rem;
  padding-top: 1rem;
}

/* Emergency Banner */
.emergency-banner {
  background: var(--secondary-color) !important;
  color: var(--light-text) !important;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(198, 40, 40, 0.3);
}

.emergency-banner .bi {
  font-size: 2rem;
  color: var(--accent-gold) !important;
}

/* Forms */
.form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.form-progress::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 3px;
  background: #e0e0e0;
  z-index: -1;
}

.progress-step {
  text-align: center;
  flex: 1;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #666;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 0.5rem;
  transition: all var(--transition-speed) ease;
}

.progress-step.active .step-circle {
  background: var(--primary-color) !important;
  color: var(--light-text) !important;
  box-shadow: 0 0 20px rgba(26, 35, 126, 0.5);
  transform: scale(1.2);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeInUp 0.5s ease;
}

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

.form-control,
.form-select {
  border: 2px solid #e0e0e0 !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  transition: all var(--transition-speed) ease !important;
}

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

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

/* Carousel */
.carousel {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.carousel-item {
  min-height: 400px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0d47a1 100%);
  color: var(--light-text) !important;
  padding: 3rem;
}

.carousel-indicators button {
  background-color: var(--accent-gold) !important;
  border: none !important;
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  margin: 0 5px !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary-color);
  border-radius: 50%;
  padding: 2rem;
  background-size: 50%;
}

/* Accordion */
.accordion-item {
  border: 2px solid #e0e0e0 !important;
  border-radius: 10px !important;
  margin-bottom: 1rem !important;
  overflow: hidden;
}

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

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

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(26, 35, 126, 0.25) !important;
}

.accordion-button::after {
  filter: brightness(0) saturate(100%) invert(14%) sepia(82%) saturate(2855%) hue-rotate(226deg) brightness(91%) contrast(104%);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

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

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

.bg-opacity-10 {
  background-color: rgba(26, 35, 126, 0.1) !important;
  color: var(--primary-color) !important;
}

/* Cards */
.card {
  border-radius: 15px !important;
  border: none !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
  transition: all var(--transition-speed) ease !important;
}

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

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

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

.card-text {
  color: #666 !important;
  line-height: 1.6;
}

/* Alerts */
.alert {
  border-radius: 10px !important;
  border: none !important;
  padding: 1.5rem !important;
}

.alert-info {
  background: rgba(26, 35, 126, 0.1) !important;
  color: var(--primary-color) !important;
}

.alert-light {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #212529 !important;
}

/* Tables */
.table {
  border-radius: 10px;
  overflow: hidden;
}

.table-responsive {
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.table-hover tbody tr:hover {
  background-color: rgba(26, 35, 126, 0.05) !important;
  transform: scale(1.01);
}

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

.table-bordered {
  border: 2px solid var(--primary-color) !important;
}

/* Dropdown */
.dropdown-menu {
  border: 2px solid var(--primary-color) !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  padding: 0.5rem !important;
}

.dropdown-item {
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  color: var(--primary-color) !important;
  transition: all var(--transition-speed) ease !important;
}

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

.dropdown-toggle::after {
  color: currentColor !important;
}

/* Modal */
.modal-content {
  border: none !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0d47a1 100%) !important;
  color: var(--light-text) !important;
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
  border-bottom: none !important;
  padding: 1.5rem 2rem !important;
}

.modal-title {
  font-weight: 700 !important;
  color: var(--light-text) !important;
}

.modal-body {
  padding: 2rem !important;
}

.modal-footer {
  border-top: 1px solid #e0e0e0 !important;
  padding: 1.5rem 2rem !important;
}

/* Navigation Pills */
.nav-item .nav-link {
  color: var(--primary-color) !important;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
  background: var(--primary-color) !important;
  color: var(--light-text) !important;
}

/* Privacy Content */
.privacy-content {
  background: var(--light-text);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.privacy-content h2,
.privacy-content h3,
.privacy-content h4 {
  color: var(--primary-color) !important;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Section Backgrounds */
.bg-white {
  background-color: var(--light-text) !important;
}

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

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

/* Display Typography */
.display-3,
.display-4,
.display-5 {
  font-weight: 800 !important;
  color: var(--primary-color) !important;
  line-height: 1.2 !important;
}

.text-white .display-3,
.text-white .display-4,
.text-white .display-5 {
  color: var(--light-text) !important;
}

.h2, .h4 {
  color: var(--primary-color) !important;
  font-weight: 700 !important;
}

/* Icons */
.bi {
  vertical-align: middle;
  transition: all var(--transition-speed) ease;
}

.bi-clock-history,
.bi-cash-stack,
.bi-people,
.bi-graph-up-arrow,
.bi-telephone,
.bi-envelope,
.bi-geo-alt,
.bi-building,
.bi-globe,
.bi-diagram-3,
.bi-shield-check,
.bi-briefcase,
.bi-arrow-left-right {
  color: var(--primary-color) !important;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

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

footer a:hover {
  color: var(--accent-gold) !important;
  transform: translateX(5px);
}

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

.border-top {
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Text Utilities */
.text-muted {
  color: #6c757d !important;
}

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

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

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

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

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

/* Shadows */
.shadow {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
}

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

.shadow-lg {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2) !important;
}

/* Border Radius */
.rounded {
  border-radius: 10px !important;
}

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

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

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

.position-sticky {
  position: sticky !important;
  top: 80px;
}

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

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

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

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

/* Object Fit */
.object-fit-cover {
  object-fit: cover !important;
}

/* Filter Buttons */
.filter-btn {
  background: transparent !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  padding: 0.5rem 1.5rem !important;
  border-radius: 25px !important;
  transition: all var(--transition-speed) ease !important;
}

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

/* Learn More Buttons */
.learn-more-btn {
  color: var(--secondary-color) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all var(--transition-speed) ease !important;
}

.learn-more-btn:hover {
  color: var(--primary-color) !important;
  transform: translateX(5px);
}

/* Responsive Images */
.img-fluid {
  max-width: 100% !important;
  height: auto !important;
}

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

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

/* Display & Flex */
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-grow-1 { flex-grow: 1 !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; }

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

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

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

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

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

/* Responsive Media Queries */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(26, 35, 126, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
  
  .lead {
    font-size: 1.1rem !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .timeline-container::before {
    left: 20px;
  }
  
  .hexagon-container {
    width: 150px;
    height: 150px;
  }
  
  .service-card,
  .practice-card,
  .case-card {
    margin-bottom: 2rem;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .position-sticky {
    position: relative !important;
    top: auto;
  }
  
  .ps-lg-5 {
    padding-left: 1rem !important;
  }
  
  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 1rem !important;
  }
  
  .mt-lg-0 {
    margin-top: 1rem !important;
  }
}

@media (max-width: 767.98px) {
  .scales-icon {
    font-size: 3rem;
  }
  
  .testimonial-item {
    min-width: 250px;
  }
  
  .form-progress {
    flex-wrap: wrap;
  }
  
  .progress-step {
    flex-basis: 50%;
    margin-bottom: 1rem;
  }
  
  .carousel-item {
    min-height: 300px;
    padding: 2rem 1rem;
  }
  
  .modal-body {
    padding: 1.5rem !important;
  }
  
  .privacy-content {
    padding: 1.5rem;
  }
  
  .col-md-6,
  .col-md-4,
  .col-md-8,
  .col-md-12 {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .display-3 {
    font-size: 2rem !important;
  }
  
  .btn-lg {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .gap-3 {
    gap: 0.5rem !important;
  }
  
  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .card-body {
    padding: 1rem !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .carousel-control-prev,
  .carousel-control-next,
  .modal,
  .dropdown,
  footer {
    display: none !important;
  }
  
  body {
    color: #000 !important;
    background: #fff !important;
  }
  
  a {
    color: #000 !important;
    text-decoration: underline !important;
  }
}