html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: #F5F6F8;
    box-sizing: border-box;
}
.smalljuu{
    background-color: #eaeaf0;
    padding: 4px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: .9px solid #b9b9b9b7;
}
.smalljuu a{
    text-decoration: none;
    color: #474747;
    font-size: .94rem;
    font-weight: 500;
    transition: all .4s ease-in;
}
.smalljuu a:hover{
    color: #007bff;
}
.lefty a{
    margin-right: 10px;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 20px;
    background-color: #eaeaf0;
    box-shadow: 0 8px 8px -4px rgba(0, 0, 0, 0.877);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.zz {
    text-decoration: none;
    color: #03072c;
    font-family: "Poppins", sans-serif;
}

.logo {
    font-weight: 600;
    font-size: 1.4rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: #03072c;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 20px;
    transition: all .3s ease-in-out;
    border-radius: 8px;
}

.nav-links li a:hover, .nav-links li .active{
    background-color: #007bff;
    color: #fff;
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.login-btn {
    color: #03072c;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 20px;
    /* margin-left: 10px; */
    transition: all 0.5s;
}

.login-btn:hover {
    background-color: #fafafc;
}

.join-btn {
    background: #007bff;
    color: #fff;
    border-radius: 32px;
    text-decoration: none;
    padding: 5px 32px;
    margin-left: 20px;
    transition: all 0.5s;
}
.elemenete{
    height: 30px;
    width: 1px;
    margin: 2px 15px;
    background-color: #c7c7c7c5;
}
.join-btn:hover {
    background-color: #fafafc;
    color: #03072c;
    /* border: 1px solid #01031b; */
}

.nav__toggle {
    position: relative;
    width: 32px;
    height: 32px;
    color: #03072c;
    display: none;
}

.nav__toggle-menu,
.nav__toggle-close {
    font-size: 1.25rem;
    color: #03072c;
    position: absolute;
    display: grid;
    place-items: center;
    inset: 0;
    cursor: pointer;
    transition: opacity 0.1s, transform 0.4s;
}

.nav__toggle-close {
    opacity: 0;
}

.nav__menu {
    display: none;
}

@media screen and (max-width: 1000px) {
    .nav__toggle {
        display: block;
    }

    .nav-links,
    .auth-buttons, 
    .smalljuu {
        display: none;
    }

    .nav__menu {
        background-color: #fff;
        position: fixed;
        top: 3.9rem;
        width: 200px;
        height: max-content;
        right: 20px;
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top 0.4s, opacity 0.3s;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.733);
        z-index: 10;
    }

    .nav__menu .jung {
        text-decoration: none;
        color: #01031b;
        width: 100%;
        padding: 12px 4px;
        text-align: center;
        transition: all 0.5s;
    }

    .nav__menu .jung:hover {
        background-color: #dddeec;
    }

    .nav__menu .baleba {
        color: #03072c;
        border-radius: 32px;
        border: 1px solid #03072c;
        text-decoration: none;
        width: calc(100% - 40px);
        margin: 5px 0;
        padding: 6px;
        text-align: center;
        transition: all 0.5s;
    }

    .nav__menu .baleba:hover {
        color: #ffff;
        background-color: #03072c;
    }

    .nav__menu::-webkit-scrollbar {
        width: 0.5rem;
    }


}

/* Show menu */
.show-menu {
    opacity: 1;
    top: 3.3rem;
    pointer-events: initial;
}

/* Show icon */
.show-icon .nav__toggle-menu {
    opacity: 0;
    transform: rotate(90deg);
}

.show-icon .nav__toggle-close {
    opacity: 1;
    transform: rotate(90deg);
}



.hero {
    height: 75vh;
    position: relative;
    color: #01031b;
    text-align: center;
    padding: 30px;
    background-image: url(../images/solback.webp);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.abt {
    background-image: url(../images/abtus.webp);
}

.cont {
    background-image: url(../images/contback.webp);
}

.majuujuu {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: #dddeece0;
    max-width: 350px;
    border-radius: 8px;
    padding: 0 10px;
    height: fit-content;
}

.abt .juu {
    padding: 10px;
}

.smallheads {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    background-color: #fff;
    position: sticky;
    top: 60px;
    z-index: 999;
}

.smallheads a {
    text-align: center;
    border-right: 1px solid #F5F6F8;
    text-decoration: none;
    padding: 15px 5px;
    color: #474747;
    transition: all .4s;
}

.smallheads a:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.877);
}

.hero h1 {
    color: #474747;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero p {
    font-size: .98rem;
    max-width: 600px;
    margin: 0 auto 20px;
}

.btn {
    background: #007bff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.subheading {
    text-align: center;
    max-width: 800px;
    margin: -20px auto 30px;
    font-size: 1rem;
    color: #474747;
}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.cardy {
    background: white;
    border-radius: 3px 3px 8px 8px;
    padding: 20px;
    transition: all 0.3s ease;
    border-top: 5px solid #007bff;
}

.cardy:hover {
    border-top: 7px solid #0056b3;
}

.card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.719);
}

.card img {
    height: 50px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.card h3,
.saiba h3 {
    margin-top: 0;
    color: #007bff;
}

.nirisky {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.saiba {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.saibawan {
    flex-basis: 47%;
    width: 100%;
}

.bande {
    display: flex;
    align-items: center;
    justify-content: center;
}

.saibawan img {
    width: 80%;
    height: fit-content;
}

.nirisky .card {
    background: #F5F6F8;
    border: 1px solid #dddeec;
    border-radius: 0;
    padding: 0;
}

.nirisky .card img {
    width: 100%;
    height: 150px;
    border-radius: 0;
    object-fit: cover;
    object-position: top center;
}

.nirisky .buda {
    padding: 20px;
}

.nirisky .card:hover {
    box-shadow: none;
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: auto;
}

.benefit {
    background: #eef2f7;
    padding: 20px;
    border-left: 5px solid #007bff;
    border-radius: 6px;
}

.cta-footer {
    background: #007bff;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.cta-footer h2 {
    margin-bottom: 20px;
}

.cta-footer a.btn {
    background: white;
    color: #007bff;
}

#scrollTopBtn {
    background-color: #03072c;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    color: white;
    padding: 0.8rem;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
}


#scrollTopBtn.show {
    opacity: 1;
    pointer-events: auto;
}


#scrollTopBtn:hover {
    background-color: #01031b;
    transform: translateY(-2px);
}

.rior-futa {
    padding: 60px 20px 0 20px;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
}

.dafuta {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    color: #01031b;
    padding: 40px;
    border-radius: 13px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.dafuta h3,
.dafuta h4 {
    margin-bottom: 12px;
    color: #01031b;
}

.dafuta ul {
    list-style: none;
    padding: 0;
}

.dafuta ul li {
    margin-bottom: 8px;
}

.dafuta ul li a {
    color: #01031b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dafuta ul li a:hover {
    color: #007bff;
}

.dafuta a {
    text-decoration: none;
    color: inherit;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
}

.newsletter-form input {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.newsletter-form button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #0056b3;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    color: #474747;
    font-size: 14px;
}


@media (max-width: 600px) {
    .hero h1 {
        font-size: 2em;
    }
    .smallheads{
        display: none;
    }
}

@media screen and (max-width: 460px) {
    .logo {
        font-weight: 550;
        font-size: 1.5rem;
    }

    .majuujuu {
        left: 10px;
        max-width: 300px;
        margin-right: 10px;
    }

    .hero h1 {
        font-size: 1.4rem;
    }

    .hero p {
        font-size: .9rem;
    }
}