html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fafafa;
    color: #333;
}

/* ================= HEADER ================= */

header {
    width: 100%;
    height: 80px;
    background: rgba(245, 245, 245, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

header .inner {
    width: 100%;
    max-width: 1200px;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    color: #8a4fff;
}

header nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;        
    gap: 0 16px;              
}

nav a {
    margin: 0;               
    text-decoration: none;
    color: #555;
    font-size: 15px;
}

nav a:hover {
    color: #8a4fff;
}

@media (max-width: 900px) {
    header {
        height: auto;                
        padding: 8px 0;               
    }

    header .inner {
        padding: 0 16px;
        flex-direction: column;      
        align-items: flex-start;      
        gap: 6px;
    }

    header nav {
        margin-left: 0;            
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;  
        gap: 4px 14px;               
    }

    nav a {
        font-size: 14px;
    }

}

section {
    padding: 0;
}

/* ================= HERO ================= */

.hero-wrapper {
    width: 100%;
    background: #f5f1e8;
    margin-top: 10px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding-bottom: 40px;
    position: relative;
}

.hero-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -40px;
    height: 40px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        #f5f1e8 0%,
        #fafafa 100%
    );
}

.hero {
    max-width: 1240px;
    margin: 0 auto;
    padding: 72px 72px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;               
    box-sizing: border-box;
}


.hero-text {
    flex: 0 1 52%;
    max-width: 620px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 18px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    background: #efe6ff;
    color: #7c3aed;
}

.hero h1 {
    font-size: 48px;
    margin: 0 0 22px;
    line-height: 1.08;
}

.hero-highlight {
    color: #222;
}

.hero h1 br + * {
    color: #222;
}

.hero p {
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 30px;
    color: #444;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.btn {
    display: inline-block;
    padding: 14px 26px;
    background: #8a4fff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: 0 8px 18px rgba(138, 79, 255, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
    background: #742ee8;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(138, 79, 255, 0.32);
}

.hero-secondary {
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.hero-secondary::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: #6b7280;
    transition: width 0.15s ease;
}

.hero-secondary:hover::after {
    width: 100%;
}

.hero-img {
    flex: 0 1 48%;
    display: flex;
    justify-content: flex-end;
}

.hero-img img {
    width: clamp(520px, 40vw, 700px);  
    max-width: 100%;
    height: auto;
    opacity: 0.95;
    transform: translateY(6px);
}


@media (max-width: 1200px) {
    .hero {
        padding: 64px 40px 32px;
        gap: 48px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-img img {
        width: clamp(460px, 45vw, 620px);
        transform: translateY(4px);
    }
}

@media (max-width: 900px) {
    .hero-wrapper {
        min-height: auto;
        padding-bottom: 32px;
    }

    .hero {
        padding: 96px 20px 40px;
        flex-direction: column-reverse;  
        align-items: flex-start;
        gap: 24px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.15;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-img {
        width: 100%;
        justify-content: center;
    }

    .hero-img img {
        width: min(360px, 90vw);
        transform: none;
    }
}


/* ===== ABOUT SECTION ===== */

.about-section {
    background: #fafafa;
    padding: 72px 0 96px;
    scroll-margin-top: 100px;
}

.about-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}

.about-title {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 32px;
}


.about-layout {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    grid-template-rows: auto auto;
    gap: 24px;
}


.about-block {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 22px;
    box-sizing: border-box;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.03);
}

.about-block h3 {
    font-size: 22px;
    margin: 0 0 10px;
}

.about-block p {
    margin: 0 0 10px;
    line-height: 1.6;
    font-size: 16px;
    color: #444;
}


.about-mission {
    grid-column: 1;
    grid-row: 1;
}

.about-problems {
    grid-column: 1;
    grid-row: 2;
}

.about-ai {
    grid-column: 2;
    grid-row: 1;
}



@media (max-width: 900px) {

    .about-inner {
        padding: 0 20px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .about-ai {
        grid-column: 1;
        grid-row: auto;
    }
}

/* ===== HOW IT WORKS SECTION ===== */

#how {
    scroll-margin-top: 100px; 
}

.how-section {
    background: #fafafa;
    padding: 72px 0 96px;
}

.how-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}

.how-title {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 28px;
}


.how-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
    counter-reset: how-step;
}

.how-steps li {
    position: relative;
    counter-increment: how-step;
    background: #f1f1f1;
    border-radius: 12px;
    padding: 18px 20px 18px 56px;
    box-sizing: border-box;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.02);
}

.how-steps li::before {
    content: counter(how-step);
    position: absolute;
    left: 18px;
    top: 18px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #8a4fff;
    color: #f1f1f1;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-steps h3 {
    margin: 0 0 4px;
    font-size: 18px;
}

.how-steps p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.how-summary {
    font-size: 32px;
    font-weight: 600;
    margin: 32px auto 0;              
    max-width: 720px;
    padding: 14px 18px;
    background: #f1f1f1;
    border-radius: 12px;
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.02);
}


@media (max-width: 900px) {
    .how-inner {
        padding: 0 20px;
    }

    .how-steps li {
        padding: 16px 16px 16px 52px;
    }

    .how-steps li::before {
        left: 16px;
        top: 16px;
    }

    .how-summary {
        margin: 24px 0 0;
        padding: 12px 14px;
        box-shadow: none;
    }
}

/* ===== PARTNERS SECTION ===== */

#partners {
    scroll-margin-top: 100px;
}

.partners-section {
    background: #fafafa;
    padding: 72px 0 96px;
}

.partners-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}

.partners-title {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 12px;
}

.partners-intro {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}


.partner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.partner-tags span {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    font-size: 12px;
    color: #4b5563;
    background: #ffffff;
}


.partners-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 20px;
    align-items: stretch;
}

.partners-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 24px 22px 28px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    overflow: hidden;
}

.partners-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #8a4fff, #c4a0ff);
    opacity: 0.9;
}

.partners-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.partners-card p {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}


.partners-card--highlight {
    background: #f7f5ff;
}

.partners-card--highlight ul {
    margin: 4px 0 0;
    padding-left: 18px;
    font-size: 15px;
    color: #4a4583;
}

.partners-card--highlight li {
    margin-bottom: 6px;
}

.partners-note {
    margin: 24px 0 0;
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
}



@media (max-width: 900px) {
    .partners-inner {
        padding: 0 20px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partners-card {
        padding: 18px 18px 18px 24px;
    }

    .partners-note {
        margin-top: 20px;
    }
}


/* ===== VOLUNTEERS SECTION ===== */

#volunteers {
    scroll-margin-top: 100px;
}

.volunteers-section {
    background: #fafafa;
    padding: 72px 0 96px;
}

.volunteers-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}

.volunteers-title {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 10px;
}

.volunteers-intro {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    max-width: 680px;
}

.volunteers-content {
    display: flex;
    gap: 32px;
    align-items: stretch;
}

.volunteers-copy {
    flex: 1.1;
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.volunteers-copy p {
    margin: 0 0 14px;
}

.volunteers-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    margin-top: 4px;
    border-radius: 999px;
    border: 1px solid #8a4fff;
    background: #f5f0ff;
    color: #4b2bb3;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.volunteers-cta:hover {
    background: #8a4fff;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(138, 79, 255, 0.25);
}

.volunteers-note {
    margin-top: 10px;
    font-size: 13px;
    color: #6b7280;
    font-style: italic;
}

.volunteers-areas {
    flex: 1.2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.vol-area {
    position: relative;
    padding: 16px 18px 18px;
    border-radius: 14px;
    background: radial-gradient(circle at 0 0, rgba(138, 79, 255, 0.08), transparent 55%),
                #fafafa;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    box-sizing: border-box;
    overflow: hidden;
}

.vol-area::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(148, 163, 184, 0.35);
    pointer-events: none;
}

.vol-area h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.vol-area p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}


.vol-area--community {
    background: radial-gradient(circle at 100% 0, rgba(16, 185, 129, 0.08), transparent 55%),
                #f9fafb;
}


@media (hover:hover) and (pointer:fine) {
    .vol-area:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.11);
    }
}


@media (max-width: 900px) {
    .volunteers-inner {
        padding: 0 20px;
    }

    .volunteers-content {
        flex-direction: column;
        gap: 22px;
    }

    .volunteers-areas {
        grid-template-columns: 1fr;
    }

    .volunteers-section {
        padding: 56px 0 72px;
    }
}

/* ===== DONATE / CONTACT SECTION ===== */

#donate {
    scroll-margin-top: 100px;
}

.donate-section {
    position: relative;
    background: #ffffff;
    padding: 72px 0 96px;
}

.donate-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -40px;
    height: 40px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        #fafafa 0%,
        #ffffff 100%
    );
}

.donate-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}

.donate-title {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 24px;
}

.donate-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: flex-start;
}

.donate-lead {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.donate-subtitle {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
}

.donate-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.donate-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.donate-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 18px;
    line-height: 1;
    color: #8a4fff;
}

.donate-impact {
    margin: 4px 0 0;
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    font-weight: 500;
}

.donate-contact {
    position: relative;
    padding: 22px 22px 20px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 0 0, rgba(138, 79, 255, 0.10), transparent 55%),
        #fafafa;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    box-sizing: border-box;
    overflow: hidden;
}

.donate-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(148, 163, 184, 0.45);
    pointer-events: none;
}

.donate-contact-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
}

.donate-contact-text {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}

.donate-contact-block {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.donate-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

.donate-contact-block a {
    font-size: 15px;
    color: #111827;
    text-decoration: none;
}

.donate-contact-block a:hover {
    text-decoration: underline;
}

.donate-contact-block a + a {
    margin-top: 2px;
}

.donate-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    background: #8a4fff;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(138, 79, 255, 0.32);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.donate-cta:hover {
    background: #742ee8;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(138, 79, 255, 0.4);
}

.donate-thanks {
    margin: 10px 0 0;
    font-size: 13px;
    color: #6b7280;
    font-style: italic;
}

@media (max-width: 900px) {
    .donate-inner {
        padding: 0 20px;
    }

    .donate-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}


/* ===== FOOTER ===== */

.footer {
    background: #f4f4f5;  
    padding: 20px 0 24px;   
    margin-top: 0;             
    border-top: 0.5px solid rgba(0, 0, 0, 0.04);  
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    font-size: 14px;
}

.footer-column h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
}



.footer-partners ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-partners li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 4px;
    color: #4b5563;
}

.footer-partners li::before {
    content: "↳";
    position: absolute;
    left: 0;
    top: 0;
    color: #9ca3af;
}



.footer-contact-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-contact-line {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.footer-contact-spacer {
    flex: 1;                           
}

.footer-contact-line a {
    text-decoration: none;
    color: #374151;
}

.footer-contact-line a:hover {
    text-decoration: underline;
}



.footer-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #b3b5b9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #4b5563;
    background: #ffffff;
}


.email-icon {
    font-size: 15px;
}

.email-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
}


.instagram-icon {
    position: relative;
    border-radius: 7px;          
    border: 2px solid #000;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
}


.instagram-icon::before {
    content: "";
    position: absolute;
    inset: 5px;                  
    border-radius: 50%;
    border: 2px solid #000;
}


.instagram-icon span {
    position: absolute;
    width: 2px;
    height: 3px;
    border-radius: 50%;
    background: #000;
    top: 2px;
    right: 3px;
}


.instagram-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
}



@media (max-width: 900px) {
    .footer-inner {
        padding: 0 20px;
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .footer-contact-line {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .footer-contact-spacer {
        flex: 0;
        width: 12px;
    }
}

