.logo a {
    color: --var(--heading-color);
    text-decoration: none;
}

:root {
    --bg-blur: rgba(255, 255, 255, 0.25);
    --bg-card: rgba(255, 255, 255, 0.15);
    --text-color: #1a1a1a;
    --heading-color: #111;
    --accent-color: #6c63ff;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --bg-blur: rgba(20, 20, 20, 0.3);
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-color: #e5e5e5;
    --heading-color: #fff;
    --accent-color: #8f88ff;
    --shadow-color: rgba(0, 0, 0, 0.5);
}

body {
    font-family: "Inter", system-ui, sans-serif;
    background: linear-gradient(135deg, #f0f4ff, #fef9f4);
    color: var(--text-color);
    margin: 0;
    transition: background 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] body {
    background: linear-gradient(135deg, #0f0f17, #1a1a2e);
}

/* HEADER */
.modern-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    font-weight: 700;
    color: var(--heading-color);
}

.logo span {
    color: var(--accent-color);
}



.header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s ease;
}

.theme-toggle:hover {
    background: var(--accent-color);
    color: white;
}

.donate-btn {
    background: var(--accent-color);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
}

.donate-btn:hover {
    background: #5b55d6;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 1rem;
        background: var(--bg-blur);
        backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 4px 12px var(--shadow-color);
    }

    .nav-links.show {
        display: flex;
    }

}

/* HERO */
.hero {
    text-align: center;
    padding: 3rem 1rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--text-color);
    opacity: 0.85;
}

/* TOOLS GRID */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tool-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px var(--shadow-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 25px var(--shadow-color);
}

.tool-card svg {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    stroke: var(--accent-color);
    stroke-width: 2;
    fill: none;
}

.tool-card h3 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin: 0.5rem 0;
    color: var(--heading-color);
}

.tool-card p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* DONATION */
.donation {
    text-align: center;
    padding: 2rem 1rem;
}

.donation-container {
    display: flex;
    justify-content: center;
}


/* FOOTER */
.glass-footer {
    margin-top: 3rem;
    backdrop-filter: blur(15px);
    background: var(--bg-blur);
    box-shadow: 0 -4px 20px var(--shadow-color);
    border-radius: 20px 20px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.footer-section h4 {
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.footer-section p,
.footer-section a {
    font-size: 0.95rem;
    opacity: 0.85;
}

.footer-section a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.socials {
    display: flex;
    gap: 0.8rem;
    margin: 0.5rem 0 1rem;
}

.footer-bottom {
    text-align: center;
    padding: 0.8rem;
    font-size: 0.85rem;
    opacity: 0.7;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section a {
    text-decoration: none;
    color: --var(--text-color);
    margin-right: 10px;
}


.contact-section {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow-color);
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.contact-section p {
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    color: var(--text-color);
    outline: none;
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea {
    background: rgba(255, 255, 255, 0.1);
}

.contact-form button {
    background: var(--accent-color);
    border: none;
    color: white;
    padding: 0.8rem;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.contact-form button:hover {
    background: #5b55d6;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
    transition: opacity 0.5s ease;
    user-select: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.blue {
    color: #26afdf;
}

.orange {
    color: #ee9019;
}



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