*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: "uncutSans", sans-serif;
    src: url("../../assets/fonts/Uncut-Sans-Font-Family/Variable/Uncut-Sans-VF.ttf");
}

:root {
    --orange: #f99408;
    --darkBlue: #122d39;
    --lightGreen: #b2de43;
    --darkGreen: #52661f;
    --lighterGreen: #e4faac;
    --uncut: "uncutSans", sans-serif;
    --signup: #b6bec2;
    --signin: #122d39;
}
body {
    /* font-family: var(--uncut) ; */
    font-family: "uncutSans", sans-serif;
}
a {
    text-decoration: none;
}
li {
    list-style: none;
}
/* Section we-earn */
section.we-earn {
    /* background:red; */
    padding-inline: 4rem;
    padding-block: 3rem;
    display: flex;
    gap: 3rem;
    align-items: center;
}
section.we-earn .we-earn-content {
    width: 50%;
    height: 100%;
}

section.we-earn h1 {
    font-size: 70px;
    font-weight: 700;
    line-height: 70px;
}
section.we-earn p {
    color: #122d39;
    line-height: 28px;
    font-weight: 400;
    width: 90%;
    padding-top: 0.7rem;
}

section.we-earn .we-earn-img {
    width: 50%;
    height: 100%;
}
section.we-earn .we-earn-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Our story about section  */
.about-section {
    padding-inline: 4rem;
    padding-block: 3rem;
    background-color: #f9feed;
}

.about-section h1 {
    font-size: 60px;
    line-height: 50px;
    padding-block: 1rem 2rem;
}
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    /* flex-wrap: wrap; */
}
.left-about {
    position: relative;
    width: 50%;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}
.star-red {
    position: absolute;
    top: -80px;
    right: 0;
}
.star-red img {
    width: 100%;
}
.about-content {
    width: 50%;
    color: #333;
}

.about-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-content a {
    color: #0653c0;
    text-decoration: none;
    font-weight: bold;
}

.about-content a:hover {
    text-decoration: underline;
}

/* Milestone */
.milestones-section {
    padding-inline: 4rem;
    padding-block: 3rem;
    /* background-color: #f9f9f9; */
    text-align: center;
}

.milestones-section h4 {
    font-size: 18px;
    margin-bottom: 30px;
    color: #333;
}

.milestones-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.milestone-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background-color: #fff; */
    padding: 20px;
    border-radius: 10px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
    max-width: 250px;
}
.milestone-div {
    display: flex;
    align-items: center;
}
.milestone-div i {
    font-size: 30px;
    margin-bottom: 0.7rem;
}
.milestone-number {
    font-size: 78px;
    font-weight: bolder;
    color: var(--darkBlue);
}

.milestone-item p {
    font-size: 14px;
    color: #333;
    margin-top: 10px;
}

/* nxt chapter */
.next-chapter-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 40px;
    padding-inline: 20px;
    /* background-color: #f9f9f9; */
}

.next-chapter-content {
    flex: 1;
    padding-inline: 20px;
}

.next-chapter-content h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #0653c0;
}

.next-chapter-content h2 span {
    color: #f39c12;
}

.next-chapter-content p {
    font-size: 17px;
    color: #333;
    line-height: 1.6;
    padding-block: 10px;
}

.next-chapter-image {
    flex: 1;
    padding-inline: 20px;
}

.next-chapter-image img {
    width: 100%;
    height: auto;
    display: block;
}
/* Bold steps */
section.bold-step {
    /* padding-inline:4rem; */
    padding-block: 3rem;
}
.bold-div {
    width: 55%;
}
.bold-div h1 {
    font-size: 40px;
    line-height: 40px;
    font-weight: 400;
    padding-block: 0rem;
}
.bold-div p {
    padding-block: 0.7rem;
}
.bold-div-img {
    width: 100%;
    height: 100%;
    margin-top: 1.5rem;
}
.bold-div-img img {
    width: 100%;
    height: 100%;
}
/* Media query */

section.mission-vission {
    padding-inline: 4rem;
    padding-block: 3rem;
    gap: 1.5rem;
    display: flex;
    height: 70vh;
}
section.mission-vission h3 {
    font-size: 40px;
    line-height: 40px;
    padding-bottom: 0.6rem;
}
section.mission-vission p {
    line-height: 20px;
}
.mission {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.vision {
    width: 50%;
    align-self: flex-end;
}

/* Why join -us */
section.why-join-us {
    display: flex;
    align-items: center;
    padding-inline: 4rem 0;
    background: #fef4e6;
}
.content {
    width: 40%;
}

.content h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--darkBlue);
}

.content ul {
    list-style: none;
    padding: 0;
}

.content ul li {
    font-size: 18px;
    margin-bottom: 15px;
    color: #555;
    position: relative;
    padding-left: 30px;
    display: flex;
    align-items: center;
}

.content ul li::before {
    content: "★";
    position: absolute;
    left: 0;
    top: -5px;
    color: goldenrod;
    font-size: 20px;
}
.join-image {
    width: 60%;
    height: 100%;
}
.join-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonials */
section.testimonial-section {
    padding-inline: 4rem;
    padding-block: 3rem;
    background: var(--darkBlue);
    overflow-x: hidden;
}
section.testimonial-section h1 {
    text-align: center;
    font-size: 40px;
    color: #f99408;
    line-height: 30px;
}
section.testimonial-section .kind-words {
    color: white;
    text-align: center;
    padding-inline: 5rem;
    padding-block: 1rem 3rem;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-card {
    background-color: #0d2028;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    padding-block: 2rem 0;
}

.testimonial-card p {
    font-size: 16px;
    color: white;
    line-height: 1.6;
    /* Clamping the text to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 8em;
    padding-bottom: 1.7rem;
}

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

    padding-block: 1rem;
    border-top: 1px solid rgba(196, 196, 196, 0.509);
}

.testimonial-footer img {
    width: 40px;
    height: 40px;
    border-radius: 5%;
    margin-right: 10px;
}

.testimonial-footer span {
    font-size: 16px;
    font-weight: bold;
    color: white;
}
.socials-footer {
    width: 60%;
    display: flex;
    justify-content: space-between;
    padding-block: 1rem;
}
.socials-footer img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.socials-footer img:hover {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .testimonial-card p {
        font-size: 16px;
    }

    .testimonial-footer img {
        width: 40px;
        height: 40px;
    }
}
/* General Styling for Mobile (Below 768px) */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image img {
        max-width: 100%;
    }
    .next-chapter-section {
        flex-direction: column;
        text-align: center;
    }

    .next-chapter-content,
    .next-chapter-image {
        padding-inline: 0;
    }
    /* Section: We Earn */
    section.we-earn {
        flex-direction: column;
        padding-inline: 1.5rem;
        padding-block: 2rem;
    }

    section.we-earn h1 {
        font-size: 40px;
        line-height: 45px;
    }

    section.we-earn p {
        width: 100%;
        font-size: 18px;
    }

    section.we-earn .we-earn-img {
        width: 100%;
    }

    section.we-earn .we-earn-img img {
        object-fit: cover;
    }
    section.we-earn .we-earn-content {
        width: 100%;
        height: 100%;
    }

    /* About Section */
    .about-section {
        padding-inline: 2rem;
        padding-block: 2rem;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .left-about {
        width: 100%;
    }

    .about-content {
        text-align: left;
        width: 100%;
        padding-top: 1rem;
    }

    .about-section h1 {
        font-size: 40px;
        line-height: 45px;
    }

    .about-content p {
        font-size: 18px;
    }
    .star-red {
        display: none;
    }

    /* Milestone Section */
    .milestones-section {
        padding-inline: 0em;
        padding-block: 2rem;
    }

    .milestones-container {
        flex-direction: column;

        gap: 20px;
    }

    .milestone-item {
        max-width: 100%;
    }

    .milestone-number {
        font-size: 28px;
    }

    .milestone-item p {
        font-size: 14px;
    }

    /* Next Chapter Section */
    .next-chapter-section {
        flex-direction: column;
        text-align: center;
        padding-inline: 0rem;
        padding-block: 0rem;
    }

    .next-chapter-content {
        padding-inline: 0;
    }

    .next-chapter-content h2 {
        font-size: 1rem;
    }

    .next-chapter-content p {
        font-size: 18px;
        text-align: left;
        padding-bottom: 1.5rem;
    }

    .next-chapter-image img {
        width: 100%;
        height: auto;
    }
    .bold-div {
        width: 100%;
    }
    .bold-div h1 {
        font-size: 26px;
        line-height: 30px;
        font-weight: 400;
        padding-block: 0rem;
    }
    .bold-div p {
        font-size: 16px;
    }

    section.mission-vission {
        padding-inline: 1.5rem;
        padding-block: 3rem;
        gap: 3.5rem;
        display: flex;
        flex-direction: column;
        height: auto;
    }
    section.mission-vission h3 {
        font-size: 26px;
        line-height: 20px;
        padding-bottom: 0.6rem;
    }
    section.mission-vission p {
        line-height: 25px;
        font-size: 18px;
    }
    .mission {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        gap: 3rem;
    }
    .mission img {
        width: 80px;
        height: 80px;
    }
    .vision {
        width: 100%;
        align-self: flex-end;
    }

    /* Why join -us */
    section.why-join-us {
        display: flex;
        align-items: center;
        padding-inline: 1.5rem;
        background: #fef4e6;
        padding-block: 2rem;
    }
    .content {
        width: 100%;
    }

    .content h2 {
        font-size: 28px;
        font-weight: bold;
        margin-bottom: 20px;
        color: var(--darkBlue);
    }

    .join-image {
        display: none;
    }

    /* Testimonials */
    section.testimonial-section {
        padding-inline: 1.5rem;
        padding-block: 3rem;
        background: var(--darkBlue);
        overflow-x: hidden;
    }
    section.testimonial-section h1 {
        text-align: center;
        font-size: 26px;
        color: #f99408;
        line-height: 20px;
    }
    section.testimonial-section .kind-words {
        color: white;
        text-align: center;
        padding-inline: 0rem;
        padding-block: 1rem 3rem;
    }

    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .testimonial-card {
        background-color: #0d2028;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        text-align: center;
        max-width: 400px;
        width: 100%;
        padding-block: 2rem 0;
    }

    .testimonial-card p {
        font-size: 16px;
        color: white;
        line-height: 1.6;
        /* Clamping the text to 3 lines */
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 8em;
        padding-bottom: 1.7rem;
    }

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

        padding-block: 1rem;
        border-top: 1px solid rgba(196, 196, 196, 0.509);
    }

    .testimonial-footer img {
        width: 40px;
        height: 40px;
        border-radius: 5%;
        margin-right: 10px;
    }

    .testimonial-footer span {
        font-size: 16px;
        font-weight: bold;
        color: white;
    }
}

/* Tablet View Adjustments (768px to 1024px) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    /* Section: We Earn */
    section.we-earn {
        padding-inline: 3rem;
        padding-block: 2.5rem;
    }

    section.we-earn h1 {
        font-size: 55px;
        line-height: 60px;
    }

    section.we-earn .we-earn-content,
    section.we-earn .we-earn-img {
        width: 100%;
    }

    /* About Section */
    .about-section {
        padding-inline: 3rem;
        padding-block: 2.5rem;
    }

    .about-container {
        flex-direction: column;
    }

    .about-content {
        padding-inline: 2rem;
    }

    .about-section h1 {
        font-size: 48px;
        line-height: 55px;
    }

    /* Milestones Section */
    .milestones-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
    }

    .milestone-item {
        max-width: 45%;
    }

    /* Next Chapter Section */
    .next-chapter-section {
        padding-inline: 3rem;
        padding-block: 2.5rem;
    }

    .next-chapter-content h2 {
        font-size: 2rem;
    }
}

/* Privacy policy */
ol {
    margin-left: 3rem;
    list-style: decimal;
}
.terms {
    margin-block: 3rem;
    margin-inline: 4rem;
}
.first-one {
    text-align: center;
}
.terms h1 {
    padding-block: 1rem;
    font-size: 20px;
}
.terms p {
    margin-block: 1rem;
    line-height: 1.5;
}
.terms ol li {
    list-style: decimal !important;
    margin-block: 0.7rem;
    line-height: 1.5;
}

.terms ul li {
    list-style: disc !important;
    margin-block: 0.7rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .terms {
        margin-block: 2rem;
        margin-inline: 1rem;
    }
}

ol {
    margin-left: 3rem;
    list-style: decimal;
}
.privacy {
    margin-block: 3rem;
    margin-inline: 4rem;
}
.first-one {
    text-align: center;
}
.privacy h1 {
    padding-block: 1rem;
    font-size: 24px;
    text-align: center;
}
.privacy p {
    margin-block: 1rem;
    line-height: 1.5;
}
.privacy ol li {
    list-style: decimal !important;
    margin-block: 0.7rem;
    line-height: 1.5;
}

.privacy ul li {
    list-style: disc !important;
    margin-block: 0.7rem;
    line-height: 1.5;
}
