/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary: #2ecc71;       /* Fresh Green */
    --secondary: #27ae60;     /* Darker Green */
    --accent: #3498db;        /* Clean Water Blue */
    --dark: #2c3e50;
    --light: #f4f4f4;
    --text-grey: #666;
}

body {
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
}

/* Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 10px auto;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

.highlight {
    color: var(--primary);
}

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

.nav-links li {
    margin-left: 30px;
}

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

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

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
}

.btn-nav:hover {
    background: var(--secondary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-main {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-main:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.text-box h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.image-box img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Audio Styling */
.audio-container {
    margin-top: 20px;
    padding: 20px;
    background: var(--light);
    border-left: 5px solid var(--primary);
    border-radius: 4px;
}

audio {
    width: 100%;
    margin-top: 10px;
}

/* Types of Pollution Cards */
.types-section {
    background-color: var(--light);
    padding: 80px 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
}

/* Media Gallery */
.media-bg {
    background-color: #2c3e50;
    color: white;
}

.media-bg .section-title {
    color: white;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
}

video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 4px solid var(--primary);
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(46, 204, 113, 0.9);
    color: white;
    text-align: center;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

/* Footer */
footer {
    background: #1a252f;
    color: white;
    padding: 40px 0 20px 0;
    text-align: center;
}

.footer-about h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
    .menu-toggle {
    width: 40px;              /* Proper width */
    height: 32px;             /* Proper height */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    cursor: pointer;
    z-index: 999;
}
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
}
