/* ==========================================================
   DailyZour Premium Homepage CSS
   Part 1/3
========================================================== */


/* ==========================================================
   ROOT VARIABLES
========================================================== */

:root{

    --primary:#2E7D32;
    --primary-dark:#1B5E20;
    --secondary:#43A047;

    --white:#ffffff;
    --light:#F8FBF9;

    --text:#1F2937;
    --text-light:#6B7280;

    --border:#E5E7EB;

    --radius:22px;

    --shadow:0 15px 45px rgba(0,0,0,.08);

    --transition:.35s ease;

}


/* ==========================================================
   RESET
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


html{
    scroll-behavior:smooth;
}


body{

    font-family:Inter,Arial,sans-serif;

    background:#ffffff;

    color:var(--text);

    line-height:1.75;

}


img{

    display:block;

    max-width:100%;

    height:auto;

}


a{

    text-decoration:none;

    transition:var(--transition);

}


.dz-home{

    overflow:hidden;

}


/* ==========================================================
   CONTAINER
========================================================== */

.dz-container{

    width:1280px;

    max-width:92%;

    margin:auto;

}


/* ==========================================================
   SECTION
========================================================== */

.dz-home section{

    padding:110px 0;

}


/* ==========================================================
   HEADINGS
========================================================== */

.dz-section-heading{

    text-align:center;

    margin-bottom:70px;

}


.dz-section-heading h2{

    font-size:48px;

    font-weight:800;

    line-height:1.2;

    margin:18px 0 20px;

}


.dz-section-heading p{

    max-width:760px;

    margin:auto;

    font-size:18px;

    color:var(--text-light);

}


/* ==========================================================
   BADGE
========================================================== */

.dz-badge{

    display:inline-block;

    padding:10px 20px;

    border-radius:50px;

    background:#E8F5E9;

    color:var(--primary);

    font-size:14px;

    font-weight:700;

    letter-spacing:.5px;

    text-transform:uppercase;

}


/* ==========================================================
   BUTTONS
========================================================== */

.dz-buttons{

    display:flex;

    gap:20px;

    margin-top:40px;

    margin-bottom:45px;

}


.dz-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 36px;

    border-radius:60px;

    font-size:16px;

    font-weight:700;

    transition:.3s ease;

}


.dz-btn-primary{

    background:var(--primary);

    color:#fff;

}


.dz-btn-primary:hover{

    background:var(--primary-dark);

    transform:translateY(-3px);

}


.dz-btn-light{

    background:#fff;

    border:2px solid var(--primary);

    color:var(--primary);

}


.dz-btn-light:hover{

    background:var(--primary);

    color:#fff;

}


/* ==========================================================
   HERO FIXED VERSION
========================================================== */

.dz-hero{

    background:linear-gradient(
        180deg,
        #ffffff 0%,
        #F6FBF7 100%
    );

    padding:80px 0;

}


.dz-hero-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:50px;

}


/* HERO TEXT */

.dz-hero-content h1{

    font-size:64px;

    font-weight:900;

    line-height:1.12;

    margin:20px 0;

    letter-spacing:-1px;

}


.dz-hero-content p{

    font-size:19px;

    max-width:580px;

    line-height:1.8;

}



/* HERO IMAGE */

.dz-hero-image{

    display:flex;

    justify-content:center;

}


.dz-hero-image img{

    width:100%;

    max-width:560px;

    height:auto;

    aspect-ratio:4 / 5;

    object-fit:cover;

    border-radius:30px;

    box-shadow:0 25px 60px rgba(0,0,0,.12);

}



/* ==========================================================
   TABLET
========================================================== */

@media(max-width:992px){

    .dz-hero-grid{

        grid-template-columns:1fr;

        text-align:center;

    }


    .dz-hero-content p{

        margin:auto;

    }


    .dz-hero-image{

        margin-top:40px;

    }


    .dz-hero-image img{

        max-width:500px;

    }


}



/* ==========================================================
   MOBILE
========================================================== */

@media(max-width:768px){


    .dz-hero{

        padding:50px 0;

    }


    .dz-hero-content h1{

        font-size:40px;

    }


    .dz-hero-content p{

        font-size:16px;

    }


    .dz-hero-image img{

        width:100%;

        aspect-ratio:1 / 1.15;

        border-radius:22px;

    }

}



/* SMALL MOBILE */

@media(max-width:480px){


    .dz-hero-content h1{

        font-size:34px;

    }


    .dz-hero-image img{

        aspect-ratio:1 / 1.2;

    }

}


/* ==========================================================
   FEATURE LIST
========================================================== */

.dz-feature-list{

    display:flex;

    flex-direction:column;

    gap:20px;

    margin-top:25px;

}


.feature{

    display:flex;

    align-items:center;

    gap:18px;

}


.feature-icon{

    width:60px;

    height:60px;

    border-radius:50%;

    background:#E8F5E9;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-shrink:0;

}


.feature-icon .dashicons{

    font-size:30px;

    width:30px;

    height:30px;

    color:var(--primary);

}


.feature strong{

    display:block;

    font-size:18px;

    font-weight:700;

    margin-bottom:3px;

}


.feature small{

    font-size:15px;

    color:var(--text-light);

}


/* ==========================================================
   HERO IMAGE
========================================================== */

.dz-hero-image{

    display:flex;

    justify-content:flex-end;

    align-items:center;

}


.dz-hero-image img{

    width:100%;

    max-width:620px;

    height:650px;

    object-fit:cover;

    border-radius:35px;

    box-shadow:0 35px 70px rgba(0,0,0,.12);

}


/* ==========================================================
   STATS SECTION
========================================================== */

.dz-stats{

    padding:50px 0 90px !important;

}


.dz-stats-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}


.stat{

    background:#fff;

    border-radius:20px;

    padding:35px;

    display:flex;

    align-items:center;

    gap:20px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}


.stat:hover{

    transform:translateY(-8px);

}


.stat .dashicons{

    font-size:38px;

    width:38px;

    height:38px;

    color:var(--primary);

}


.stat strong{

    display:block;

    font-size:28px;

    font-weight:800;

    margin-bottom:5px;

}


.stat p{

    font-size:15px;

    color:var(--text-light);

}
/* ==========================================================
   FEATURED ARTICLES
========================================================== */

.dz-featured{

    background:#fff;

}


.dz-post-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}


/* ARTICLE CARD */

.dz-card{

    background:#fff;

    border-radius:24px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:var(--transition);

}


.dz-card:hover{

    transform:translateY(-10px);

    box-shadow:0 30px 60px rgba(0,0,0,.12);

}


.dz-card img{

    width:100%;

    height:270px;

    object-fit:cover;

    transition:transform .45s ease;

}


.dz-card:hover img{

    transform:scale(1.08);

}


.dz-card-content{

    padding:30px;

}


/* CATEGORY LABEL */

.dz-category{

    display:inline-block;

    padding:8px 16px;

    border-radius:30px;

    background:#E8F5E9;

    color:var(--primary);

    font-size:13px;

    font-weight:700;

    margin-bottom:18px;

}


.dz-card h3{

    font-size:24px;

    line-height:1.35;

    margin-bottom:18px;

}


.dz-card h3 a{

    color:var(--text);

}


.dz-card h3 a:hover{

    color:var(--primary);

}


.dz-card p{

    font-size:16px;

    line-height:1.8;

    color:var(--text-light);

    margin-bottom:22px;

}


/* READ MORE */

.readmore{

    display:inline-flex;

    align-items:center;

    font-weight:700;

    color:var(--primary);

    transition:.3s ease;

}


.readmore:hover{

    letter-spacing:.5px;

}



/* ==========================================================
   CATEGORY SECTION
========================================================== */

.dz-categories{

    background:#F8FBF9;

}


.dz-category-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}



/* CATEGORY CARD */

.dz-category-card{

    background:#fff;

    border-radius:22px;

    padding:40px 25px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

}


.dz-category-card:hover{

    transform:translateY(-8px);

    background:var(--primary);

}



/* CATEGORY ICON */

.dz-category-icon{

    width:90px;

    height:90px;

    margin:0 auto 25px;

    border-radius:50%;

    background:#E8F5E9;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:var(--transition);

}


.dz-category-card:hover .dz-category-icon{

    background:rgba(255,255,255,.18);

}



.dz-category-icon .dashicons{

    font-size:42px;

    width:42px;

    height:42px;

    color:var(--primary);

    transition:var(--transition);

}



.dz-category-card:hover .dashicons{

    color:#fff;

}



/* CATEGORY TEXT */

.dz-category-card h3{

    font-size:22px;

    margin-bottom:12px;

    color:var(--text);

    transition:var(--transition);

}


.dz-category-card:hover h3{

    color:#fff;

}



.dz-category-card p{

    font-size:15px;

    color:var(--text-light);

    transition:var(--transition);

}



.dz-category-card:hover p{

    color:#fff;

}



/* ==========================================================
   WHY CHOOSE SECTION
========================================================== */

.dz-why-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}



.dz-why-card{

    background:#fff;

    border-radius:24px;

    padding:40px 30px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

}



.dz-why-card:hover{

    transform:translateY(-8px);

}



.dz-why-icon{

    width:80px;

    height:80px;

    margin:0 auto 25px;

    background:#E8F5E9;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

}



.dz-why-icon .dashicons{

    font-size:38px;

    color:var(--primary);

}



.dz-why-card h3{

    font-size:22px;

    margin-bottom:15px;

}



.dz-why-card p{

    color:var(--text-light);

    font-size:16px;

}



/* ==========================================================
   NEWSLETTER SECTION
========================================================== */

.dz-newsletter{

    background:linear-gradient(
        135deg,
        #E8F5E9,
        #ffffff
    );

}



.dz-newsletter-box{

    text-align:center;

    max-width:800px;

    margin:auto;

    padding:60px 40px;

    border-radius:30px;

    background:#fff;

    box-shadow:var(--shadow);

}



.dz-newsletter-box h2{

    font-size:42px;

    font-weight:800;

    margin-bottom:20px;

}



.dz-newsletter-box p{

    color:var(--text-light);

    font-size:18px;

    margin-bottom:30px;

}



.dz-newsletter-form{

    display:flex;

    justify-content:center;

    gap:15px;

}



.dz-newsletter-form input{

    width:350px;

    padding:16px 22px;

    border:1px solid var(--border);

    border-radius:50px;

    font-size:16px;

}



.dz-newsletter-form button{

    border:none;

    cursor:pointer;

}



/* ==========================================================
   FINAL COMMON HOVER
========================================================== */

.dz-card,
.dz-category-card,
.dz-why-card,
.stat{

    transition:all .35s ease;

}



/* ==========================================================
   ANIMATION CLASSES
========================================================== */

.dz-hidden{

    opacity:0;

    transform:translateY(40px);

    transition:.8s ease;

}


.dz-show{

    opacity:1;

    transform:translateY(0);

}
/* ==========================================================
   RESPONSIVE DESIGN
========================================================== */


/* ==========================================================
   LARGE TABLET / SMALL LAPTOP
   BELOW 1200px
========================================================== */

@media(max-width:1200px){

    .dz-container{

        max-width:94%;

    }


    .dz-hero-grid{

        gap:40px;

    }


    .dz-hero-content h1{

        font-size:58px;

    }


    .dz-section-heading h2{

        font-size:42px;

    }


    .dz-stats-grid{

        grid-template-columns:repeat(2,1fr);

    }


    .dz-category-grid{

        grid-template-columns:repeat(2,1fr);

    }


    .dz-post-grid{

        grid-template-columns:repeat(2,1fr);

    }


}



/* ==========================================================
   TABLET
   BELOW 992px
========================================================== */

@media(max-width:992px){


    .dz-home section{

        padding:80px 0;

    }


    .dz-hero{

        padding-top:50px !important;

    }


    .dz-hero-grid{

        grid-template-columns:1fr;

        text-align:center;

    }


    .dz-hero-content p{

        margin:auto;

    }


    .dz-buttons{

        justify-content:center;

    }


    .dz-feature-list{

        align-items:flex-start;

        max-width:420px;

        margin:30px auto 0;

        text-align:left;

    }


    .dz-hero-image{

        justify-content:center;

        margin-top:40px;

    }


    .dz-hero-image img{

        max-width:520px;

        height:560px;

    }


    .dz-post-grid{

        grid-template-columns:1fr;

        max-width:600px;

        margin:auto;

    }


    .dz-why-grid{

        grid-template-columns:1fr;

        max-width:500px;

        margin:auto;

    }


}



/* ==========================================================
   MOBILE
   BELOW 768px
========================================================== */

@media(max-width:768px){


    .dz-container{

        max-width:92%;

    }



    .dz-home section{

        padding:65px 0;

    }



    .dz-section-heading{

        margin-bottom:45px;

    }



    .dz-section-heading h2{

        font-size:34px;

    }



    .dz-section-heading p{

        font-size:16px;

    }



    /* HERO */


    .dz-hero-content h1{

        font-size:42px;

        line-height:1.15;

        letter-spacing:0;

    }



    .dz-hero-content p{

        font-size:17px;

        line-height:1.7;

    }



    .dz-buttons{

        flex-direction:column;

        gap:15px;

        margin-top:30px;

    }



    .dz-btn{

        width:100%;

        padding:15px 25px;

    }



    .dz-feature-list{

        gap:18px;

    }



    .feature{

        align-items:flex-start;

    }



    .feature-icon{

        width:52px;

        height:52px;

    }



    .feature strong{

        font-size:16px;

    }



    .feature small{

        font-size:14px;

    }



    .dz-hero-image img{

        height:420px;

        border-radius:25px;

    }



    /* STATS */


    .dz-stats-grid{

        grid-template-columns:1fr;

    }



    .stat{

        padding:28px;

    }



    .stat strong{

        font-size:25px;

    }



    /* ARTICLES */


    .dz-card img{

        height:230px;

    }



    .dz-card-content{

        padding:25px;

    }



    .dz-card h3{

        font-size:21px;

    }



    /* CATEGORIES */


    .dz-category-grid{

        grid-template-columns:1fr;

    }



    .dz-category-card{

        padding:35px 25px;

    }



    /* NEWSLETTER */


    .dz-newsletter-box{

        padding:40px 25px;

    }



    .dz-newsletter-box h2{

        font-size:32px;

    }



    .dz-newsletter-form{

        flex-direction:column;

    }



    .dz-newsletter-form input{

        width:100%;

    }



}



/* ==========================================================
   SMALL MOBILE
   BELOW 480px
========================================================== */

@media(max-width:480px){


    .dz-hero-content h1{

        font-size:34px;

    }


    .dz-section-heading h2{

        font-size:30px;

    }


    .dz-badge{

        font-size:12px;

        padding:8px 15px;

    }


    .dz-hero-image img{

        height:340px;

    }


    .feature-icon{

        width:46px;

        height:46px;

    }


    .feature-icon .dashicons{

        font-size:24px;

    }


    .dz-category-icon{

        width:75px;

        height:75px;

    }


    .dz-newsletter-box h2{

        font-size:28px;

    }


}
/* ==========================================================
   HERO FINAL FIX
========================================================== */

.dz-hero{
    padding:80px 0 !important;
}


.dz-hero-grid{
    grid-template-columns:1fr 1fr;
    gap:50px;
}


.dz-hero-content h1{
    font-size:64px;
    line-height:1.12;
}


.dz-hero-image img{
    width:100%;
    max-width:560px;
    height:auto !important;
    aspect-ratio:4 / 5;
    object-fit:cover;
    border-radius:30px;
}


/* Tablet */

@media(max-width:992px){

    .dz-hero-grid{
        grid-template-columns:1fr;
        text-align:center;
    }


    .dz-hero-image{
        justify-content:center;
        margin-top:40px;
    }


    .dz-hero-image img{
        max-width:500px;
    }

}



/* Mobile */

@media(max-width:768px){

    .dz-hero{
        padding:50px 0 !important;
    }


    .dz-hero-content h1{
        font-size:40px;
    }


    .dz-hero-image img{
        aspect-ratio:1 / 1.15;
    }

}



/* Small Mobile */

@media(max-width:480px){

    .dz-hero-content h1{
        font-size:34px;
    }


    .dz-hero-image img{
        aspect-ratio:1 / 1.2;
    }

}
/* ==========================================================
   HERO IMAGE FINAL FIX
========================================================== */

.dz-hero-image img{

    width:100%;

    max-width:520px;

    height:620px;

    object-fit:cover;

    object-position:center;

    border-radius:30px;

}


/* MOBILE HERO IMAGE */

@media(max-width:768px){

    .dz-hero-image img{

        height:420px;

        width:100%;

    }

}
 /* ==========================================================
   HERO IMAGE SIZE FIX
========================================================== */

.dz-hero-image{

    display:flex;

    justify-content:center;

    align-items:center;

}


.dz-hero-image img{

    width:100%;

    max-width:620px;

    height:620px !important;

    object-fit:cover !important;

    object-position:center;

    border-radius:35px;

    box-shadow:0 35px 70px rgba(0,0,0,.12);

}


/* TABLET */

@media(max-width:992px){

    .dz-hero-image img{

        height:520px !important;

        max-width:520px;

    }

}


/* MOBILE */

@media(max-width:768px){

    .dz-hero-image img{

        height:420px !important;

        width:100%;

    }

}


/* SMALL MOBILE */

@media(max-width:480px){

    .dz-hero-image img{

        height:360px !important;

    }

}