@media (max-width: 768px) {

    .header {

        position: fixed;

        top: 0;
        left: 0;

        width: 100%;

        z-index: 9999;

        height: 64px;

        display: grid;
        grid-template-columns: 48px 1fr auto;
        align-items: center;

        padding: 0 14px;
        gap: 8px;
    }

    .mobile-menu-btn {
        display: block;
        grid-column: 1;
        justify-self: start;
    }

    .logo-area {
        grid-column: 2;
        justify-content: center;
    }

    .site-title {
        font-size: 1rem;
        text-align: center;
        white-space: nowrap;
    }

    .nav {
        position: absolute;
        top: 64px;
        left: 0px;
        right: 0px;
        transform: none;

        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: center;

        gap: 0;

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

        border: 1px solid #e2e8f0;
        border-radius: 0;

        box-shadow: 0 14px 35px rgba(15, 23, 42, .18);

        max-height: 0;
        overflow: hidden;

        opacity: 0;

        transition:
            max-height .35s ease,
            opacity .25s ease;
    }

    .nav.open {
        max-height: 300px;
        opacity: 1;
    }

    .nav a {
        width: 100%;

        text-align: center;

        padding: 16px 0;

        font-size: .95rem;

        color: #0f172a;

        border-bottom: 1px solid #e2e8f0;
    }

    .nav a.active {
        color: #2563eb;
        background: #eff6ff;
        border-bottom: 1px solid #e2e8f0;
    }

    .header-right {
        grid-column: 3;

        margin-left: 0;

        justify-self: end;

        display: flex;
        align-items: center;
        gap: 0;
    }

    #languageBtn {
        padding: 8px 12px;
        font-size: .8rem;
    }

    .youtube-link {
        display: none;
    }

    main {
        padding: 30px 14px;
    }

    .hero h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .about-card,
    .mission-card,
    .community-card,
    .donate-card {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .about-image,
    .mission-image,
    .community-image,
    .donate-image {
        flex: unset;
        width: 100%;
    }

    .about-content h3,
    .mission-content h3,
    .community-content h3,
    .donate-content h3 {
        font-size: 1.5rem;
    }

    .about-content p,
    .mission-content p,
    .community-content p,
    .donate-content p {
        font-size: 1rem;
    }

    .ad-placeholder {
        padding: 30px 15px;
    }

    .hero {
        padding: 70px 18px 70px;

        background:
            radial-gradient(circle at 20% 20%,
                rgba(99, 102, 241, .12) 0%,
                transparent 32%),
            radial-gradient(circle at 85% 35%,
                rgba(59, 130, 246, .10) 0%,
                transparent 34%),
            linear-gradient(180deg,
                #e7efff 0%,
                #f4f7ff 55%,
                rgba(255, 255, 255, 0) 100%);
    }

    .hero-decoration {
        display: block;
    }

    .shape {
        opacity: .35;
    }

    .shape1 {
        top: 40px;
        left: 28px;
    }

    .shape2 {
        top: 140px;
        left: 70px;
    }

    .shape3 {
        top: 48px;
        right: 36px;
    }

    .shape4 {
        top: 175px;
        right: 38px;
    }

    .shape5 {
        top: 105px;
        right: 95px;
        font-size: 22px;
    }

}

@media (max-width:768px) {

    body {

        padding-top: 64px;

    }

}