/* ---------------------------
   Contact Page — Responsive
   --------------------------- */

/* Basic page container & spacing (header ke neeche gap) */
.site-content {
  padding-top: 20px; /* agar header fixed hai to is value ko header height ke barabar karo */
  box-sizing: border-box;
}
.site-main--fullpage{
  padding-top: 20px;
  box-sizing: border-box;
}

/* Page main */
.site-main {
/*   max-width: 1200px; */
/*   margin: 0 auto; */
/*   padding-top: 30px; */
  box-sizing: border-box;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #222;
  line-height: 1.6;
}

/* Page header */
.page-header {
  text-align: center;
  margin-bottom: 30px;
}
.page-title {
  font-size: 32px;
  margin: 0 0 8px;
  font-weight: 700;
}
.page-description {
  color: #666;
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
}

/* Sections spacing utility */
.gap { margin-bottom: 40px; }

/* Row layout (two-column on wide screens) */
.row {
  display: flex;
  gap: 32px;
  align-items: stretch;
  flex-wrap: wrap; /* allow wrapping on small screens */
}

/* Blocks (left column) */
.block,
.block__title,
.heading-2 {
  box-sizing: border-box;
}

/* Left area styles */
.based {
  flex: 1 1 320px;
  min-width: 280px;
}
.heading-2 {
  font-size: 28px;
  margin: 0 0 12px;
  font-weight: 700;
}
.desc-2 {
  color: #555;
  font-size: 15px;
}

/* Google map container (right column) */
.l-google-map {
  flex: 1 1 420px;
  min-width: 280px;
}
.map {
  width: 100%;
  height: 320px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(40,40,40,0.06);
  background: #f3f3f3;
}

/* Contact options grid */
.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.contact-options > div {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(40,40,40,0.04);
}
.contact-options__head {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}
.contact-options__body {
  color: #555;
  font-size: 14px;
}
.contact-options a {
  color: inherit;
  text-decoration: underline;
}

/* Follow/Join lists */
.contact-options ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-options li {
  padding: 6px 0;
  font-size: 14px;
}

/* Working globally title area */
.working-gloabally__title,
.block__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}

/* Contact form area (two-column on desktop) */
.contact-form .row {
  gap: 28px;
}

.message-us {
  flex: 1 1 520px;
  min-width: 260px;
}
.discuss-project {
  flex: 1 1 360px;
  min-width: 260px;
}

/* Contact Form 7 styling (common selectors) */
.wpcf7 form {
  display: grid;
  gap: 12px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
  box-sizing: border-box;
  background: #fff;
}
.wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
}
.wpcf7 input[type="submit"] {
  background: rgb(249, 116, 116);
  color: #fff;
  padding: 12px 20px;
  border-radius: 40px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(249,116,116,0.18);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s;
}
.wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px);
  opacity: 0.98;
}

/* Small UI polish for messages/errors */
.wpcf7 .wpcf7-response-output {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

/* Make sure images/iframes fit */
img, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------------------------
   Responsive Breakpoints
   --------------------------- */

/* Tablet */
@media (max-width: 992px) {
  .contact-options {
    grid-template-columns: repeat(2, 1fr);
  }
  .map { height: 300px; }
  .page-title { font-size: 28px; }
}

/* Mobile */
@media (max-width: 680px) {
  .site-main { padding: 24px 16px; }
  .row { gap: 18px; }
  .contact-options {
    grid-template-columns: 1fr;
  }
  .map { height: 240px; }
  .page-title { font-size: 22px; }
  .page-description { font-size: 15px; padding: 0 6px; }
  .contact-options > div { padding: 14px; }
  .message-us, .discuss-project, .based, .l-google-map { flex: 1 1 100%; min-width: auto; width: 100%; }
  .contact-options { gap: 12px; }
}

/* Very small phones */
@media (max-width: 380px) {
  .map { height: 200px; }
  .page-title { font-size: 20px; }
  .wpcf7 input[type="submit"] { width: 100%; padding: 12px; }
}






/* ===== Contact Options — wider responsive boxes ===== */

.contact-options {
  display: grid;
  /* Desktop: 3 columns but each column is at least 300px to keep boxes wide */
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  align-items: start;
  margin-top: 28px;
}

/* Box styling & prevent overflow */
.contact-options > div {
  min-width: 300px; /* allow shrinking when needed */
  box-sizing: border-box;
  padding: 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(40,40,40,0.04);
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Heading & body */
.contact-options__head {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.2;
}
.contact-options__body,
.contact-options__body ul,
.contact-options__body li,
.contact-options__body a {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Make links wrap and not force width */
.contact-options__body a {
  display: inline-block;
  max-width: 100%;
  text-decoration: underline;
  color: inherit;
  word-wrap: break-word;
}

/* Lists */
.contact-options ul { padding: 0; margin: 0; list-style: none; }
.contact-options li { white-space: normal; }

/* Tablet: 2 columns */
@media (max-width: 992px) {
  .contact-options {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 18px;
  }
}

/* Mobile: 1 column, full width boxes */
@media (max-width: 680px) {
  .contact-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-options > div {
    padding: 14px;
  }
}

/* Very small phones: reduce min heights if needed */
@media (max-width: 380px) {
  .contact-options { gap: 10px; }
  .contact-options > div { padding: 12px; }
  .contact-options__body { font-size: 14px; }
}




/* ====== Contact Form 7 Styling ====== */
.wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 15px; /* har input ke beech 15px space */
  max-width: 500px;
  margin: 0 auto; /* form ko center me rakhta hai */
}

/* Input fields styling */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* Focus hone par effect */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
  border-color: rgb(249, 116, 116);
  outline: none;
  box-shadow: 0 0 5px rgba(249, 116, 116, 0.3);
}

/* Textarea height */
.wpcf7 textarea {
  min-height: 120px;
  resize: vertical;
}

/* Submit Button Styling */
.wpcf7 input[type="submit"] {
  background-color: rgb(249, 116, 116);
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background-color: white;
  color: rgb(249, 116, 116);
  border: 2px solid rgb(249, 116, 116);
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .wpcf7 form {
    width: 90%;
    gap: 12px;
  }
}
