:root {
  --contact-navy: #10364a;
  --contact-navy-deep: #092838;
  --contact-gold: #d8893d;
  --contact-cream: #f5f1e9;
  --contact-paper: #fffdf9;
  --contact-ink: #153542;
  --contact-muted: #62747b;
}

#contact.mf-contact-page {
  min-height: 0;
  margin: 0;
  padding: 138px 0 108px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 2%, rgba(216, 137, 61, 0.13), transparent 28rem),
    radial-gradient(circle at 5% 64%, rgba(16, 54, 74, 0.09), transparent 29rem),
    var(--contact-cream);
}

#contact.mf-contact-page::before {
  display: none;
}

#contact.mf-contact-page > .container {
  width: min(1320px, calc(100% - 48px));
  max-width: none;
}

.mf-contact-hero {
  min-height: 396px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  padding: 56px 62px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, #0a2d40 0%, rgba(10, 45, 64, 0.95) 40%, rgba(10, 45, 64, 0.62) 67%, rgba(10, 45, 64, 0.28) 100%),
    url("../img/portfolio/kanatal\ \(1\).jpg") center / cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  box-shadow: 0 26px 65px rgba(17, 43, 55, 0.19);
}

.mf-contact-hero-content {
  max-width: 690px;
  position: relative;
  z-index: 1;
}

.mf-contact-eyebrow,
.mf-contact-panel-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--contact-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.65px;
  text-transform: uppercase;
}

.mf-contact-eyebrow::after {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.62;
}

.mf-contact-hero h1 {
  max-width: 680px;
  margin: 18px 0;
  color: #fff;
  font-family: "Marcellus", serif;
  font-size: clamp(45px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -1.6px;
  line-height: 1.02;
}

.mf-contact-hero h1 span,
.mf-contact-support h2 span,
.mf-contact-form-heading h2 span,
.mf-contact-locations-heading h2 span {
  color: #efb877;
}

.mf-contact-hero p {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.75;
}

.mf-contact-hero-note {
  max-width: 550px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 27px;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  backdrop-filter: blur(5px);
}

.mf-contact-hero-note i {
  color: #f1ba79;
  font-size: 18px;
}

.mf-contact-hero-brand {
  min-width: 184px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 21px;
  color: #fff;
  background: rgba(7, 38, 53, 0.61);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  text-align: center;
  backdrop-filter: blur(9px);
}

.mf-contact-hero-brand img {
  width: 74px;
  height: 74px;
  padding: 7px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
}

.mf-contact-hero-brand strong {
  margin-top: 13px;
  font-family: "Marcellus", serif;
  font-size: 21px;
  font-weight: 400;
}

.mf-contact-hero-brand span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.65px;
  text-transform: uppercase;
}

.mf-contact-enquiry-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.82fr) minmax(0, 1.18fr);
  margin-top: 32px;
  overflow: hidden;
  background: var(--contact-paper);
  border: 1px solid rgba(21, 53, 66, 0.11);
  border-radius: 23px;
  box-shadow: 0 21px 52px rgba(23, 47, 60, 0.11);
}

.mf-contact-support {
  display: flex;
  flex-direction: column;
  padding: 47px 43px 38px;
  color: #fff;
  background:
    linear-gradient(155deg, rgba(17, 61, 81, 0.96), rgba(7, 36, 50, 0.98)),
    url("../img/portfolio/kanatal (6).jpg") center / cover;
}

.mf-contact-support .mf-contact-panel-label {
  color: #f0b979;
}

.mf-contact-support h2,
.mf-contact-form-heading h2,
.mf-contact-locations-heading h2 {
  margin: 13px 0 14px;
  color: var(--contact-ink);
  font-family: "Marcellus", serif;
  font-size: clamp(32px, 3vw, 43px);
  font-weight: 400;
  line-height: 1.08;
}

.mf-contact-support h2 {
  color: #fff;
}

.mf-contact-support > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.75;
}

.mf-contact-channels {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.mf-contact-channel {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.mf-contact-channel:hover,
.mf-contact-channel:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(240, 185, 121, 0.65);
  transform: translateX(3px);
}

.mf-contact-channel > i:first-child {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--contact-navy);
  background: #f0b979;
  border-radius: 50%;
  font-size: 17px;
}

.mf-contact-channel span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.mf-contact-channel small {
  color: rgba(255, 255, 255, 0.63);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mf-contact-channel strong {
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mf-contact-channel-arrow {
  color: #f0b979;
  font-size: 16px;
}

.mf-contact-socials {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding-top: 31px;
}

.mf-contact-socials > span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.mf-contact-socials > div {
  display: flex;
  gap: 8px;
}

.mf-contact-socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mf-contact-socials a:hover,
.mf-contact-socials a:focus-visible {
  color: var(--contact-navy);
  background: #f0b979;
  transform: translateY(-2px);
}

.mf-contact-form-panel {
  padding: 47px 51px;
  background: var(--contact-paper);
}

.mf-contact-form-heading {
  max-width: 600px;
}

.mf-contact-form-heading h2 {
  margin-top: 12px;
}

.mf-contact-form-heading > p {
  margin: 0;
  color: var(--contact-muted);
  font-size: 14px;
  line-height: 1.72;
}

#contact.mf-contact-page .php-email-form {
  height: auto;
  margin: 30px 0 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.mf-contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 17px;
}

.mf-contact-field {
  min-width: 0;
}

.mf-contact-field-full {
  grid-column: 1 / -1;
}

.mf-contact-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--contact-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#contact.mf-contact-page .php-email-form input,
#contact.mf-contact-page .php-email-form textarea {
  width: 100%;
  padding: 13px 15px;
  color: var(--contact-ink);
  background: #fbfaf7;
  border: 1px solid #dfded8;
  border-radius: 9px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

#contact.mf-contact-page .php-email-form input {
  height: 51px;
}

#contact.mf-contact-page .php-email-form textarea {
  min-height: 132px;
  resize: vertical;
}

#contact.mf-contact-page .php-email-form input::placeholder,
#contact.mf-contact-page .php-email-form textarea::placeholder {
  color: #96a0a2;
}

#contact.mf-contact-page .php-email-form input:focus,
#contact.mf-contact-page .php-email-form textarea:focus {
  color: var(--contact-ink);
  background: #fff;
  border-color: var(--contact-gold);
  box-shadow: 0 0 0 4px rgba(216, 137, 61, 0.12);
  outline: 0;
}

.mf-contact-form-feedback {
  min-height: 0;
  margin: 18px 0 0;
}

#contact.mf-contact-page .php-email-form .loading,
#contact.mf-contact-page .php-email-form .error-message,
#contact.mf-contact-page .php-email-form .sent-message {
  display: none;
  margin: 0;
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
}

#contact.mf-contact-page .php-email-form .loading {
  color: #09536d;
  background: #e2f3f8;
}

#contact.mf-contact-page .php-email-form .error-message {
  color: #8b2c23;
  background: #fbe9e6;
}

#contact.mf-contact-page .php-email-form .sent-message {
  color: #1f6a46;
  background: #e3f4e9;
}

#contact.mf-contact-page .php-email-form .mf-contact-submit {
  min-width: 194px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 29px;
  margin-top: 20px;
  padding: 15px 18px;
  color: #fff;
  background: var(--contact-navy);
  border: 0;
  border-radius: 8px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

#contact.mf-contact-page .php-email-form .mf-contact-submit:hover,
#contact.mf-contact-page .php-email-form .mf-contact-submit:focus-visible {
  color: #fff;
  background: #c76b20;
  box-shadow: 0 12px 23px rgba(199, 107, 32, 0.22);
  transform: translateY(-2px);
}

#contact.mf-contact-page .php-email-form .mf-contact-submit:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.mf-contact-locations {
  margin-top: 78px;
}

.mf-contact-locations-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 30px;
}

.mf-contact-locations-heading h2 {
  max-width: 640px;
  margin-bottom: 0;
}

.mf-contact-locations-heading > p {
  max-width: 360px;
  margin: 0 0 5px;
  color: var(--contact-muted);
  font-size: 15px;
  line-height: 1.7;
}

.mf-contact-location-layout {
  display: grid;
  grid-template-columns: minmax(350px, 0.77fr) minmax(0, 1.23fr);
  gap: 22px;
}

.mf-contact-location-tabs {
  display: grid;
  gap: 15px;
}

.mf-contact-location-tabs button {
  width: 100%;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  padding: 11px;
  color: var(--contact-ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(21, 53, 66, 0.11);
  border-radius: 15px;
  font-family: "Nunito Sans", sans-serif;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(23, 47, 60, 0.06);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.mf-contact-location-tabs button:hover,
.mf-contact-location-tabs button:focus-visible,
.mf-contact-location-tabs button.active {
  background: #fff;
  border-color: rgba(216, 137, 61, 0.7);
  box-shadow: 0 17px 35px rgba(23, 47, 60, 0.1);
  transform: translateY(-2px);
}

.mf-contact-location-tabs button > i {
  color: var(--contact-gold);
  font-size: 19px;
}

.mf-contact-location-image {
  height: 112px;
  display: block;
  background-position: center;
  background-size: cover;
  border-radius: 10px;
}

.mf-contact-location-image-kanatal {
  background-image: linear-gradient(rgba(8, 39, 55, 0.1), rgba(8, 39, 55, 0.1)), url("../img/portfolio/kanatal\ \(1\).jpg");
}

.mf-contact-location-image-meerut {
  background-image: linear-gradient(rgba(8, 39, 55, 0.08), rgba(8, 39, 55, 0.08)), url("../img/right.jpg");
}

.mf-contact-location-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.mf-contact-location-copy small,
.mf-contact-map-heading > div > span {
  color: #bd6418;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.mf-contact-location-copy strong {
  color: var(--contact-ink);
  font-family: "Marcellus", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.05;
}

.mf-contact-location-copy > span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--contact-muted);
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mf-contact-map-panel {
  padding: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(21, 53, 66, 0.11);
  border-radius: 18px;
  box-shadow: 0 17px 39px rgba(23, 47, 60, 0.09);
}

.mf-contact-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 20px;
}

.mf-contact-map-heading h3 {
  margin: 5px 0 4px;
  color: var(--contact-ink);
  font-family: "Marcellus", serif;
  font-size: 28px;
  font-weight: 400;
}

.mf-contact-map-heading p {
  max-width: 460px;
  margin: 0;
  color: var(--contact-muted);
  font-size: 13px;
  line-height: 1.5;
}

.mf-contact-map-heading a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 12px;
  color: var(--contact-navy);
  background: #f6efe6;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.35px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease;
}

.mf-contact-map-heading a:hover,
.mf-contact-map-heading a:focus-visible {
  color: #fff;
  background: var(--contact-navy);
}

.mf-contact-map-frame {
  min-height: 320px;
  overflow: hidden;
  background: #e9e6de;
  border-radius: 12px;
}

#contact.mf-contact-page .mf-contact-map-frame iframe {
  width: 100%;
  min-height: 320px;
  display: block;
  margin: 0;
  border: 0;
  border-radius: 0;
}

@media (max-width: 991px) {
  #contact.mf-contact-page {
    padding: 122px 0 82px;
  }

  .mf-contact-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 48px;
    background:
      linear-gradient(90deg, rgba(10, 45, 64, 0.96), rgba(10, 45, 64, 0.8)),
      url("../img/portfolio/kanatal (6).jpg") center / cover;
  }

  .mf-contact-hero-brand {
    width: fit-content;
  }

  .mf-contact-enquiry-layout,
  .mf-contact-location-layout {
    grid-template-columns: 1fr;
  }

  .mf-contact-support {
    min-height: 0;
  }

  .mf-contact-socials {
    margin-top: 30px;
  }

  .mf-contact-location-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mf-contact-location-tabs button {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .mf-contact-location-tabs button > i {
    display: none;
  }

  .mf-contact-location-image {
    height: 104px;
  }
}

@media (max-width: 575px) {
  #contact.mf-contact-page {
    padding: 103px 0 65px;
  }

  #contact.mf-contact-page > .container {
    width: calc(100% - 24px);
  }

  .mf-contact-hero {
    padding: 33px 25px;
    border-radius: 18px;
  }

  .mf-contact-hero h1 {
    margin: 14px 0;
    font-size: 43px;
    letter-spacing: -1.2px;
  }

  .mf-contact-hero p {
    font-size: 14px;
  }

  .mf-contact-hero-note {
    align-items: flex-start;
    margin-top: 22px;
    font-size: 12px;
  }

  .mf-contact-hero-brand {
    min-width: 0;
    width: 100%;
    flex-flow: row wrap;
    justify-content: center;
    gap: 7px 12px;
    padding: 14px;
  }

  .mf-contact-hero-brand img {
    width: 44px;
    height: 44px;
    padding: 4px;
  }

  .mf-contact-hero-brand strong {
    margin: 0;
    font-size: 19px;
  }

  .mf-contact-hero-brand span {
    width: 100%;
    margin: 0;
  }

  .mf-contact-enquiry-layout {
    margin-top: 19px;
    border-radius: 17px;
  }

  .mf-contact-support,
  .mf-contact-form-panel {
    padding: 31px 24px;
  }

  .mf-contact-support h2,
  .mf-contact-form-heading h2,
  .mf-contact-locations-heading h2 {
    font-size: 32px;
  }

  .mf-contact-channel {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px;
  }

  .mf-contact-channel > i:first-child {
    width: 38px;
    height: 38px;
  }

  .mf-contact-channel strong {
    font-size: 12px;
  }

  .mf-contact-fields {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mf-contact-field-full {
    grid-column: auto;
  }

  .mf-contact-submit {
    width: 100%;
  }

  .mf-contact-locations {
    margin-top: 58px;
  }

  .mf-contact-locations-heading {
    display: block;
    margin-bottom: 24px;
  }

  .mf-contact-locations-heading > p {
    margin-top: 15px;
    font-size: 14px;
  }

  .mf-contact-location-tabs {
    grid-template-columns: 1fr;
  }

  .mf-contact-location-tabs button {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .mf-contact-location-image {
    height: 92px;
  }

  .mf-contact-map-panel {
    padding: 18px;
    border-radius: 15px;
  }

  .mf-contact-map-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    padding-bottom: 16px;
  }

  .mf-contact-map-heading h3 {
    font-size: 25px;
  }

  .mf-contact-map-frame,
  #contact.mf-contact-page .mf-contact-map-frame iframe {
    min-height: 280px;
  }
}
