/* =========================================================
   GLOBAL
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #fff;
    color: #111827;
    transition: background 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}


/* =========================================================
   NAVBAR
   Same general style as Home
========================================================= */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 15px 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav .container {
    width: 90%;
    max-width: 1450px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 100%;
}

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

.logo img {
    width: 200px;
    display: block;
}


/* Navbar */

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;

}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;

}



.nav-menu a {

    text-decoration: none;

    color: white;

    font-size: 18px;

    transition: 0.3s ease;

}


.nav-menu>li>a:hover {

    color: #0785f2;

    text-decoration: underline;

    text-underline-offset: 5px;

}










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

.nav-menu>li>a {
    color: #fff;
    font-size: 21px;
    font-weight: 450;
    transition: color 0.3s ease;
    white-space: nowrap;

}

.nav-menu>li>a:hover {
    color: #0785f2;
}


/* Active page */

.nav-menu>li:nth-child(5)>a {
    color: #0785f2;
}


/* =========================================================
   DROPDOWN
========================================================= */

.dropdown {
    position: relative;
}

.dropdown>a {
    display: flex;
    align-items: center;
    gap: 5px;

}

.dropdown a {
    font-size: 10px;

}

/* .dropdown:hover > a i {
    transform: rotate(180deg);
} */

.dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 0;

    width: 200px;
    padding: 10px 0;

    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: all 0.3s ease;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;

    color: #111827;
    font-size: 15px;

    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background: #f1f5f9;
    color: #0785f2;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* =========================================================
   NAV ACTIONS
========================================================= */

.actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quote-btn {
    border: none;
    background: #0785f2;
    color: #fff;

    padding: 11px 22px;
    border-radius: 5px;

    font-size: 21px;
    font-weight: 600;

    transition: all 0.3s ease;
}

.quote-btn:hover {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.theme-btn {
    width: 40px;
    height: 40px;

    border: none;
    border-radius: 60%;

    background: #f1f5f9;
    color: #111827;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;

    transition: all 0.3s ease;
}

.theme-btn:hover {
    transform: rotate(15deg);
}


/* Mobile menu button */

.menu-toggle {
    display: none;

    width: 40px;
    height: 40px;

    border: none;
    background: transparent;
    color: #fff;

    font-size: 25px;
}


.menu-toggle {
    color: #ffffff;
}

/* When navbar is scrolled and becomes white */
.nav.scrolled .menu-toggle {
    color: #111827;
}

/* Dark Mode */
body.dark-mode .menu-toggle {
    color: #ffffff;
}


body.dark .menu-toggle {
    color: #fff !important;
}


/* =========================================================
   SCROLLED NAVBAR
========================================================= */

.nav.scrolled {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.nav.scrolled .nav-menu>li>a {
    color: #111827;
}

.nav.scrolled .nav-menu>li>a:hover,
.nav.scrolled .nav-menu>li:nth-child(5)>a {
    color: #0785f2;
}

.nav.scrolled .quote-btn:hover {
    background: #0b2464;
    border-color: #0b2464;
    color: #fff;
}

.nav.scrolled .menu-toggle {
    color: #111827;
}


/* =========================================================
   ABOUT HEADER / HERO
========================================================= */

.header {
    position: relative;

    min-height: 500px;
    padding: 140px 25px 70px;

    background: #0b2675;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}


/* Decorative dots */

.dots {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.dots span {
    position: absolute;

    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);

    animation: floatingDots 6s ease-in-out infinite;
}

.dots span:nth-child(1) {
    top: 20%;
    left: 15%;
}

.dots span:nth-child(2) {
    top: 35%;
    left: 75%;
    animation-delay: 1s;
}

.dots span:nth-child(3) {
    top: 65%;
    left: 85%;
    animation-delay: 2s;
}

.dots span:nth-child(4) {
    top: 75%;
    left: 20%;
    animation-delay: 3s;
}

.dots span:nth-child(5) {
    top: 15%;
    left: 55%;
    animation-delay: 4s;
}

.dots span:nth-child(6) {
    top: 80%;
    left: 65%;
    animation-delay: 5s;
}

@keyframes floatingDots {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-20px);
        opacity: 1;
    }
}


/* Hand */

.header .hand {
    position: absolute;
    left: 0;
    top: 55%;

    width: 40%;

    transform: translateY(-50%);

    pointer-events: none;
}

.header .hand img {
    width: 100%;
    display: block;

    mix-blend-mode: multiply;
}


/* Header content */

.header .content {
    position: relative;
    z-index: 2;

    max-width: 850px;
    margin-left: auto;
    margin-right: auto;

    color: #fff;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin-bottom: 18px;

    font-size: 17px;
}

.breadcrumb a {
    color: #fff;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #0785f2;
}

.breadcrumb i {
    font-size: 13px;
}

.header .content h1 {
    font-size: 48px;
    margin-bottom: 18px;
}

.header .content p {
    max-width: 650px;
    margin: auto;

    font-size: 20px;
    line-height: 1.7;
}



/* =========================================================
   HERO
========================================================= */

.terms-hero {
    width: 97%;
    max-width: 1600px;

    height: 300px;

    margin: 140px auto 0;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background: #1765c5;

    color: #ffffff;

    position: relative;

    overflow: hidden;
}


.terms-hero::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.06);

    top: -300px;
    left: -100px;
}


.terms-hero::after {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    background:
        rgba(0, 0, 0, 0.08);

    bottom: -320px;
    right: -100px;
}


.hero-content {
    position: relative;

    z-index: 2;

    padding: 30px 20px;
}


.hero-content h1 {
    font-size: 10px;

    font-weight: 100;

    margin-bottom: 12px;
}


.hero-content p {
    font-size: 17px;

    margin-bottom: 12px;

    color:
        rgba(255, 255, 255, 0.95);
}


.updated-date {
    display: block;

    font-size: 14px;

    color:
        rgba(255, 255, 255, 0.9);
}


/* =========================================================
   TERMS
========================================================= */

.terms-container {
    width: 90%;
    max-width: 1180px;

    margin: 70px auto 100px;
}


.terms-section {
    margin-bottom: 75px;

    padding-bottom: 35px;

    border-bottom:
        1px solid #c3ccd8;
}


.terms-section h2 {
    font-size: 29px;

    color: #121a29;

    margin-bottom: 25px;

    padding-bottom: 12px;

    border-bottom:
        2px solid #71839a;
}


.terms-section h3 {
    color: #456b91;

    font-size: 20px;

    margin-top: 30px;

    margin-bottom: 10px;
}


.terms-section p {
    color: #566171;

    font-size: 16px;

    margin-bottom: 20px;

    line-height: 1.9;
}


/* =========================================================
   LIST
========================================================= */

.terms-section ul {
    margin: 10px 0 25px;

    padding-left: 28px;
}


.terms-section li {
    color: #566171;

    margin-bottom: 10px;

    padding-left: 5px;
}


.terms-section li::marker {
    color: #4b7097;
}


/* =========================================================
   NOTICE
========================================================= */

.notice-box {
    margin-top: 30px;

    padding: 22px 25px;

    border-left:
        4px solid #5d7fa2;

    background: #fafcff;

    border-radius: 10px;
}


.notice-box strong {
    display: block;

    color: #26364b;

    font-size: 17px;

    margin-bottom: 8px;
}


.notice-box p {
    margin: 0;

    color: #596575;
}


.notice-box.security {
    border-left-color: #b7a23b;
}


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

.contact-section {
    border-bottom: none;
}


.contact-card {
    margin-top: 30px;

    background: #f5f7fa;

    border-radius: 15px;

    padding: 35px;

    max-width: 900px;
}


.contact-row {
    display: flex;

    gap: 30px;

    margin-bottom: 20px;
}


.contact-row:last-child {
    margin-bottom: 0;
}


.contact-row strong {
    min-width: 100px;

    color: #26364b;
}


.contact-row span {
    color: #657184;
}


.contact-row a {
    color: #2874cc;

    transition: 0.3s;
}


.contact-row a:hover {
    text-decoration: underline;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(40px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.reveal.active {
    opacity: 1;

    transform:
        translateY(0);
}


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

.footer {
    position: relative;

    width: 100%;

    min-height: 430px;

    padding: 70px 6% 45px;

    background:
        linear-gradient(135deg,
            #0b2675 0%,
            #0754bd 50%,
            #0b2675 100%);

    color: #ffffff;

    overflow: hidden;
}


.footer::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background:
        rgba(97, 200, 232, 0.10);

    top: -180px;
    right: -100px;
}


.footer::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.06);

    bottom: -150px;
    left: -80px;
}


/* =========================================================
   FOOTER CONTAINER
========================================================= */

.footer-container {
    position: relative;

    z-index: 3;

    width: 100%;

    max-width: 1250px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1.3fr 0.9fr 1.1fr 1.1fr 1fr;

    gap: 40px;
}


.footer-column {
    min-width: 0;

    position: relative;

    z-index: 3;
}


.footer-column h3 {
    font-size: 19px;

    margin-bottom: 10px;

    color: #ffffff;
}


/* =========================================================
   FOOTER LINE
========================================================= */

.footer-line {
    width: 45px;
    height: 3px;

    background: #61c8e8;

    border-radius: 5px;

    margin: 8px 0 20px;

    transition: width 0.35s ease;
}


.footer-column:hover .footer-line {
    width: 70px;
}


/* =========================================================
   FOOTER LIST
========================================================= */

.footer-column ul {
    list-style: none;

    padding: 0;
    margin: 0;
}


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


.footer-column li a {
    position: relative;

    display: inline-block;

    color: #e8efff;

    font-size: 14px;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.footer-column li a:hover {
    color: #61c8e8;

    transform:
        translateX(7px);
}


.footer-column li a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -3px;

    width: 0;
    height: 2px;

    background: #61c8e8;

    transition: width 0.3s ease;
}


.footer-column li a:hover::after {
    width: 100%;
}


/* =========================================================
   FOOTER LOGO
========================================================= */

.footer-logo-img {
    width: 180px;
    height: auto;

    display: block;

    margin-bottom: 20px;

    transition:
        transform 0.35s ease;
}


.footer-logo-img:hover {
    transform:
        translateY(-4px) scale(1.03);
}


/* =========================================================
   COMPANY
========================================================= */

.company>p {
    max-width: 280px;

    font-size: 14px;

    line-height: 1.7;

    color: #e1eaff;

    margin-bottom: 25px;
}


.company h4 {
    margin-bottom: 15px;

    font-size: 16px;
}


/* =========================================================
   SOCIAL
========================================================= */

.social-links {
    display: flex;

    gap: 12px;
}


.social-links a {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.12);

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-weight: bold;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.social-links a:hover {
    background: #61c8e8;

    color: #0b2675;

    transform:
        translateY(-6px) rotate(5deg);
}


/* =========================================================
   CONTACT ITEMS
========================================================= */

.contact-item {
    display: flex;

    gap: 12px;

    margin-bottom: 18px;
}


.contact-item>span {
    width: 25px;

    color: #61c8e8;

    font-size: 18px;

    transition:
        transform 0.3s ease;
}


.contact-item:hover>span {
    transform:
        translateY(-3px) scale(1.1);
}


.contact-item strong {
    display: block;

    font-size: 10px;

    margin-bottom: 4px;

    color: #61c8e8;
}


.contact-item p {
    margin: 0;

    font-size: 12px;

    line-height: 1.5;

    color: #e4ecff;

    transition:
        color 0.3s ease;
}


.contact-item:hover p {
    color: #ffffff;
}


/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter>p {
    font-size: 13px;

    line-height: 1.6;

    color: #e1eaff;

    margin-bottom: 18px;
}


.newsletter-form {
    display: flex;

    width: 100%;
    height: 46px;

    background:
        rgba(255, 255, 255, 0.12);

    border-radius: 25px;

    overflow: hidden;

    border: 1px solid transparent;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.newsletter-form:focus-within {
    border-color: #61c8e8;

    box-shadow:
        0 0 15px rgba(97, 200, 232, 0.25);
}


.newsletter-form input {
    flex: 1;

    min-width: 0;

    border: none;

    outline: none;

    padding: 0 15px;

    background: transparent;

    color: #ffffff;
}


.newsletter-form input::placeholder {
    color: #dce7ff;
}


.newsletter-form button {
    width: 50px;

    border: none;

    background: #61c8e8;

    color: #ffffff;

    cursor: pointer;

    font-size: 18px;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.newsletter-form button:hover {
    background: #ffffff;

    color: #0754bd;

    transform: scale(1.05);
}


/* =========================================================
   PRIVACY
========================================================= */

.privacy-check {
    display: flex;

    align-items: center;

    gap: 7px;

    margin-top: 13px;

    font-size: 10px;

    color: #dce7ff;

    cursor: pointer;
}


.privacy-check input {
    accent-color: #61c8e8;

    cursor: pointer;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.copyright {
    margin-top: 28px !important;

    color: #ffffff !important;

    font-size: 12px !important;
}


/* =========================================================
   FOOTER HAND
========================================================= */

.footer-hand {
    position: absolute;

    width: 430px;

    left: -100px;
    bottom: -50px;

    z-index: 1;

    pointer-events: none;

    opacity: 0.95;

    transition:
        transform 0.5s ease;
}


.footer:hover .footer-hand {
    transform:
        translateX(8px);
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 48px;
    height: 48px;

    border: none;

    border-radius: 50%;

    background: #176bd0;

    color: #ffffff;

    font-size: 22px;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(15px);

    transition: 0.3s;

    z-index: 999;
}


.back-to-top.show {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}


.back-to-top:hover {
    background: #0754bd;

    transform:
        translateY(-4px);
}


/* =========================================================
   DARK MODE
========================================================= */

body.dark {
    background: #020617;

    color: #e8edf5;
}


/* NAVBAR */

body.dark .nav {
    background: #020617;
}


body.dark .nav.scrolled {
    background: #111827;
}


body.dark .nav.scrolled .nav-menu>li>a {
    color: #ffffff;
}


/* THEME */

body.dark .theme-btn {
    background: #374151;

    color: #ffffff;

    border-color: #0785f2;
}


/* DROPDOWN */

body.dark .dropdown-menu {
    background: #1f2937;
}


body.dark .dropdown-menu li a {
    color: #ffffff;
}


body.dark .dropdown-menu li a:hover {
    background: #374151;

    color: #0785f2;
}


/* TERMS */

body.dark .terms-section {
    border-bottom-color: #334155;
}


body.dark .terms-section h2 {
    color: #edf3fb;

    border-bottom-color: #52657d;
}


body.dark .terms-section h3 {
    color: #6fb2e9;
}


body.dark .terms-section p,
body.dark .terms-section li {
    color: #aebbd0;
}


body.dark .notice-box {
    background: #121f32;

    border-left-color: #5792c9;
}


body.dark .notice-box strong {
    color: #e6edf7;
}


body.dark .notice-box p {
    color: #aebbd0;
}


body.dark .contact-card {
    background: #121f32;
}


body.dark .contact-row strong {
    color: #e5ecf6;
}


body.dark .contact-row span {
    color: #aebbd0;
}


body.dark .contact-row a {
    color: #65b5f5;
}


/* FOOTER */

body.dark .footer {
    background:
        linear-gradient(135deg,
            #020617,
            #071b3f);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .nav {
        height: 90px;
    }


    .nav-container {
        width: 90%;
    }


    .nav-logo img {
        width: 180px;
    }


    .navbar {
        position: absolute;

        top: 90px;
        left: 0;

        width: 100%;

        transform: none;

        display: none;
    }


    .navbar.active {
        display: block;
    }


    .nav-menu {
        width: 100%;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        padding: 15px;

        background: #ffffff;

        border-radius: 8px;

        box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.15);
    }


    body.dark .nav-menu {
        background: #1f2937;
    }


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


    .nav-menu>li>a {
        display: block;

        width: 100%;

        padding: 12px 10px;

        color: #222222 !important;

        font-size: 20px;

        font-weight: 600;
    }


    body.dark .nav-menu>li>a {
        color: #ffffff !important;
    }


    /* MOBILE DROPDOWN */

    .dropdown-menu {
        position: static;

        width: 100%;

        display: none;

        opacity: 1;

        visibility: visible;

        transform: none;

        box-shadow: none;

        background: #f8fafc;
    }


    .dropdown.open .dropdown-menu{
        display: block;
    }


    .has-dropdown:hover .dropdown-menu {
        display: none;
    }


    .has-dropdown.open:hover .dropdown-menu {
        display: block;
    }


    /* ACTIONS */

    .quote-btn {
        display: none;
    }


    .menu-toggle {
        display: block;

        order: 3;
    }


    .nav-actions {
        margin-left: auto;
    }


    /* FOOTER */

    .footer-container {
        grid-template-columns:
            repeat(3, 1fr);

        gap: 35px;
    }


    .footer-hand {
        width: 380px;

        left: -120px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .nav {
        height: 80px;
    }


    .nav-container {
        width: 92%;
    }


    .nav-logo img {
        width: 130px;
    }


    .navbar {
        top: 80px;
    }


    .nav-actions {
        gap: 8px;
    }


    .theme-btn {
        width: 42px;
        height: 42px;

        font-size: 21px;
    }


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

        font-size: 25px;
    }


    /* HERO */

    .terms-hero {
        width: 100%;

        height: 270px;

        margin-top: 100px;
    }


    .hero-content {
        padding: 20px;
    }


    .hero-content h1 {
        font-size: 29px;
    }


    .hero-content p {
        font-size: 14px;
    }


    .updated-date {
        font-size: 12px;
    }


    /* TERMS */

    .terms-container {
        width: 88%;

        margin-top: 45px;

        margin-bottom: 60px;
    }


    .terms-section {
        margin-bottom: 50px;

        padding-bottom: 25px;
    }


    .terms-section h2 {
        font-size: 23px;
    }


    .terms-section h3 {
        font-size: 18px;
    }


    .terms-section p,
    .terms-section li {
        font-size: 14px;
    }


    .contact-card {
        padding: 25px 20px;
    }


    .contact-row {
        flex-direction: column;

        gap: 2px;
    }


    /* FOOTER */

    .footer {
        padding: 60px 25px 40px;

        min-height: auto;
    }


    .footer-container {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .footer-hand {
        width: 420px;

        left: -180px;

        bottom: -80px;

        opacity: 0.65;
    }


    .footer-logo-img {
        width: 160px;
    }

}