:root {
    --font-arial: Arial, sans-serif;
    --font-size-base: 1rem;
    --color-black: #36342E;
}

body {
    margin: 0;
    line-height: 1.6;
    font-family: var(--font-arial);
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
li,
button,
input,
select,
textarea,
option {
    color: var(--color-black);
}

.nav-bar {
    display: flex;
    justify-content: center;
    position: fixed;
    z-index: 9999;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.15);
    font-size: var(--font-size-base);
    color: var(--color-black);
    width: 50%;
    margin: 20px auto;
    left: 0;
    right: 0;
    transform: translateX(0);
}

.nav-item ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 58px;
    padding: 0;
}

.nav-item ul a {
    text-decoration: none;
    color: var(--color-black);
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-item ul a:hover {
    color: #eaa700;
}

.nav-item ul a:active {
    color: #f5f5f5;
}

.container-1 {
    width: 100%;
    background-color: #ffb800;
    height: 42.731rem;
    position: relative;
    overflow: hidden;
}

.container-isi {
    margin: 0 6.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 1;
}

.pembuka {
    text-align: center;
}

.txt-pembuka {
    width: 44.563rem;
    font-size: 3rem;
    display: inline-block;
    font-family: var(--font-arial);
    color: #36332E;
    text-align: left;
}

.logo-1-besar {
    margin-top: 2rem;
}

.group-icon {
    position: absolute;
    top: 8rem;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 0;
}

.container-2 {
    padding-top: 5.5rem;
    background-color: #ffffff;
    text-align: center;
    margin: 0 12.5rem;
}

.group-icon-2 {
    position: absolute;
    top: 49.531rem;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 0;
}

.container-2 h2 {
    font-size: 2.5rem;
    font-family: var(--font-arial);
}

.container-2 p {
    font-size: 1.5rem;
    font-family: var(--font-arial);
}

.container-3 {
    padding-top: 6rem;
    margin: 0 12.5rem;
    text-align: center;
}

.container-3 h2 {
    font-size: 2.5rem;
    font-family: var(--font-arial);
    margin-top: 0;
}

.card-container {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
    gap: 1.5rem;
}

.card1,
.card2 {
    width: 100%;
    position: relative;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    height: 44rem;
    width: 31.438rem;
}

.card-container img {
    width: 100%;
    position: relative;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    max-width: 100%;
    overflow: hidden;
    height: 18.75rem;
    object-fit: cover;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
}

.card-text h3 {
    position: relative;
    font-size: 1.5rem;
    display: inline-block;
    font-family: var(--font-arial);
    color: var(--color-black);
    text-align: center;
}

.card-text p {
    width: 27.438rem;
    position: relative;
    font-size: 1.25rem;
    font-family: var(--font-arial);
    color: var(--color-black);
    text-align: justify;
    display: inline-block;
}

.button-card button {
    width: 21.3125rem;
    position: relative;
    border-radius: 15px;
    background-color: #ffb800;
    height: 3.438rem;
    border: none;
    color: var(--color-black);
    font-family: var(--font-arial);
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button-card button:hover {
    background: #FFE49E;
    padding: 1rem 0.9375rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.button-card button:active {
    background: #DD9F00;
    padding: 1rem 0.9375rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}

.container-isi-4,
.container-isi-5 {
    display: flex;
    justify-content: center;
    padding-top: 6rem;
    gap: 1.5rem;
    position: relative;
}

.pattern-1x img {
    position: absolute;
    z-index: -1;
    top: 17rem;
    width: 100%;
    margin: 0 auto;
}

.text-beasiswa {
    color: var(--color-black);
    text-shadow: 2px 4px 5px rgba(0, 0, 0, 0.25);
    font-family: var(--font-arial);
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 1.12rem;
    text-align: center;
}

.card-1 {
    border-radius: 0.9375rem;
    background: #F5F5F5;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    display: flex;
    width: 30rem;
    padding: 1rem 0.9375rem;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.img-card img {
    width: 29.4375rem;
    height: 11.75rem;
    border-radius: 0.9375rem;
}

.text-card {
    width: 29.5625rem;
    color: var(--color-black);
    text-align: justify;
    font-family: var(--font-arial);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.card-2 {
    border-radius: 0.9375rem;
    background: #FFB800;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    height: 28.25rem;
    padding: 0.9375rem;
    justify-content: center;
    align-items: center;
}

.text-card-long {
    width: 29.5625rem;
    font-family: var(--font-arial);
}

.text-card-long li {
    color: var(--color-black);
    font-family: Arial;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.text-card-long b {
    color: var(--color-black);
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.container-5 {
    flex-direction: row-reverse;
}

.img-card2 img {
    width: 29.4375rem;
    height: 16.875rem;
    border-radius: 0.9375rem;
}

.card-2-2 {
    border-radius: 0.9375rem;
    background: #FFB800;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    height: 31.1rem;
    padding: 0.9375rem;
    justify-content: center;
    align-items: center;
}

.container-6 {
    padding-top: 6rem;
    margin: 0 12.81rem;
}

.container-6 h2 {
    color: var(--color-black);
    text-shadow: 2px 4px 5px rgba(0, 0, 0, 0.25);
    font-family: var(--font-arial);
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-top: 0;
}

.form-daftar form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.input-group {
    width: 48%;
}

.input-group input,
.input-group select {
    width: 100%;
    border-radius: 0.9375rem;
    background: #FDFDFD;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    border: none;
    height: 3.25rem;
    margin-bottom: 1.56rem;
    padding-left: 0.5rem;
}

.submit-button {
    width: 100%;
    height: 4.0625rem;
    flex-shrink: 0;
    border-radius: 0.9375rem;
    background: #FFB800;
    color: var(--color-black);
    font-family: var(--font-arial);
    font-size: 1.3rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.submit-button:hover {
    background: #FFE49E;
    padding: 1rem 0.9375rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.submit-button:active {
    background: #DD9F00;
    padding: 1rem 0.9375rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}

footer {
    background-color: #FFB800;
    color: var(--color-black);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo img {
    width: 100px;
    height: auto;
}

.footer-info p {
    margin: 0.5rem 0;
    font-family: var(--font-arial);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social img {
    width: 30px;
    height: 30px;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    font-family: var(--font-arial);
    font-size: 0.9rem;
}

.hamburger-menu-container {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

.hamburger-menu {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-black);
    cursor: pointer;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: rgba(255, 184, 0, 0.9);
    transition: 0.3s;
    padding: 2rem;
    z-index: 999;
}

.nav-menu.active {
    right: 0;
}

.card-2,
.card-2-2 {
    height: auto;
    min-height: 28.25rem;
}

@media (max-width: 1200px) {
    .nav-bar {
        width: 60%;
    }

    .container-2,
    .container-3,
    .container-4,
    .container-5,
    .container-6 {
        margin: 0 5rem;
    }

    .card1,
    .card2 {
        width: 100%;
        max-width: 31.438rem;
    }

    .card-text p {
        width: 90%;
    }
}

@media (max-width: 1024px) {
    .nav-bar {
        display: flex;
        justify-content: center;
        position: fixed;
        z-index: 9999;
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(5px);
        border-radius: 30px;
        background-color: rgba(255, 255, 255, 0.15);
        font-size: var(--font-size-base);
        color: var(--color-black);
        width: 70%;
        margin: 20px auto;
        left: 0;
        right: 0;
        transform: translateX(0);
    }

    .container-isi {
        flex-direction: column;
        padding: 2rem;
        margin: 2rem 0;
    }

    .txt-pembuka {
        width: 100%;
        font-size: 2.5rem;
        text-align: center;
    }

    .logo-1-besar {
        width: 80%;
        max-width: 300px;
        margin: 2rem auto;
    }

    .group-icon {
        top: 12rem;
    }

    .group-icon-2 {
        top: auto;
    }

    .container-4,
    .container-5 {
        align-items: center;
    }

    .card-1,
    .card-2,
    .card-2-2 {
        width: 90%;
        margin: 0 auto 2rem;
    }

    .card-2,
    .card-2-2 {
        min-height: auto;
    }

    .text-card-long {
        width: auto;
    }

    .text-card,
    .img-card img,
    .img-card2 img {
        max-width: 100%;
    }
}

@media (max-width: 1000px) {}

@media (max-width: 905px) {
    .logo-1-besar {
        display: none;
    }
}

@media (max-width: 768px) {
    .hamburger-menu-container {
        display: block;
    }

    .nav-bar {
        display: none;
    }

    .nav-item ul {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 40px;
    }

    .nav-item ul li {
        flex: 1 1 auto;
        text-align: center;
    }

    .container-1 {
        height: auto;
        padding: 4rem 0;
    }

    .container-2,
    .container-3,
    .container-4,
    .container-5,
    .container-6 {
        margin: 0 2rem;
    }

    .container-isi-4,
    .container-isi-5 {
        align-items: center;
        flex-direction: column;
    }

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

    .group-icon,
    .group-icon-2 {
        display: none;
    }

    .hamburger-menu {
        display: block;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 1000;
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--color-black);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: rgba(255, 184, 0, 0.9);
        transition: 0.3s;
        padding: 2rem;
        z-index: 999;
        transition: right 0.3s ease-in-out;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        list-style: none;
        padding: 0;
    }

    .nav-menu ul li {
        margin: 2rem 0;
    }

    .nav-menu ul li a {
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--color-black);
    }

    .nav-menu ul li a:hover {
        color: #F5F5F5;
        transition: ease-in-out 0.2s;
    }

    .nav-menu ul li:nth-child(1) {
        background-color: inherit;
    }

    .nav-menu ul li:nth-child(6) {
        background-color: #000000;
        border: none;
        border-radius: 15px;
        padding: 0.3rem 1rem;
        transition: background-color 0.3s ease, transform 0.2s ease;
        text-align: center;
    }

    .nav-menu ul li:nth-child(6) a {
        color: #ffffff;
        text-decoration: none;
        font-weight: bold;
    }

    .nav-menu ul li:nth-child(6):hover {
        background-color: #4a4a4a;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .nav-menu ul li:nth-child(6):active {
        background-color: #333333;
        transform: translateY(1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }


    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo,
    .footer-info,
    .footer-social {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .txt-pembuka {
        font-size: 1.8rem;
    }

    .card1,
    .card2 {
        height: auto;
        padding-bottom: 5rem;
        position: relative;
    }

    .button-card {
        position: absolute;
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
    }

    .button-card button {
        width: 100%;
    }

    .form-daftar form {
        flex-direction: column;
    }

    .input-group {
        width: 100%;
    }

    .text-beasiswa {
        font-size: 2rem;
    }

    .img-card img,
    .img-card2 img {
        width: 25rem;
    }

    .img-card img,
    .img-card2 img {
        height: auto;
        width: 100%;
        ;
    }

    .text-card {
        width: auto;
    }
}

@media (max-width: 1000px) and (orientation: landscape) {
    .hamburger-menu-container {
        display: block;
    }

    .nav-bar {
        display: none;
    }

    .nav-item ul {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 40px;
    }

    .nav-item ul li {
        flex: 1 1 auto;
        text-align: center;
    }

    .hamburger-menu {
        display: block;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 1000;
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--color-black);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: rgba(255, 184, 0, 0.9);
        transition: 0.3s;
        padding: 2rem;
        z-index: 999;
        transition: right 0.3s ease-in-out;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        list-style: none;
        padding: 0;
    }

    .nav-menu ul li {
        margin: 1rem 0;
    }

    .nav-menu ul li a {
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--color-black);
    }

    .nav-menu ul li a:hover {
        color: #F5F5F5;
        transition: ease-in-out 0.2s;
    }

    .nav-menu ul li:nth-child(1) {
        background-color: inherit;
    }

    .nav-menu ul li:nth-child(6) {
        background-color: #000000;
        border: none;
        border-radius: 15px;
        padding: 0.3rem 1rem;
        transition: background-color 0.3s ease, transform 0.2s ease;
        text-align: center;
    }

    .nav-menu ul li:nth-child(6) a {
        color: #ffffff;
        text-decoration: none;
        font-weight: bold;
    }

    .nav-menu ul li:nth-child(6):hover {
        background-color: #4a4a4a;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .nav-menu ul li:nth-child(6):active {
        background-color: #333333;
        transform: translateY(1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .container-1 {
        height: auto;
        min-height: 100vh;
    }

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

    .txt-pembuka {
        width: 80%;
        max-width: none;
    }

    .logo-1-besar {
        display: none;
    }

    .nav-menu ul li {
        margin: 1rem 0;
    }
}

.fadeInUp {
    animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeOutDown {
    animation: fadeOutDown 1s ease-in-out;/
}

@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

.swal2-confirm-button-custom {
    background-color: #ffb800 !important;
    color: var(--color-black) !important;
}

.floating-button {
    position: fixed;
    bottom: 50px;
    right: 50px;
    background-color: var(--color-black);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    transition: opacity 0.5s ease;
}

.floating-button.hidden {
    opacity: 0;
    pointer-events: none;
}

.floating-button img {
    width: 55%;
}