/**
 * contact.css — Logos Publicity Ltd
 *
 * Owns: .contact, .contact-layout, .contact-map, all .contact .* selectors,
 *       .contact .php-email-form, @keyframes animate-loading.
 *
 * Migration status: Step 3 — extracted from style.css lines 4270–4628 (pre-extraction numbering).
 * Loaded in all HTML pages via inject script after style.css.
 */

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
  padding-bottom: 60px;
}

.contact-hub {
  background: #fff;
}

.contact-hero {
  position: relative;
  min-height: 320px;
  padding: 126px 0 64px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: url("../images/site/footer_img1.jpg") center center / cover no-repeat;
  isolation: isolate;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.42));
  z-index: -1;
}

.contact-hero__eyebrow,
.contact-form-panel__eyebrow {
  margin: 0 0 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 0.98;
}

.contact-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.65;
}

.contact-hub__body {
  padding: 72px 0 80px;
}

.contact-hub__grid,
.quick-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.contact-form-panel,
.quick-contact__form,
.contact-detail-panel {
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-panel,
.quick-contact__form {
  padding: clamp(24px, 4vw, 38px);
}

.contact-form-panel h2,
.quick-contact h2 {
  margin: 0 0 12px;
  color: #111;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.05;
}

.contact-form-panel p,
.quick-contact__intro p {
  margin: 0 0 24px;
  color: #555;
  line-height: 1.7;
}

.contact-detail-panel {
  padding: clamp(24px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-detail-panel h2,
.contact-detail-panel h3 {
  margin: 0 0 10px;
  color: #111;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
}

.contact-detail-panel h2 {
  font-size: 1.55rem;
}

.contact-detail-panel h3 {
  font-size: 1rem;
}

.contact-detail-panel p,
.contact-detail-panel address {
  margin: 0;
  color: #333;
  font-style: normal;
  line-height: 1.65;
}

.contact-detail-panel a {
  color: #111;
  text-decoration: none;
}

.contact-detail-panel a:hover,
.contact-detail-panel a:focus {
  color: #2c83db;
}

.contact-detail-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.contact-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contact-trust-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  color: #333;
  line-height: 1.55;
}

.contact-trust-list i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  color: #111;
  font-size: 18px;
}

.contact-hub .contact-map {
  min-height: 320px;
}

.quick-contact {
  padding: 72px 0;
  background: #f7f8fa;
}

.quick-contact--home {
  background: #fff;
}

.quick-contact__intro {
  align-self: center;
}

.quick-contact__intro .section-title {
  padding-bottom: 0;
}

.quick-contact__intro .section-title h2 {
  margin-bottom: 16px;
}

.quick-contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.quick-contact__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #111;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-decoration: none;
}

.quick-contact__link:hover,
.quick-contact__link:focus {
  color: #2c83db;
}

.quick-contact .php-email-form,
.contact-hub .php-email-form {
  width: 100%;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.contact .php-email-form label,
.quick-contact .php-email-form label,
.contact-hub .php-email-form label {
  display: block;
  margin-bottom: 7px;
  color: #222;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact .php-email-form .form-row,
.quick-contact .php-email-form .form-row,
.contact-hub .php-email-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact .php-email-form .form-control,
.quick-contact .php-email-form .form-control,
.contact-hub .php-email-form .form-control {
  width: 100%;
  border: 1px solid #d8d8d8;
  background: #fff;
  padding: 10px 12px;
  color: #111;
  font-family: "Open Sans", sans-serif;
  transition: border-color 0.25s ease;
}

.contact .php-email-form .form-control:focus,
.quick-contact .php-email-form .form-control:focus,
.contact-hub .php-email-form .form-control:focus {
  border-color: #111;
}

.contact .php-email-form button[type="submit"],
.quick-contact .php-email-form button[type="submit"],
.contact-hub .php-email-form button[type="submit"] {
  min-height: 44px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.contact-form-panel__note,
.quick-contact__note {
  margin: 14px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.55;
}

.contact .section-title h2 {
  margin-bottom: 0px;    
}


.contact .info {
  padding: 30px;
  width: 100%;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact .contact-pin {
  display: block;
  width: clamp(130px, 38vw, 200px);
  height: auto;
  margin: 0 auto 0.5rem;
  user-select: none;
  pointer-events: none;
}

.contact .contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.contact .contact-address {
  margin: 0;
  font-style: normal;
  text-align: center;
}

.contact .contact-address__link {
  display: inline-block;
  padding: 0;
  line-height: 1.5;
  text-align: center;
}

.contact .contact-postal {
  margin: 0;
  line-height: 1.5;
  text-align: center;
}

.contact .contact-links {
  list-style: none;
  padding: 0;
  margin: 0.15rem 0 0;
  width: 100%;
  max-width: 28rem;
  display: grid;
  gap: 0.1rem;
  justify-content: center;
  justify-items: center;
  text-align: center;
}

.contact .contact-links li {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

.contact .contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.15rem 0;
  line-height: 1.45;
}

.contact .contact-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.1rem;
  width: 100%;
}

.contact .contact-phone__ext {
  font-size: 0.85rem;
  line-height: 1.35;
  color: #444;
  padding-left: 0;
}

.contact .contact-affiliations {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.contact .contact-affiliations img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 100%;
}

.contact .contact-affiliations img:last-child {
  height: 28px;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #21413c;
}

.contact .info p {
  padding: 0 0 0 0px;
  margin-bottom: 0;
  font-size: 14px;
  color: #000;
}

/* legacy blocks (email/phone wrappers) can remain but are no longer required */

.contact .contact-map {
  border: 0;
  width: 100%;
  height: 600px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.08);
}

.contact-layout > [class*="col-lg-6"] {
  margin-bottom: 0;
}

/* Desktop — stretch info card to map height; space content inside the box only */
@media (min-width: 992px) {
  .contact .info {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 24px;
  }

  .contact .contact-card {
    flex: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
  }

  .contact .contact-map {
    height: 100%;
    min-height: 380px;
  }
}

@media (max-width: 991px) {
  .contact-hero {
    min-height: 260px;
    padding: 112px 0 46px;
  }

  .contact-hub__grid,
  .quick-contact__grid {
    grid-template-columns: 1fr;
  }

  .quick-contact {
    padding: 54px 0;
  }

  .contact-layout > [class*="col-lg-6"] {
    order: 1;
    margin-bottom: 1rem;
  }

  .contact-layout > [class*="col-lg-4"] {
    order: 2;
  }

  .contact .info,
  .contact .contact-card {
    align-items: center;
    text-align: center;
  }

  .contact .info {
    padding: 1.35rem 1.25rem 1.5rem;
  }

  .contact .contact-pin {
    width: clamp(130px, 45vw, 185px);
    margin: 0 auto 0.5rem;
  }

  .contact .contact-affiliations {
    justify-content: center;
  }

  .contact .contact-affiliations img {
    height: 36px;
  }

  .contact .contact-affiliations img:last-child {
    height: 24px;
  }

  .contact .contact-phone {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .contact .php-email-form .form-row,
  .quick-contact .php-email-form .form-row,
  .contact-hub .php-email-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-hub__body {
    padding: 46px 0 56px;
  }

  .contact .contact-map {
    height: min(300px, 42vh);
  }
}

.contact .info .email p {
  padding-top: 0px;
}

.contact .info .social-links {
  padding-left: 60px;
}

.contact .info .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #333;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  margin-right: 10px;
}

.contact .info .social-links a:hover {
  background: #1bac91;
  color: #fff;
}

.contact .email a:hover {
  color: #2c83db;
}

.contact .info .email:hover i, .contact .info .address:hover i, .contact .info .phone:hover i {
  background: #1bac91;
  color: #000;
}

.contact .php-email-form {
  width: 100%;
  padding: 30px;
  background: #fff;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #000;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  outline: none;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type="submit"] {
  background: #fff;
  border: 1px solid #000;
  padding: 10px 24px;
  color: #000;
  transition: 0.4s;
  border-radius: 0px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #000;
  color: #fff;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
