/* ===========================
GREENLIFE CSS
=========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f7fff9;
    color: #222;
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

a {
    text-decoration: none;
}

/* ===========================
HEADER
=========================== */

header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #0A8F4B;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
}

nav ul li a {
    font-weight: 500;
    color: #333;
    transition: .3s;
}

nav ul li a:hover {
    color: #0A8F4B;
}

.nav-btn {
    background: #0A8F4B;
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 40px;
}

.shipping-nav-item {
    color: #d07b00;
    font-weight: 700;
    font-size: 14px;
}

/* ===========================
HERO
=========================== */

.hero {
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.offer {
    display: inline-block;
    background: #fff3d9;
    color: #d07b00;
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.price-box {
    display: flex;
    gap: 25px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pack {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    flex: 1;
    min-width: 220px;
}

.pack h2 {
    font-size: 2.5rem;
    color: #0A8F4B;
    margin: 15px 0;
}

.best {
    border: 3px solid #D4AF37;
    position: relative;
}

.best span {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #D4AF37;
    color: #fff;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.shipping-hero-banner {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 12px;
    border-radius: 10px;
    margin: 15px 0;
    font-weight: 700;
    text-align: center;
    border: 1px dashed #2e7d32;
}

.buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.buttons a:first-child {
    background: #0A8F4B;
    color: #fff;
    padding: 18px 40px;
    border-radius: 40px;
    font-weight: 600;
}

.buttons a:last-child {
    background: #25D366;
    color: #fff;
    padding: 18px 40px;
    border-radius: 40px;
    font-weight: 600;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 500px;
    width: 100%;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
    100% { transform: translateY(0); }
}

/* ===========================
BENEFITS
=========================== */

.benefits {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 700;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,.08);
    transition: .4s;
}

.card:hover {
    transform: translateY(-10px);
}

.card i {
    font-size: 45px;
    color: #0A8F4B;
    margin-bottom: 20px;
}

/* ===========================
REVIEWS & GUARANTEE
=========================== */

#reviews .card {
    border: none;
    height: 100%;
}

.guarantee-section {
    padding: 40px 0;
    text-align: center;
    background: #fff;
}

/* ===========================
RESPONSIVE LAYOUTS
=========================== */

@media(max-width: 992px) {
    .hero-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    .hero-image { 
        order: -1; 
        margin-bottom: 40px; 
    }
    .benefit-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    nav { 
        flex-direction: column; 
        gap: 15px; 
    }
}

@media(max-width: 768px) {
    .hero {
        padding: 40px 0;
    }
    .hero h1 { 
        font-size: 2.6rem; 
    }
    .benefit-grid { 
        grid-template-columns: 1fr; 
    }
    
    /* Updated to keep navigation visible */
    nav { 
        flex-direction: column; 
        text-align: center; 
        gap: 10px; 
    }
    nav ul { 
        gap: 15px; 
        font-size: 13px; 
        flex-wrap: wrap; 
        justify-content: center;
    }
    
    .price-box {
        flex-direction: column;
        gap: 15px;
    }
    .pack {
        width: 100%;
        min-width: 100%;
    }
    .buttons {
        flex-direction: column;
        gap: 12px;
    }
    .buttons a:first-child, 
    .buttons a:last-child {
        width: 100%;
        text-align: center;
        padding: 16px 20px;
    }
    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media(max-width: 480px) {
    .container {
        width: 92%;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .offer {
        font-size: 14px;
        padding: 10px 18px;
    }
    .pack h2 {
        font-size: 2rem;
    }
    .hero-image img {
        max-width: 100%;
    }
    .card {
        padding: 25px 15px;
    }
}