/* Architecture Studio - Racing Red & Carbon Theme */

/* CSS Variables & Base Styles */
:root {
  --primary-color: #D32F2F;
  --secondary-color: #212121;
  --accent-red: #FF1744;
  --dark-carbon: #1A1A1A;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
  --transition-speed: 0.3s;
  --border-radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--light-gray);
  color: var(--secondary-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Enhancements */
.display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
}

.lead {
  font-weight: 400;
  opacity: 0.95;
}

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-carbon) 100%) !important;
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(211, 47, 47, 0.2);
  transition: all var(--transition-speed) ease;
  z-index: 1050;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 6px 30px rgba(211, 47, 47, 0.3);
}

.navbar-brand {
  color: var(--white) !important;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all var(--transition-speed) ease;
}

.navbar-brand:hover {
  color: var(--primary-color) !important;
  transform: translateX(5px);
}

.navbar-brand .bi {
  color: var(--primary-color) !important;
  font-size: 1.8rem;
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.4) !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(211, 47, 47, 1)' 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.85) !important;
  font-weight: 500;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.2rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-speed) ease;
  position: relative;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--white) !important;
  background-color: rgba(211, 47, 47, 0.2) !important;
}

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

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark-carbon) 0%, var(--secondary-color) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.6) 0%, rgba(33, 33, 33, 0.8) 100%);
  z-index: 2;
}

.hero-content {
  z-index: 3;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.hero-content .display-2 {
  color: var(--white) !important;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

.hero-content .lead {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.4rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-content .fs-3,
.hero-content .fs-5 {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.btn {
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
}

.floating-cta {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
  border: 2px solid var(--primary-color) !important;
}

.floating-cta:hover {
  background: var(--accent-red) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(211, 47, 47, 0.5);
}

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

.btn-danger:hover {
  background: var(--accent-red) !important;
  color: var(--white) !important;
  border-color: var(--accent-red) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4);
}

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

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

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

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

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

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

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

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  z-index: 4;
  color: var(--white) !important;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Cards */
.card {
  border-radius: var(--border-radius);
  transition: all var(--transition-speed) ease;
  overflow: hidden;
}

.service-card {
  background: var(--white);
  border-left: 4px solid var(--primary-color) !important;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(211, 47, 47, 0.3) !important;
  border-left-width: 6px !important;
}

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

.service-card:hover .bi {
  transform: scale(1.2) rotate(10deg);
}

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

.service-card .card-text {
  color: var(--secondary-color) !important;
  opacity: 0.8;
}

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.team-card-hover {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.95), rgba(33, 33, 33, 0.95));
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card:hover .team-card-hover {
  top: 0;
}

.team-card-hover a {
  color: var(--white) !important;
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: all var(--transition-speed) ease;
}

.team-card-hover a:hover {
  color: var(--primary-color) !important;
  transform: scale(1.3);
}

.diagnostic-card {
  background: var(--white);
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all var(--transition-speed) ease;
}

.diagnostic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(211, 47, 47, 0.2) !important;
}

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

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

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

/* Service Details */
.service-item {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary-color);
  transition: all var(--transition-speed) ease;
}

.service-item:hover {
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.2);
  transform: translateX(5px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white) !important;
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.service-details {
  background: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-top: 1rem;
  display: none;
}

.service-details.show {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

.expand-btn {
  background: transparent !important;
  color: var(--primary-color) !important;
  border: none !important;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.expand-btn:hover {
  color: var(--accent-red) !important;
  text-decoration: underline;
}

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

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

.timeline-item {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease;
}

.timeline-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(211, 47, 47, 0.2);
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border: 4px solid var(--white);
  z-index: 10;
  box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.2);
}

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

.form-label .text-danger {
  color: var(--primary-color) !important;
}

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

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.15) !important;
  outline: none;
}

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

.invalid-feedback {
  color: var(--primary-color) !important;
  font-weight: 500;
}

.form-check-input {
  border: 2px solid #ddd;
  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.25rem rgba(211, 47, 47, 0.15) !important;
}

.form-check-label {
  color: var(--secondary-color) !important;
  cursor: pointer;
}

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

.alert-success {
  background: linear-gradient(135deg, #4CAF50, #66BB6A) !important;
  color: var(--white) !important;
}

.alert-light {
  background: var(--light-gray) !important;
  color: var(--secondary-color) !important;
  border: 2px solid #ddd !important;
}

/* Tables */
.table-responsive {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.table {
  margin-bottom: 0;
}

.table thead {
  background: linear-gradient(135deg, var(--secondary-color), var(--dark-carbon));
  color: var(--white) !important;
}

.table thead th {
  color: var(--white) !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
  padding: 1rem;
  border: none;
}

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

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

.table tbody td {
  vertical-align: middle;
  padding: 1rem;
  color: var(--secondary-color) !important;
}

/* Accordion */
.accordion {
  --bs-accordion-border-color: transparent;
}

.accordion-item {
  background: var(--white);
  border: none !important;
  border-radius: var(--border-radius) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-red)) !important;
  color: var(--white) !important;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.15) !important;
  border: none;
}

.accordion-button::after {
  filter: brightness(0) saturate(100%) invert(17%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(92%);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}

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

/* Filter Buttons */
.filter-btn {
  background: var(--white) !important;
  color: var(--secondary-color) !important;
  border: 2px solid #ddd !important;
  padding: 0.5rem 1.5rem;
  margin: 0.25rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-speed) ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

/* Badge */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  background: var(--primary-color) !important;
  color: var(--white) !important;
}

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

/* Background Utilities */
.bg-light {
  background-color: var(--light-gray) !important;
}

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

.bg-secondary {
  background: linear-gradient(135deg, var(--secondary-color), var(--dark-carbon)) !important;
}

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

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

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

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

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

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

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

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

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

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

/* Image Styling */
.img-fluid {
  transition: all var(--transition-speed) ease;
}

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

.rounded {
  border-radius: var(--border-radius) !important;
}

/* Section Styling */
section {
  position: relative;
  overflow: hidden;
}

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

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

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

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

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-carbon) 0%, var(--secondary-color) 100%);
  color: rgba(255, 255, 255, 0.9) !important;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-red));
}

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

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

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

footer h5,
footer h6 {
  color: var(--white) !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer .opacity-25 {
  opacity: 0.25 !important;
  margin: 2rem 0;
}

/* List Styles */
.list-unstyled li {
  padding: 0.5rem 0;
  transition: all var(--transition-speed) ease;
}

.list-unstyled li:hover {
  transform: translateX(5px);
}

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

.position-absolute {
  position: absolute;
}

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

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

/* Spacing Utilities */
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-auto { margin-left: auto !important; }
.mb-0 { margin-bottom: 0 !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; }
.mt-lg-0 { margin-top: 0 !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.p-md-5 { padding: 3rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !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-3 { padding-left: 1rem !important; }
.ps-lg-5 { padding-left: 3rem !important; }
.pe-lg-5 { padding-right: 3rem !important; }

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

/* Flex Utilities */
.flex-column { flex-direction: column !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; }
.gap-3 { gap: 1rem !important; }

/* Text Alignment */
.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-lg-end { text-align: right !important; }
.text-md-start { text-align: left !important; }
.text-md-end { text-align: right !important; }

/* Width Utilities */
.w-100 { width: 100% !important; }

/* Border Utilities */
.border { border: 1px solid #ddd !important; }
.border-0 { border: 0 !important; }

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

/* Miscellaneous */
.fw-bold { font-weight: 700 !important; }
.fst-italic { font-style: italic !important; }
.text-decoration-none { text-decoration: none !important; }
.small { font-size: 0.875rem !important; }

/* Top/Bottom/Start/End Positioning */
.top-0 { top: 0 !important; }
.top-50 { top: 50% !important; }
.start-0 { left: 0 !important; }
.start-50 { left: 50% !important; }
.bottom-0 { bottom: 0 !important; }
.translate-middle { transform: translate(-50%, -50%) !important; }
.translate-middle-x { transform: translateX(-50%) !important; }

/* Height Utilities */
.h-100 { height: 100% !important; }

/* Responsive Design - Mobile First */
@media (max-width: 767.98px) {
  .display-2 {
    font-size: 2.5rem;
  }
  
  .display-3 {
    font-size: 2rem;
  }
  
  .display-4 {
    font-size: 1.75rem;
  }
  
  .display-5 {
    font-size: 1.5rem;
  }
  
  .display-6 {
    font-size: 1.25rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .hero-section {
    min-height: 100vh;
    padding: 2rem 1rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }
  
  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  
  .timeline-container::before {
    left: 20px;
  }
  
  .timeline-marker {
    left: 20px;
  }
  
  .card-body {
    padding: 1.25rem;
  }
  
  .service-card {
    margin-bottom: 1rem;
  }
}

@media (min-width: 768px) {
  .col-md-4 { width: 33.333333%; }
  .col-md-6 { width: 50%; }
  .col-md-8 { width: 66.666667%; }
  .mb-md-0 { margin-bottom: 0 !important; }
  .text-md-start { text-align: left !important; }
  .text-md-end { text-align: right !important; }
  .p-md-5 { padding: 3rem !important; }
}

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

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

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

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

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

.row > * {
  padding-right: 15px;
  padding-left: 15px;
}

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

.g-4 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

/* Smooth Transitions */
* {
  transition: background-color var(--transition-speed) ease,
              color var(--transition-speed) ease,
              border-color var(--transition-speed) ease;
}

a,
button,
.btn,
.card,
.nav-link {
  transition: all var(--transition-speed) ease;
}

/* Focus Styles for Accessibility */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .navbar,
  .floating-cta,
  .scroll-indicator,
  footer {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}