html {
    scroll-behavior: smooth;
}

.body-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background: url("assets/bg.png");
    margin: 0;
    padding: 0;
    font-family: "Glegoo", serif;


}

.navbar {
    display: flex;
    background-color: transparent;
    position: relative;
    top: 0;
    width: unset;
    padding: 32px 64px;
    justify-content: space-between;

    z-index: 1000;
}

.logo-text {
    font-family: 'Niagara Solid', sans-serif;
    font-size: 36px;
    color: #EB142E;
}

.nav-link {
    font-size: 16px;
    padding: 12px 16px;
    color: #A1A1A1;
    text-decoration: none;

    cursor: pointer;

}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #A1A1A1;
    margin: 5px;
    transition: all 0.3s ease;
}

.nav-active {
    transform: translateX(0%) !important;
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

.title-content {

    /* position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; */
    z-index: -1;
    /* 👈 sends it behind everything */
    background: url("assets/graph.gif") no-repeat;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    position: relative;
    background-position-y: -378px;
    /* background-size: contain; */
}

.title-img {
    width: 70%;
    height: fit-content;
    margin: 8px auto;
    position: relative;
    top: -360px;
}

.section-1-text,
.section-2-text {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.section-2-text {
    margin-top: -190px;
}

.section-1-text {
    margin-top: -45%;
    position: relative;

}

.title-text {
    /* position: absolute;
    left: 20%;
    bottom: 20px; */
    /* background: linear-gradient(to bottom,
            #ebebeb 0%,
            #404040 25%,
            #ffffff 47%,
            #818181 64%,
            #4e4e4e 83%,
            #ffffff 100%); */
    font-family: 'Niagara Solid', sans-serif;
    background: linear-gradient(#ebebeb 27.6%, #404040 42.6%, #fff 55.1%, #818181 65.6%, #4e4e4e 76.7%, #fff 86.6%);
    background-clip: text;
    color: transparent;
    font-size: 200px;
}

.sec-1-subtext {
    color: #eb142e;
    font-size: 20px;
    line-height: .5px;
}

.section-2,
.package-section,
.benifits-section,
.product-section,
.pre-footer,
.footer {

    display: flex;
    flex-direction: column;
    margin-top: 64px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.sec-2-img {
    width: 80%;
    height: fit-content;
    margin: 8px auto;
}

.sec-2-title,
.package-title,
.benifit-title,
.product-title {
    font-size: 38px;
    color: white;
    text-decoration: underline;
    text-decoration-color: red;
    text-underline-offset: 8px;
}

.sec-2-desc {
    color: white;
    font-size: 18px;
    width: 75%;
    text-align: center;
    margin-top: 12px;
}

.package-container {
    display: flex;
    width: 100%;
    margin-top: 32px;
    justify-content: space-around;
}

.package-card {
    display: flex;
    flex-direction: column;
    width: calc(50% / 3 - 32px);
}

.offering {
    display: flex;
    flex-direction: column;
    margin-top: 24px;
    gap: 8px;
}

.off-title {
    color: white;
    font-size: 18px;
}

.off-desc {
    color: #575757;
    font-size: 14px;
    width: 150%;
    line-height: 1.3;
}

.package-img {
    width: 100%;
}

ul {
    padding: 0;
}

.benifit-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 80%;
    margin-top: 32px;
}


.benifit-tab {
    padding: 32px;
    background: linear-gradient(to top, hsl(353deg 83% 44% / 62%) 0%, hsl(353deg 100% 19% / 64%) 100%);
    display: flex;
    flex-direction: column;
}

.benifit-card-title {
    font-size: 32px;
    color: #F81530;
    font-weight: 800;
}

.benifit-desc {
    color: white;
    font-size: 18px;
}

.b1 {
    flex: 0 0 60%;
}

.b2 {
    flex: 1;
    min-width: 0;
}

.b3 {
    flex: 100%;
}

.product-section {
    min-height: 600px;
    justify-content: space-between;
}

.product-container {
    position: relative;
    height: 420px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* top: 120px; */
    margin-top: 64px;
    perspective: 1000px;
}

.product-card {
    position: absolute;
    width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
    cursor: pointer;
}

/* CENTER */
.product-card.active {
    transform: translateX(0) scale(1.1);
    z-index: 3;
    filter: brightness(1);
}

/* LEFT */
.product-card.left {
    transform: translateX(-320px) scale(0.85);
    z-index: 1;
    filter: brightness(0.5);
}

/* RIGHT */
.product-card.right {
    transform: translateX(320px) scale(0.85);
    z-index: 1;
    filter: brightness(0.5);
}

.product-card.active {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.product-img {
    width: 80%;
    margin-bottom: -60px;
    /* reduced from -80 */
}

.product-card-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}


.product-card {
    opacity: 0.9;
}

.product-card.active {
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(156 7 7 / 30%);
    border: none;
    color: #ea1111;
    font-size: 32px;
    padding: 0;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.prev-btn {
    left: 10%;
}

.next-btn {
    right: 10%;
}

.product-card-title {
    color: white;
    font-size: 20px;
}

.product-card-desc {
    color: #575757;
    font-size: 14px;
    line-height: 1.5;
}

.cls-1,
.cls-2 {
    display: flex;
    flex-direction: column;
    flex-basis: 30%;
}

.cls-title {
    color: #F81530;
    font-size: 42px;
    line-height: 1.2;
}

.cls-desc {
    color: white;
    margin-top: 18px;
    font-size: 16px;
}

.closing-section {
    display: flex;
    padding: 24px 34px;
    background: linear-gradient(to top,
            #CB1E32 -55%,
            #3B0007 38%);
    margin-top: 84px;
    justify-content: space-between;
}

.cls-2 {
    flex-basis: 60%;
    text-align: end;
}

.footer {

    background-color: #F81530;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0;
    width: unset;
    padding: 32px 64px;
}

.copy-rights-section {
    display: flex;
    flex-direction: column;

}

.cr-title {
    font-size: 58px;
    color: black;
    margin-bottom: 8px;
    font-family: 'Niagara Solid', sans-serif;

}

.cr,
.rr {
    font-size: 16px;
    margin-top: 4px;
    line-height: 1.2;
    color: black;
}

.util-buttons-container {
    display: flex;
    gap: 12px 4px;
    flex-wrap: wrap;
}

.util-btn {
    font-size: 12px;
    flex: 0 0 calc(33.33% - 8px);
}

.pre-f-subtext {
    font-size: 18px;
    color: white;
    width: 50%;
    text-align: center;
}

.pre-footer {
    background: url("assets/pre-footer.png") no-repeat center;
    /* background-size: cover; */
    /* padding: 32px; */
    min-height: 734px;
    justify-content: flex-end;
}

.pre-f-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 64px;
    color: #F81530;
}

.pre-f-com-title {
    font-size: 24px;
    color: white;
    font-family: 'Niagara Solid', sans-serif;

}

.line {
    border: 1px solid #F81530;
    width: 50%;
}

.help-text {
    color: white;
    font-size: 18px;
}

.social-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
}

.social-btn {
    display: flex;
    color: black;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

.fa-instagram,
.fa-telegram {
    color: black;
    font-size: 30px;
}

@media (max-width: 1024px) {
    .navbar {
        padding: 16px 32px;
    }

    .title-text {
        font-size: 150px;
    }

    .package-container {
        flex-wrap: wrap;
        gap: 32px;
        justify-content: center;
    }

    .package-card {
        width: calc(100% / 3 - 32px);
        min-width: 280px;
    }

    .product-card.left {
        transform: translateX(-200px) scale(0.85);
    }

    .product-card.right {
        transform: translateX(200px) scale(0.85);
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        right: 0px;
        top: 0px;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.25s ease-in-out;
        z-index: 1000;
        gap: 24px;
        margin: 0;
    }

    .nav-links .nav-link {
        font-size: 24px;
        color: white;
    }

    .title-text {
        font-size: 120px;
    }

    .sec-2-desc {
        width: 90%;
        text-align: left;
        font-size: 14px;
    }

    .package-container {
        flex-direction: column;
        align-items: center;
    }

    .package-card {
        width: 80%;
    }

    .benifit-container {
        flex-direction: column;
        width: 90%;
    }

    .benifit-tab {
        flex: 100%;
    }

    .closing-section {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .cls-1,
    .cls-2 {
        flex-basis: 100%;
        text-align: center;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
        padding: 32px;
        margin-top: -240px;
    }

    .util-buttons-container {
        justify-content: center;
    }

    .product-card.left {
        transform: translateX(-150px) scale(0.85);
    }

    .product-card.right {
        transform: translateX(150px) scale(0.85);
    }

    .prev-btn {
        left: 8px;
    }

    .next-btn {
        right: 8px;
    }

    .cls-title {
        font-size: 36px;
    }

    .pre-footer {
        padding: 0;
        margin: 64px 0;
        background-position-y: 108px;
        justify-content: center;
        margin-bottom: 0;
    }

    .pre-f-subtext {
        font-size: 12px;
        width: 80%;
    }

    .pre-f-title {
        font-size: 34px;
    }

    .package-img {
        width: 60%;
        margin: 0 auto;
    }

    .offering {
        text-align: center;
    }

    .off-desc {
        width: 80%;

        margin: 0 auto;
    }

    .benifit-card-title {
        line-height: 1.2;
        margin-bottom: 24px;
    }

    .benifit-desc {
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    html,
    body {
        overflow-x: hidden;
    }

    .title-content {
        flex-direction: column-reverse;
        text-align: center;
        background-position-y: 57%;
        background-size: 195%;
    }

    .title-text {
        display: flex;
        flex-direction: column;
        font-size: 130px;
    }

    .tt-mb {
        line-height: 0.8;
    }

    .section-1-text {
        margin-top: 42px;
    }


    .sec-1-subtext {
        display: none;
    }

    .title-img {
        z-index: 1000;
        position: relative;
        top: -148px;
        width: 112%;
        left: -16px;
    }

    .sec-2-img {
        width: 100%;
        display: none
    }

    .product-section {
        min-height: auto;
    }

    .product-container {
        margin-top: 70px;
        height: 350px;
    }

    .product-card {
        width: 220px;
    }

    .product-card.active {
        transform: translateX(0) scale(1.05);
    }

    .product-card.left {
        transform: translateX(-70px) scale(0.85);
        opacity: 0.15;
    }

    .product-card.right {
        transform: translateX(70px) scale(0.85);
        opacity: 0.15;
    }

    .prev-btn {
        left: 46px;
        top: 50px;

        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .next-btn {
        right: 46px;
        top: 50px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .cls-title {
        font-size: 36px;
    }

    .package-card {
        width: 95%;
    }

    .pre-footer {
        padding: 0;
        margin: 120px 0 64px 0;
        background-position-y: 0px;

    }

    .pre-f-subtext {
        font-size: 12px;
        width: 80%;
        margin-top: 108px;
    }

    .pre-f-title {
        font-size: 34px;
    }

    .package-img {
        width: 60%;
        margin: 0 auto;
    }

    .offering {
        text-align: center;
    }

    .off-desc {
        width: 80%;
        margin: 0 auto;
    }

    .benifit-card-title {
        line-height: 1.2;
        margin-bottom: 24px;
    }

    .benifit-desc {
        font-size: 14px;
        line-height: 1.4;
    }

    .product-card-desc {
        width: 140%;
    }

    .txt-2 {
        display: flex;
        top: 314px;
        z-index: 1000;
        font-size: 16px;
        text-wrap: auto;
        position: relative;
        line-height: 1.5;
        width: 90%;
    }

    .section-2 {
        margin-top: -64px;
    }

    .section-2-text {
        background: url("assets/sec-2.png") no-repeat;
        margin: 0;
        background-size: 164%;
        background-position-x: -158px;
        background-position-y: -6px;
    }

    .sec-2-title {
        margin-top: 170px;
    }

    .benifit-title {
        width: 70%;
        text-align: left;
        line-height: 1.3;
        text-decoration: none;
        border-bottom: 4px red solid;
    }

    .off-title {
        width: 80%;
        margin: 0 auto;
        text-align: left;
    }

    .off-desc {
        text-align: left;
        line-height: 1.3;
    }
}