* {
  font-family: "Nunito", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f8fcff !important;
  color: #474242;
}

/* cross icon */
.cross {
  display: none;
}

#cross {
  color: #474242 !important;
}

.nav-bg {
  background-image: linear-gradient(
    to left,
    rgb(229, 241, 255),
    white,
    rgb(242, 228, 255)
  );
}

.sign-up {
  background-color: rgba(255, 42, 67, 0.879);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sign-up:hover {
  background-color: #ff5757;
}

.sign-up a {
  color: white;
  text-decoration: none;
}

.section {
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
/* main hero section */
.hero-main {
    position: relative;
    background-image: url('../assets/contact-us-img.jpg');
    /*min-height: 570px;*/
    min-height:88vh;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}
/* navigation bar */
.logo-text {
  width: 200px;
  padding: 1rem;
}
.logo {
  display: none;
  width: 50px;
}
.navul {
  font-weight: 900;
}
.navul li {
  border: 3px solid transparent;
}
.navul li:hover {
  color: #ff5757 !important;
}
.intro {
  position: absolute;
  border-radius: 6px;
  background-color: #f8fcff;
  padding: 1.5rem 2rem;
  width: 700px;
  text-align: center;
  right: 0;
  left: 0;
  bottom: -8%;
  margin: 0 auto;
  line-height: 2;
  font-weight: bold;
  font-size: 1.2rem;
}

/* ----- MODAL ----- */
 .signup-modal {
  margin: auto;
  border: none !important;
  position: relative;
  background-color: white !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-modal {
    width: 80% !important;
    margin: auto;
    border: none !important;
    position: relative;
    background-color: white !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.7rem;
}

.yes {
    background-color: #474242;
    border: none !important;
    color: white;
}

    .yes:hover {
        background-color: #474242;
        border: none !important;
        color: white;
    }

.main-modal {
  width: 70% !important;
}

.signup-modal {
  width: 90% !important;
  /* height: 92vh; */
}

.modal-cross {
  position: absolute;
  top: 10px !important;
  right: 8px;
  font-size: 10px;
}

.modal-logo {
  width: 10%;
  padding-top: 2rem;
}

.modal-heading {
  text-align: center;
  padding: 1rem 0;
  /* color: #474242; */
}

.modal-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.email,
.pass, .email-s, .pass-s {
  /* width: 16rem; */
  padding: 0.4rem 0;
  text-align: left !important;
  display: flex;
  flex-direction: column;
}

.email, .pass {
  width: 16rem;
}

.email input, .email-s input, .pass-s input,
.pass input, .select3 select, .select2 select {
  padding: 6px;
  border: 0.5px solid gray;
  border-radius: 4px;
}

.email-l,
.pass-l {
  /* color: #474242; */
  padding: 0.25rem 0;
  /* font-weight: 500; */
}

.modal-submit {
  width: 16rem;
}

.modal-submit, .modal-submit-s {
  border: none;
  outline: none;
  border-radius: 4px;
  padding: 6px;
  margin: 1rem 0;
  color: white;
  background-color: #3c95d0;
}

.modal-signup {
  font-weight: bold;
}

.forgot {
  font-size: 0.8rem;
  padding: 0.3rem 0;
  text-align: right;
}

.modal-signup,
.forgot {
  text-decoration: none;
  color: #3c95d0;
}

.select-container {
  width: 22rem;
  padding: 0.4rem 0;
  text-align: left;
  display: flex !important;
  justify-content: space-between !important;
}

.email-s, .pass-s, .modal-submit-s {
  width: 22rem;
}

.select3, .select2 {
  display: flex;
  flex-direction: column;
}

.select3 select {
  width: 6rem;
}

.select2 select {
  width: 10rem;
}

/* main heading */
.heading {
  margin: 1rem auto;
  width: 80%;
  padding: 3rem 2rem 2rem 2rem;
  text-align: center;
}

.heading h1 {
  font-size: 2.75rem;
}

    .heading p,
    .about-text {
        font-size: 1.25rem;
        line-height: 1.75;
        margin-top: 12px;
    }

/* QUOTE SECTION */
.quote-section {
  margin: auto;
}

.reach{
    margin-top:10rem !important ;
}


.quote {
  line-height: 1.9;
  font-weight: 700;
  font-size:1.5rem;
  text-align:justify;
  margin-bottom:6rem;
}   
.contact-details {
  text-align: center;
}
#contact-d {
  font-size: 1.6rem;
  font-weight: 700;
}
.details {
  width: 100%;
  font-size: large;
}
.details span i {
  margin-right: 5px;
}
/* form */
.form-content {
  padding: 3rem;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 10px;
  background-color: white;
  text-align: center;
}
.abcd {
  display: flex;
  flex-direction: column;
}
.form-content input,
.form-content textarea,
.form-btn {
  border-radius: 3px !important;
}
.f-btn {
  background-color: #ff5757;
  color: white;
  font-weight: 700;
}
.f-btn:hover {
  background-color: #ff3838;
  color: white;
  font-weight: 700;
}
/* social link */
.wrapper .icon {
  position: relative;
  background-color: #ffffff;
  border-radius: 50%;
  margin: 10px;
  width: 45px;
  height: 45px;
  line-height: 50px;
  font-size: 18px;
  display: inline-block;
  align-items: center;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  color: #333;
  text-decoration: none;
  text-align: center;
}
.wrapper .facebook {
  background-color: white;
  color: #474242;
}
.wrapper .twitter {
  background-color: white;
  color: #474242;
}
.wrapper .instagram {
  background-color: white;
  color: #474242;
}
.wrapper .tooltip {
  position: absolute;
  top: 0;
  line-height: 1.5;
  font-size: 14px;
  background-color: #ffffff;
  color: #ffffff;
  padding: 5px 4px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wrapper .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background-color: #ffffff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wrapper .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}
.wrapper .facebook:hover,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip::before {
  background-color: #3b5999;
  color: #ffffff;
}
.wrapper .twitter:hover,
.wrapper .twitter:hover .tooltip,
.wrapper .twitter:hover .tooltip::before {
  background-color: #46c1f6;
  color: #ffffff;
}
.wrapper .instagram:hover,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip::before {
  background-color: #e1306c;
  color: #ffffff;
}
/* contact card section */
.contact-card {
  background-color: rgb(255, 255, 255);
  padding: 2rem 1.5rem !important;
  margin: 2rem 1rem;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 10px;
  gap: 2rem;
  height:10rem;
}

.contact-card i {
  font-size: 4rem;
  color: #007fd2;
  /* margin-right: 30px; */
}

.card-content {
  text-align: center;
}

.contact-form {
  margin-bottom: 6rem;
}

/* footer section */
footer {
  background-image: url(../assets/bg-patterns/random-grey-variations.png);
  background-repeat: repeat;
}
.footer-text,
.footer-links p,
.footer-contact {
  font-size: 0.9rem;
}
.footer-links p a {
  text-decoration: none !important;
}
.footer-links p a:hover {
  text-decoration: underline !important;
}


/* =======SMALL LAPTOP LAYOUT======= */
@media screen and (max-width: 1025px) {
    .intro {
        width: 600px;
        bottom: -5%;
    }

  .heading p,
  .about-text {
    font-size: 1.2rem;
  }

  .signup-modal {
    height: 93vh;
  }

    .hero-main {
        position: relative;
        /*min-height: 450px;*/
        min-height:88vh;
        background-size: cover;
        background-repeat: no-repeat;
    }
}


/* =========TABLET LAYOUT========= */
@media screen and (max-width: 920px) {
    .hero-main {
        position: relative;
        min-height: 490px;
        background-size: cover;
        background-repeat: no-repeat;
    }
    reach {
        margin-top: 0rem !important;
    }

    .quote{
        text-align:left;
    }

  .navul {
    background-color: rgba(248, 252, 255, 0.8);
    border-radius: 4px;
  }
    .intro {
        width: 500px;
        bottom: -5%;
    }
  .sign-up {
    background-color: transparent !important;
  }
  .sign-up:hover {
    background-color: transparent;
  }
  .sign-up a {
    color: rgba(0, 0, 0, 0.55);
  }
  /* heading */
  .heading {
    margin-top: 1rem;
  }
  .heading h1 {
    font-size: 2.5rem;
  }
  .heading p,
  .about-text {
    font-size: 1.15rem;
    text-align: center;
  }
  /* about content */
  .about {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }
  .about img {
    width: 50vw;
  }
  .about-text {
    width: 80vw;
  }
  /* quote section */
  .quote-section {
    text-align: center;
    margin-bottom: 3rem;
  }
}


/* ========= SMALL TABLET LAYOUT ========= */
@media screen and (max-width: 825px) {
  .heading {
    margin-top: 1rem;
  }

    .hero-main {
        position: relative;
        min-height: 480px;
        background-size: cover;
        background-repeat: no-repeat;
    }
}




/* ======== PHONE LAYOUT ========= */

@media screen and (max-width:600px){
    .form-content{
    padding:2rem !important;
    }

    .contact-card{
        height:13rem;
    }

}


@media screen and (max-width: 426px) {

    .hero-main {
        position: relative;
        min-height: 480px;
        background-size: cover;
        background-repeat: no-repeat;
    }


  .section {
    padding: 4rem 0;
  }
  .nav-button {
    outline: none !important;
    border: none !important;
    font-size: 18px;
    color: transparent !important;
  }
  .nav-button:focus {
    border: none !important;
    outline: none !important;
  }
  .logo-text {
    display: none;
  }
  .logo {
    display: block;
  }
  /* intro part */
    .intro {
        width: 290px;
        font-size: 16px;
        bottom: -5%;
    }
  .heading {
    margin-top: 1rem;
    padding-top: 3.25rem;
    width: 90%;
  }
  .heading h1 {
    font-size: 1.8rem;
  }
  .heading p,
  .about-text {
    font-size: 1rem;
  }
  /* contact part */
  .contact-info {
    display: flex !important;
    flex-direction: column;
  }

  .contact-card {
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
  }

  .contact-form {
    margin-bottom: 3rem;
  }

  /* modal  */
  /* --- MODAL --- */
  .main-modal,.signup-modal {
    width: 100% !important;
    padding: 0.2rem;
   }

   .modal-heading {
    padding: 0.5rem 0;
   }

   .modal-logo {
    width: 12%;
   }

   .signup-modal {
    height: 100% !important;
   }

   .select-container {
    width: 16rem;
   }

   .email-l, .pass-l {
    font-size: 14px;
   }

   #gender {
    width: 5rem !important;
   }

   .select3 select {
    width: 4rem;
   }

   .select2 select {
    width: 7.25rem;
   }

   .email-s, .pass-s, .modal-submit-s {
    width: 16rem;
   }
}   

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}



.footer-name {
    text-decoration: none;
    color: rgb(148, 146, 146) !important;
}

.animated-icon {
    animation: pop 0.3s ease;
}

@keyframes pop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}