:root {
  --clr-blue: #def1ff;
  --clr-theme: #123251;
  --clr-darkgrey: #4b4b4b;
}


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--clr-white);
  color: var(--clr-white);
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.navbar-light .navbar-nav .nav-link.active {
  color: var(--clr-theme);
}

.navbar-light .navbar-nav .nav-link {
  color: var(--clr-darkgrey);
}

/* custom header */

body {
  font-family: Arial, sans-serif;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  z-index: 1;
  top: 40px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
  color: black;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  color: var(--clr-theme);
}

.dropdown-content a:first-child{
  border-bottom: 1px solid #f1ebeb;
} 

.dropdown:hover .dropdown-content {
  display: block;
}

textarea{
resize: none;
}

/* footer */

footer {
  background: url("../img/ellipse1.png") no-repeat right top -29%,
    url("../img/ellipse2.png") no-repeat left -5% bottom -30%, var(--clr-blue);
  background-size: 10%, 16%;
}

.footer-heading {
  font-size: 1.875rem;
  font-weight: var(--fw-regular);
  color: var(--clr-black);
}

.footer-text {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.form-control {
  box-shadow: none !important;
  outline: 0 !important;
  border: none !important;
  border-radius: 10px;
  color: var(--clr-black);
  padding: 25px 0.75rem;
  background: #fff !important;
}

.form-group input:focus,
.form-group textarea:focus {
  border-radius: 10px;
  color: var(--clr-black);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #00000080;
}

.form-group {
  margin-bottom: 13px;
}

button[type="submit"] {
  background-color: #123251;
  border-radius: 20px;
  padding: 8px 25px;
  color: #fff;
}

footer .btn:hover{
  color: #fff;
}

input:-webkit-autofill {
  background-color: #f0f0f0 !important;
}

input:not(:-webkit-autofill) {
  background-color: #ffffff !important; 
}

.error{
  color: #b94a48;
  margin-bottom: 0;
  font-size: 14px;
}

.success{
  color: #008000;
}

.gotop {
  position: fixed;
  left: auto;
  top: auto;
  right: 0;
  bottom: 20px;
  width: 31px;
  height: 31px;
  margin-right: 20px;
  margin-bottom: 20px;
  padding-top: 0;
  border-radius: 80px;
  background-color: var(--clr-theme);
  background-image: url("../img/gotop.svg");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: auto;
  z-index: 10;
  cursor: pointer;
  display: none;
}

#success-message .alert-success {
  color: #155724;
  background-color: rgba(255, 255, 255, 0);
   font-size: 14px;
  margin-bottom: 0;
}

#success-message .alert {
  padding: 10px 0;
  border: none;
}

#success-message .alert-danger {
  color: #dd4c59;
  background-color: rgba(255, 255, 255, 0);
  font-size: 14px;
  margin-bottom: 0;
}

.errorMessage{
  font-size: 14px;
  color: #c12d2d;
  padding-top: 6px;
}



@media screen and (min-width: 1600px) {
  .footer-heading {
    font-size: 2.5rem;
  }

  footer {
    background-size: 9%, 13%;
  }
}

@media screen and (max-width: 1199px) {
  footer h4 {
    max-width: 31ch;
  }

  footer {
    background: url("../img/ellipse1.png") no-repeat right top -16%,
      url("../img/ellipse2.png") no-repeat left -5% bottom -16%, var(--clr-blue);
    background-size: 10%, 17%;
  }
}

@media screen and (max-width: 991px) {
  .navbar-light .navbar-toggler {
    border: none;
  }

  .navbar-toggler .icon-bar {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 1px;
    background: #686868;
    transition: 0.4s;
  }

  .navbar-toggler .icon-bar + .icon-bar {
    margin-top: 4px;
  }

  .change .bar1 {
    transform: translate(0, 3px) rotate(-45deg);
  }

  .change .bar2 {
    opacity: 0;
  }

  .change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
  }

  .dropdown-content{
    position: static;
    max-width: 100%;
    box-shadow: none;
  }

  footer {
    background: url(../img/ellipse1.png) no-repeat right top -16%,
      url(../img/ellipse2.png) no-repeat left -5% bottom -16%, var(--clr-blue);
    background-size: 12%, 17%;
  }
}

@media screen and (max-width: 767px) {
  .footer-heading {
    font-size: 1.625rem;
  }

  footer h4 {
    max-width: 40ch;
    padding-bottom: 2rem;
    margin: auto;
    text-align: center;
  }

  footer {
    background: url("../img/ellipse1.png") no-repeat right top -9%,
      url("../img/ellipse2.png") no-repeat left -5% bottom -7%, var(--clr-blue);
    background-size: 14%, 17%;
  }
}

@media screen and (max-width: 575px) {
  footer {
    background-image: none;
  }
}
