/* html{

scroll-behavior:smooth;

}

body{

padding-top:96px;

}

.nav-link{

position:relative;

font-weight:600;

transition:.3s;

}

.nav-link:hover{

color:#2E7D32;

}

.nav-link::after{

content:"";

position:absolute;

bottom:-8px;

left:0;

width:0;

height:2px;

background:#2E7D32;

transition:.3s;

}

.nav-link:hover::after{

width:100%;

}

.iconButton{

width:46px;

height:46px;

border-radius:999px;

background:#F7FAF8;

transition:.3s;

}

.iconButton:hover{

background:#81C784;

}

.glass{

background:rgba(255,255,255,.90);

backdrop-filter:blur(15px);

box-shadow:0 10px 40px rgba(0,0,0,.05);

}

.active{

color:#2E7D32;

}

.active::after{

width:100%;

} */


/* ==========================================
   HEALTHY WITH JOHN
   GLOBAL STYLES
==========================================*/

html{
    scroll-behavior:smooth;
}

body{
    padding-top:96px;
    overflow-x:hidden;
}


/* ===============================
TYPOGRAPHY
================================ */

.section-title{

    font-size:3rem;
    font-weight:700;
    line-height:1.2;

}

.section-subtitle{

    color:#607D8B;
    max-width:720px;
    margin:auto;
    line-height:1.8;

}



/* ===============================
NAVIGATION
================================ */

#navbar{

    transition:.35s ease;

}

.glass{

    background:rgba(255,255,255,.92);

    backdrop-filter:blur(18px);

    box-shadow:0 15px 40px rgba(0,0,0,.06);

}

.nav-link{

    position:relative;

    font-weight:600;

    transition:.3s;

}

.nav-link:hover{

    color:#2E7D32;

}

.nav-link::after{

    content:"";

    position:absolute;

    bottom:-8px;

    left:0;

    width:0;

    height:2px;

    background:#2E7D32;

    transition:.3s;

}

.nav-link:hover::after{

    width:100%;

}

.active{

    color:#2E7D32;

}

.active::after{

    width:100%;

}



/* ===============================
BUTTONS
================================ */

.btn-primary{

    background:#2E7D32;

    color:white;

    padding:15px 35px;

    border-radius:999px;

    transition:.3s;

    display:inline-flex;

    align-items:center;

    justify-content:center;

}

.btn-primary:hover{

    background:#43A047;

    transform:translateY(-2px);

}



.btn-outline{

    border:2px solid #2E7D32;

    color:#2E7D32;

    border-radius:999px;

    padding:15px 35px;

    transition:.3s;

}

.btn-outline:hover{

    background:#2E7D32;

    color:white;

}



/* ===============================
CARDS
================================ */

.card{

    background:white;

    border-radius:28px;

    transition:.35s;

}

.card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 60px rgba(0,0,0,.08);

}

.feature-card{

    padding:45px;

}



/* ===============================
BOOK CARDS
================================ */

.book-card{

    transition:.4s;

}

.book-card:hover{

    transform:translateY(-12px);

}

.book-card img{

    transition:.4s;

}

.book-card:hover img{

    transform:scale(1.04);

}



/* ===============================
ARTICLE CARDS
================================ */

.article-card{

    transition:.35s;

}

.article-card:hover{

    transform:translateY(-8px);

}



/* ===============================
HERO
================================ */

.hero-pattern{

    background:

    radial-gradient(circle at top right,#81C78422,transparent 35%),

    radial-gradient(circle at bottom left,#2E7D3220,transparent 40%),

    #F7FAF8;

}



/* ===============================
NEWSLETTER
================================ */

.newsletter{

    background:linear-gradient(

    135deg,

    #2E7D32,

    #43A047

    );

}



/* ===============================
IMAGES
================================ */

.rounded-image{

    border-radius:30px;

}

.shadow-soft{

    box-shadow:0 25px 80px rgba(0,0,0,.08);

}



/* ===============================
ANIMATION
================================ */

.fade-up{

    opacity:0;

    transform:translateY(40px);

    transition:all .7s ease;

}

.fade-up.show{

    opacity:1;

    transform:translateY(0);

}



/* ===============================
FOOTER
================================ */

.footer-link{

    transition:.3s;

}

.footer-link:hover{

    color:#81C784;

    padding-left:6px;

}



/* ===============================
FORM
================================ */

input,

textarea{

    transition:.3s;

}

input:focus,

textarea:focus{

    outline:none;

    border-color:#2E7D32;

    box-shadow:0 0 0 4px rgba(46,125,50,.10);

}



/* ===============================
SCROLLBAR
================================ */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:#43A047;

    border-radius:30px;

}

::-webkit-scrollbar-track{

    background:#EDF4EE;

}



/* ===============================
RESPONSIVE
================================ */

@media(max-width:768px){

.section-title{

font-size:2.2rem;

}

body{

padding-top:84px;

}

}


/* ==========================================
   MOBILE MENU
==========================================*/

#mobileMenu{

    transition:.35s ease;

}

#overlay{

    transition:.35s ease;

}



/* ==========================================
   ICON BUTTONS
==========================================*/

.iconButton{

    width:46px;

    height:46px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:999px;

    background:#F7FAF8;

    transition:.3s;

}

.iconButton:hover{

    background:#81C784;

}



/* ==========================================
   MOBILE LINKS
==========================================*/

.mobile-link{

    padding:14px 0;

    font-weight:600;

    border-bottom:1px solid #E5E7EB;

    transition:.3s;

}

.mobile-link:hover{

    color:#2E7D32;

    padding-left:8px;

}