/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: -0.5px;
}

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

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
}

.nav-links a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4aa, #00a085);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f4c3a 0%, #2d7d32 50%, #388e3c 100%);
    color: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0,212,170,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(56,142,60,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #e8f5e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #00d4aa 0%, #00a085 100%);
    color: white;
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 212, 170, 0.4);
}

/* Section Styling */
section {
    padding: 6rem 0;
    position: relative;
}

section:nth-child(even) {
    background: linear-gradient(135deg, #f8fffe 0%, #f1f8f6 100%);
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: #1b5e20;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #00d4aa, #00a085);
    border-radius: 2px;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #2e7d32;
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60" fill="%23e8f5e8" opacity="0.1"><circle cx="30" cy="30" r="2"/></svg>') repeat;
    opacity: 0.3;
}

.about-section p {
    font-size: 1.3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: #37474f;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

/* Problem Section */
.problem-section {
    background: linear-gradient(135deg, #f8fffe 0%, #f1f8f6 100%);
    position: relative;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.problem-item {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,212,170,0.1);
}

.problem-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e57373, #ef5350);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.problem-item:hover::before {
    transform: scaleX(1);
}

.problem-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.problem-item h3 {
    color: #d32f2f;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.problem-item p {
    color: #546e7a;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Solution Section */
.solution-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    position: relative;
}

.solutions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.solution-item {
    background: linear-gradient(135deg, #2e7d32 0%, #388e3c 50%, #43a047 100%);
    color: white;
    padding: 3.5rem 3rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(46, 125, 50, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.solution-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255,255,255,0.1), transparent 30%);
    animation: rotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.solution-item:hover::before {
    opacity: 1;
}

.solution-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(46, 125, 50, 0.35);
}

.solution-item h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.solution-item p {
    opacity: 0.95;
    line-height: 1.7;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

/* Updates Section */
.updates-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    position: relative;
}

.updates-loading {
    text-align: center;
    padding: 3rem 0;
    color: #546e7a;
    font-style: italic;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.update-item {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,212,170,0.08);
    overflow: hidden;
}

.update-item.featured {
    background: linear-gradient(135deg, #f8fffe 0%, #ffffff 100%);
    border: 2px solid rgba(0,212,170,0.2);
    transform: scale(1.02);
}

.update-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00d4aa, #00a085);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.update-item:hover::before {
    transform: scaleX(1);
}

.update-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.update-item.featured:hover {
    transform: translateY(-5px) scale(1.02);
}

.update-date {
    color: #00a085;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(0,212,170,0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.update-item h3 {
    color: #1b5e20;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.update-item p {
    color: #546e7a;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.update-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #2e7d32, #43a047);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.update-item.featured .update-tag {
    background: linear-gradient(135deg, #00d4aa, #00a085);
}

.updates-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(0,212,170,0.05);
    border-radius: 20px;
    border: 1px solid rgba(0,212,170,0.1);
}

.updates-cta p {
    font-size: 1.2rem;
    color: #37474f;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.updates-button {
    display: inline-block;
    background: linear-gradient(135deg, #2e7d32 0%, #43a047 100%);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.updates-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.4);
}

/* Action Section */
.action-section {
    background: linear-gradient(135deg, #0f4c3a 0%, #1b5e20 50%, #2e7d32 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.action-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0,212,170,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(67,160,71,0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.action-section h2 {
    color: white;
    position: relative;
    z-index: 1;
}

.action-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.action-content > p {
    font-size: 1.4rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
}

.petition-info {
    background: rgba(255,255,255,0.08);
    padding: 4rem 3rem;
    border-radius: 28px;
    margin-bottom: 4rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.petition-info h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.petition-info p {
    margin-bottom: 3rem;
    opacity: 0.95;
    font-size: 1.1rem;
    line-height: 1.7;
}

.petition-link {
    display: inline-block;
    background: linear-gradient(135deg, #00d4aa 0%, #00a085 100%);
    color: white;
    padding: 1.5rem 4rem;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 12px 30px rgba(0, 212, 170, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.petition-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.petition-link:hover::before {
    left: 100%;
}

.petition-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 45px rgba(0, 212, 170, 0.5);
}

.additional-actions {
    background: rgba(255,255,255,0.06);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.additional-actions h3 {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.additional-actions ul {
    list-style: none;
}

.additional-actions li {
    padding: 1rem 0;
    position: relative;
    padding-left: 3rem;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.additional-actions li:hover {
    transform: translateX(5px);
}

.additional-actions li::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 1rem;
    font-size: 1.2rem;
}

/* Petition Details Section */
.petition-details {
    background: rgba(255,255,255,0.06);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    max-width: 600px;
    margin: 3rem auto 0;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.petition-details h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.petition-details p {
    color: rgba(255,255,255,0.95);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.info-link {
    display: inline-block;
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.info-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.info-link:hover::before {
    left: 100%;
}

.info-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0d3328 0%, #1b5e20 100%);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4aa, #00a085, transparent);
}

.footer p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-size: 1rem;
}

.footer-links a {
    color: #00d4aa;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.footer-links a:hover {
    color: white;
    background: rgba(0, 212, 170, 0.2);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .navbar {
        flex-direction: column;
        text-align: center;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .problem-grid,
    .solutions-list,
    .updates-grid {
        grid-template-columns: 1fr;
    }
    
    .petition-info {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .problem-item,
    .solution-item,
    .update-item {
        padding: 1.5rem;
    }
    
    .update-item.featured {
        transform: none;
    }
    
    .story-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-stats {
        gap: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* About Us Page Styles */
.mission-content {
    max-width: 900px;
    margin: 0 auto;
}

.mission-intro {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 4rem;
    color: #1b5e20;
    font-weight: 500;
    line-height: 1.6;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.story-item {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,212,170,0.08);
    transition: all 0.3s ease;
}

.story-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.story-item h3 {
    color: #1b5e20;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.story-item p {
    color: #546e7a;
    line-height: 1.7;
    font-size: 1rem;
}

.mission-statement {
    text-align: center;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
    padding: 4rem 3rem;
    border-radius: 25px;
    border: 2px solid rgba(0,212,170,0.1);
    margin-top: 3rem;
}

.mission-statement h3 {
    color: #1b5e20;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.mission-statement p {
    font-size: 1.2rem;
    color: #37474f;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.impact-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    min-width: 100px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #00a085;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #00d4aa, #00a085);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #546e7a;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.values-section {
    background: linear-gradient(135deg, #f8fffe 0%, #f1f8f6 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-item {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,212,170,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: rgba(0,212,170,0.2);
}

.value-item h3 {
    color: #1b5e20;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.value-item p {
    color: #546e7a;
    line-height: 1.7;
    font-size: 1rem;
}

.join-section {
    background: linear-gradient(135deg, #0f4c3a 0%, #1b5e20 50%, #2e7d32 100%);
    color: white;
    text-align: center;
}

.join-section h2 {
    color: white;
    margin-bottom: 2rem;
}

.join-intro {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background: linear-gradient(135deg, #2e7d32 0%, #43a047 100%);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3);
}

.cta-button.secondary:hover {
    box-shadow: 0 15px 35px rgba(46, 125, 50, 0.4);
}
