/* =====================================================
   ReqVision — Modern Style Override
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap');

/* ---- Base ------------------------------------------ */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Typography ------------------------------------ */

.heading-root h1,
.heading-root h2,
.heading-root h3,
.heading-root h4,
.heading-root h5,
.heading-root h6 {
  letter-spacing: -0.025em !important;
  line-height: 1.15 !important;
  font-family: 'Merriweather', serif !important;
}

.text-root p,
.text-root li {
  line-height: 1.8 !important;
  font-family: 'Inter', sans-serif !important;
}

/* ---- Navigation ------------------------------------ */

.header-root,
.navigation-root,
[class*="-header-"] {
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  background: rgba(3, 20, 50, 0.85) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  transition: background 0.3s ease !important;
}

/* ---- Section backgrounds -------------------------- */

/* Upgrade the flat dark navy to a subtle gradient */
.section-root[style*="background-color:#031432"],
.section-root[style*="background-color: #031432"] {
  background: linear-gradient(160deg, #031432 0%, #071e4a 100%) !important;
}

/* ---- Buttons --------------------------------------- */

.button-button,
.form-button,
button.page-blocker-button {
  border-radius: 9999px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease !important;
  cursor: pointer !important;
}

.button-primary-button {
  background: linear-gradient(135deg, #0d5fba 0%, #2478e0 100%) !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(13, 95, 186, 0.45) !important;
  color: #fff !important;
}

.button-primary-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(13, 95, 186, 0.55) !important;
}

.button-ghost-button {
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  background: transparent !important;
  color: #fff !important;
  backdrop-filter: blur(4px);
}

.button-ghost-button:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  transform: translateY(-2px) !important;
}

/* Contact / submit button */
.form-button-fill-outline,
.form-button {
  background: linear-gradient(135deg, #0d5fba 0%, #2478e0 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(13, 95, 186, 0.4) !important;
  padding: 13px 36px !important;
}

.form-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(13, 95, 186, 0.55) !important;
}

/* ---- Images ---------------------------------------- */

.image-img img,
.image-img picture img {
  border-radius: 14px !important;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.image-container:hover .image-img img {
  transform: scale(1.04) !important;
}

/* ---- Cards / module containers -------------------- */

.module-container-root {
  border-radius: 18px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Subtle lift on hover for cards with a background */
.module-container-root[style*="background-color"]:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35) !important;
}

/* ---- Form inputs ----------------------------------- */

.form-input-combo input[type="text"],
.form-input-combo input[type="email"],
.form-input-combo input[type="tel"],
.form-input-combo textarea {
  border-radius: 10px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f0f4ff !important;
  padding: 14px 18px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  width: 100%;
  box-sizing: border-box;
}

.form-input-combo input:focus,
.form-input-combo textarea:focus {
  outline: none !important;
  border-color: #2478e0 !important;
  box-shadow: 0 0 0 3px rgba(36, 120, 224, 0.25) !important;
}

.form-input-combo label,
.form-label {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: rgba(248, 248, 248, 0.7) !important;
}

/* ---- Consent banner -------------------------------- */

.consent-banner-banner {
  border-radius: 16px !important;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(12px) !important;
}

/* ---- Dividers -------------------------------------- */

hr,
.wp-block-separator {
  border: none !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent) !important;
  margin: 48px 0 !important;
}

/* ---- Scrollbar ------------------------------------- */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #031432; }
::-webkit-scrollbar-thumb { background: #1a5fb4; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #2478e0; }

/* ---- Text selection -------------------------------- */

::selection {
  background: rgba(36, 120, 224, 0.4);
  color: #fff;
}

/* ---- Animated elements ----------------------------- */

.animated-element {
  transition: opacity 0.55s ease, transform 0.55s ease !important;
}

/* ---- Link style ------------------------------------ */

a:not([class]) {
  color: #5ba3f5;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:not([class]):hover {
  color: #88c0ff;
}
