/* ------------------------------
   CONTACT HEADER SECTION
------------------------------ */
.contact-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #172443;
  padding: 10pc 200px;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  position: relative;
  overflow: hidden;
}

.contact-header .header-text {
  flex: 1;
  z-index: 2;
}

.contact-header h1 {
  font-size: 42px;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 10px;
}

.contact-header h1 span {
  border-bottom: 4px solid #b08435;
}

.contact-header h2 {
  font-size: 36px;
  color: #b08435;
  font-weight: 400;
  line-height: 1.3;
}

/* Right Image (floating / overlapping style) */
.contact-header .header-image {
  flex: 0.8;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.contact-header img {
  position: absolute;
  right: 10%;
  top: 0;
  width: 28%;
  min-width: 240px;
  border-radius: 0 0 60px 60px;
  object-fit: cover;
  z-index: 1;
  transform: translateY(-80px);
}

/* ------------------------------
   CONTACT CONTAINER
------------------------------ */
.contact-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  padding: 60px 100px;
  position: relative;
  z-index: 3;
}

.form-column,
.info-column {
  flex: 1;
}

/* ------------------------------
   FORM STYLES
------------------------------ */
.form1 {
  background: #172443;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
select,
textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  width: auto;
  font-family: inherit;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btnn {
  background-color: #b08435;
  color: white;
  border: none;
  padding: 12px;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s;
  width: 150px;
}

.submit-btnn:hover {
  background-color: #d45a0a;
}

/* ------------------------------
   OFFICE INFO
------------------------------ */
.office {
  margin-bottom: 40px;
}

.uk {
  color: #b08435;
  font-weight: bold;
}

.office p {
  font-size: 19px;
  color: #444;
  margin-bottom: 8px;
}

/* ------------------------------
   RESPONSIVE DESIGN
------------------------------ */

/* 300px–480px (Phones) */
@media (min-width: 300px) and (max-width: 480px) {
  .contact-header {
    flex-direction: column;
           padding: 10pc 0px 0px 20px;
    text-align: center;
  }

  .contact-header img {
    position: static;
    width: 100%;
    transform: none;
    margin-top: 20px;
  }

  .contact-header h1 {
    font-size: 32px;
  }

  .contact-header h2 {
    font-size: 22px;
  }

  .contact-container {
            flex-direction: column;
        padding: 20px;
        align-items: normal;
  }

  .form1 {
    width: auto;
    padding: 20px;
  }

  .submit-btnn {
    width: 100%;
  }
}

/* 481px–768px (Small Tablets) */
@media (min-width: 481px) and (max-width: 768px) {
  .contact-header {
            flex-direction: row;
        /* text-align: center; */
        padding: 60px 40px;
  }

  .contact-header img {
    position: static;
    width: 60%;
    transform: none;
    margin-top: 30px;
  }

  .contact-container {
    flex-direction: row;
    padding: 40px;
  }

  .form1 {
    width: auto;
  }

  .submit-btn {
    width: 50%;
    align-self: center;
  }
}

/* 769px–1024px (Tablets & Small Laptops) */
@media (min-width: 769px) and (max-width: 1024px) {
  .contact-header {
    padding: 8pc 80px;
  }

  .contact-header img {
   width: 100%;
        right: 5%;
        transform: translateY(-120px);
  }

  .contact-container {
    flex-direction: row;
    padding: 60px;
  }

  .form1 {
    width: auto;
    margin: 0 auto;
  }
}

/* 1025px–1440px (Desktops) */
@media (min-width: 1025px) and (max-width: 1440px) {
  .contact-header {
    padding: 10pc 150px;
  }

  .contact-header img {
           width: 100%;
        right: 8%;
        top: -7pc;

  }

  .contact-container {
    flex-direction: row;
    padding: 60px 100px;
  }

  .form1 {
    width: auto;
  }
}

/* 1441px+ (Wide Screens) */
@media (min-width: 1441px) {
  .contact-header {
    padding: 10pc 200px;
  }

  .contact-header img {
width: 70%;
        right: 10%;
        top: -5pc;
  }

  .contact-container {
    max-width: 1400px;
    margin: auto;
    padding: 80px 160px;
  }

  .form1 {
    width: auto;
  }
}
