/*==================================================
HERBALIFE WELLNESS WEBSITE
HEADER CSS
Part 3.1
==================================================*/


/*==================================================
GOOGLE FONT
==================================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/*==================================================
ROOT VARIABLES
==================================================*/

:root{

    --primary:#78BE20;

    --primary-dark:#4F8A10;

    --secondary:#D4AF37;

    --dark:#222222;

    --white:#ffffff;

    --light:#f8f8f8;

    --gray:#777777;

    --border:#e8e8e8;

    --shadow:0 10px 30px rgba(0,0,0,.08);

    --transition:.35s ease;

    --radius:8px;

    --container:1320px;

}


/*==================================================
RESET
==================================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    font-size:16px;

    color:var(--dark);

    background:var(--white);

    overflow-x:hidden;

    line-height:1.7;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    color:inherit;

    transition:var(--transition);

}

ul{

    list-style:none;

}

button{

    cursor:pointer;

    border:none;

    outline:none;

    background:none;

    font-family:inherit;

}

input,
textarea,
select{

    font-family:inherit;

    outline:none;

}


/*==================================================
COMMON CONTAINER
==================================================*/

.container{

    width:100%;

    max-width:var(--container);

    margin:auto;

    padding:0 15px;

}


/*==================================================
COMMON BUTTON
==================================================*/

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:14px 30px;

    border-radius:50px;

    font-weight:600;

    transition:var(--transition);

}

.btn-primary{

    background:var(--primary);

    color:#fff;

}

.btn-primary:hover{

    background:var(--primary-dark);

}


/*==================================================
TOP BAR
==================================================*/

.topbar{

    width:100%;

    background:var(--dark);

    color:#fff;

    font-size:14px;

}

.topbar .container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    min-height:48px;

}

.topbar-left,

.topbar-right{

    display:flex;

    align-items:center;

    gap:25px;

}

.topbar-left a,

.topbar-right a{

    display:flex;

    align-items:center;

    gap:8px;

    color:#fff;

    transition:var(--transition);

}

.topbar-left a:hover,

.topbar-right a:hover{

    color:var(--secondary);

}

.topbar i{

    color:var(--primary);

    font-size:15px;

}

.topbar-right .fa-facebook-f:hover{

    color:#1877F2;

}

.topbar-right .fa-instagram:hover{

    color:#E4405F;

}

.topbar-right .fa-youtube:hover{

    color:#FF0000;

}

.topbar-right .fa-whatsapp:hover{

    color:#25D366;

}


/*==================================================
SECTION SPACING
==================================================*/

section{

    padding:90px 0;

}


/*==================================================
UTILITY CLASSES
==================================================*/

.text-center{

    text-align:center;

}

.text-white{

    color:#fff;

}

.bg-light{

    background:var(--light);

}

.shadow{

    box-shadow:var(--shadow);

}

.radius{

    border-radius:var(--radius);

}
/*==================================================
HEADER
Part 3.2
==================================================*/

.header{

    width:100%;

    background:var(--white);

    position:relative;

    z-index:999;

    transition:all .35s ease;

    border-bottom:1px solid rgba(0,0,0,.05);

}

.header .container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    min-height:90px;

}

/*==================================================
LOGO
==================================================*/

.logo{

    display:flex;

    align-items:center;

    flex-shrink:0;

}

.logo a{

    display:flex;

    align-items:center;

}

.logo img{

    max-height:95px;

    width:auto;

    transition:.35s ease;

}

.logo img:hover{

    transform:scale(1.03);

}

/*==================================================
NAVIGATION
==================================================*/

.navbar{

    margin-left:auto;

    margin-right:40px;

}

.navbar>ul{

    display:flex;

    align-items:center;

    gap:35px;

}

.navbar>ul>li{

    position:relative;

}

.navbar>ul>li>a{

    display:flex;

    align-items:center;

    gap:8px;

    height:90px;

    color:var(--dark);

    font-size:15px;

    font-weight:600;

    transition:all .3s ease;

    position:relative;

}

/*==================================================
ACTIVE MENU
==================================================*/

.navbar>ul>li>a.active{

    color:var(--primary);

}

.navbar>ul>li>a.active::after{

    width:100%;

}

/*==================================================
HOVER EFFECT
==================================================*/

.navbar>ul>li>a::after{

    content:"";

    position:absolute;

    bottom:20px;

    left:0;

    width:0;

    height:3px;

    background:var(--primary);

    border-radius:20px;

    transition:.35s ease;

}

.navbar>ul>li:hover>a{

    color:var(--primary);

}

.navbar>ul>li:hover>a::after{

    width:100%;

}

/*==================================================
MENU ICON
==================================================*/

.navbar i{

    font-size:12px;

    transition:.3s;

}

.dropdown:hover>a i{

    transform:rotate(180deg);

}

/*==================================================
HEADER RIGHT
==================================================*/

.header-right{

    display:flex;

    align-items:center;

    gap:15px;

}

/*==================================================
CONSULT BUTTON
==================================================*/

.consult-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:13px 28px;

    border-radius:50px;

    background:var(--primary);

    color:#fff;

    font-size:15px;

    font-weight:600;

    transition:.35s ease;

    box-shadow:0 8px 20px rgba(120,190,32,.25);

}

.consult-btn:hover{

    background:var(--primary-dark);

    transform:translateY(-3px);

    box-shadow:0 15px 35px rgba(120,190,32,.35);

}

/*==================================================
WHATSAPP BUTTON
==================================================*/

.whatsapp-btn{

    width:48px;

    height:48px;

    border-radius:50%;

    background:#25D366;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:22px;

    transition:.35s ease;

}

.whatsapp-btn:hover{

    transform:rotate(8deg) scale(1.08);

    box-shadow:0 12px 25px rgba(37,211,102,.35);

}

/*==================================================
MOBILE BUTTON
==================================================*/

.mobile-toggle{

    width:48px;

    height:48px;

    display:none;

    border-radius:8px;

    background:var(--primary);

    color:#fff;

    font-size:22px;

    transition:.3s;

}

.mobile-toggle:hover{

    background:var(--primary-dark);

}

/*==================================================
HEADER ANIMATION
==================================================*/

.header:hover{

    box-shadow:0 10px 35px rgba(0,0,0,.06);

}

/*==================================================
SMOOTH TRANSITION
==================================================*/

.header,
.navbar a,
.consult-btn,
.whatsapp-btn{

    transition:all .35s ease;

}
/*==================================================
DROPDOWN MENU
Part 3.3
==================================================*/

.dropdown{

    position:relative;

}

/*==============================================
DROPDOWN CONTAINER
==============================================*/

.dropdown-menu{

    position:absolute;

    top:110%;

    left:0;

    min-width:270px;

    background:#ffffff;

    border-radius:12px;

    padding:12px 0;

    box-shadow:0 18px 45px rgba(0,0,0,.12);

    border:1px solid rgba(0,0,0,.06);

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:all .35s ease;

    z-index:9999;

}

/*==============================================
SHOW MENU
==============================================*/

.dropdown:hover .dropdown-menu{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

/*==============================================
LIST
==============================================*/

.dropdown-menu li{

    width:100%;

}

/*==============================================
LINK
==============================================*/

.dropdown-menu li a{

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:14px 22px;

    color:var(--dark);

    font-size:15px;

    font-weight:500;

    transition:.3s;

    position:relative;

}

/*==============================================
LEFT BAR
==============================================*/

.dropdown-menu li a::before{

    content:"";

    position:absolute;

    left:0;

    top:50%;

    transform:translateY(-50%);

    width:0;

    height:60%;

    background:var(--primary);

    border-radius:0 4px 4px 0;

    transition:.3s;

}

/*==============================================
HOVER
==============================================*/

.dropdown-menu li:hover>a{

    background:#f8fff2;

    color:var(--primary);

    padding-left:30px;

}

.dropdown-menu li:hover>a::before{

    width:5px;

}

/*==============================================
ARROW
==============================================*/

.dropdown-menu li a::after{

    content:"\f105";

    font-family:"Font Awesome 6 Free";

    font-weight:900;

    opacity:0;

    transition:.3s;

}

.dropdown-menu li:hover>a::after{

    opacity:1;

}

/*==============================================
DIVIDER
==============================================*/

.dropdown-menu li:not(:last-child){

    border-bottom:1px solid #eeeeee;

}

/*==============================================
DROPDOWN ICON
==============================================*/

.dropdown>a i{

    transition:.35s;

}

.dropdown:hover>a i{

    transform:rotate(180deg);

}

/*==============================================
GLASS EFFECT
==============================================*/

.dropdown-menu{

    backdrop-filter:blur(15px);

    -webkit-backdrop-filter:blur(15px);

}

/*==============================================
MEGA DROPDOWN READY
==============================================*/

.dropdown-mega{

    position:absolute;

    left:0;

    top:100%;

    width:900px;

    background:#fff;

    border-radius:15px;

    box-shadow:0 20px 60px rgba(0,0,0,.12);

    padding:35px;

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:.35s;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

    z-index:9999;

}

.has-mega:hover .dropdown-mega{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

/*==============================================
MEGA TITLE
==============================================*/

.dropdown-mega h4{

    font-size:18px;

    margin-bottom:15px;

    color:var(--primary);

    font-weight:700;

}

/*==============================================
MEGA LINKS
==============================================*/

.dropdown-mega a{

    display:block;

    padding:10px 0;

    color:#555;

    transition:.3s;

}

.dropdown-mega a:hover{

    color:var(--primary);

    padding-left:10px;

}

/*==============================================
SMALL LABEL
==============================================*/

.menu-label{

    background:#ff4d4d;

    color:#fff;

    font-size:10px;

    padding:3px 8px;

    border-radius:20px;

    margin-left:8px;

    text-transform:uppercase;

    font-weight:700;

}

/*==============================================
NEW BADGE
==============================================*/

.badge-new{

    background:var(--secondary);

    color:#222;

}

/*==============================================
HOT BADGE
==============================================*/

.badge-hot{

    background:#ff3b30;

    color:#fff;

}
/*==================================================
HEADER STICKY & SCROLL EFFECT
Part 3.4
==================================================*/

/*==============================================
STICKY HEADER
==============================================*/

.header.sticky{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    background:rgba(255,255,255,.96);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    animation:headerSlide .45s ease;

    border-bottom:1px solid rgba(0,0,0,.05);

}

/*==============================================
HEADER ANIMATION
==============================================*/

@keyframes headerSlide{

    from{

        opacity:0;

        transform:translateY(-100%);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==============================================
LOGO AFTER STICKY
==============================================*/

.header.sticky .logo img{

    max-height:55px;

}

/*==============================================
NAVBAR HEIGHT
==============================================*/

.header.sticky .navbar>ul>li>a{

    height:75px;

}

/*==============================================
HEADER CONTAINER
==============================================*/

.header.sticky .container{

    min-height:75px;

}

/*==============================================
ACTIVE LINK
==============================================*/

.header.sticky .navbar>ul>li>a.active{

    color:var(--primary);

}

/*==============================================
MENU HOVER
==============================================*/

.header.sticky .navbar>ul>li:hover>a{

    color:var(--primary);

}

/*==============================================
CONSULT BUTTON
==============================================*/

.header.sticky .consult-btn{

    padding:12px 26px;

    font-size:14px;

}

/*==============================================
WHATSAPP BUTTON
==============================================*/

.header.sticky .whatsapp-btn{

    width:45px;

    height:45px;

}

/*==============================================
SHADOW ON HOVER
==============================================*/

.header.sticky:hover{

    box-shadow:0 18px 45px rgba(0,0,0,.10);

}

/*==============================================
HEADER TRANSPARENT
Future Hero Support
==============================================*/

.header.transparent{

    position:absolute;

    left:0;

    top:0;

    width:100%;

    background:transparent;

    border:none;

    box-shadow:none;

}

.header.transparent .navbar>ul>li>a{

    color:#ffffff;

}

.header.transparent .consult-btn{

    background:#ffffff;

    color:var(--primary);

}

.header.transparent .consult-btn:hover{

    background:var(--secondary);

    color:#222;

}

.header.transparent .logo img{

    filter:brightness(100%);

}

/*==============================================
HEADER SCROLL LINE
==============================================*/

.header::before{

    content:"";

    position:absolute;

    left:0;

    bottom:0;

    width:100%;

    height:1px;

    background:rgba(0,0,0,.04);

}

/*==============================================
HEADER TRANSITION
==============================================*/

.header,

.header .container,

.logo img,

.navbar>ul>li>a,

.consult-btn,

.whatsapp-btn{

    transition:all .35s ease;

}

/*==============================================
HEADER BUTTON ANIMATION
==============================================*/

.consult-btn{

    position:relative;

    overflow:hidden;

}

.consult-btn::before{

    content:"";

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:100%;

    background:rgba(255,255,255,.18);

    transform:skewX(-25deg);

    transition:.6s;

}

.consult-btn:hover::before{

    left:120%;

}

/*==============================================
WHATSAPP PULSE
==============================================*/

.whatsapp-btn{

    position:relative;

}

.whatsapp-btn::after{

    content:"";

    position:absolute;

    inset:-5px;

    border-radius:50%;

    border:2px solid rgba(37,211,102,.35);

    animation:whatsappPulse 2s infinite;

}

@keyframes whatsappPulse{

    0%{

        transform:scale(.9);

        opacity:1;

    }

    100%{

        transform:scale(1.6);

        opacity:0;

    }

}

/*==============================================
HEADER SPACER
==============================================*/

.header-space{

    height:90px;

}

.header.sticky + .header-space{

    height:75px;

}
/*==================================================
MOBILE MENU
Part 3.5
==================================================*/

/*==============================================
MOBILE MENU PANEL
==============================================*/

.mobile-menu{

    position:fixed;

    top:0;

    left:-100%;

    width:320px;

    max-width:90%;

    height:100vh;

    background:#ffffff;

    z-index:99999;

    overflow-y:auto;

    transition:.45s ease;

    box-shadow:15px 0 40px rgba(0,0,0,.15);

}

.mobile-menu.active{

    left:0;

}

/*==============================================
HEADER
==============================================*/

.mobile-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:20px;

    border-bottom:1px solid #eeeeee;

}

.mobile-header img{

    max-height:55px;

}

.mobile-close{

    width:42px;

    height:42px;

    border-radius:50%;

    background:#f3f3f3;

    color:#222;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:18px;

    cursor:pointer;

    transition:.3s;

}

.mobile-close:hover{

    background:var(--primary);

    color:#fff;

    transform:rotate(180deg);

}

/*==============================================
MENU LIST
==============================================*/

.mobile-menu ul{

    padding:20px;

}

.mobile-menu ul li{

    border-bottom:1px solid #f0f0f0;

}

.mobile-menu ul li:last-child{

    border:none;

}

/*==============================================
MENU LINKS
==============================================*/

.mobile-menu ul li a{

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:16px 0;

    color:var(--dark);

    font-size:16px;

    font-weight:600;

    transition:.3s;

}

.mobile-menu ul li a:hover{

    color:var(--primary);

    padding-left:10px;

}

/*==============================================
CONSULT BUTTON
==============================================*/

.mobile-consult{

    display:flex !important;

    justify-content:center;

    align-items:center;

    margin-top:20px;

    padding:15px;

    border-radius:50px;

    background:var(--primary);

    color:#fff !important;

    font-weight:600;

}

.mobile-consult:hover{

    background:var(--primary-dark);

    padding-left:0 !important;

}

/*==============================================
OVERLAY
==============================================*/

.menu-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.55);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:99990;

}

.menu-overlay.active{

    opacity:1;

    visibility:visible;

}

/*==============================================
SCROLLBAR
==============================================*/

.mobile-menu::-webkit-scrollbar{

    width:6px;

}

.mobile-menu::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

.mobile-menu::-webkit-scrollbar-track{

    background:#f2f2f2;

}

/*==============================================
SOCIAL ICONS
==============================================*/

.mobile-social{

    display:flex;

    gap:12px;

    padding:20px;

}

.mobile-social a{

    width:42px;

    height:42px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#f6f6f6;

    color:var(--dark);

    transition:.3s;

}

.mobile-social a:hover{

    background:var(--primary);

    color:#fff;

}

/*==============================================
CONTACT INFO
==============================================*/

.mobile-contact{

    padding:20px;

    border-top:1px solid #eeeeee;

}

.mobile-contact a{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:15px;

    color:#555;

    font-size:15px;

}

.mobile-contact i{

    width:38px;

    height:38px;

    border-radius:50%;

    background:#f6f6f6;

    display:flex;

    align-items:center;

    justify-content:center;

    color:var(--primary);

}

/*==============================================
SLIDE ANIMATION
==============================================*/

.mobile-menu ul li{

    opacity:0;

    transform:translateX(-20px);

    animation:mobileFade .45s forwards;

}

.mobile-menu.active ul li:nth-child(1){animation-delay:.05s;}
.mobile-menu.active ul li:nth-child(2){animation-delay:.10s;}
.mobile-menu.active ul li:nth-child(3){animation-delay:.15s;}
.mobile-menu.active ul li:nth-child(4){animation-delay:.20s;}
.mobile-menu.active ul li:nth-child(5){animation-delay:.25s;}
.mobile-menu.active ul li:nth-child(6){animation-delay:.30s;}
.mobile-menu.active ul li:nth-child(7){animation-delay:.35s;}
.mobile-menu.active ul li:nth-child(8){animation-delay:.40s;}
.mobile-menu.active ul li:nth-child(9){animation-delay:.45s;}

@keyframes mobileFade{

    to{

        opacity:1;

        transform:translateX(0);

    }

}
/*==================================================
RESPONSIVE
Part 3.6
==================================================*/

/*==============================================
1400px
==============================================*/

@media (max-width:1400px){

    .container{

        max-width:1140px;

    }

}

/*==============================================
1200px
==============================================*/

@media (max-width:1200px){

    .container{

        max-width:960px;

    }

    .navbar>ul{

        gap:22px;

    }

    .navbar>ul>li>a{

        font-size:14px;

    }

    .consult-btn{

        padding:12px 20px;

        font-size:14px;

    }

}

/*==============================================
1024px
==============================================*/

@media (max-width:1024px){

    .topbar-left{

        gap:15px;

    }

    .topbar-right{

        gap:15px;

    }

    .navbar{

        margin-right:20px;

    }

}

/*==============================================
991px
==============================================*/

@media (max-width:991px){

    .topbar{

        display:none;

    }

    .navbar{

        display:none;

    }

    .consult-btn{

        display:none;

    }

    .mobile-toggle{

        display:flex;

        align-items:center;

        justify-content:center;

    }

    .header .container{

        min-height:80px;

    }

    .logo img{

        max-height:55px;

    }

    .header-space{

        height:80px;

    }

}

/*==============================================
768px
==============================================*/

@media (max-width:768px){

    .container{

        padding:0 18px;

    }

    .logo img{

        max-height:50px;

    }

    .whatsapp-btn{

        width:42px;

        height:42px;

        font-size:20px;

    }

    .mobile-toggle{

        width:44px;

        height:44px;

        font-size:20px;

    }

    .mobile-menu{

        width:300px;

    }

}

/*==============================================
576px
==============================================*/

@media (max-width:576px){

    .header .container{

        min-height:72px;

    }

    .logo img{

        max-height:45px;

    }

    .mobile-menu{

        width:100%;

        max-width:100%;

    }

    .mobile-header{

        padding:18px;

    }

    .mobile-header img{

        max-height:42px;

    }

    .mobile-close{

        width:40px;

        height:40px;

    }

    .mobile-menu ul{

        padding:15px;

    }

    .mobile-menu ul li a{

        font-size:15px;

        padding:14px 0;

    }

    .mobile-contact{

        padding:15px;

    }

    .mobile-social{

        padding:15px;

    }

}

/*==============================================
420px
==============================================*/

@media (max-width:420px){

    .logo img{

        max-height:40px;

    }

    .whatsapp-btn{

        width:40px;

        height:40px;

        font-size:18px;

    }

    .mobile-toggle{

        width:40px;

        height:40px;

        font-size:18px;

    }

}

/*==============================================
360px
==============================================*/

@media (max-width:360px){

    .container{

        padding:0 12px;

    }

    .mobile-header{

        padding:15px;

    }

    .mobile-menu ul{

        padding:12px;

    }

    .mobile-menu ul li a{

        font-size:14px;

    }

}

/*==============================================
LANDSCAPE MOBILE
==============================================*/

@media (max-height:550px){

    .mobile-menu{

        overflow-y:auto;

    }

}

/*==============================================
LARGE SCREEN
==============================================*/

@media (min-width:1600px){

    .container{

        max-width:1450px;

    }

}