/* =====================================================
   LITTLE EXPLORERS LEARNING HUB
   Studies Page Stylesheet
===================================================== */

/* =====================================================
   CSS VARIABLES
===================================================== */

:root{

    --primary:#4d7c59;
    --primary-dark:#355e3b;
    --primary-light:#eaf5ec;

    --secondary:#d8b56a;
    --secondary-dark:#b38f45;

    --accent:#6f9f77;

    --background:#f7faf7;
    --surface:#ffffff;
    --surface-alt:#f3f7f3;

    --text-dark:#253126;
    --text:#4d5b4f;
    --text-light:#6e7b70;

    --border:#dbe6dc;

    --success:#2d7a3e;
    --warning:#c98b1c;
    --danger:#b94141;

    --shadow-sm:0 4px 12px rgba(0,0,0,.05);
    --shadow:0 12px 30px rgba(0,0,0,.08);
    --shadow-lg:0 22px 55px rgba(0,0,0,.12);

    --radius-sm:12px;
    --radius:18px;
    --radius-lg:28px;

    --transition:.3s ease;

    --container:1280px;

}

/* =====================================================
   RESET
===================================================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Inter",sans-serif;
    font-size:16px;
    line-height:1.7;
    color:var(--text);
    background:var(--background);
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
}

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

picture{
    display:block;
}

a{
    color:inherit;
    text-decoration:none;
    transition:var(--transition);
}

button,
input,
select,
textarea{
    font:inherit;
}

button{
    cursor:pointer;
    border:none;
    background:none;
}

ul{
    list-style:none;
}

/* =====================================================
   TYPOGRAPHY
===================================================== */

h1,
h2,
h3,
h4,
h5,
h6{
    font-family:"Nunito",sans-serif;
    color:var(--text-dark);
    line-height:1.2;
    font-weight:800;
}

h1{
    font-size:clamp(2.8rem,5vw,4.5rem);
}

h2{
    font-size:clamp(2rem,4vw,3.2rem);
}

h3{
    font-size:1.45rem;
}

p{
    color:var(--text-light);
}

/* =====================================================
   LAYOUT
===================================================== */

.container{
    width:min(92%,var(--container));
    margin-inline:auto;
}

section{
    padding:6rem 0;
}

/* =====================================================
   BUTTONS
===================================================== */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.6rem;

    padding:1rem 2rem;

    border-radius:999px;

    font-weight:700;

    transition:var(--transition);

    white-space:nowrap;
}

.btn-primary{

    background:var(--primary);
    color:#fff;
    box-shadow:var(--shadow-sm);

}

.btn-primary:hover{

    background:var(--primary-dark);
    transform:translateY(-3px);
    box-shadow:var(--shadow);

}

.btn-secondary{

    background:#fff;
    color:var(--primary);

    border:2px solid var(--primary);

}

.btn-secondary:hover{

    background:var(--primary);
    color:#fff;

    transform:translateY(-3px);

}

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

.site-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(0,0,0,.06);
    box-shadow:0 4px 20px rgba(0,0,0,.04);
}

.nav-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:82px;
    gap:28px;
}

/*=====================================================
  LOGO
=====================================================*/

.logo{
    display:flex;
    align-items:center;
    gap:14px;
    flex-shrink:0;
}

.logo img{
    width:64px;
    height:64px;
    object-fit:contain;
}

.logo-text{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.logo-text h1{
    margin:0;
    font-size:1.5rem;
    line-height:1.05;
    font-weight:800;
    letter-spacing:-.02em;
    white-space:nowrap;
}

.logo-text span{
    margin-top:4px;
    font-size:.82rem;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--primary);
}

/*=====================================================
  NAVIGATION
=====================================================*/

.main-nav{
    margin-left:auto;
}

.main-nav ul{
    display:flex;
    align-items:center;
    gap:20px;
    margin:0;
    padding:0;
    list-style:none;
}

.main-nav a{
    position:relative;
    display:inline-flex;
    align-items:center;
    padding:6px 0;
    font-weight:600;
    color:var(--text);
    text-decoration:none;
    transition:var(--transition);
}

.main-nav a:hover{
    color:var(--primary);
}

.main-nav a.active{
    color:var(--primary);
}

.main-nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:3px;
    border-radius:999px;
    background:var(--primary);
    transition:width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after{
    width:100%;
}

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

.header-actions{
    display:flex;
    align-items:center;
    flex-shrink:0;
    gap:10px;
    margin-left:20px;
}

.search-toggle{
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:transparent;
    transition:var(--transition);
}

.search-toggle:hover{
    background:var(--primary);
    color:#fff;
    transform:translateY(-2px);
}

/*=====================================================
  MOBILE MENU
=====================================================*/

.mobile-menu{

    display:none;

    width:48px;
    height:48px;

    align-items:center;
    justify-content:center;

    background:var(--primary);

    color:#fff;

    border:none;

    border-radius:12px;

    font-size:1.4rem;

    cursor:pointer;

    transition:var(--transition);

}

.mobile-menu:hover{

    background:var(--primary-dark);

}

.mobile-menu:focus-visible{

    outline:3px solid var(--secondary);

    outline-offset:3px;

}

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

@media (max-width:1100px){

    .mobile-menu{
        display:flex;
    }

    .main-nav{

        display:none;

        position:absolute;
        top:100%;
        left:0;

        width:100%;

        background:#fff;

        padding:1.5rem;

        box-shadow:0 18px 35px rgba(0,0,0,.12);

        border-top:1px solid var(--border);

        z-index:999;

    }

    .main-nav.active{

        display:block;

    }

    .main-nav ul{

        flex-direction:column;

        align-items:flex-start;

        gap:1.25rem;

    }

    .main-nav a{

        width:100%;

        padding:.75rem 0;

    }

}

/* =====================================================
   SECTION HEADINGS
===================================================== */

.section-heading{

    text-align:center;

    max-width:760px;

    margin:0 auto 4rem;

}

.section-heading span{

    display:inline-block;

    padding:.45rem 1rem;

    border-radius:999px;

    background:var(--primary-light);

    color:var(--primary);

    font-size:.85rem;

    font-weight:700;

    margin-bottom:1rem;

}

.section-heading h2{

    margin-bottom:1rem;

}

.section-heading p{

    max-width:700px;

    margin:auto;

}


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

.study-hero{

    background:
        radial-gradient(circle at top right,#eef7ef 0%,transparent 45%),
        linear-gradient(180deg,#f9fcf9 0%,#edf5ee 100%);

    overflow:hidden;

}

.hero-grid{

    display:grid;
    grid-template-columns:1.15fr .85fr;

    gap:5rem;

    align-items:center;

}

.hero-content{

    position:relative;
    z-index:2;

}

.hero-eyebrow{

    display:inline-flex;

    align-items:center;

    gap:.6rem;

    padding:.55rem 1.1rem;

    border-radius:999px;

    background:var(--primary-light);

    color:var(--primary);

    font-weight:700;

    font-size:.85rem;

    margin-bottom:1.4rem;

    letter-spacing:.04em;

    text-transform:uppercase;

}

.hero-content h1{

    margin-bottom:1.5rem;

    max-width:760px;

}

.hero-content p{

    max-width:640px;

    font-size:1.1rem;

    margin-bottom:2.25rem;

}

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

.hero-actions{

    display:flex;

    flex-wrap:wrap;

    gap:1rem;

    margin-bottom:2.5rem;

}

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

.hero-search{

    margin-bottom:2.5rem;

}

.hero-search form{

    display:flex;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    max-width:650px;

}

.hero-search input{

    flex:1;

    border:none;

    outline:none;

    background:none;

    padding:1.15rem 1.4rem;

}

.hero-search button{

    background:var(--primary);

    color:#fff;

    padding:0 2rem;

    font-weight:700;

    transition:var(--transition);

}

.hero-search button:hover{

    background:var(--primary-dark);

}

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

.hero-highlights{

    display:grid;

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

    gap:1.25rem;

    margin-top:2rem;

}

.highlight{

    background:#fff;

    padding:1.5rem;

    border-radius:20px;

    text-align:center;

    border:1px solid rgba(0,0,0,.05);

    box-shadow:var(--shadow-sm);

    transition:var(--transition);

}

.highlight:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow);

}

.highlight strong{

    display:block;

    font-size:2rem;

    color:var(--primary);

    font-family:"Nunito",sans-serif;

    margin-bottom:.4rem;

}

.highlight span{

    color:var(--text-light);

    font-size:.95rem;

}

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

.hero-image{

    position:relative;

}

.hero-image::before{

    content:"";

    position:absolute;

    inset:-18px;

    border-radius:34px;

    background:linear-gradient(
        135deg,
        rgba(77,124,89,.10),
        rgba(216,181,106,.12)
    );

    z-index:-1;

}

.hero-image img{

    width:100%;

    border-radius:28px;

    object-fit:cover;

    box-shadow:var(--shadow-lg);

}

/* =====================================================
   HERO IMAGE DECORATION
===================================================== */

.hero-image::after{

    content:"";

    position:absolute;

    width:140px;

    height:140px;

    border-radius:50%;

    background:rgba(216,181,106,.18);

    top:-35px;

    right:-35px;

    z-index:-2;

}

/* =====================================================
   STUDY CATEGORIES
===================================================== */

.study-categories{
    background:#ffffff;
}

.category-groups{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(420px,1fr));
    gap:3rem;
}

.category-group{
    background:#fff;
    padding:2rem;
    border-radius:24px;
    border:1px solid var(--border);
    box-shadow:var(--shadow-sm);
}

.category-group h3{
    margin-bottom:1.5rem;
    color:var(--text-dark);
}

.category-chips{
    display:flex;
    flex-wrap:wrap;
    gap:.9rem;
}

.chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:.85rem 1.4rem;

    border-radius:999px;

    background:var(--surface-alt);

    border:1px solid var(--border);

    color:var(--text);

    font-weight:600;

    transition:var(--transition);
}

.chip:hover{

    background:var(--primary);

    color:#fff;

    border-color:var(--primary);

    transform:translateY(-3px);

    box-shadow:var(--shadow-sm);

}

.chip.active{

    background:var(--primary);

    color:#fff;

    border-color:var(--primary);

}

/* =====================================================
   WHY OUR STUDIES
===================================================== */

.study-features{

    background:linear-gradient(
        180deg,
        #f8fbf8 0%,
        #f2f7f2 100%
    );

}

.features-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(270px,1fr));

    gap:2rem;

}

.feature-card{

    background:#fff;

    border-radius:24px;

    padding:2.5rem;

    text-align:center;

    border:1px solid rgba(0,0,0,.05);

    box-shadow:var(--shadow-sm);

    transition:var(--transition);

    position:relative;

    overflow:hidden;

}

.feature-card::before{

    content:"";

    position:absolute;

    left:0;
    top:0;

    width:100%;
    height:5px;

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

    transform:scaleX(0);

    transition:.35s;

    transform-origin:left;

}

.feature-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-lg);

}

.feature-card:hover::before{

    transform:scaleX(1);

}

.feature-icon{
    font-size:3rem;
    margin-bottom:1.25rem;
    background:none;
    width:auto;
    height:auto;
    border-radius:0;
    box-shadow:none;
}

.feature-card h3{

    margin-bottom:1rem;

}

.feature-card p{

    line-height:1.8;

}

/* =====================================================
   FEATURE SECTION SPACING
===================================================== */

.study-features .section-heading{

    margin-bottom:4.5rem;

}

.study-categories .section-heading{

    margin-bottom:4rem;

}

/* =====================================================
   FEATURED STUDY
===================================================== */

.featured-study{
    background:#ffffff;
}

.featured-study-card{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:4rem;

    background:#fff;

    border-radius:32px;

    overflow:hidden;

    border:1px solid rgba(0,0,0,.06);

    box-shadow:var(--shadow-lg);
}

.featured-image{
    height:100%;
}

.featured-image img{
    width:100%;
    height:100%;
    min-height:650px;
    object-fit:cover;
    display:block;
}

.featured-content{
    padding:4rem;
}

.featured-tag{

    display:inline-flex;

    align-items:center;

    gap:.5rem;

    background:var(--primary-light);

    color:var(--primary);

    padding:.55rem 1.2rem;

    border-radius:999px;

    font-size:.85rem;

    font-weight:700;

    margin-bottom:1.5rem;

    letter-spacing:.04em;

    text-transform:uppercase;

}

.featured-content h2{
    margin-bottom:1.25rem;
}

.featured-content>p{
    margin-bottom:2.5rem;
    font-size:1.05rem;
    line-height:1.9;
}

/* =====================================================
   FEATURE HIGHLIGHTS
===================================================== */

.featured-highlights{

    display:grid;

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

    gap:1.25rem;

    margin-bottom:2.75rem;

}

.highlight-item{

    display:flex;

    align-items:flex-start;

    gap:.75rem;

    padding:1.35rem;

    background:var(--surface-alt);

    border-radius:18px;

    border:1px solid var(--border);

}

.highlight-item:hover{

    transform:translateY(-5px);

    box-shadow:var(--shadow);

}

.highlight-item > span{

    flex-shrink:0;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:2rem;

    background:none;

    width:auto;
    height:auto;

    border-radius:0;

    box-shadow:none;

}

.highlight-item strong{

    display:block;

    margin-bottom:.35rem;

    color:var(--text-dark);

    font-family:"Nunito",sans-serif;

    font-size:1.05rem;

}

.highlight-item p{

    margin:0;

    font-size:.92rem;

    line-height:1.6;

}

/* =====================================================
   FEATURED BUTTONS
===================================================== */

.featured-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:1rem;

}

.featured-buttons .btn{

    min-width:210px;

    justify-content:center;

}

/* =====================================================
   FEATURED IMAGE EFFECT
===================================================== */

.featured-image{

    position:relative;

    overflow:hidden;

}

.featured-image img{

    transition:transform .6s ease;

}

.featured-study-card:hover .featured-image img{

    transform:scale(1.04);

}

/* =====================================================
   FEATURED CONTENT ANIMATION
===================================================== */

.featured-content>*{

    transition:var(--transition);

}

.featured-study-card:hover{

    box-shadow:
        0 35px 70px rgba(0,0,0,.12);

}

/* =====================================================
   STUDY LIBRARY
===================================================== */

.study-library{
    background:#f7faf7;
}

.library-toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:2rem;
    flex-wrap:wrap;
    margin-bottom:2rem;
}

.library-search{
    flex:1;
    min-width:300px;
}

.library-search input{
    width:100%;
    padding:1rem 1.25rem;
    border:1px solid var(--border);
    border-radius:16px;
    background:#fff;
    transition:var(--transition);
}

.library-search input:focus{
    outline:none;
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(77,124,89,.10);
}

.library-options{
    display:flex;
    gap:1rem;
    flex-wrap:wrap;
}

.library-options select{
    padding:1rem 1.25rem;
    border-radius:16px;
    border:1px solid var(--border);
    background:#fff;
    cursor:pointer;
    transition:var(--transition);
}

.library-options select:hover{
    border-color:var(--primary);
}

.library-summary{
    margin-bottom:2.5rem;
}

.library-summary p{
    color:var(--text-light);
}

/* =====================================================
   STUDY GRID
===================================================== */

.study-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
    gap:2rem;
}

/* =====================================================
   STUDY CARD
===================================================== */

.study-card{
    display:flex;
    flex-direction:column;

    background:#fff;

    border-radius:26px;

    overflow:hidden;

    border:1px solid rgba(0,0,0,.05);

    box-shadow:var(--shadow-sm);

    transition:var(--transition);
}

.study-card:hover{
    transform:translateY(-10px);
    box-shadow:var(--shadow-lg);
}

.study-card img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    transition:transform .6s ease;
}

.study-card:hover img{
    transform:scale(1.06);
}

.study-content{
    display:flex;
    flex-direction:column;
    flex:1;
    padding:1.8rem;
}

.study-content h3{
    margin:.85rem 0;
}

.study-content p{
    line-height:1.75;
    margin-bottom:1.75rem;
    flex:1;
}

/* =====================================================
   CATEGORY TAGS
===================================================== */

.study-tag{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:max-content;

    padding:.45rem .95rem;

    border-radius:999px;

    font-size:.78rem;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.05em;
}

/* Nature */

.study-tag.nature{
    background:#e6f5e8;
    color:#2d7a3e;
}

/* STEM */

.study-tag.stem{
    background:#e8f1ff;
    color:#295fa6;
}

/* Science */

.study-tag.science{
    background:#e7f9ff;
    color:#0f7ea2;
}

/* Engineering */

.study-tag.engineering{
    background:#f3ecff;
    color:#6b46c1;
}

/* Transportation */

.study-tag.transportation{
    background:#edf2ff;
    color:#355fb5;
}

/* Literacy */

.study-tag.literacy{
    background:#fff7dd;
    color:#a47000;
}

/* Health */

.study-tag.health{
    background:#fff3e5;
    color:#ca6d18;
}

/* Community */

.study-tag.community{
    background:#f4efff;
    color:#6d4bc2;
}

/* Sensory */

.study-tag.sensory{
    background:#fff1fb;
    color:#b43d88;
}

/* Environment */

.study-tag.environment{
    background:#e8f8ef;
    color:#287b4a;
}

/* Cooking */

.study-tag.cooking{
    background:#fff4e7;
    color:#b95b16;
}

/* Daily Life */

.study-tag.daily-life{
    background:#eef7ff;
    color:#356cab;
}

/* Movement */

.study-tag.movement{
    background:#eef9ff;
    color:#1f82b8;
}

/* =====================================================
   META TAGS
===================================================== */

.study-meta{
    display:flex;
    flex-wrap:wrap;
    gap:.65rem;
    margin-bottom:1.75rem;
}

.study-meta span{
    padding:.45rem .8rem;

    background:var(--surface-alt);

    border-radius:999px;

    font-size:.8rem;

    color:var(--text);

    font-weight:600;
}

/* =====================================================
   CARD BUTTON
===================================================== */

.study-card .btn{
    width:100%;
    justify-content:center;
    margin-top:auto;
}

/* =====================================================
   CARD HOVER ACCENT
===================================================== */

.study-card{
    position:relative;
}

.study-card::before{

    content:"";

    position:absolute;

    left:0;
    top:0;

    width:100%;
    height:5px;

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

    transform:scaleX(0);

    transform-origin:left;

    transition:.35s;

    z-index:2;

}

.study-card:hover::before{
    transform:scaleX(1);
}

/* =====================================================
   CUSTOM STUDY
===================================================== */

.custom-study{
    background:linear-gradient(180deg,#ffffff 0%,#f7faf7 100%);
}

.custom-study-card{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:4rem;
    align-items:center;

    padding:4rem;

    background:linear-gradient(
        135deg,
        var(--primary),
        #5f9368
    );

    border-radius:32px;
    overflow:hidden;
    color:#fff;
    box-shadow:var(--shadow-lg);
}

.custom-image img{
    width:100%;
    border-radius:24px;
    display:block;
}

.custom-content{
    color:#fff;
}

.custom-content h2{
    color:#fff;
    margin:1rem 0;
}

.custom-content p{
    color:rgba(255,255,255,.95);
    margin-bottom:1.5rem;
    line-height:1.8;
}

.section-tag{
    display:inline-block;

    background:rgba(255,255,255,.18);

    color:#fff;

    padding:.55rem 1.1rem;

    border-radius:999px;

    font-size:.85rem;

    font-weight:700;

    margin-bottom:1rem;
}

.custom-features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:1rem;
    margin:2rem 0;
}

.custom-item{
    display:flex;
    align-items:center;
    gap:.8rem;

    padding:1rem;

    border-radius:16px;

    background:rgba(255,255,255,.12);
}

.custom-item span{
    font-size:1.5rem;
}

.custom-item p{
    color:#fff;
    margin:0;
    font-weight:600;
}

.custom-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
}

.custom-buttons .btn-primary{
    background:#fff;
    color:var(--primary);
}

.custom-buttons .btn-primary:hover{
    background:var(--secondary);
    color:#fff;
}

.custom-buttons .btn-secondary{
    border:2px solid #fff;
    color:#fff;
    background:transparent;
}

.custom-buttons .btn-secondary:hover{
    background:#fff;
    color:var(--primary);
}

/* =====================================================
   SITE STATISTICS
===================================================== */

.site-stats{
    background:#f3f8f3;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:2rem;
    margin-top:3rem;
}

.stat-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:24px;
    padding:2.75rem 2rem;
    text-align:center;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
    position:relative;
    overflow:hidden;
}

.stat-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );
    transform:scaleX(0);
    transform-origin:left;
    transition:.35s;
}

.stat-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow-lg);
}

.stat-card:hover::before{
    transform:scaleX(1);
}

.stat-card h3{
    font-family:"Nunito",sans-serif;
    font-size:3rem;
    color:var(--primary);
    margin-bottom:.5rem;
    line-height:1;
}

.stat-card p{
    color:var(--text-dark);
    font-weight:600;
    margin:0;
}

/* =====================================================
   NEWSLETTER
===================================================== */

/* =====================================================
   NEWSLETTER
===================================================== */

.newsletter{

    background:linear-gradient(
        135deg,
        var(--primary),
        #5f9368
    );

    padding:7rem 0;

}

.newsletter-box{

    display:grid;

    grid-template-columns:1.3fr .7fr;

    gap:4rem;

    align-items:center;

}

.newsletter-tag{

    display:inline-block;

    padding:.6rem 1.25rem;

    border-radius:999px;

    background:rgba(255,255,255,.15);

    color:#fff;

    font-size:.85rem;

    font-weight:700;

    margin-bottom:1.5rem;

}

.newsletter-content h2{

    color:#fff;

    margin-bottom:1.5rem;

}

.newsletter-content p{

    color:rgba(255,255,255,.92);

    font-size:1.1rem;

    line-height:1.9;

    margin-bottom:2.5rem;

    max-width:700px;

}

.newsletter-benefits{

    display:grid;

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

    gap:1rem 2rem;

}

.newsletter-benefits div{

    display:flex;

    align-items:center;

    gap:.75rem;

    color:#fff;

    font-weight:600;

    font-size:1rem;

}

.newsletter-card{

    background:#fff;

    border-radius:28px;

    padding:2.5rem;

    box-shadow:var(--shadow-lg);

}

.newsletter-card h3{

    margin-bottom:.75rem;

    color:var(--text-dark);

}

.newsletter-card p{

    color:var(--text-light);

    margin-bottom:2rem;

}

.newsletter-form{

    display:flex;

    flex-direction:column;

    gap:1rem;

}

.newsletter-form input{

    width:100%;

    padding:1rem 1.2rem;

    border-radius:16px;

    border:1px solid var(--border);

    outline:none;

    transition:var(--transition);

}

.newsletter-form input:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(77,124,89,.12);

}

.newsletter-form .btn{

    width:100%;

    justify-content:center;

    padding:1rem;

}

.newsletter-card small{

    display:block;

    margin-top:1.25rem;

    text-align:center;

    color:var(--text-light);

    font-size:.9rem;

}

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

@media (max-width:900px){

    .newsletter-box{

        grid-template-columns:1fr;

        gap:3rem;

    }

    .newsletter-content{

        text-align:center;

    }

    .newsletter-benefits{

        grid-template-columns:1fr;

        max-width:340px;

        margin:2rem auto 0;

    }

}

@media (max-width:600px){

    .newsletter{

        padding:5rem 0;

    }

    .newsletter-card{

        padding:2rem;

    }

}

/* =====================================================
   FOOTER
===================================================== */

.site-footer{
    background:#233126 !important;
    color:#fff !important;
    padding:4rem 0 2rem;
}


.footer-grid{

    display:grid;

    grid-template-columns:3fr 1fr 1fr 1fr;

    gap:4rem;

    align-items:start;

    margin-bottom:3rem;

}

.site-footer h3,
.site-footer h4,
.site-footer p,
.site-footer a,
.site-footer li{

    color:#fff !important;

    margin-bottom:1rem;

}

.footer-about p,
.footer-column p{

    color:rgba(255,255,255,.82);

    line-height:1.8;

}

.footer-column ul{
    display:flex;
    flex-direction:column;
    gap:.75rem;
}

.footer-column a{
    color:rgba(255,255,255,.80);
    transition:var(--transition);
}

.footer-column a:hover{
    color:#fff;
    padding-left:6px;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.12);
    padding-top:1.5rem;
    text-align:center;
}

.footer-bottom p{
    color:rgba(255,255,255,.70);
    font-size:.95rem;
}

.footer-about{

    max-width:520px;

}

.footer-about h3{

    font-size:2rem;

    line-height:1.2;

    margin-bottom:1.25rem;

}

.footer-about p{

    max-width:500px;

}

/* =====================================================
   BACK TO TOP
===================================================== */

.back-to-top{
    position:fixed;
    right:24px;
    bottom:24px;

    width:54px;
    height:54px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    background:var(--primary);
    color:#fff;

    box-shadow:var(--shadow);

    opacity:0;
    visibility:hidden;

    transition:var(--transition);

    z-index:999;
}

.back-to-top.show{
    opacity:1;
    visibility:visible;
}

.back-to-top:hover{
    background:var(--primary-dark);
    transform:translateY(-4px);
}

/* =====================================================
   ACCESSIBILITY
===================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible{
    outline:3px solid var(--secondary);
    outline-offset:3px;
}

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

@media (max-width:1100px){

    .hero-grid,
    .featured-study-card,
    .custom-study-card{
        grid-template-columns:1fr;
    }

    .featured-image img{
        min-height:420px;
    }

    .custom-study-action{
        justify-content:flex-start;
    }

}

@media (max-width:900px){

    section{
        padding:5rem 0;
    }

    .nav-container{
        flex-wrap:wrap;
        min-height:auto;
        padding:1rem 0;
    }

    .search-bar{
        order:3;
        width:100%;
        max-width:none;
    }

    .mobile-menu{
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .hero-highlights,
.featured-highlights,
.stats-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .custom-study-features{
        grid-template-columns:1fr;
    }

}

@media (max-width:768px){

    h1{
        font-size:2.6rem;
    }

    h2{
        font-size:2rem;
    }

    .hero-actions,
    .featured-buttons{
        flex-direction:column;
    }

    .btn{
        width:100%;
    }

    .category-groups,
    .study-grid,
    .features-grid,
    .footer-grid{
        grid-template-columns:1fr;
    }

    .featured-content,
    .custom-study-card{
        padding:2rem;
    }

    .newsletter-form{
        flex-direction:column;
        align-items:stretch;
    }

    .newsletter-form input{
        max-width:none;
    }

}

@media (max-width:600px){

    .hero-highlights,
.featured-highlights,
.stats-grid{
        grid-template-columns:1fr;
    }

    .highlight,
    .highlight-item,
    .stat-card{
        text-align:center;
    }

    .highlight-item{
        flex-direction:column;
        align-items:center;
    }

    .featured-image img{
        min-height:280px;
    }

    .study-card img{
        aspect-ratio:4/3;
    }

}

@media (max-width:480px){

    .container{
        width:94%;
    }

    section{
        padding:4rem 0;
    }

    .hero-content h1{
        font-size:2.2rem;
    }

    .featured-content,
    .study-content,
    .feature-card,
    .category-group,
    .custom-study-card{
        padding:1.5rem;
    }

    .stat-number{
        font-size:2.4rem;
    }

    .back-to-top{
        width:48px;
        height:48px;
    }

}

/* =====================================================
   UTILITIES
===================================================== */

.text-center{
    text-align:center;
}

.hidden{
    display:none !important;
}

.mt-0{margin-top:0;}
.mt-1{margin-top:1rem;}
.mt-2{margin-top:2rem;}
.mt-3{margin-top:3rem;}

.mb-0{margin-bottom:0;}
.mb-1{margin-bottom:1rem;}
.mb-2{margin-bottom:2rem;}
.mb-3{margin-bottom:3rem;}
