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


:root {
  --bg: #131c34;
  --card: #1e293b;
  --primary: #6366f1;
  --accent: #22c55e;
  --text: white;
  --radius: 1rem;
}

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
}

.container{
    max-width: 110rem;
    margin:  auto;
    padding:2rem;
}
section.container{
    margin-bottom: 10rem;
    margin-top: 10rem;
}

body{
    margin: 0;
    font-family: "Poppins", sans-serif;
    background:var(--bg) ;
    color: var(--text);
    text-align: center;
    font-size: 1.6rem;
}

.nav{
    background-color: #0f172acc;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.links a {
    margin-left: 2rem;
    text-decoration: none;
    color: white;
    font-size: 1.4rem;
}
.links a:hover{
    color: var(--accent);
}
links a.active{
    color: var(--accent);
}

.hero{
    padding: 6rem 2rem;
    background: linear-gradient(135deg,#6366f1,#22c55e);
    border-radius: 2rem;
    margin: 2rem;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.3); ;
    text-align: center;


}
.hero h1{
    font-size: 3.5rem;
    background: linear-gradient(90deg,white,#22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    margin: 1rem 0 2rem;
    font-size: 1.6rem;
}

.btn{
    font-size: 1.6rem;
    padding: 0.8em 1.5em;
    border-radius: var(--radius);
    display: inline-block;
    background: var(--accent);
    color: black;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn:hover{
    transform: translateY(-0.3rem) scale(1.05);
    box-shadow: 0 0.8rem 2rem rgba(34,197,94,0.4);
}

section{
    padding: 4rem 2rem;
}

.grid{
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(20rem,1fr));
    gap:2rem;
}
.card{
    padding: 2rem;
    background: var(--card);
    border-radius: var(--radius);
    transition: 0.3s ease;
}

.card:hover{
    transform: translateY(-0.5rem) scale(1.03);
    box-shadow: 0 1.5rem 2rem rgba(0, 0, 0, 0.3);
}

footer{
    padding:2rem;
    background: #020617;
    margin-top: 4rem;
    font-size: 1.4rem;
    opacity: 0.7;

}

#join{
    margin-top: 1em;
}
h2,h1{
    margin-bottom: 2rem;
    scroll-margin-top: 15rem;
}
h1{
    font-weight: 700;
}
h2{
    font-weight: 500;
    margin-bottom: 2rem;
}

.tips p {
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tips p:hover{
    transform: translateY(-0.3rem);
    box-shadow: 0 0.8rem 1.5rem rgba(0, 0, 0, 0.3);
}
h2#Q4, h2#Q5{
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
}


@media(max-width: 600px){
    html{
        font-size: 55%;
    }

   .nav-content {
        flex-direction: column;
        gap: 1rem;
   }
   .hero h1{
    font-size:2.5rem;
   }

   .links a {
        margin: 0 1rem;
   }
}

@keyframes fadeUp{
    from{
        opacity: 0;
        transform: translateY(2rem);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
.hero,
section,
.card{
    animation:fadefdeUp 0.8s ease both;
}
