/* ==========================
   GOOGLE FONT & RESET
========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}html{
    scroll-behavior:smooth;
}

/* Prevent the navbar from covering the target */
#join-btn{
    scroll-margin-top:120px;
}
body{
    margin:0;
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;

    background: linear-gradient(-45deg,
        #ffffff,
        #f8fbff,
        #eef6ff,
        #ffffff);

    background-size:400% 400%;

    animation:bgAnimation 12s ease infinite;
}.hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:50px;
    padding:180px 8%;
    min-height:100vh;
}
@keyframes bgAnimation{

    0%{
        background-position:0% 50%;
    }

    50%{
        background-position:100% 50%;
    }

    100%{
        background-position:0% 50%;
    }

}
/* ==========================
PARTICLE BACKGROUND
========================== */

#particles-js {

    position: fixed;

    width: 100%;

    height: 100%;

    z-index: -5;

    top: 0;

    left: 0;

}

/* ==========================
ANIMATED BLOBS
========================== */

.blob{
    z-index:9999;
}

/* ==========================
NAVBAR
========================== */

header{
    width:100%;
    padding:20px 6%;
    background:#fff;
    z-index:1000;
}

nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
}

.logo{
    display:flex;
    align-items:center;
    gap:16px;
}

.logo img{
    width:80px;
    height:80px;
    object-fit:contain;
}

.logo-divider{
    width:5px;
    height:70px;
    background:#16b5ff;
    border-radius:20px;
}

.logo-text{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.brand{
    font-size:48px;
    font-weight:800;
    line-height:1;
    color:#16265f;
    margin-right: 30px;
}

.blue{
    color:#16b5ff;
}

.nav-tagline{
    position:relative;
    margin-top:6px;
    font-size:11px;
    font-weight:700;
    letter-spacing:2.5px;
    color:#16265f;
    text-transform:uppercase;
    width:max-content;
}

.nav-tagline::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:100%;
    height:2px;
    background:#16265f;
}
/* Left Line */



@keyframes leftLine{

0%{
width:10px;
opacity:.3;
}

50%{
width:45px;
opacity:1;
}

100%{
width:10px;
opacity:.3;
}

}

@keyframes rightLine{

0%{
width:10px;
opacity:.3;
}

50%{
width:45px;
opacity:1;
}

100%{
width:10px;
opacity:.3;
}

}
@media(max-width:768px){

.logo img{
    width:50px;
    height:50px;
}

.brand{
    font-size:30px;
}

.tagline{

    font-size:8px;

    letter-spacing:2px;

}
}


/* ==========================
BUTTONS
========================== */

.btn,

.primary,

.secondary {

    padding: 14px 28px;

    border-radius: 40px;

    text-decoration: none;

    display: inline-block;

    transition: .4s;

    font-weight: 600;

}

.btn,

.primary {

    background: linear-gradient(45deg, #00d4ff, #8b5cf6);

    color: white;

}

.secondary {

    border: 2px solid white;

    color: white;

    margin-left: 15px;

}

/* ==========================
HERO
========================== */


.hero-right{
    text-align: center;
    padding: 40px;
    max-width: 900px;
    margin: auto;
}

/* TEXT */
/* ===========================
   TAGLINE
=========================== */

.tagline{
    position: relative;
    display: inline-block;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.2;
    color: #111;
    text-align: center;
    margin: 0 auto 20px;
}

/* Animated Underline */
.tagline::after{
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00bcd4, #ff3d00, transparent);
    background-size: 200% auto;
    animation: underlineMove 2s linear infinite;
    border-radius: 10px;
}

@keyframes underlineMove {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* IMAGE ONLY - NO ANIMATION + FULL WIDTH */
/* IMAGE ONLY - RESPONSIVE */
.hero-image{
    width: 80%;
    max-width: 500px;
    height: 500px;
    margin-top: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;

    animation: none;

    border-radius: 12px;
}

.hero-left {

    width: 55%;

}

.hero-left h1 {

    font-size: 55px;

    line-height: 1.2;

    margin-bottom: 25px;
    
    align-items: center;

}

.hero-left span {

    color: #ff1500;

}

.hero-left p {

    font-size: 20px;

    line-height: 1.8;

    opacity: .85;

    margin-bottom: 40px;

}

/* ==========================
GLASS CARD
========================== */

.glass-card {

    width: 340px;

    padding: 40px;

    border-radius: 25px;

    background: rgba(255, 255, 255, .08);

    backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, .2);

    text-align: center;

    transition: .5s;

    animation: floatCard 5s ease-in-out infinite;

}

.glass-card:hover {

    transform: rotateY(15deg) rotateX(10deg);

    box-shadow: 0 25px 50px rgba(0, 212, 255, .35);

}

.glass-card i {

    font-size: 70px;

    color: #00d4ff;

    margin-bottom: 20px;

}

.glass-card h2 {

    margin-bottom: 15px;

}

@keyframes floatCard {

    0% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-20px);

    }

    100% {

        transform: translateY(0);

    }
}

/* ==========================
ABOUT SECTION
========================== */

#about {
    padding: 100px 8%;
    text-align: center;
}

#about h2 {
    font-size: 42px;
    margin-bottom: 60px;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    width: 300px;
    padding: 35px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, .15);
    transition: .4s;
}

.card:hover {
    transform: translateY(-15px) rotateY(8deg);
    box-shadow: 0 20px 45px rgba(0, 212, 255, .3);
}

.card i {
    font-size: 55px;
    color: #00d4ff;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
}

/* ==========================
CONTACT
========================== */

#contact {
    padding: 120px 8%;
    text-align: center;
}

#contact p {
    margin-bottom: 35px;
    opacity: .8;
}

/* ==========================
FOOTER
========================== */

footer {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, .05);
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #ccc;
}

/* ==========================
SCROLLBAR
========================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 20px;
}

::-webkit-scrollbar-track {
    background: #111827;
}
/* ===========================
RESOURCE CARD
=========================== */

.resource-card{
    display:flex;
    align-items:center;
    gap:20px;

    background:#f8fbff;
    border:1px solid #e5edf9;
    border-radius:18px;

    padding:28px;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

    transition:.35s;
}

.resource-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(37,99,235,.15);
}

.gift{
    width:70px;
    height:70px;

    border-radius:16px;

    background:#edf4ff;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:34px;
    color:#2563eb;

    flex-shrink:0;
}

.resource-text h2{
    font-size:24px;
    font-weight:700;
    margin-bottom:10px;
    color:#1d2b53;
}

.resource-text p{
    color:#667085;
    line-height:1.7;
    font-size:15px;
}

/* ===========================
HOVER ANIMATIONS
=========================== */

.feature-card,
.step,
.circle,
.resource-card{
    transition:all .35s ease;
}

.step:hover .circle{
    transform:translateY(-8px) scale(1.08);
}

.step:hover h3{
    color:#2563eb;
}

.step:hover p{
    color:#374151;
}

.circle{
    animation:floatIcon 4s ease-in-out infinite;
}

.circle.green{
    animation-delay:.4s;
}

.circle.orange{
    animation-delay:.8s;
}

.circle.purple{
    animation-delay:1.2s;
}

@keyframes floatIcon{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

    100%{
        transform:translateY(0);
    }

}

/* ===========================
FADE ANIMATION
=========================== */

.feature-card{
    animation:fadeUp .8s ease both;
}

.feature-card:nth-child(2){
    animation-delay:.1s;
}

.feature-card:nth-child(3){
    animation-delay:.2s;
}

.feature-card:nth-child(4){
    animation-delay:.3s;
}

.feature-card:nth-child(5){
    animation-delay:.4s;
}

.feature-card:nth-child(6){
    animation-delay:.5s;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* ===========================
RESPONSIVE
=========================== */

@media(max-width:1100px){

.container{

    grid-template-columns:1fr;

}

.right{

    margin-top:70px;

}

.timeline{

    flex-wrap:wrap;
    gap:40px;
    justify-content:center;

}

.line{

    display:none;

}

.step{

    width:45%;

}

}

@media(max-width:768px){

.why-section{

    padding:60px 20px;

}

.left h1,
.right h1{

    font-size:32px;

}

.feature-grid{

    grid-template-columns:1fr;

}

.step{

    width:100%;

}

.resource-card{

    flex-direction:column;
    text-align:center;

}

.resource-text h2{

    font-size:20px;

}

}

@media(max-width:500px){

.small-title{

    font-size:12px;

}

.left h1,
.right h1{

    font-size:28px;

}

.desc{

    font-size:15px;

}

.feature-card{

    padding:24px;

}

.circle{

    width:70px;
    height:70px;
    font-size:24px;

}

}
/* ==========================
   HERO MOBILE RESPONSIVE
========================== */

@media (max-width: 768px) {

    .hero{
        flex-direction: column;
        padding: 120px 20px 50px;
        text-align: center;
        min-height: auto;
    }

    .hero-left,
    .hero-right{
        width: 100%;
        max-width: 100%;
    }

    .hero-left h1{
        font-size: 36px;
        line-height: 1.3;
    }

    .hero-left p{
        font-size: 16px;
    }

    .hero-image{
        width: 75%;
        max-width: 75%;
        height: auto;
        margin-top: 20px;
    }

    .tagline{
        font-size: 24px;
    }

    .btn,
    .primary,
    .secondary{
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    header{
        padding: 15px 20px;
    }

    .logo{
        font-size: 26px;
    }
}
