.hero {
    background: linear-gradient(135deg, #6b48ff, #00ddeb);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('https://source.unsplash.com/random/1920x1080?education,tech') no-repeat center/cover;
        opacity: 0.25;
        z-index: 0;
        animation: zoom 15s infinite;
    }

.hero-content {
    z-index: 1;
    color: #fff;
    max-width: 900px;
    padding: 20px;
}

.hero h1 {
    font-size: 4.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: slideIn 1s ease-in-out;
    background: linear-gradient(45deg, #fff, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.6rem;
    margin: 20px 0;
    animation: slideIn 1.5s ease-in-out;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero button {
    padding: 15px 35px;
    font-size: 1.3rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ff6b6b;
    color: #fff;
}

    .hero button:hover {
        transform: scale(1.15);
        background: #e55a5a;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }

    .hero button.secondary {
        background: transparent;
        border: 2px solid #fff;
    }

        .hero button.secondary:hover {
            background: #fff;
            color: #6b48ff;
        }

.features {
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, #6b48ff, #00ddeb);
}

    .features h2 {
        font-size: 2.8rem;
        margin-bottom: 50px;
        color: #6b48ff;
        text-transform: uppercase;
        background: linear-gradient(45deg, #6b48ff, #00ddeb);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature-card {
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.1;
        background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
        z-index: 0;
    }

    .feature-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
    }

    .feature-card h3 {
        font-size: 1.9rem;
        margin-bottom: 15px;
        z-index: 1;
        position: relative;
    }

    .feature-card p {
        font-size: 1rem;
        z-index: 1;
        position: relative;
    }

    .feature-card a {
        color: #fff;
        text-decoration: underline;
        transition: color 0.3s ease;
    }

        .feature-card a:hover {
            color: #ffcc00;
        }

    .feature-card:nth-child(1) {
        background: linear-gradient(45deg, #ff4d4d, #ff8080);
    }

    .feature-card:nth-child(2) {
        background: linear-gradient(45deg, #00b7eb, #33ccff);
    }

    .feature-card:nth-child(3) {
        background: linear-gradient(45deg, #7b3fe4, #a266f4);
    }

    .feature-card:nth-child(4) {
        background: linear-gradient(45deg, #ff2e95, #ff6bcb);
    }

    .feature-card:nth-child(5) {
        background: linear-gradient(45deg, #00cc99, #33ffcc);
    }

    .feature-card:nth-child(6) {
        background: linear-gradient(45deg, #ffaa00, #ffdd55);
    }

    .feature-card:nth-child(7) {
        background: linear-gradient(45deg, #e91e63, #ff6090);
    }

    .feature-card:nth-child(8) {
        background: linear-gradient(45deg, #1e90ff, #4ab8ff);
    }

    .feature-card:nth-child(9) {
        background: linear-gradient(45deg, #ff7f50, #ffaebd);
    }

    .feature-card:nth-child(10) {
        background: linear-gradient(45deg, #00ff7f, #99ffcc);
    }

    .feature-card:nth-child(11) {
        background: linear-gradient(45deg, #8b008b, #ff00ff);
    }

    .feature-card:nth-child(12) {
        background: linear-gradient(45deg, #ffd700, #fffacd);
    }

.cta-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #6b48ff, #00ddeb);
    text-align: center;
    color: #fff;
}

    .cta-section h2 {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }

    .cta-section button {
        padding: 14px 30px;
        font-size: 1.2rem;
        border: none;
        background: #ff6b6b;
        color: #fff;
        border-radius: 50px;
        cursor: pointer;
        transition: background 0.3s ease, transform 0.3s ease;
    }

        .cta-section button:hover {
            background: #e55a5a;
            transform: scale(1.1);
        }


@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes zoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.3rem;
    }

    .hero .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .features h2 {
        font-size: 2.2rem;
    }

    .feature-card h3 {
        font-size: 1.6rem;
    }
}









.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footerbox {
    width: 46%;
    text-align: left;
    margin-right: 10px;
}

/* Responsive adjustments for smaller screens */
@media only screen and (max-width: 768px) {

    .footer-container {
        display: block;
        text-align: center;
    }

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

@media only screen and (max-width: 768px) {
    .header {
        width: 80px;
    }

}

.fa-list {
    color: #fff;
    float: left;
    margin: 5px 20px;
}

.fa-list:hover {
    color: #ff0000;
    transition: 0.5s;
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
    animation: bounce 1s infinite;
}


body {
    font-size: 1em;
    border: 0px;
    margin: 0px;
    font-family: Verdana, sans-serif;
}

.main {
    position: relative;
    background-image: url("wizape.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100%;
    min-width: 100%;
}

.glow {
    overflow: hidden;
    position: absolute;
    bottom: 0px;
    text-align: center;
    width: 100%;
    font-weight: bold;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.7), 0 0 40px rgba(0, 123, 255, 0.7), 0 0 60px rgba(0, 123, 255, 0.7);
    transition: box-shadow 0.3s ease-in-out;
}

.glow2:hover {
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.7), 0 0 40px rgba(0, 123, 255, 0.7), 0 0 60px rgba(0, 123, 255, 0.7);
    transition: box-shadow 0.3s ease-in-out;
}

.glowmain {
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.7), 0 0 40px rgba(0, 123, 255, 0.7), 0 0 60px rgba(0, 123, 255, 0.7);
    transition: box-shadow 0.3s ease-in-out;
}

.glowmain:hover {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.7), 0 0 40px rgba(0, 255, 0, 0.7), 0 0 60px rgba(0, 255, 0, 0.7);
}

.answer {
    width: calc(100% - 16px);
    padding: 7px;
    border: 3px solid white;
    margin-top: 4px;
    margin-bottom: 4px;
    border-radius: 5px;
    cursor: pointer;
}

    .answer:hover {
        box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.5);
    }

.pwidth {
    width: 96%;
}

.pimg {
    width: 140px;
    height: 140px;
    float: left;
    margin-right: 10px;
    border-radius: 10px;
}

.pimg2 {
    width: 120px;
    height: 120px;
    float: left;
    margin: 5px;
    margin-right: 10px;
    border-radius: 10px;
}

.catfooter {
    width: 24%;
    display: inline-block;
    min-height: 220px;
    vertical-align: top;
}

@media only screen and (max-width: 1199px) {
    .enter {
        width: 100%;
    }
}

@media screen and (max-width: 1000px) {
    .pwidth {
        width: 100%;
    }

    .pimg {
        width: 100%;
        height: auto;
    }

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



.bcontainer {
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px auto;
}

.newtons-cradle {
    --uib-size: 200px;
    --uib-speed: 1.2s;
    --uib-color: #474554;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--uib-size);
    height: var(--uib-size);
}

.newtons-cradle__dot {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    width: 25%;
    transform-origin: center top;
}

.newtons-cradle__dot::after {
    content: '';
    display: block;
    width: 100%;
    height: 25%;
    border-radius: 50%;
    background-color: var(--uib-color);
}

.newtons-cradle__dot:first-child {
    animation: swing var(--uib-speed) linear infinite;
}

.newtons-cradle__dot:last-child {
    animation: swing2 var(--uib-speed) linear infinite;
}

@keyframes swing {
    0% {
        transform: rotate(0deg);
        animation-timing-function: ease-out;
    }

    25% {
        transform: rotate(70deg);
        animation-timing-function: ease-in;
    }

    50% {
        transform: rotate(0deg);
        animation-timing-function: linear;
    }
}

@keyframes swing2 {
    0% {
        transform: rotate(0deg);
        animation-timing-function: linear;
    }

    50% {
        transform: rotate(0deg);
        animation-timing-function: ease-out;
    }

    75% {
        transform: rotate(-70deg);
        animation-timing-function: ease-in;
    }
}

@media screen and (max-width: 500px) {
    .newtons-cradle {
        --uib-size: 150px;
    }
}

.pcourse {
    position: absolute;
    top: 0px;
    left: 0px;
}

.pcourse:hover {
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.7), 0 0 40px rgba(0, 123, 255, 0.7), 0 0 60px rgba(0, 123, 255, 0.7);
    transition: box-shadow 0.3s ease-in-out;
}

.peasy:hover {
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.7), 0 0 20px rgba(0, 123, 255, 0.7), 0 0 30px rgba(0, 123, 255, 0.7);
    transition: box-shadow 0.3s ease-in-out;
    font-weight: bold;
}

.hidden {
    display: none;
}

.lazy-loaded {
    opacity: 1;
}

.input {
    min-width: 300px;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease-in-out;
    outline: none;
    color: #333;
}

.input:focus {
    border-color: #ff8c00;
    /* Warna orange saat focus */
}


.card {
    text-align: center;
    margin: 0px auto;
    max-width: 500px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.button {
    background-color: #ff8c00;
    /* Warna orange cerah */
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.button:hover {
    background-color: #ff7f00;
    /* Warna orange sedikit lebih gelap saat hover */
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
    width: 200px;
    /* Adjust as needed */
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: 40px;
}

.custom-select {
    width: 100%;
    margin: 0px;
    font-size: 2em;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.7), 0 0 40px rgba(0, 123, 255, 0.7), 0 0 60px rgba(0, 123, 255, 0.7);
    transition: box-shadow 0.3s ease-in-out;
    cursor: pointer;

}


#recordButton {
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    margin: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

    #recordButton:active {
        transform: scale(0.95);
    }


/* Chat bubble */
.chat-bubble {
    display: flex;
    align-items: center;
    border: 1px solid white;
    margin: 10px 0;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: scale(0);
    animation: popIn 0.3s forwards;
}

/* User image */
.user-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #0078d7;
}

/* Chat content */
.chat-content {
    flex-grow: 1;
    padding: 0 10px;
}

/* Play button */
.play-button {
    background-color: #0078d7;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .play-button:hover {
        box-shadow: 0 0 2px 2px white;
    }

.play-button2 {
    background-color: transparent;
    width: 30px;
    height: 30px;
}

/* Animation for insert effect */
@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    80% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}


#recordButton {
    animation: shake2 1s ease-in-out;
}

    #recordButton:hover {
        box-shadow: 0 0 2px 2px white;
    }

@keyframes shake2 {
    0% {
        transform: rotate(0deg) translateY(0);
    }

    50% {
        transform: rotate(360deg) scale(1.5);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.bplay:hover {
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.7), 0 0 40px rgba(0, 123, 255, 0.7), 0 0 60px rgba(0, 123, 255, 0.7);
    transition: box-shadow 0.3s ease-in-out;
}


::-webkit-scrollbar {
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: blue;
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}


#fireworks-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.firework {
    position: absolute;
    border-radius: 50%;
    animation: explode 1s forwards;
}

@keyframes explode {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(5);
        opacity: 0;
    }
}
