/*==================================================
ROOT VARIABLES
==================================================*/

:root{

    --primary:#059669;
    --primary-dark:#047857;
    --primary-light:#10b981;
    --secondary:#34d399;

    --bg:#f8fafc;
    --card:#ffffff;
    --text:#1f2937;
    --muted:#6b7280;
    --border:#e5e7eb;
    --danger:#dc2626;

    --shadow-sm:0 2px 8px rgba(0,0,0,.05);
    --shadow-md:0 8px 25px rgba(0,0,0,.08);
    --shadow-lg:0 18px 50px rgba(0,0,0,.12);

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

img{

    max-width:100%;

    display:block;

}

.yq-container{

    width:92%;
    max-width:1300px;
    margin:auto;

}

/*==================================================
TOP BAR
==================================================*/

.yq-topbar{

    background:var(--primary-dark);
    color:#fff;
    font-size:14px;

}

.yq-topbar .yq-container{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:10px 0;

}

.yq-top-left{

    display:flex;
    gap:25px;

}

.yq-top-left a,
.yq-top-left span{

    color:#fff;

}

.yq-top-left i{

    margin-right:8px;

}

.yq-top-right{

    display:flex;
    gap:18px;

}

.yq-top-right a{

    color:white;
    transition:.3s;

}

.yq-top-right a:hover{

    color:var(--secondary);

}

/*==================================================
NAVBAR
==================================================*/

.yq-header{

    position:fixed;
    top:42px;
    left:0;
    width:100%;
    z-index:9999;

    transition:.35s;

}

.yq-header.scrolled{

    background:white;
    box-shadow:var(--shadow-md);

    top:0;

}

.yq-header .yq-container{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 0;

}

.yq-logo{

    display:flex;
    align-items:center;
    gap:15px;

}

.yq-logo img{

    width:58px;

}

.yq-logo h2{

    font-size:24px;
    color:white;

}

.yq-logo span{

    color:white;
    font-size:12px;
    letter-spacing:2px;

}

.yq-header.scrolled .yq-logo h2,
.yq-header.scrolled .yq-logo span{

    color:var(--text);

}

.yq-nav ul{

    display:flex;
    gap:35px;

}

.yq-nav a{

    color:white;
    font-weight:500;
    transition:.3s;

}

.yq-nav a:hover{

    color:var(--secondary);

}

.yq-nav a.active{

    color:var(--secondary);

}

.yq-header.scrolled .yq-nav a{

    color:var(--text);

}

.yq-actions{

    display:flex;
    align-items:center;
    gap:15px;

}

.btn-login{

    color:white;
    font-weight:600;

}

.yq-header.scrolled .btn-login{

    color:var(--text);

}

.btn-member{

    background:var(--primary);
    color:white;

    padding:13px 28px;

    border-radius:50px;

    transition:.3s;

}

.btn-member:hover{

    background:var(--primary-dark);

}

.menu-toggle{

    display:none;

    background:none;
    border:none;

    color:white;

    font-size:28px;

    cursor:pointer;

}

.yq-header.scrolled .menu-toggle{

    color:var(--text);

}

/*==================================================
HERO
==================================================*/

.hero{

    position:relative;

    height:100vh;

    background:

    linear-gradient(

            rgba(0,0,0,.70),

            rgba(0,0,0,.55)

    ),

    url("assets/images/ipac4.jpeg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    align-items:center;

    overflow:hidden;

}

.hero-overlay{

    position:absolute;
    inset:0;

}

.hero-content{

    position:relative;
    z-index:5;

}

.hero-text{

    max-width:760px;

}

.hero-tag{

    display:inline-block;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(15px);

    color:white;

    padding:10px 22px;

    border-radius:40px;

    margin-bottom:25px;

    font-size:14px;

    letter-spacing:1px;

}

.hero-text h1{

    font-size:68px;

    line-height:1.1;

    color:white;

    margin-bottom:30px;

    font-weight:800;

}

.hero-text p{

    color:#f3f4f6;

    font-size:21px;

    line-height:1.8;

    margin-bottom:45px;

    max-width:700px;

}

.hero-buttons{

    display:flex;
    gap:20px;

}

.hero-btn{

    background:var(--primary);

    color:white;

    padding:18px 42px;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

}

.hero-btn:hover{

    background:var(--primary-dark);

    transform:translateY(-4px);

}

.hero-outline{

    border:2px solid white;

    color:white;

    padding:18px 42px;

    border-radius:50px;

    transition:.3s;

}

.hero-outline:hover{

    background:white;

    color:var(--text);

}

/*==================================================
SCROLL INDICATOR
==================================================*/

.scroll-indicator{

    position:absolute;

    left:50%;

    transform:translateX(-50%);

    bottom:40px;

    color:white;

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:8px;

    animation:bounce 2s infinite;

}

@keyframes bounce{

    0%,20%,50%,80%,100%{

        transform:translate(-50%,0);

    }

    40%{

        transform:translate(-50%,-10px);

    }

    60%{

        transform:translate(-50%,-5px);

    }

}

/*==================================================
MOBILE MENU
==================================================*/

.mobile-menu{

    position:fixed;

    top:0;
    right:-350px;

    width:320px;
    height:100vh;

    background:white;

    z-index:99999;

    box-shadow:-5px 0 25px rgba(0,0,0,.15);

    transition:.4s;

    padding:25px;

}

.mobile-menu.active{

    right:0;

}

.mobile-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:35px;

}

.mobile-header button{

    border:none;

    background:none;

    font-size:28px;

    cursor:pointer;

}

.mobile-menu ul{

    display:flex;

    flex-direction:column;

    gap:22px;

}

.mobile-menu a{

    color:var(--text);

    font-size:17px;

    font-weight:500;

}

.mobile-register{

    display:block;

    background:var(--primary);

    color:white !important;

    padding:14px;

    border-radius:40px;

    text-align:center;

    margin-top:10px;

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:1100px){

    .yq-nav,
    .yq-actions{

        display:none;

    }

    .menu-toggle{

        display:block;

    }

    .hero-text h1{

        font-size:52px;

    }

}

@media(max-width:768px){

    .yq-topbar{

        display:none;

    }

    .yq-header{

        top:0;

    }

    .hero{

        text-align:center;

        padding:0 20px;

    }

    .hero-text{

        margin:auto;

    }

    .hero-text h1{

        font-size:40px;

    }

    .hero-text p{

        font-size:17px;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .hero-btn,
    .hero-outline{

        width:100%;

        text-align:center;

    }

}
