/* ==========================================
   NEW SECTIONS
   About Us and Registration
   ========================================== */

/* --- About Us Section --- */
.about-us-section {
    background-color: var(--bg-lavender);
    /* Changed to Lavender */
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Add more storybook graphics to About Us */
.about-us-section::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(circle, var(--accent-pink) 20%, transparent 20%), radial-gradient(circle, var(--accent-pink) 20%, transparent 20%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.about-container {
    background-color: white;
    /* Container white to pop against lavender */
    border: 4px dashed var(--primary);
    border-radius: 40px;
    padding: 50px;
    position: relative;
    box-shadow: 15px 15px 0 rgba(0, 0, 0, 0.05);
    z-index: 1;
}

/* Storybook corner decorations */
.about-container::before {
    content: '★';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: var(--accent-gold);
    animation: twinkle 3s infinite ease-in-out;
}

.about-container::after {
    content: '★';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--accent-gold);
    animation: twinkle 3s infinite ease-in-out 1.5s;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.about-content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
    font-family: var(--font-playful);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-image-wrapper {
    flex: 1;
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 30px;
    border: 8px solid var(--accent-gold);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Smiley Face Graphic */
.smiley-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 4rem;
    color: var(--accent-gold);
    background: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    border: 4px solid var(--primary);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Responsive for About Us */
@media (max-width: 768px) {
    .about-content-wrapper {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .about-container {
        padding: 30px;
    }

    .about-text h3 {
        font-size: 2rem;
        text-align: center;
    }
}

/* --- Registration Section --- */
.registration-section {
    background-color: var(--bg-sky);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

/* Background graphics */
.reg-bg-graphic {
    position: absolute;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.reg-bg-1 {
    top: 10%;
    left: 5%;
    font-size: 5rem;
    color: var(--primary);
}

.reg-bg-2 {
    bottom: 10%;
    right: 5%;
    font-size: 5rem;
    color: var(--secondary);
    animation-delay: 2s;
}

.registration-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.registration-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-reg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-playful);
    font-size: 1.3rem;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 280px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp-reg {
    background-color: #25D366;
    color: white;
    border: 5px solid white;
}

.btn-whatsapp-reg:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    background-color: #1ebc57;
}

.btn-email-reg {
    background-color: var(--accent-blue);
    color: white;
    border: 5px solid white;
}

.btn-email-reg:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(79, 195, 247, 0.3);
    background-color: #29b6f6;
}

.btn-reg i {
    font-size: 1.5rem;
}

/* --- General Decoration Styles --- */
.decoration-floating {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}