/* style-contact.css */
/* ============= RESET ============= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ============= FONTS ============= */
@font-face {
  font-family: "Moderniz";
  src: url("../fonts/MODERNIZ.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SK-Modernist";
  src: url("../fonts/Sk-Modernist.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ============= BODY ============= */
body {
  background-image: url("../assets/images/Rectangle226.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  color: #ffffff;
  font-family: "SK-Modernist", Arial, sans-serif;
  text-align: center;
}

/* ============= HERO ============= */
.contact-hero {
  padding: 140px 0 20px;
}

.contact-hero-inner {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 6%;
}

.contact-hero-title {
  font-family: "Moderniz", "SK-Modernist", Arial, sans-serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-hero-text {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 1.7;
  color: #e4e4e4;
}

/* ============= MESSAGE BLOCK ============= */
.contact-message {
  padding: 50px 0 60px;
}

.contact-message-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 6%;
}

.contact-message-title {
  font-family: "Moderniz", "SK-Modernist", Arial, sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.contact-message-text {
  font-size: 18px;
  line-height: 1.6;
  color: #e4e4e4;
}

/* ============= CONTACT FORM ============= */
.contact-form {
  padding: 10px 0 60px;
}

.inquiry-form {
  max-width: 85%;
  margin: 0 auto;
  padding: 0 6%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.inquiry-form input,
.inquiry-form textarea {
  flex: 1;
  min-width: 250px;
  border: none;
  outline: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.40);
  padding: 12px 16px;
  font-size: 16px;
  color: #111;
  font-family: "SK-Modernist", Arial, sans-serif;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: rgba(0, 0, 0, 0.55);
}

.inquiry-form textarea {
  width: 100%;
  resize: vertical;
}

/* BUTTON */
.submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  margin-bottom: 10px; /* tighten gap before contact card */
}

.submit-btn {
  width: min(330px, 100%);
  height: 50px;
  border-radius: 12px;
  border: 2px solid #ffffff;
  background: linear-gradient(180deg, #4f5a64 0%, #0c5a6e 100%);
  color: #ffffff;
  font-family: "SK-Modernist", Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}

.submit-btn:hover {
  filter: brightness(1.05);
}

/* ============= CONTACT CARD (CENTERED) ============= */
.contact-block {
  display: flex;
  justify-content: center;
  padding: 50px 0 80px; /* reduced top padding */
}

.contact-card {
  width: min(70%, 95vw);
  margin: 0 auto;
  background: rgba(20, 24, 33, 0.85);
  border-radius: 50px;
  padding: 26px 26px;
 /* box-shadow:
    0 0 10px rgba(255, 255, 255, 0.3),
    0 0 10px rgba(0, 0, 0, 0.55); */
    background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(0, 0, 0, 0.3)
  );

  /* White borders only on left & right */
  border-left: 1px solid rgba(255, 255, 255, 0.6);
  border-right: 1px solid rgba(255, 255, 255, 0.6);

  /* Glass blur */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* Outer shadow for depth */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}


.contact-title {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 31px;
  font-family: "Moderniz", "SK-Modernist", Arial, sans-serif;
  color: #fff;
}

/* Map + details side-by-side on large screens */
.contact-grid {
  display: flex;
  align-items: center;     /* vertical center */
  justify-content: center; /* center inside card */
  gap: 32px;
}

.contact-map {
  flex: 1;
  display: flex;
  justify-content: center;
}

.contact-map iframe {
  width: 100%;
  max-width: 520px;
  height: 300px;
  border: 0;
  border-radius: 18px;
}

/* Right column */
.contact-details {
  flex: 1;
  max-width: 520px;
  margin: -10% auto 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: left;
}

/* One row = icon + text */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px; /* aligns with heading */
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-heading {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 6px;
  color: #fff;
}

.contact-subtext {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

/* Phone + Email in one line (label + value) */
.contact-item.is-inline .contact-text {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.contact-item.is-inline .contact-heading,
.contact-item.is-inline .contact-subtext {
  margin: 0;
}

.contact-item.is-inline .contact-subtext {
  white-space: nowrap;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 900px) {
  .contact-hero-title {
    font-size: 20px;
    letter-spacing: 1px;
    margin-top: -90px;
  }

  .contact-hero-text {
    margin-top: 10px;
    font-size: 16px;
  }

  .contact-message-title {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .contact-message-text {
    font-size: 16px;
  }

  .form-row {
    flex-direction: column;
  }

  .inquiry-form input,
  .inquiry-form textarea {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 1000px) {
  /* stack map then details (matches your screenshot) */
  .contact-grid {
    flex-direction: column;
    gap: 22px;
  }

  .contact-map iframe {
    height: 260px;
    max-width: 100%;
  }

  .contact-details {
    width: 100%;
    max-width: 650px;
  }

  /* allow phone/email to wrap on small screens */
  .contact-item.is-inline .contact-subtext {
    white-space: normal;
    word-break: break-word;
  }
}








/* ================= CONTACT US – MOBILE (HEADING ON TOP, VALUE BELOW) ================= */
@media (max-width: 550px){

  /* CARD */
  .contact-card{
    width: calc(100% - 32px) !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    padding: 22px 18px !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* STACK MAP + DETAILS */
  .contact-grid{
    flex-direction: column !important;
    gap: 18px !important;
  }

  /* MAP */
  .contact-map{
    width: 100% !important;
    margin: 0 0 10px 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }
  .contact-map iframe{
    width: 100% !important;
    height: 240px !important;
    display: block !important;
    border: 0 !important;
    border-radius: 16px !important;
  }

  /* DETAILS */
  .contact-details{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important; /* removes your desktop -10% */
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    text-align: left !important;
  }

  /* EACH ROW */
  .contact-item{
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* ICON TILE */
  .contact-icon{
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,0.10) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 44px !important;
    margin-top: 2px !important;
  }
  .contact-icon svg{
    width: 22px !important;
    height: 22px !important;
    opacity: 0.95 !important;
  }

  /* TEXT WRAP */
  .contact-text{
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  /* REGISTERED OFFICE HEADING (and others) */
  .contact-heading{
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin: 0 0 6px 0 !important;
    color: #fff !important;
  }

  /* SUBTEXT */
  .contact-subtext{
    font-size: 14px !important;
    line-height: 1.35 !important;
    opacity: 0.92 !important;
    margin: 0 !important;
    color: rgba(255,255,255,0.92) !important;
  }

  /* ===== Phone + Email: FORCE VALUE BELOW HEADING ===== */
  .contact-line{
    display: flex !important;
    flex-direction: column !important;   /* KEY: puts value below heading */
    align-items: flex-start !important;  /* left aligned like reference */
    gap: 6px !important;
  }

  .contact-line .contact-heading{
    margin: 0 !important;
    white-space: nowrap !important;      /* keeps "Phone Number:" in one line */
  }

  /* Email stays 1 line with ellipsis (like your screenshot) */
  .contact-line .contact-subtext{
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
}
