@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Merriweather;
}

body {
  font-family: "Arial", sans-serif;
  color: #1e1e1e;
}
 
/* Top Heading */
.header {
    margin: 0 auto;
    background-color: #1E4B8B;
    color: #ffffff;
    text-align: center;
    padding: 5rem 0.5rem;
}

.header h1 {
    font-size: 64px;
    font-weight: 400;
    font-family: "Merriweather", serif;
    line-height: 28px;
}
.contact-section {
  padding: 50px 20px;
  margin: 0 auto;
  max-width: 1920px;
  background-color: #f9f9f9;
  color: #222;
}

.contact-container {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  padding: 20px 150px;
  justify-content: space-around;
  gap: 110px;
}

.contact-left,
.contact-right {
  flex: 1 1 45%;
  min-width: 300px;
}
.contact-left{
    margin-top: 68px;
}
.contact-left h1 {
    font-size: 64px;
    font-family: "Merriweather", serif;
    font-weight: 400;
    margin-bottom: 35px;
    line-height: 28px;
    color: #1e1e1e;
}

.contact-left p {
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
    line-height: 28px;
    font-weight: 400;
    color: #1E1E1E;
}

.contact-left a {
  color: #1c4f85;
  text-decoration: underline;
  font-family: "Montserrat", sans-serif;
}

#contactForm {
  display: flex;
  flex-direction: column;
  padding: 0px 20px;
}

#contactForm label {
  margin-bottom: 5px;
  font-weight: bold;
}

#contactForm input,
#contactForm textarea {
  padding: 12px;
  width: 100%;
  margin-bottom: 38px;
  max-width: 100%;
  border: none;
  outline: none;
  border-radius: 10px;
  background-color: #D9D9D9;
  color: #1E1E1E;
  font-family: 'Montserrat';
  font-size: 32px;
  font-weight: 400;
}

#contactForm input,
#contactForm textarea::placeholder{
  font-size: 32px;
  font-family: "Montserrat", sans-serif;
  line-height: 28px;
  font-weight: 400;
}

#contactForm textarea {
  resize: vertical;
  height: 210px;
}

#contactForm button {
  margin: 15px auto ;
  background-color: #099db4;
  color: #fff;
  /* width: 40%; */
  border: none;
  padding: 20px 45px 19px 46px;
  border-radius: 8px;
  font-size: 20px;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
  line-height: 24px;
    font-weight: 500;
}
.error{
    font-size: 11px;
    font-weight: 400;
    color: #B4000080;
  }


  .btn-primary,
button,
.submit-btn {
  background-color: #17A2B8;
  color: white;
  font-size: 20px;
   font-family:  'Montserrat';
}
.btn-primary > span{
  font-family:  'Montserrat';
}
.submit-btn:disabled,
.btn-primary:disabled{
    background-color: #5a5858; /* gray */
  color: #ffffff;
  cursor: not-allowed;
  opacity: 0.6;
}
/* Spinner only when disabled */
.btn-primary:disabled::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 2px solid #666;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loader {
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
}

/* Animation */
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
/* #contactForm button:hover,
#contactForm button:focus {
  background-color: #077f91;
  outline: 2px solid #055b6b;
} */

@media (max-width:1139px) and (min-width:768px){
  #contactForm {
    padding: 0px 0px !important;
}
.contact-container {
    gap: 50px !important;
}
.contact-left h1 {
    font-size: 45px !important;
    line-height: 55px !important;
}
.contact-container {
    padding: 20px 30px !important;
}
}
@media (max-width:1439px){
  .contact-container{
    padding: 20px 50px;
  }
}
@media (max-width:1240px){
  .contact-container{
    padding: 20px 0px;
  }
}
@media (max-width: 1024px) {
.contact-left {
    margin-top: 0px !important;
}
}
/* Mobile Responsive */
@media (max-width: 768px) {
  
  .contact-left h1{
    font-size: 45px;
    text-align: center;
  }
  
  .contact-left p{
    font-size: 18px;
    text-align: center;
  }
  
  .contact-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-left,
  .contact-right {
    flex: 1 1 100%;
  }
  #contactForm input,
  #contactForm textarea::placeholder{
  font-size: 26px;
}
}

@media (max-width:440px){
  .header h1{
    font-size: 26px;
  }
.contact-section{
  padding: 50px 30px;
}
    .contact-left h1
 {
        font-size: 30px;
        text-align: center;
    }
#contactForm button{
  padding: 15px 12px;
}
}
@media (max-width:600px){
p.you-can-also br {
    display: none;
}
}