* {
  margin: 0%;
  padding: 0%;
  scroll-behavior: smooth;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  margin: 0%;
  overflow-x: hidden;
}

body .container {
  max-width: 1440px;
  padding-left: 20px;
  padding-right: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Orbitron", sans-serif;
}

h2 {
  font-weight: 800 !important;
}

section {
  overflow-x: hidden;
}

/* Navbar tweaks */
.navbar {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 10px 0px;
}

.navbar-brand img {
  width: 100%;
  max-width: 250px;
}

.navbar .nav-link {
  margin-left: 1rem;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: #ff0202 !important; /* highlight red from design */
}
.navbar .nav-link.active {
  color: #ff0202 !important; /* 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: #ff0202 !important;
  color: white !important;
}

/* header content */

.form-section {
  padding-top:50px;
  padding-bottom: 70px;
}

.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::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: #ff0202 !important;
  color: white;
  border-radius: 0px;
  font-size: 14px;
  padding: 15px 30px;
  border: none;
}

/* 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: 80px 0px 40px;
  background-color: #000000;
  position: relative;
}

footer .border-object {
  width: 180px;
  height: 180px;
  position: absolute;
  right: -5%;
  top: 20%;
  z-index: 10;
  overflow-x: clip;
}

.border-object span {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: transparent;
}

/* Base borders (1px) */
.border-object .blue {
  border: 1px solid #0fc0ea;
  left: 0;
  top: 0;
}

.border-object .green {
  border: 1px solid #50d650;
  left: 20px;
  top: 20px;
}

.border-object .yellow {
  border: 1px solid #e5ce00;
  left: 40px;
  top: 40px;
}

.border-object .pink {
  border: 1px solid #f50ca0;
  left: 60px;
  top: 60px;
}

/* Highlight Animation Effect */
.border-object span::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  border: 2px solid currentColor; /* thicker animated border */
  box-sizing: border-box;
  clip-path: inset(0 100% 0 0); /* start hidden */
  /* animation: borderMove 10s linear infinite; */
}

.border-object .blue::before {
  color: #0fc0ea;
}

.border-object .green::before {
  color: #50d650;
  animation-delay: 0.5s;
}

.border-object .yellow::before {
  color: #e5ce00;
  animation-delay: 1s;
}

.border-object .pink::before {
  color: #f50ca0;
  animation-delay: 1.5s;
}

/* Animation to "travel" the border */
@keyframes borderMove {
  0% {
    clip-path: inset(0 100% 0 0);
  } /* hidden */
  25% {
    clip-path: inset(0 0 100% 0);
  } /* top side */
  50% {
    clip-path: inset(0 0 0 100%);
  } /* right side */
  75% {
    clip-path: inset(100% 0 0 0);
  } /* bottom side */
  100% {
    clip-path: inset(0 100% 0 0);
  } /* back to start */
}

footer .container {
  z-index: 100;
}

footer .container .col-lg-4 img {
  max-width: 300px;
}

footer .container .col-lg-8 div {
  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: #ff0202 !important;
  color: white;
  border-radius: 0px;
  font-size: 15px;
  padding: 10px 15px;
}

/* 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 10px;
  }

  .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;
  }

  /* footer section */
  footer .border-object {
    width: 150px;
    height: 150px;
    position: absolute;
    right: -1%;
    bottom: 0%;
    z-index: 1;
    opacity: 0.3;
  }
}

@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;
  }

  /* footer section */
  footer .border-object {
    width: 150px;
    height: 150px;
    position: absolute;
    right: -1%;
    bottom: 0%;
    z-index: 1;
    opacity: 0.3;
  }

}

@media (min-width: 886px) and (max-width: 1025px) {
  /* navbar */
  .nav-container {
    margin-left: 0px !important;
  }

  .nav-container .nav-item {
    padding: 0px 5px !important;
  }

  .navbar-expand-lg .navbar-nav .dropdown-menu{
    right: auto;
  }

    /* footer section */
  footer .border-object {
    width: 150px;
    height: 150px;
    position: absolute;
    right: -1%;
    bottom: 0%;
    z-index: 1;
    opacity: 0.3;
  }

}
