/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #60a5fa;
    --secondary-color: #3b82f6;
    --accent-color: #93c5fd;
    --text-color: #f3f4f6;
    --text-muted: #9ca3af;
    --background: #111827;
    --card-background: #1f2937;
    --navbar-background: #000000;
    --container-width: 1200px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    background: var(--navbar-background);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero section */
.hero {
    padding: 240px 0;
    background: var(--card-background);
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/abundance-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 4rem;
    color: var(--text-color);
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
}

.hero .lead {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: var(--primary-color);
    color: var(--background);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.4);
}

/* Mission section */
.mission {
    padding: 100px 0;
    background: linear-gradient(45deg, #1a237e, #283593);
    position: relative;
    overflow: hidden;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.mission .container {
    position: relative;
    z-index: 2;
}

.mission h2 {
    font-size: 3.5rem;
    color: var(--text-color);
    margin-bottom: 4rem;
    font-weight: 700;
    text-align: center;
}

.mission-content {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.mission-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.mission-item.reverse {
    direction: rtl;
}

.mission-item.reverse > * {
    direction: ltr;
}

.mission-image {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16/9;
    background: rgba(255, 255, 255, 0.1);
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mission-text {
    padding: 2rem;
    display: flex;
    align-items: center;
}

.mission-text p {
    font-size: 2.5rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.02em;
}

@media (max-width: 1200px) {
    .mission-item {
        gap: 4rem;
    }

    .mission-text p {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .mission {
        padding: 60px 0;
    }

    .mission h2 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .mission-content {
        gap: 4rem;
    }

    .mission-item,
    .mission-item.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }

    .mission-text {
        padding: 0 1.5rem;
        text-align: center;
    }

    .mission-text p {
        font-size: 1.8rem;
        text-align: center;
    }

    .mission-image {
        margin: 0 1.5rem;
        border-radius: 1rem;
    }
}

/* Features/Projects section */
.features {
    padding: 60px 0;
    scroll-margin-top: 80px;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 3.5rem;
    color: var(--text-color);
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    padding: 4rem 3rem;
    background: var(--card-background);
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.feature-card h3 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.project-link {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: var(--primary-color);
    color: var(--background);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.2);
}

.project-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.3);
}

/* About page styles */
.page-header {
    padding: 160px 0 80px;
    background: var(--card-background);
    text-align: center;
}

.about-content {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.about-text h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.values-list {
    list-style: none;
}

.values-list li {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-background);
    border-radius: 0.5rem;
}

.values-list h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.values-list p {
    color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--navbar-background);
    padding: 80px 0 40px;
    color: var(--text-color);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.footer-info h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--text-color);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.2s ease;
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--navbar-background);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-info p {
        margin: 0 auto;
    }

    .footer-links ul {
        justify-content: center;
    }

    .hero h1 {
        font-size: 3.5rem;
        padding: 0 1rem;
    }

    .hero .lead {
        font-size: 1.25rem;
    }

    .features h2 {
        font-size: 2.8rem;
    }

    .feature-card h3 {
        font-size: 2.5rem;
    }

    .feature-card {
        padding: 3rem 2rem;
        min-height: 350px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}
