/* Kid-Friendly Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fredoka', sans-serif; 
    color: #51AD17;
    line-height: 1.6;
    background-color: #f8fbff;
    overflow-x: hidden; 
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 20px;
}

.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}

h2 {
    color: #0183D4;
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.subtitle {
    color: #FC6E11;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 600;
}

/* FULLY ROUNDED BUTTONS */
.btn {
    padding: 14px 30px;
    border-radius: 50px; 
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.1s ease-in-out;
    font-family: 'Fredoka', sans-serif;
}

.btn-primary {
    background-color: #FC6E11; 
    color: white;
    box-shadow: 0 6px 0 #cc580d; 
}

.btn-primary:hover {
    background-color: #fd8536; 
    transform: translateY(-2px);
    box-shadow: 0 8px 0 #cc580d;
}

.btn-primary:active, .btn-white:active {
    transform: translateY(4px); 
    box-shadow: 0 2px 0 transparent; 
}

.btn-white {
    background-color: white;
    color: #0abde3; 
    box-shadow: 0 6px 0 #d1d8e0;
    font-size: 18px;
}

.btn-white:hover {
    background-color: #fdfdfd;
    transform: translateY(-2px);
    box-shadow: 0 8px 0 #d1d8e0;
}

/* Header & Logo */
header {
    background-color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
}

.header-container {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    max-height: 110px; 
    width: auto;
    display: block;
    margin-top: -20px;
    margin-bottom: -20px; 
}

/* Social Icons - Made larger and more vibrant */
.social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
}

.fb-icon {
    background-color: #0183D4;
    box-shadow: 0 4px 10px rgba(1, 131, 212, 0.3);
}

.ig-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 10px rgba(225, 48, 108, 0.3);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.15);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* ANIMATIONS */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floating {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Hero Section */
.hero-fun {
    background: linear-gradient(-45deg, #f08985, #b258db, #632de8);
    background-size: 300% 300%;
    animation: gradientShift 12s ease infinite;
    color: white;
    padding: 130px 20px;
    margin-bottom: 20px;
    box-shadow: 0 15px 40px rgba(99, 45, 232, 0.25);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0;
}

.eyebrow-badge {
    background: #1dd1a1;
    color: white;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-fun h1 {
    margin-bottom: 15px;
    line-height: 1.2;
    color: white; 
    text-shadow: 3px 5px 0 rgba(0,0,0,0.15); 
}

.pulse-btn {
    animation: pulse 2s infinite;
}
.pulse-btn:hover {
    animation: none; 
}

/* Floating Emojis in Hero */
.floating-emoji {
    position: absolute;
    font-size: 60px;
    opacity: 0.9;
    z-index: 1;
}
.float-1 { top: 15%; left: 10%; animation: floating 4s ease-in-out infinite; }
.float-2 { top: 60%; left: 15%; animation: floating 5s ease-in-out infinite reverse; font-size: 40px; }
.float-3 { top: 20%; right: 10%; animation: floating 6s ease-in-out infinite 1s; }
.float-4 { top: 70%; right: 15%; animation: floating 4.5s ease-in-out infinite reverse 0.5s; font-size: 50px; }

/* Grids */
.grid-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-4x2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.journey-grid { padding-top: 30px; gap: 40px 30px; } 

/* Fully Rounded Cards (Skills) */
.intro-card {
    background: white;
    padding: 25px;
    border-radius: 30px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    border: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    display: flex; 
    gap: 20px; 
    align-items: center;
}

.intro-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.08);
}

/* Colorful Card Borders on Hover */
.color-border-1:hover { border-color: #ff6b6b; }
.color-border-2:hover { border-color: #feca57; }
.color-border-3:hover { border-color: #1dd1a1; }
.color-border-4:hover { border-color: #0abde3; }

.intro-card h3 { font-size: 20px; margin-bottom: 5px; }
.intro-card p { font-size: 15px; color: #51AD17; font-weight: 500; }

/* GAMIFIED JOURNEY CARDS */
.journey-card { 
    background: white;
    border-radius: 30px;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    border: 4px solid transparent; 
    padding: 0 25px 25px 25px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.journey-card:hover {
    transform: translateY(-12px) scale(1.04);
}

.journey-card.card-1:hover { border-color: #ff6b6b; box-shadow: 0 15px 30px rgba(255, 107, 107, 0.3); }
.journey-card.card-2:hover { border-color: #feca57; box-shadow: 0 15px 30px rgba(254, 202, 87, 0.3); }
.journey-card.card-3:hover { border-color: #1dd1a1; box-shadow: 0 15px 30px rgba(29, 209, 161, 0.3); }
.journey-card.card-4:hover { border-color: #0abde3; box-shadow: 0 15px 30px rgba(10, 189, 227, 0.3); }
.journey-card.card-5:hover { border-color: #632de8; box-shadow: 0 15px 30px rgba(99, 45, 232, 0.3); }
.journey-card.card-6:hover { border-color: #fca34d; box-shadow: 0 15px 30px rgba(252, 163, 77, 0.3); }
.journey-card.card-7:hover { border-color: #01a3a4; box-shadow: 0 15px 30px rgba(1, 163, 164, 0.3); }
.journey-card.card-8:hover { border-color: #ee5253; box-shadow: 0 15px 30px rgba(238, 82, 83, 0.3); }

.journey-card h4 { color: #0183D4; font-size: 18px; margin: 0 0 10px; text-align: center; }
.journey-card p { font-size: 14px; color: #51AD17; font-weight: 500; text-align: center; }

/* 3D GAMIFIED BADGES */
.icon-box {
    width: 70px;
    height: 70px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; 
    font-weight: 800; 
    font-size: 32px;
    border: 4px solid white; 
    box-shadow: inset 0 -5px 0 rgba(0,0,0,0.2), inset 0 4px 0 rgba(255,255,255,0.4), 0 6px 12px rgba(0,0,0,0.15);
    text-shadow: 2px 3px 0 rgba(0,0,0,0.2); 
    transform: translateY(-35px); 
    margin-bottom: -15px; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.journey-card:hover .icon-box {
    transform: translateY(-48px) scale(1.15) rotate(-8deg);
    box-shadow: inset 0 -5px 0 rgba(0,0,0,0.2), inset 0 4px 0 rgba(255,255,255,0.4), 0 12px 20px rgba(0,0,0,0.25);
}

/* Colors */
.level-1 { background-color: #ff6b6b; } 
.level-2 { background-color: #feca57; } 
.level-3 { background-color: #1dd1a1; } 
.level-4 { background-color: #0abde3; } 
.level-5 { background-color: #632de8; } 
.level-6 { background-color: #fca34d; } 
.level-7 { background-color: #01a3a4; } 
.level-8 { background-color: #ee5253; } 

/* AI Feature */
.ai-feature {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #e0f6ff;
    border-radius: 50px; 
    padding: 40px;
    box-shadow: 0 10px 30px rgba(10, 189, 227, 0.1);
}

.prose { max-width: 900px; margin: 0 auto; font-size: 18px; color: #51AD17; font-weight: 500; line-height: 1.8; }
.prose p { margin-bottom: 15px; }

/* Programme Details Cards 3+2 Grid Layout */
.details-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 30px; 
    margin: 40px auto 0 auto; 
    max-width: 800px; 
}
.detail-card { 
    background: white; 
    padding: 30px 20px; 
    border-radius: 35px; 
    width: 220px; 
    text-align: center; 
    position: relative;
    border: 4px solid transparent; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.detail-card:hover { 
    transform: translateY(-15px) scale(1.05);
    border-color: #0183D4;
    box-shadow: 0 15px 35px rgba(1, 131, 212, 0.2);
}

.detail-card.c-1:hover { border-color: #ff6b6b; }
.detail-card.c-2:hover { border-color: #feca57; }
.detail-card.c-3:hover { border-color: #0abde3; }
.detail-card.c-4:hover { border-color: #1dd1a1; }
.detail-card.c-5:hover { border-color: #632de8; }

.detail-card h3 { color: #FC6E11; font-size: 20px; margin-bottom: 10px; }
.detail-card p { font-size: 15px; font-weight: 500; color: #51AD17; }

/* CTA Box */
.cta-section { 
    background: linear-gradient(135deg, #f8fbff, #e0f6ff); 
    padding: 80px 20px; 
    border-radius: 50px; 
    margin: 60px auto 40px auto; 
    box-shadow: 0 10px 30px rgba(10, 189, 227, 0.1);
}

@media (max-width: 992px) {
    .grid-4x2 { grid-template-columns: repeat(2, 1fr); }
    .grid-2x2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-logo { 
        max-height: 65px; 
        margin-top: -10px;
        margin-bottom: -10px;
    }
    
    .hero-fun { padding: 80px 20px; border-radius: 0 0 35px 35px; }
    .hero-fun h1 { font-size: 34px !important; }
    .grid-4x2 { grid-template-columns: 1fr; }
    .journey-grid { gap: 50px 30px; padding-top: 40px; }
    .cta-section { padding: 50px 20px; border-radius: 35px;}
    .floating-emoji { display: none; }
}