/* SDG 6: Clean Water and Sanitation - Global Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary-blue: #0077b6;
    --secondary-blue: #00b4d8;
    --accent-blue: #90e0ef;
    --deep-navy: #03045e;
    --pure-white: #ffffff;
    --soft-gray: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--soft-gray);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--deep-navy);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    background-color: var(--pure-white);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--secondary-blue);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Common Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: var(--deep-navy);
    color: var(--pure-white);
    padding: 4rem 5% 2rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--accent-blue);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p, .footer-section li {
    font-size: 0.9rem;
    color: #cbd5e0;
    margin-bottom: 10px;
}

.footer-links li a:hover {
    color: var(--accent-blue);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.editor-badge {
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--pure-white);
        padding: 2rem;
        box-shadow: var(--shadow);
    }

    nav ul.show {
        display: flex;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* Cards & Interaction */
.card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 5px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    border-top-color: var(--primary-blue);
}
