/* ============================================================
   VP Groups — custom overrides
   Loaded last so it overrides the theme/UiCore defaults.
   ============================================================ */

/* ---- Poppins site-wide ----
   Override Elementor's global typography variables (the correct hook) plus
   any direct font-family usage. Icon fonts (::before glyphs, <i> elements)
   are deliberately left untouched. */
.elementor-kit-7 {
  --e-global-typography-uicore_primary-font-family: "Poppins" !important;
  --e-global-typography-uicore_secondary-font-family: "Poppins" !important;
  --e-global-typography-uicore_text-font-family: "Poppins" !important;
  --e-global-typography-uicore_accent-font-family: "Poppins" !important;
}
body,
h1, h2, h3, h4, h5, h6, p, a, li, blockquote, label,
button, input, select, textarea,
.elementor-heading-title,
.elementor-widget-text-editor,
.uicore-menu, .uicore-menu a,
.uicore-btn, .elementor-button {
  font-family: "Poppins", sans-serif !important;
}

/* ---- Slightly larger top bar (tagline + phone/address) ---- */
#uicore-page .uicore-top-bar {
  font-size: 14px !important;
}
/* Let the contact column size to its content and stay on a single line */
#uicore-page .uicore-top-bar .ui-tb-col-1 {
  width: auto !important;
  flex: 1 1 auto;
}
#uicore-page .uicore-top-bar .ui-tb-col-2 {
  width: auto !important;
  flex: 0 0 auto;
}
#uicore-page .uicore-top-bar .ui-tb-col-2 p,
#uicore-page .uicore-top-bar .ui-tb-col-2 .uicore-icon-wrapp {
  white-space: nowrap;
}

/* ---- Larger navigation menu + header CTA ---- */
.uicore-navbar .uicore-menu .menu-item > a,
.uicore-navbar .uicore-btn {
  font-size: 17px !important;
  letter-spacing: -0.01em !important;
}
.uicore-mobile-menu-wrapper .uicore-menu .menu-item > a {
  font-size: 20px !important;
}

/* ---- Larger default heading sizes (headings without an explicit size) ---- */
.elementor-kit-7 {
  --uicore-typography--h1-s: clamp(44px, 6vw, 84px) !important;
  --uicore-typography--h2-s: clamp(30px, 4vw, 52px) !important;
  --uicore-typography--h3-s: clamp(22px, 2.4vw, 30px) !important;
  --uicore-typography--h4-s: clamp(19px, 1.9vw, 24px) !important;
}

/* Dark footer with brand contrast */
#uicore-page .uicore-footer-wrapper {
  background: #14161b;
  overflow: hidden;
}

/* Upper footer: logo + contact */
#uicore-page .uicore-inner-footer {
  padding: 64px 0 44px !important;
}
#uicore-page .uicore-inner-footer .uicore {
  align-items: center;
  grid-column-gap: 48px;
}

/* Gold brand logo, sensibly sized */
#uicore-page .uicore-footer-wrapper img.vp-footer-logo {
  width: 240px;
  max-width: 60%;
  height: auto;
  display: block;
}

/* Contact text */
#uicore-page .uicore-footer-wrapper .uicore-footer-widget,
#uicore-page .uicore-footer-wrapper .uicore-footer-widget p {
  color: #c7ccd6 !important;
  font-size: 15px;
  line-height: 2;
  margin: 0;
}
#uicore-page .uicore-footer-wrapper .uicore-footer-widget a {
  color: #c7ccd6 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
#uicore-page .uicore-footer-wrapper .uicore-footer-widget a:hover {
  color: #e6b84c !important;
}
#uicore-page .uicore-footer-wrapper .uicore-footer-widget strong {
  color: #e6b84c !important;
  font-size: 18px;
  letter-spacing: 0.3px;
}

/* Copyright bar */
#uicore-page .uicore-copyrights {
  background: #0f1115;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}
#uicore-page .uicore-copyrights .uicore-copy-content {
  color: #8b929e !important;
  font-size: 14px;
}

/* Social icons */
#uicore-page .uicore-copyrights .uicore-social-icon {
  color: #c7ccd6 !important;
  transition: color 0.2s ease, transform 0.2s ease;
}
#uicore-page .uicore-copyrights .uicore-social-icon:hover {
  color: #e6b84c !important;
  transform: translateY(-2px);
}

/* Stack logo above contact on small screens */
@media (max-width: 767px) {
  #uicore-page .uicore-inner-footer .uicore {
    grid-template-columns: 1fr !important;
    grid-row-gap: 28px;
    justify-items: center;
    text-align: center;
  }
  #uicore-page .uicore-footer-wrapper img.vp-footer-logo {
    max-width: 220px;
  }
  #uicore-page .uicore-inner-footer {
    padding: 44px 0 32px !important;
  }
  /* Centre the copyright row and its social icons */
  #uicore-page .uicore-copyrights .uicore-copyrights-wrapper {
    align-items: center;
    text-align: center;
  }
  #uicore-page .uicore-copyrights .uicore-copy-socials {
    justify-content: center !important;
  }
}

/* ============================================================
   Mobile-friendliness safety net (applies to every page)
   ============================================================ */

/* Never allow sideways scrolling from a stray wide element */
html,
body {
  overflow-x: clip;
}

/* Media scales down instead of forcing width */
img,
iframe,
svg,
video {
  max-width: 100%;
}
img {
  height: auto;
}

/* The Elementor per-element heading sizes (hero 96px, section titles ~44px)
   have no responsive variants, so cap them fluidly on tablets and phones. */
@media (max-width: 1024px) {
  .elementor-heading-title {
    font-size: clamp(24px, 6vw, 52px) !important;
    line-height: 1.2 !important;
    overflow-wrap: break-word;
    word-break: break-word;
  }
}
@media (max-width: 600px) {
  .elementor-heading-title {
    font-size: clamp(22px, 8vw, 34px) !important;
  }
}

/* Keep body copy comfortable and prevent overflow on small screens */
@media (max-width: 767px) {
  .elementor-widget-text-editor,
  .elementor-widget-text-editor p {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }
  /* Google map / embeds fill the width */
  .elementor-widget-google_maps iframe,
  .elementor-custom-embed iframe,
  .uicore iframe {
    width: 100% !important;
  }
  /* Give sections a little breathing room from the screen edges */
  .elementor-section-boxed > .elementor-container,
  .e-con-boxed > .e-con-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ============================================================
   Centered footer (single column — suits the light content)
   ============================================================ */
#uicore-page .uicore-inner-footer .uicore {
  grid-template-columns: 1fr !important;
  justify-items: center !important;
  text-align: center;
  grid-row-gap: 24px;
}
#uicore-page .uicore-footer-wrapper .uicore-footer-column {
  max-width: 640px;
}
#uicore-page .uicore-copyrights .uicore-copyrights-wrapper {
  flex-direction: column !important;
  align-items: center !important;
  text-align: center;
  gap: 14px;
}
#uicore-page .uicore-copyrights .uicore-copy-socials {
  justify-content: center !important;
}

/* ============================================================
   Contact page — custom design
   ============================================================ */
.vp-contact {
  max-width: 1140px;
  margin: 0 auto;
  padding: 72px 20px 88px;
}
.vp-contact-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.vp-contact-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: #1d263a;
  margin: 0 0 14px;
}
.vp-contact-sub {
  color: #5b6472;
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}
.vp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}
.vp-contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.vp-contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid #e7e9ee;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.vp-contact-card:hover {
  box-shadow: 0 12px 30px rgba(20, 22, 27, 0.08);
  transform: translateY(-3px);
  border-color: #e6b84c;
}
.vp-contact-ic {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #14161b;
  color: #e6b84c;
}
.vp-contact-ic svg {
  width: 22px;
  height: 22px;
}
.vp-contact-ct {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vp-contact-ct strong {
  font-size: 16px;
  color: #1d263a;
}
.vp-contact-ct span {
  color: #5b6472;
  font-size: 14.5px;
  line-height: 1.55;
  word-break: break-word;
}
.vp-contact-map {
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid #e7e9ee;
}
.vp-contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}
@media (max-width: 900px) {
  .vp-contact-grid {
    grid-template-columns: 1fr;
  }
  .vp-contact-map,
  .vp-contact-map iframe {
    min-height: 340px;
  }
}
@media (max-width: 520px) {
  .vp-contact-info {
    grid-template-columns: 1fr;
  }
  .vp-contact {
    padding: 48px 16px 64px;
  }
}
