:root {
  --primary: #ed6436;
  --secondary: #65c178;
  --dark: #181818;
  --light: #f6f6f6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #555;
  font-family: "Nunito Sans", Arial, sans-serif;
  line-height: 1.65;
  margin: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: #c94c22;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  color: #222;
  font-family: "Nunito", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

img {
  max-width: 100%;
  object-fit: cover;
}

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

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

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

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

.display-3 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.08;
}

.display-4 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
}

.display-5 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.navbar {
  min-height: 72px;
}

.navbar-dark .navbar-nav .nav-link {
  color: #fff;
  font-family: "Nunito", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 26px 18px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active,
.dropdown-item:hover {
  color: var(--primary);
}

.dropdown-menu {
  border: 0;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .16);
}

.dropdown-item {
  color: #333;
  font-weight: 700;
  padding: 12px 22px;
}

.btn {
  border-radius: 4px;
  font-family: "Nunito", Arial, sans-serif;
  font-weight: 800;
  white-space: normal;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: #d95628;
  border-color: #d95628;
  color: #fff;
}

.btn-secondary {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

.btn-secondary:hover {
  background: #4dae62;
  border-color: #4dae62;
  color: #fff;
}

.btn-outline-light:hover {
  color: var(--dark);
}

.carousel,
.carousel-inner,
.carousel-item {
  min-height: 520px;
}

.carousel-item img.w-100 {
  height: 520px;
  object-fit: cover;
}

.carousel-caption {
  background: rgba(0, 0, 0, .45);
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
}

.carousel-control-prev,
.carousel-control-next {
  width: 8%;
}

.card {
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
  height: 100%;
  overflow: hidden;
}

.card-img-top {
  aspect-ratio: 16 / 10;
  background: #ddd;
  object-fit: cover;
}

.position-relative .position-absolute {
  text-align: center;
}

.img-fluid {
  border-radius: 4px;
}

.table {
  margin-bottom: 0;
}

.table td {
  border-color: #eee;
  vertical-align: middle;
}

.list-group-flush {
  overflow-x: auto;
}

.container.py-5,
.container-fluid.py-5,
.container-fluid.pt-5 {
  position: relative;
}

.bg-dark p,
.bg-dark a,
.bg-dark h1,
.bg-dark h5 {
  color: #fff;
}

.back-to-top {
  bottom: 24px;
  display: none;
  position: fixed;
  right: 24px;
  z-index: 99;
}

.back-to-top.show {
  display: inline-flex;
}

form input,
form select,
form textarea,
.form-control {
  border: 1px solid #ddd;
  border-radius: 4px;
  min-height: 48px;
  padding: 10px 14px;
  width: 100%;
}

@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link {
    padding: 10px 0;
  }

  .dropdown-menu {
    box-shadow: none;
    margin-bottom: 10px;
  }
}

@media (max-width: 767.98px) {
  .carousel,
  .carousel-inner,
  .carousel-item,
  .carousel-item img.w-100 {
    min-height: 420px;
    height: 420px;
  }

  .display-3 {
    font-size: 2.25rem;
  }

  .card-header .display-4 {
    font-size: 2rem;
  }

  table,
  tbody,
  tr,
  td {
    width: 100%;
  }
}
