/* Racing Red & Carbon Architecture Studio Theme */

:root {
  --primary-color: #D32F2F;
  --secondary-color: #424242;
  --dark-carbon: #212121;
  --light-carbon: #757575;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --racing-red-dark: #B71C1C;
  --racing-red-light: #EF5350;
  --transition-speed: 0.3s;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--dark-carbon);
}

.display-2, .display-4, .display-5, .display-6 {
  font-weight: 800;
  letter-spacing: -1px;
}

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

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
  color: var(--white) !important;
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-left: 15px;
  transition: all var(--transition-speed) ease;
}

.navbar-brand::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 80%;
  background: var(--primary-color);
  border-radius: 3px;
}

.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.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='%23D32F2F' 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: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.2rem;
  position: relative;
  transition: all var(--transition-speed) ease;
  font-size: 0.95rem;
}

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

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

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

/* Hero Slider */
.hero-slider {
  margin-top: -76px;
  position: relative;
}

.carousel-item {
  height: 100vh;
  min-height: 600px;
  position: relative;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(33, 33, 33, 0.8) 0%, rgba(211, 47, 47, 0.6) 100%);
  z-index: 1;
}

.carousel-item img {
  object-fit: cover;
  height: 100vh;
  min-height: 600px;
}

.carousel-overlay {
  z-index: 2;
  max-width: 900px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.carousel-overlay .display-2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white) !important;
  font-weight: 900;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.carousel-overlay .lead {
  color: var(--white) !important;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: 2rem;
  animation: fadeInUp 1.2s ease;
}

.carousel-indicators button {
  width: 15px !important;
  height: 15px !important;
  border-radius: 50% !important;
  background-color: var(--white) !important;
  opacity: 0.5 !important;
  border: 2px solid var(--primary-color) !important;
  margin: 0 8px !important;
  transition: all var(--transition-speed) ease !important;
}

.carousel-indicators button.active {
  background-color: var(--primary-color) !important;
  opacity: 1 !important;
  transform: scale(1.3);
}

/* Buttons */
.btn {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
  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 ease, height 0.6s ease;
  z-index: -1;
}

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

.btn-primary,
.btn-lg {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

.btn-primary:hover,
.btn-lg:hover {
  background: var(--racing-red-dark) !important;
  border-color: var(--racing-red-dark) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.6);
}

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

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

.btn-light {
  background: var(--white) !important;
  border-color: var(--white) !important;
  color: var(--primary-color) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

.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;
  border-color: var(--secondary-color) !important;
  color: var(--white) !important;
}

.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

/* Cards */
.card {
  border: none !important;
  border-radius: 15px;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  background: var(--white);
}

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

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

.card-body {
  padding: 2rem;
}

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

.card-text {
  color: var(--light-carbon) !important;
  line-height: 1.8;
}

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

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

/* Service Card */
.service-card {
  position: relative;
  padding: 2.5rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease;
  border-left: 5px solid var(--primary-color);
}

.service-card:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 40px rgba(211, 47, 47, 0.2);
  border-left-width: 8px;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--racing-red-dark) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px rgba(211, 47, 47, 0.3);
  transition: all var(--transition-speed) ease;
}

.service-card:hover .service-icon {
  transform: rotate(5deg) scale(1.1);
}

.service-icon i {
  color: var(--white) !important;
  font-size: 2rem;
}

/* Icons */
.bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bi-cpu, .bi-gear-wide-connected, .bi-disc, .bi-speedometer2,
.bi-clipboard-check, .bi-lightning-charge, .bi-wrench-adjustable,
.bi-cash-coin, .bi-tools, .bi-geo-alt, .bi-telephone, .bi-envelope {
  color: var(--primary-color) !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.timeline-container::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  border: 5px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
  z-index: 1;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

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

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

/* Forms */
.form-control,
.form-select {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
  background: var(--white);
  color: var(--dark-carbon);
}

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

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

.form-check-input {
  border: 2px solid var(--secondary-color);
  width: 1.5em;
  height: 1.5em;
}

.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.25) !important;
}

.form-check-label {
  color: var(--dark-carbon);
  margin-left: 0.5rem;
}

.invalid-feedback {
  display: none;
  color: var(--primary-color) !important;
  font-weight: 600;
  margin-top: 0.5rem;
}

.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

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

/* Alert */
.alert {
  border-radius: 10px;
  border: none;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.alert-warning {
  background: #FFF3CD;
  color: #856404;
}

.alert-info {
  background: #D1ECF1;
  color: #0C5460;
}

.alert-success {
  background: #D4EDDA;
  color: #155724;
}

/* Accordion */
.accordion {
  --bs-accordion-border-color: #e0e0e0;
  --bs-accordion-btn-focus-border-color: var(--primary-color);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.25);
  --bs-accordion-active-bg: var(--off-white);
  --bs-accordion-active-color: var(--dark-carbon);
}

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

.accordion-button {
  font-weight: 700;
  color: var(--dark-carbon) !important;
  background: var(--white) !important;
  padding: 1.5rem;
  font-size: 1.1rem;
}

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

.accordion-button::after {
  filter: brightness(0) saturate(100%) invert(21%) sepia(89%) saturate(2876%) hue-rotate(350deg) brightness(91%) contrast(90%);
}

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

.accordion-body {
  padding: 1.5rem;
  color: var(--light-carbon);
  line-height: 1.8;
}

/* Details Toggle */
.toggle-details {
  cursor: pointer;
  color: var(--primary-color) !important;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.toggle-details:hover {
  color: var(--racing-red-dark) !important;
  transform: translateX(5px);
}

.details-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, margin-top 0.5s ease;
}

.details-content.show {
  max-height: 1000px;
  margin-top: 1rem;
}

/* Sticky Elements */
.sticky-top {
  position: sticky;
  top: 100px;
  z-index: 100;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-carbon) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 4rem 0 2rem;
}

footer h5,
footer h4 {
  color: var(--white) !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

footer h5::after,
footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

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

footer a:hover {
  color: var(--white) !important;
  text-decoration: none;
  transform: translateX(5px);
  display: inline-block;
}

footer .list-unstyled li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

footer .list-unstyled li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

footer .bi {
  color: var(--primary-color) !important;
  margin-right: 0.8rem;
}

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

/* Image Utilities */
.img-fluid {
  max-width: 100%;
  height: auto;
}

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

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

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

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

/* Border Utilities */
.border-0 {
  border: 0 !important;
}

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

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

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

/* Gap Utilities */
.gap-2 {
  gap: 0.5rem !important;
}

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

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

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

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

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

.d-grid {
  display: grid !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;
}

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

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

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

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

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

/* Text Utilities */
.text-center {
  text-align: center !important;
}

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

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

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

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

/* Font Sizes */
.fs-1 {
  font-size: calc(1.375rem + 1.5vw) !important;
}

.fs-3 {
  font-size: calc(1.3rem + 0.6vw) !important;
}

.fs-4 {
  font-size: calc(1.275rem + 0.3vw) !important;
}

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

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

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

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

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

.animate-fadeInUp {
  animation: fadeInUp 1s ease;
}

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

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

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

/* Scroll Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Spinner */
.spinner-border {
  border-color: var(--primary-color);
  border-right-color: transparent;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 5px 20px rgba(211, 47, 47, 0.5);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--racing-red-dark);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.7);
}

/* Responsive Design */
@media (max-width: 1199.98px) {
  .display-2 {
    font-size: 3rem;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
  
  .display-5 {
    font-size: 2rem;
  }
  
  section {
    padding: 4rem 0;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(33, 33, 33, 0.98);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  .nav-link {
    padding: 0.8rem 1rem !important;
    margin: 0.3rem 0;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .nav-link:hover,
  .nav-link.active {
    background: rgba(211, 47, 47, 0.2);
    border-radius: 8px;
  }
  
  .carousel-item {
    height: 80vh;
    min-height: 500px;
  }
  
  .carousel-item img {
    height: 80vh;
    min-height: 500px;
  }
  
  .display-2 {
    font-size: 2.5rem;
  }
  
  .d-lg-block {
    display: none !important;
  }
  
  .sticky-top,
  .position-sticky {
    position: relative !important;
    top: 0 !important;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

@media (max-width: 767.98px) {
  .flex-md-row {
    flex-direction: column !important;
  }
  
  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }
  
  .display-2 {
    font-size: 2rem;
  }
  
  .display-4 {
    font-size: 1.8rem;
  }
  
  .display-5 {
    font-size: 1.5rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .btn-lg {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .carousel-item {
    height: 70vh;
    min-height: 450px;
  }
  
  .carousel-item img {
    height: 70vh;
    min-height: 450px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  footer {
    padding: 3rem 0 1.5rem;
  }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .display-2 {
    font-size: 1.8rem;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .py-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
  }
  
  .card-title {
    font-size: 1.2rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
  
  .service-icon i {
    font-size: 1.5rem;
  }
  
  .timeline-container {
    padding-left: 1rem;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
  
  .carousel-overlay .px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .carousel-indicators,
  .btn,
  .back-to-top,
  footer {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card {
    break-inside: avoid;
  }
}