/* Forge Red & Carbon Black Architecture Studio Theme */

:root {
  --primary-color: #D32F2F;
  --secondary-color: #212121;
  --light-gray: #f5f5f5;
  --dark-gray: #424242;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.15);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

.text-white, .text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6 {
  color: var(--white) !important;
}

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

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

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

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

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

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.8;
}

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

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

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

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

/* Navbar */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  background-color: var(--secondary-color) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1030;
}

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

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

.navbar-brand {
  font-size: 1.5rem;
  color: var(--white) !important;
  font-weight: 700;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

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

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

.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 {
  align-items: center;
}

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

.nav-item {
  margin: 0 0.5rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  position: relative;
  border-radius: 4px;
}

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

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

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

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-gray) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 0L100 100M100 0L0 100" stroke="%23D32F2F" stroke-width="0.5" opacity="0.1"/></svg>');
  opacity: 0.3;
  animation: patternMove 20s linear infinite;
}

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

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section .display-2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white) !important;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 700px;
  margin: 0 auto 2rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

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

/* Buttons */
.btn {
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

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

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

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

.btn-primary:hover {
  background-color: #B71C1C !important;
  border-color: #B71C1C !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(211, 47, 47, 0.3) !important;
}

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

.btn-outline-light:hover {
  background-color: var(--white) !important;
  color: var(--secondary-color) !important;
  border-color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2) !important;
}

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

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

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

.btn-light:hover {
  background-color: var(--light-gray) !important;
  color: var(--secondary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--shadow) !important;
}

/* Services Section */
.service-card {
  position: relative;
  overflow: hidden;
  height: 400px;
  cursor: pointer;
  border-radius: 0;
  transition: var(--transition);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(33, 33, 33, 0.95) 0%, rgba(33, 33, 33, 0.7) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: var(--transition);
}

.service-card:hover .service-overlay {
  background: linear-gradient(to top, rgba(211, 47, 47, 0.95) 0%, rgba(211, 47, 47, 0.7) 50%, transparent 100%);
}

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

.service-card h3 {
  color: var(--white) !important;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.service-detail {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color) !important;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.service-content:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--secondary-color) !important;
}

.service-content {
  padding: 2rem;
  background-color: var(--white);
  border-radius: 12px;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-content:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow) !important;
}

.service-details {
  flex-grow: 1;
}

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

.bi::before {
  font-family: 'bootstrap-icons' !important;
}

.bi-speedometer2::before { content: "\F5E4"; }
.bi-tools::before { content: "\F5F5"; }
.bi-award::before { content: "\F282"; }
.bi-people::before { content: "\F4D3"; }
.bi-cpu::before { content: "\F352"; }
.bi-lightning-charge::before { content: "\F42D"; }
.bi-gear-wide-connected::before { content: "\F3D3"; }
.bi-disc::before { content: "\F36A"; }
.bi-soundwave::before { content: "\F5C8"; }
.bi-clipboard-check::before { content: "\F329"; }
.bi-telephone-fill::before { content: "\F5E9"; }
.bi-envelope::before { content: "\F378"; }
.bi-envelope-fill::before { content: "\F379"; }
.bi-geo-alt-fill::before { content: "\F3E3"; }
.bi-gear-fill::before { content: "\F3D2"; }
.bi-award-fill::before { content: "\F283"; }
.bi-shield-check::before { content: "\F5B5"; }
.bi-cpu-fill::before { content: "\F353"; }
.bi-star-fill::before { content: "\F5D2"; }
.bi-chevron-right::before { content: "\F31C"; }
.bi-chevron-down::before { content: "\F315"; }
.bi-gear::before { content: "\F3D1"; }
.bi-graph-up::before { content: "\F3F5"; }
.bi-file-earmark-text::before { content: "\F392"; }
.bi-check-circle-fill::before { content: "\F30F"; }
.bi-x-circle::before { content: "\F620"; }
.bi-check-circle::before { content: "\F30E"; }
.bi-file-text::before { content: "\F3A6"; }
.bi-file-earmark-pdf::before { content: "\F38E"; }
.bi-phone-vibrate::before { content: "\F4E8"; }
.bi-send-fill::before { content: "\F5AF"; }
.bi-calendar-check::before { content: "\F2AF"; }
.bi-info-circle::before { content: "\F413"; }
.bi-bullseye::before { content: "\F2A7"; }
.bi-shield-lock::before { content: "\F5B7"; }
.bi-share::before { content: "\F5B1"; }
.bi-cookie::before { content: "\F344"; }
.bi-hand-thumbs-up::before { content: "\F401"; }
.bi-clock-history::before { content: "\F32D"; }
.bi-person-badge::before { content: "\F4DA"; }
.bi-globe::before { content: "\F3EC"; }
.bi-exclamation-triangle::before { content: "\F37C"; }
.bi-arrow-repeat::before { content: "\F27E"; }

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  transition: var(--transition);
  overflow: hidden;
}

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

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

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

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

.card-body {
  padding: 2rem;
}

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

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

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

/* Sections */
section {
  padding: 80px 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Testimonials */
.testimonial-slider {
  overflow: hidden;
  padding: 2rem 0;
}

.testimonial-track {
  display: flex;
  gap: 2rem;
  animation: scroll 30s linear infinite;
}

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

.testimonial-track:hover {
  animation-play-state: paused;
}

/* Badges */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Alerts */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: none;
  font-weight: 500;
}

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

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

.form-control,
.form-select {
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: var(--transition);
  font-size: 1rem;
  background-color: var(--white);
  color: var(--secondary-color);
}

.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::placeholder {
  color: #9e9e9e;
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #e0e0e0;
  cursor: pointer;
  transition: var(--transition);
}

.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;
  user-select: none;
}

.invalid-feedback {
  color: var(--primary-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

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

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

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

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

.list-unstyled a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

.list-unstyled a:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

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

/* Accordion */
.accordion {
  border-radius: 8px;
  overflow: hidden;
}

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

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

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

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

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

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

.accordion-button.collapsed::after {
  filter: none;
}

.accordion-collapse {
  transition: var(--transition);
}

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

/* Pricing */
.pricing {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
}

.pricing:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(211, 47, 47, 0.2);
}

.expand-btn {
  cursor: pointer;
  transition: var(--transition);
}

.expand-btn:hover {
  color: var(--primary-color) !important;
}

.expand-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.expand-text.show {
  max-height: 500px;
}

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

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

.flex-column {
  flex-direction: column !important;
}

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

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

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

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

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

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

.justify-content-end {
  justify-content: flex-end !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.small {
  font-size: 0.875rem;
  font-weight: 400;
}

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

.container {
  max-width: 1200px;
}

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

.g-0 {
  margin-right: 0;
  margin-left: 0;
}

.g-0 > * {
  padding-right: 0;
  padding-left: 0;
}

.g-2 {
  margin-right: -0.25rem;
  margin-left: -0.25rem;
}

.g-2 > * {
  padding-right: 0.25rem;
  padding-left: 0.25rem;
}

.g-3 {
  margin-right: -0.5rem;
  margin-left: -0.5rem;
}

.g-3 > * {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.g-4 {
  margin-right: -1rem;
  margin-left: -1rem;
}

.g-4 > * {
  padding-right: 1rem;
  padding-left: 1rem;
}

[class*="col-"] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

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

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

/* Animation Classes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@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%;
  }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
  
  .mt-md-0 {
    margin-top: 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-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-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  
  .offset-lg-1 {
    margin-left: 8.333333%;
  }
  
  .offset-lg-2 {
    margin-left: 16.666667%;
  }
  
  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
  
  .mt-lg-0 {
    margin-top: 0 !important;
  }
  
  .text-lg-end {
    text-align: right !important;
  }
  
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  
  .px-lg-5 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }
  
  .py-lg-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  
  .order-lg-1 {
    order: 1;
  }
  
  .order-lg-2 {
    order: 2;
  }
  
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    background-color: var(--secondary-color);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
  }
  
  .nav-item {
    margin: 0.5rem 0;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 100px 0 60px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .service-card {
    height: 300px;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .display-5 {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 767px) {
  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .hero-section {
    padding: 80px 0 40px;
  }
  
  .hero-section .display-2 {
    font-size: 2rem !important;
  }
  
  section {
    padding: 40px 0;
  }
  
  .service-card {
    height: 250px;
  }
  
  .p-5 {
    padding: 2rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .accordion-button,
  footer {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card,
  .shadow,
  .shadow-lg {
    box-shadow: none !important;
    border: 1px solid #ddd;
  }
}

/* Accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

*:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

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

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

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

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

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

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

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