/* Contact Page Styles */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Page Container */
.contact-page {
  font-family: 'Poppins', sans-serif;
  background: #FFFFFF;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Contact Header */
.contact-header {
  width: 100%;
  height: 120px;
  background: #274472;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 0;
}

.contact-header__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  color: #FFFFFF;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Responsive adjustments */
@media screen and (min-width: 1700px) {
  .contact-header {
    height: 200px;
  }
  
  .contact-header__title {
    font-size: clamp(40px, 3vw, 60px);
  }
  
  .contact-main {
    max-width: 1600px;
  }
  
  .contact-info {
    width: 700px;
  }
  
  .contact-info__title {
    font-size: 60px;
  }
  
  .contact-info__label {
    font-size: 28px;
  }
  
  .contact-info__value {
    font-size: 22px;
  }
}

@media screen and (min-width: 2000px) {
  .contact-header {
    height: 240px;
  }
  
  .contact-header__title {
    font-size: 70px;
  }
  
  .contact-main {
    max-width: 1900px;
    padding: 60px 40px;
  }
  
  .contact-info {
    width: 850px;
  }
  
  .contact-info__title {
    font-size: 72px;
  }
  
  .contact-info__label {
    font-size: 32px;
  }
  
  .contact-info__value {
    font-size: 26px;
  }
  
  .contact-form-container {
    max-width: 700px;
  }
  
  .form-label {
    font-size: 20px;
  }
  
  .form-input,
  .form-textarea {
    font-size: 18px;
    padding: 16px;
  }
  
  .form-submit-btn {
    font-size: 20px;
    padding: 14px 32px;
  }
}

@media screen and (min-width: 2400px) {
  .contact-header {
    height: 280px;
  }
  
  .contact-header__title {
    font-size: 85px;
  }
  
  .contact-main {
    max-width: 2300px;
    padding: 80px 60px;
  }
  
  .contact-info {
    width: 1000px;
  }
  
  .contact-info__title {
    font-size: 85px;
  }
  
  .contact-info__label {
    font-size: 38px;
  }
  
  .contact-info__value {
    font-size: 30px;
  }
  
  .contact-form-container {
    max-width: 850px;
  }
  
  .form-label {
    font-size: 24px;
  }
  
  .form-input,
  .form-textarea {
    font-size: 22px;
    padding: 20px;
  }
  
  .form-submit-btn {
    font-size: 24px;
    /* padding: 18px 40px; */
  }
  
  .contact-map iframe {
    width: 700px;
    height: 500px;
  }
}

@media screen and (min-width: 2800px) {
  .contact-header {
    height: 340px;
  }
  
  .contact-header__title {
    font-size: 100px;
  }
  
  .contact-main {
    max-width: 2700px;
    padding: 100px 80px;
  }
  
  .contact-info {
    width: 1200px;
  }
  
  .contact-info__title {
    font-size: 100px;
    width: 500px;
    height: 120px;
  }
  
  .contact-info__item {
    margin-bottom: 40px;
  }
  
  .contact-info__label {
    font-size: 46px;
  }
  
  .contact-info__value {
    font-size: 36px;
    line-height: 1.5;
  }
  
  .contact-form-container {
    max-width: 1050px;
  }
  
  .contact-form {
    padding: 50px;
  }
  
  .form-group {
    margin-bottom: 35px;
  }
  
  .form-label {
    font-size: 30px;
    margin-bottom: 14px;
  }
  
  .form-input,
  .form-textarea {
    font-size: 26px;
    padding: 24px;
    border-radius: 10px;
  }
  
  .form-textarea {
    min-height: 200px;
  }
  
  .form-submit-btn {
    font-size: 30px;
    padding: 22px 50px;
    border-radius: 14px;
  }
  
  .contact-map iframe {
    width: 900px;
    height: 620px;
    border-radius: 16px;
  }
}

@media screen and (max-width: 768px) {
  .contact-header {
    min-height: 70px;
    /* padding: 15px 10px; */
  }
  
  .contact-header__title {
    font-size: clamp(20px, 5vw, 36px);
  }
}

@media screen and (max-width: 480px) {
  .contact-header {
    min-height: 60px;
    padding: 12px 8px;
  }
  
  .contact-header__title {
    font-size: clamp(18px, 6vw, 28px);
  }
}

/* Fix navbar overlap for bigger screens only */
@media screen and (min-width: 769px) {
  .contact-header {
    /* padding-top: 80px; */
    margin-top: 0;
  }
}

/* Main Content */
.contact-main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Contact Info Section */
.contact-info {
  width: 600px;
  padding: 20px;
}

.contact-info__title {
  width: 335px;
  height: 87px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #274472;
  margin: 0 0 30px 0;
}

.contact-info__item {
  margin-bottom: 30px;
}

.contact-info__label {
  width: 286px;
  height: 51px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #333333;
  margin: 0 0 5px 0;
}

.contact-info__value {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 25px;
  line-height: 120%;
  letter-spacing: 0%;
  color: #333333;
  margin: 0 0 20px 0;
}

.contact-map {
  width: 534px;
  height: 372px;
  border-radius: 10px;
  background: rgba(39, 68, 114, 0.36);
  overflow: hidden;
  margin-top: 30px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Form Section */
.contact-form-section {
  width: 600px;
  padding: 20px;
}

.contact-form-container {
  width: 561px;
  height: 770px;
  /* border: 2px solid #274472; */
  border-radius: 10px;
  margin-top: 110px;
  padding: 30px;
  box-sizing: border-box;
  background: #FFFFFFC7;
  box-shadow: 0px 0px 20px 5px #00000040;
}

.contact-form {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.form-label {
  display: block;
  width: 165px;
  /* height: 67px; */
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: left;
  color: #000000;
  margin-bottom: 10px;
  padding-top: 10px;
}

.form-input {
  width: 471px;
  height: 49px;
  border-radius: 5px;
  border: 1px solid #274472;
  padding: 0 15px;
  font-family: 'Poppins', sans-serif;
  font-weight: 275;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #333333;
  background-color: rgba(39, 68, 114, 0.12);
}

.form-input::placeholder {
  font-family: 'Poppins', sans-serif;
  font-weight: 275;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  color: rgba(51, 51, 51, 0.5);
}

.form-textarea {
  width: 437px;
  height: 200px;
  border-radius: 5px;
  border: 1px solid #274472;
  padding: 15px;
  font-family: 'Poppins', sans-serif;
  font-weight: 275;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #333333;
  resize: none;
  background-color: rgba(39, 68, 114, 0.12);
}

.form-textarea::placeholder {
  font-family: 'Poppins', sans-serif;
  font-weight: 275;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  color: rgba(51, 51, 51, 0.5);
}

.form-submit-btn {
  width: 142px;
  height: 46px;
  border-radius: 5px;
  border: 1px solid #274472;
  background-color: transparent;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #274472;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-bottom: 25px;
  margin-top: 20px;
  display: block;
}

.form-submit-btn:hover {
  background-color: #274472;
  color: white;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .contact-main {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-info,
  .contact-form-section {
    width: 100%;
    max-width: 600px;
  }
  
  .contact-form-container {
    width: 100%;
    height: auto;
    min-height: 728px;
  }
  
  .contact-map {
    width: 100%;
    max-width: 534px;
  }
  
  .form-input,
  .form-textarea {
    width: 100%;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 768px) {
  .contact-header {
    min-height: 100px;
    padding: 15px 10px;
  }
  
  .contact-header__title {
    width: 100%;
    max-width: 500px;
    font-size: clamp(28px, 6vw, 40px); /* Responsive font for tablets */
    line-height: 115%;
    min-height: 50px;
  }
  
  .contact-info__title {
    width: 100%;
    font-size: 36px;
    height: auto;
  }
  
  .contact-info__label {
    font-size: 24px;
    height: auto;
    width: 100%;
  }
  
  .contact-info__value {
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .form-label {
    font-size: 20px;
    height: 40px;
  }
  
  .form-input,
  .form-textarea,
  .form-input::placeholder,
  .form-textarea::placeholder {
    font-size: 16px;
  }
  
  .contact-form-container {
    padding: 20px;
  }
  
  .contact-info {
    padding: 20px 20px 10px 20px;
  }
}

@media screen and (max-width: 576px) {
  .contact-info__label {
    font-size: 22px;
  }
  
  .contact-info__value {
    font-size: 18px;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .contact-form-container {
    padding: 15px;
    height: auto;
  }
  
  .form-input {
    height: 45px;
  }
  
  .form-textarea {
    height: 150px;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .contact-header {
    min-height: 80px; /* Reduced minimum height for mobile */
    height: auto;
    margin-top: 0;
    padding: 12px 8px;
  }
  
  .contact-header__title {
    font-size: clamp(24px, 7vw, 30px); /* Responsive font for mobile */
    height: auto;
    min-height: 40px;
    line-height: 120%; /* Better line height for mobile */
    max-width: 100%;
    padding: 0 5px; /* Extra padding to prevent edge cutting */
  }
  
  .contact-info__title {
    font-size: 30px;
    height: auto;
  }
  
  .contact-info__label {
    font-size: 20px;
    height: auto;
  }
  
  .contact-info__value {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .form-submit-btn {
    width: 120px;
    height: 40px;
    font-size: 16px;
    margin-top: 15px;
  }
  
  .form-label {
    font-size: 18px;
    height: 35px;
    margin-bottom: 5px;
  }
  
  .form-input {
    height: 40px;
    font-size: 15px;
  }
  
  .form-input::placeholder,
  .form-textarea::placeholder {
    font-size: 15px;
  }
}

@media screen and (max-width: 375px) {
  .contact-header {
    min-height: 70px;
    padding: 10px 5px;
  }
  
  .contact-header__title {
    font-size: clamp(20px, 8vw, 26px); /* More responsive for very small screens */
    line-height: 125%;
    min-height: 35px;
    padding: 0 3px; /* Extra padding to prevent cutting */
  }
  
  .contact-info__title {
    font-size: 26px;
  }
  
  .contact-info__label {
    font-size: 18px;
  }
  
  .contact-info__value {
    font-size: 15px;
  }
  
  .form-input,
  .form-textarea {
    padding: 10px;
  }
  
  .form-submit-btn {
    width: 100px;
    height: 35px;
    font-size: 15px;
  }
}

/* Ultra small mobile devices (350px and below) */
@media screen and (max-width: 350px) {
  .contact-page {
    padding: 0 5px;
  }
  
  .contact-header {
    height: 100px;
  }
  
  .contact-header__title {
    font-size: 22px;
    width: 100%;
    max-width: 320px;
    height: auto;
    line-height: 1.2;
  }
  
  .contact-main {
    padding: 20px 10px;
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-info,
  .contact-form {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .contact-info__title {
    font-size: 22px;
    margin-bottom: 15px;
  }
  
  .contact-info__item {
    margin-bottom: 12px;
  }
  
  .contact-info__label {
    font-size: 16px;
    margin-bottom: 4px;
  }
  
  .contact-info__value {
    font-size: 13px;
    line-height: 1.3;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-label {
    font-size: 14px;
    margin-bottom: 6px;
  }
  
  .form-input,
  .form-textarea {
    width: 100%;
    padding: 8px;
    font-size: 13px;
    border-radius: 4px;
  }
  
  .form-textarea {
    min-height: 80px;
  }
  
  .form-submit-btn {
    width: 90px;
    height: 32px;
    font-size: 13px;
    margin-top: 10px;
  }
}
