*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Raleway", sans-serif;
    line-height: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
}

input,
button {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
    background-color: transparent;
    background-image: none;
}

button[data-toggle-navbar][data-is-open="true"] #line-1 {
    transform: translateY(0.375rem) rotate(40deg);
}

button[data-toggle-navbar][data-is-open="true"] #line-2 {
    transform: scaleX(0);
    opacity: 0;
}

button[data-toggle-navbar][data-is-open="true"] #line-3 {
    transform: translateY(-0.375rem) rotate(-40deg);
}

.hero-section {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 8rem;
    background-color: #ffffff;
}

.hero-container {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Background Shapes Wrapper */
.hero-bg-wrapper {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    display: none;
}

.blur-shape-1 {
    position: absolute;
    left: -1.5rem;
    top: 6rem;
    width: 6rem;
    height: 6rem;
    transform: rotate(90deg) skewX(12deg);
    border-radius: 1.5rem;
    background-color: rgb(74 222 128);
    filter: blur(24px);
    opacity: 0.6;
    display: none;
}

.blur-shape-2 {
    position: absolute;
    right: 1rem;
    bottom: 3rem;
    width: 6rem;
    height: 6rem;
    border-radius: 1.5rem;
    background-color: rgb(37 99 235);
    filter: blur(24px);
    opacity: 0.8;
}

.blur-shape-3 {
    width: 33.333333%;
    aspect-ratio: 1 / 1;
    background-image: linear-gradient(
        to top right,
        rgb(37 99 235),
        rgb(74 222 128)
    );
    position: absolute;
    top: -1.25rem;
    border-radius: 9999px;
    transform: rotate(90deg) skewX(12deg) skewY(12deg);
    filter: blur(40px);
    opacity: 0.4;
}

/* Hero Content */
.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-heading {
    font-size: 1.875rem;
    line-height: 1.25;
    font-weight: 700;
    color: rgb(17 24 39);
}

.gradient-text {
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    display: inline;
    background-image: linear-gradient(
        to bottom right,
        rgb(79 70 229) 20%,
        rgb(37 99 235) 30%,
        rgb(22 163 74)
    );
}

.hero-paragraph {
    margin-top: 2rem;
    color: rgb(55 65 81);
}

.container-form {
    margin-top: 2.5rem;
    width: 100%;
    display: flex;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.hero-form {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 1.5rem;
    padding-right: 0.25rem;
    width: 100%;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    color: rgb(75 85 99);
    box-shadow: 0 10px 15px -3px rgb(229 231 235 / 0.2),
        0 4px 6px -4px rgb(229 231 235 / 0.2);
    border: 1px solid rgb(229 231 235);
    background-color: rgb(243 244 246);
    border-radius: 9999px;
    transition-property: background-color, border-color;
    transition-timing-function: linear;
    transition-duration: 150ms;
}

.hero-form:focus-within {
    background-color: #ffffff;
    border-color: rgb(37 99 235);
}

.form-icon {
    min-width: max-content;
    padding-right: 0.5rem;
    border-right: 1px solid rgb(229 231 235);
}

.form-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.form-input {
    width: 100%;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    outline: none;
    background-color: transparent;
    border: none;
}

.hero-button {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    width: max-content;
    min-width: max-content;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    height: 3rem;
    border-radius: 9999px;
    outline: none;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition-duration: 300ms;
    transition-timing-function: linear;
    transition-property: border-color;
    background-color: rgb(37 99 235);
}

.hero-button:hover {
    border-color: #172554;
}

/* Efek hover 'after' pada tombol */
.hero-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 1 / 1;
    transform: scale(0);
    opacity: 0.7;
    transform-origin: center;
    transition: all 300ms linear;
    border-radius: 9999px;
    background-color: #172554;
    z-index: 1;
}

.hero-button:hover::after {
    opacity: 1;
    transform: scale(2.5);
}

.button-text {
    display: none;
    position: relative;
    z-index: 5;
}

.button-icon {
    display: flex;
    position: relative;
    z-index: 5;
}

.button-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Hero Image */
.hero-image-wrapper {
    display: flex;
    flex: 1 1 0%;
    position: relative;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    border-radius: 1.5rem;
    object-fit: cover;
    max-height: 24rem;
    width: 100%;
}

/* 4. Aturan @media (Responsive) */

@media (min-width: 640px) {
    .hero-container {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .hero-heading {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .form-wrapper {
        flex-direction: row;
    }

    .hero-button {
        width: max-content;
    }

    .button-text {
        display: flex;
    }

    .button-icon {
        display: none;
    }
}

/* md (768px) */
@media (min-width: 768px) {
    .hero-container {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .blur-shape-1 {
        left: 1rem;
    }

    .hero-heading {
        font-size: 3rem;
        line-height: 1;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding-top: 5rem;
        padding-bottom: 9rem;
    }

    .hero-container {
        max-width: 80rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        flex-direction: row;
        gap: 3rem;
    }

    .hero-bg-wrapper {
        width: 50%;
        right: 0;
        display: block;
    }

    .blur-shape-1 {
        top: 7rem;
        opacity: 0.95;
        display: block;
    }

    .blur-shape-3 {
        width: 16.666667%;
        left: 0;
    }

    .hero-content {
        text-align: left;
        padding-top: 1.75rem;
        padding-bottom: 1.75rem;
        align-items: flex-start;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        flex: 1 1 0%;
        width: 50%;
    }

    .container-form {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-image-wrapper {
        width: 50%;
        height: auto;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-image {
        position: absolute;
        width: 100%;
        height: 100%;
        max-height: none;
    }
}

@media (min-width: 1280px) {
    .hero-heading {
        font-size: 3.75rem;
        line-height: 1;
    }

    .hero-content {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* Header area */
header.header.navbar-area {
    background: #fff;
    padding: 0;
    min-height: 70px;
    display: flex;
    align-items: center;
}

/* Navbar utama */
header.header.navbar-area .navbar {
    width: 100%;
    padding: 0 20px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
header.header.navbar-area .navbar-brand img {
    height: 45px;
    width: auto;
}

/* Menu item */
header.header.navbar-area .navbar-nav .nav-item .page-scroll {
    padding: 0 14px;
    font-size: 15px;
    line-height: 70px;
    color: #333;
    transition: 0.3s;
}

header.header.navbar-area .navbar-nav .nav-item .page-scroll:hover {
    color: #1da1f2;
    /* efek hover */
}

/* Tombol kanan */
.menu-buttons {
    display: flex;
    gap: 10px;
}

.menu-buttons .btn-menu {
    display: inline-block;
    border-radius: 30px;
    padding: 8px 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

/* Tombol solid */
.menu-buttons .btn-menu.solid {
    background-color: #1da1f2;
    color: #fff;
}

.menu-buttons .btn-menu.solid:hover {
    background-color: #0d8ddb;
}

/* Tombol outline */
.menu-buttons .btn-menu.outline {
    background-color: transparent;
    color: #1da1f2;
    border: 1px solid #1da1f2;
}

.menu-buttons .btn-menu.outline:hover {
    background-color: #1da1f2;
    color: #fff;
}

/* Mobile view */
@media (max-width: 991px) {
    .menu-buttons {
        flex-direction: column;
        align-items: stretch;
        margin-top: 20px;
        gap: 15px;
    }

    .menu-buttons .btn-menu {
        width: 100%;
    }

    header.header.navbar-area .navbar-nav .nav-item .page-scroll {
        line-height: 40px;
    }
}

.ticket-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
}

.ticket-card:hover {
    transform: translateY(-5px);
}

.ticket-card .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.ticket-step {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 5px 0;
}

.ticket-desc {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

/* warna sesuai kategori */
.login-alur h3 {
    color: #007bff;
}

.login-alur .icon {
    color: #007bff;
}

.kirim-cepat h3 {
    color: #8401ff;
}

.kirim-cepat .icon {
    color: #8401ff;
}

/* responsive */
@media (max-width: 768px) {
    .ticket-card {
        padding: 15px;
    }

    .ticket-step {
        font-size: 1rem;
    }
}
