
/* Updated Header/Nav Styles */
header {
    background: #008000; /* Green color */
    color: #fff;
    padding: 1.5rem 0; /* Increased from 1rem */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 40px; /* Added fixed minimum height */
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    align-items: center; /* Better vertical alignment */
}

header nav ul li {
    margin: 0 1.5rem; /* Increased spacing between items */
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    font-size: 1.1rem; /* Increased font size */
    padding: 0.5rem 0; /* Added vertical padding */
    display: inline-block;
}

header nav ul li a:hover {
    color: #ffd700;
    transform: scale(1.05); /* Added hover effect */
}

.hero {
    background: url('../images/soil.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 5rem 1rem;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}/* Earth & Growth Theme Variables */
:root {
    --soil-brown: #5C4B36;
    --plant-green: #6B8E23;
    --ocean-blue: #3A7CA5;
    --gold-accent: #D4AF37;
    --white-text: #F8F8F8;
}

/* Base Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f0;
    color: #333;
}

/* Header/Hero Section */


/* Photo Button Grid */
.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.photo-button {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.photo-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.photo-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: filter 0.3s;
}

.photo-button:hover img {
    filter: brightness(0.6);
}

.photo-button .btn-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px;
    text-align: center;
}

.photo-button .btn-text h2 {
    margin: 0;
    font-size: 1.5rem;
}

/* Footer */
footer {
            background-color: var(--soil-brown);
            color: white;
            padding: 3rem 2rem;
            text-align: center;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            text-align: left;
        }
        
        .footer-column h3 {
            color: white;
            margin-bottom: 1.5rem;
            font-size: 1.2rem;
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column ul li {
            margin-bottom: 0.75rem;
        }
        
        .footer-column ul li a {
            color: #adb5bd;
            text-decoration: none;
            transition: var(--transition);
        }
        
        .footer-column ul li a:hover {
            color: white;
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .social-links a {
            color: white;
            background-color: rgba(255, 255, 255, 0.1);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }
        
        .social-links a:hover {
            background-color: var(--primary-color);
            transform: translateY(-3px);
        }
        
        .copyright {
            margin-top: 3rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #adb5bd;
            font-size: 0.9rem;
        }
/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .button-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}
:root {
    --primary-color: #2E7D32;
    --primary-light: #E8F5E9;
    --secondary-color: #2196F3;
    --accent-color: #FFC107;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.hero-banner {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.9), rgba(33, 150, 243, 0.8));
    color: white;
    padding: 4rem 1rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.learn-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.content-section {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.info-card h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.info-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card-item {
    background-color: var(--primary-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.card-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.classification-types {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
}

.type-item {
    background-color: white;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.type-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.image-container {
    margin: 2rem 0;
    text-align: center;
}

.featured-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.featured-image:hover {
    transform: scale(1.02);
}

.image-caption {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

.cause-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.cause-item {
    text-align: center;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cause-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cause-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cause-item ul {
    list-style: none;
    text-align: left;
}

.cause-item li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.cause-item li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.effects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.effect-item {
    background-color: var(--primary-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.effect-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.effect-item ul {
    list-style: none;
}

.effect-item li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.effect-item li::before {
    content: '→';
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

footer {
    background-color: var(--soil-brown);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
}

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

.social-links a {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    font-size: 0.9rem;
}

/* -----------------------
   Mobile Fixes Only
------------------------ */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem; /* smaller hero title */
    }
    
    .hero p {
        font-size: 1rem; /* smaller hero paragraph */
    }

    .button-grid {
        grid-template-columns: 1fr; /* stack buttons vertically */
        padding: 20px; /* reduce padding */
    }

    .photo-button {
        height: auto; /* let buttons adjust to content */
    }

    .photo-button img {
        height: 200px; /* smaller image for mobile */
    }

    .info-card {
        padding: 1.5rem; /* smaller card padding */
    }

    .card-grid, .cause-list, .effects-container {
        grid-template-columns: 1fr; /* stack items vertically */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }

    .info-card h2 {
        font-size: 1.4rem;
    }

    .card-item, .cause-item, .effect-item {
        padding: 1rem; /* further reduce padding */
    }

    .photo-button img {
        height: 150px; /* even smaller for very small screens */
    }
}
