/* ===========================================
   THE SPROUT SCHOOL
   Global Styles
=========================================== */

:root{

    --forest:#1E7534;
    --leaf:#3BA245;
    --mint:#E8F5E9;
    --marigold:#FBB034;
    --charcoal:#213926;
    --white:#ffffff;
    --light:#f8f8f8;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;
    color:var(--charcoal);
    background:#fff;
    line-height:1.7;

}

img{

    max-width:100%;
    display:block;

}

.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}

section{

    padding:80px 0;

}

a{

    text-decoration:none;
    color:var(--forest);

}

ul{

    list-style:none;

}

/* =====================
Typography
===================== */

h1,h2,h3,h4{

    font-family:'Quicksand',sans-serif;
    color:var(--charcoal);
    margin-bottom:20px;

}

h1{

    font-size:52px;
    line-height:1.2;

}

h2{

    font-size:38px;

}

h3{

    font-size:20px;

}

p{

    margin-bottom:18px;

}

/* =====================
Buttons
===================== */

.btn-primary{

    background:var(--marigold);
    color:var(--charcoal);
    padding:14px 30px;
    border-radius:6px;
    display:inline-block;
    font-weight:600;
    transition:.3s;

}

.btn-primary:hover{

    background:#f2a100;

}

.btn-secondary{

    border:2px solid white;
    color:white;
    padding:12px 28px;
    border-radius:6px;
    margin-left:15px;
    transition:.3s;

}

.btn-secondary:hover{

    background:white;
    color:var(--forest);

}

.btn-dark{

    background:var(--forest);
    color:white;
    padding:15px 35px;
    border-radius:6px;
    display:inline-block;

}

/* =====================
Header
===================== */

header{

    background:var(--forest);
    position:sticky;
    top:0;
    z-index:1000;

}

.nav{

    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;

}

.logo img{

    height:65px;

}

nav ul{

    display:flex;
    align-items:center;
    gap:25px;

}

nav a{

    color:white;
    font-weight:500;

}

nav a:hover{

    color:var(--marigold);

}

/* =====================
Hero
===================== */

.hero{

    background:var(--forest);
    color:white;
    padding:79px 0;

} 

.hero h1{

    color:white;
    max-width:800px;

}

.hero p{

    color:white;

}

.hero-tag{

    color:#d5f3da;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:2px;

}

.hero-text{

    max-width:700px;
    font-size:18px;

}

.hero-buttons{

    margin-top:40px;
    margin-bottom:45px;

}

.hero-pills{

    display:flex;
    flex-wrap:wrap;
    gap:12px;

}

.hero-pills a{

    background:white;
    color:var(--forest);
    padding:10px 18px;
    border-radius:40px;
    font-size:14px;
    transition:.3s;

}

.hero-pills a:hover{

    background:var(--marigold);

}

/* =====================
Page Hero
===================== */

.page-hero,
.article-hero{

    background:var(--forest);
    color:white;
    text-align:center;
    padding:90px 0;

}

.page-hero h1,
.article-hero h1{

    color:white;

}

.page-hero p,
.article-hero p{

    color:white;

}

/* =====================
Search
===================== */

.search-form{

    display:flex;
    justify-content:center;
    margin-top:30px;
    gap:10px;

}

.search-form input{

    width:400px;
    max-width:100%;
    padding:14px;
    border:none;
    border-radius:6px;

}

.search-form button{

    background:var(--marigold);
    border:none;
    padding:14px 25px;
    border-radius:6px;
    cursor:pointer;
    font-weight:600;

}

/* =====================
Category Pills
===================== */

.categories{

    background:var(--mint);

}

.category-pill{

    display:inline-block;
    margin:8px;
    background:white;
    color:var(--forest);
    padding:10px 18px;
    border-radius:30px;
    font-size:14px;

}

.category-pill.active{

    background:var(--forest);
    color:white;

}

/* =====================
Cards
===================== */

.blog-grid,
.pillar-grid,
.trust-grid{

    display:grid;
    gap:30px;

}

.blog-grid{

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

}

.blog-card{

    background:var(--mint);
    padding:30px;
    border-radius:10px;
    transition:.3s;

}

.blog-card:hover{

    transform:translateY(-5px);

}

.blog-card .category{

    display:inline-block;
    background:var(--leaf);
    color:white;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
    margin-bottom:15px;

}

/* =====================
Forms
===================== */

input,
textarea{

    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:6px;
    margin-bottom:15px;
    font-size:15px;

}

button{

    cursor:pointer;
    border:none;

}


/* ===========================================
   TRUST STRIP
=========================================== */

.trust{
    background:var(--mint);
}

.trust-grid{
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}

.trust-card{
    background:#fff;
    padding:35px;
    border-radius:10px;
    border:1px solid #d9eadb;
}

.trust-card h3{
    color:var(--forest);
    margin-bottom:15px;
}

/* ===========================================
   WHY SPROUT
=========================================== */

.why{
    background:#fff;
}

.why h2{
    text-align:center;
    max-width:750px;
    margin:0 auto 50px;
}

.why-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.problem,
.solution{
    background:var(--mint);
    padding:35px;
    border-radius:10px;
}

.problem ul li,
.solution ul li{
    margin-bottom:15px;
    font-size:17px;
}

.highlight{
    margin-top:50px;
    text-align:center;
    font-size:24px;
    font-weight:600;
    color:var(--forest);
}

/* ===========================================
   FOUR PILLARS
=========================================== */

.pillars{
    background:var(--mint);
}

.pillars h2{
    text-align:center;
    margin-bottom:50px;
}

.pillar-grid{
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
}

.pillar{
    background:#fff;
    padding:30px;
    border-radius:10px;
    border:1px solid #d9eadb;
    transition:.3s;
}

.pillar:hover{
    transform:translateY(-5px);
}

.pillar h3{
    color:var(--forest);
}

.pillar a{
    font-weight:600;
    display:inline-block;
    margin-top:15px;
}

/* ===========================================
   NEWSLETTER
=========================================== */

.newsletter{
    background:var(--forest);
    color:#fff;
}

.newsletter-box{
    text-align:center;
    max-width:800px;
}

.newsletter h2{
    color:#fff;
}

.newsletter p{
    color:#fff;
}

.newsletter form{
    display:grid;
    grid-template-columns:1fr 1fr auto;
    gap:15px;
    margin:35px 0;
}

.newsletter input{
    margin:0;
}

.newsletter small{
    color:#d9eadb;
}

/* ===========================================
   BLOG PREVIEW
=========================================== */

.latest-blog{
    background:#fff;
}

.latest-blog h2{
    text-align:center;
}

.section-intro{
    text-align:center;
    margin-bottom:50px;
}

.center{
    text-align:center;
    margin-top:40px;
}

/* ===========================================
   CTA
=========================================== */

.cta{
    background:var(--marigold);
    text-align:center;
}

.cta h2{
    color:var(--charcoal);
}

.cta p{
    max-width:700px;
    margin:20px auto 35px;
}

/* ===========================================
   BLOG LAYOUT
=========================================== */

.blog-layout{
    display:grid;
    grid-template-columns:2fr 340px;
    gap:40px;
}

.sidebar-card{
    background:var(--mint);
    padding:30px;
    border-radius:10px;
    margin-bottom:30px;
}

.sidebar-card h3{
    color:var(--forest);
}

.sidebar-card ul{
    padding-left:20px;
}

.sidebar-card li{
    margin-bottom:12px;
}

.sidebar-card form{
    margin-top:20px;
}

.pagination{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:50px;
}

.pagination a{
    padding:10px 15px;
    border:1px solid #ddd;
    border-radius:6px;
}

.pagination .current{
    background:var(--forest);
    color:#fff;
}

/* ===========================================
   ARTICLE PAGE
=========================================== */

.article-layout{
    display:grid;
    grid-template-columns:2fr 320px;
    gap:50px;
}

.featured-image{
    border-radius:10px;
    margin-bottom:30px;
}

.article-content h2{
    margin-top:40px;
}

.article-content ul{
    padding-left:25px;
    margin-bottom:25px;
}

.article-content li{
    margin-bottom:12px;
}

blockquote{
    background:var(--mint);
    border-left:5px solid var(--forest);
    padding:25px;
    margin:35px 0;
    font-size:22px;
    font-style:italic;
}

.article-meta{
    opacity:.85;
}

.related-posts{
    background:var(--light);
}

/* ===========================================
   FOOTER
=========================================== */

footer{
    background:var(--charcoal);
    color:#fff;
    padding-top:60px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:40px;
}

footer h3,
footer h4{
    color:#fff;
}

footer a{
    color:#d7f4dc;
}

footer li{
    margin-bottom:12px;
}

.copyright{
    text-align:center;
    border-top:1px solid rgba(255,255,255,.15);
    margin-top:40px;
    padding:25px;
    font-size:14px;
}

/* ===========================================
   RESPONSIVE
=========================================== */

@media (max-width:992px){

nav ul{
    flex-wrap:wrap;
    justify-content:center;
}

.hero h1{
    font-size:42px;
}

.why-grid,
.blog-layout,
.article-layout{
    grid-template-columns:1fr;
}

.newsletter form{
    grid-template-columns:1fr;
}

}

@media (max-width:768px){

section{
    padding:60px 0;
}

.nav{
    flex-direction:column;
    gap:20px;
}

nav ul{
    flex-direction:column;
    gap:15px;
}

.hero{
    text-align:center;
    padding:80px 0;
}

.hero h1{
    font-size:34px;
}

.hero-buttons{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.btn-secondary{
    margin-left:0;
}

.hero-pills{
    justify-content:center;
}

h2{
    font-size:30px;
}

blockquote{
    font-size:18px;
}

}

@media (max-width:480px){

.container{
    width:94%;
}

.hero h1{
    font-size:28px;
}

.blog-grid{
    grid-template-columns:1fr;
}

.btn-primary,
.btn-dark,
.btn-secondary{
    width:100%;
    text-align:center;
}

.search-form{
    flex-direction:column;
}

.search-form button{
    width:100%;
}

}

/* ===========================================
   POLICY PAGES
=========================================== */

.policy-page{
    background:#ffffff;
}

.policy-page .container{
    max-width:900px;
}

.policy-page h2{
    color:var(--forest);
    margin-top:40px;
    margin-bottom:15px;
    font-size:30px;
}

.policy-page p{
    margin-bottom:20px;
    line-height:1.8;
}

.policy-page ul{
    margin:20px 0;
    padding-left:25px;
}

.policy-page li{
    margin-bottom:12px;
    line-height:1.7;
}

.policy-page strong{
    color:var(--forest);
}

.policy-page a{
    color:var(--forest);
    font-weight:600;
}

.policy-page table{
    width:100%;
    border-collapse:collapse;
    margin:30px 0;
}

.policy-page table th,
.policy-page table td{
    border:1px solid #ddd;
    padding:12px;
    text-align:left;
}

.policy-page table th{
    background:var(--mint);
}

/* Last Updated Box */

.last-updated{
    background:var(--mint);
    padding:20px;
    border-left:5px solid var(--forest);
    border-radius:6px;
    margin-top:40px;
}