:root {
    --ink: #170a2b;
    --ink2: #22103f;
    --jac: #9b7bff;
    --jac2: #6d46e8;
    --gul: #ff6a3d;
    --cream: #f6ecdc;
    --txt: #f3ecff;
    --mut: #b9aad6;
    --line: rgba(255, 255, 255, .14);
}

html {
    scroll-padding-top: 90px;
    scroll-behavior: smooth;
    height: 100%
}

body {
    background: var(--ink);
    color: var(--txt);
    font-family: 'DM Sans', system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: hidden
}

body .container {
  max-width: 1440px;
  padding-left: 20px;
  padding-right: 20px;
}

h1,
h2,
h3,
h4,
.brand {
    font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif;
    letter-spacing: -.02em;
    line-height: 1.05
}

a {
    color: inherit
}

h2 {
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    font-weight: 800;
    margin-bottom: 1.2rem
}

/* Navbar tweaks */
.navbar {
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 10px 0px;
  background: rgba(23, 10, 43, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line)
}

.navbar-brand img {
  width: 100%;
  max-width: 250px;
}

.navbar .nav-link {
  margin-left: 1rem;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: var(--jac); /* highlight red from design */
}
.navbar .nav-link.active {
  color: var(--jac); /* highlight red from design */
  font-weight: bold;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
  position: absolute;
  right: 0;
  left: auto;
}

.dropdown-item {
  color: black !important;
  font-size: 12px;
}

.dropdown-item:active {
  background-color: var(--jac);
  color: white !important;
}

/* header content */

.form-section {
  padding-top:50px;
  padding-bottom: 70px;
  background-color: var(--cream);
  color: black;
}

.form-section h1 {
  font-size: 35px;
  font-weight: 900;
}

.form-check {
  padding-left: 25px;
}

.form-check-input[type="radio"] {
  border: 1px solid #797979;
}

.form-control {
  background-color: #DFDFDF;
  border: 1px solid #797979;
  border-radius: 5px;
  padding: 10px;
}

.form-select {
  background-color: #DFDFDF;
  border: 1px solid #797979;
  border-radius: 5px;
  padding: 10px;
}

.form-control::placeholder {
  color: #d0cdcd;
}

.form-section label {
  margin-bottom: 8px;
}

.form-section #select {
  display: none;
}

.form-section #selfDetails {
  display: none;
}

.form-section .blockquote-footer {
  margin: 10px 0px;
}

.form-check-input[type="checkbox"] {
  border: 1px solid #797979;
}

.form-section button {
  background-color: var(--gul) !important;
  color: #000000;
  border-radius: 20px;
  font-size: 14px;
  padding: 10px 15px;
  font-weight: bold;
  border: none;
  width: 150px;
}

/* Questions */

.questions {
  padding: 60px 0px 30px;
}

.questions h5 .btn {
  text-decoration: none;
  border: none;
  outline: none;
  color: black;
  font-weight: 600;
  padding: 10px 0px;
  width: 100%;
  text-align: left;
}

.questions h5 .btn:hover {
  color: black;
  text-decoration: none !important;
  outline: none !important;
}

.questions h5 .btn.dropdown-item:active {
  border: 1px solid pink;
}

/* /* footer  */

footer {
  padding: 70px 0px 40px;
  position: relative;
}

footer .container {
  z-index: 100;
}

footer .container .col-lg-4 img {
  max-width: 300px;
}

footer .container .col-lg-8 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  row-gap: 25px;
}

footer .container .logo {
  max-width: 330px;
}

footer .container .reach-out {
  max-width: 350px;
  margin: auto;
  display: flex;
}

footer .container form {
  display: flex;
  row-gap: 10px;
}

footer .container form input {
  background-color: transparent;
  border: 1px solid #c3c3c3;
  border-radius: 5px;
  width: 100%;
  padding: 5px 10px;
}

footer .container p {
  color: #c3c3c3;
}

footer .container hr {
  height: 2px;
  background-color: white;
  width: 90%;
  margin: auto;
}

footer .container form button {
  background-color: var(--gul);
  color: #000000;
  border-radius: 5px;
  font-size: 16px;
  padding: 10px 15px;
  border: none;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 60px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #ffffffa7;
  cursor: pointer;
  border-radius: 50%;
  padding: 0px;
}

/* media Query section */
@media (min-width: 320px) and (max-width: 428px) {
  .navbar-brand img {
    height: 20px !important;
  }

  .navbar-expand-lg .navbar-nav .dropdown-menu{
    right: auto;
  }

  .navbar>.container{
    padding: 0px 20px;
  }

  .form-section h1 {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
  }

  .form-section h4 {
    font-size: 18px;
    text-align: center;
  }

  .form-section h5 {
    font-size: 16px;
  }

  form {
    padding: 0px;
  }

  form label {
    font-size: 15px;
  }

}

@media (min-width: 760px) and (max-width: 885px) {

  #homepage-hero {
    padding-top: 30vh;
    color: white;
    text-align: center;
  }

  .header-content h5 {
    font-size: 1.5em;
    font-weight: 700;
    line-height: 40px;
  }

  .header-content p {
    font-size: 1em;
    font-weight: 500;
  }

  /* about section */
  .about-section p {
    text-align: justify;
  }

}

@media (min-width: 886px) and (max-width: 1025px) {
  /* navbar */
  .nav-container {
    margin-left: 0px !important;
  }

  .nav-container .nav-item {
    padding: 0px 5px !important;
  }

}
