/* Charcoal Fire Architecture Studio - Custom Styles */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E74C3C;
  --charcoal: #1a1a1a;
  --ash-gray: #95a5a6;
  --warm-white: #ecf0f1;
  --ember-orange: #e67e22;
  --smoke: rgba(44, 62, 80, 0.9);
  --fire-glow: rgba(231, 76, 60, 0.2);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--primary-color) !important;
  background-color: var(--warm-white) !important;
  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: -1px;
  color: var(--primary-color) !important;
}

.lead {
  font-size: 1.25rem !important;
  font-weight: 300 !important;
  color: var(--ash-gray) !important;
}

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--charcoal) 100%) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  padding: 1rem 0 !important;
  border-bottom: 3px solid var(--secondary-color);
}

.navbar.scrolled {
  padding: 0.5rem 0 !important;
  background: rgba(26, 26, 26, 0.98) !important;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.8rem !important;
  color: var(--warm-white) !important;
  font-weight: 700 !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
}

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

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.navbar-brand:hover::after {
  width: 100%;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--warm-white) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.2rem;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

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

.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 0.3s ease;
}

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

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

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

/* Hero Section */
.position-relative.vh-100 {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--primary-color) 100%);
  position: relative;
  overflow: hidden;
}

.position-relative.vh-100::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, var(--fire-glow) 0%, transparent 60%);
  animation: fireGlow 4s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes fireGlow {
  0% { opacity: 0.3; }
  100% { opacity: 0.7; }
}

.position-absolute.top-50 {
  z-index: 2;
}

.object-fit-cover {
  object-fit: cover !important;
  opacity: 0.3;
  filter: grayscale(30%);
  animation: kenBurns 20s ease infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-5%, -5%); }
}

.text-white {
  color: var(--warm-white) !important;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.text-white.display-1 {
  animation: fadeInUp 1s ease-out;
  font-weight: 800 !important;
}

.text-white.fs-4 {
  animation: fadeInUp 1.2s ease-out;
  color: var(--warm-white) !important;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

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

/* Buttons */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  border: none !important;
  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.5s, height 0.5s;
  z-index: -1;
}

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

.btn-lg {
  background: var(--secondary-color) !important;
  color: white !important;
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem !important;
  border-radius: 50px !important;
  box-shadow: 0 10px 30px rgba(231, 76, 60, 0.4);
}

.btn-lg:hover {
  background: var(--ember-orange) !important;
  color: white !important;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(231, 76, 60, 0.6);
}

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

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

.btn-light {
  background: var(--warm-white) !important;
  color: var(--primary-color) !important;
  border-radius: 8px !important;
}

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

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

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

.btn-check:checked + .btn-outline-dark {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: white !important;
}

.btn-sm {
  padding: 0.5rem 1.2rem !important;
  font-size: 0.875rem !important;
  border-radius: 25px !important;
}

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

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

.section-dark {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--charcoal) 100%) !important;
  color: var(--warm-white) !important;
}

.section-dark .display-3,
.section-dark .display-4,
.section-dark .display-6 {
  color: var(--warm-white) !important;
}

.section-dark .text-muted {
  color: var(--ash-gray) !important;
}

/* Cards and Containers */
.shadow {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease;
}

.shadow:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-5px);
}

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

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

.card {
  border: none !important;
  border-radius: 15px !important;
  overflow: hidden;
  transition: all 0.4s ease;
  background: white !important;
}

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

.card-body {
  padding: 2rem !important;
}

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

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

.border-bottom {
  border-bottom: 1px solid rgba(44, 62, 80, 0.1) !important;
}

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

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

/* Portfolio Items */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.portfolio-card img {
  transition: all 0.6s ease;
}

.portfolio-item:hover .portfolio-card img {
  transform: scale(1.15);
  filter: brightness(0.7);
}

.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.95) 100%);
  opacity: 0;
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  color: white !important;
}

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

.portfolio-overlay h4 {
  color: white !important;
  transform: translateY(20px);
  transition: transform 0.5s ease 0.1s;
}

.portfolio-overlay p {
  color: white !important;
  transform: translateY(20px);
  transition: transform 0.5s ease 0.2s;
}

.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay p {
  transform: translateY(0);
}

/* Badges */
.badge {
  padding: 0.5rem 1rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.5px;
}

.badge.rounded-pill {
  border-radius: 50px !important;
}

.bg-success {
  background: #27ae60 !important;
}

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

.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt-fill,
.bi-calendar-check,
.bi-check-circle-fill,
.bi-send,
.bi-telephone,
.bi-envelope,
.bi-facebook,
.bi-instagram,
.bi-linkedin,
.bi-shield-lock,
.bi-search,
.bi-geo-alt,
.bi-chat-quote,
.bi-award,
.bi-lightbulb,
.bi-building,
.bi-tree,
.bi-sun,
.bi-check-circle,
.bi-twitter {
  color: var(--secondary-color) !important;
  transition: all 0.3s ease;
}

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

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

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

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

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

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

/* Forms */
.form-control,
.form-select {
  border: 2px solid rgba(44, 62, 80, 0.2) !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  transition: all 0.3s ease;
  background: white !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.25) !important;
  outline: none !important;
}

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

.form-text {
  color: var(--ash-gray) !important;
  font-size: 0.875rem !important;
}

.form-check-input {
  border: 2px solid rgba(44, 62, 80, 0.3) !important;
  cursor: pointer;
}

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

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

.invalid-feedback {
  color: var(--secondary-color) !important;
  font-size: 0.875rem !important;
  margin-top: 0.25rem;
}

.needs-validation .form-control:invalid {
  border-color: var(--secondary-color) !important;
}

.needs-validation .form-control:valid {
  border-color: #27ae60 !important;
}

/* Alerts */
.alert {
  border-radius: 10px !important;
  border: none !important;
  padding: 1.5rem !important;
}

.alert-success {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%) !important;
  color: white !important;
}

.alert-heading {
  color: white !important;
  font-weight: 700 !important;
}

/* Background Colors */
.bg-light {
  background: var(--warm-white) !important;
}

.bg-white {
  background: white !important;
}

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

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

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

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

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

/* Rounded */
.rounded {
  border-radius: 10px !important;
}

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

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

/* Images */
.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  transition: all 0.4s ease;
}

.img-fluid:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

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

.list-unstyled li {
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.list-unstyled li:hover {
  padding-left: 10px;
  color: var(--secondary-color) !important;
}

/* Links */
a {
  color: var(--secondary-color) !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--ember-orange) !important;
  text-decoration: underline !important;
}

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

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

/* Social Media Links */
a.bi-facebook:hover,
a.bi-instagram:hover,
a.bi-linkedin:hover,
a.bi-twitter:hover {
  transform: translateY(-3px) scale(1.2);
  color: var(--ember-orange) !important;
}

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

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

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

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

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

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

.start-50 {
  left: 50% !important;
}

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

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

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

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

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

.flex-row-reverse {
  flex-direction: row-reverse !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;
}

/* Grid */
.g-0 {
  gap: 0 !important;
}

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

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

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

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

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

/* Spacing */
.m-4 {
  margin: 1.5rem !important;
}

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

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

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

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

.mt-4 {
  margin-top: 1.5rem !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-auto {
  margin-left: auto !important;
}

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

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

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

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

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

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

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

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

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !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-4 {
  padding-top: 1.5rem !important;
}

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

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

.pb-4 {
  padding-bottom: 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;
}

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

.pe-md-4 {
  padding-right: 1.5rem !important;
}

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

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

/* Animations */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

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

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

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

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

/* Filter Group */
.filter-group .btn-group {
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Responsive Utilities */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(26, 26, 26, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    border: 2px solid var(--secondary-color);
  }

  .navbar-dark .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
  }

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

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

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

  .display-4 {
    font-size: 1.75rem !important;
  }

  .vh-100 {
    min-height: 100vh !important;
  }

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

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

  .order-lg-1 {
    order: 1;
  }

  .order-lg-2 {
    order: 2;
  }
}

@media (max-width: 767.98px) {
  .display-1 {
    font-size: 2.5rem !important;
  }

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

  .display-3 {
    font-size: 1.75rem !important;
  }

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

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

  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 1rem !important;
  }

  .order-md-1 {
    order: 1;
  }

  .order-md-2 {
    order: 2;
  }

  .order-md-3 {
    order: 3;
  }

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

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

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

  .flex-sm-row {
    flex-direction: row !important;
  }
}

@media (max-width: 575.98px) {
  .display-1 {
    font-size: 2rem !important;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem !important;
  }

  .card-body {
    padding: 1.5rem !important;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
  background: var(--warm-white);
}

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

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

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

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 3px solid var(--warm-white);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

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

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

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

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .alert {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }
}

/* Additional Utility Classes */
.fw-bold {
  font-weight: 700 !important;
}

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

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

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

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

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

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

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

.vh-100 {
  height: 100vh !important;
}

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

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

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

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

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

.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

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

.col-12,
.col-6,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-10,
.col-lg-12 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.offset-lg-1 {
  margin-left: 8.333333%;
}

.offset-lg-2 {
  margin-left: 16.666667%;
}

@media (min-width: 768px) {
  .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  
  .d-lg-block { display: block !important; }
}

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