/* Midnight Crimson Architecture Studio - Custom Styles */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E74C3C;
  --dark-overlay: rgba(44, 62, 80, 0.85);
  --light-overlay: rgba(231, 76, 60, 0.1);
  --transition-speed: 0.4s;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  letter-spacing: -0.5px;
  color: var(--primary-color) !important;
}

.text-white.display-1,
.text-white.display-2,
.text-white.display-3,
.text-white.display-4,
.text-white.display-5,
.text-white.display-6 {
  color: #ffffff !important;
}

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

.text-uppercase {
  letter-spacing: 2px;
  font-weight: 600;
}

/* Navigation */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-speed) ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  background: rgba(44, 62, 80, 0.98) !important;
  padding: 0.5rem 0;
}

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

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

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.2rem;
  transition: all var(--transition-speed) ease;
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

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

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

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #ffffff !important;
  background: rgba(231, 76, 60, 0.1);
  border-radius: 4px;
}

.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  padding: 0.5rem 0.75rem;
}

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

/* Buttons */
.btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 0;
  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%;
  transform: translate(-50%, -50%) scale(0);
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: transform var(--transition-speed) ease;
  z-index: -1;
  border-radius: 0;
}

.btn:hover::before {
  transform: translate(-50%, -50%) scale(1.5);
}

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

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

.btn-primary:hover,
.btn.bg-dark:hover {
  background: #c0392b !important;
  border-color: #c0392b !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4) !important;
}

.btn-outline-light {
  color: #ffffff !important;
  border-color: #ffffff !important;
  background: transparent !important;
}

.btn-outline-light:hover {
  background: #ffffff !important;
  color: var(--primary-color) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3) !important;
}

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

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

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

.btn-outline-dark:hover {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  border-color: var(--primary-color) !important;
}

.btn-light {
  background: #ffffff !important;
  color: var(--primary-color) !important;
  border-color: #ffffff !important;
}

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

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

/* Hero Section */
.vh-100 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.position-relative.vh-100 {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%);
}

.position-relative.vh-100::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path fill="rgba(231,76,60,0.05)" d="M0,300 Q300,100 600,300 T1200,300 L1200,600 L0,600 Z"/></svg>');
  background-size: cover;
  background-position: bottom;
  opacity: 0.3;
}

.object-fit-cover {
  object-fit: cover;
  opacity: 0.15;
  filter: grayscale(30%);
}

.position-absolute.top-0.start-0 {
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(26, 37, 47, 0.9) 100%);
  z-index: 1;
}

.position-absolute.top-50 {
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

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

.text-white {
  color: #ffffff !important;
}

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

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

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

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

.bg-light {
  background-color: #f8f9fa !important;
}

.bg-white {
  background-color: #ffffff !important;
}

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

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

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

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

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

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

.card-body {
  padding: 2rem;
}

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

.card-text {
  color: #6c757d;
  line-height: 1.8;
}

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

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

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

/* Portfolio */
.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 0;
  height: 300px;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.15);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(231, 76, 60, 0.9) 100%);
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #ffffff;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.filter-btn {
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  background: transparent !important;
  margin: 0.25rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  border-color: var(--primary-color) !important;
}

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

/* Accordion */
.accordion {
  --bs-accordion-border-color: #e0e0e0;
  --bs-accordion-btn-focus-box-shadow: none;
}

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

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

.accordion-button {
  background: #ffffff !important;
  color: var(--primary-color) !important;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.5rem;
  border-radius: 0 !important;
  box-shadow: none !important;
}

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

.accordion-button::after {
  filter: brightness(0) saturate(100%);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) saturate(100%) invert(100%);
}

.accordion-body {
  padding: 1.5rem;
  background: #f8f9fa;
  color: #495057;
  line-height: 1.8;
}

/* Forms */
.form-label {
  font-weight: 600;
  color: var(--primary-color) !important;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

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

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.15) !important;
  background: #ffffff !important;
}

.form-control::placeholder {
  color: #adb5bd !important;
}

.form-check-input {
  border: 2px solid #dee2e6 !important;
  border-radius: 0 !important;
  width: 1.25rem;
  height: 1.25rem;
}

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

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.15) !important;
}

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

/* Modal */
.modal-content {
  border-radius: 0 !important;
  border: none;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%);
  color: #ffffff !important;
  border-bottom: none;
  padding: 2rem;
}

.modal-title {
  font-weight: 700;
  color: #ffffff !important;
  font-size: 1.5rem;
}

.modal-body {
  padding: 2rem;
}

.btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.btn-close:hover {
  opacity: 1;
}

/* Pagination */
.pagination {
  margin: 2rem 0;
}

.page-item {
  margin: 0 0.25rem;
}

.page-link {
  color: var(--primary-color) !important;
  background: #ffffff !important;
  border: 2px solid var(--primary-color) !important;
  border-radius: 0 !important;
  padding: 0.5rem 1rem;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
}

.page-link:hover {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  border-color: var(--primary-color) !important;
}

.page-item.active .page-link {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: #ffffff !important;
}

.page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f8f9fa !important;
  border-color: #dee2e6 !important;
  color: #6c757d !important;
}

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

.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt-fill,
.bi-calendar3,
.bi-rulers,
.bi-people,
.bi-check2,
.bi-pencil-square,
.bi-arrow-right,
.bi-arrows-angle-expand,
.bi-tree,
.bi-check-circle-fill,
.bi-clipboard-check,
.bi-box,
.bi-building,
.bi-dot,
.bi-chevron-left,
.bi-chevron-right,
.bi-folder,
.bi-geo-alt,
.bi-telephone,
.bi-envelope {
  display: inline-block;
}

.fs-1 { font-size: 2.5rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-3 { font-size: 1.75rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }

/* Borders */
.border-start {
  border-left: 4px solid var(--secondary-color) !important;
}

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

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

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

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

.rounded {
  border-radius: 0 !important;
}

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

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

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

.text-success {
  color: #28a745 !important;
}

.fst-italic {
  font-style: italic !important;
}

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

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

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

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

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

.list-unstyled li {
  margin-bottom: 0.75rem;
}

.list-unstyled a {
  color: #6c757d;
  transition: all var(--transition-speed) ease;
  display: inline-block;
}

.list-unstyled a:hover {
  color: var(--secondary-color) !important;
  transform: translateX(5px);
}

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

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

/* Grid and Flex */
.g-3 {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

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

.g-0 {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

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

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

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

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

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

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

.flex-wrap {
  flex-wrap: wrap !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-items-end {
  align-items: flex-end !important;
}

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

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

/* Ratio */
.ratio {
  position: relative;
  width: 100%;
}

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

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

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

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

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

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

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

/* Hover Effects */
.hover-lift {
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Responsive Typography */
@media (max-width: 1200px) {
  .display-1 { font-size: 4rem !important; }
  .display-2 { font-size: 3.5rem !important; }
  .display-3 { font-size: 3rem !important; }
  .display-4 { font-size: 2.5rem !important; }
  .display-5 { font-size: 2rem !important; }
  .display-6 { font-size: 1.75rem !important; }
}

@media (max-width: 992px) {
  .display-1 { font-size: 3.5rem !important; }
  .display-2 { font-size: 3rem !important; }
  .display-3 { font-size: 2.5rem !important; }
  .display-4 { font-size: 2rem !important; }
  .display-5 { font-size: 1.75rem !important; }
  .display-6 { font-size: 1.5rem !important; }
  
  .py-5 {
    padding: 3rem 0 !important;
  }
  
  .pt-5 {
    padding-top: 3rem !important;
  }
  
  .pb-5 {
    padding-bottom: 3rem !important;
  }
}

@media (max-width: 768px) {
  .display-1 { font-size: 2.5rem !important; }
  .display-2 { font-size: 2.25rem !important; }
  .display-3 { font-size: 2rem !important; }
  .display-4 { font-size: 1.75rem !important; }
  .display-5 { font-size: 1.5rem !important; }
  .display-6 { font-size: 1.25rem !important; }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
  }
  
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
  }
  
  .navbar-nav {
    gap: 0.5rem;
  }
  
  .portfolio-item {
    height: 250px;
  }
  
  .card-img-top {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .display-1 { font-size: 2rem !important; }
  .display-2 { font-size: 1.75rem !important; }
  .display-3 { font-size: 1.5rem !important; }
  .display-4 { font-size: 1.35rem !important; }
  .display-5 { font-size: 1.25rem !important; }
  .display-6 { font-size: 1.1rem !important; }
  
  .btn-lg {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .py-5 {
    padding: 2rem 0 !important;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .modal,
  .filter-btn {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .shadow,
  .shadow-sm,
  .shadow-lg {
    box-shadow: none !important;
  }
}

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

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

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

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

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

/* Selection */
::selection {
  background: var(--secondary-color);
  color: #ffffff;
}

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

/* Loading State */
.loading {
  pointer-events: none;
  opacity: 0.6;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%);
  color: #ffffff;
}

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

footer a:hover {
  color: #ffffff !important;
  text-decoration: none;
}

footer .border-top {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

/* Additional Utility Classes */
.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; }
.mt-lg-0 { margin-top: 0 !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; }
.mb-lg-0 { margin-bottom: 0 !important; }
.mb-md-0 { margin-bottom: 0 !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; }

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

.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }

.p-0 { padding: 0 !important; }
.p-2 { padding: 0.5rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.p-md-5 { padding: 3rem !important; }

.ps-4 { padding-left: 1.5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

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

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

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

@media (min-width: 768px) {
  .text-md-start { text-align: left !important; }
  .text-md-end { text-align: right !important; }
  .order-md-1 { order: 1 !important; }
  .order-md-2 { order: 2 !important; }
}

@media (min-width: 992px) {
  .text-lg-end { text-align: right !important; }
  .order-lg-1 { order: 1 !important; }
  .order-lg-2 { order: 2 !important; }
  .d-lg-block { display: block !important; }
  .mt-lg-0 { margin-top: 0 !important; }
  .mb-lg-0 { margin-bottom: 0 !important; }
  .offset-lg-1 { margin-left: 8.333333% !important; }
  .offset-lg-2 { margin-left: 16.666667% !important; }
}

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

.h3 { font-size: 1.75rem !important; font-weight: 700; }
.h5 { font-size: 1.25rem !important; font-weight: 600; }
.h6 { font-size: 1rem !important; font-weight: 600; }

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