/* ==========================
   OCHOUDO STUDENTS NETWORK
   STYLE.CSS
========================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#06132f;
    color:#ffffff;
    overflow-x:hidden;
}

/* Navigation */

.navbar{

    position:fixed;

    top:0;

    width:100%;

    padding:20px 8%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:rgba(7,26,82,.85);

    backdrop-filter:blur(12px);

    z-index:1000;

}

.logo img{

    height:60px;

}

.navbar ul{

    display:flex;

    gap:35px;

    list-style:none;

}

.navbar ul li a{

    color:#fff;

    text-decoration:none;

    font-weight:500;

    transition:.3s;

}

.navbar ul li a:hover{

    color:#d4af37;

}

.join{

    background:#d62828;

    color:#fff;

    text-decoration:none;

    padding:14px 28px;

    border-radius:40px;

    font-weight:600;

    transition:.3s;

}

.join:hover{

    background:#0057b8;

}

/* Hero */

.hero{

    min-height:100vh;

    background:
    linear-gradient(rgba(5,16,45,.85),rgba(5,16,45,.90)),
    url("../images/hero-bg.jpg");

    background-size:cover;

    background-position:center;

    display:flex;

    align-items:center;

}

.container{

    width:90%;

    max-width:1300px;

    margin:auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.small{

    color:#d4af37;

    letter-spacing:3px;

    margin-bottom:20px;

    font-weight:600;

}

.left h1{

    font-size:72px;

    line-height:1.1;

    margin-bottom:25px;

}

.description{

    font-size:20px;

    color:#d7d7d7;

    line-height:1.8;

    margin-bottom:35px;

}

.buttons{

    display:flex;

    gap:20px;

    margin-bottom:40px;

}

.buttons a{

    text-decoration:none;

    padding:18px 35px;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

}

.buttons a:first-child{

    background:#d62828;

    color:#fff;

}

.buttons a:first-child:hover{

    background:#0057b8;

}

.outline{

    border:2px solid #ffffff;

    color:#ffffff;

}

.outline:hover{

    background:#ffffff;

    color:#071a52;

}

.social{

    display:flex;

    gap:18px;

}

.social a{

    width:45px;

    height:45px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:rgba(255,255,255,.12);

    color:#fff;

    text-decoration:none;

    transition:.3s;

}

.social a:hover{

    background:#d4af37;

    color:#071a52;

}

.right{

    text-align:center;

}

.right img{

    width:100%;

    max-width:520px;

    filter:drop-shadow(0 20px 50px rgba(0,0,0,.45));

    animation:float 5s ease-in-out infinite;

}

/* Animation */

@keyframes float{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-15px);

}

100%{

transform:translateY(0);

}


/* ==========================
   ABOUT SECTION
========================== */

.about-section{
    background:#07192f;
    color:#fff;
    padding:120px 8%;
}

.about-container{
    max-width:1200px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:70px;
}

.about-text{
    flex:1;
}

.about-image{
    flex:1;
    text-align:center;
}

.about-image img{
    width:100%;
    max-width:520px;
    display:block;
    margin:auto;
}

.section-tag{
    display:inline-block;
    color:#f15b5b;
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:15px;
    text-transform:uppercase;
}

.about-text h2{
    font-size:3rem;
    margin-bottom:20px;
    line-height:1.2;
}

.about-text p{
    font-size:1.1rem;
    line-height:1.9;
    color:#d9d9d9;
    margin-bottom:20px;
}

.about-features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin:35px 0;
}

.about-features div{
    background:rgba(255,255,255,.08);
    padding:15px;
    border-radius:10px;
}

.about-stats{
    display:flex;
    gap:50px;
    margin:40px 0;
}

.stat h3{
    font-size:2.4rem;
    color:#f15b5b;
    margin-bottom:5px;
}

.stat p{
    margin:0;
    color:#ddd;
}

.btn-primary{
    display:inline-block;
    background:#d64045;
    color:#fff;
    padding:15px 40px;
    border-radius:50px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.btn-primary:hover{
    background:#b42e35;
}

@media(max-width:900px){

.about-container{
    flex-direction:column-reverse;
    text-align:center;
}

.about-features{
    grid-template-columns:1fr;
}

.about-stats{
    justify-content:center;
    flex-wrap:wrap;
}

.about-text h2{
    font-size:2.3rem;
}

}
