:root {
    --primary-blue: #3159BA;
    --accent-yellow: #EECC65;
    --accent-red: #B4545F;
    --bg-off-white: #FDFCFB;
    --bg-warm-gray: #D1CDC7;
    --text-navy: #0E1013;
    --text-gray-blue: #4D5366;
    --text-soft-blue: #8F9EA8;

    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Quicksand', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-off-white);
    color: var(--text-navy);
    font-family: var(--font-body);
    font-weight: 500;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* --- Layout --- */

section {
    position: relative;
    padding: 80px 20px;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Animations --- */

[data-aos] {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.floating {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.cloud {
    position: absolute;
    width: 100px;
    height: 40px;
    background: white;
    border-radius: 50px;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.cloud::after,
.cloud::before {
    content: '';
    position: absolute;
    background: white;
    border-radius: 50%;
}

.cloud::after {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 15px;
}

.cloud::before {
    width: 40px;
    height: 40px;
    top: -15px;
    right: 15px;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -1;
    pointer-events: none;
}

/* --- Components --- */

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(49, 89, 186, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(49, 89, 186, 0.4);
}

.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-yellow);
    box-shadow: 0 20px 40px rgba(49, 89, 186, 0.1);
}

/* --- Hero Section --- */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, #eef2ff 0%, var(--bg-off-white) 100%);
    overflow: hidden;
    padding-top: 100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--primary-blue);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-gray-blue);
    margin-bottom: 30px;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-yellow);
    color: var(--text-navy);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* --- Mentor Section --- */

.mentor-profile {
    background: white;
    padding: 60px 0;
}

.mentor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.mentor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mentor-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 8px solid var(--accent-yellow);
}

/* --- Materi Section --- */

.materi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.materi-category {
    margin-bottom: 40px;
}

.materi-category h3 {
    margin-bottom: 20px;
    color: var(--primary-blue);
    border-left: 5px solid var(--accent-yellow);
    padding-left: 15px;
}

.materi-list {
    list-style: none;
}

.materi-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--bg-warm-gray);
    display: flex;
    align-items: center;
}

.materi-list li::before {
    content: '🎨';
    margin-right: 10px;
}

/* --- FAQ Section --- */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fdfdfd;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-gray-blue);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* --- Footer CTA --- */

.cta-footer {
    background-color: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 100px 20px;
    clip-path: ellipse(150% 100% at 50% 100%);
}

.cta-footer h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

/* --- Responsive --- */

@media (max-width: 992px) {

    .hero-content,
    .mentor-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        order: -1;
    }
}