@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotate {
    0% {
        --angle: 0deg;
    }

    100% {
        --angle: 360deg;
    }
}

@media (min-width: 300px) {
    html {
        font-size: 12px;
    }

    section {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 36px 0;
        margin: 24px 0;
    }

    nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 6.5rem;
        right: 150px;
        gap: 0.75rem;
        padding: 1rem;
        border-radius: 0.75rem;
        text-align: left;
        background: white;
        filter: drop-shadow(0 12px 35px #0004);
        visibility: hidden;
        transform: scale(0);
        transform-origin: center top;
        transition: all 0.1s ease;
    }

    nav.show {
        visibility: visible;
        transform: scaleY(1);
    }

    .header-section {
        text-align: center;
        width: 100%;
    }

    .header-section h3,
    .header-section h2,
    .header-section h6 {
        margin: auto;
        padding: 10px 0;
    }

    .cards {
        width: 100%;
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        gap: 8px;
        padding: 56px 0;
    }

    card {
        flex: 0 1 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 16px;
        gap: 24px;
        padding: 24px 36px;
        position: relative;
        transition: all 0.2s cubic-bezier(0.6, 0.07, 0.07, 0.89);
        cursor: pointer;
        border: 1px solid #0002;
        border-radius: 24px;
    }

    card:not([special]) harga span {
        font-size: 2.7rem;
    }

    card>p {
        display: none;
    }

    .icon {
        display: none;
        align-items: center;
        padding: 12px;
    }

    header .btns svg {
        display: flex;
        cursor: pointer;
    }

    footer {
        background: var(--p400);
        border-radius: 36px;
        padding: 4rem 3rem;
        color: white;
        display: flex;
        flex-flow: column;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 13px;
    }

    section {
        padding: 56px 24px;
    }

    .cards {
        gap: 24px;
    }

    card {
        flex: 0 1 290px;
        padding: 24px 36px;
    }

    .feature-cards card {
        flex: 0 1 250px;
    }

    card>p {
        display: block;
    }

    .icon {
        display: flex;
    }

    footer {
        flex-flow: row;
    }
}

@media (min-width: 1024px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 1200px) {
    html {
        font-size: 16px;
    }

    nav {
        display: flex;
        flex-direction: row;
        position: relative;
        top: 0;
        right: 0;
        gap: 0;
        padding: 0;
        border-radius: 0;
        filter: drop-shadow(0 0 0 #0000);
        visibility: visible;
        transform: scale(1);
    }

    header .btns svg {
        display: none;
    }
}

/* Base Styles */
:root {
    --p50: #eaecf1;
    --p75: #a7b0c7;
    --p100: #8390b0;
    --p200: #4d608d;
    --p300: #293f76;
    --p400: #1d2c53;
    --p500: #192648;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    border: 0;
    outline: 0;
    list-style-type: none;
    scroll-behavior: smooth;
}

/* Header */

header {
    background: white;
    width: 100%;
    height: 80px;
    padding: 0 36px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

header img {
    height: 5vw;
    max-height: 40px;
    object-fit: cover;
}

header a {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.8;
    padding: 0.62rem 1.2rem;
    border-radius: 12px;
    transition: all 0.1s ease;
}

header a:hover {
    background: rgba(28, 28, 28, 0.1);
    color: var(--p300);
}

/*  */

/* main */

main {
    max-width: 1280px;
    padding: 0 24px;
    margin: auto;
}

/* Section */

section>h6 {
    opacity: 0.6;
}

/*  */

/* Home */

.container-home {
    flex-flow: row wrap;
    padding: 156px 24px;
}

.hero {
    display: flex;
    flex: 1;
    flex-flow: column wrap;
    gap: 24px;
}

.hero-image {
    min-width: 300px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    object-fit: cover;
}

/* Features */

card>* {
    width: 100%;
}

card[special]::before,
card[special]::after {
    position: absolute;
    content: "";
    padding: 2px;
    background: linear-gradient(var(--angle),
            transparent 5%,
            #161aff 40%,
            #810aff 50%,
            #161aff 60%,
            transparent 95%);
    animation: rotate 8s linear infinite forwards;
    width: 100%;
    height: 100%;
    z-index: -2;
    border-radius: 24px;
}

card[special]::after {
    padding: 0;
    background: white;
    z-index: -1;
    border-radius: 22px;
}

card:hover {
    translate: 0 -10px;
}

card[special]:hover::after {
    background: rgb(237, 237, 237);
}

/*  */

/* Testimonials */

.companies {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    gap: 4rem;
    padding: 56px;
}

.companies>div,
.companies>img {
    max-height: 36px;
    height: 4vw;
}

.companies img {
    filter: grayscale(1);
}

.clients {
    width: 100%;
    position: relative;
}

.slider-container {
    width: 80%;
    margin: auto;
}

.profile img {
    width: 44px !important;
    border-radius: 36px;
    float: left;
    margin-right: 0.75rem;
}

.profile h5 {
    margin-bottom: 0.25rem;
}

.owl-carousel,
.owl-stage-outer {
    overflow: hidden;
}

chevron {
    background: white;
    border-radius: 36px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    position: absolute;
    top: 50%;
}

chevron:hover {
    background: #ddd;
}

chevron#left {
    left: 0;
}

chevron#right {
    right: 0;
}

slider {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

stars {
    width: 100%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/*  */

/* Awards */

.awards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    padding: 56px 0;
}

.award>* {
    width: 100%;
    text-align: center;
}

.award h6 {
    opacity: 0.6;
}

/*  */

/* Price */

nama-paket {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.recommended,
diskon p {
    opacity: 1;
    color: var(--p300);
    background: var(--p50);
    padding: 0.5rem 0.7rem;
    border-radius: 36px;
}

diskon {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

s {
    opacity: 0.7;
}

diskon p {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

harga {
    color: var(--p300);
    font-weight: 600;
}

harga span {
    font-size: 3.3rem;
    font-weight: 800;
    margin: 0 0.25rem;
}

card a {
    display: flex;
    justify-content: space-between;
    color: var(--p300);
    font-weight: 600;
    font-size: 1.1rem;
}

/*  */

/* Table */

table {
    width: 80%;
    border-collapse: collapse;
}

th,
td {
    text-align: center;
    border-right: 1px solid #0004;
    border-left: 1px solid #0004;
    padding: 0.75rem 1rem;
}

th {
    font-size: 1.5rem;
    color: var(--p300);
}

td {
    opacity: 0.8;
}

tr,
td:first-child {
    text-align: left;
}

/*  */

/* FAQ */

.questions-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 3.5rem 3vw;
    gap: 1rem;
}

.questions {
    min-width: 200px;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem;
    gap: 1rem;
}

.questions-title {
    display: flex;
    gap: 0.75rem;
}

.questions-title svg {
    color: #1eff74;
}

details {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--p75);
    border-left: 3px solid var(--p75);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--p300);
    transition: all 0.5s ease;
    cursor: pointer;
}

details[open] summary svg {
    rotate: 90deg;
}

details[open] {
    block-size: auto;
}

summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

details p {
    padding-right: 1rem;
    margin-top: 1.4rem;
    color: #1c1c1ccc;
}

/*  */

/* Footer */

footer {
    background: var(--p400);
    border-radius: 36px;
    padding: 4rem 3rem;
    color: white;
    display: flex;
}

footer>* {
    width: 100%;
}

.information {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.information div {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.navigation {
    padding: 2.25rem 0;
    gap: 1.1rem;
    display: flex;
    flex-direction: column;
}

footer * {
    font-family: "Inter";
    letter-spacing: 0.2px;
}

footer h5,
footer a {
    font-weight: 300;
    text-align: justify;
    opacity: 0.8;
}

footer h6 {
    opacity: 0.5;
    font-weight: 300;
    text-align: left;
    width: 100%;
}

.social-media>* {
    opacity: 0.5;
    margin-top: 1rem;
    margin-right: 1rem;
}

.form {
    display: flex;
    flex-direction: column;
    padding: 2.25rem;
    gap: 2.25rem;
    background: white;
    color: #1c1c1c;
    border-radius: 1.5rem;
}

.form label {
    font-weight: 600;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.form input {
    width: 78%;
    border: 1px solid #0002;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.form .btn {
    align-self: end;
    border-radius: 36px;
    padding: 1rem 1.4rem;
    width: fit-content;
}

#copyright {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 36px 0;
}

#copyright h6 {
    width: fit-content;
}

#copyright a {
    color: #0cb2ff;
    cursor: pointer;
    text-decoration: underline;
}