* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Quicksand", sans-serif;
    color: black;
    overflow-x: hidden;
    background: #FFF9F2;
}

.page {
    min-height: 100vh;
    background: #FFF9F2;
    animation: pageReveal 1.2s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes pageReveal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    display: flex;
    align-items: center;
    padding: 0 35px;
    gap: 35px;
    background: rgba(255, 249, 242, .856);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(23, 50, 77, .09);
    box-shadow: 0 8px 25px rgba(23, 50, 77, .08);
    z-index: 100000;
    animation: navReveal .9s cubic-bezier(.22, 1, .36, 1) .1s both;
}

@keyframes navReveal {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
    text-decoration: none;
    transition: transform .3s ease;
}

.brand:link,
.brand:visited,
.brand:hover,
.brand:active {
    text-decoration: none;
}

.brand:hover {
    transform: translateY(-2px);
}

.fox {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 28px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.brand:hover .fox {
    transform: rotate(-4deg) scale(1.04);
}

.brand-name {
    font-size: 30px;
    font-weight: 600;
    color: #17324D;
    text-decoration: none;
}

.index-1,
.about-1,
.faq-1,
.story-1,
.involve-1,
.donate-1 {
    position: absolute;
    display: flex;
    align-items: center;
    border: none;
    background: transparent;
    color: #17324D;
    font-family: "Quicksand", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .3s ease, color .25s ease, opacity .25s ease;
}

.index-1 { margin-left: 365px; }
.about-1 { margin-left: 515px; }
.faq-1 { margin-left: 565px; }
.story-1 { margin-left: 610px; }
.involve-1 { margin-left: 665px; }
.donate-1 { margin-left: 790px; }

.index-1,
.involve-1 {
    cursor: pointer;
}

.index-1.open .triangle,
.involve-1.open .triangle {
    transform: rotate(180deg);
}

.triangle {
    display: inline-block;
    margin-left: 5px;
    font-size: 19px;
    transform-origin: center;
    transition: transform .35s ease;
}

.index-1:hover,
.about-1:hover,
.faq-1:hover,
.story-1:hover,
.involve-1:hover,
.donate-1:hover {
    color: #39A6A3;
    transform: translateY(-2px);
}

.donate-1 {
    border: 3px solid #17324D;
    border-radius: 35px;
    padding: 9px 21px;
}

.donate-1:hover {
    color: #39A6A3;
    border-color: #39A6A3;
}

.explore-menu {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    height: calc(100vh - 75px);
    background: rgba(255, 249, 242, .82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(23, 50, 77, .07);
    border-bottom: 1px solid rgba(23, 50, 77, .07);
    box-shadow: 0 15px 40px rgba(23, 50, 77, .08);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    pointer-events: none;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1), opacity .35s ease, visibility .5s ease;
}

.explore-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.explore-menu-content {
    width: 100%;
    height: 100%;
    padding: 45px 8%;
    overflow-y: auto;
    display: block;
}

.explore-menu-header {
    margin-bottom: 35px;
}

.explore-menu-header h2 {
    font-family: "Quicksand", sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: #17324D;
    letter-spacing: -1.5px;
}

.explore-menu-header p {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #526A7A;
}

.explore-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.explore-menu-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
}

.dropdown-panel {
    display: none;
    width: 100%;
}

.dropdown-panel.active {
    display: block;
}

.get-involved-menu {
    display: contents;
}

.explore-item {
    display: block;
    width: 100%;
    padding: 18px 0;
    margin: 0;
    background: transparent !important;
    border: none;
    border-radius: 0;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: #17324D;
    text-decoration: none;
    cursor: pointer;
    transition: transform .25s ease, color .25s ease;
}

.explore-item:hover {
    background: transparent !important;
    box-shadow: none !important;
    transform: translateX(8px);
}

.explore-item h3 {
    margin: 0 0 7px;
    color: #17324D;
    font-size: 20px;
    font-weight: 600;
}

.explore-item p {
    margin: 0;
    max-width: 650px;
    color: #526A7A;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.explore-item:focus-visible {
    outline: 3px solid rgba(57, 166, 163, .35);
    outline-offset: 6px;
    border-radius: 4px;
}

.get-involved-panel .explore-item {
    min-height: 0;
}

.signin-button {
    border: none;
    border-radius: 20px;
    padding: 12px 25px;
    background: transparent;
    color: #17324D;
    font-family: "Quicksand", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform .3s ease, color .25s ease, background .25s ease;
}

.signin-button:hover {
    transform: translateY(-2px);
    color: #39A6A3;
    background: rgba(57, 166, 163, .08);
}

.signup-button {
    border: none;
    height: 45px;
    min-width: 100px;
    padding: 0 22px;
    border-radius: 35px;
    background: #17324D;
    color: #FFF9F2;
    font-family: "Quicksand", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(23, 50, 77, .13);
    transition: transform .3s ease, background .25s ease, box-shadow .25s ease;
}

.signup-button:hover {
    transform: translateY(-3px);
    background: #39A6A3;
    box-shadow: 0 12px 25px rgba(57, 166, 163, .22);
}

.space {
    height: 620px;
    margin-top: 75px;
    padding: 120px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    --bga-05-bg: #554100;
    --bga-05-blue: #008d4b;
    --bga-05-brown: #4b0000;
    --bga-05-raspberry: #ad0062;
    --bga-05-orange: #ffb700;
    background: radial-gradient(circle at 88% 18%, rgba(22, 190, 185, .2), transparent 30%),
                radial-gradient(circle at 8% 85%, rgba(16, 142, 201, .14), transparent 30%),
                linear-gradient(135deg, #04d6a2);
    box-shadow: inset 0 -40px 70px rgba(23, 50, 77, .14);
    animation: heroReveal 1.1s cubic-bezier(.22, 1, .36, 1) .25s both;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(25px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.space::before,
.space::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -3;
}

.space::before {
    width: 500px;
    height: 500px;
    right: -180px;
    top: -220px;
    background: radial-gradient(circle, rgba(57, 166, 163, .18), transparent 68%);
    animation: heroGlow 12s ease-in-out infinite alternate;
}

.space::after {
    width: 420px;
    height: 420px;
    left: -180px;
    bottom: -220px;
    background: radial-gradient(circle, rgba(244, 201, 93, .11), transparent 70%);
    animation: heroGlow2 14s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    from {
        transform: translate(0, 0) scale(.9);
    }
    to {
        transform: translate(-60px, 50px) scale(1.08);
    }
}

@keyframes heroGlow2 {
    from {
        transform: translate(0, 0) scale(.95);
    }
    to {
        transform: translate(50px, -40px) scale(1.08);
    }
}

.space .bga-05__defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.space .bga-05__terrain,
.space .bga-05__ridge {
    position: absolute;
    inset: -85%;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(115% 100% at 50% 50%, black 35%, transparent 100%);
    mask-image: radial-gradient(115% 100% at 50% 50%, black 35%, transparent 100%);
    z-index: -2;
}

.space .bga-05__terrain {
    background-image: repeating-radial-gradient(circle at 20% 35%, transparent 0 105px, color-mix(in oklab, var(--bga-05-blue) 18%, transparent) 105px 111px),
                      repeating-radial-gradient(circle at 78% 70%, transparent 0 135px, color-mix(in oklab, var(--bga-05-brown) 16%, transparent) 135px 141px);
    opacity: .65;
    animation: terrainMove 28s ease-in-out infinite alternate;
}

.space .bga-05__ridge {
    translate: 12px 12px;
    opacity: .35;
    background-image: repeating-radial-gradient(circle at 20% 35%, transparent 0 105px, color-mix(in oklab, var(--bga-05-raspberry) 18%, transparent) 105px 111px),
                      repeating-radial-gradient(circle at 78% 70%, transparent 0 155px, color-mix(in oklab, var(--bga-05-orange) 15%, transparent) 155px 161px);
    animation: ridgeMove 34s ease-in-out infinite alternate-reverse;
}

@keyframes terrainMove {
    from {
        transform: scale(1) translate3d(0, 0, 0);
    }
    to {
        transform: scale(1.04) translate3d(-18px, 12px, 0);
    }
}

@keyframes ridgeMove {
    from {
        transform: scale(1) translate3d(0, 0, 0);
    }
    to {
        transform: scale(1.05) translate3d(22px, -15px, 0);
    }
}

.space .front,
.space .front2 {
    position: relative;
    z-index: 5;
}

.front {
    background: transparent;
    height: 450px;
    width: 400px;
    margin-top: 175px;
    margin-right: 20px;
    display: inline-block;
    animation: heroLeftReveal 1s cubic-bezier(.22, 1, .36, 1) .55s both;
}

@keyframes heroLeftReveal {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.debate-hero {
    width: 100%;
    height: 600px;
    margin-top: 75px;
    margin-right: 50px;
    background:rgb(85, 85, 167);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.dialogue-text {
    font-size: 80px;
    font-weight: 800;
    margin-top: 900px;
    margin-left: 300px;
}

.dialogue-text2 {
    font-size: 80px;
    font-weight: 800;
    margin-top: 600px;
    margin-left: 300px;
}

.dialogue-text3 {
    font-size: 80px;
    font-weight: 800;
    margin-top: 500px;
    margin-left: 300px;
}

.join-dialogue {
    margin-left: 300px;
    width: 350px;
    color: #39382e;
}

.get-started-button {
    margin-left: 300px;
    margin-top: 30px;
    border: none;
    height: 50px;
    width: 200px;
    padding: 0 22px;
    border-radius: 35px;
    background: #17324D;
    color: #FFF9F2;
    font-family: "Quicksand", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(23, 50, 77, .13);
    transition: transform .3s ease, background .25s ease, box-shadow .25s ease;
}

.get-started-button:hover {
    transform: translateY(-3px);
    background: #39A6A3;
    box-shadow: 0 12px 25px rgba(57, 166, 163, .22);
}

.thing {
    height: 50px;
    display: block;
}

.google-meet {
    margin-left: 40px;
    margin-top: 28px;
    height: 378px;
    width: 650px;
}

.the-video {
    background: black;
    border-radius: 20px;
    height: 430px;
    width: 730px;
    margin-left: 280px;
    margin-bottom: -50px;
    box-shadow: 0 20px 45px rgba(23, 50, 77, .16);
}

.dialogue-topics {
    height: 2200px;
    background: none;
    margin-top: -30px;
    border-bottom: .1px solid gray;
}

.meaning-text {
    font-size: 40px;
    font-weight: 700;
    padding-top: 100px;
    margin-left: 500px;
    width: 600px;
}

.heart-fox {
    margin-left: 80px;
    height: 250px;
    margin-top: 0;
}

.second-area {
    background: none;
    border-top: .1px solid gray;
    border-bottom: .1px solid gray;
    width: 1375px;
    height: 550px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 200px;
}

.headphone-fox {
    margin-left: 900px;
    height: 250px;
}

.dialogue-club-text {
    font-size: 40px;
    font-weight: 700;
    padding-top: 0;
    margin-left: 75px;
    width: 600px;
    margin-top: 100px;
}

.real-stories {
    width: 100%;
    background: none;
    padding: 70px 0 65px;
}

.real-stories-header {
    width: 850px;
    margin: 0 auto 45px;
}

.real-stories-header h2 {
    margin: 0 0 20px;
    font-family: "Quicksand", sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #050505;
}

.real-stories-header p {
    margin: 0;
    font-family: "Quicksand", sans-serif;
    font-size: 21px;
    color: #657083;
}

.stories-grid {
    width: 820px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
}

.story-card {
    font-family: "Quicksand", sans-serif;
}

.story-top {
    margin-bottom: 15px;
}

.story-top img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.stars {
    color: #e7b500;
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.story-quote {
    margin: 0;
    color: #111;
    font-size: 16px;
    line-height: 1.55;
    max-width: 390px;
}

.story-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    max-width: 390px;
}

.story-bottom strong {
    font-size: 16px;
    color: #111;
}

.story-bottom span {
    font-size: 13px;
    color: #777;
}

.partner-section {
    width: 100%;
    min-height: 470px;
    background: none;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.partner-content {
    width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 90px;
    align-items: start;
}

.partner-title h2 {
    margin: 0;
    font-family: "Quicksand", sans-serif;
    font-size: 42px;
    line-height: 1.3;
    font-weight: 700;
    color: #080808;
}

.partner-right {
    padding-top: 5px;
}

.partner-right p {
    margin: 0;
    font-family: "Quicksand", sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: #667085;
}

.partner-button {
    margin-top: 32px;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    background: #fff;
    color: #111;
    border: 1px solid #eee;
    border-radius: 30px;
    text-decoration: none;
    font-family: "Quicksand", sans-serif;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    transition: .25s ease;
}

.partner-button span {
    font-size: 15px;
}

.partner-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(0, 0, 0, .12);
}

.learnivia-faq {
    padding:
        100px 8%
        120px;
    background:
        transparent;
    border-top:
        1px solid
        rgba(23, 50, 77, .12);
}
.faq-inner {
    max-width:
        1000px;
    margin:
        0 auto;
    display: grid;
    grid-template-columns:
        35% 65%;
    gap: 80px;
}
.faq-heading h2 {
    font-family:
        "Quicksand",
        sans-serif;
    font-size:
        75px;
    font-weight:
        700;
    letter-spacing:
        -2px;
    color:
        black;
        margin-top:-0px;
        margin-bottom:20px;
}
.faq-fox{
    height:160px;
}
.faq-heading p {
    margin-top:
        20px;
    max-width:
        260px;
    font-size:
        15px;
    line-height:
        1.6;
    font-weight:
        500;
    color:
        #647582;
}
.faq-list {
    width:
        100%;
}
.faq-item {
    border-bottom:
        1px solid
        rgba(23, 50, 77, .13);
}
.faq-question {
    width:
        100%;
    min-height:
        58px;
    padding:
        15px 0;
    display:
        flex;
    align-items:
        center;
    justify-content:
        space-between;
    gap:
        20px;
    border:
        none;
    background:
        transparent;
    color:
        black;
    font-family:
        "Quicksand",
        sans-serif;
    font-size:
        15px;
    font-weight:
        700;
    text-align:
        left;
    cursor:
        pointer;
}
.faq-plus {
    font-size:
        27px;
    font-weight:
        400;
    line-height:
        1;
    transition:
        transform .35s ease,
        color .25s ease;
}
.faq-question:hover {
    color:
        #39A6A3;
}
.faq-item.active
.faq-plus {
    transform:
        rotate(45deg);
    color:
        #AD0062;
}
.faq-answer {
    display:
        grid;
    grid-template-rows:
        0fr;
    transition:
        grid-template-rows .35s ease;
}
.faq-answer p {
    overflow:
        hidden;
    margin:
        0;
    padding:
        0;
    max-width:
        700px;
    font-size:
        14px;
    line-height:
        1.6;
    color:
        #647582;
}
.faq-item.active
.faq-answer {
    grid-template-rows:
        1fr;
}
.faq-item.active
.faq-answer p {
    padding:
        0 40px 20px 0;
}

.footer-nav {
    min-height: 75px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(255, 249, 242, .92);
    border-top: 1px solid rgba(23, 50, 77, .08);
    border-bottom: 1px solid rgba(23, 50, 77, .08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    z-index: 10;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
    color: #39A6A3;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

.footer-brand img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.footer-links a,
.footer-signin {
    color: #17324D;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    transition: color .25s ease, transform .25s ease;
}

.footer-links a:hover,
.footer-signin:hover {
    color: #39A6A3;
    transform: translateY(-2px);
}

.footer-donate {
    padding: 9px 17px;
    border: 2px solid #000;
    border-radius: 30px;
}

.footer-signup {
    padding: 10px 18px;
    border-radius: 30px;
    background: #2fcaa3;
    color: #17324D;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    transition: transform .25s ease, box-shadow .25s ease;
}

.footer-signup:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(47, 202, 163, .25);
}

.theme-button {
    width: 35px;
    height: 35px;
    border: none;
    background: transparent;
    color: #17324D;
    font-size: 19px;
    cursor: pointer;
}

.learnivia-footer {
    width: 100%;
    padding: 55px 8% 35px;
    background: #17324D;
    color: #FFF9F2;
    min-height: 500px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1330px;
    margin: 0 auto 70px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFF9F2;
    text-decoration: none;
    font-size: 26px;
    font-weight: 700;
}

.footer-logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.social-links a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF9F2;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    opacity: .9;
    transition: transform .25s ease, opacity .25s ease;
}

.social-links a:hover {
    transform: translateY(-4px);
    opacity: 1;
}

.footer-columns {
    max-width: 1330px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column-title {
    margin-bottom: 25px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: rgba(255, 249, 242, .72);
}

.footer-column a {
    margin-bottom: 17px;
    color: #FFF9F2;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform .25s ease, opacity .25s ease;
}

.footer-column a:hover {
    transform: translateX(5px);
    opacity: .75;
}

.footer-bottom {
    max-width: 1330px;
    margin: 65px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    justify-content: space-between;
    color: rgba(255, 249, 242, .7);
    font-size: 11px;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .index-1 { margin-left: 300px; }
    .about-1 { margin-left: 440px; }
    .faq-1 { margin-left: 490px; }
    .story-1 { margin-left: 540px; }
    .involve-1 { margin-left: 590px; }
    .donate-1 { margin-left: 705px; }

    .stories-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1100px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-heading p {
        max-width: 500px;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-columns {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .top {
        padding: 0 20px;
        gap: 15px;
    }

    .brand-name {
        font-size: 24px;
    }

    .fox {
        width: 45px;
        height: 45px;
    }

    .index-1,
    .about-1,
    .faq-1,
    .story-1,
    .involve-1,
    .donate-1 {
        position: static;
        margin-left: 0;
    }

    .stories-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .space {
        padding: 100px 8%;
    }

    .creator {
        margin-left: 8%;
        margin-right: 8%;
    }
}

@media (max-width: 800px) {
    .blog-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .blog-header h2 {
        font-size: 45px;
    }

    .footer-nav {
        flex-wrap: wrap;
        padding: 20px;
    }

    .footer-brand {
        width: 100%;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .space .bga-05__terrain,
    .space .bga-05__ridge {
        inset: -100%;
    }

    .front_text {
        font-size: 65px;
        word-spacing: 100px;
    }

    .front_text2 {
        font-size: 38px;
    }
}

@media (max-width: 650px) {
    .top {
        height: 65px;
        padding: 0 15px;
        gap: 8px;
    }

    .fox {
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 20px;
    }

    .index-1,
    .about-1,
    .faq-1,
    .story-1,
    .involve-1,
    .donate-1 {
        display: none;
    }

    .signin-button {
        padding: 8px 12px;
        font-size: 13px;
    }

    .signup-button {
        height: 38px;
        min-width: 75px;
        padding: 0 12px;
        font-size: 12px;
    }

    .space {
        min-height: 500px;
        margin-top: 65px;
        padding: 80px 7%;
        border-radius: 0 0 20px 20px;
    }

    .front {
        width: 100%;
        margin-top: 80px;
    }

    .front_text {
        font-size: 52px;
        word-spacing: normal;
        letter-spacing: -2px;
    }

    .front_text2 {
        font-size: 32px;
        margin-top: 30px;
    }

    .front2 {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }

    .start-learning-button {
        width: calc(100% - 20px);
    }

    .for-parents,
    .for-educator {
        width: 42%;
        font-size: 11px;
    }

    .for-parents {
        margin-left: 0;
    }

    .for-educator {
        margin-left: 46%;
    }

    .creator {
        height: 650px;
        margin: 80px 20px;
        padding: 35px;
    }

    .testimonial-line {
        display: none;
    }

    .testimonial-text {
        position: relative;
        top: auto;
        left: auto;
        margin: 50px 20px;
    }

    .testimonial-author {
        position: relative;
        top: auto;
        left: auto;
        margin-left: 20px;
    }

    .How-text {
        font-size: 32px;
    }

    .How-text2 {
        font-size: 17px;
        padding: 0 25px;
    }

    .stories-container {
        margin: 50px 20px 200px;
        padding: 0;
        grid-template-columns: 1fr;
    }

    .explore-menu {
        top: 65px;
        height: calc(100vh - 65px);
    }

    .explore-menu-content {
        padding: 35px 7%;
    }

    .explore-menu-list {
        gap: 0;
    }

    .explore-item {
        padding: 15px 0;
    }

    .learnivia-blog {
        padding: 80px 20px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-image {
        height: 200px;
    }

    .learnivia-faq {
        padding: 75px 20px;
    }

    .faq-heading h2 {
        font-size: 45px;
    }

    .faq-question {
        font-size: 14px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .learnivia-footer {
        padding: 45px 25px 30px;
    }
}

@media (max-width: 550px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-image {
        height: 200px;
    }

    .learnivia-faq {
        padding: 75px 20px;
    }

    .faq-heading h2 {
        font-size: 45px;
    }

    .faq-question {
        font-size: 14px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .learnivia-footer {
        padding: 45px 25px 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .space .bga-05__terrain,
    .space .bga-05__ridge {
        filter: none;
        opacity: .4;
    }
}