:root {
    --primary-color: #5cb431;
    --secondary-color: #c1ff72;
    --text-color: #1A237E;
    --light-bg: #F5F7FF;
    --white: #ffffff;
    --light-blue: #E3F2FD;
    --light-orange: #FFF3E0;
    --light-green: #E8F5E9;
    --light-purple: #F3E5F5;
    --gray-text: #546E7A;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --hover-transform: translateY(-5px);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.top-bar {
    background: #1A237E;
    color: var(--white);
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.contact-info span {
    display: flex;
    align-items: center;
}

.contact-info i,
.social-links i {
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
}

header {
    background: var(--white);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
}

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

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.get-started-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.get-started-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(77, 255, 166, 0.2);
}

.primary-btn, .donate-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(77, 255, 166, 0.2);
}

.primary-btn:hover, .donate-btn:hover {
    transform: var(--hover-transform);
    box-shadow: 0 8px 25px rgba(77, 255, 166, 0.3);
}

.hero {
    background: var(--light-bg);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
}

.stats-card, .team-card {
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: absolute;
}

.stats-card {
    top: 20px;
    right: -30px;
}

.team-card {
    bottom: 20px;
    left: -30px;
}

.team-avatars {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team-avatars img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
}

.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
}

.feature-card:hover {
    transform: var(--hover-transform);
}

.feature-card:nth-child(1) { background: var(--light-blue); }
.feature-card:nth-child(2) { background: var(--light-orange); }
.feature-card:nth-child(3) { background: var(--light-green); }
.feature-card:nth-child(4) { background: var(--light-purple); }

.icon-circle {
    background: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--box-shadow);
}

.icon-circle i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 1rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 2rem;
    align-items: center;
}

.about-images {
    position: relative;
}

.main-image {
    width: 100%;
    border-radius: 20px;
}

.overlay-image {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.welcome-text {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: block;
}

.about-text h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight-text {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.video-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.video-btn i {
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-content,
    .features-grid,
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .stats-card,
    .team-card {
        position: static;
        margin: 1rem 0;
    }
    
    nav ul {
        display: none;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
}

.partners {
    padding: 4rem 0;
    background: var(--white);
    overflow: hidden;
    position: relative;
}

.partners::before,
.partners::after {
    content: "";
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
}

.partners::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.partners::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.partners-track {
    display: flex;
    width: fit-content;
    animation: scroll 30s linear infinite;
}

.partners-slide {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0 2rem;
}

.partners-slide img {
    height: 60px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partners-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.partners-track:hover {
    animation-play-state: paused;
}

.stats {
    background: var(--white);
    padding: 6rem 2rem;
    position: relative;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1), transparent);
}

.stat-item:last-child::after {
    display: none;
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-blue), var(--light-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.stat-icon::after {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    border: 2px solid var(--light-blue);
    border-radius: 50%;
    opacity: 0.3;
}

.stat-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-item h3 {
    color: var(--text-color);
    font-size: 2.8rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem;
    background: linear-gradient(135deg, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    color: var(--gray-text);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-item::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }
}

.blog {
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header .subtitle {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: block;
}

.blog-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    line-height: 1.2;
}

.blog-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: var(--hover-transform);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content .category {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-content h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    line-height: 1.4;
}

.blog-meta {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.blog-meta i {
    margin-right: 0.5rem;
}

.newsletter {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-purple) 100%);
    border-radius: 20px;
    margin: 2rem;
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.newsletter-content h3 {
    font-size: 1.8rem;
    margin: 0;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.newsletter-content .highlight {
    color: var(--primary-color);
    position: relative;
    font-weight: 600;
}

.newsletter-content .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.contact-form {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input {
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.contact-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(77, 255, 166, 0.1);
    outline: none;
}

.contact-form .primary-btn {
    white-space: nowrap;
    min-width: 180px;
}

footer {
    background: var(--text-color);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer-about p {
    margin: 1rem 0;
    opacity: 0.8;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-contact p {
    margin: 0.5rem 0;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

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

.footer-social h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.tweet {
    opacity: 0.8;
}

.tweet span {
    display: block;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .stats-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        justify-content: center;
    }

    .contact-form {
        flex-direction: column;
        padding: 0 1rem;
    }

    .newsletter-content h2 {
        font-size: 2rem;
    }

    .newsletter-content h3 {
        font-size: 1.5rem;
    }

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

/* Enhanced Animations */
.feature-card, .blog-card, .primary-btn, .donate-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: var(--white);
    opacity: 0.8;
}

.praxis-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.praxis-link:hover {
    color: var(--primary-color);
}