/*=================================================
                PRODUCTS PAGE
=================================================*/

:root{
    --primary:#2E7D32;
    --secondary:#66BB6A;
    --light:#F8FCF7;
    --white:#ffffff;
    --dark:#1E1E1E;
    --text:#555;
    --shadow:0 15px 35px rgba(0,0,0,.10);
    --radius:18px;
}

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

.products-hero{
    position:relative;
    height:70vh;
    min-height:520px;
    background:url("../images/crop.jpeg") center center/cover no-repeat;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(255,255,255,.88),
        rgba(255,255,255,.35)
    );
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:850px;
    text-align:center;
    color: black;
    padding:20px;
}

.hero-content h1{
    font-size:58px;
    font-weight:700;
    margin-bottom:20px;
}

.hero-content p{
    font-size:20px;
    line-height:1.8;
    max-width:760px;
    margin:auto;
}

/*=========================================
            INTRO
=========================================*/

.products-intro{
    padding:90px 8%;
    background:var(--light);
}

.container{
    width:min(1200px,100%);
    margin:auto;
}

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

.section-title span{
    color:var(--primary);
    text-transform:uppercase;
    letter-spacing:2px;
    font-weight:600;
    font-size:14px;
}

.section-title h2{
    font-size:40px;
    color:var(--dark);
    margin-top:10px;
}

.products-intro p{
    max-width:900px;
    margin:auto;
    text-align:center;
    color:var(--text);
    line-height:2;
    font-size:18px;
}

/*=========================================
            PRODUCTS
=========================================*/

.products-section{
    padding:90px 8%;
    background:#fff;
}

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

.product-card{
    background:#fff;
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:.4s;
    display:flex;
    flex-direction:column;
}

.product-card:hover{
    transform:translateY(-12px);
    box-shadow:0 25px 45px rgba(0,0,0,.15);
}

.product-card img{
    width:100%;
    height:250px;
    object-fit:cover;
    transition:.5s;
}

.product-card:hover img{
    transform:scale(1.08);
}

.product-content{
    padding:28px;
    flex:1;
    display:flex;
    flex-direction:column;
}

.product-content h3{
    color:var(--primary);
    margin-bottom:15px;
    font-size:25px;
}

.product-content p{
    color:var(--text);
    line-height:1.8;
    margin-bottom:25px;
    flex:1;
}

.product-btn{
    display:inline-block;
    width:fit-content;
    padding:12px 28px;
    border-radius:50px;
    background:var(--primary);
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:.35s;
}

.product-btn:hover{
    background:var(--secondary);
    transform:translateY(-3px);
}

/*=========================================
        GLASS EFFECT
=========================================*/

.product-card{
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.35);
}

/*=========================================
        IMAGE HOVER
=========================================*/

.product-card{
    position:relative;
}

.product-card::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.12),
        transparent 60%
    );

    opacity:0;

    transition:.4s;
}

.product-card:hover::after{

    opacity:1;

}

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

@media(max-width:1100px){

.product-grid{

grid-template-columns:repeat(2,1fr);

}

.hero-content h1{

font-size:48px;

}

}

@media(max-width:768px){

.products-hero{

height:60vh;

min-height:420px;

}

.hero-content h1{

font-size:38px;

}

.hero-content p{

font-size:17px;

}

.section-title h2{

font-size:32px;

}

.products-intro{

padding:70px 6%;

}

.products-section{

padding:70px 6%;

}

.product-grid{

grid-template-columns:1fr;

gap:30px;

}

.product-card img{

height:220px;

}

}

@media(max-width:480px){

.hero-content h1{

font-size:30px;

}

.hero-content p{

font-size:15px;

line-height:1.7;

}

.section-title h2{

font-size:28px;

}

.product-content{

padding:22px;

}

.product-content h3{

font-size:22px;

}

.product-btn{

padding:11px 22px;

font-size:14px;

}

}/*=================================================
        WHY CHOOSE OUR PRODUCTS
=================================================*/

.why-products{
    padding:90px 8%;
    background:#f7fbf5;
}

.features-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    margin-top:50px;
}

.feature-card{
    background:#fff;
    border-radius:18px;
    padding:40px 30px;
    text-align:center;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.35s ease;
    border:1px solid rgba(0,0,0,.05);
}

.feature-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.feature-card i{
    width:80px;
    height:80px;
    line-height:80px;
    border-radius:50%;
    background:linear-gradient(135deg,#2E7D32,#66BB6A);
    color:#fff;
    font-size:34px;
    margin-bottom:25px;
}

.feature-card h3{
    font-size:24px;
    color:#2E7D32;
    margin-bottom:15px;
}

.feature-card p{
    color:#666;
    line-height:1.8;
}

/*=================================================
            DEVELOPMENT PROCESS
=================================================*/

.development-process{
    padding:90px 8%;
    background:#fff;
}

.timeline{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:25px;
    margin-top:60px;
}

.timeline-item{
    text-align:center;
    position:relative;
    padding:25px;
}

.timeline-item::after{
    content:"";
    position:absolute;
    top:40px;
    right:-15px;
    width:30px;
    height:3px;
    background:#66BB6A;
}

.timeline-item:last-child::after{
    display:none;
}

.timeline-icon{
    width:90px;
    height:90px;
    border-radius:50%;
    margin:auto;
    background:linear-gradient(135deg,#2E7D32,#66BB6A);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:36px;
    margin-bottom:20px;
    box-shadow:0 12px 30px rgba(46,125,50,.25);
}

.timeline-item h3{
    color:#2E7D32;
    margin-bottom:12px;
    font-size:22px;
}

.timeline-item p{
    color:#666;
    line-height:1.8;
    font-size:15px;
}

/*=================================================
                    FAQ
=================================================*/

.faq-section{
    padding:90px 8%;
    background:#f8fcf7;
}

.faq-container{
    max-width:900px;
    margin:50px auto 0;
}

.faq-item{
    background:#fff;
    border-radius:15px;
    padding:28px;
    margin-bottom:20px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.faq-item:hover{
    transform:translateY(-5px);
}

.faq-item h3{
    color:#2E7D32;
    margin-bottom:15px;
    font-size:22px;
}

.faq-item p{
    color:#666;
    line-height:1.9;
}

/*=================================================
                CTA SECTION
=================================================*/

.products-cta{
    padding:90px 8%;
    text-align:center;
    background:linear-gradient(rgba(34,90,44,.82),rgba(34,90,44,.82)),
    url("../images/cta.jpeg") center/cover;
    color:#fff;
}

.products-cta h2{
    font-size:42px;
    margin-bottom:20px;
}

.products-cta p{
    max-width:700px;
    margin:auto;
    line-height:1.9;
    font-size:18px;
    margin-bottom:35px;
}

.cta-btn{
    display:inline-block;
    padding:16px 42px;
    border-radius:50px;
    text-decoration:none;
    background:#fff;
    color:#2E7D32;
    font-weight:600;
    transition:.35s;
}

.cta-btn:hover{
    background:#66BB6A;
    color:#fff;
    transform:translateY(-5px);
}

/*=================================================
            PRODUCT CARD ANIMATION
=================================================*/

.product-card,
.feature-card,
.timeline-item,
.faq-item{
    animation:fadeUp .8s ease both;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(35px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

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

@media (max-width:1100px){

.features-grid{
    grid-template-columns:repeat(2,1fr);
}

.timeline{
    grid-template-columns:repeat(2,1fr);
}

.timeline-item::after{
    display:none;
}

}

@media (max-width:768px){

.why-products,
.development-process,
.faq-section,
.products-cta{

    padding:70px 6%;

}

.features-grid{

    grid-template-columns:1fr;

}

.timeline{

    grid-template-columns:1fr;

}

.products-cta h2{

    font-size:32px;

}

.products-cta p{

    font-size:16px;

}

.feature-card{

    padding:35px 25px;

}

.timeline-icon{

    width:75px;
    height:75px;
    font-size:28px;

}

}

@media (max-width:480px){

.feature-card h3{

    font-size:21px;

}

.timeline-item h3{

    font-size:20px;

}

.faq-item{

    padding:22px;

}

.faq-item h3{

    font-size:20px;

}

.products-cta h2{

    font-size:28px;

}

.cta-btn{

    padding:14px 30px;
    font-size:15px;

}

}