/* =====================================================
   Colégio Maria Gorete (CMG)
   Resources Stylesheet
   Design System
===================================================== */


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

:root {

    /* Primary */

    --primary: #65558F;
    --primary-dark: #4F4372;
    --primary-light: #F3F0FA;

    /* Secondary */

    --secondary: #8BB8E8;
    --secondary-dark: #6799CE;
    --secondary-light: #EEF6FE;

    /* Accent */

    --accent: #E6B94C;
    --accent-dark: #C99925;
    --accent-light: #FFF8E5;

    /* Support */

    --success: #6FA36A;
    --warning: #E89B3C;
    --danger: #C95D63;

    /* Surfaces */

    --background: #FAFBFD;
    --surface: #FFFFFF;
    --surface-alt: #F7F8FC;

    /* Typography */

    --text-dark: #2F2F3A;
    --text: #4A4E59;
    --text-light: #666B78;

    /* Borders */

    --border: #E4E7F0;

    /* Shadows */

    --shadow-sm: 0 4px 12px rgba(101, 85, 143, .08);
    --shadow: 0 12px 30px rgba(101, 85, 143, .12);
    --shadow-lg: 0 22px 55px rgba(101, 85, 143, .18);

    /* Radius */

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

    /* Animation */

    --transition: .3s ease;

    /* Layout */

    --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;
    height: auto;

}

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);

}

@media (max-width: 768px) {
    .btn {
        width: 100%;
    }
}

.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);

}


/* =====================================================
   GLOBAL 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;

    letter-spacing: .05em;

    text-transform: uppercase;

    margin-bottom: 1rem;

}

.section-heading h2 {

    margin-bottom: 1rem;

}

.section-heading p {

    max-width: 700px;

    margin: auto;

}

/* =====================================================
   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);

    transition: var(--transition);

}

.site-header.scrolled {

    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);

}


/* =====================================================
   NAV CONTAINER
===================================================== */

.nav-container {

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

    min-height: 90px;

    gap: 28px;

}


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

.logo {

    display: flex;
    align-items: center;

    gap: 18px;

    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;

    color: var(--primary-dark);

}

.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: 24px;

    margin: 0;

    padding: 0;

}

.main-nav a {

    position: relative;

    display: inline-flex;

    align-items: center;

    padding: 6px 0;

    font-weight: 600;

    color: var(--text);

    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;

    color: var(--text);

    transition: var(--transition);

}

.search-toggle:hover {

    background: var(--primary);

    color: #fff;

    transform: translateY(-2px);

}


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

.mobile-menu {

    display: none;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 48px;

    border-radius: 12px;

    background: var(--primary);

    color: #fff;

    font-size: 1.35rem;

    transition: var(--transition);

}

.mobile-menu:hover {

    background: var(--primary-dark);

}


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

@media (max-width:1100px) {

    .nav-container {
        position: relative;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow);
        z-index: 999;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--border);
    }

    .header-actions {
        margin-left: auto;
    }

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

}


@media (max-width:768px) {

    .logo img {

        width: 56px;
        height: 56px;

    }

    .logo-text h1 {

        font-size: 1.2rem;

    }

    .logo-text span {

        font-size: .82rem;

    }

    .nav-container {

        min-height: 78px;

        gap: 1rem;

    }

}

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

.resources-hero {

    position: relative;

    overflow: hidden;

    padding: 7rem 0;

    background:
        radial-gradient(circle at top right,
            rgba(139, 184, 232, .14) 0%,
            transparent 42%),

        radial-gradient(circle at bottom left,
            rgba(101, 85, 143, .12) 0%,
            transparent 45%),

        linear-gradient(180deg,
            #ffffff 0%,
            var(--primary-light) 100%);

}


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

.hero-grid {

    display: grid;

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

    gap: 5rem;

    align-items: center;

}


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

.hero-content {

    position: relative;

    z-index: 2;

}

.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 EYEBROW
===================================================== */

.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-size: .85rem;

    font-weight: 700;

    letter-spacing: .04em;

    text-transform: uppercase;

    margin-bottom: 1.4rem;

}

.hero-eyebrow::before {

    content: "📚";

}


/* =====================================================
   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-family: "Nunito", sans-serif;

    font-size: 2rem;

    color: var(--primary);

    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(101, 85, 143, .10),
            rgba(139, 184, 232, .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(230, 185, 76, .16);

    top: -35px;

    right: -35px;

    z-index: -2;

}


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

@media (max-width:1024px) {

    .hero-grid {

        grid-template-columns: 1fr;

        gap: 3rem;

        text-align: center;

    }

    .hero-content {

        margin: 0 auto;

    }

    .hero-content h1,
    .hero-content p {

        margin-left: auto;
        margin-right: auto;

    }

    .hero-search form {

        max-width: 100%;

    }

}

@media (max-width:768px) {

    .hero-highlights {

        grid-template-columns: 1fr;

    }

    .hero-actions {

        flex-direction: column;

    }

    .hero-actions .btn {

        width: 100%;

    }

}

/* =====================================================
   RESOURCE CATEGORIES
===================================================== */

.resource-categories {

    background: #fff;

}

.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);

    transition: var(--transition);

}

.category-group:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow);

}

.category-group h3 {

    margin-bottom: 1.5rem;

    color: var(--text-dark);

}


/* =====================================================
   CATEGORY CHIPS
===================================================== */

.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);

}


/* =====================================================
   RESOURCE LIBRARY
===================================================== */

.resource-library {

    background: var(--background);

}


/* =====================================================
   TOOLBAR
===================================================== */

.library-toolbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 2rem;

    flex-wrap: wrap;

    margin-bottom: 2rem;

}


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

.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(101, 85, 143, .10);

}


/* =====================================================
   FILTERS
===================================================== */

.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;

    color: var(--text);

    transition: var(--transition);

    cursor: pointer;

}

.library-options select:hover {

    border-color: var(--primary);

}


/* =====================================================
   SUMMARY
===================================================== */

.library-summary {

    margin-bottom: 2.5rem;

}

.library-summary p {

    color: var(--text-light);

}


/* =====================================================
   RESOURCE GRID
===================================================== */

.study-grid {

    display: grid;

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

    gap: 2rem;

}


/* =====================================================
   RESOURCE 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);

}


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

.study-card img {

    width: 100%;

    aspect-ratio: 1/1;

    object-fit: cover;

    transition: transform .6s ease;

}

.study-card:hover img {

    transform: scale(1.06);

}


/* =====================================================
   CONTENT
===================================================== */

.study-content {

    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 1.8rem;

}

.study-content h3 {

    margin: .85rem 0;

    color: var(--text-dark);

}

.study-content p {

    flex: 1;

    line-height: 1.75;

    margin-bottom: 1.75rem;

}


/* =====================================================
   RESOURCE 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;

    letter-spacing: .05em;

    text-transform: uppercase;

}


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

.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;

    color: var(--text-light);

    font-size: .82rem;

}


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

.study-card .btn {

    margin-top: auto;

    width: 100%;

}

/* =====================================================
   POPULAR TEACHING TOOLS
===================================================== */

.resource-features {

    background: linear-gradient(180deg,
            var(--secondary-light) 0%,
            #ffffff 100%);

}

.features-grid {

    display: grid;

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

    gap: 2rem;

}


/* =====================================================
   FEATURE CARD
===================================================== */

.feature-card {

    position: relative;

    overflow: hidden;

    background: #fff;

    border-radius: 24px;

    padding: 2.5rem;

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

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

    transition: var(--transition);

}

.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);

    transform-origin: left;

    transition: .35s;

}

.feature-card:hover {

    transform: translateY(-10px);

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

}

.feature-card:hover::before {

    transform: scaleX(1);

}


/* =====================================================
   FEATURE ICON
===================================================== */

.feature-icon {

    font-size: 3rem;

    margin-bottom: 1.25rem;

    background: none;

    width: auto;

    height: auto;

    border-radius: 0;

    box-shadow: none;

}


/* =====================================================
   FEATURE CONTENT
===================================================== */

.feature-card h3 {

    margin-bottom: 1rem;

    color: var(--text-dark);

}

.feature-card p {

    line-height: 1.8;

    margin-bottom: 1.5rem;

}

.feature-card .text-link {

    display: inline-flex;

    align-items: center;

    gap: .45rem;

    font-weight: 700;

    color: var(--primary);

}

.feature-card .text-link:hover {

    color: var(--secondary-dark);

}


/* =====================================================
   PRINTABLE LIBRARY
===================================================== */

.printable-library {

    background: var(--background);

}


/* =====================================================
   PRINTABLE GRID
===================================================== */

.printable-grid {

    display: grid;

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

    gap: 2rem;

}


/* =====================================================
   PRINTABLE CARD
===================================================== */

.printable-card {

    display: flex;

    flex-direction: column;

    background: #fff;

    border-radius: 24px;

    overflow: hidden;

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

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

    transition: var(--transition);

}

.printable-card:hover {

    transform: translateY(-10px);

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

}


/* =====================================================
   PREVIEW
===================================================== */

.print-preview {

    background: #eef2f8;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 2rem;

}

.print-preview img {

    width: 82%;

    border-radius: 12px;

    border: 1px solid #ececec;

    background: #fff;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .10);

    transition: transform .5s ease;

}

.printable-card:hover .print-preview img {

    transform: scale(1.04);

}


/* =====================================================
   PRINT CONTENT
===================================================== */

.print-content {

    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 1.8rem;

}

.print-content h3 {

    margin-bottom: .75rem;

    color: var(--text-dark);

}

.print-content p {

    flex: 1;

    margin-bottom: 1.5rem;

    line-height: 1.75;

}


/* =====================================================
   FILE TAGS
===================================================== */

.file-tags {

    display: flex;

    flex-wrap: wrap;

    gap: .55rem;

    margin-bottom: 1.5rem;

}

.file-tag {

    padding: .45rem .8rem;

    border-radius: 999px;

    font-size: .78rem;

    font-weight: 700;

    text-transform: uppercase;

}


/* =====================================================
   DOWNLOAD META
===================================================== */

.download-meta {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 1.5rem;

    color: var(--text-light);

    font-size: .9rem;

}


/* =====================================================
   DOWNLOAD BUTTON
===================================================== */

.download-btn {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: .75rem;

}

/* =====================================================
   FEATURED RESOURCE
===================================================== */

.featured-resource {

    background: #fff;

}

.featured-resource-wrapper {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 4rem;

    align-items: center;

}

.featured-resource-image {

    position: relative;

}

.featured-resource-image img {

    width: 100%;

    border-radius: 28px;

    object-fit: cover;

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

}

.featured-resource-content h2 {

    margin-bottom: 1.25rem;

}

.featured-resource-content p {

    margin-bottom: 2rem;

    line-height: 1.8;

}

.feature-list {

    display: grid;

    gap: 1rem;

    margin-bottom: 2rem;

}

.feature-list li {

    display: flex;

    align-items: flex-start;

    gap: .8rem;

}

.feature-list li::before {

    content: "✓";

    width: 28px;
    height: 28px;

    display: flex;

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

    border-radius: 50%;

    background: var(--primary-light);

    color: var(--primary);

    font-weight: 700;

    flex-shrink: 0;

}


/* =====================================================
   CALL TO ACTION
===================================================== */

.resources-cta {

    padding: 6rem 0;

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

    color: #fff;

    text-align: center;

}

.resources-cta h2 {

    color: #fff;

    margin-bottom: 1rem;

}

.resources-cta p {

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

    max-width: 700px;

    margin: 0 auto 2.5rem;

}

.resources-cta .btn {

    background: #fff;

    color: var(--primary);

}

.resources-cta .btn:hover {

    transform: translateY(-4px);

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

}

.resources-cta .hero-actions {

    display: flex;

    justify-content: center;

    align-items: center;

    width: 100%;

    margin-top: 2rem;

}

.cta-buttons {

    display: flex;

    justify-content: center;

    align-items: center;

    margin-top: 2rem;

}


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

.site-footer {

    background: #202431;

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

    padding: 5rem 0 2rem;

}

.footer-grid {

    display: grid;

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

    gap: 3rem;

    margin-bottom: 3rem;

}

.footer-column h3 {

    color: #fff;

    margin-bottom: 1rem;

}

.footer-column ul {

    display: grid;

    gap: .75rem;

}

.footer-column a {

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

    transition: var(--transition);

}

.footer-column a:hover {

    color: #fff;

    padding-left: 6px;

}

.footer-bottom {

    padding-top: 2rem;

    border-top: 1px solid rgba(255, 255, 255, .12);

    text-align: center;

    font-size: .95rem;

}


/* =====================================================
   ANIMATIONS
===================================================== */

.fade-up {

    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity .6s ease,
        transform .6s ease;

}

.fade-up.visible {

    opacity: 1;

    transform: translateY(0);

}


/* =====================================================
   GLOBAL CARD HOVER
===================================================== */

.study-card,
.feature-card,
.printable-card,
.category-group {

    will-change: transform;

}


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

@media (max-width:1100px) {

    .featured-resource-wrapper {

        grid-template-columns: 1fr;

        gap: 3rem;

    }

}

@media (max-width:900px) {

    .footer-grid {

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

    }

}

@media (max-width:768px) {

    section {

        padding: 4.5rem 0;

    }

    .library-toolbar {

        flex-direction: column;

        align-items: stretch;

    }

    .library-search {

        min-width: 100%;

    }

    .library-options {

        width: 100%;

    }

    .library-options select {

        flex: 1;

    }

    .category-groups {

        grid-template-columns: 1fr;

    }

    .features-grid {

        grid-template-columns: 1fr;

    }

    .printable-grid {

        grid-template-columns: 1fr;

    }

    .study-grid {

        grid-template-columns: 1fr;

    }

    .footer-grid {

        grid-template-columns: 1fr;

        text-align: center;

    }

}

@media (max-width:480px) {

    .container {

        width: 94%;

    }

    .btn {

        width: 100%;

    }

    .study-content,
    .print-content,
    .feature-card,
    .category-group {

        padding: 1.5rem;

    }

    .featured-resource-image img {

        border-radius: 20px;

    }

}

.site-footer .btn {

    display: inline-flex !important;

    align-items: center;

    justify-content: center;

    padding: 1rem 2rem;

    background: #ffffff !important;

    color: var(--primary-dark) !important;

    border: 2px solid #ffffff !important;

    font-size: 1rem !important;

    font-weight: 700;

    text-decoration: none;

    line-height: 1;

}