@import url('https://fonts.googleapis.com/css2?family=Aguafina+Script&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


body {
    background-color:#252C84;
}

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    html, body {
        overflow: auto;
        height: auto;
        -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS */
    }
}

/* scroll effect */
.scroll-container{
    display: flex;
    width: 400vw;
    height: 100vh;
    transition: transform 0.5s ease-in-out;
    overflow: hidden;
}

@media (max-width: 768px) {
    .scroll-container {
        display: block;
        width: 100%;
        height: auto;
        transition: none;
        overflow: visible;
        transform: none !important;
    }
}
.page1, .page2, .page3, .page4 {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    overflow: hidden; 
}

@media (max-width: 768px) {
    .page1, .page2, .page3, .page4 {
        width: 100%;
        height: auto;
        min-height: 100vh;
        flex-shrink: none;
        position: static;
        display: block;
        padding: 2rem 1rem;
        overflow: visible;
        margin-bottom: 0;
    }
}

/* page-specific backgrounds */
.page4 {
    background: linear-gradient(90deg, #DC6E9D, #1F2460);
    position: relative;
}

.page4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(3px 3px at 15px 25px, #fff, transparent),
        radial-gradient(1px 1px at 35px 65px, #fff, transparent),
        radial-gradient(2px 2px at 55px 15px, #fff, transparent),
        radial-gradient(1px 1px at 75px 85px, #fff, transparent),
        radial-gradient(2px 2px at 95px 45px, #fff, transparent),
        radial-gradient(1px 1px at 115px 5px, #fff, transparent),
        radial-gradient(3px 3px at 135px 75px, #fff, transparent),
        radial-gradient(1px 1px at 155px 35px, #fff, transparent),
        radial-gradient(2px 2px at 175px 95px, #fff, transparent),
        radial-gradient(1px 1px at 195px 55px, #fff, transparent),
        radial-gradient(2px 2px at 215px 15px, #fff, transparent),
        radial-gradient(1px 1px at 235px 85px, #fff, transparent),
        radial-gradient(3px 3px at 255px 25px, #fff, transparent),
        radial-gradient(1px 1px at 275px 65px, #fff, transparent),
        radial-gradient(2px 2px at 295px 5px, #fff, transparent),
        radial-gradient(1px 1px at 315px 45px, #fff, transparent),
        radial-gradient(2px 2px at 335px 95px, #fff, transparent),
        radial-gradient(1px 1px at 355px 15px, #fff, transparent),
        radial-gradient(3px 3px at 375px 75px, #fff, transparent),
        radial-gradient(1px 1px at 395px 35px, #fff, transparent),
        radial-gradient(2px 2px at 415px 85px, #fff, transparent),
        radial-gradient(1px 1px at 435px 25px, #fff, transparent),
        radial-gradient(2px 2px at 455px 65px, #fff, transparent),
        radial-gradient(1px 1px at 475px 5px, #fff, transparent),
        radial-gradient(3px 3px at 495px 55px, #fff, transparent),
        radial-gradient(1px 1px at 515px 95px, #fff, transparent),
        radial-gradient(2px 2px at 535px 15px, #fff, transparent),
        radial-gradient(1px 1px at 555px 75px, #fff, transparent),
        radial-gradient(2px 2px at 575px 35px, #fff, transparent),
        radial-gradient(1px 1px at 595px 85px, #fff, transparent),
        radial-gradient(3px 3px at 615px 25px, #fff, transparent),
        radial-gradient(1px 1px at 635px 65px, #fff, transparent),
        radial-gradient(2px 2px at 655px 5px, #fff, transparent),
        radial-gradient(1px 1px at 675px 45px, #fff, transparent),
        radial-gradient(2px 2px at 695px 95px, #fff, transparent),
        radial-gradient(1px 1px at 715px 15px, #fff, transparent),
        radial-gradient(3px 3px at 735px 75px, #fff, transparent),
        radial-gradient(1px 1px at 755px 35px, #fff, transparent),
        radial-gradient(2px 2px at 775px 85px, #fff, transparent),
        radial-gradient(1px 1px at 795px 25px, #fff, transparent),
        radial-gradient(2px 2px at 815px 65px, #fff, transparent),
        radial-gradient(1px 1px at 835px 5px, #fff, transparent),
        radial-gradient(3px 3px at 855px 55px, #fff, transparent),
        radial-gradient(1px 1px at 875px 95px, #fff, transparent),
        radial-gradient(2px 2px at 895px 15px, #fff, transparent),
        radial-gradient(1px 1px at 915px 75px, #fff, transparent),
        radial-gradient(2px 2px at 935px 35px, #fff, transparent),
        radial-gradient(1px 1px at 955px 85px, #fff, transparent),
        radial-gradient(3px 3px at 975px 25px, #fff, transparent),
        radial-gradient(1px 1px at 995px 65px, #fff, transparent);
    background-repeat: repeat;
    background-size: 1000px 100px;
    z-index: 0;
    opacity: 0.9;
}

.page2{
    background: linear-gradient(90deg, #252C84, #1F2460);
}
.page3{
    background: linear-gradient(90deg, #1F2460,#090A1E,);
}

/* navbar */
.navbar-title{
    align-items:flex-start;
}
.navbar {
    display: flex;
    padding: 0rem 1rem;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    z-index: 1000;
    height: 4rem;
    background-color: rgba(37, 44, 132, 0.9);
}

@media (max-width: 768px) {
    .navbar {
        position: static;
        margin-bottom: 1rem;
    }
}
.navbar-head {
    display: flex;
    align-items: center;
}
.navbar-logo {
    height: 40px;
    width: 40px;
    color: #CABDFF;
    margin-right: 0.75rem;
}
.navbar-title {
    font-family: "Aguafina Script", cursive;
    font-size: 2rem;
    font-weight: 100;
    color: #CABDFF;
}

@media (max-width: 768px) {
    .navbar-title {
        font-size: 1.5rem;
    }
}
.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.navbar-links a {
    font-family: "Montserrat", sans-serif;
    color: #CABDFF;
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    padding: 0.25rem 0;
    position: relative;
}
.navbar-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #CABDFF;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-in-out;
}
.navbar-links a:hover {
    color: #CABDFF;
}
.navbar-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


.hero-section {
    display: flex;
    align-items: center;
    padding: 2rem;
    margin-top: 0;
    padding-left: 8rem;
    height: 90vh;
    position: relative;
    z-index: 5;
    text-align: left;
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding: 1rem;
        height: auto;
        text-align: center;
    }
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 1280px;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hero-left {
        width: 100%;
        max-width: 100%;
        margin-bottom: 2rem;
        margin-right: 0;
        text-align: center;
    }
    
    .hero-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .hero-right img {
        width: 100%;
        max-width: 600px;
        height: auto;
    }
}

.hero-left {
    max-width: 700px;
    margin-bottom: 2rem;
    margin-right: 8rem;
}

h1{
    color:#FFFFFF;
    font-family: "Aguafina Script", cursive;
    font-weight: 100;
    font-style: normal;
    font-size: 9.5rem;
    margin-bottom: 0;
    margin-top: 0px;
    line-height: 0.9;
}
.description {
    color: white;
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-right img {
    width: 30vw;
    max-width: 720px;
    height: auto;
}

.hero-button {
    background: linear-gradient(180deg, #C650E7, #6A297C);
    color: white;
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

.hero-button:hover {
    background-color: #712f83;
    color: white;
    transform: translateY(-2px); 
    box-shadow: 0 6px 10px rgba(255, 255, 255, 0.2); 
}

.clouds {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 0; 
}

.clouds img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block; 
}

/* board page */
.board-section{
    display: flex;
    align-items: center;
    padding: 2rem;
    padding-left: 2rem;
    margin-top: 10rem;
    height: calc(100vh - 4rem);
    position: relative;
    z-index: 5;
    text-align: left;
    color: white;
    font-family: "Montserrat", sans-serif;
}

@media (max-width: 768px) {
    .board-section {
        flex-direction: column;
        margin-top: 0;
        height: auto;
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .board-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .board-left {
        order: 1;
        width: 100%;
        max-width: 100%;
        margin-bottom: 2rem;
        margin-right: 0;
        text-align: center;
    }
    
    .board-right {
        order: 2;
        width: 100%;
        max-width: 100%;
        align-items: center;
    }
    
    .board-card {
        width: 100%;
        max-width: 500px;
    }
}
.board-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    column-gap: 4rem;
}
.board-left {
    max-width: 600px;
    margin-bottom: 2rem;
    margin-right: 4rem;
    padding-right: 0;
}
.stars{
    width: 10vw
}
.board-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;
    position: relative; 
    padding-bottom: 7rem; 
}
.stars2{
    position: absolute;
    right: -20rem;
    bottom: 0;
    width: 140px;
    height: auto;
}


/* learn page */
.learn-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-top: 4rem;
    height: calc(100vh - 4rem);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .learn-section {
        margin-top: 0;
        height: 100vh;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        position: relative;
    }
    .learn-section > * {
        transform: translateY(10vh);
    }
}
.learn-content{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

@media (max-width: 1200px) {
    .learn-content {
        flex-direction: column;
        gap: 3rem;
    }
    .learn-left {
        flex: none;
        width: 100%;
        max-width: 600px;
        order: 2;
    }
    .learn-right {
        flex: none !important;
        width: 100% !important;
        text-align: center !important;
        order: 1;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding-left: 0 !important;
        margin-top: 0 !important;
    }
}
.learn-left{ flex: 2; display: flex; justify-content: flex-start; padding-left: 0; overflow: visible; }
.learn-right{
     flex: 1; 
     display: flex; 
     justify-content: flex-start; 
     flex-direction: column;
     align-items: flex-start;
     padding-left: 5vw;
     margin-top: 8rem;
}

@media (max-width: 768px) {
    .learn-content {
        flex-direction: column;
    }
    
    .learn-left {
        flex: none !important;
        justify-content: center !important;
        padding-left: 0 !important;
        order: 2;
    }
    .learn-right {
        flex: none !important;
        justify-content: center !important;
        align-items: center !important;
        padding-left: 0 !important;
        margin-top: 0 !important;
        order: 1;
    }
    .learn-right h1 {
        margin-top: 0 !important;
    }
    .learn-images {
        margin-top: 2rem !important;
        justify-content: center !important;
        align-items: center !important;
    }
}
.learn-right h1{ 
    margin: 0; 
    color: #FFFFFF; 
    font-family: "Aguafina Script", cursive; 
    font-size: 7rem; 
    font-weight: 100; 
    padding: 0; 
    height: 80px;
}

@media (max-width: 1200px) {
    .learn-right h1 {
        font-size: 5rem;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .learn-right h1 {
        font-size: 4rem;
        height: 50px;
    }
}
.learn-stars{ width: 10vw; margin-top: 0rem;}
.learn-iframe{
    width: 200%;
    max-width: 1400px;
    height: 250px;
    border-radius: 16px;
    margin-left: -8rem;
    position: relative;
    z-index: 5;
}

@media (max-width: 1200px) {
    .learn-iframe {
        width: 100%;
        max-width: 600px;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .learn-iframe {
        height: 200px;
        max-width: 100%;
    }
}

/* learn page images */
.learn-images{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    z-index: 10;
    margin-top: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 1200px) {
    .learn-images {
        margin-top: 2rem;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .learn-images {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}
.learn-image{
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

@media (max-width: 1200px) {
    .learn-image {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .learn-image {
        width: 250px;
        height: 250px;
    }
}
.learn-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}
.board-card {
    background: linear-gradient(180deg, #6752C2, #765890);
    border-radius: 9999px;
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 15px rgba(255, 255, 255, 0.3);
    text-align: center;
    color: var(--text-color);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    width: 40vw;
    position: relative;
    z-index: 10;
}

.board-card h3, .board-card p {
    margin: 0;
}
.board-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.sideclouds{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    height: 100vh;
    max-height: 100vh;
    z-index: 0;
}
.sideclouds img{
    height: 100%;
    width: auto;
    display: block;
}
.smallclouds{
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;
}
.smallclouds img{
    width: auto;
    height: auto;
    display: block;
}
.left-ornaments{
    position: absolute;
    left: 0;
    top: 20vh;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: -1;
}
.left-ornaments img{
    display: block;
}
.left-moon{ width: 200px; height: auto; margin-top: 1.5rem; }
.left-planet{ width: 300px; height: auto; margin-left: 2rem; }

.learn-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.learn-card {
    background: linear-gradient(90deg, #252C84, #5D377B);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 250px;
}

/* activities page */
.activities-section{
    display: flex;
    align-items: center;
    padding: 2rem;
    margin-top: 4rem;
    height: calc(100vh - 4rem);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .activities-section {
        margin-top: 0;
        height: auto;
        padding: 2rem 1rem;
    }
}
.activities-content{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: clamp(1000px, 95vw, 1400px);
    margin: 0 auto;
    gap: clamp(3rem, 6vw, 6rem);
    padding: 0 clamp(1rem, 3vw, 3rem);
}

@media (max-width: 1200px) {
    .activities-content {
        flex-direction: column;
        gap: clamp(2rem, 4vw, 4rem);
        max-width: 90vw;
    }
    .activities-left {
        flex: none;
        width: 100%;
        text-align: center;
        order: 1;
    }
    .activities-grid {
        flex: none;
        width: 100%;
        max-width: clamp(500px, 70vw, 800px);
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        order: 2;
    }
}

@media (max-width: 900px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        max-width: clamp(400px, 60vw, 600px);
    }
}

@media (max-width: 600px) {
    .activities-content {
        gap: clamp(1.5rem, 3vw, 2.5rem);
        padding: 0 1rem;
    }
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: clamp(1rem, 2vw, 1.5rem);
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .activities-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        gap: clamp(0.8rem, 1.5vw, 1.2rem);
    }
}
.activities-left{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    z-index: 10;
}
.activities-left h1{
    margin: 0;
    color: #FFFFFF;
    font-family: "Aguafina Script", cursive;
    font-size: clamp(4rem, 8vw, 9rem);
    font-weight: 100;
    line-height: 0.9;
}

@media (max-width: 1200px) {
    .activities-left h1 {
        font-size: clamp(3.5rem, 7vw, 6rem);
    }
}

@media (max-width: 768px) {
    .activities-left h1 {
        font-size: clamp(3rem, 6vw, 4.5rem);
    }
}
.activities-grid{
    flex: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    max-width: clamp(600px, 80vw, 1000px);
    width: 100%;
    position: relative;
    z-index: 10;
}
.activity-item{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.slideshow-container{
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slideshow-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}
.slideshow-arrow:hover{
    background: rgba(0, 0, 0, 0.8);
}
.slideshow-prev{
    left: 10px;
}
.slideshow-next{
    right: 10px;
}
.activity-image{
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .activity-image {
        aspect-ratio: 1;
    }
}
.activity-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(255,255,255,0.3);
}
.activity-caption{
    margin: clamp(0.5rem, 1vw, 1rem) 0 0 0;
    color: #FFFFFF;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(0.8rem, 1.2vw, 1.1rem);
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    font-weight: 500;
}

@media (max-width: 768px) {
    .activity-caption {
        font-size: clamp(0.7rem, 1vw, 0.9rem);
        margin: clamp(0.3rem, 0.8vw, 0.8rem) 0 0 0;
    }
}
