* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --nav-primary: #0d4677;
    --nav-deep: #102d48;
    --nav-accent: #e4a91b;
    --nav-ink: #142235;
    --nav-surface: #ffffff;
    --nav-surface-soft: #f4f8fc;
    --nav-line: #e5edf4;
    --nav-shadow: 0 12px 32px rgba(13, 70, 119, .12);
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

button {
    font: inherit;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.container {
    width: min(1200px, 92%);
    margin: auto;
}

/* Header */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 24px;
}

.header-wrapper {
    position: relative;
    min-height: 70px;
    padding: 8px 12px 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 16px;
    box-shadow: var(--nav-shadow);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}


.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo img {
    display: block;
    width: 88px;
    height: auto;
}

/* Desktop navigation */
.header-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-list>li {
    position: relative;
}

.nav-list>li>a,
.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 12px;
    border: 0;
    background: transparent;
    color: var(--nav-ink);
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 600;
    
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: color .25s ease, background .25s ease;
}

.nav-list>li>a:hover,
.nav-link:hover {
    color: var(--nav-primary);
}

.nav-list>li>a::after,
.nav-link::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 4px;
    height: 2px;
    background: var(--nav-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.nav-list>li>a:hover::after,
.nav-link:hover::after {
    transform: scaleX(1);
}

.arrow {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .arrow,
.nav-dropdown.active .arrow {
    transform: rotate(225deg) translateY(-1px);
}

/* Services menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 560px;
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    background: var(--nav-surface);
    border: 1px solid var(--nav-line);
    border-radius: 12px;
    box-shadow: var(--nav-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

@media (min-width: 993px) {
    .nav-dropdown:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }
}

.mega-item {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    color: var(--nav-ink);
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 600;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.mega-item:hover {
    background: var(--nav-surface-soft);
    color: var(--nav-primary);
    transform: translateX(3px);
}

/* Mobile toggle */
.menu-toggle {
    display: none;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 0;
    border-radius: 12px;
    background: var(--nav-deep);
    cursor: pointer;
}

.menu-toggle span {
    width: 19px;
    height: 2px;
    background: #ffffff;
    border-radius: 10px;
    transition: 0.3s ease;
}

/* Tablet */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .site-header {
        padding-top: 22px;
    }

    .header-wrapper {
        min-height: 65px;
        padding-left: 20px;
    }

    .header-logo img {
        width: 78px;
    }

    .nav-list {
        gap: 0;
    }

    .nav-list>li>a,
    .nav-link {
        padding: 10px 9px;
        font-size: 11px;
    }

    .nav-list>li>a::after,
    .nav-link::after {
        left: 9px;
        right: 9px;
    }

    .mega-menu {
        width: 560px;
    }
}

/* Mobile */
@media (max-width: 992px) {
    .site-header {
        padding-top: 15px;
    }

    .container {
        width: calc(100% - 24px);
    }

    .header-wrapper {
        min-height: 62px;
        padding: 7px 8px 7px 18px;
        border-radius: 15px;
    }

    .header-logo img {
        width: 72px;
    }



    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    /* Navigation */

    .header-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        width: 100%;
        padding: 10px;
        background: var(--nav-surface);
        border: 1px solid var(--nav-line);
        border-radius: 15px;
        box-shadow: var(--nav-shadow);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease;
    }

    .header-nav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* List */

    .nav-list {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .nav-list>li {
        width: 100%;
    }

    .nav-list>li>a,
    .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 13px 14px;
        border-radius: 9px;
        font-size: 13px;
    }

    .nav-list>li>a:hover,
    .nav-link:hover {
        background: var(--nav-surface-soft);
    }

    .nav-list>li>a::after,
    .nav-link::after {
        display: none;
    }

    .mega-menu {
        position: static;
        width: 100%;
        margin: 0;
        padding: 5px;
        display: none;
        grid-template-columns: 1fr;
        background: var(--nav-surface-soft);
        border: 0;
        border-radius: 9px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .mega-item {
        min-height: 48px;
        padding: 0 12px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 7px;
    }

    .mega-item:hover {
        transform: none;
        background: var(--nav-surface);
    }

    .nav-dropdown.active .mega-menu {
        display: grid;
    }
}

/* Small screens */
@media (max-width: 400px) {
    .container {
        width: calc(100% - 18px);
    }

    .header-wrapper {
        padding-left: 14px;
    }

    .header-logo img {
        width: 65px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }
}

/* footer */

.site-footer {
    position: relative;
    background: #07111f;
    color: #fff;
    overflow: hidden;
}

.footer-main {
    padding: 70px 0 45px;
}


.footer-logo {
    display: inline-block;
    margin-bottom: 18px;

    color: #fff;

    font-size: 25px;
    font-weight: 800;

    text-decoration: none;
}

.footer-logo span {
    color: #6ea8ff;
}

.footer-brand p {
    max-width: 300px;
    font-family: "Barlow ", sans-serif;
    margin-bottom: 24px;

    color: #91a0b3;
    font-size: 14px;
    line-height: 1.8;
}


.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    color: #aab7c7;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;

    text-decoration: none;

    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #fff;
    background: #6ea8ff;
    border-color: #6ea8ff;

    transform: translateY(-4px);
}


/* =========================================
   FOOTER COLUMNS
========================================= */

.footer-column h5 {
    position: relative;

    margin-bottom: 22px;

    color: #fff;

    font-size: 15px;
    font-weight: 700;
}

.footer-column h5::after {
    content: "";

    display: block;

    width: 28px;
    height: 2px;

    margin-top: 9px;

    background: #6ea8ff;

    border-radius: 10px;
}

.footer-column ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-column ul li {
    margin-bottom: 11px;
}

.footer-column ul li a {
    position: relative;
    color: #91a0b3;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: "Barlow ", sans-serif;
}

.footer-column ul li a::before {
    content: "→";
    position: absolute;
    left: -17px;
    opacity: 0;
    color: #6ea8ff;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
    padding-left: 17px;
}

.footer-column ul li a:hover::before {
    opacity: 1;
}


/* =========================================
   CONTACT STRIP
========================================= */

.footer-contact {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

    margin-top: 55px;
    padding-top: 30px;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 13px;
}

.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 42px;
    height: 42px;

    color: #6ea8ff;

    background: rgba(110, 168, 255, 0.08);

    border: 1px solid rgba(110, 168, 255, 0.15);

    border-radius: 10px;
}

.footer-contact-item small {
    display: block;

    margin-bottom: 3px;

    color: #65758a;

    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact-item a,
.footer-contact-item span {
    color: #c2ccd8;

    font-size: 12px;
    text-decoration: none;

    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: #6ea8ff;
}


/* =========================================
   BOTTOM
========================================= */

.footer-bottom {
    padding: 20px 0;

    background: #050d18;

    border-top:
        1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;

    color: #66768a;

    font-size: 12px;
}

.footer-bottom-links {
    display: flex;
    gap: 22px;
}

.footer-bottom-links a {
    color: #66768a;

    font-size: 12px;

    text-decoration: none;

    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .footer-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-contact {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 767px) {

    .footer-main {
        padding: 50px 0 35px;
    }

    .footer-cta {
        padding: 45px 0;
    }

    .footer-cta h3 {
        font-size: 26px;
    }

    .footer-cta-btn {
        padding: 13px 20px;
    }

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

    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-bottom-links {
        gap: 15px;
    }

}


@media (max-width: 575px) {

    .footer-cta h3 {
        font-size: 23px;
    }

    .footer-brand p {
        max-width: 100%;
    }

}