/* * {
    border: 1px solid red;
} */

.hero-section {
    position: relative;
    width: 100%;
    height: 250vh;
    background: url("../images/home-section.png") no-repeat top;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero-section h2 {
    margin-top: 35%;
    font-size: 44px;
    letter-spacing: 15px;
}

.hero-section h1 {
    font-size: 66px;
    letter-spacing: 55px;
}

.affiliate {
    margin: 100px 50px;
}

.affiliate p {
    font-size: 22px;
}

.affiliate-content {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 10px;
    width: 100%;
}

.affiliate-content::-webkit-scrollbar {
    display: none;
}

.affiliate-content > * {
    flex: 0 0 20%;
    scroll-snap-align: start;
    border-radius: 20px;
}

.affiliate-content {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
}

.card-affi {
    background-color: rgb(255, 255, 255);
    padding: 13px 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-affi img {
    height: 40px;
    width: auto;
}

.card-affi:nth-child(5) img {
    height: 30px;
    width: auto;
}

.hero-image {
    margin: 50px 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: flex-end;
    gap: 40px;
}

.hero-image img {
    height: auto;
    width: 400px;
}

.hero-section p {
    margin: 30px 0px;
    font-size: 48px;
}

.btn-hero {
    margin-top: 50px;
    position: relative;
    display: inline-block;
    background: transparent;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 1;
    border: none;
}

.btn-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(45deg, #12aa8b 0%, #b173ff 50%, #e13c80 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.btn-hero:hover {
    color: #ffffff;
    background: linear-gradient(45deg, #12aa8b 0%, #b173ff 50%, #e13c80 100%);
}

.btn-hero:hover::before {
    opacity: 0;
}

/* immpact start */
.impact-section {
    padding: 100px 50px 150px;
    width: 100%;
    height: 100vh;
    background: url("../images/bg-impact.png") no-repeat bottom;
    background-size: cover;
    z-index: 2;
    position: relative;
}

.grid-top-impact {
    display: grid;
    grid-template-columns: 35% 1fr;
    align-items: flex-start;
}

.grid-top-impact .icon-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-title img {
    height: 30px;
    width: auto;
}

.icon-title p {
    margin: 0;
    font-weight: 500;
}

.grid-bottom {
    margin: 50px 0px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-bottom-mobile {
    display: none;
}

.grid-bottom img {
    height: 500px;
    width: auto;
    margin: 0 auto;
}
/* impact end */

/* catalog start */
.catalog-section {
    /* margin-top: -150px; */
    width: 100%;
    height: 250vh;
    background: url("../images/bg-catalog.png") no-repeat top;
    background-size: cover;
    z-index: 1;
    position: relative;
}

.product {
    padding: 150px 50px;
}

.grid-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.grid-top .card-product:nth-child(1),
.grid-top .card-product:nth-child(3) {
    margin-top: 150px;
}

.card-product {
    background-color: #ffffff;
    border-radius: 25px;
    -webkit-border-radius: 25px;
}

.card-product img {
    height: 300px;
    width: 100%;
}

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

.text-product-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.text-product-title img {
    height: 30px;
}

.text-product-title p {
    font-weight: 500;
    margin: 0;
    color: #ffffff;
}

.text-product h2 {
    margin: 50px 0px 10px;
    color: #ffffff;
    font-size: 45px;
}

.text-product p {
    color: #ffffff;
    text-align: center;
}

.text-product button {
    margin-top: 30px;
    padding: 8px 50px;
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    border-radius: 20px;
}

.grid-bottom-katalog {
    display: flex;
    justify-content: space-between;
    margin-top: -100px;
}

.agen {
    margin-top: 100px;
    padding: 0px 50px;
}

.agen-head {
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: center;
}

.agen-head img {
    height: 50px;
}

.agen-head p {
    font-size: 48px;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 20px;
}

.agen-head-mobile {
    display: none;
}

.agen-content {
    background-color: rgba(255, 255, 255, 0.263);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(2px);
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 40%;
    border-radius: 10px;
    height: 600px;
    position: relative;
}

.purple3 {
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 150px;
    width: auto;
}

.gold2 {
    position: absolute;
    left: 48%;
    top: 0px;
    height: 100px;
    width: auto;
}

.mora {
    position: absolute;
    left: 5%;
    bottom: 40%;
    height: 100px;
    width: auto;
}

.purple2 {
    position: absolute;
    bottom: 0px;
    right: 30px;
    height: 70px;
    width: auto;
}

.agen-left {
    height: 600px;
}

.agen-left img {
    height: 100%;
    width: 100%;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.agen-right {
    display: flex;
    justify-content: center;
    align-items: center;
    align-items: flex-start;
    flex-direction: column;
    padding-left: 30px;
}

.agen-right h2 {
    color: #ffffff;
    font-size: 50px;
    font-weight: 500;
}

.agen-right p {
    color: #ffffff;
    font-size: 20px;
    width: 80%;
    margin: 20px 0px;
}

.agen-right button {
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 10px 40px;
    border-radius: 40px;
    font-weight: 500;
}
/* catalog end */

.agen-mbl {
    display: none;
}

/* insigh */

.insigh-section {
    padding: 100px 50px;
}

.insigh-section .icon-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.insigh-content {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.card-insigh {
    position: relative;
    border-radius: 20px;
}

.card-insigh img {
    width: 100%;
}

.text-insigh {
    position: absolute;
    bottom: 10%;
    left: 3%;
    padding: 20px;
}

.text-insigh p {
    font-size: 24px;
    font-weight: 500;
}

.text-insigh .more {
    display: flex;
    align-items: center;
    gap: 20px;
}

.more img {
    height: 30px;
    width: auto;
}

.more p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.gold3 {
    display: none;
}

.purple4 {
    display: none;
}

.purple5 {
    display: none;
}

.badge {
    position: absolute;
    top: 7%;
    left: 7%;
    padding: 10px;
    border: 1px solid #592180;
    color: #000;
    border-radius: 30px;
}

@media (max-width: 1650px) {
    .grid-bottom img {
        height: 400px;
    }

    .card-product img {
        height: 250px;
    }

    .agen {
        margin-top: 0px;
    }

    .agen-content {
        height: 500px;
    }

    .agen-left {
        height: 500px;
    }

    .hero-section {
        height: 300vh;
    }
}

@media (max-width: 1450px) {
    .hero-section {
        height: 300vh;
    }

    .grid-bottom img {
        height: 300px;
    }

    .affiliate {
        width: 100vw;
    }

    .affiliate-content {
        display: flex; /* ubah dari grid ke flex */
        overflow-x: auto; /* biar bisa scroll ke kanan */
        scroll-snap-type: x mandatory; /* biar gesernya smooth per item */
        gap: 20px;
        padding-bottom: 10px;
        width: 100%;
    }

    .affiliate-content::-webkit-scrollbar {
        display: none; /* sembunyikan scrollbar di mobile */
    }

    .affiliate-content > * {
        flex: 0 0 20%; /* tiap item lebar 80% dari layar */
        scroll-snap-align: start; /* tiap item berhenti di posisi awal */
        border-radius: 20px; /* opsional, biar rapi */
    }

    .card-product img {
        height: 200px;
    }
}

@media (max-width: 1280px) {
    .agen-head p {
        letter-spacing: 10px;
    }

    .mora {
        height: 70px;
        bottom: 50%;
    }

    .grid-bottom img {
        height: 300px;
    }

    .affiliate {
        width: 100vw;
    }

    .affiliate-content {
        display: flex; /* ubah dari grid ke flex */
        overflow-x: auto; /* biar bisa scroll ke kanan */
        scroll-snap-type: x mandatory; /* biar gesernya smooth per item */
        gap: 20px;
        padding-bottom: 10px;
        width: 100%;
    }

    .affiliate-content::-webkit-scrollbar {
        display: none; /* sembunyikan scrollbar di mobile */
    }

    .affiliate-content > * {
        flex: 0 0 20%; /* tiap item lebar 80% dari layar */
        scroll-snap-align: start; /* tiap item berhenti di posisi awal */
        border-radius: 20px; /* opsional, biar rapi */
    }

    .card-product img {
        height: 200px;
    }

    .hero-image img {
        width: 300px;
    }

    .text-insigh {
        bottom: 0%;
    }

    .text-insigh p {
        font-size: 18px;
    }

    .more p {
        font-size: 12px;
    }

    .hero-section h2 {
        margin-top: 60%;
        font-size: 30px;
    }

    .hero-section h1 {
        font-size: 40px;
    }
}

@media (max-width: 1050px) {
    .hero-section {
        height: 250vh;
    }

    .hero-section h2 {
        margin-top: 50%;
        letter-spacing: 10px;
        font-size: 24px;
    }

    .hero-section h1 {
        letter-spacing: 30px;
    }

    .hero-section p {
        font-size: 30px;
    }

    .hero-image img {
        width: 200px;
    }

    .grid-bottom img {
        height: 200px;
    }

    .catalog-section {
        height: 250vh;
    }

    .text-insigh p {
        font-size: 12px;
    }

    .agen-head img {
        height: 40px;
    }

    .agen-head p {
        letter-spacing: 10px;
        font-size: 24px;
    }
    .gold2 {
        height: 70px;
    }

    .purple2 {
        height: 70px;
    }

    .purple3 {
        height: 100px;
    }

    .mora {
        height: 50px;
    }

    .agen-right h2 {
        font-size: 30px;
    }

    .agen-right p {
        font-size: 16px;
    }

    .agen-right button {
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .insigh-section {
        padding: 70px 20px;
    }

    .insigh-content {
        grid-template-columns: 1fr;
    }

    .card-insigh {
        height: 350px;
    }

    .card-insigh img {
        height: 100%;
    }

    .text-insigh {
        bottom: 0%;
    }

    .text-insigh p {
        font-size: 16px;
        margin-bottom: 3px;
    }

    .more p {
        font-size: 10px;
    }

    .more img {
        height: 20px;
    }
}

/* responsive mobile */

@media (max-width: 768px) {
    .hero-section {
        height: 250vh;
    }

    .hero-section h2 {
        margin-top: 80%;
        font-size: 30px;
        letter-spacing: 10px;
        font-weight: 400;
    }

    .hero-section h1 {
        font-size: 30px;
        letter-spacing: 15px;
        font-weight: 400;
    }

    .hero-image img:nth-child(1),
    .hero-image img:nth-child(3) {
        display: none;
    }

    .affiliate {
        width: 100vw;
    }

    .affiliate-content {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 10px;
        width: 100%;
    }

    .affiliate-content::-webkit-scrollbar {
        display: none;
    }

    .affiliate-content > * {
        flex: 0 0 35%;
        scroll-snap-align: start;
        border-radius: 20px;
    }

    .card-affi {
        width: 5px;
        padding: 10px 30px;
        border-radius: 10px;
    }

    .card-affi img {
        width: auto;
        height: 40px;
    }

    .hero-image {
        grid-template-columns: 1fr;
    }

    .hero-image img {
        height: auto;
        width: 300px;
    }

    .hero-section p br {
        display: none;
    }

    .hero-section p {
        font-size: 24px;
    }

    .impact-section {
        height: auto;
        padding: 70px 10px;
    }

    .grid-top-impact {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .grid-bottom-katalog {
        display: none;
    }

    .card-product {
        background-color: #ffffff;
        border-radius: 10px;
        padding: 1px;
    }

    .card-product img {
        height: 100px;
        width: auto;
    }

    .grid-top {
        gap: 30px;
    }

    .grid-top .card-product:nth-child(1),
    .grid-top .card-product:nth-child(3) {
        margin-top: 100px;
    }

    .text-product {
        margin-top: 30px;
        width: 100%;
    }

    .text-product h2 {
        font-size: 24px;
        text-align: center;
    }

    .text-product p {
        font-size: 16px;
        margin-top: 10px;
    }

    .agen {
        padding: 0px 20px;
    }

    .agen-head {
        display: none;
    }

    .agen-head-mobile {
        display: block;
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .agen-head-mobile img {
        height: 30px;
    }

    .agen-head-mobile p {
        font-size: 24px;
        color: #ffffff;
        font-weight: 500;
        letter-spacing: 10px;
        margin: 0;
    }

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

    .agen-content {
        grid-template-columns: 1fr;
        height: 700px;
        width: 100%;
    }

    .agen-dkp {
        display: none;
    }

    .agen-mbl {
        display: block;
    }

    .agen-left {
        height: 300px;
    }

    .agen-left img {
        height: 100%;
    }

    .purple2 {
        display: none;
    }

    .purple3 {
        display: none;
    }

    .mora {
        display: block;
        top: 10%;
    }

    .gold3 {
        display: block;
        position: absolute;
        right: 0px;
        top: 0px;
    }

    .purple4 {
        display: block;
        position: absolute;
        bottom: 0px;
        right: 0px;
    }

    .purple5 {
        display: block;
        position: absolute;
        left: 0px;
        top: 30%;
    }

    .gold2 {
        display: none;
    }

    .agen-right h2 {
        font-size: 32px;
    }

    .agen-right p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .grid-bottom {
        grid-template-columns: 1fr;
        display: none;
    }

    .grid-bottom img {
        height: 300px;
        width: auto;
    }

    .grid-bottom-mobile {
        display: block;
        margin: 50px 0px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        justify-self: center;
    }

    .grid-bottom-mobile img {
        height: 350px;
        width: auto;
    }
}

@media (max-width: 448px) {
    .catalog-section {
        height: 230vh;
    }

    .hero-section h2 {
        font-size: 24px;
        margin-top: 130%;
        line-height: 40px;
    }

    .hero-section h1 {
        font-size: 24px;
    }

    .agen-head {
        gap: 5px;
    }

    .agen-head img {
        height: 20px;
    }

    .agen-head p {
        font-size: 16px;
        letter-spacing: 5px;
        margin: 0;
    }

    .card-product img {
        height: 100px;
    }

    .grid-top .card-product:nth-child(1),
    .grid-top .card-product:nth-child(3) {
        margin-top: 50px;
    }

    .card-affi:nth-child(5) img {
        height: 20px;
        width: auto;
    }

    .mora {
        top: 5%;
        height: 40px;
    }
}

@media (max-width: 380px) {
    .catalog-section {
        height: 300vh;
    }

    .hero-section {
        height: 270vh;
    }
}
