/* HERO-BANNER */
.hero-banner {
  padding: 100px 0px;
  background-image: url(../assets/images/background_hero.webp);
  background-repeat: no-repeat;
  background-size: cover;
  align-content: center;
  position: relative;
}
a {
  text-decoration: none !important;
}
.hero-contact {
  justify-items: center !important;
  text-align: center;
}
.square-box {
  display: flex;
}
.square-box h4 {
  margin-bottom: 0px;
  margin-left: 20px;
}
img.hero-bottom-shape {
  position: absolute;
  bottom: -3px;
  /* left: 42%; */
}
.hero-contact h1 {
  font-size: 70px;
  font-weight: 300;
}
/* CONTACT-CONTENT */

/* Contact Content — responsive */
.contact-content {
  /* vertical spacing scales with screen */
  margin-block: clamp(32px, 6vw, 80px);
  padding-inline: 16px; /* side padding for small screens */
}

/* keep the text line-length readable */
.contact-content .container {
  max-width: 1100px; /* adjust to taste */
  margin-inline: auto;
}

.contact-content .container p {
  margin: 0;
  text-align: center;
  font-weight: 500;
  /* mobile-first font size that scales up */
  font-size: clamp(16px, 2.2vw, 25px);
  line-height: 1.5;
  text-wrap: balance; /* nicer line breaks (supported on modern browsers) */
}

/* On tablets/phones, let the text wrap naturally (ignore <br>) */

/* layout helper */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ====== GRID: 1 row / 2 columns ====== */
.contact-map-row__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr; /* form a bit wider than map */
  align-items: start;
  gap: 36px;
}

/* ====== FORM ====== */
.contact-form__title {
  margin: 0 0 18px;
  /* font: 700 22px/1.35 system-ui, -apple-system, Segoe UI, Roboto, Arial; */
  color: #2a2470; /* purple like screenshot */
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}

.fg {
  min-width: 0;
}
.fg--full {
  grid-column: 1 / -1;
}

.inp {
  width: 100%;
  padding: 18px 22px;
  border: 1.5px solid rgba(0, 0, 0, 0.55);
  border-radius: 20px;
  /* font: 500 16px/1.35 system-ui, -apple-system, Segoe UI, Roboto, Arial; */
  outline: none;
  background: #fff;
}
.inp:focus {
  box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.09);
}
.inp--area {
  min-height: 200px;
  resize: vertical;
}

/* phone field with prefix (flag + caret) */
.inp-prefix {
  display: block;
  position: relative;
}
.prefix {
  /* position:absolute; inset-inline-start:14px; inset-block-start:50%;
  translate:0 -50%; */
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
  pointer-events: none;
}
.flag {
  font-size: 20px;
  line-height: 1;
}
.caret {
  opacity: 0.7;
}
.inp--with-prefix {
  padding-inline-start: 72px;
}

/* submit button (gradient) */
.btn-gradient {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(95deg, #7a5cff 0%, #6f86ff 45%, #2ad6c6 100%);
  color: #fff;
  /* font: 700 18px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial; */
  box-shadow: 0 8px 18px rgba(92, 97, 255, 0.24);
  cursor: pointer;
}
.btn-gradient:hover {
  filter: brightness(1.03);
}

/* ====== MAP ====== */
.map-wrap {
  width: 100%;
  height: 520px; /* adjust as you like */
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  background: #f3f5f8;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Layout helper (safe to reuse) */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* Section spacing */
.contact-cards {
  margin-block: clamp(28px, 6vw, 64px);
}

/* Grid: 3 → 2 → 1 columns */
.contact-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* Simple rectangular cards with border only */
.card {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.75);
  border-radius: 12px;
  padding: 58px 65px;
  color: #111;
  background-position: center;
  background-repeat: no-repeat;
}

.card-1 {
  background-image: url(../assets/images/left-card.webp);
  background-size: cover;
  background-repeat: no-repeat;
}
.card-2 {
  background-image: url(../assets/images/left-card.webp);
  background-size: cover;
  background-repeat: no-repeat;
}

.card-3 {
  background-image: url(../assets/images/left-card.webp);
  background-size: cover;
  background-repeat: no-repeat;
}

.contact-shape-1 {
  position: absolute;
  left: -69.5px;
  top: 125px;
  rotate: -90deg;
  z-index: 1;
}

.contact-shape-2 {
  position: absolute;
  top: 0px;
  right: 45px;
  height: 32px;
}

.contact-shape-3 {
  position: absolute;
  right: -69px;
  rotate: 90deg;
  top: 124px;
}

.card__icon {
  color: #111;
  margin-bottom: 10px;
}
.card__icon svg {
  display: block;
}

.card__title {
  margin: 0 0 10px;
  /* font: 700 18px/1.3 system-ui, -apple-system, Segoe UI, Roboto, Arial; */
}
.card__text {
  margin: 0 0 10px;
  color: #1d2230;
  /* font: 500 15px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Arial; */
}
.card__highlight {
  color: #111;
  margin: 6px 0 0;
  /* font: 700 16px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial; */
}

.iti--separate-dial-code {
  width: 100%;
}

/* ==== intl-tel-input fixes (do not remove) ==== */
/* Ensure the plugin can render and receive clicks */
.iti {
  width: 100%;
  position: relative;
  display: block;
}
.iti__flag-container {
  z-index: 5;
  cursor: pointer;
}
.iti__country-list {
  z-index: 99999;
} /* dropdown above headers/overlays */

/* If your input padding conflicts, enforce a safe left padding when dial code is separate */
.iti--separate-dial-code input[type="tel"],
.iti--separate-dial-code input.inp {
  padding-left: 96px !important; /* room for flag + dial code area */
}

/* Kill any legacy prefix wrapper styles that might overlay the control */
.inp-prefix,
.inp-prefix .prefix {
  pointer-events: auto !important;
  position: static !important;
}

/* Make sure nothing higher up hides the dropdown */
.contact-form,
.form-grid,
.fg {
  overflow: visible; /* avoid clipping the country list */
}

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

@media screen and (max-width: 1440px) {
  .card-1 {
    background-image: url(../assets/images/left-card.webp);
    background-size: cover;
    background-repeat: no-repeat;
  }

  .card-2 {
    background-image: url(../assets/images/left-card.webp);
    background-size: cover;
    background-repeat: no-repeat;
  }

  .card-3 {
    background-image: url(../assets/images/left-card.webp);
    background-size: cover;
    background-repeat: no-repeat;
  }

  .btn {
    padding: 8px 25px !important;
  }
}

@media (min-width: 1100px) and (max-width: 1280px) {
  .contact-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .btn {
    padding: 8px 25px !important;
  }
}

@media (min-width: 1024px) and (max-width: 1080px) {
  .contact-map-row__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .map-wrap {
    height: 380px;
  }

  .contact-cards__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
  }

  .btn {
    padding: 8px 25px !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .contact-content br {
    display: none;
  }

  .contact-cards__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
  }

  .card {
    padding: 35px 51px !important;
  }

  img.hero-bottom-shape {
    width: 30%;
  }

  .contact-shape-3 {
    position: absolute;
    right: -70px;
    rotate: 90deg;
    top: 102px;
  }

  .btn {
    padding: 8px 25px !important;
  }
}

@media (min-width: 300px) and (max-width: 767px) {
  .hero-contact h1 {
    font-size: 44px;
  }

  .contact-content .container p {
    text-wrap: auto;
  }

  .contact-content .container {
    max-width: 1100px;
    margin-inline: auto;
    padding: 0px;
  }
  .hero-contact h1 {
    font-size: 52px;
  }

  .contact-form__title {
    text-align: center;
  }

  article.card.card-1 {
    padding: 30px 10px 34px 48px;
  }

  article.card.card-2 {
    padding: 28px;
  }

  article.card.card-3 {
    padding: 30px 34px 30px 28px;
  }

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

  .contact-cards__grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .card-1 {
    background-size: cover;
  }

  .card-2 {
    background-size: cover;
  }

  .card-3 {
    background-size: cover;
  }

  .col-md-6.news-left.newsletter-left {
    justify-items: center;
    padding: 40px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
  .btn-gradient {
    width: 160px;
  }
  .hero-contact h1 {
    font-size: 30px;
    font-weight: 300;
  }
  img.hero-bottom-shape {
    position: absolute;
    bottom: -3px;
    width: 53%;
    right: 22%;
  }
  .contact-cards__grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 18px;
  }
  .card__title {
    font-size: 17px;
  }
  .card__text {
    font-size: 14px;
  }

  .contact-map-row__grid {
    display: block;
  }

  .form-grid {
    grid-template-columns: 1fr;
    margin-bottom: 30px;
  }

  .square-box {
    display: flex;
    margin-bottom: 15px;
  }

  .hero-contact h1 {
    font-size: 38px !important;
  }

  .inp {
    width: 100%;
    padding: 14px 22px;
    border: 1.5px solid rgba(0, 0, 0, 0.55);
    border-radius: 20px;
    /* font: 500 16px / 1.35 system-ui, -apple-system, Segoe UI, Roboto, Arial; */
    outline: none;
    background: #fff;
  }

  .contact-shape-2 {
    position: absolute;
    top: 0px;
    right: 38px;
    height: 10%;
  }

  .contact-shape-1 {
    position: absolute;
    left: -43px !important;
    top: 90px;
    rotate: -90deg;
    height: 10%;
  }

  .contact-shape-3 {
    position: absolute;
    right: -44px;
    rotate: 90deg;
    top: 45%;
    height: 10%;
  }

  /* section.contact-map-row {
    padding: 0px 20px;
  }

  section.contact-cards {
    padding: 50px 20px;
} */

  .btn {
    padding: 8px 25px !important;
  }
}

@media (min-width: 320px) and (max-width: 424px) {
  .contact-shape-1 {
    position: absolute;
    left: -53px !important;
    top: 90px;
    rotate: -90deg;
    height: 10%;
  }
}

.black-cards-parent {
  position: relative;
}
.black-cards-parent .card {
  height: 100%;
  width: 100%;
}

@media (max-width: 767px) {
  .contact-shape-1 {
    left: -43px !important;
  }
  .contact-shape-2 {
    transform: rotate(270deg);
    left: -45px;
    top: 85px;
  }
  .black-cards-parent .card-2,
  .black-cards-parent .card-3 {
    padding: 30px 10px 34px 48px !important;
  }
  .contact-shape-3 {
    transform: rotate(180deg);
    left: -45px;
    top: 90px;
  }
  .contact-cards__grid {
    padding: 0 10px;
  }
  .contact-map-row__grid.container {
    padding: 0px 20px;
  }
}

@media (max-width: 496px) {
  .contact-shape-1 {
    left: -48px !important;
  }
}

@media (max-width: 476px) {
  .contact-shape-1 {
    left: -48px !important;
  }
}

@media (max-width: 448px) {
  .contact-shape-3 {
    left: -50px;
  }
}

@media (max-width: 428px) {
  .contact-shape-3 {
    transform: rotate(180deg);
    left: -50px;
    top: 95px;
  }
}

@media (max-width: 416px) {
  .contact-shape-2 {
    left: -50px;
    top: 100px;
  }
}

@media (max-width: 396px) {
  .contact-shape-2 {
    transform: rotate(270deg);
    left: -50px;
    top: 95px;
  }
  .contact-shape-3 {
    transform: rotate(180deg);
    left: -50px;
    top: 100px;
  }
}

@media (max-width: 384px) {
  .contact-shape-1 {
    left: -53px !important;
  }
}

@media (max-width: 364px) {
  .contact-shape-1 {
    left: -53px !important;
    top: 103px;
  }
}
