@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.topnav {
  background: url(images/bg.jpg);
}

.topnav span {
  color: aliceblue;
}

header span {
  font-size: 40px;
}

.nav-pills a {
  color: aliceblue;
}

.dropdown-menu a {
  color: #333;
}

.nav-pills a:hover {
  color: rgb(3, 104, 129);
  /* transition-delay: 0ms; */
  border: 1px solid black;
  background-color: rgb(249, 250, 250);
}

.home a:hover {
  font-weight: 600;
}

.aboutus a:hover {
  font-weight: 600;
}

.contactus a:hover {
  font-weight: 600;
}

.products a:hover {
  font-weight: 600;
}

.contactus a {
  color: #333;
  padding-top: 4px;
  padding-bottom: 4px;
  border: 2px solid black;
  border-top: 5px solid lightgrey;
  border-bottom: 5px solid grey;
  border-left: 5px solid lightgrey;
  border-right: 5px solid grey;
  /* background-color: rgb(242, 247, 247); */
  background-color: rgb(249, 250, 250);
  font-weight: 600;
}

.dropdown-menu li {
  position: relative;
}

.dropdown-menu .dropdown-submenu {
  display: none;
  position: absolute;
  left: 70%;
  top: 7px;
}

.dropdown-menu .dropdown-submenu-left {
  right: 100%;
  left: auto;
}

.dropdown-menu > li:hover > .dropdown-submenu {
  display: block;
}

.contactpage {
  position: relative;
  min-height: 100vh;
  padding: 50px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: url(images/bg.jpg);

  background-size: cover;
  /* background-position: center; */
}

.contactpage .content {
  max-width: 800px;
  text-align: center;
}

.contactpage .content h2 {
  font-size: 3em;
  color: aliceblue;
  font-weight: 500;

  /* text-align: center; */
}

.contactpage .content p {
  font-size: 1.1em;
  font-weight: 300;
  color: aliceblue;
}

.container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-top: 30px;
}

.container .contactinfo {
  width: 50%;
  display: flex;
  flex-direction: column;

  min-height: 500px;
}

.container .contactinfo .box {
  position: relative;
  padding: 20px 0;
  display: flex;
  cursor: pointer;
}

.container .contactinfo .box .icon {
  min-width: 60px;
  height: 60px;
  background: #fff;
  justify-content: center;
  align-items: center;
  padding-left: 18px;
  padding-top: 8px;
  font-size: 1.75em;
  transition: 0.5s;
}

.container .contactinfo .box:hover .icon {
  background: #00bcd4;
  color: #fff;
}

.container .contactinfo .box .text {
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  font-size: 1.1em;
  color: #fff;
  font-weight: 300;
}

.container .contactinfo .box .text h3 {
  font-weight: 500;
  color: aquamarine;
}

.container .contactinfo .txt {
  color: #fff;
  margin-top: 50px;
  font-weight: 500;
  padding-left: 10px;
  border-left: 50px solid #e91e63;
  line-height: 1em;
}

.container .contactinfo .txt a {
  color: #fff;
}

.txt {
  position: relative;
  display: flex;
  gap: 30px;
  margin: 20px 0;
}

/* .sci li {
    list-style: none;
}

.sci li a {
    color: #fff;
    font-size: 2em;
    transition: 0.5s;
} */

.txt a:hover {
  color: #6a7179;
}

.container .contactForm {
  position: relative;
  width: 40%;
  background: #fff;
  min-height: 100px;
  padding: 60px;
}

.container .contactForm h2 {
  font-size: 2em;
  color: #333;
  font-weight: 500;
}

.container .contactForm .inputBox {
  position: relative;
  width: 100%;
  margin-top: 20px;
}

.container .contactForm .inputBox input,
.container .contactForm .inputBox textarea {
  width: 100%;
  padding: 5px 0;
  font-size: 1.1em;
  margin: 10px 0;
  border: none;
  border-bottom: 2px solid #333;
  outline: none;
  resize: none;
}

.container .contactForm .inputBox span {
  position: absolute;
  left: 0;
  pointer-events: none;
  padding: 5px 0;
  margin: 10px 0;
  font-size: 1.1em;
  color: #666;
  transition: 0.5s;
}

.container .contactForm .inputBox input:focus ~ span,
.container .contactForm .inputBox textarea:focus ~ span,
.container .contactForm .inputBox input:valid ~ span,
.container .contactForm .inputBox textarea:valid ~ span {
  color: #e91e63;
  font-size: 0.9em;
  transform: translateY(-20px);
}

.container .contactForm .inputBox .submitbutton {
  width: 100px;
  background: #00bcd4;
  color: #fff; /* Text color must be visible on background */
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 1.1em;
  font-weight: 500;
  text-align: center;
}

.container .contactForm .inputBox input[type="button"]:hover {
  background-color: rgb(132, 218, 221);
  color: black;
}

#head {
  justify-content: center;
}

.icon {
  width: 60px;
  height: 60px;
  margin-top: 4px;
  /* display: none; */
}

#info-btn {
  display: none;
}

.nav-pills {
  margin-top: 4px;
}

@media (max-width: 550px) {
  #home-btn,
  #aboutus-btn,
  #products-btn,
  #contact-btn {
    display: none;
  }

  .icon {
    display: flex;
    width: 90px;
    padding-top: 0;
    margin-bottom: 10px;
  }

  .dropdown-toggle::after {
    display: none;
  }

  #head {
    justify-content: space-between;
  }

  #nbsp {
    display: none;
  }

  #dropcontact {
    border: 1px solid rgb(11, 19, 59);
    /* border-radius: 4px; */
    color: #036881;
    font-weight: bold;
  }

  #info-btn {
    display: flex;
  }
}

/* responsive */

@media (max-width: 1366px) {
}

@media (max-width: 1024px) {
  #nbsp {
    width: 250px;
  }

  .contact {
    padding: 50px;
  }

  .container {
    flex-direction: column;
  }

  .container .contactinfo,
  .container .contactForm {
    width: 100%;
  }
}

@media (max-width: 991px) {
  .contact {
    padding: 50px;
  }

  .container {
    flex-direction: column;
  }

  .container .contactinfo,
  .container .contactForm {
    width: 100%;
  }
}

@media (max-width: 768px) {
  #nbsp {
    width: 35px;
  }
}

@media (max-width: 428px) {
  .contactpage {
    padding: 0;
  }

  .container .contactinfo .box .icon {
    padding-left: 0;
    padding-top: 0;
  }

  .container {
    margin-bottom: 30px;
    margin-top: 0;
  }

  .content h2 {
    margin-top: 20px;
  }

  #mob {
    display: block;
  }
}

@media (max-width: 412px) {
  .content h2 {
    margin-top: 20px;
  }

  #mob {
    display: block;
  }
}

@media (max-width: 390px) {
}

@media (max-width: 384px) {
}

@media (max-width: 375px) {
}

@media (max-width: 360px) {
  .contactpage .content h2 {
    font-size: 35px;
  }

  .container .contactinfo .box .text {
    font-size: 16px;
  }

  .container .contactForm {
    padding: 30px;
  }
}
