/* --- Global Styles & Variables --- */
:root {
    --color-primary-blue: #00B8D4; /* Tealish blue from HOME */
    --color-accent-orange: #FFA726; /* Orange from ABOUT & Empowering */
    --color-accent-green: #69F0AE; /* Green from RESOURCES */
    --color-accent-pink: #F06292; /* Pink from LOG IN & Empowering btn */
    --color-accent-yellow: #FFEB3B; /* Yellow from START CREATING btn */
    --color-dark-text: #333333;
    --color-light-text: #555555;
    --color-bg-light-blue: #E0F7FA; /* Light blue background */
    --color-bg-orange: #FFD180; /* Orange background for Empowering */
    --color-bg-peach: #FFF3E0; /* Peach background for Why Creativity */
    --color-white: #FFFFFF;
    --font-primary: 'Poppins', sans-serif;
    --section-padding: 60px 0;
    --border-radius: 15px;
    --container-width: 1140px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark-text);
    line-height: 1.7;
    background-color: var(--color-white);
}

h1, h2, h3 {
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.3;
}

h1 { font-size: 2.9rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.4rem; }

p {
    margin-bottom: 20px;
    color: var(--color-light-text);
}

a {
    text-decoration: none;
    color: var(--color-primary-blue);
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevent bottom space */
}

ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px; /* Padding for smaller screens */
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light-blue {
    background-color: var(--color-bg-light-blue);
}

.rounded {
    border-radius: var(--border-radius);
}

/* --- Header Styles --- */
header {
    background-color: var(--color-white);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

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

.logo img {
    height: 105px; /* Adjust as needed */
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

header nav ul li a {
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}
header nav ul li a:hover {
    opacity: 0.7;
}

.nav-home { color: var(--color-primary-blue); }
.nav-about { color: var(--color-accent-orange); }
.nav-resources { color: var(--color-accent-green); }
.nav-login { color: var(--color-accent-pink); }

/* --- Button Styles --- */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px; /* Pill shape */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-yellow {
    background: linear-gradient(145deg, #FFF176, #FFEB3B);
    color: var(--color-dark-text);
    /* Slight skew for the 'Start Creating' button effect */
    transform: rotate(-5deg);
    /* margin-left: 10px;  Adjust positioning */
    box-shadow: 3px 3px 8px rgba(0,0,0,0.1);
}
.btn-blue {
    background: linear-gradient(145deg, #4DD0E1, #00BCD4);
    color: var(--color-white);
    transform: skewX(-15deg); /* Skew effect */
    box-shadow: 3px 3px 8px rgba(0,0,0,0.1);
}
.btn-pink {
    background: linear-gradient(145deg, #F48FB1, #F06292);
    color: var(--color-white);
}


/* --- Layout Styles --- */
.two-column {
    display: flex;
    gap: 50px;
    align-items: center;
}

.two-column > div { /* Each column */
    flex: 1;
}

/* --- Section Specific Styles --- */

/* 1. Create Colorful Stories */
#create-stories h1 {
    /* font-size: 2.6rem;  Slightly smaller */
    margin-bottom: 15px;
}
#create-stories .text-content {
    position: relative; /* For positioning bubble */
}
.image-collage {
    position: relative;
    min-height: 400px; /* Ensure space for absolutely positioned images */
}
.image-collage .main-img {
    position: relative; /* For z-index */
    z-index: 2;
}
.image-collage .sub-img {
    position: absolute;
    width: 45%; /* Adjust size */
    z-index: 3;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.image-collage .img-1 {
    top: 40%;
    right: -10%; /* Overlap */
}
.image-collage .img-2 {
    bottom: -15%;
    left: 35%;
}

/* Decorative Elements */
.decor-bubble-fun, .decor-bubble-easy {
    position: absolute;
    background-color: var(--color-primary-blue); /* Fun bubble */
    color: var(--color-white);
    padding: 5px 15px;
    border-radius: 20px 20px 20px 5px; /* Bubble shape */
    font-size: 0.9rem;
    transform: rotate(-10deg);
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}
.decor-bubble-fun {
    bottom: -35%;
    left: 105%;
    z-index: 5;
}
.decor-bubble-easy {
    background-color: var(--color-accent-pink); /* Easy bubble */
    top: -10px;
    right: 10%;
    border-radius: 20px 20px 5px 20px; /* Different bubble shape */
    transform: rotate(10deg);
    z-index: 5;
}
.decor-star-green, .decor-star-yellow, .decor-star-orange {
    position: absolute;
    width: 60px; /* Adjust size */
    height: 60px;
    background-repeat: no-repeat;
    background-size: contain;
}
.decor-star-green {
    background-image: url('images/decor-star-green.svg');
    top: -20px;
    left: -30px;
    z-index: 1;
}
.decor-star-yellow {
    background-image: url('images/decor-star-yellow.svg');
    bottom: -40px;
    right: -10px;
    width: 80px;
    height: 80px;
    z-index: 1;
}


/* 2. Interactive Digital Stories */
#interactive-digital .text-content {
    padding-right: 30px; /* Add space */
}
.digital-stories-images .main-img {
    margin-bottom: 10px;
}
.story-thumbnails {
    display: flex;
    gap: 15px;
    justify-content: center;
}
.story-thumbnails .thumbnail {
    width: 30%; /* Adjust as needed */
    border: 1px solid #eee;
}


/* 3. Empowering Kids */
.kid-jumping {
   /* position: absolute; */
    top:-80px; 
    left:60%;
   
    
}

.empowering-box {
    background-color: var(--color-bg-orange);
    border-radius: var(--border-radius);
    padding: 30px 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative; /* For decor elements */
    overflow: hidden; /* Hide overflowing decor */
}
.empowering-box .text-content {
    flex: 1.2; /* Give text slightly more space */
    position: relative; /* For z-index */
    z-index: 2;
}
.empowering-box .image-content {
    flex: 0.8;
    text-align: center;
    /* position: relative;  For z-index */
    z-index: 2;
    
    
}
.empowering-box img {
   /* max-width: 90%; */
   /* position: absolute; */
}

.decor-star-orange {
    position: absolute;
    top: 20px;
    left: 47%;
    width: 220px;
    height: 220px;
    opacity: 0.8;
    z-index: 1;
}
.decor-dots-pink {
    position: absolute;
    bottom: -30px;
    right: -60px;
    /* width: 100px; */
    height: 210px;
    z-index: 1;
}



/* 4. Why Creativity Matters */
#why-creativity .text-center {
    text-align: center;
}
.narrow-paragraph {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.word-cloud-image { 
    width: 100%;
}

/* Container to center the cloud */
.creativity-word-cloud-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.creativity-word-cloud {
    background-color: var(--color-bg-peach);
    border-radius: 50px; /* Rounded ends */
    padding: 50px; /* More padding to space out words */
    display: inline-block; /* Fit content */
    position: relative; /* Needed for absolute positioning of words */
    width: 100%; /* Take full width of container */
    max-width: 700px; /* Max width */
    min-height: 250px; /* Ensure enough height for words */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.word {
    position: absolute; /* Position each word freely */
    font-weight: 600;
    /* Base styles */
}
/* Specific styles for each word (colors based on image) */
.word-vocab { color: #E57373; font-size: 1.3rem; } /* Pinkish Red */
.word-critical { color: #81C784; font-size: 1.2rem; } /* Green */
.word-confidence { color: #64B5F6; font-size: 1.3rem; } /* Blue */
.word-problem { color: #FFB74D; font-size: 1.4rem; } /* Orange */
.word-esteem { color: #FFF176; font-size: 1.2rem; } /* Yellow */
.word-innovation { color: #4DD0E1; font-size: 1.2rem; } /* Cyan */
.word-expression { color: #F06292; font-size: 1.4rem; } /* Pink */
.word-communication { color: #BA68C8; font-size: 1.1rem; } /* Purple */
.word-heart { color: #E57373; font-size: 2rem; } /* Pinkish Red */



/* 5. Nurture Your Child’s Creativity */
#nurture-creativity .text-content {
    padding-left: 30px;
}

.nurture-image { 
    max-width: 30%;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4xX grid */
    gap: 30px;
    margin-top: 40px;
}
.feature-item {
    text-align: center;
}
.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.feature-icon img {
    width: 40px; /* Adjust icon size */
    height: 40px;
}
.icon-green { background-color: #A5D6A7; } /* Muted green */
.icon-blue { background-color: #90CAF9; } /* Muted blue */
.icon-pink { background-color: #F48FB1; } /* Muted pink */
.icon-yellow { background-color: #FFE082; } /* Muted yellow */

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-dark-text);
}
.feature-item p {
    font-size: 0.8rem;
    color: var(--color-light-text);
}


/* 6. About Section (Welcome) */
#about .text-content {
    padding-right: 40px;
}
.about-heart { 
    display: inline-block;
    height: 50px;
    vertical-align: middle;
}
.about-image-container {
    position: relative;
    text-align: center; /* Center image if needed */
}
.about-img {
    clip-path: circle(40% at center);
       /* width: 300px;  Or any desired width */
       /* height: auto; /* Or any desired height */ 
    max-width: 85%; /* Make slightly smaller than container */
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    z-index: 1;
}
.about-sun-decor {
    position: absolute;
    top: -80px;
    right: 0;
    width: 190px; /* Adjust size */
    z-index: 5;
}
.about-button { 
    margin: 0 auto; 
    margin-top: -40px;
    background-image: url("images/about-button.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 75%;
    height: 150px;
    padding-top: 40px;
    z-index: 2;
    position: relative
}


/* --- Footer Styles --- */
footer {
    background-color: #f8f9fa; /* Light grey */
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
    border-top: 1px solid #eee;
}
footer p {
    margin-bottom: 0;
    color: var(--color-light-text);
    font-size: 0.9rem;
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    :root {
        --container-width: 960px;
    }
    h1 { font-size: 2.4rem; }
    h2 { font-size: 2rem; }

    .two-column {
        gap: 30px;
    }

    /* Adjust collage */
    .image-collage .img-1 { right: -5%; }
    .image-collage .img-2 { bottom: -10%; left: 25%; }

    /* Nurture features */
    .features-grid { gap: 20px; }
    .feature-icon { width: 70px; height: 70px; }
    .feature-icon img { width: 35px; height: 35px; }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 40px 0;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }

    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    header nav ul {
        gap: 15px;
        flex-wrap: wrap; /* Allow wrapping */
        justify-content: center;
    }

    .two-column {
        flex-direction: column;
        text-align: center;
    }
    /* Reverse order on mobile if needed */
    .two-column.reverse-mobile {
       flex-direction: column-reverse;
    }
    .two-column .text-content,
    .two-column .image-content {
        padding: 0 !important; /* Remove side padding from specific sections */
        max-width: 500px; /* Limit width in center alignment */
        margin: 0 auto;
    }
    .two-column .image-content {
         margin-bottom: 30px; /* Add space between stacked image/text */
    }
     /* Ensure image comes first when stacked */
    .two-column:not(.reverse-mobile) .image-content {
        order: -1; /* Move image above text */
     }


    #create-stories .text-content {
        margin-top: 150px; /* Add space because collage images might overlap */
    }
    .image-collage {
        min-height: 300px; /* Adjust for smaller size */
    }
    .image-collage .sub-img {
        width: 55%;
    }
    .image-collage .img-1 { top: 50%; right: -5%; }
    .image-collage .img-2 { bottom: -15%; left: 10%; }
    .decor-bubble-fun, .decor-bubble-easy { font-size: 0.8rem; padding: 4px 12px;}
    .decor-star-green, .decor-star-yellow { width: 50px; height: 50px; }


    .empowering-box {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }
    
    .decor-star-orange { left: 50%; transform: translateX(-50%); top: 10px; width: 80px; height: 80px; }


    .features-grid {
        grid-template-columns: 1fr; /* Stack features */
        max-width: 350px; /* Limit width */
        margin-left: auto;
        margin-right: auto;
    }


    .about-img { max-width: 70%; height:auto; }
    .about-sun-decor { width: 80px; right: 5%;}

    .btn { padding: 12px 30px; font-size: 0.8rem;}
    .btn-yellow { transform: rotate(-3deg); } /* Less rotate */
    .btn-blue { transform: skewX(-10deg); } /* Less skew */
    
}


/* login-style.css */
.login-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-options {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-form { 
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-login {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-login:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-google {
    background-color: #db4437;
    color: white;
}
.btn-google:hover { background-color: #c33d2e; }

.btn-apple {
    background-color: #000000;
    color: white;
}
.btn-apple:hover { background-color: #333; }

.btn-email {
    background-color: var(--color-primary-blue); /* Use your theme color */
    color: white;
    width: 100%; 
}
.btn-email:hover { background-color: #00a8bf; }

.auth-message {
    margin-top: 20px;
    color: red; /* For errors */
    font-size: 0.9rem;
}

