/* assets/styles.css */

/* Prevent Multiple Contact Form 7 Submissions */

.wpcf7-form.submitting .wpcf7-submit {
  pointer-events: none;
}
html {
  scroll-padding-top: 0px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hidden-menu {
  display: none !important;
}

.np-tag {
  width: fit-content;
  p {
    margin: 0;
  }
}

.home-tab {
  border-bottom: 1px solid #ea2124;
  cursor: pointer;
  transition:
    border-bottom-color 0.25s ease,
    background-color 0.25s ease;
}

.home-tab .home-tab-title {
  transition:
    color 0.25s ease,
    font-weight 0.25s ease;
}

.home-tab path {
  transition: stroke 0.25s ease;
}

#home-tab-image-2,
#home-tab-image-3,
#home-tab-image-4 {
  display: none;
}

#home-page-partner-section {
  #clio-banner-2 {
    display: none;
  }

  .clio-banner-btn {
    cursor: pointer;
  }
}

.np-country-selector {
  position: relative;
  display: inline-block;
  min-width: 94px;
  font-family: "Inter", "Segoe UI", sans-serif;
}

.np-country-selector__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 36px;
  padding: 8px 12px 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  background: #4c5160;
  box-shadow: none;
  color: #ffffff;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.np-country-selector__trigger:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background: #565c6c;
}

.np-country-selector__trigger:focus-visible {
  outline: none;
  border-color: #8db4ff;
  box-shadow: 0 0 0 3px rgba(93, 155, 255, 0.18);
}

.np-country-selector__value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
}

.np-country-selector__flag {
  font-size: 18px;
  line-height: 1;
}

.np-country-selector__chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #ffffff;
  border-bottom: 1.5px solid #ffffff;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-right: 1px;
  opacity: 0.9;
}

.np-country-selector.is-open .np-country-selector__chevron {
  transform: rotate(-135deg) translateY(-1px);
}

.np-country-selector__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 999;
  width: 294px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: #3f424b;
  box-shadow: 0 14px 34px rgba(9, 12, 16, 0.35);
}

.np-country-selector__menu[hidden] {
  display: none;
}

.np-country-selector__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 15px 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #ffffff;
  font-size: 17px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.np-country-selector__option:hover,
.np-country-selector__option:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
}

.np-country-selector__option.is-active {
  background: rgba(255, 255, 255, 0.1);
}

.np-country-selector__option-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 1290px) {
  #header-right-container {
    display: none !important;
  }
  #header-bar {
    display: flex !important;
  }
}

@media (min-width: 1290px) {
  #header-bar {
    display: none !important;
  }
  #header-menu-icon {
    display: none !important;
  }
}

.blog-post-content {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: "Playfair Display", sans-serif !important;
  }
  img {
    width: 100%;
  }
}

.blog-page-main-blog {
  position: relative;
  overflow: hidden;
  height: 100%;
}

/* Gutenberg: NP CTA Card */
.np-cta-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding: 32px 34px;
  border-radius: 18px;
  background: #f8f8f8;
  overflow: hidden;
}

.np-cta-card--image-left {
  grid-template-columns: 0.85fr 1.15fr;
}

.np-cta-card__title {
  margin: 0 0 10px 0;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 1.05;
  color: #2d2d2d;
}

.np-cta-card__body {
  margin: 0 0 18px 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 20px;
  line-height: 1.35;
  color: #4b4b4b;
}

.np-cta-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 6px;
  background: #d83a2e;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  transition:
    transform 0.12s ease,
    background-color 0.2s ease;
}

.np-cta-card__button:hover,
.np-cta-card__button:focus-visible {
  background: #c73329;
  transform: translateY(-1px);
}

.np-cta-card__media {
  display: flex;
  justify-content: flex-end;
}

.np-cta-card--image-left .np-cta-card__media {
  justify-content: flex-start;
}

.np-cta-card__image {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .np-cta-card,
  .np-cta-card--image-left {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .np-cta-card__media {
    display: none;
  }

  .np-cta-card__title {
    font-size: 34px;
  }

  .np-cta-card__body {
    font-size: 18px;
  }
}

.blog-page-main-blog::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
  pointer-events: none;
}

/* Make sure content stays above overlay */
.blog-page-main-blog .elementor-element-69de443 {
  position: absolute;
  z-index: 2;
}

/* Optional: make text white */
.blog-page-main-blog .elementor-heading-title,
.blog-page-main-blog .elementor-post-info,
.blog-page-main-blog p {
  color: #fff;
}
@media (min-width: 768px) {
  .blog-post-main-post-container {
    .elementor-widget-loop-grid,
    .elementor-loop-container,
    .elementor-widget-theme-post-featured-image,
    a {
      height: 100%;
    }
  }
}

.e-search-nothing-found-message,
.wpcf7-response-output {
  font-family: "inter";
  font-size: 14px;
  color: black;
}
.wpcf7-response-output {
  padding: 20px;
}
.elementor-menu-anchor {
  position: relative;
  top: -100px;
  visibility: hidden;
}

.wpcf7-form {
  label {
    display: block;
    margin: 0 0 10px;
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 15px;
  }

  .wpcf7-not-valid-tip {
    color: #ea2124 !important;
    font-size: 14px;
    font-family: "Inter";
    margin-bottom: 30px;
  }

  .red-text {
    color: #ea2124;
  }

  .wpcf7-form-control-wrap {
    display: block;
  }

  .form-input,
  input.wpcf7-form-control:not([type="submit"]),
  select.wpcf7-form-control,
  textarea.wpcf7-form-control {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 10px;
    padding: 12px 18px;
    border: 1px solid #2b2b2b;
    border-radius: 0;
    background: #fff;
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 18px;
    line-height: 1.25;
    color: #1f1f1f;
    outline: none;
    box-shadow: none;
    margin-top: 10px;
  }

  textarea.wpcf7-form-control,
  textarea.form-input {
    min-height: 180px;
    resize: vertical;
  }

  .form-input::placeholder,
  input.wpcf7-form-control::placeholder,
  textarea.wpcf7-form-control::placeholder {
    color: #b7b7b7;
    opacity: 1;
  }

  .form-input:focus,
  input.wpcf7-form-control:focus,
  select.wpcf7-form-control:focus,
  textarea.wpcf7-form-control:focus {
    border-color: #1f1f1f;
  }

  select.wpcf7-form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12' viewBox='0 0 20 12'%3E%3Cpath fill='%231f1f1f' d='M10 12 0 2.1 2.1 0 10 7.9 17.9 0 20 2.1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 22px center;
    background-size: 18px 11px;
    padding-right: 56px;
  }

  .form-btn,
  input.wpcf7-form-control.wpcf7-submit {
    display: block;
    width: 100%;
    padding: 15px 24px;
    border: 0;
    border-radius: 0;
    background: #ea2124;
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    cursor: pointer;
    box-shadow: none;
    transition:
      filter 0.15s ease,
      transform 0.02s ease;
  }

  .form-btn:hover,
  input.wpcf7-form-control.wpcf7-submit:hover {
    filter: brightness(0.95);
  }

  .form-btn:active,
  input.wpcf7-form-control.wpcf7-submit:active {
    transform: translateY(1px);
  }

  .wpcf7-spinner {
    margin-left: 12px;
  }
}

.home-v1-trustpilot .trustpilot-widget {
  width: 420px;
}

@media (max-width: 500px) {
  .home-v1-trustpilot .trustpilot-widget {
    width: 100%;
  }
}
