/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #006D9C 0%, #006B61 100%);
    border-radius: 7px;
    border: 2px solid #000;
}

::-webkit-scrollbar-thumb:hover {
    background: #00B2FF;
}

@media (max-width: 767px) {
    ::-webkit-scrollbar {
        width: 0;
        display: none;
    }

    html, body {
        scrollbar-width: none;
    }
}

/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(180deg, #006D9C 0%, #006B61 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#scrollTopBtn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

#scrollTopBtn:hover {
    transform: scale(1.1);
    background-color: #00B2FF;
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
    background: transparent;
    z-index: 9999;
}

.header.scrolled {
    background: #000;
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header .logo img {
    height: 40px;
    transition: 0.3s;
}

.header .logo .logo-scrolled { display: none; }
.header.scrolled .logo .logo-default { display: none; }
.header.scrolled .logo .logo-scrolled { display: block; }

/* Desktop Nav */
.header .desktop-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header .desktop-nav a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.header .desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #00B2FF, #41FFEC);
    transition: width 0.3s ease;
}

.header .desktop-nav a:hover {
    color: #41FFEC;
}

.header .desktop-nav a:hover::after {
    width: 100%;
}

/* Mobile hamburger */
.header .menu-toggle {
    border: 1px solid #00B2FF;
    border-radius: 10px;
    padding: 10px;
    background: transparent;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.header .menu-toggle span {
    width: 20px;
    height: 1px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: 0.3s;
    display: block;
}

.header .menu-toggle:hover span {
    background: #00B2FF;
}

/* Fullscreen mobile menu */
.fullscreen-menu {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(81.22deg, #00B2FF -38.22%, #000000 32.12%, #000000 34.13%, #000000 72.1%, #41FFEC 141.12%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.fullscreen-menu.open {
    opacity: 1;
    pointer-events: all;
}

.fullscreen-menu .menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
}

.fullscreen-menu .menu-close:hover {
    color: #41FFEC;
}

.fullscreen-menu .fullscreen-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 36px; */
    gap: 15px;
}

.fullscreen-menu .fullscreen-nav a {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 22px;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.fullscreen-menu .fullscreen-nav a:hover {
    color: #41FFEC;
}

.fullscreen-menu .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 40px;
}

.fullscreen-menu .social-icons a {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    z-index: 1;
}

.fullscreen-menu .social-icons a::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: 50%;
    background: linear-gradient(90deg, #27998E 0%, #00DBF3 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.fullscreen-menu .social-icons a i {
    font-size: 14px;
    color: #fff;
}

.fullscreen-menu .social-icons a:hover::before {
    filter: brightness(1.1);
}

/* Responsive */
@media (max-width: 991px) {
    .header .desktop-nav { display: none; }
    .header .menu-btn { display: flex !important; }
}

.footer {
    background: #000;
    padding: 60px 0 30px;
}

/* ── DESKTOP: 4-column grid (default) ── */
.footer .footer-inner {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
}

.footer .footer-logo {
    width: 170px;
}

/* hide follow-img on desktop */
.footer .footer-follow-img {
    display: none;
}

.footer .footer-col h4,
.footer .footer-follow h4 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    background: linear-gradient(90deg, #00B2FF 0%, #41FFEC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.footer .footer-col ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.footer .footer-col ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 15px;
}

.footer .footer-col ul li:last-child {
    margin-bottom: 0;
}

.footer .footer-col ul li a {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 13px;
    line-height: 16px;
    color: #DADADA;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
}

.footer .footer-col ul li::before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    background: linear-gradient(90deg, #00B2FF 0%, #41FFEC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.footer .footer-col ul li a:hover {
    color: #00B2FF;
}

/* ── SOCIAL ICONS ── */
.footer .social-icons {
    display: flex;
    gap: 10px;
}

.footer .social-icons a {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    z-index: 1;
}
.social-icons a:hover{
    background: linear-gradient(180deg, #006D9C 0%, #006B61 100%);
}

.footer .social-icons a::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: 50%;
    background: linear-gradient(90deg, #27998E 0%, #00DBF3 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.footer .social-icons a i {
    font-size: 14px;
    color: #fff;
}

.footer .social-icons a:hover::before {
    filter: brightness(1.1);
}

/* ── COPYRIGHT ── */
.footer .footer-bottom {
    position: relative;
    margin-top: 50px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 13px;
    line-height: 15px;
    /* color: var(--text-primary); */
    /* color: #585353; */
    color: #b5b5b5;

}

.footer .footer-bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    border-top: 1px solid rgba(217, 217, 217, 0.25);
}

.footer .footer-bottom p {
    margin: 0;
}

.footer .footer-bottom .footer-privacy-link {
    /* color: var(--text-primary); */
    /* color: #585353; */
    color: #b5b5b5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .footer-bottom .footer-privacy-link:hover {
    color: #41FFEC;
    text-decoration: underline;
}

/* ── TABLET ── */
@media (max-width: 991px) {
    .footer .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── MOBILE: new layout (max 767px) ── */
@media (max-width: 767px) {
    #scrollTopBtn{
        display: none;
    }

    .header .logo img {
        height: 32px;
    }

    .footer{
        padding: 30px 0 5px;
    }

    .footer .footer-inner {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 0;
        column-gap: 20px;
    }

    .footer .footer-brand,
    .footer .footer-col--services,
    .footer .footer-col--quicklinks,
    .footer .footer-follow{
        text-align: center;
    }

    .footer .social-icons{
        justify-content: center;
    }

    .footer .footer-col--quicklinks{
        margin-top: 25px;
    }

    /* top-left: logo */
    .footer .footer-brand {
        order: 1;
        padding-bottom: 25px;
    }

    /* top-right: follow us with logo image */
    .footer .footer-follow {
        order: 2;
        padding-bottom: 25px;
        align-items: flex-end;
    }

    .footer .footer-follow-img {
        display: block;
        width: 80px;
        opacity: 0.75;
        margin-bottom: 8px;
    }

    /* divider effect via border-top on both bottom cols */
    .footer .footer-col--services {
        order: 3;
        /* border-top: 1px solid #1f1f1f; */
        /* padding-top: 25px; */
    }

    .footer .footer-col--quicklinks {
        order: 4;
        /* border-top: 1px solid #1f1f1f; */
        /* padding-top: 25px; */
    }

    .footer .footer-col ul li::before {
        display: none;
    }

    .footer .footer-col ul li {
        padding-left: 0;
    }

    .footer .footer-bottom{
        margin-top: 25px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}
