/* Architecture Studio - Bold Blue & Amber Theme */
/* Primary Color: #1976D2 | Secondary Color: #FFC107 */

/* ===================== ROOT VARIABLES ===================== */
:root {
  --primary-color: #1976D2;
  --primary-dark: #115293;
  --primary-light: #42a5f5;
  --secondary-color: #FFC107;
  --secondary-dark: #ffa000;
  --secondary-light: #ffd54f;
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
  --white: #ffffff;
  --text-dark: #212529;
  --text-muted: #6c757d;
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===================== GLOBAL STYLES ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.display-2, .display-3, .display-4, .display-5, .h2, .h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-color) !important;
  margin-bottom: 1rem;
}

.display-2 { font-size: clamp(2.5rem, 5vw, 4.5rem) !important; }
.display-3 { font-size: clamp(2rem, 4vw, 3.5rem) !important; }
.display-4 { font-size: clamp(1.75rem, 3.5vw, 3rem) !important; }
.display-5 { font-size: clamp(1.5rem, 3vw, 2.5rem) !important; }

.lead, .fs-3, .fs-5 {
  line-height: 1.7;
  color: var(--text-dark) !important;
}

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

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

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

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

/* ===================== NAVBAR STYLES ===================== */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  padding: 1rem 0;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  z-index: 1050;
}

.navbar.fixed-top {
  backdrop-filter: blur(10px);
}

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

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

.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
}

.navbar-dark .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link.active {
  background: rgba(255, 193, 7, 0.15) !important;
  color: var(--secondary-color) !important;
}

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

.navbar .text-white {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  transition: var(--transition);
}

.navbar .text-white:hover {
  color: var(--secondary-color) !important;
  text-decoration: none !important;
}

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

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

/* ===================== BUTTON STYLES ===================== */
.btn {
  font-weight: 600;
  border-radius: var(--border-radius);
  padding: 0.75rem 2rem;
  transition: var(--transition);
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  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-primary,
.bg-primary {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  border-color: var(--primary-color) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4) !important;
}

.btn-warning,
.bg-secondary {
  background: var(--secondary-color) !important;
  color: var(--dark-color) !important;
  border-color: var(--secondary-color) !important;
}

.btn-warning:hover,
.btn-warning:focus {
  background: var(--secondary-dark) !important;
  border-color: var(--secondary-dark) !important;
  color: var(--dark-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4) !important;
}

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

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

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

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: var(--white) !important;
  color: var(--primary-color) !important;
  border-color: var(--white) !important;
}

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

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

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

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

.btn-close,
.btn-close-white {
  filter: brightness(0) invert(1);
  opacity: 1 !important;
}

.btn-close:hover {
  opacity: 0.7 !important;
}

/* ===================== HERO SECTION ===================== */
.position-relative.overflow-hidden {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  position: relative;
  display: flex;
  align-items: center;
}

.position-relative.overflow-hidden::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.position-absolute.w-100.h-100.object-fit-cover {
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

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

.position-relative .display-2,
.position-relative .lead,
.position-relative .fs-3 {
  color: var(--white) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

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

.bi-chevron-down {
  animation: bounce 2s infinite;
  font-size: 2rem;
  color: var(--secondary-color) !important;
}

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

/* ===================== STATS SECTION ===================== */
.text-center.py-5 {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white) !important;
}

.text-center.py-5 .display-5,
.text-center.py-5 .mb-0,
.text-center.py-5 .mb-1 {
  color: var(--white) !important;
}

.text-center.py-5 .display-5 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* ===================== CARD STYLES ===================== */
.card {
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: none;
  overflow: hidden;
}

.card.border-0 {
  background: var(--white);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-lg) !important;
}

.card-body {
  padding: 2rem;
}

.card-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  color: var(--white) !important;
  font-weight: 700;
  border: none;
  padding: 1.5rem;
}

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

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

.service-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--border-radius);
  background: var(--white);
  transition: var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--secondary-color);
  transition: height 0.3s ease;
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--white) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
  transform: rotate(360deg) scale(1.1);
}

.shadow,
.shadow-sm {
  box-shadow: var(--box-shadow) !important;
}

.shadow-lg {
  box-shadow: var(--box-shadow-lg) !important;
}

/* ===================== BADGE STYLES ===================== */
.badge {
  background: var(--secondary-color) !important;
  color: var(--dark-color) !important;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===================== ICON STYLES ===================== */
.rounded-circle {
  border-radius: 50% !important;
}

.rounded-circle.d-inline-flex {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--white) !important;
  transition: var(--transition);
}

.rounded-circle.d-inline-flex:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
  transform: rotate(360deg) scale(1.1);
}

.bi, [class^="bi-"], [class*=" bi-"] {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

/* ===================== IMAGE STYLES ===================== */
.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

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

.rounded-3 {
  border-radius: 1rem !important;
}

.object-fit-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* ===================== BACKGROUND STYLES ===================== */
.bg-light {
  background: var(--light-color) !important;
}

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

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

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

/* ===================== ALERT STYLES ===================== */
.alert {
  border-radius: var(--border-radius);
  border: none;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

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

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

.alert-light {
  background: var(--light-color) !important;
  color: var(--text-dark) !important;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* ===================== FORM STYLES ===================== */
.form-control,
.form-control-lg,
.form-select,
.form-select-lg {
  border: 2px solid rgba(25, 118, 210, 0.2);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  transition: var(--transition);
  color: var(--text-dark) !important;
  background: var(--white) !important;
}

.form-control:focus,
.form-control-lg:focus,
.form-select:focus,
.form-select-lg:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(25, 118, 210, 0.25) !important;
  outline: none;
}

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

.form-check-input {
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

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

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

.service-checkbox:checked ~ .form-check-label {
  color: var(--primary-color) !important;
  font-weight: 600;
}

/* ===================== TABLE STYLES ===================== */
.table {
  color: var(--text-dark) !important;
  border-collapse: separate;
  border-spacing: 0;
}

.table-borderless td,
.table-borderless th {
  border: none;
  padding: 1rem;
}

.table-hover tbody tr {
  transition: var(--transition);
}

.table-hover tbody tr:hover {
  background: rgba(25, 118, 210, 0.05) !important;
  transform: scale(1.01);
}

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

/* ===================== LIST STYLES ===================== */
.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-group {
  border-radius: var(--border-radius);
}

.list-group-item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem 1.25rem;
  transition: var(--transition);
  color: var(--text-dark) !important;
  background: var(--white) !important;
}

.list-group-item-action {
  cursor: pointer;
}

.list-group-item-action:hover {
  background: rgba(25, 118, 210, 0.05) !important;
  color: var(--primary-color) !important;
  transform: translateX(5px);
}

.list-group-flush .list-group-item {
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

/* ===================== ACCORDION STYLES ===================== */
.accordion {
  border-radius: var(--border-radius);
}

.accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  border-radius: var(--border-radius) !important;
  overflow: hidden;
}

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

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

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(25, 118, 210, 0.25) !important;
  border: none;
}

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

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

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

.accordion-collapse {
  border: none;
}

/* ===================== MODAL STYLES ===================== */
.modal-content {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  color: var(--white) !important;
  border: none;
  padding: 1.5rem 2rem;
}

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

.modal-body {
  padding: 2rem;
  color: var(--text-dark) !important;
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1.5rem 2rem;
}

/* ===================== PROGRESS BAR ===================== */
.progress {
  height: 30px;
  border-radius: 50px;
  background: rgba(25, 118, 210, 0.1) !important;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.6s ease;
}

/* ===================== STEP INDICATOR ===================== */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--light-color);
  border: 3px solid rgba(25, 118, 210, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  margin-bottom: 0.5rem;
}

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

.step-divider {
  flex: 1;
  height: 3px;
  background: rgba(25, 118, 210, 0.2);
  margin: 0 -1rem;
  position: relative;
  top: -25px;
  z-index: 1;
}

.step-divider.bg-primary {
  background: var(--primary-color) !important;
}

/* ===================== RATIO (VIDEO EMBED) ===================== */
.ratio {
  position: relative;
  width: 100%;
}

.ratio::before {
  display: block;
  padding-top: var(--bs-aspect-ratio);
  content: "";
}

.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ratio-16x9 {
  --bs-aspect-ratio: 56.25%;
}

/* ===================== STICKY & POSITION ===================== */
.sticky-top {
  position: sticky;
  top: 80px;
  z-index: 1020;
}

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

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

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.start-0 { left: 0; }
.end-0 { right: 0; }
.start-50 { left: 50%; }
.top-50 { top: 50%; }

.translate-middle {
  transform: translate(-50%, -50%) !important;
}

.translate-middle-x {
  transform: translateX(-50%) !important;
}

/* ===================== UTILITY CLASSES ===================== */
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }

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

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

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

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

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

.flex-wrap { flex-wrap: wrap !important; }
.flex-column { flex-direction: column !important; }
.flex-grow-1 { flex-grow: 1 !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-center { align-self: center !important; }

.justify-content-center { justify-content: center !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-between { justify-content: space-between !important; }

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

/* ===================== SPACING UTILITIES ===================== */
.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !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; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

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

.ps-0 { padding-left: 0 !important; }
.pe-0 { padding-right: 0 !important; }
.ps-lg-5 { padding-left: 3rem !important; }
.pe-lg-5 { padding-right: 3rem !important; }
.ps-md-5 { padding-left: 3rem !important; }
.pe-md-5 { padding-right: 3rem !important; }

.m-3 { margin: 1rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !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; }

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

.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-auto { margin-left: auto !important; }
.ms-lg-2 { margin-left: 0.5rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

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

/* ===================== RESPONSIVE DESIGN ===================== */
@media (max-width: 991.98px) {
  .d-lg-none { display: block !important; }
  .d-lg-block { display: none !important; }
  
  .navbar-collapse {
    background: rgba(17, 82, 147, 0.98);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
  }
  
  .navbar-nav {
    gap: 0.5rem;
  }
  
  .position-relative.overflow-hidden {
    min-height: 80vh;
    padding: 6rem 0 3rem;
  }
  
  .display-2 { font-size: 2.5rem !important; }
  .display-3 { font-size: 2rem !important; }
  .display-4 { font-size: 1.75rem !important; }
  
  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .sticky-top {
    top: 70px;
  }
  
  .flex-md-row-reverse {
    flex-direction: column-reverse !important;
  }
  
  .text-lg-end {
    text-align: center !important;
  }
  
  .order-lg-1 { order: 1; }
  .order-lg-2 { order: 2; }
  
  .ps-lg-5, .pe-lg-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .offset-lg-1 {
    margin-left: 0 !important;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 14px;
  }
  
  .navbar {
    padding: 0.75rem 0;
  }
  
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  .display-2 { font-size: 2rem !important; }
  .display-3 { font-size: 1.75rem !important; }
  .display-4 { font-size: 1.5rem !important; }
  .display-5 { font-size: 1.5rem !important; }
  
  .lead, .fs-3 {
    font-size: 1.1rem !important;
  }
  
  .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
  }
  
  .gap-3 { gap: 0.75rem !important; }
  
  .col-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .text-center.py-5 .display-5 {
    font-size: 2rem !important;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .rounded-circle.d-inline-flex {
    width: 50px;
    height: 50px;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .step-circle {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }
  
  .step-divider {
    top: -20px;
  }
  
  .card-body {
    padding: 1.25rem;
  }
  
  .ps-md-5, .pe-md-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .p-md-5 {
    padding: 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .col-sm-6 {
    flex: 0 0 auto;
    width: 100%;
  }
  
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-group .btn {
    border-radius: var(--border-radius) !important;
    margin-bottom: 0.5rem;
  }
}

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

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

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

/* ===================== SCROLL BEHAVIOR ===================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* ===================== SELECTION ===================== */
::selection {
  background: var(--secondary-color);
  color: var(--dark-color);
}

::-moz-selection {
  background: var(--secondary-color);
  color: var(--dark-color);
}

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

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

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

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

/* ===================== PRINT STYLES ===================== */
@media print {
  .navbar,
  .btn,
  .modal,
  .alert {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .container {
    max-width: 100%;
  }
}