﻿/* Green Planet Research Foundation - Professional Styles */
:root {
    --primary-green: #4a7c23;
    --dark-green: #2d5016;
    --light-green: #6ba329;
    --accent-green: #8bc34a;
    --gold: #d4af37;
    --charcoal: #1a1a1a;
    --dark-gray: #2c2c2c;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --cream: #fafaf8;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-secondary); color: var(--charcoal); line-height: 1.6; overflow-x: hidden; background: var(--white); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05); transition: var(--transition-smooth); }
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 1rem 20px; }
.logo-container { display: flex; align-items: center; gap: 15px; }
.logo { height: 50px; width: auto; transition: var(--transition-smooth); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15)); }
.logo:hover { transform: scale(1.05); filter: drop-shadow(0 4px 8px rgba(74, 124, 35, 0.3)); }
.logo-text { font-family: var(--font-primary); font-size: 1.2rem; font-weight: 600; color: var(--primary-green); letter-spacing: 0.5px; }
.nav-menu { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-link { text-decoration: none; color: var(--charcoal); font-weight: 500; font-size: 0.95rem; position: relative; transition: var(--transition-smooth); padding: 0.5rem 0; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary-green); transition: var(--transition-smooth); }
.nav-link:hover { color: var(--primary-green); }
.nav-link:hover::after { width: 100%; }
.contact-btn { background: var(--primary-green); color: var(--white) !important; padding: 0.7rem 1.5rem !important; border-radius: 50px; transition: var(--transition-smooth); }
.contact-btn::after { display: none; }
.contact-btn:hover { background: var(--dark-green); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(74, 124, 35, 0.3); }
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.mobile-menu-toggle span { width: 25px; height: 3px; background: var(--primary-green); border-radius: 3px; transition: var(--transition-smooth); }
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2d5016 0%, #4a7c23 50%, #6ba329 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 50%, rgba(139, 195, 74, 0.2) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%); animation: pulse 15s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.8; } }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.3); }
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); max-width: 900px; padding: 0 20px; }
.hero-title { font-family: var(--font-primary); font-size: 4rem; margin-bottom: 1.5rem; line-height: 1.2; }
.title-primary { display: block; font-weight: 700; letter-spacing: 2px; }
.title-secondary { display: block; font-weight: 400; font-size: 3rem; color: var(--gold); margin-top: 0.5rem; }
.hero-subtitle { font-size: 1.3rem; margin-bottom: 2.5rem; letter-spacing: 1px; opacity: 0.95; }
.hero-cta { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.btn { padding: 1rem 2.5rem; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 1rem; transition: var(--transition-smooth); cursor: pointer; border: 2px solid transparent; display: inline-block; letter-spacing: 0.5px; }
.btn-primary { background: var(--white); color: var(--primary-green); }
.btn-primary:hover { background: transparent; color: var(--white); border-color: var(--white); transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); }
.btn-secondary { background: transparent; color: var(--white); border-color: var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--primary-green); transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); }
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; }
.mouse { width: 30px; height: 50px; border: 2px solid var(--white); border-radius: 15px; position: relative; }
.mouse::before { content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 4px; height: 10px; background: var(--white); border-radius: 2px; animation: scroll 2s infinite; }
@keyframes scroll { 0% { top: 10px; opacity: 1; } 100% { top: 30px; opacity: 0; } }
.fade-in-up { animation: fadeInUp 1s ease-out forwards; opacity: 0; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.section { padding: 100px 0; position: relative; }
.dark-section { background: linear-gradient(135deg, var(--dark-gray) 0%, var(--charcoal) 100%); color: var(--white); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label { display: inline-block; color: var(--primary-green); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; }
.dark-section .section-label { color: var(--accent-green); }
.section-title { font-family: var(--font-primary); font-size: 3rem; font-weight: 700; margin-bottom: 1.5rem; line-height: 1.2; }
.title-underline { width: 80px; height: 4px; background: linear-gradient(90deg, var(--primary-green), var(--accent-green)); margin: 0 auto 1.5rem; border-radius: 2px; }
.section-subtitle { font-size: 1.1rem; max-width: 700px; margin: 0 auto; opacity: 0.9; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.lead-text { font-size: 1.3rem; font-weight: 500; color: var(--primary-green); margin-bottom: 1.5rem; line-height: 1.7; }
.about-text p { margin-bottom: 1.2rem; font-size: 1.05rem; opacity: 0.9; }
.about-stats { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.stat-item { flex: 1; min-width: 120px; }
.stat-number { display: block; font-family: var(--font-primary); font-size: 2.5rem; font-weight: 700; color: var(--primary-green); margin-bottom: 0.3rem; }
.stat-label { display: block; font-size: 0.9rem; color: var(--dark-gray); font-weight: 500; }
.image-wrapper { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2); transition: var(--transition-smooth); }
.image-wrapper:hover { transform: translateY(-10px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3); }
.image-placeholder { width: 100%; background: linear-gradient(135deg, #f5f5f5, #e0e0e0); }
.about-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: contain;
}
.mission-grid, .focus-grid, .team-grid, .impact-grid { display: grid; gap: 2.5rem; }
.mission-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.focus-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.team-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.impact-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.mission-card, .focus-card, .team-card, .impact-card { transition: var(--transition-smooth); }
.mission-card { background: rgba(255, 255, 255, 0.05); padding: 2.5rem; border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.mission-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.08); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
.mission-card h3 { font-family: var(--font-primary); font-size: 1.8rem; margin-bottom: 1rem; color: var(--accent-green); }
.focus-card { background: var(--white); padding: 2rem; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }
.focus-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(74, 124, 35, 0.2); }
.focus-card h4 { font-family: var(--font-primary); font-size: 1.4rem; color: var(--primary-green); margin-bottom: 1rem; }
.impact-card { text-align: center; padding: 2.5rem; background: rgba(255, 255, 255, 0.05); border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.1); }
.impact-card:hover { transform: translateY(-10px) scale(1.05); }
.impact-number { font-family: var(--font-primary); font-size: 4rem; font-weight: 700; color: var(--accent-green); margin-bottom: 0.5rem; display: block; }
.impact-label { font-size: 1.2rem; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; display: block; }
.team-card { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); text-align: center; }
.team-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(74, 124, 35, 0.2); }
.team-image { width: 100%; height: 300px; overflow: hidden; background: linear-gradient(135deg, #e8f5e9, #f1f8e9); }
.team-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: var(--transition-smooth); }
.team-card:hover .team-photo { transform: scale(1.05); }
.team-card h4 { font-family: var(--font-primary); font-size: 1.5rem; color: var(--primary-green); margin: 1.5rem 0 0.5rem; padding: 0 1.5rem; }
.team-role { color: var(--gold); font-weight: 600; font-size: 1rem; margin-bottom: 1rem; }
.contact-content { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.info-card { padding: 1.5rem; background: var(--light-gray); border-radius: 10px; transition: var(--transition-smooth); }
.info-card:hover { transform: translateX(10px); background: var(--cream); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.info-card h4 { font-family: var(--font-primary); font-size: 1.3rem; color: var(--primary-green); margin-bottom: 0.8rem; }
.social-links { display: flex; gap: 1rem; margin-top: 0.5rem; }
.social-links a { color: var(--primary-green); text-decoration: none; font-weight: 500; transition: var(--transition-smooth); }
.contact-form-wrapper { background: var(--white); padding: 2.5rem; border-radius: 15px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { position: relative; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem; border: 2px solid #e0e0e0; border-radius: 8px; font-family: var(--font-secondary); font-size: 1rem; transition: var(--transition-smooth); background: var(--white); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-green); box-shadow: 0 0 0 3px rgba(74, 124, 35, 0.1); }
.form-group label { position: absolute; left: 1rem; top: 1rem; color: #999; pointer-events: none; transition: var(--transition-smooth); background: var(--white); padding: 0 0.5rem; }
.form-group input:focus + label, .form-group input:not(:placeholder-shown) + label, .form-group textarea:focus + label, .form-group textarea:not(:placeholder-shown) + label { top: -0.5rem; left: 0.8rem; font-size: 0.85rem; color: var(--primary-green); }
.contact-form .btn-primary { background: var(--primary-green); color: var(--white); border: none; cursor: pointer; }
.contact-form .btn-primary:hover { background: var(--dark-green); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(74, 124, 35, 0.3); }
.footer { background: linear-gradient(135deg, var(--charcoal), var(--dark-green)); color: var(--white); padding: 4rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; align-items: start; }
.footer-section h4 { font-family: var(--font-primary); font-size: 1.3rem; margin-bottom: 1.5rem; color: var(--accent-green); }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.7rem; }
.footer-section a { color: rgba(255, 255, 255, 0.8); text-decoration: none; transition: var(--transition-smooth); }
.footer-section a:hover { color: var(--accent-green); }
.footer-logo { height: 120px; margin-bottom: 1rem; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4)); transition: var(--transition-smooth); }
.footer-logo:hover { filter: drop-shadow(0 8px 16px rgba(139, 195, 74, 0.5)); transform: scale(1.05); }
.newsletter { display: flex; gap: 0.5rem; margin-top: 1rem; }
.newsletter-input { flex: 1; padding: 0.7rem; border: none; border-radius: 5px; }
.newsletter-btn { padding: 0.7rem 1.5rem; background: var(--primary-green); color: var(--white); border: none; border-radius: 5px; cursor: pointer; font-weight: 600; transition: var(--transition-smooth); }
.newsletter-btn:hover { background: var(--accent-green); transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); flex-wrap: wrap; gap: 1rem; }
.footer-links { display: flex; gap: 2rem; }
@media (max-width: 968px) {
    .nav-menu { position: fixed; left: -100%; top: 70px; flex-direction: column; background: rgba(255, 255, 255, 0.98); width: 100%; text-align: center; transition: 0.3s; box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05); padding: 2rem 0; }
    .nav-menu.active { left: 0; }
    .mobile-menu-toggle { display: flex; }
    .hero-title { font-size: 2.5rem; }
    .title-secondary { font-size: 2rem; }
    .section-title { font-size: 2.2rem; }
    .about-content, .contact-content { grid-template-columns: 1fr; }
    .mission-grid, .focus-grid, .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hero-title { font-size: 2rem; }
    .title-secondary { font-size: 1.5rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 100%; max-width: 280px; text-align: center; }
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
}

/* Process Section - Waste Flow Diagram */
.process { background: var(--cream); }
.process-content { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; margin-top: 3rem; }
.process-diagram { background: transparent; padding: 0; border-radius: 20px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); }
.flow-diagram { width: 100%; height: auto; border-radius: 10px; transition: var(--transition-smooth); display: block; }
.flow-diagram:hover { transform: scale(1.02); box-shadow: 0 15px 50px rgba(74, 124, 35, 0.15); }
.process-explanation h3 { font-family: var(--font-primary); font-size: 2rem; color: var(--primary-green); margin-bottom: 2rem; }
.process-steps { display: flex; flex-direction: column; gap: 2rem; }
.step-item { display: flex; gap: 1.5rem; align-items: start; }
.step-number { flex-shrink: 0; width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary-green), var(--light-green)); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; box-shadow: 0 5px 15px rgba(74, 124, 35, 0.3); }
.step-content h4 { font-family: var(--font-primary); font-size: 1.3rem; color: var(--primary-green); margin-bottom: 0.5rem; }
.step-content p { color: var(--dark-gray); line-height: 1.8; }
.step-content strong { color: var(--primary-green); font-weight: 600; }

@media (max-width: 968px) {
    .process-content { grid-template-columns: 1fr; }
    .process-diagram { order: -1; }
}




/* Footer responsive */
@media (max-width: 968px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-section ul { text-align: center; }
    .newsletter { flex-direction: column; }
    .newsletter-input { border-radius: 25px; }
    .newsletter-btn { border-radius: 25px; width: 100%; }
}

/* Logo responsive adjustments */
@media (max-width: 600px) {
    .logo-text { font-size: 0.9rem; }
    .logo-container > div > span:last-child { font-size: 0.55rem !important; }
}

/* Force logo visibility on mobile */
@media (max-width: 968px) {
    .logo-container { display: flex !important; flex-direction: row !important; align-items: center !important; }
    .logo-container > div { display: flex !important; flex-direction: column !important; }
    .logo-text { display: block !important; font-size: 0.85rem !important; }
    .logo-container > div > span:last-child { display: block !important; font-size: 0.5rem !important; }
}

/* Hero video background */
.hero-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c23 50%, #6ba329 100%);
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in;
}

.hero-video.loaded {
    opacity: 1;
}

.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c23 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: opacity 0.5s ease-out;
}

.video-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.video-loading p {
    color: white;
    font-size: 1rem;
    letter-spacing: 1px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 80, 22, 0.6);
    z-index: 1;
}

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

/* Video sound toggle button */
.video-sound-toggle {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 3;
    background: rgba(74, 124, 35, 0.8);
    border: 2px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-sound-toggle:hover {
    background: rgba(74, 124, 35, 1);
    transform: scale(1.1);
}

.video-sound-toggle.muted {
    background: rgba(200, 200, 200, 0.6);
}

/* Tablet screens */
@media (max-width: 968px) {
    .video-sound-toggle {
        width: 45px;
        height: 45px;
        bottom: 90px;
        right: 20px;
    }
    
    .video-sound-toggle svg {
        width: 24px;
        height: 24px;
    }
}

/* Mobile phones - NO video, animated gradient instead */
@media (max-width: 768px) {
    .hero-video,
    .video-sound-toggle,
    .video-loading {
        display: none !important;
    }
    
    .hero-poster {
        background: linear-gradient(135deg, #1a3d0a 0%, #2d5016 25%, #4a7c23 50%, #6ba329 75%, #8bc34a 100%);
        background-size: 200% 200%;
        animation: gradientShift 8s ease infinite;
    }
    
    .hero {
        min-height: 100vh;
        height: 100vh;
        overflow: hidden;
    }
    
    .hero-content {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
