/* Industrial Red & Charcoal Architecture Studio Theme */

:root {
  --primary-color: #D32F2F;
  --secondary-color: #424242;
  --dark-color: #212121;
  --light-color: #F5F5F5;
  --white-color: #FFFFFF;
  --danger-color: #C62828;
  --warning-color: #FFA000;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  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-color);
  color: var(--secondary-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
.display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  color: var(--dark-color) !important;
}

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

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

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

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

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

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

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

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

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

/* Navbar */
.navbar {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%) !important;
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  z-index: 1030;
}

.navbar.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3) !important;
}

.navbar-dark .navbar-brand {
  color: var(--white-color) !important;
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

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

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

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

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 600;
  padding: 0.5rem 1.25rem !important;
  margin: 0 0.25rem;
  position: relative;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

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

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

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

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 50%, #1A1A1A 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h100v100H0z" fill="none"/%3E%3Cpath d="M0 0l100 100M100 0L0 100" stroke="%23D32F2F" stroke-width="0.5" opacity="0.1"/%3E%3C/svg%3E');
  opacity: 0.3;
  animation: heroPattern 20s linear infinite;
}

@keyframes heroPattern {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(100px) translateY(100px); }
}

.hero-section .display-2 {
  color: var(--white-color) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.hero-section .fs-4 {
  color: rgba(255, 255, 255, 0.9) !important;
  animation: fadeInUp 1.2s ease-out;
}

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

/* Buttons */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

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

.btn-lg {
  background: var(--primary-color) !important;
  color: var(--white-color) !important;
  border: 2px solid var(--primary-color) !important;
  padding: 0.875rem 2.5rem !important;
  font-size: 1.1rem !important;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

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

.btn-light {
  background: var(--white-color) !important;
  color: var(--dark-color) !important;
  border: 2px solid var(--white-color) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--white-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.3) !important;
}

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

.btn-outline-dark:hover {
  background: var(--dark-color) !important;
  color: var(--white-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(33, 33, 33, 0.3) !important;
}

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

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

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

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

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

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

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

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

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

/* Cards */
.card {
  border-radius: 8px;
  transition: var(--transition);
  height: 100%;
  background: var(--white-color);
  overflow: hidden;
}

.card.border-0 {
  border: none !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.card.shadow {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

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

.card-body {
  padding: 2rem;
}

.card-header {
  background: var(--primary-color) !important;
  color: var(--white-color) !important;
  font-weight: 700;
  padding: 1rem 1.5rem;
  border: none !important;
}

.card-footer {
  background: var(--light-color);
  border-top: 1px solid #E0E0E0;
  padding: 1rem 1.5rem;
}

.card-title {
  color: var(--dark-color) !important;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-img,
.card-img-top {
  border-radius: 8px 8px 0 0;
  object-fit: cover;
  height: 250px;
  transition: var(--transition);
}

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

/* Team Cards */
.team-card {
  position: relative;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: var(--transition);
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(33, 33, 33, 0.9) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

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

.team-card:hover .team-photo {
  transform: scale(1.1);
}

/* Service Card Flip */
.service-card-flip {
  perspective: 1000px;
  height: 350px;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.service-card-flip:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-card-front {
  background: var(--white-color);
}

.service-card-back {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--danger-color) 100%);
  color: var(--white-color) !important;
  transform: rotateY(180deg);
}

.service-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-card-back .service-icon {
  color: var(--white-color);
}

/* Equipment & Scenario Cards */
.equipment-card,
.scenario-card {
  border: 2px solid #E0E0E0 !important;
  transition: var(--transition);
}

.equipment-card:hover,
.scenario-card:hover {
  border-color: var(--primary-color) !important;
  background: #FAFAFA;
}

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

.bi-cpu-fill,
.bi-speedometer2,
.bi-gear-fill,
.bi-lightning-charge-fill,
.bi-tools,
.bi-battery-charging,
.bi-check-circle-fill,
.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-patch-check-fill,
.bi-wrench-adjustable,
.bi-shield-check,
.bi-chat-left-text,
.bi-graph-up,
.bi-hand-thumbs-up,
.bi-cpu,
.bi-arrow-clockwise,
.bi-gear-wide-connected,
.bi-pc-display-horizontal,
.bi-lightning-charge,
.bi-clipboard-check,
.bi-file-earmark-text,
.bi-info-circle-fill,
.bi-exclamation-triangle-fill,
.bi-thermometer-high,
.bi-speedometer,
.bi-chevron-left,
.bi-chevron-right,
.bi-info-circle,
.bi-send-fill,
.bi-clock-fill,
.bi-calendar-check-fill,
.bi-chat-dots-fill,
.bi-chevron-down,
.bi-file-text,
.bi-cookie,
.bi-lock-fill,
.bi-question-circle,
.bi-wrench {
  font-size: 2rem;
  color: var(--primary-color);
}

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

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

/* Images */
.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

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

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

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

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

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

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

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

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

.mb-5 {
  margin-bottom: 5rem !important;
}

.mb-4 {
  margin-bottom: 3rem !important;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}

.mb-1 {
  margin-bottom: 0.5rem !important;
}

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

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

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

.mt-md-0 {
  margin-top: 0 !important;
}

.mt-lg-0 {
  margin-top: 0 !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

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

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

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

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

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

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

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

/* Borders */
.border {
  border: 1px solid #E0E0E0 !important;
}

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

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

.border-3 {
  border-width: 3px !important;
}

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

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

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

.list-unstyled a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: var(--transition);
}

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

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

/* Diagnostic Flow */
.diagnostic-flow {
  position: relative;
}

.diagnostic-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white-color) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
  z-index: 2;
}

.step-icon {
  width: 50px;
  height: 50px;
  background: var(--white-color);
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.connector {
  position: absolute;
  left: 30px;
  top: 60px;
  width: 2px;
  height: calc(100% - 60px);
  background: var(--primary-color);
  opacity: 0.3;
}

.diagnostic-step:last-child .connector {
  display: none;
}

/* Booking Calendar */
.booking-calendar {
  background: var(--white-color);
  border-radius: 8px;
  padding: 2rem;
}

.calendar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.day-slot {
  background: var(--light-color);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.time-slot-btn {
  width: 100%;
  margin-bottom: 0.5rem;
}

/* Accordion */
.accordion {
  --bs-accordion-bg: var(--white-color);
  --bs-accordion-border-color: #E0E0E0;
}

.accordion-item {
  border: 1px solid #E0E0E0 !important;
  margin-bottom: 1rem;
  border-radius: 8px !important;
  overflow: hidden;
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-button {
  background: var(--white-color) !important;
  color: var(--dark-color) !important;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  border: none;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-color) !important;
  color: var(--white-color) !important;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23424242'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

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

.accordion-collapse.show {
  border-top: 2px solid var(--primary-color);
}

/* Alerts */
.alert {
  border-radius: 8px;
  border: none;
  padding: 1.25rem 1.5rem;
}

.alert-info {
  background: #E3F2FD !important;
  color: #1565C0 !important;
}

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

.form-control,
.form-select {
  border: 2px solid #E0E0E0 !important;
  border-radius: 8px !important;
  padding: 0.875rem 1.25rem !important;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white-color) !important;
  color: var(--dark-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-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #E0E0E0 !important;
  border-radius: 4px;
  cursor: pointer;
}

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

.form-check-label {
  margin-left: 0.5rem;
  cursor: pointer;
  color: var(--dark-color) !important;
}

.input-group {
  border-radius: 8px;
}

/* Chat Widget */
.position-fixed {
  position: fixed !important;
}

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

.end-0 {
  right: 0 !important;
}

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

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

.btn-close {
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  opacity: 0.5;
}

.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}

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

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

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

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

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

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

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

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

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

.flex-grow-1 {
  flex-grow: 1 !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

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

.gap-2 {
  gap: 1rem !important;
}

.gap-3 {
  gap: 1.5rem !important;
}

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

.text-break {
  word-break: break-word !important;
}

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

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

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

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

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

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

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

.float-end {
  float: right !important;
}

.small {
  font-size: 0.875rem !important;
}

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

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

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

.fs-6 {
  font-size: 1rem !important;
}

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

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

.h6 {
  font-size: 1rem !important;
  font-weight: 700;
}

/* Grid System */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.container-fluid {
  width: 100%;
  padding: 0 15px;
}

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

.g-0 {
  margin: 0 !important;
}

.g-0 > [class*='col-'] {
  padding: 0 !important;
}

.g-3 {
  gap: 1.5rem !important;
}

.g-4 {
  gap: 2rem !important;
}

.g-5 {
  gap: 3rem !important;
}

[class*='col-'] {
  padding: 0 15px;
}

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

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

/* Responsive Breakpoints */
@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
  
  .d-md-block {
    display: block !important;
  }
}

@media (min-width: 992px) {
  .col-lg-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  
  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  
  .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  
  .col-lg-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  
  .col-lg-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
  
  .d-lg-block {
    display: block !important;
  }
  
  .d-lg-none {
    display: none !important;
  }
  
  .text-lg-end {
    text-align: right !important;
  }
  
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
  }
  
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(33, 33, 33, 0.98);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 100px 0 60px;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2.25rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
  
  .display-6 {
    font-size: 1.5rem !important;
  }
  
  .px-5 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 2rem !important;
  }
  
  .ps-lg-5,
  .pe-lg-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .ms-5 {
    margin-left: 1.5rem !important;
  }
  
  .service-card-flip {
    height: auto;
    min-height: 350px;
  }
  
  .time-slots {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .display-2 {
    font-size: 2rem !important;
  }
  
  .fs-4 {
    font-size: 1.125rem !important;
  }
  
  .diagnostic-step {
    flex-direction: column;
  }
  
  .connector {
    left: 30px;
    top: 60px;
  }
  
  .step-number,
  .step-icon {
    margin-bottom: 1rem;
  }
  
  .booking-calendar {
    padding: 1rem;
  }
  
  .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

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

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

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

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

/* Smooth Transitions */
* {
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

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

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

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

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

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

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .card:hover {
    box-shadow: none !important;
  }
  
  .hero-section {
    min-height: auto;
  }
}