/*GOOGLE FONT*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
    font-family:'Poppins',sans-serif;
}
body{
    background:#07111f;
    color:#f8fafc;
    overflow-x:hidden;
}

/*OFFSET TARGETED SECTIONS BELOW THE FIXED HEADER
SO THE SECTION TITLE APPEARS FIRST WHEN NAVIGATING*/
section[id]{
    scroll-margin-top:90px;
}

/*BACKGROUND*/
body {
    background: #050816;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(120, 60, 255, 0.25),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 30%,
            rgba(0, 180, 255, 0.20),
            transparent 35%
        ),
        radial-gradient(
            circle at 50% 90%,
            rgba(255, 0, 100, 0.15),
            transparent 40%
        );

    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;

    background: rgba(5, 8, 22, 0.55);

    z-index: -1;
}

/*HEADER*/
header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    background:rgba(7,17,31,.75);
    backdrop-filter:blur(14px);
    z-index:999;
}
.navbar{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo{
    font-size:1.8rem;
    font-weight:700;
}

.logo span{
    color:#8b5cf6;
}

.nav-links{
    list-style:none;
    display:flex;
    gap:35px;
}

.nav-links a{
    text-decoration:none;
    color:white;
    transition:.3s;
}

.nav-links a:hover,
.nav-links a.active{
    color:#8b5cf6;
}

/*HERO*/

.hero{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:120px 20px;
}

.hero-content{
    max-width:850px;
}

.welcome{
    display:inline-block;
    padding:10px 22px;
    border-radius:30px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.1);
    margin-bottom:25px;
    color:#38bdf8;
}

.hero h1{
    font-size:4rem;
    line-height:1.2;
    margin-bottom:20px;
}

.hero h1 span{
    color:#8b5cf6;
}

.hero p{
    color:#cbd5e1;
    line-height:1.9;
    margin-bottom:40px;
    font-size:1.05rem;
}

/*BUTTONS*/
.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.btn{
    text-decoration:none;
    padding:15px 34px;
    border-radius:50px;
    background:linear-gradient(135deg,#8b5cf6,#06b6d4);
    color:white;
    font-weight:600;
    transition:.35s;
}

.btn:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 30px rgba(139,92,246,.35);
}

.btn-outline{
    text-decoration:none;
    padding:15px 34px;
    border-radius:50px;
    border:2px solid rgba(255,255,255,.15);
    color:white;
    transition:.35s;
}

.btn-outline:hover{
    background:white;
    color:#07111f;
}
/*SECTION TITLE*/

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:2.3rem;
    color:#8b5cf6;
    margin-bottom:15px;
}

.section-title p{
    max-width:700px;
    margin:auto;
    color:#cbd5e1;
    line-height:1.8;
}

/*ABOUT SECTION*/

.about{
    width:90%;
    max-width:1200px;
    margin:120px auto;
}

.about-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

/*ABOUT CARD*/

.about-card{
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:35px;
    transition:.35s;

}

.about-card:hover{
    transform:translateY(-10px);
    border-color:#8b5cf6;
    box-shadow:0 12px 30px rgba(139,92,246,.25);
}

.about-card h3{
    color:#8b5cf6;
    margin-bottom:18px;
    font-size:1.3rem;
}

.about-card p{
    color:#cbd5e1;
    line-height:1.8;
}

/*MEMBERS SECTION*/

.members{
    width:90%;
    max-width:1200px;
    margin:120px auto;
}

.member-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,0.5fr));
    gap:25px;
    scroll-margin-top:90px;
}


/*MEMBER CARD*/

.member-card{
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    border:1px solid rgba(200,200,200,.08);
    border-radius:22px;
    overflow:hidden;
    text-decoration:none;
    color:white;
    transition:.35s;

}

.member-card:hover{
    transform:translateY(-12px);
    border-color:#8b5cf6;
    box-shadow:0 18px 35px rgba(139,92,246,.25);
}

/*MEMBER IMAGE*/

.member-card img{
    width:100%;
    height:300px;
    object-fit:cover;
    transition:.4s;
}

.member-card:hover img{
    transform:scale(1.05);
}

/*MEMBER INFO*/

.member-card h3{
    margin:22px 20px 10px;
    font-size:1.3rem;
}

.member-card span{
    display:block;
    margin:0 20px;
    color:#38bdf8;
    font-weight:600;
}

.member-card p{
    margin:18px 20px 25px;
    color:#cbd5e1;
    line-height:1.7;
}

/*VIEW PORTFOLIO*/
.member-card::after{
    content:"View Portfolio →";
    display:block;
    padding:18px 20px;
    border-top:1px solid rgba(255,255,255,.08);
    color:#8b5cf6;
    font-weight:600;
}

/*CONTACT SECTION*/

.contact{
    width:90%;
    max-width:1200px;
    margin:120px auto;
}

.contact-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.contact-card{
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:35px;
    text-align:center;
    transition:.35s;
}

.contact-card:hover{
    transform:translateY(-10px);
    border-color:#8b5cf6;
    box-shadow:0 15px 35px rgba(139,92,246,.25);
}

.contact-card h3{
    color:#8b5cf6;
    margin-bottom:15px;
}

.contact-card p{
    color:#cbd5e1;
    line-height:1.7;
}

/*FOOTER*/

footer{
    margin-top:120px;
    padding:50px 20px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.08);
}

footer h2{
    font-size:2rem;
    margin-bottom:12px;
}

footer span{
    color:#8b5cf6;
}

footer p{
    color:#94a3b8;
    margin-top:10px;
    line-height:1.8;
}

/*JAVASCRIPT CLASSES*/

.about-card,
.member-card,
.contact-card{
    opacity:0;
    transform:translateY(40px);
    transition:.8s ease;
}

.about-card.show,
.member-card.show,
.contact-card.show{
    opacity:1;
    transform:translateY(0);
}

/*SCROLLBAR*/

::-webkit-scrollbar{
    width:10px;
}
::-webkit-scrollbar-track{
    background:#020617;
}
::-webkit-scrollbar-thumb{
    background:#8b5cf6;
    border-radius:20px;
}
::-webkit-scrollbar-thumb:hover{
    background:#7c3aed;
}


/*RESPONSIVE*/

@media(max-width:992px){
.hero h1{
    font-size:3.2rem;
}

.nav-links{
    gap:20px;
}

}
@media(max-width:768px){
.navbar{
    flex-direction:column;
    gap:18px;
}

.nav-links{
    flex-wrap:wrap;
    justify-content:center;
}

.hero{
    padding:150px 20px 80px;
}

.hero h1{
    font-size:2.5rem;
}

.hero p{
    font-size:1rem;
}

.hero-buttons{
    flex-direction:column;
    align-items:center;
}

.btn,
.btn-outline{
    width:220px;
    text-align:center;
}

.member-card img{
    height:260px;
}

}

@media(max-width:480px){
.hero h1{
    font-size:2rem;
}

.section-title h2{
    font-size:1.8rem;
}

.about-card,
.member-card,
.contact-card{
    padding:25px;
}
}

