:root{
    --line:#00c300;
    --line-dark:#00a000;
    --bg:#f6f7f9;
}

body{
    padding-top:0;
    font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
    background:var(--bg);
    color:#222;
padding-bottom:80px;

}

/* HEADER = COPY จากหน้าแรก */
.navbar{

    position:sticky;

    top:0;

    z-index:9999;

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

    backdrop-filter:blur(14px);

    -webkit-backdrop-filter:blur(14px);

    border-bottom:
    1px solid rgba(0,0,0,.04);

    box-shadow:
    0 4px 20px rgba(0,0,0,.04);

    height:86px;
padding:0;
display:flex;
align-items:center;
    transition:.25s;
}

.navbar.scrolled{

    box-shadow:
    0 8px 30px rgba(0,0,0,.08);

    background:
    rgba(255,255,255,.88);
}

.navbar-brand{
    font-weight:900;
    color:var(--line);
     display:flex;
height:100%;
    align-items:center;

    padding:0;
}

.main-logo{

    width:220px;

    height:auto;

    display:block;
}


.nav-menu{

    display:flex;

    align-items:center;

    gap:26px;

    margin-left:40px;
}

.nav-link-item{

    position:relative;

    text-decoration:none;

    color:#333;

    font-size:15px;

    font-weight:800;

    transition:.22s;
}

.nav-link-item:hover{

    color:#00b900;
}

.nav-link-item::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-8px;

    width:0;
    height:3px;

    background:#00c300;

    border-radius:50px;

    transition:.25s;
}

.nav-link-item:hover::after{

    width:100%;
}

.nav-right{

    display:flex;

    align-items:center;

    gap:10px;
}






/* MOBILE */

@media(max-width:768px){

    .nav-menu{
        display:none;
    }

}


.mobile-bottom-nav a:last-child{

    color:#00c300;
    font-weight:900;

}


.navbar .container{

    height:100%;

    display:flex;

    align-items:center;
}




.navbar .btn{

    font-weight:700;

    border-radius:8px;

    padding:7px 14px;
}

.nav-link-item.active{

    color:#00b900;
}

.nav-link-item.active::after{

    width:100%;
}


/* MOBILE BOTTOM MENU */

.mobile-bottom-nav{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    height:65px;
    background:#fff;
    border-top:1px solid #e5e5e5;
    box-shadow:0 -2px 15px rgba(0,0,0,.08);
    display:none;
    z-index:99999;
}

.mobile-bottom-nav a{
    flex:1;
    text-decoration:none;
    color:#666;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    font-size:11px;
    font-weight:700;
}

.mobile-bottom-nav a.active{
    color:#00c300;
}

.mobile-bottom-nav i{
    font-size:20px;
    margin-bottom:2px;
}


.nav-right .btn-outline-success{

    border:2px solid #00c300;

    color:#00c300;

    background:#fff;

    font-weight:800;

    border-radius:14px;

    padding:10px 22px;

    transition:.25s;
}

.nav-right .btn-outline-success:hover{

    background:#00c300;

    color:#fff;

    transform:translateY(-2px);
}

.nav-right .btn-success{

    background:linear-gradient(135deg,#00c300,#00a000);

    border:none;

    border-radius:14px;

    font-weight:800;

    padding:10px 22px;

    box-shadow:0 8px 18px rgba(0,195,0,.20);
}

.nav-right .btn-success:hover{

    transform:translateY(-2px);

    box-shadow:0 12px 24px rgba(0,195,0,.28);
}




@media(max-width:768px){

    .mobile-bottom-nav{
        display:flex;
    }

}




@media(max-width:768px){

    .main-logo{
        width:145px;
    }

    .navbar{
        height:64px;
    }

    .navbar .btn{
        font-size:10px;
        padding:5px 7px;
        border-radius:7px;
    }
}