/* ==========================================================
   nav.css – shared base, header / navigation, buttons, footer
   (values are tuned to the 1440px desktop design)
   ========================================================== */

/* ---------- Base ---------- */
@font-face {
    font-family: "Inter Display";
    src: local("Inter Display"), local("InterDisplay-Regular");
    font-weight: 400;
}

@font-face {
    font-family: "Inter Display";
    src: local("Inter Display Medium"), local("InterDisplay-Medium");
    font-weight: 500;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: "Inter Display", "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-optical-sizing: auto;
    color: #1a1a1a;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}

.iti {
    display: block !important;
}

.iti__flag {
    background-image: url(./images/flags.png) !important;
}

/* ---------- Logo ---------- */
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
}

.site-logo__mark {
    width: 22px;
    height: 22px;
    fill: #1e90ff;
    flex: none;
}

.navbar-brand .custom-logo {
    display: block;
    max-height: 36px;
    width: auto;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: #ffffff;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Keep the fixed header below the WordPress admin bar when logged in */
.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

@media (max-width: 600px) {
    .admin-bar .site-header {
        top: 0;
    }
}

.site-header.is-scrolled {
    border-bottom-color: #eceef2;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}

.site-header .navbar {
    height: 72px;
    padding: 0;
}

.site-header .container {
    height: 100%;
}

.site-header .nav-link {
    font-size: 15px;
    color: #1a1a1a;
    padding: 8px 20px;
    transition: color 0.2s ease;
}

.site-header .nav-link:hover,
.site-header .current-menu-item>.nav-link {
    color: #0068e5;
}

.nav-link-small {
    font-size: 14px;
    color: #1a1a1a;
    text-decoration: none;
}

.nav-link-small:hover {
    color: #0068e5;
}

@media (max-width: 991.98px) {
    .site-header .navbar {
        height: auto;
        min-height: 64px;
        padding: 8px 0;
    }

    .site-header .navbar-collapse {
        padding: 12px 0 18px;
        border-top: 1px solid #eceef2;
        margin-top: 8px;
        background-color: #ffffff;
    }

    .site-header .nav-link {
        padding: 10px 0;
    }
}

/* ---------- Buttons (shared) ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 15px 22px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:focus-visible {
    outline: 2px solid #0068e5;
    outline-offset: 3px;
}

.btn-sm {
    padding: 11px 18px;
    font-size: 15px;
}

.btn-pill {
    border-radius: 999px;
}

.btn-block {
    width: 100%;
}

.icon-arrow {
    width: 14px;
    height: 14px;
    flex: none;
}

.btn-brand {
    background-color: #0068e5;
    border: 1px solid #0068e5;
    color: #ffffff;
}

.btn-brand:hover,
.btn-brand:focus {
    background-color: #0058c4;
    border-color: #0058c4;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 104, 229, 0.3);
}

.btn-outline-brand {
    background-color: #ffffff;
    border: 1px solid #b9d6fb;
    box-shadow: 0 0 0 3px rgba(0, 104, 229, 0.07);
    color: #0068e5;
}

.btn-outline-brand:hover {
    background-color: #f3f8ff;
    color: #0068e5;
}

.btn-dark-solid {
    background-color: #1d1c1a;
    border: 1px solid #1d1c1a;
    color: #ffffff;
}

.btn-dark-solid:hover {
    background-color: #000000;
    color: #ffffff;
}

.btn-light-solid {
    background-color: #f7f6f2;
    border: 1px solid #f7f6f2;
    color: #1d1c1a;
}

.btn-light-solid:hover {
    background-color: #ffffff;
    color: #1d1c1a;
}

.btn-outline-dark-pill {
    border: 1px solid #1d1c1a;
    border-radius: 999px;
    color: #1d1c1a;
    background-color: transparent;
}

.btn-outline-dark-pill:hover {
    background-color: #1d1c1a;
    color: #ffffff;
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    overflow: hidden;
    padding-top: 110px;
    background-color: #bddbff;
    background-image:
        radial-gradient(ellipse 45% 40% at 78% 22%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(180deg, #89beff 0%, #aed3fe 40%, #d6e8fd 75%, #eff6fe 100%);
}

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 90px;
}

.footer-cta__title {
    margin: 0;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #0b1220;
}

.footer-cta__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-cta .btn {
    padding: 17px 26px;
}

.footer-links {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 60px;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 500;
    color: #0b1220;
    margin: 0 0 16px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:not(.site-logo) {
    font-size: 15px;
    color: #3b4a63;
    text-decoration: none;
}

.footer-links a:not(.site-logo):hover {
    color: #0068e5;
}

.footer-links__brand .site-logo {
    color: #3b4a63;
    padding-left: 14px;
}

.footer-watermark {
    position: relative;
    z-index: 1;
    margin: 0;
    text-align: center;
    font-weight: 700;
    font-size: 27vw;
    line-height: 0.82;
    letter-spacing: -0.03em;
    color: #c9dff7;
    white-space: nowrap;
    user-select: none;
    transform: translateY(6%);
}

@media (max-width: 767.98px) {
    .site-footer {
        padding-top: 70px;
    }

    .footer-cta {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 50px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-links__brand {
        grid-column: 1 / -1;
    }

    .footer-links__brand .site-logo {
        padding-left: 0;
    }
}

/* Contact popup */
.contact-modal .modal-content {
    border: 0;
    border-radius: 20px;
}

.contact-modal .modal-header {
    padding: 24px 28px 0;
}

.contact-modal .modal-body {
    padding: 16px 28px 28px;
}

.contact-modal .modal-header {
    align-items: flex-start;
    gap: 16px;
}

.contact-modal__head {
    flex: 1;
}

.contact-modal .btn-close {
    margin: 4px 0 0;
}

.contact-modal__desc {
    margin: 8px 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #5b6472;
}

.contact-modal .bulk-form {
    box-shadow: none;
    border: 0;
    padding: 0;
    background: transparent;
}

.contact-modal .iti {
    width: 100%;
}