/* ==========================================
   GOOGLE FONT
========================================== */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* ==========================================
   RESET
========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* ==========================================
   BODY
========================================== */

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #F1F3F5;
}

/* ==========================================
   HERO
========================================== */

.contact-hero {
  position: relative;

  width: 100%;

  height: 280px;

  background: url("/images/pexels-wosa-264846300-36964689 (1).jpg") center/cover no-repeat;

  display: flex;

  align-items: center;

  justify-content: center;
}

.contact-hero .overlay {
  position: absolute;

  inset: 0;

  background: rgba(0, 0, 0, 0.55);

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 20px;
}

.contact-hero .overlay h1 {
  color: #fff;

  font-size: 42px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 1px;
}

.contact-hero .overlay p {
  color: #e0e0e0;

  font-size: 17px;

  margin-top: 10px;
}

/* ==========================================
   CONTACT SECTION
========================================== */

.contact-section {
  padding: 60px 20px;
}

.contact-wrapper {
  max-width: 1100px;

  margin: 0 auto;
}

.container {
  width: 100%;

  margin-bottom: 40px;

  display: flex;

  gap: 40px;

  align-items: stretch;
}

.container:last-child {
  margin-bottom: 0;
}

/* ==========================================
   FORM
========================================== */

.contact-form {
  flex: 1;

  background: #ffffff;

  border-radius: 10px;

  padding: 35px;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
  color: #1565A8;

  margin-bottom: 25px;

  font-size: 24px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;

  padding: 13px 15px;

  margin-bottom: 18px;

  border: 1px solid #d7d7d7;

  border-radius: 6px;

  outline: none;

  font-size: 15px;

  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0B2345;

  box-shadow: 0 0 5px rgba(11, 35, 69, 0.2);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: 100%;

  padding: 14px;

  border: none;

  border-radius: 6px;

  background: #1565A8;

  color: #fff;

  font-size: 16px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.3s;
}

.contact-form button:hover {
  background: #0B2345;
}

/* ==========================================
   MAP
========================================== */

.contact-map {
  flex: 1;

  background: #ffffff;

  border-radius: 10px;

  padding: 35px;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

  display: flex;

  flex-direction: column;
}

.contact-map h2 {
  color: #1565A8;

  margin-bottom: 25px;

  font-size: 24px;
}

.contact-map iframe {
  flex: 1;

  min-height: 400px;

  border-radius: 8px;
}

/* ==========================================
   MAP + ADDRESS (single box)
========================================== */

.map-address-box {
  flex: 1;

  background: #ffffff;

  border-radius: 10px;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

  overflow: hidden;

  display: flex;

  min-height: 400px;
}

.map-part {
  flex: 2;

  min-height: 320px;
}

.map-part iframe {
  width: 100%;

  height: 100%;

  display: block;

  min-height: 320px;
}

.address-part {
  flex: 1;

  padding: 35px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: flex-start;
}

.address-part h2 {
  color: #1565A8;

  font-size: 24px;

  margin-bottom: 20px;
}

.address-part p {
  font-size: 17px;

  line-height: 2;

  color: #333;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 768px) {
  .container {
    flex-direction: column;

    gap: 25px;
  }

  .map-address-box {
    flex-direction: column;
  }

  .contact-hero {
    height: 200px;
  }

  .contact-hero .overlay h1 {
    font-size: 32px;
  }

  .contact-hero .overlay p {
    font-size: 15px;
  }

  .contact-form,
  .contact-map {
    padding: 25px;
  }

  .address-part {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .contact-hero .overlay h1 {
    font-size: 24px;
  }

  .contact-hero .overlay p {
    font-size: 13px;
  }

  .contact-form h2,
  .contact-map h2,
  .address-part h2 {
    font-size: 20px;
  }
}
