@import url("https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap");

/*==================
theme color
==================*/
:root {
    --primary-color: #061530;
    --secondary-color: #006eff;
    --title-color: #121212;
    --text-color: #818181;
}

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

body {
    font-family: "Public Sans", sans-serif;
    overflow-x: hidden;
}

ul,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
p,
address {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}
a {
    text-decoration: none;
}

.container {
    width: 1200px !important;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none !important;
}
.navbar-toggler {
    border: 0px !important;
}

/*================= navbars css start ================== */
.nav-bg {
    /* background-color: #ffffff; */
    background-color: #061530;
    /* position: fixed; */
    width: 100%;
    z-index: 1000;
}

.logo-img {
    max-width: 176px;
    object-fit: contain;
}
.logo-img img {
    max-width: 100%;
    object-fit: contain;
}
.nav-link-item {
    font-size: 15px !important;
    font-weight: 400 !important;
    /* color: #b4b4b4 !important; */
    color: #ffffff !important;
    text-decoration: none;
    position: relative;
    padding-right: 0.8rem !important;
}
.nav-link-item {
    position: relative;
}

.nav-link-item::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transition: width 0.4s ease;
}

.nav-link-item:hover {
    color: #ffffff !important;
    font-weight: 400 !important;
}

.nav-link-item:hover::after {
    width: 100%;
}
.nav-link-item.active {
    color: #006eff !important;
    font-weight: 400 !important;
}
.logo-title {
    font-size: 16px;
    font-weight: 600;
    /* color: #121212; */
    color: #ffffff;
}

.btns {
    border-radius: 8px !important;
    border: 1px solid #ffffff !important;
    color: #ffffff;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    padding: 8px 20px !important;
}
.btns-active,
.btns:hover {
    background: #ffffff;
    color: #061530;
}

.header-login-register {
    margin-left: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-selector {
    position: relative;
}

.lang-select {
    appearance: none;
    padding: 8px 35px 8px 40px;
    border: 1px solid var(--text-color);
    border-radius: 6px;
    background-color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    color: var(--title-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23818181' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    transition: all 0.2s ease;
}

.lang-select:hover {
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.lang-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 110, 255, 0.1);
    color: var(--primary-color);
}

.lang-flag {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.lang-select option {
    color: var(--title-color);
    background-color: #ffffff;
    padding: 8px;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
}

.lang-option-flag {
    width: 20px;
    height: 15px;
    object-fit: contain;
}

.lang-select option:hover {
    background-color: rgba(0, 110, 255, 0.1);
}

/*================= navbar css end ================== */

/*================= banner css start ================== */

.banner-bg {
    position: relative;
    background-image: linear-gradient(
            90deg,
            rgba(12, 22, 39, 0.79) 0.14%,
            rgba(0, 0, 0, 0) 99.88%
        ),
        url("../asset/image/banner_bg.png");
    background-size: cover;
    background-position: center; /* Changed from 30% to 40% to move image more towards top */
    background-repeat: no-repeat;
    padding-top: 8rem;
    padding-bottom: 12rem;
    min-height: 95vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banner-content {
    margin-top: -7rem;
    max-width: 600px;
}

.banner-title {
    color: #fff;
    font-size: 50px;
    font-style: normal;
    font-weight: 700;
    line-height: 54px; /* 100% */
    letter-spacing: -2.56px;
}
.banner-text {
    color: #f2f2f2;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 114.286% */
    letter-spacing: -0.84px;
    margin-top: 1.5rem;
}
.grid-banner {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.2rem;
    background: rgba(6, 21, 48, 0.402);
    padding: 5px 40px 5px 5px;
    margin-top: -16rem;
    position: relative;
    z-index: 1;
    height: 170px;
    width: 100vw;
}

.grid-card {
    width: 160px;
    transform: scale(1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    padding: 10px;
}
.grid-card p {
    display: none;
    color: #818181;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px; /* 114.286% */
    letter-spacing: -0.42px;
    margin-top: 10px;
}
.grid-card:hover {
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-15px) scale(1.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
    height: 220px;
    z-index: 1;
}

.grid-card:hover > img {
    background: #061530;
    transition: all 0.6s ease-in-out;
}

.grid-card:hover .svg-icon {
    filter: brightness(0);
}

.grid-card:hover h3 {
    color: #061530;
}

.grid-card:hover p {
    display: block;
}
.flex-about {
    background-color: #061530;
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 10rem;
    margin-bottom: 6rem;
    padding: 4rem;
    border-radius: 8px;
}
.flex-about-right {
    width: 50%;
}
.flex-about-left {
    width: 50%;
}
.icon-img {
    display: flex;
    padding: 5px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid red;
    width: 50%;
    margin: 0 auto;
}

.process-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 80px;
    margin: auto;
    margin-top: 1.875rem;
    /* filter: brightness(0); */
}

.banner-small-title {
    /* color: #121212; */
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.8px;
    margin-top: 5px;
}
.small-title {
    color: #121212;
    /* font-family: "Uncut Sans"; */
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: 64px; /* 133.333% */
    letter-spacing: -1.92px;
}
.content-text {
    color: #ffffff;
    /* font-family: "Uncut Sans"; */
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 133.333% */
    letter-spacing: -0.72px;
    margin-top: 15px;
    text-align: justify;
}
.features {
    margin-bottom: 6rem;
    border-radius: 8px;
    background: #061530;
    padding: 4rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}
.features-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
}
.features-content {
    border-left: 2px solid red;
    padding-left: 1rem;
}
.features-content h4 {
    color: #fff;
    /* font-family: "Uncut Sans"; */
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.96px;
}
.features-content p {
    color: #b3b3b3;
    /* font-family: "Uncut Sans"; */
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 120% */
    letter-spacing: -0.6px;
    margin-top: 6px;
}
.shape-1 {
    position: absolute;
    left: 15px;
    top: -22px;
}
.shape-2 {
    position: absolute;
    bottom: 15px;
    right: -22px;
}
.footer-bg {
    background-color: #e4f1fb;
    padding-top: 3rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3.5rem;
    padding-bottom: 2rem;
}
.footer-title {
    color: #121212;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px; /* 120% */
    letter-spacing: -0.6px;
    margin-bottom: 15px;
}

.copy-text {
    color: #121212;
    /* font-family: "Uncut Sans"; */
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px; /* 120% */
    letter-spacing: -0.6px;
    text-align: center;
    border-top: 1px solid #b4b4b4;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

@media only screen and (min-width: 250px) and (max-width: 575px) {
    .container {
        width: 100% !important;
        padding: 0 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features {
        padding: 3.5rem;
        margin: 2rem 0px;
    }

    .features-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .features-content {
        border-left: none;
        border-top: 2px solid #006eff;
        padding: 1rem 0 0 0;
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .flex-about {
        flex-direction: column;
        gap: 2rem;
        margin: 2rem 0px;
        padding: 40px 20px;
    }

    .flex-about-right,
    .flex-about-left {
        width: 100%;
    }

    .small-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .process-img {
        display: none;
    }

    .grid-banner {
        background: var(--primary-color);
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 15px;
        margin: -100px auto 0;
        height: auto;
    }

    .grid-card {
        width: 100%;
        height: auto;
        padding: 10px;
        border-radius: 6px;
        background: #fff;
        transform: none !important;
    }

    .grid-card .svg-icon {
        filter: brightness(0);
    }

    .grid-card h3 {
        color: #061530;
    }

    .process-img {
        display: none;
    }

    .grid-card p {
        display: block;
        font-size: 12px;
        line-height: 1.3;
    }

    .banner-bg {
        padding: 4rem 15px 6rem;
        text-align: center;
    }

    .banner-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .banner-text {
        font-size: 16px;
        margin-top: 1rem;
    }

    .header-login-register {
        margin: 1rem 0;
        width: 100%;
    }

    .btns {
        width: 100%;
        display: block;
        text-align: center;
    }

    .language-selector {
        width: 100%;
    }

    .lang-select {
        width: 100%;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .flex-about {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
    .flex-about-right {
        width: 100%;
    }
    .flex-about-left {
        width: 100%;
    }
    .small-title {
        font-size: 28px;
    }
    .banner-bg {
        padding-top: 4rem;
        padding-bottom: 6rem;
        max-height: 60vh;
    }
    .grid-banner {
        background: var(--primary-color);
        grid-template-columns: repeat(2, 1fr);
        height: auto;
        gap: 0.8rem;
        padding: 15px;
        margin: 0 auto 0;
    }
    .grid-card {
        border-radius: 6px;
        padding: 15px;
        background: #fff;
        margin-top: 0;
        height: auto;
        width: 100%;
    }

    .grid-card .svg-icon {
        filter: brightness(0);
    }

    .grid-card h3 {
        color: #061530;
    }

    .process-img {
        display: none;
    }
    .grid-card:hover {
        margin-top: 0;
        height: auto;
        transform: translateY(-5px);
    }
    .grid-card p {
        display: block;
        font-size: 13px;
    }
    .banner-title {
        font-size: 32px;
        line-height: 38px;
    }
    .banner-text {
        font-size: 16px;
        line-height: 24px;
        margin-top: 1rem;
    }
    .br {
        display: none;
    }
    .nav-link-item:hover {
        color: var(--primary-color) !important;
    }
    .nav-link-item.active {
        color: var(--primary-color) !important;
    }
    .header-login-register {
        margin-top: 1rem;
        margin-left: 0rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .features {
        padding: 2rem;
    }
    .features-card {
        margin-top: 2rem;
    }
    .flex-about {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-top: 4rem;
        margin-bottom: 4rem;
        width: 100%;
        padding: 40px 20px;
    }
    .flex-about-right {
        width: 100%;
        overflow-x: hidden;
    }
    .flex-about-left {
        width: 100%;
        overflow-x: hidden;
    }
    .small-title {
        font-size: 32px;
        word-wrap: break-word;
    }
    .grid-banner {
        background: var(--primary-color);
        grid-template-columns: repeat(3, 1fr);
        height: auto;
        gap: 1rem;
        padding: 25px 40px;
        margin: 0 auto;
        overflow: hidden;
    }
    .grid-card {
        width: 100%;
        border-radius: 8px;
        padding: 15px;
        background: #fff;
        transform: none;
        margin-top: 0;
        height: auto;
    }
    .grid-card:hover {
        margin-top: 0;
        height: auto;
        transform: none;
        box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
    }
    .grid-card p {
        display: block;
        word-wrap: break-word;
    }

    .grid-card .svg-icon {
        filter: brightness(0);
    }

    .grid-card h3 {
        color: #061530;
    }

    .process-img {
        display: none;
    }

    .banner-title {
        font-size: 42px;
        line-height: 1.2;
        padding: 0 15px;
        word-wrap: break-word;
    }
    .br {
        display: none;
    }
    .nav-link-item:hover,
    .nav-link-item.active {
        color: var(--primary-color) !important;
    }
    .header-login-register {
        margin-top: 1rem;
        margin-left: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .container {
        width: 100% !important;
        padding: 0 15px;
    }

    /* Navbar specific changes */
    .nav-link-item {
        font-size: 14px !important;
        padding-right: 0.5rem !important;
    }

    .header-login-register {
        margin-left: 0.5rem;
    }

    .btns {
        padding: 6px 15px !important;
        font-size: 14px;
    }

    .logo-img {
        max-width: 150px;
    }

    .logo-title {
        font-size: 14px;
    }

    .grid-banner {
        background: var(--primary-color);
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        padding: 25px;
        margin: 0 auto;
        height: auto;
    }

    .grid-card {
        width: 100%;
        height: auto;
        padding: 15px;
        background: #fff;
        border-radius: 8px;
        transform: none;
    }

    .grid-card:hover {
        transform: translateY(-5px);
        height: auto;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

    .grid-card .svg-icon {
        filter: brightness(0);
    }

    .grid-card h3 {
        color: #061530;
        font-size: 14px;
    }

    .process-img {
        display: none;
    }

    .grid-card p {
        display: block;
        font-size: 13px;
        line-height: 1.4;
    }

    .banner-content {
        max-width: 500px;
    }

    .banner-title {
        font-size: 38px;
        line-height: 1.2;
    }

    .flex-about {
        padding: 3rem;
    }

    .features {
        padding: 3rem;
    }
}

@media only screen and (min-width: 1200px) {
    .container {
        max-width: 1200px !important;
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 1.5) {
    .banner-title {
        font-size: 40px;
    }
    .banner-text {
        font-size: 18px;
    }

    .banner-content {
        max-width: 800px;
    }

    .grid-banner {
        transform-origin: top center;
    }

    .nav-link-item {
        font-size: 14px !important;
    }

    .btns {
        font-size: 14px;
        padding: 6px 16px !important;
    }
}
