/* =========================================
   Fonts & Variables
========================================= */
@font-face {
    font-family: 'Amiko-Bold';
    src: url('/fonts/Amiko-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

:root {
    --primary: #0b3655;
    --accent: #ec7834;
    --dark-blue: #1c66a0;
    --text: #666666;
    --header-text: #0b3655;
    --white: #ffffff;
    --light-bg: #f4f4f4;
    --dark-bg: #111111;
    --border: #e0e0e0;
    --shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* =========================================
   Reset & Base
========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    /* font-family: 'Amiko-Bold', 'Roboto', 'Open Sans', sans-serif; */
    font-family: 'Poppins', 'Roboto', 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

h1,
h2
h3,
h4,
h5,
h6 {
    color: var(--header-text);
    margin-bottom: 1rem;
}

h1,
h2 {
    font-family: 'Roboto-Condensed', 'Anton', sans-serif;
    font-weight: 500;
}

h3,
h4,
h5,
h6 {
    font-family: 'Roboto', 'Anton', sans-serif;
    font-weight: 600;
}

main {
    padding: 50px 0;
}


.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Generic button (used across sections) */
.btn {
    background: var(--accent);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn:hover {
    background: #d86a2a;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236, 120, 52, 0.25);
}

/* =========================================
   Topbar
========================================= */
.topbar {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar__item {
    color: var(--white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
}

.topbar__item i {
    margin-right: 8px;
    font-size: 16px;
}

/* =========================================
   Navigation
========================================= */
.nav {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    width: 100%;
}

.nav__brand {
    display: flex;
    align-items: center;
}

.logo-desktop {
    height: 100px;
    display: block;
}

.logo-mobile {
    height: 40px;
    display: none;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle__line {
    width: 25px;
    height: 2px;
    background: var(--primary);
    margin: 3px 0;
    transition: var(--transition);
}

.nav__menu {
    display: flex;
}

.nav__menu ul {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav__item {
    position: relative;
    margin: 0 15px;
}

.nav__item>a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 5px;
    position: relative;
    transition: var(--transition);
}

.nav__item>a:hover {
    color: var(--accent);
}

.nav__item.is-active>a {
    color: var(--accent);
}

.nav__item.has-children>a {
    padding-right: 20px;
}

.nav-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--primary);
    transition: var(--transition);
}

.nav__item:hover .nav-arrow {
    border-top-color: var(--accent);
}

.nav__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    display: flex;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.nav__item:hover .nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__submenu li {
    margin: 0;
    width: 100%;
}

.nav__submenu a {
    display: block;
    padding: 12px 20px;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.nav__submenu a:hover {
    background: var(--light-bg);
    color: var(--accent);
}

.nav__submenu li:last-child a {
    border-bottom: none;
}

.nav__cta .btn--cta,
.btn--cta {
    background: var(--accent);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.nav__cta .btn--cta i,
.btn--cta.mobile-contact__cta i {
    position: absolute;
    top: 5px;
    left: 5px;
}

.nav__cta .btn--cta:hover,
.btn--cta.mobile-contact__cta:hover {
    background: #d86a2a;
    transform: translateY(-2px);
}

/* =========================================
   Mobile Menu
========================================= */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    transition: var(--transition);
    overflow-y: auto;
}

.mobile-menu.open {
    left: 0;
}

.mobile-menu__header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
}

.mobile-menu__close {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
}

.mobile-menu__close span {
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--primary);
    left: 0;
    transition: var(--transition);
}

.mobile-menu__close span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu__close span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.mobile-menu__close span:nth-child(3) {
    opacity: 0;
}

.mobile-nav {
    list-style: none;
    padding: 20px;
}

.mobile-nav__item {
    border-bottom: 1px solid var(--border);
    position: relative;
}

.mobile-nav__item>a {
    display: block;
    padding: 15px 0;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.mobile-nav-arrow {
    position: absolute;
    right: 0;
    top: 15px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--primary);
    transition: var(--transition);
}

.mobile-nav__item.open .mobile-nav-arrow {
    transform: rotate(180deg);
}

.mobile-nav__submenu {
    display: none;
    padding-left: 20px;
}

.mobile-nav__item.open .mobile-nav__submenu {
    display: block;
}

.mobile-nav__submenu li {
    border-bottom: 1px solid var(--border);
}

.mobile-nav__submenu a {
    display: block;
    padding: 12px 0;
    color: var(--text);
    text-decoration: none;
}

.mobile-contact {
    padding: 20px;
    border-top: 1px solid var(--border);
}

.mobile-contact__item {
    display: block;
    padding: 10px 0;
    color: var(--text);
    text-decoration: none;
}

.mobile-contact__item i {
    font-size: large;
    margin-right: 5px;
}

.mobile-contact__cta {
    display: inline-block;
    margin-top: 20px;
    text-align: center;
}

/* =========================================
   Footer (refreshed)
========================================= */
.footer {
    position: relative;
    background: var(--primary);
    color: var(--white);
    padding: 56px 0 0;
    overflow: hidden;
}

/* .footer__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(180px 180px at 90% 10%, rgba(255, 255, 255, .08), transparent 60%),
        radial-gradient(240px 240px at 70% 75%, rgba(236, 120, 52, .18), transparent 65%),
        linear-gradient(180deg, rgba(12, 54, 85, .0), rgba(12, 54, 85, .2));
    mask-image: linear-gradient(180deg, transparent 0%, black 16%, black 100%);
} */

/* .footer__bg::after {
    content: '';
    position: absolute;
    right: 8%;
    top: 18%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0) 60%),
        linear-gradient(135deg, rgba(44, 125, 194, .35), rgba(28, 102, 160, .35));
    filter: blur(8px);
    animation: footerFloat 9s ease-in-out infinite;
} */

@keyframes footerFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(14px)
    }
}

.footer__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 32px;
    grid-template-columns: 1.15fr .9fr .9fr 1.2fr;
}

.footer__col{
    padding: 50px 0px !important;
}

.footer__brand {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.footer__brand-col a{
    display: inline-block;
    width: 100%;
}

.footer__tagline {
    margin-top: 8px;
    color: rgba(255, 255, 255, .85)
}

.footer__title {
    font-size: 16px;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #eaf4ff;
    margin-bottom: 12px;
}

.footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer__links a {
    color: #dce9f6;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer__links a:hover {
    color: #fff;
    transform: translateX(2px);
}

.footer__social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.social-link {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #2a7dc2, #1c66a0);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12);
    color: #fff;
    text-decoration: none;
    transition: transform .15s ease, opacity .2s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    opacity: .95;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.newsletter-form {
    margin-top: 8px;
}

.newsletter__row {
    display: flex;
    gap: 8px;
}

.newsletter__row input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(0, 0, 0, .15);
    color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
}

.newsletter__row input::placeholder {
    color: #d6e5f6;
    opacity: .8;
}

.btn--nl {
    border-radius: 10px;
    padding: 10px 14px;
    background: #ec7834;
    color: #fff;
    border: none;
}

.btn--nl:hover {
    background: #d86a2a;
}

.newsletter-form .form__msg {
    margin-top: 8px;
    font-size: 14px;
    color: #e9f3ff;
    min-height: 1.2em;
}

.footer__contact {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .15);
    border: 1px solid rgba(255, 255, 255, .2);
}

.chip svg {
    width: 16px;
    height: 16px;
    color: #fff;
}

.chip a {
    color: #fff;
    text-decoration: none;
}

.copy-mini {
    margin-left: auto;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    transition: var(--transition);
}

.copy-mini:hover {
    background: rgba(255, 255, 255, .14);
}

.copy-mini[disabled] {
    opacity: .65;
    cursor: default;
}

.footer__legal {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, .2);
    margin-top: 32px;
}

.footer__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.footer__copy {
    color: rgba(255, 255, 255, .85)
}

.footer__copy a {
    color: #fff;
    text-decoration: none;
}

.footer__copy a:hover {
    text-decoration: underline;
}

.madeby {
    color: rgba(255, 255, 255, .65)
}

.footer__mini-links {
    display: flex;
    gap: 10px;
    color: #fff;
}

.footer__mini-links a {
    color: #fff;
    opacity: .9;
    text-decoration: none;
}

.footer__mini-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* back-to-top button (works with your existing JS) */
.scroll-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ec7834;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}

.scroll-top svg {
    width: 22px;
    height: 22px;
}


/* =========================================
   Responsive
========================================= */
@media (max-width: 1024px) {
    .topbar__item.hide-on-desktop {
        display: none;
    }

    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        display: none;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer__bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .newsletter__row {
        flex-direction: column;
    }

    .btn--nl {
        width: 100%;
    }
}