:root {
    --clr-header-start: #FFD700;
    --clr-header-middle: #FF6347; 
    --clr-header-end: #40E0D0; 
    --clr-primary-red: #FF0000;
    --clr-primary-orange: #FFA500;
    --clr-primary-yellow: #FFFF00;
    --clr-primary-green: #008000;
    --clr-primary-purple: #800080;
    
    
    --clr-light-bg: #fdf5e6; 
    --clr-text-dark: #333;
    --clr-kid-zone-bg: #f40e72;
    --clr-menu-bg: #230948;
    --clr-games-bg: #ece2ff;
    --clr-party-bg: #ffe6e6;
    --clr-footer-bg: rgb(79, 79, 79);
    --clr-footer-text: #cccccc;
    --clr-link-hover: white;
    --clr-button-border: #ffffff;
    --clr-contact-hover-text: #40E0D0; 
    
    --font-primary: 'Fredoka One', cursive;
    --font-secondary: Arial, sans-serif;

    --clr-logo-f: #FF0000;
    --clr-logo-u: #FFA500;
    --clr-logo-n: #ffff01;
    --clr-logo-2s: #0a9c2c;
    --clr-logo-h: #800080;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
}

html, body {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth; 
    background: var(--clr-light-bg);
    color: var(--clr-text-dark);
}

header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--clr-menu-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: top 0.3s;
}

header.scrolled {
    top: -80px;
}

header .left {
    display: flex;
    align-items: center;
    gap: 15px;
}

header .logo img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.funtext {
    display: flex;
    flex-direction: column;
}

.logo-container {
    font-size: 30px;
    font-weight: bold;
    display: flex;
    align-items: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

.f { color: var(--clr-logo-f); }
.u { color: var(--clr-logo-u);}
.n { color: var(--clr-logo-n); }
.two, .s { color: var(--clr-logo-2s);  }
.h { color: var(--clr-logo-h);  }

#kid {
    font-size: 16px;
    font-family: var(--font-secondary);
    color: white;
    background-color: var(--clr-kid-zone-bg);
    text-transform: capitalize;
    padding: 4px 12px;
    border-radius: 3px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    align-self: flex-start;
}

nav.right {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav.right a {
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    position: relative;
    transition: transform 0.3s ease, color 0.3s ease;
}

nav.right a:hover {
    transform: translateY(-3px);
}
.contact-btn {
    border: 2px solid var(--clr-button-border);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    background: transparent;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: white;
    transform: scale(1.05);
}

.contact-btn a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.contact-btn:hover a {
    color: var(--clr-menu-bg);
}

#home {
    min-height: 77vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url('./assest/home_back_opacity_0.5.png');
    background-color: #0000008c;
    background-size: cover;
    background-position: center;
    position: relative;
    border: none;
    overflow: hidden;
    margin-top: 50px;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.home-content {
    padding: 20px 0px;
    border-radius: 20px;
    z-index: 2;
    opacity: 0; 
    transform: translateY(20px);
    animation: slideUp 1s forwards 0.5s;
}

.home-content h1 {
    font-size: 4.5rem;
    text-shadow: 2px 4px 9px rgb(255, 255, 255);
    color: var(--clr-menu-bg);
    text-transform: capitalize;
    max-width: 1200px;
}

.home-content h2 {
    font-size: 2.5rem;
    margin-top: 0;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.6);
    color: white;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-toggle {
    display: none;
    font-size: 2.0rem;
    color: white;
    cursor: pointer;
}


.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.feature-card, .activity-item, .phone-frame-container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature-card.revealed, .activity-item.revealed, .phone-frame-container.revealed {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(1).revealed { transition-delay: 0.1s; }
.feature-card:nth-child(2).revealed { transition-delay: 0.2s; }
.feature-card:nth-child(3).revealed { transition-delay: 0.3s; }

.activity-item:nth-child(4n+1).revealed { transition-delay: 0.1s; }
.activity-item:nth-child(4n+2).revealed { transition-delay: 0.2s; }
.activity-item:nth-child(4n+3).revealed { transition-delay: 0.3s; }
.activity-item:nth-child(4n+4).revealed { transition-delay: 0.4s; }

.phone-frame-container:nth-child(1).revealed { transition-delay: 0.1s; }
.phone-frame-container:nth-child(2).revealed { transition-delay: 0.2s; }
.phone-frame-container:nth-child(3).revealed { transition-delay: 0.3s; }


#features {
    padding: 40px 30px;
    text-align: center;
    padding-top: 120px;
}
#features h2{
     font-size: 3rem;
     color: #2c3e50;
     margin-bottom: 50px;
     text-transform: uppercase;
     text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
     text-decoration: underline;
}

.card-image img{
    height: 45vh;
    width: auto;
}
.feature-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-top: 20px;
    padding: 10px 60px;
}
   

.feature-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s ease, box-shadow 0.3s ease;
}

.feature-card h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
}


.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.feature-card img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

#games-activities {
    background: var(--clr-games-bg);
    padding: 100px 20px;
    text-align: center;
}
#games-activities h2 {
    font-family: var(--font-primary); 
    font-size: 3rem;
    color:var(--clr-menu-bg); 
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: underline;


}

.activities-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
    padding: 10px 40px;
}
.activity-item {
    background: rgb(255, 255, 255);
    padding: 10px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.activity-item img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 15px;
}

.activity-item:hover {
    transform: scale(1.05);
}

#ultimate {
    width: 100%;
    padding: 50px 50px;
    background-color: var(--clr-party-bg); 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
            
}

#ultimate h1 {
    font-size: 3.5rem;
    color:#ff8400; 
    text-transform: uppercase;
    margin-bottom: 25px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

#ultimate p {
    font-size: 1.5rem;
    line-height: 1.8;
    max-width: 900px; 
    color: #6a1b9a; 
    font-family: var(--font-secondary); 
    margin-bottom: 30px;
    font-weight: bold;
    text-transform: capitalize;
}   
#collaborations {
    padding: 50px 5%;
    text-align: center;
    border-radius: 20px;
    margin: 80px 10%;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.916);
    position: relative;
    overflow: hidden;
    border: 6px dashed #564F2A;
}
#collaborations h2 {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    color: var(--clr-text-dark); 
    margin-bottom: 20px;
    text-transform: capitalize;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: color 0.3s ease;
}
#collaborations p {
    font-family: 'Inter', sans-serif;
    font-size: 1.7rem;
    line-height: 1.7;
    max-width: 850px;
    margin: 0 auto 30px;
    text-transform: capitalize;
    color: #555;
    letter-spacing: 0.5px;
}
#phones {
    font-family: var(--font-secondary);
    display: flex; 
    justify-content: center; 
    align-items: center;
    flex-direction: column;
    padding: 10px 20px;
    background-color: #0f2b8eac;
    background-image: url(./assest/phonebackopacity0.3.png);
    background-position: center;
    background-size: cover;
}
.sneak{
    font-size: 3rem;
    text-transform: capitalize;
    color: #055de2;
    text-shadow: 3px 2px 1px black;
}
.phone3{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    margin: 0;
    gap: 50px; 
    flex-wrap: wrap; 
}

.phone-frame-container {
    position: relative;
    width: 300px; 
    height: 550px; 
    border: 4px solid #055de2; 
    border-radius: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 10px; 
    background-color: white; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}

.phone-screen {
    width: 100%; 
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eee; 
    font-size: 14px;
    color: #666;
}

.phone-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; 
}

.phone-frame-container::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px; 
    height: 8px; 
    background-color: #055de2; 
    border-radius: 5px;
    z-index: 10;
}      

.about-section-styled {
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(145deg, #fde5c1 0%, #ffebdb 100%);
}
.section-title{
    font-size: 35px;
    font-style: italic;
}

.about-text-box {
    position: relative;
    padding: 30px 60px;
    margin: 0 auto;
    background-color: white; 
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin-top: 30px;
}


.about-text-box p {
    font-size: 20px;
    line-height: 1.6;
    color: #000000;
    font-style: italic; 
}

.about-text-box strong {
    color: var(--color-secondary); 
    font-style: normal;
}

.emoji-left, .emoji-right {
    position: absolute;
    font-size: 40px;
    z-index: 2;
}

.emoji-left { top: -20px; left: 20px; transform: rotate(-15deg); }
.emoji-right { bottom: -20px; right: 20px; transform: rotate(15deg); }

    

#head {
    text-align: center;
    padding: 30px 10px;
    background-color: var(--clr-menu-bg);
    color: white;
    font-size: 3rem;
    margin-top: 60px;
    padding: 30px 20px;
}

.header-container img{
    width: 15%;
    height: 15%;
    border-radius: 50%;
    margin-top: 20px;
}    
footer {
    background-color: var(--clr-footer-bg);
    color: white;
    padding: 40px 20px;
}
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}
.stay-connected, .reach-out {
    flex: 1;
}
footer h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    position: relative;
    font-family: var(--font-secondary);
}

footer ul {
    list-style: none;
    padding: 0;
}
footer li {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--clr-footer-text);
    display: flex;
    align-items: center;
    gap: 15px;
}
#ins {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}
#ins:hover {
    transform: scale(1.1);
}
footer a {
    color: var(--clr-footer-text);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}
footer a:hover {
    color: var(--clr-link-hover);
    transform: translateX(5px);
}
.whatapp{
    width: 70px;
    height: 70px;
    position: fixed;
    bottom: 80px;
    right: 0px;
    animation-name: whatapp;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
.whatapp img{
    width: 65%;
    height: 65%;
}
@keyframes whatapp{
    0%{
    transform: scale(1);
    }
    50%{
    transform: scale(1.1);
    }
}
.phone{
    width: 70px;
    height: 70px;
    position: fixed;
    bottom: 20px;
    right: 5px;
    animation-name: phone;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
.phone img{
    width: 75%;
    height: 75%;
}
@keyframes phone{
    25%{
    transform: scale(1);
    }
    75%{
    transform: scale(1.1);
    }
}


@media (max-width: 1024px) {

    header {
        padding: 10px 30px;
    }

    .logo-container {
        font-size: 28px;
    }

    #kid {
        font-size: 14px;
        padding: 4px 10px;
    }

    nav.right {
        gap: 20px;
    }

    nav.right a {
        font-size: 1rem;
    }

    .contact-btn {
        padding: 8px 16px;
    }
    
    
    .home-content h1 {
        font-size: 3rem; 
    }

    #features {
        padding-top: 100px;
    }

    #features h2 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
    
    .feature-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
        padding: 10px 30px;
        gap: 30px;
    }

    .card-image img{
        height: auto; 
        max-height: 35vh;
        width: 100%;
    }

    #games-activities h2 {
        font-size: 2.5rem;
    }
    
    .activities-container {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
        padding: 10px 20px;
        gap: 15px;
    }

    .activity-item img {
        max-height: 200px; 
    }

    #ultimate h1 {
        font-size: 2.5rem;
    }

    #ultimate p {
        font-size: 1.2rem;
        max-width: 700px;
    }

    #collaborations {
        margin: 50px 5%;
    }
    #collaborations h2 {
        font-size: 2.5rem;
    }
    #collaborations p {
        font-size: 1.3rem;
    }

    .sneak {
        font-size: 2.5rem;
    }
    
    .phone3 {
        gap: 30px;
        flex-wrap: wrap; 
        min-height: auto;
        padding: 40px 20px;
    }

    .phone-frame-container {
        width: 250px;
        height: 450px;
    }

    .section-title {
        font-size: 30px;
    }

    .about-text-box {
        max-width: 650px;
        padding: 25px 50px;
    }

    .about-text-box p {
        font-size: 18px;
    }
    
    .emoji-left, .emoji-right {
        font-size: 30px;
    }

    #head {
        font-size: 2.5rem;
    }

    .header-container img {
        width: 100px; 
        height: 100px;
    }

    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    
    footer h3 {
        font-size: 1.4rem;
    }

    .whatapp, .phone {
        width: 80px;
        height: 80px;
    }
    
}


@media (max-width: 480px) {
header {
    padding: 10px 20px;
    }
header .left{
    gap: 5px;
    }
#f2sh{
    width: 50px;
    height: 50px;
}
.menu-toggle {
    display: block;
    font-size: 22px;
}
#home{
    min-height: 35vh;
    margin-top: 72px;
    background-color: rgb(75, 75, 75);
}
.home-content {
    padding: 20px 10px;
    border-radius: 20px;
    z-index: 2;
    opacity: 0; 
    transform: translateY(20px);
    animation: slideUp 1s forwards 0.5s;
}
.home-content h1{
    font-size: 2rem;
}
nav.right {
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 72px; 
    left: 0;
    width: 100%;
    background-color: var(--clr-menu-bg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    transition: transform 0.6s ease-in-out;
    transform: translateX(100%);
    gap: 20px;
}
nav.right.active {
    display: flex;
    transform: translateX(0);
}

nav.right a, .contact-btn {
    width: 80%;
    text-align: center;
}
.logo-container {
    font-size: 25px;
}
#kid {
    font-size: 13px;
    padding: 3px 8px;
}

.hero-content h1 {
    font-size: 1.7rem;
}
#ultimate{
    padding: 20px 17px;
}
#ultimate h1{
    font-size: 1.5rem;
}
#ultimate p{
    font-size: 0.9rem;
    
}
#collaborations{
    padding: 10px 10px;
    border: 4px dashed #564F2A;
    margin: 30px;
}   
#collaborations h2 {
    font-size: 1.3rem;
}
#collaborations p {
    font-size: 0.9rem;
}
    
#about{
    padding: 10px 17px;
}
#about h1{
    font-size: 2rem;
}
#about p {
    font-size: 0.9rem;
}
#funlogo{
    width: 20%;
    height: auto;
}
.subtitle{
    font-size: 25px;
}
.stay-connected h3, .reach-out h3{
    font-size: 20px;
}
.stay-connected, .reach-out{
    padding: 0px 20px;
    gap: 0px;
}
.footer-container{
    gap: 0px;
}
footer{
    padding: 10px 20px;
}
#head{
    padding: 20px 20px;
}
.logo-container2{
    font-size: 2.5rem;
}
#features{
    padding: 30px 10px;
}
#features h2{
    font-size: 2rem;
}
.feature-container{
    padding: 0px 10px;
}
.feature-card h3{
    font-size: 1.5rem;
}
.feature-card{
    padding: 5px 10px;
}
#games-activities{
    padding: 30px 20px;
}
.card-image img{
    height: 33vh;
    width: 36vh;
}
#games-activities h2{
    font-size: 2rem;
}
.activities-container{
    padding: 10px 17px;
}
.activity-item img{
    height: 29vh;
}

#phones{
    padding: 50px 20px;
}
.phone-frame-container{
    height: 70%;
}
.sneak{
    margin-bottom: 10px;
    font-size: 1.7rem;
}
.section-title{
    font-size: 1.5rem;
}
.emoji-left{
    font-size: 25px;
}
.emoji-right{
    font-size: 35px;
}
.about-text-box {
    padding: 15px 20px;
}
.about-text-box p{
    font-size: 1rem;
}
 .whatapp, .phone {
        width: 60px;
        height: 60px;
    }
}