*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    text-decoration: none;
    border:none;
    outline:none;
    scroll-behavior: smooth;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
:root{
    --bg-color:#fff;
    --snd-bg-color:#d5fdf9;
    --text-color:#000;
    --main-color:#925ee6;
}
html{
    font-size:62.5%;
    overflow-x: hidden;
}

body{
    background:var(--bg-color);
    color:var(--text-color);
}

section{
    min-height: 100vh;
    padding:10rem 9% 2rem;

}

.header{
    position:fixed;
    width:100%;
    top:0;
    right:0;
    z-index:  1000;
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 5%;
    background:var(--main-color);
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;


}

.logo{
    font-size:3rem;
    color:var(--bg-color);
    font-weight: 700;
    cursor:pointer;
    transition:0.3s ease;
}

.logo:hover{
    transform:scale(1.05);

}

.navbar a{
    font-size :1.9rem;
    color:var(--bg-color);
    margin-left: 4rem;
    font-weight:700 ;
    transition: 0.3s ease;

}

.navbar a:hover,
.navabar a.active{
    color:var(--text-color);

}
.icon{
    font-size:3.6rem ;
    color:var(--bg-color);
    cursor: pointer;
    display: none;
}

.home{
    display:flex;
    justify-content: center;
    align-items: center;
}
.home-img img{
    width:25vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    animation:floatImage 4s ease-in-out infinite;
    transition: 0.4s ease;

}
.home-img img:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 35px var(--main-color),
                0 0  45px var(--main-color);

}
@keyframes floatImage{
    0%{
        transform: translateY(0);
    }
    50%{
        transform:translateY(-2.4rem);
    }
    100%{
        transform:translateY(0);
    }
}

.home-content{
    margin-left:5rem;
}

.home-content h3{
    font-size: 3.7rem;
    font-weight: 700;

}

.home-content h3:nth-of-type(2){
    margin-bottom: 2rem;
}
span{
    color:var(--main-color) ;
}
.home-content h1{
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}
.home-content p{
    font-size:1.6rem;
}

.social-media a{
    display:inline-flex;
    justify-content: center;
    align-items:center ;
    width: 42px;
    height: 42px;
    background:transparent;
    border:0.2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color:var(--main-color);
    margin:3rem 1.5rem 3rem 0;
    transition: 0.3s ease;

}

.social-media a:hover{
    transform:scale(1.2) translateY(-10px);
    background-color: var(--main-color);
    color:var(--bg-color);
    box-shadow: 0 0 25px var(--main-color);
}
.btn{
    display: inline-block;
     padding: 1rem 2.8rem; 
    background:var(--main-color) ;
    border-radius: 5rem;
    box-shadow: none;
    font-size:1.6rem;
    color:var(--bg-color);
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease;

}

.btn:hover{
    box-shadow: 0 0 1.6rem var(--main-color);
} 

.about{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    background: var(--snd-bg-color);
}

/* image container */
.about-img img{
      width: 25vw;
    height: 25vw;           
    object-fit: cover;    
    border: 2px solid var(--main-color);
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    transition: 0.4s ease;
    cursor: pointer;
    align-items: left;
}

/* hover effect */
.about-img img:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 35px var(--main-color),
                0 0 45px var(--main-color);
}

.heading{
    font-size: 6rem;
    text-align: center;
}

.about{
    min-height: 100vh;
    background: var(--snd-bg-color);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10rem 9%;
}

.about-content{
    max-width: 600px;
}

.about-content h2{
    font-size: 5rem;
    margin-bottom: 1rem;
}

.about-content h3{
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-content p{
    font-size: 1.6rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: #333;
}

.about-content .btn{
    padding: 1.2rem 3rem;
}

.services h2{
    text-align: center;
    margin-bottom:5rem;

}

.service-container{
    display:flex;
    justify-content:center;
    align-items: stretch;
    flex-wrap:wrap;
    gap:2rem;
}
.service-container .services-box{
    flex: 1 1 30rem;
    background: var(--snd-bg-color);
    padding:3rem 2rem;
    border-radius: 2rem;
    text-align:center;
    border:0.3rem solid var(--bg-color);
    transition: 0.3s ease;
    
    display: flex;              /* 🔥 */
    flex-direction: column;     /* 🔥 */
    justify-content: space-between; /* 🔥 */

    min-height: 320px;     

}

.service-container .services-box:hover{
    border-color: var(--main-color);
    transform: scale(1.02);
}
.services-box i{
    font-size:7rem;
    color:var(--main-color);

}
.services-box p{
    font-size:1.6rem;
    margin:1rem 0 3rem;

}
.services-box .btn{
    margin-top: auto;
}

.education{
    background: var(--bg-color);
}

.edu-container{
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 3rem;
    flex-wrap: wrap;
}

.edu-box{
    flex: 1 1 40rem;
    background: var(--snd-bg-color);
    padding: 3rem 3.5rem;
    border-radius: 2rem;
    border: 0.3rem solid var(--bg-color);
    transition: 0.3s ease;
}

.edu-box:hover{
    border-color: var(--main-color);
    box-shadow: 0 0 20px var(--main-color);
}

.edu-box h3{
    font-size: 2.6rem;
    margin-bottom: 2rem;
    color: var(--main-color);
}

.edu-box ul{
    list-style: none;
}

.edu-box ul li{
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.edu-box span{
    font-size: 1.4rem;
    color: #555;
}
.contact form{
    max-width: 80rem;
    margin: 1rem auto 3rem;
    text-align: center;
}

.contact form .input-box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact form .input-box input{
    width: 49%;
}

.contact form textarea{
    width: 100%;
    resize: none;
}

.contact form .input-box input,
.contact form textarea{
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--bg-color);
    border-radius: 0.8rem;
    border: 0.25rem solid var(--main-color);
    margin: 0.7rem 0;
}

.contact .heading{
    text-align: center;
}

.footer{
    position: relative;
    width: 100%;
    padding: 40px 0;
    background-color: var(--snd-bg-color);
    text-align: center;
}

.footer .social{
    padding-bottom: 20px;
}

.footer .social a{
    font-size: 25px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    width: 42px;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3s ease;
}

.footer .social a:hover{
    transform: scale(1.2) translateY(-10px);
    background-color: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 25px var(--main-color);
}

.footer p{
    font-size: 1.4rem;
    color: var(--text-color);
}

.footer .copyright{
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    color: var(--text-color);
}
@media(max-width:1200px){
    html{
        font-size:55%;
    }

}
@media(max-width:768px){
    .header{
        padding:2rem 3%;
    }
    section{
        padding:10rem 3%;
    }
    .service{
        padding: 7rem;
    }
    .contact form .input-box input{
        width: 100%;
    }
    .footer{
        padding:2rem 3%;
    }
}

@media(max-width:991px){
    .icon{
        display: block;

    }
    .navbar{
        position:absolute;
        top:100%;
       right:-100%; 

        width:255px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background: var(--main-color);
        transition: all 0.5s ease;
        backdrop-filter: blur(10px);
    }
    .navbar a{
        display: block;
        padding: 17px;
        font-size: 22px;
    }
    .navbar.active{
        right: 0;

    }
    .home{
        flex-direction: column;
    }
    .home-content h1{
        font-size: 5rem;
    }
    .home-content{
        order: 2;
        margin-left: 1rem;
    }
    .home-img img{
        width: 70vw;
        margin-top: 4rem;
    }
    .about{
        flex-direction: column-reverse;

    }
      .about-img img{
        width: 220px;
        height: 220px;
        margin-bottom: 2rem;
    }
    .service h2{
        margin-bottom: 3rem;
    }
}
@media(max-width:617px){
    .home-img img{
        margin-top: 8rem;
    }
   .about-img img{
        width: 220px;
        height: 220px;
        margin-bottom: 2rem;
    }
}
@media(max-width:617px){
    html{
        font-size: 50%;
    }
}
.more-text{
    display: none;
}

.multiple-text{
    color: #8b5cf6;   /* purple like your screenshot */
    font-weight: 700;
}
/* ================= POPUP OVERLAY ================= */
.overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

/* ================= POPUP BOX ================= */
.popup{
    background: #ffffff;
    width: 90%;
    max-width: 520px;
    border-radius: 18px;
    padding: 22px 24px 28px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    border: 2px solid #e8dcff;
    animation: popupFade 0.5s ease;
}

/* ================= CLOSE BUTTON ================= */
.close-btn{
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #333;
}

/* ================= TITLE ================= */
.popup h2{
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* ================= DESCRIPTION ================= */
.popup p{
    font-size: 1.4rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 1.2rem;
}

/* ================= IMAGE ================= */
.popup-img{
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 14px;
    margin: 1.4rem 0 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ================= SPIRITUAL NOTE ================= */
.spiritual-note{
    font-size: 1.35rem;
    font-style: italic;
    color: #555;
    margin-bottom: 1.6rem;
}

/* ================= PLAY BUTTON ================= */
#playMusic{
    background: #8e63e6;
    color: #ffffff;
    padding: 1.2rem 2.8rem;
    border-radius: 30px;
    font-size: 1.6rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

#playMusic:hover{
    background: #7a4fd8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(142,99,230,0.45);
}

/* ================= ANIMATION ================= */
@keyframes popupFade{
    from{
        opacity: 0;
        transform: scale(0.9);
    }
    to{
        opacity: 1;
        transform: scale(1);
    }
}
/* ================= FLOWER ANIMATION ================= */
.flower-container{
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 18px;
}

.flower{
    position: absolute;
    top: -40px;
    font-size: 24px;
    animation: fall linear forwards;
    opacity: 0.9;
}

@keyframes fall{
    0%{
        transform: translateY(-40px) rotate(0deg);
        opacity: 1;
    }
    100%{
        transform: translateY(120%) rotate(360deg);
        opacity: 0;
    }
}
