/* Architectural Studio - Midnight Indigo Theme */
:root {
  --primary-color: #1A237E;
  --secondary-color: #C5CAE9;
  --midnight-blue: #0D1B4D;
  --deep-indigo: #283593;
  --light-indigo: #E8EAF6;
  --accent-gold: #FFD700;
  --text-dark: #212529;
  --text-light: #FFFFFF;
}

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

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: #F8F9FA;
  overflow-x: hidden;
}

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

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 6px 30px rgba(26, 35, 126, 0.4);
}

.navbar-brand {
  color: var(--text-light) !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

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

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3) !important;
  padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(197, 202, 233, 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%28255, 255, 255, 1%29' 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 !important;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
}

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

.nav-link:hover {
  color: var(--text-light) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

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

.nav-link.active {
  color: var(--text-light) !important;
  background: rgba(255, 255, 255, 0.15) !important;
  font-weight: 600 !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--midnight-blue) 0%, var(--primary-color) 50%, var(--deep-indigo) 100%);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  z-index: 1;
  top: 0;
  left: 0;
}

.diagonal-split {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-wrap: wrap;
}

.left-side {
  flex: 1;
  min-width: 300px;
  background: linear-gradient(135deg, rgba(26, 35, 126, 0.95) 0%, rgba(13, 27, 77, 0.95) 100%);
  position: relative;
  overflow: hidden;
}

.constellation-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent),
    radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent),
    radial-gradient(2px 2px at 90% 60%, white, transparent),
    radial-gradient(1px 1px at 33% 80%, white, transparent);
  background-size: 200% 200%;
  animation: constellation 20s ease-in-out infinite;
  opacity: 0.3;
}

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

.clock-overlay {
  position: absolute;
  width: 400px;
  height: 400px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 60s linear infinite;
}

.clock-overlay::before,
.clock-overlay::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.clock-overlay::before {
  width: 300px;
  height: 300px;
}

.clock-overlay::after {
  width: 200px;
  height: 200px;
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-text {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.hero-text .display-3 {
  font-weight: 700;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  color: var(--text-light) !important;
  line-height: 1.2;
}

.hero-text .lead {
  color: var(--secondary-color) !important;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  font-weight: 400;
}

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

.right-side {
  flex: 1;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.right-side::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(197, 202, 233, 0.1) 100%);
  pointer-events: none;
}

.form-container {
  width: 100%;
  max-width: 500px;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(26, 35, 126, 0.15);
  animation: slideInRight 0.8s ease-out;
}

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

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

.form-control,
.form-select {
  border: 2px solid var(--secondary-color) !important;
  padding: 0.75rem !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  background-color: #FAFAFA !important;
  color: var(--text-dark) !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.15) !important;
  background-color: white !important;
}

.form-control::placeholder {
  color: #999 !important;
}

.invalid-feedback {
  color: #dc3545 !important;
  font-weight: 500 !important;
}

/* Buttons */
.btn {
  font-weight: 600 !important;
  padding: 0.75rem 2rem !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--deep-indigo) 100%) !important;
  color: var(--text-light) !important;
  box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3) !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--deep-indigo) 0%, var(--midnight-blue) 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(26, 35, 126, 0.4) !important;
  color: var(--text-light) !important;
}

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

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

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

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

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

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

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

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

.btn-outline-secondary {
  border: 2px solid #6c757d !important;
  color: #6c757d !important;
  background: transparent !important;
}

.btn-outline-secondary:hover {
  background: #6c757d !important;
  color: white !important;
}

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

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

/* Service Cards */
.service-card {
  background: white;
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
}

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

.service-card .bi {
  color: var(--primary-color) !important;
  transition: all 0.3s ease;
}

.service-card:hover .bi {
  color: var(--deep-indigo) !important;
  transform: scale(1.1);
}

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

.service-card p {
  color: var(--text-dark) !important;
}

/* Hexagon Cards */
.hexagon-card-wrapper {
  perspective: 1000px;
  margin-bottom: 2rem;
}

.hexagon-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 2px solid var(--secondary-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.hexagon-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, transparent 0%, rgba(26, 35, 126, 0.05) 100%);
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.hexagon-card:hover {
  transform: translateY(-5px) rotateX(5deg);
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(26, 35, 126, 0.2);
}

.hexagon-card:hover::before {
  top: -100%;
  right: -100%;
}

.hexagon-overlay {
  position: relative;
  z-index: 1;
}

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

/* Timeline */
.timeline-wrapper {
  position: relative;
  padding-left: 2rem;
}

.timeline-line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  animation: fadeInLeft 0.6s ease-out forwards;
  opacity: 0;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.timeline-marker {
  position: absolute;
  left: -2.5rem;
  top: 5px;
  width: 15px;
  height: 15px;
  background: var(--primary-color);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--secondary-color);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.3);
  background: var(--accent-gold);
}

/* Cards */
.card {
  border-radius: 15px !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(26, 35, 126, 0.1) !important;
}

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

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

.card-text {
  color: var(--text-dark) !important;
}

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

/* Tabs */
.nav-pills .nav-link {
  color: var(--primary-color) !important;
  background: transparent !important;
  border: 2px solid transparent !important;
  border-radius: 8px !important;
  padding: 0.75rem 1.5rem !important;
  margin-bottom: 0.5rem !important;
  transition: all 0.3s ease !important;
}

.nav-pills .nav-link:hover {
  background: var(--secondary-color) !important;
  border-color: var(--primary-color) !important;
}

.nav-pills .nav-link.active {
  background: var(--primary-color) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3) !important;
}

.tab-content {
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.tab-pane {
  animation: fadeIn 0.5s ease-in;
}

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

/* Accordion */
.accordion-item {
  border: 1px solid var(--secondary-color) !important;
  margin-bottom: 1rem !important;
  border-radius: 10px !important;
  overflow: hidden;
}

.accordion-button {
  background: linear-gradient(135deg, var(--light-indigo) 0%, var(--secondary-color) 100%) !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  padding: 1.25rem !important;
  border: none !important;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--deep-indigo) 100%) !important;
  color: white !important;
  box-shadow: none !important;
}

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

.accordion-button::after {
  filter: brightness(0) invert(0.2);
}

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

.accordion-body {
  padding: 1.5rem !important;
  background: white !important;
  color: var(--text-dark) !important;
}

/* Alerts */
.alert {
  border-radius: 10px !important;
  padding: 1.25rem !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.alert-warning {
  background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%) !important;
  color: #856404 !important;
}

.alert-success {
  background: linear-gradient(135deg, #d1e7dd 0%, #a3cfbb 100%) !important;
  color: #0f5132 !important;
}

.alert-info {
  background: linear-gradient(135deg, var(--light-indigo) 0%, var(--secondary-color) 100%) !important;
  color: var(--primary-color) !important;
}

.alert-heading {
  font-weight: 700 !important;
}

/* Progress */
.progress {
  height: 2rem !important;
  border-radius: 10px !important;
  background-color: var(--secondary-color) !important;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

.progress-bar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--deep-indigo) 100%) !important;
  font-weight: 600 !important;
  transition: width 0.6s ease !important;
}

/* Badge */
.badge {
  padding: 0.5rem 1rem !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}

.badge.bg-primary {
  background: var(--primary-color) !important;
  color: white !important;
}

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

/* Calendar Widget */
.calendar-widget {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.availability-day {
  background: var(--light-indigo);
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.availability-day:hover {
  background: var(--secondary-color);
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

.availability-day.selected {
  background: var(--primary-color);
  color: white !important;
}

/* Step Indicator */
.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.step-indicator::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary-color);
  z-index: 0;
}

.step-indicator .step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.step-indicator .step.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: scale(1.2);
}

.step-indicator .step.completed {
  background: var(--deep-indigo);
  color: white;
  border-color: var(--deep-indigo);
}

/* Form Steps */
.form-step {
  display: none;
  animation: slideIn 0.5s ease-out;
}

.form-step.active {
  display: block;
}

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

/* Question Step / Decision Buttons */
.question-step {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
}

.decision-btn {
  width: 100%;
  padding: 1.5rem !important;
  margin: 0.5rem 0 !important;
  text-align: left !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white !important;
  border: 2px solid var(--secondary-color) !important;
  color: var(--primary-color) !important;
  transition: all 0.3s ease !important;
}

.decision-btn:hover {
  background: var(--light-indigo) !important;
  border-color: var(--primary-color) !important;
  transform: translateX(10px) !important;
}

.decision-btn .bi {
  font-size: 1.5rem;
}

/* Hover Effects */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(26, 35, 126, 0.2);
}

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

.carousel-inner {
  border-radius: 15px;
  overflow: hidden;
}

/* Ratio */
.ratio {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Privacy Content */
.privacy-content {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.privacy-content h6 {
  color: var(--primary-color) !important;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

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

.table thead {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--deep-indigo) 100%);
  color: white;
}

.table tbody tr {
  transition: all 0.3s ease;
}

.table tbody tr:hover {
  background: var(--light-indigo);
  transform: scale(1.01);
}

/* Form Check */
.form-check-input {
  border: 2px solid var(--primary-color) !important;
  width: 1.5rem !important;
  height: 1.5rem !important;
}

.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.25rem rgba(26, 35, 126, 0.25) !important;
}

.form-check-label {
  color: var(--text-dark) !important;
  margin-left: 0.5rem;
  font-weight: 500;
}

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

/* Sticky Elements */
.sticky-top {
  top: 80px !important;
  z-index: 1020;
}

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

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

footer h5 {
  color: var(--accent-gold) !important;
  font-weight: 700;
  margin-bottom: 1rem;
}

footer a {
  color: var(--secondary-color) !important;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

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

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

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

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

section h2,
section .display-4,
section .display-5 {
  color: var(--primary-color) !important;
  font-weight: 700;
  margin-bottom: 2rem;
}

section .lead {
  color: var(--text-dark) !important;
  font-size: 1.15rem;
}

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

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

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

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

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

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

/* Images */
.img-fluid {
  border-radius: 10px;
  transition: all 0.3s ease;
}

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

/* Text Colors */
.text-primary {
  color: var(--primary-color) !important;
}

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

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

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

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

/* Background Colors */
.bg-primary {
  background-color: var(--primary-color) !important;
}

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

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

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

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

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

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

/* Spacing Utilities */
.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

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

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

/* Mobile Adjustments */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(13, 27, 77, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .hero-section {
    padding-top: 70px;
  }
  
  .diagonal-split {
    flex-direction: column;
  }
  
  .left-side,
  .right-side {
    min-height: 50vh;
  }
  
  .form-container {
    padding: 1.5rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .timeline-wrapper {
    padding-left: 1rem;
  }
  
  .timeline-marker {
    left: -1.75rem;
  }
}

/* Extra Small Devices */
@media (max-width: 576px) {
  .btn {
    padding: 0.65rem 1.5rem !important;
  }
  
  .btn-lg {
    padding: 0.85rem 2rem !important;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .form-container {
    padding: 1rem;
  }
  
  .card-body {
    padding: 1.25rem !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--accent-gold) !important;
  outline-offset: 3px;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary-color) !important;
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: var(--primary-color);
  color: white;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: var(--deep-indigo);
}

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

.spinner {
  animation: spin 1s linear infinite;
}

/* Pulse Animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}