@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Irish+Grover&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap");

body {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: fit-content;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
  overflow-y: hidden;
  font-family: inter;
}
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #e0eae8;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.5s ease-out;
}

/* Loader Animation */
.spin {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(62, 128, 118, 0.3);
  border-top: 5px solid #4361EE;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
main {
  height: 100%;
  background-image: url(image/contactus.svg);
  overflow-y: scroll;
}
/* header {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  justify-content: space-between;
  box-sizing: border-box;
  background-color: #ffffff;
}
.header-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  justify-content: space-between;
  box-sizing: border-box;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-nav {
  display: flex;
  flex-direction: row;
  /* padding-left: 156px;
  padding-right: 336px; 
}


.navs {
  text-decoration: none;
  height: fit-content;
  opacity: 0px;
  align-content: center;
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  color: #000000;
}

.header-nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.header-nav ul li {
  position: relative;
  padding: 0;
  margin: 0;
}

.newlogin {
  display: none;
}
.header-nav ul li a {
  font-family: "Inter", sans-serif;
  text-decoration: none;
  font-size: 18px;
  color: #333;
  transition: color 0.3s ease;
}

.header-nav ul li a:hover {
  color: #4361EE;
}*/

/* Underline Effect
.header-nav ul li::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 5px;
  background-color: #4361EE;
  transition: width 0.3s ease;
}

.header-nav ul li:hover::after {
  width: 100%;
}
.header-nav li,
a {
  padding: 0;
  margin: 0;
  width: fit-content;
}
.login {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 19.36px;
  text-align: left;
  font-style: normal;
  padding: 10px;
  background-color: transparent;
  color: #4361EE;
}
.signup {
  width: fit-content;
  padding: 10px;
  border-radius: 18px;
  opacity: 0px;
  background-color: #4361EE;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 19.36px;
  text-align: center;
  color: #ffffff;
}
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 9999999999999999999999999999999999999999999999999999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  transform: translateY(-100%);
  transition: transform 1s ease;
}
.static-header {
  color: #fff;
  padding: 1rem;
}
.header-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hidden {
  opacity: 0;
  visibility: hidden;
}

.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
}

.fixed-header.hidden {
  transform: translateY(-100%);
}

.fixed-header.show {
  transform: translateY(0);
}
.mobile-view {
  display: none;
}
.navbar {
  display: none;
} */
.main-content {
  display: none;
}

* {
  margin: 0;
  padding: 0;
}
main {
  height: fit-content;
  height: 100%;
  overflow-y: scroll;
}
section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 50px;
  height: fit-content;
}
#contact-div {
  width: 600px;
  display: flex;
  gap: 400px;
  /* gap: 350px; */
  width: 100%;
  align-content: center;
  align-items: center;
  top: 80px;
  height: fit-content;
}
.form-container {
  width: 90%;
  height: 90%;
}
.outerdiv {
  width: 600px;
  height: 600px;
  gap: 0px;
  border-radius: 25px;
  border: 6px solid #ffffff;
  opacity: 0px;
  background: #e0eae8;
  display: flex;
  align-items: center;
  flex-direction: column;
  /* top: 50%;
  right: 0;
  transform: translateY(-50%);
  /* top: 30px;
  right: 120px; */
  box-sizing: border-box;
  z-index: 99;
  padding: 18px 18px;
}
.overall {
  width: 100%;
  height: 100%;
  align-items: center;
  display: flex;
  justify-content: center;
}

.globe img {
  width: 500px;
  height: 420px;
  position: fixed;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
}
.reachout-div {
  position: absolute;
  left: 20px;
  bottom: 30px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
h1 {
  font-family: Inter;
  font-size: 24px;
  font-weight: 700;
  line-height: 40px;
  text-align: left;
}
.second-img {
  display: none;
}
.outerdiv p {
  font-family: PT Serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20.9px;
  text-align: left;
  padding-bottom: 10px;
}
span {
  font-family: PT Serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 15px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}
.inner-div2,
.contact-no {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  width: 100%;
  height: fit-content !important;
  padding-top: 6px;
}
label {
  padding: 0;
  margin: 0;
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  line-height: 15px;
  text-align: left;
  padding-bottom: 10px;
}
.formbox {
  width: 100%;
  background-color: aqua;
}
.name-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}
input,
select {
  border: 1px solid #00000080;
  padding: 8px;
  font-size: 14px;
   font-family: "Inter", sans-serif;
   outline: none;
   
}
#message {
  height: 100px;
  border: 1px solid #00000080;
  margin-bottom: 6px;
  padding: 10px;
   outline: none;
}

.name-info input {
  width: 98;
}
.phone-input-container {
  position: relative;
}
.phone-number-input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  box-sizing: border-box;
}
.dropdown {
  width: fit-content;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  z-index: 1000;
  display: none;
  max-height: 150px;
  overflow-y: auto;
}
.dropdown div {
  padding: 8px;
  cursor: pointer;
}
.mobile-header {
  display: none;
}
.dropdown div:hover {
  background-color: #f0f0f0;
}
button {
  width: 123px;
  height: 35px;
  padding: 10px;
  gap: 10px;
  border-radius: 25px;
  opacity: 0px;
  background: #191919;
  font-family: Inter;
  font-size: 16px;
  font-weight: 300;
  line-height: 24.2px;
  text-align: center;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}
section {
  /* background-position: center; */
  animation: 1s 1s infinite alternate;
  /* background-size: 100% 100%; */
  box-sizing: border-box;
  animation: fadeInScale 1.2s ease-in forwards; /* Add animation */
}
/* Define the animation */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.9); /* Slightly smaller */
  }
  100% {
    opacity: 1;
    transform: scale(1); /* Normal size */
  }
}
.submit-btn {
  padding-top: 10px;
}
/* Spinner animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Spinner class */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}
.reach-out {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.reach-out p {
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  color: #ffffff;
  margin: 0;
  padding: 0;
}

.mobile-img {
  display: none;
}
.title {
  width: 100%;
  height: fit-content;
}
@media screen and (max-width: 1200px) {
  body {
    width: 100%;
  }
  section {
    width: calc(100% -20px);
    align-items: center;
    box-sizing: border-box;
    height: fit-content;
    position: relative;
  }
  .outerdiv {
    width: 100%;
    justify-content: center;
    height: fit-content;
    align-items: center;
  }
  .submit-btn {
    padding: 0;
    padding-top: 10px;
  }
  .desktop-img {
    display: none;
  }

  .mobile-reachout {
    display: block;
    position: absolute;
    bottom: 0px;
  }
  .desktop-reachout {
    display: none;
  }
  .mobile-img {
    display: block;
    top: 0;
    left: 0;
  }
  .globe {
    position: absolute;
    width: fit-content;
    height: fit-content;
    left: 0;
  }
  .globe img {
    width: 400px;
    height: 320px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
  }
  .reachout-div {
    position: relative;
    width: fit-content;
    left: 0;
    margin-top: 20px;
    padding: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    margin-left: -56%;
  }
  .reach-out {
    gap: 0px;
  }
  #contact-div {
    width: 100%;
    height: 1200px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 80px;
  }
  .reach-out p {
    font-size: 16px;
    padding: 0;
    padding-left: 4px;
    color: #4361EE;
  }

  .title {
    padding: 0;
  }
  .title h1 {
    font-size: 18px;
    padding: 0;
    margin: 0;
  }
  .form-container {
    height: 85%;
  }
  .title p,
  span {
    font-size: 14px;
    line-height: 15.9px;
    padding: 0;
  }
  label {
    font-size: 18px;
    padding-bottom: 3px;
  }

  #contact-form {
    height: 100%;
  }
  .first-img {
    display: none;
  }
  .name-info {
    flex-direction: column;
    gap: 0;
  }
  .second-img {
    display: block;
    left: 0;
  }
  #phone-number {
    padding: 10px;
  }
  #message {
    height: 100px;
    padding: 10px;
  }
  .submit-btn button {
    height: 30px;
    width: 130px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
  }
  .globe {
    top: 0;
  }
  
}
@media screen and (max-width: 720px) {
  body {
    overflow: scroll;
  }
  .globe {
    top: 30%;
  }
  .reach-out p {
    font-size: 14px;
  }
  .reachout-div {
    margin-left: -45%;
  }

  .outerdiv {
    width: 100%;
    top: 50px;
  }
  section {
    padding: 10px 20px;
  }
}

@media screen and (max-width: 520px) {
  body {
    height: fit-content;
  }
  .reachout-div {
    margin-left: -20%;
  }
  .globe img {
    width: 250px;
  }
  section {
    padding: 6px;
  }
  .outerdiv {
    width: 100%;
    padding: 10px 0px;
    border-radius: 0;
  }
}
@media screen and (max-width: 350px) {
  body {
    width: 100%;
  }
  .reachout-div {
    margin-left: -10%;
  }
  .globe img {
    width: 250px;
    top: 5%;
  }

}
