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

body {
    font-family: 'Inter', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-weight: 400;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Headers - Bold */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
}

/* Paragraphs - Normal */
p {
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* Color Variables */
:root {
    --primary-green: #2E7D32;
    --secondary-green: #4CAF50;
    --light-green: #81C784;
    --dark-green: #1B5E20;
    --earth-brown: #8D6E63;
    --light-brown: #D7CCC8;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
    --gradient-secondary: linear-gradient(135deg, #81C784 0%, #A5D6A7 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 0 60px; /* More left padding for logo, less right padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
    margin-left: -20px; /* Push logo further to the left */
}

.nav-logo .logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 0.75rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.nav-logo .logo-img:hover {
    transform: scale(1.05);
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.5rem; /* Reduced gap between navigation links */
    margin-right: -10px; /* Pull menu items closer to the right */
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    padding: 0.5rem 0.75rem; /* Reduced horizontal padding for tighter spacing */
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-menu a:hover::before {
    left: 0;
}

.nav-menu a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.btn-login, .btn-signup {
    padding: 0.6rem 1.2rem; /* Slightly reduced padding for better spacing */
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    margin-left: 0.25rem; /* Small left margin for separation from regular nav items */
}

.btn-login {
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    background: transparent;
}

.btn-login:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-signup {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.btn-signup:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    position: relative;
    z-index: 1002;
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
    align-items: center;
}

.hamburger:hover {
    background-color: rgba(27, 94, 32, 0.1);
}

.hamburger:active {
    background-color: rgba(27, 94, 32, 0.2);
}

.hamburger span,
.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
    pointer-events: none;
    position: relative;
}

/* Ensure hamburger is visible and clickable on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 2px solid transparent;
    }
    
    .hamburger:hover,
    .hamburger:focus {
        background: rgba(27, 94, 32, 0.15);
        border-color: rgba(27, 94, 32, 0.3);
    }
    
    .hamburger .bar {
        background: var(--primary-green);
    }
}

.hamburger.active span:nth-child(1),
.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2),
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3),
.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.8) 0%, rgba(76, 175, 80, 0.7) 100%),
                url('./images/smart-irrigation-systems-scaled.jpeg') center/cover no-repeat;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
        linear-gradient(135deg, rgba(27, 94, 32, 0.8) 0%, rgba(76, 175, 80, 0.7) 100%),
        url('./images/smart-irrigation-systems-scaled.jpeg');
    background-size: 15px 15px, 100% 100%, cover;
    background-position: 0 0, 0 0, center;
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 12px;
    }
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-content p {
        font-size: 1.1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content p {
        font-size: 1rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
        gap: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        justify-content: center;
        gap: 1rem;
        flex-direction: row;
    }
}

.btn-primary, .btn-secondary {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    white-space: nowrap;
    min-height: 50px;
}

@media (max-width: 768px) {
    .btn-primary, .btn-secondary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .btn-primary, .btn-secondary {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        min-width: 120px;
    }
}

.btn-primary {
    background: var(--white);
    color: var(--primary-green);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-secondary {
    border: 2.5px solid var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-green);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.btn-secondary:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-secondary i {
    margin-right: 0.6rem;
    font-size: 0.95rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    background: var(--gradient-primary);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--light-gray);
    position: relative;
}

@media (max-width: 768px) {
    .features,
    .about,
    .impact,
    .contact {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .features,
    .about,
    .impact,
    .contact {
        padding: 40px 0;
    }
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--light-gray));
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-green);
    font-weight: 700;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .features h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .features h2 {
        font-size: 2rem;
    }
}

.features .subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .features .subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .features .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        gap: 1.5rem;
        padding: 0 10px;
    }
}

.feature-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

@media (max-width: 768px) {
    .feature-card {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 2rem 1.25rem;
    }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-green);
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 40px 0;
    }
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--light-gray), var(--white));
}

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

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .about-content {
        gap: 2rem;
        padding: 0 10px;
    }
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--dark-green);
    font-weight: 700;
}

@media (max-width: 768px) {
    .about-text h2 {
        font-size: 2.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-text h2 {
        font-size: 2rem;
    }
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-text ul {
    margin: 2rem 0;
    padding-left: 1.5rem;
}

.about-text li {
    margin-bottom: 0.8rem;
    color: #666;
    font-size: 1.1rem;
    position: relative;
}

.about-text li::before {
    content: '✓';
    color: var(--primary-green);
    font-weight: bold;
    margin-right: 0.5rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    background: var(--gradient-secondary);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.2;
}

/* Impact Section */
.impact {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .impact {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .impact {
        padding: 40px 0;
    }
}

.impact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./images/soil-check.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.impact h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .impact h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .impact h2 {
        font-size: 2rem;
    }
}

.impact .subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .impact .subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .impact .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }
}

.impact-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

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

.impact-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--light-green);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.impact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.impact-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* IoT Showcase Section - Premium Design */
.iot-showcase {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.iot-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%232E7D32" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    z-index: 1;
}

.iot-showcase .container {
    position: relative;
    z-index: 2;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 50px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 40px;
        padding: 0 10px;
    }
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-green);
    margin-bottom: 20px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 2rem;
    }
}

.section-description {
    font-size: 1.3rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .section-description {
        font-size: 1.1rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .section-description {
        font-size: 1rem;
        padding: 0 10px;
    }
}

/* Main Content Layout */
.iot-main-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    margin-bottom: 100px;
    align-items: start;
    width: 100%;
}

@media (max-width: 1024px) {
    .iot-main-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .iot-main-content {
        gap: 30px;
        margin-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .iot-main-content {
        gap: 20px;
        margin-bottom: 40px;
    }
}

/* Video Demo Container */
.iot-demo-container {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.1);
    width: 100%;
}

@media (max-width: 768px) {
    .iot-demo-container {
        padding: 30px;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .iot-demo-container {
        padding: 20px;
        border-radius: 16px;
    }
}

.demo-video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    background: #000;
}

.iot-video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    cursor: pointer;
}

.demo-details h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 15px;
}

.demo-details p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 30px;
}

.demo-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .demo-stats {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .demo-stats {
        gap: 15px;
        flex-direction: column;
    }
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    border: 1px solid rgba(46, 125, 50, 0.1);
    min-width: 120px;
    flex: 1;
}

@media (max-width: 480px) {
    .stat-item {
        min-width: 100px;
        padding: 15px;
        flex: 1 1 100%;
    }
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* Gallery Container */
.iot-gallery-container {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.1);
    height: fit-content;
    width: 100%;
}

@media (max-width: 768px) {
    .iot-gallery-container {
        padding: 30px;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .iot-gallery-container {
        padding: 20px;
        border-radius: 16px;
    }
}

.gallery-header {
    text-align: center;
    margin-bottom: 30px;
}

.gallery-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 8px;
}

.gallery-header p {
    color: #64748b;
    font-size: 1rem;
}

.device-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-main {
    margin-bottom: 15px;
}

.device-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.device-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.device-card.featured {
    height: 280px;
}

.device-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.device-card:hover img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.8), rgba(76, 175, 80, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.device-card:hover .card-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.overlay-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.card-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

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

.gallery-grid .device-card {
    height: 140px;
}

@media (max-width: 768px) {
    .gallery-grid .device-card {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .gallery-grid .device-card {
        height: 200px;
    }
}

/* Features Section */
.iot-features-section {
    text-align: center;
}

.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 50px;
}

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

.feature-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
    position: relative;
}

.feature-icon.temperature {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.3);
}

.feature-icon.moisture {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
}

.feature-icon.ph {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.3);
}

.feature-icon.cloud {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.3);
}

.feature-item h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 15px;
}

.feature-item p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 20px;
}

.feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: var(--primary-green);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

/* Enhanced IoT Hero Section Styles */
.iot-hero-section {
    margin-bottom: 100px;
    position: relative;
}

.hero-image-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-main-image {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    height: 600px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.hero-main-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.2);
}

.hero-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-main-image:hover img {
    transform: scale(1.05);
}

.image-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.3), rgba(20, 184, 166, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-main-image:hover .image-overlay-gradient {
    opacity: 1;
}

/* Floating Tech Cards */
.floating-tech-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.tech-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: floatTech 4s ease-in-out infinite;
    min-width: 180px;
}

.tech-card.card-1 {
    top: 50px;
    left: 50px;
    animation-delay: 0s;
}

.tech-card.card-2 {
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    animation-delay: 1.5s;
}

.tech-card.card-3 {
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 3s;
}

.tech-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #008080, #14b8a6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 128, 128, 0.3);
}

.tech-info {
    display: flex;
    flex-direction: column;
}

.tech-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 2px;
}

.tech-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #008080;
}

/* Pulse Indicators */
.pulse-indicators {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.pulse-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #008080;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid #008080;
    border-radius: 50%;
    animation: pulseRing 2s infinite;
}

.pulse-1 {
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

.pulse-2 {
    top: 60%;
    right: 25%;
    animation-delay: 0.7s;
}

.pulse-3 {
    bottom: 25%;
    left: 40%;
    animation-delay: 1.4s;
}

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

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.7;
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Responsive Design for IoT Hero */
/* Responsive Design for IoT Hero */
@media (max-width: 1200px) {
    .hero-main-image {
        height: 500px;
    }
    
    .tech-card {
        padding: 20px;
        min-width: 170px;
    }
}

@media (max-width: 1024px) {
    .iot-hero-section {
        margin-bottom: 80px;
    }
    
    .hero-main-image {
        height: 450px;
    }
    
    .tech-card {
        padding: 18px;
        min-width: 160px;
    }
    
    .tech-card.card-1 {
        top: 25px;
        left: 25px;
    }
    
    .tech-card.card-2 {
        right: 25px;
    }
    
    .tech-card.card-3 {
        bottom: 25px;
    }
}

@media (max-width: 768px) {
    .iot-hero-section {
        margin-bottom: 60px;
    }
    
    .hero-main-image {
        height: 350px;
        border-radius: 20px;
    }
    
    .tech-card {
        padding: 15px;
        min-width: 140px;
        border-radius: 16px;
        gap: 12px;
    }
    
    .tech-card.card-1 {
        top: 15px;
        left: 15px;
    }
    
    .tech-card.card-2 {
        right: 15px;
        top: 45%;
    }
    
    .tech-card.card-3 {
        bottom: 15px;
        left: 45%;
    }
    
    .tech-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .tech-value {
        font-size: 1.2rem;
    }
    
    .tech-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    .hero-main-image {
        height: 280px;
    }
    
    .tech-card {
        padding: 12px;
        min-width: 120px;
        gap: 10px;
    }
    
    .tech-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .tech-value {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .iot-hero-section {
        margin-bottom: 40px;
    }
    
    .hero-image-container {
        padding: 0 10px;
    }
    
    .hero-main-image {
        height: 250px;
        border-radius: 16px;
    }
    
    .floating-tech-cards {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        gap: 15px;
    }
    
    .tech-card {
        position: static;
        padding: 8px 12px;
        min-width: 90px;
        flex-direction: row;
        text-align: left;
        gap: 8px;
        animation: floatTech 3s ease-in-out infinite;
        transform: none !important;
        margin: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        border-radius: 12px;
        transition: all 0.3s ease;
        pointer-events: auto;
    }
    
    .tech-card:hover {
        transform: scale(1.05) !important;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 8px 25px rgba(0, 128, 128, 0.3);
    }
    
    .tech-card.card-1 {
        animation-delay: 0s;
    }
    
    .tech-card.card-2 {
        animation-delay: 1s;
    }
    
    .tech-card.card-3 {
        animation-delay: 2s;
    }
    
    .tech-icon {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
        flex-shrink: 0;
    }
    
    .tech-value {
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .tech-label {
        font-size: 0.65rem;
        line-height: 1.2;
    }
    
    .pulse-indicators {
        display: none;
    }
}

@media (max-width: 360px) {
    .hero-main-image {
        height: 220px;
    }
    
    .tech-card {
        min-width: 90px;
        padding: 8px;
    }
    
    .tech-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .iot-main-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
    
    .iot-video {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .iot-showcase {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .section-description {
        font-size: 1.1rem;
    }
    
    .iot-demo-container,
    .iot-gallery-container {
        padding: 25px 15px;
    }
    
    .iot-video {
        height: 250px;
    }
    
    .demo-details h3 {
        font-size: 1.5rem;
    }
    
    .demo-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .stat-item {
        min-width: 80px;
        padding: 12px;
    }
    
    .device-card.featured {
        height: 180px;
    }
    
    .gallery-grid .device-card {
        height: 100px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .iot-showcase {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .iot-demo-container,
    .iot-gallery-container {
        padding: 20px 10px;
        margin: 0 5px;
    }
    
    .iot-video {
        height: 200px;
    }
    
    .demo-details h3 {
        font-size: 1.3rem;
    }
    
    .demo-details p {
        font-size: 0.9rem;
    }
    
    .demo-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .stat-item {
        min-width: auto;
        padding: 10px;
    }
    
    .device-card.featured {
        height: 150px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .gallery-grid .device-card {
        height: 120px;
    }
    
    .feature-item {
        padding: 25px 15px;
    }
    
    .features-title {
        font-size: 1.6rem;
    }
    
    .gallery-header h3 {
        font-size: 1.3rem;
    }
    
    .gallery-header p {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .iot-demo-container,
    .iot-gallery-container {
        padding: 15px 8px;
        margin: 0 2px;
    }
    
    .iot-video {
        height: 180px;
    }
    
    .demo-details h3 {
        font-size: 1.1rem;
    }
    
    .stat-item {
        padding: 8px;
    }
    
    .device-card.featured {
        height: 130px;
    }
    
    .gallery-grid .device-card {
        height: 100px;
    }
}

/* Gallery Section - Enhanced Premium Design */
.gallery {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="gallery-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%232E7D32" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23gallery-dots)"/></svg>');
    z-index: 1;
}

.gallery .container {
    position: relative;
    z-index: 2;
}

/* Gallery Header */
.gallery-header {
    text-align: center;
    margin-bottom: 80px;
}

.gallery-header .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-green);
    margin-bottom: 20px;
    line-height: 1.2;
}

.gallery .subtitle {
    font-size: 1.3rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Enhanced Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    aspect-ratio: 4/3;
    background: white;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.gallery-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

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

.gallery-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(76, 175, 80, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-gradient {
    opacity: 1;
}

/* Enhanced Gallery Overlay */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: var(--white);
    padding: 50px 30px 30px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

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

.overlay-content {
    text-align: left;
}

.overlay-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gallery-overlay h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.gallery-overlay p {
    opacity: 0.9;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.overlay-stats {
    display: flex;
    gap: 15px;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Gallery Stats Section */
.gallery-stats-section {
    background: white;
    border-radius: 32px;
    padding: 60px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(46, 125, 50, 0.1);
    position: relative;
    overflow: hidden;
}

.gallery-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 20px;
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    background: white;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.4;
}

/* Responsive Design for Gallery */
@media (max-width: 1024px) {
    .gallery {
        padding: 100px 0;
    }
    
    .gallery-header {
        margin-bottom: 60px;
    }
    
    .gallery h2 {
        font-size: 3rem;
    }
    
    .gallery-grid {
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .gallery-stats-section {
        padding: 50px 40px;
    }
    
    .stats-container {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .gallery {
        padding: 80px 0;
    }
    
    .gallery h2 {
        font-size: 2.5rem;
    }
    
    .gallery .subtitle {
        font-size: 1.1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 50px;
    }
    
    .gallery-item {
        aspect-ratio: 16/10;
    }
    
    .gallery-overlay {
        padding: 40px 25px 25px;
    }
    
    .gallery-overlay h3 {
        font-size: 1.4rem;
    }
    
    .gallery-stats-section {
        padding: 40px 30px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .gallery {
        padding: 60px 0;
    }
    
    .gallery h2 {
        font-size: 2rem;
    }
    
    .gallery .subtitle {
        font-size: 1rem;
    }
    
    .gallery-grid {
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .gallery-overlay {
        padding: 30px 20px 20px;
    }
    
    .gallery-overlay h3 {
        font-size: 1.2rem;
    }
    
    .overlay-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .gallery-stats-section {
        padding: 30px 20px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--light-gray);
}
.testimonials h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-green);
    font-weight: 700;
}
.testimonials .subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.testimonial-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 4px solid var(--white);
}
.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
    position: relative;
    padding: 0 1rem;
}
.testimonial-quote::before {
    content: '“';
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 3rem;
    color: var(--light-green);
    font-family: 'Georgia', serif;
}
.testimonial-quote::after {
    content: '”';
    position: absolute;
    bottom: -20px;
    right: -5px;
    font-size: 3rem;
    color: var(--light-green);
    font-family: 'Georgia', serif;
}
.testimonial-author {
    font-weight: 600;
    color: var(--primary-green);
    margin-top: 1.5rem;
}
.testimonial-author span {
    display: block;
    font-weight: 400;
    font-size: 0.9rem;
    color: #777;
    margin-top: 0.25rem;
}

/* Testimonials Responsive */
@media (max-width: 768px) {
    .testimonials {
        padding: 80px 0;
    }
    
    .testimonials h2 {
        font-size: 2.5rem;
    }
    
    .testimonials .subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .testimonial-image {
        width: 100px;
        height: 100px;
    }
    
    .testimonial-quote {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonials h2 {
        font-size: 2rem;
    }
    
    .testimonials .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .testimonial-card {
        padding: 1.2rem;
        margin: 0 5px;
    }
    
    .testimonial-image {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .testimonial-quote {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .testimonial-quote::before,
    .testimonial-quote::after {
        font-size: 2rem;
    }
    
    .testimonial-author {
        font-size: 0.9rem;
        margin-top: 1rem;
    }
}

@media (max-width: 360px) {
    .testimonial-card {
        padding: 1rem;
        margin: 0 2px;
    }
    
    .testimonial-image {
        width: 70px;
        height: 70px;
    }
    
    .testimonial-quote {
        font-size: 0.85rem;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--light-gray);
    position: relative;
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 40px 0;
    }
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--white), var(--light-gray));
}

.contact h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-green);
    font-weight: 700;
    padding: 0 20px;
}

.contact .subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    width: 100%;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--dark-green);
    font-weight: 600;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    width: 100%;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.5rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--dark-green);
    font-weight: 600;
}

.contact-item span {
    color: #666;
    font-size: 0.95rem;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    padding: 1.2rem;
    border: 2px solid #eee;
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light-gray);
    width: 100%;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.1);
}

.contact-form button {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1.2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Contact Form Validation & Feedback */
.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form .error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
    font-weight: 500;
}

.contact-form .error-message.show {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.contact-form input.error,
.contact-form textarea.error {
    border-color: #e74c3c;
    background-color: #fdf2f2;
}

.contact-form input.error:focus,
.contact-form textarea.error:focus {
    border-color: #e74c3c;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.1);
}

.contact-form .form-feedback {
    margin-top: 1rem;
}

.contact-form .success-message {
    background: #d5f4e6;
    color: #27ae60;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #27ae60;
    font-weight: 500;
    animation: fadeInUp 0.5s ease;
}

.contact-form .success-message i {
    margin-right: 0.5rem;
    color: #27ae60;
}

.contact-form .error-message-general {
    background: #fdf2f2;
    color: #e74c3c;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
    font-weight: 500;
    animation: fadeInUp 0.5s ease;
}

.contact-form .error-message-general i {
    margin-right: 0.5rem;
    color: #e74c3c;
}

.contact-form .btn-loading {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-form button:disabled:hover {
    transform: none;
    box-shadow: var(--shadow);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Footer */
.footer {
    background: var(--dark-green);
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    background-position: 0 0;
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--light-gray), var(--dark-green));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 15px;
    }

    .footer-brand {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-logo {
        width: 220px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 1.5rem;
        padding: 0 10px;
    }

    .footer-logo {
        width: 180px;
    }

    .footer-brand h3 {
        font-size: 1.2rem;
    }
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--light-green);
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 3;
    margin-bottom: 1rem;
}

.footer-brand h3 {
    position: relative;
    z-index: 3;
    background: transparent;
}

.footer-logo {
    width: 250px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.footer-section p {
    line-height: 1.7;
    opacity: 0.9;
}

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.footer-section a:hover {
    color: var(--light-green);
    opacity: 1;
}

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

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--light-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-links a i {
    color: var(--white) !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.9;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-legal-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.cookie-settings-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-settings-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cookie-settings-btn i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .footer-legal-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-settings-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* --- Authentication Pages --- */
.auth-page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.85) 0%, rgba(46, 125, 50, 0.75) 100%),
                url('./images/digital_economy_africa_banner.png') center/cover no-repeat;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    width: 100%;
    max-width: 450px;
    text-align: center;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-logo {
    margin-bottom: 2rem;
    text-align: center;
}

.auth-logo .logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(27, 94, 32, 0.2);
}

.auth-logo .logo-img:hover {
    transform: scale(1.05);
}

.auth-logo i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-logo h2 {
    color: var(--dark-green);
    margin-top: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.auth-logo p {
    color: #666;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 1.2rem 1rem 1.2rem 3rem;
    border: 2px solid #eee;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light-gray);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.1);
}

.form-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    transition: color 0.3s ease;
}

.form-group input:focus + i {
    color: var(--primary-green);
}

.auth-btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.2rem;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.auth-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.auth-links {
    margin-top: 2rem;
}

.auth-links a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

.back-home {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.back-home:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* --- Dashboard Styles --- */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: #f4f7f6;
}

.sidebar {
    width: 220px;
    background: var(--dark-green);
    color: var(--white);
    position: fixed;
    height: 100%;
    overflow-y: auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

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

.sidebar-header h3 {
    font-weight: 600;
}

.sidebar-header i {
    margin-right: 0.5rem;
}

.sidebar-menu {
    padding: 1rem 0;
}

.sidebar-menu ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 90%;
    min-width: 160px;
    height: 48px;
    margin: 0 auto;
    padding: 0 1.2rem;
    border-radius: 12px;
    background: transparent;
    border-left: none;
    transition: background 0.2s;
    color: #fff !important;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
}

.sidebar-menu a.active,
.sidebar-menu a:hover {
    background: var(--primary-green);
    border-left: none;
}

.sidebar-menu i {
    margin: 0;
    font-size: 1.5rem;
    width: 28px;
    text-align: center;
}

.sidebar-menu span {
    display: inline-block;
    color: #fff !important;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.main-content {
    margin-left: 220px;
    width: calc(100% - 220px);
    flex-grow: 1;
}

.header {
    background: var(--white);
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-green);
    transition: opacity 0.3s ease;
}

.user-details h4, .user-details small {
    transition: opacity 0.3s ease;
}

/* Initial loading state - hide the loading text smoothly */
#user-name, #admin-name {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

#user-role, #admin-role {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.user-details h4 {
    font-weight: 600;
    margin: 0;
    color: var(--dark-gray);
}

.user-details small {
    color: #666;
}

.btn-logout {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.main-container {
    padding: 2rem;
}

.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
}

.dashboard-header p {
    color: #666;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo .logo-img {
        width: 35px;
        height: 35px;
        margin-right: 0.5rem;
    }
    
    .nav-logo {
        font-size: 1.3rem;
    }

    .hamburger {
        display: flex !important;
        position: relative;
        z-index: 1002;
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;
        -webkit-tap-highlight-color: transparent;
        pointer-events: auto;
        touch-action: manipulation;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 8px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    .hamburger:hover {
        background-color: rgba(27, 94, 32, 0.1);
    }
    
    .hamburger:active {
        background-color: rgba(27, 94, 32, 0.2);
        transform: scale(0.95);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 1001;
        padding: 20px 0;
        min-height: calc(100vh - 80px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }
    
    .nav-menu a {
        color: var(--dark-text) !important;
        font-size: 16px;
        padding: 10px 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: var(--light-green);
        color: var(--primary-green) !important;
    }
    
    .btn-login, .btn-signup {
        margin: 5px 15px; /* Reduced margin for mobile */
        padding: 10px 20px; /* Slightly reduced padding for mobile */
        border-radius: 25px;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .btn-login {
        background: transparent;
        border: 2px solid var(--primary-green);
        color: var(--primary-green) !important;
    }
    
    .btn-signup {
        background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
        color: var(--white) !important;
        border: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact h2 {
        font-size: 2.5rem;
        padding: 0 20px;
    }

    .contact .subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
        padding: 0 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }

    .contact-info h3 {
        text-align: center;
        font-size: 1.5rem;
    }

    .contact-item {
        flex-direction: row;
        padding: 1.25rem;
    }

    .contact-item:hover {
        transform: translateY(-5px);
    }

    .contact-form {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .btn-primary, .btn-secondary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .features h2,
    .about-text h2,
    .impact h2,
    .contact h2,
    .gallery h2 {
        font-size: 2.5rem;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .impact-number {
        font-size: 3rem;
    }

    .contact h2 {
        font-size: 2rem;
        padding: 0 15px;
    }

    .contact .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 15px;
    }

    .contact-content {
        gap: 1.5rem;
        padding: 0 10px;
    }

    .contact-info h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .contact-item i {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .contact-item:hover {
        transform: scale(1.02);
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .contact-form button {
        padding: 1rem;
        font-size: 1rem;
    }

    .auth-card {
        padding: 2rem;
        margin: 1rem;
    }
    
    .auth-logo .logo-img {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }

    .auth-logo h2 {
        font-size: 1.5rem;
    }

    .back-home {
        top: 10px;
        left: 10px;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Sidebar icon color fix */
.sidebar-menu a i {
    color: #fff !important;
}
.sidebar-menu a.active i,
.sidebar-menu a:hover i {
    color: #fff !important;
}

/* Sidebar and dashboard text color fix */
.sidebar,
.sidebar-header,
.sidebar-menu,
.sidebar-menu a,
.sidebar-menu a span,
.user-details h4,
.user-details small {
    color: #fff !important;
}

/* Main content headings and card titles */
.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4,
.impact-card h3 {
    color: #205c20 !important;
}

/* Enhanced Hero Section Styles */
.hero-badge {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    letter-spacing: 0.5px;
    animation: slideInDown 0.6s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 20%, #ccfbf1 40%, #ffffff 60%, #e6fffa 80%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 
        2px 2px 0px rgba(0, 128, 128, 0.9),
        4px 4px 0px rgba(0, 105, 105, 0.7),
        6px 6px 0px rgba(0, 85, 85, 0.5),
        8px 8px 0px rgba(0, 65, 65, 0.3),
        10px 10px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    transform: perspective(500px) rotateX(15deg);
    filter: drop-shadow(0 0 15px rgba(20, 184, 166, 0.7));
}

.hero-features {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .hero-features {
        justify-content: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-feature i {
    color: var(--white);
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .hero-stats {
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 15px;
        margin-top: 30px;
    }
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 20px 15px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
    flex: 1;
}

@media (max-width: 480px) {
    .stat {
        min-width: 100px;
        padding: 15px 10px;
    }
}

.stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat span {
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Dashboard Preview Styles */
.dashboard-preview {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.dashboard-preview img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: 12px;
    padding: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.card-3 {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 0.8rem;
    color: var(--dark-gray);
    opacity: 0.7;
}

.card-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-green);
}

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

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--light-gray);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.step h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.step p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Features Tabs Section */
.features-tabs {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--white);
    border: 2px solid var(--light-green);
    border-radius: 50px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--primary-green);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.tab-content {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 1200px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.feature-info h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.feature-info p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.feature-list i {
    color: var(--primary-green);
    width: 20px;
}

.feature-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.feature-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Monitoring Badge Styles */
.monitoring-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    animation: pulse 2s infinite;
}

.monitoring-badge i {
    font-size: 1rem;
    animation: spin 2s linear infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Monitoring Grid Styles */
.monitoring-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.monitoring-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.monitoring-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.2);
}

.monitoring-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

/* Individual monitoring icon colors */
.monitoring-icon.soil-health {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.monitoring-icon.soil-moisture {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.monitoring-icon.temperature {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.monitoring-icon.humidity {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.monitoring-icon.soil-ph {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.monitoring-icon.firebase-sync {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.monitoring-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0 0 0.5rem 0;
}

.monitoring-content p {
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin: 0;
    line-height: 1.5;
}

/* Responsive monitoring grid */
@media (min-width: 768px) {
    .monitoring-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .footer-brand {
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .monitoring-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .monitoring-item {
        padding: 1.2rem;
    }
    
    .monitoring-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .monitoring-content h4 {
        font-size: 1rem;
    }
    
    .monitoring-content p {
        font-size: 0.9rem;
    }
}

.feature-visual img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Platform Access Section */
.platform-access {
    padding: 100px 0;
    background: var(--white);
}

.platform-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.platform-text h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    line-height: 1.3;
}

.platform-text p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

.access-options {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.access-option {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.access-option:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.option-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.option-content h4 {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 8px;
    font-weight: 600;
}

.option-content p {
    color: #444444;
    margin-bottom: 15px;
    font-size: 0.95rem;
    font-weight: 500;
}

.platform-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.platform-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-gray);
}

.platform-feature i {
    color: var(--primary-green);
}

/* Dashboard Mockup */
.dashboard-mockup {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.dashboard-mockup img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.mockup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.8), rgba(76, 175, 80, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-widgets {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
}

.widget i {
    font-size: 1.5rem;
    color: var(--primary-green);
}

.widget-info {
    display: flex;
    flex-direction: column;
}

.widget-info span {
    font-size: 0.9rem;
    color: var(--dark-gray);
    opacity: 0.8;
}

.widget-info strong {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-green);
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .hero-features,
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .hero-feature {
        justify-content: center;
        width: 100%;
        max-width: 300px;
    }
    
    .stat {
        min-width: 100px;
        padding: 15px 10px;
    }
    
    .stat strong {
        font-size: 1.5rem;
    }
    
    .dashboard-preview {
        margin-top: 30px;
        position: relative;
    }
    
    .floating-card {
        position: relative;
        margin: 15px auto;
        animation: none;
        max-width: 280px;
        transform: none !important;
        box-shadow: var(--shadow-hover);
        border: 1px solid rgba(27, 94, 32, 0.1);
    }
    
    .card-1, .card-2, .card-3 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        margin: 15px auto;
        display: flex;
        justify-content: center;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }

    .tab-content {
        padding: 28px;
    }
    
    .card-icon {
        width: 35px;
        height: 35px;
    }
    
    .card-content {
        flex: 1;
    }
    
    .card-label {
        font-size: 0.75rem;
        margin-bottom: 2px;
    }
    
    .card-value {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--primary-green);
    }
    
    .hero-content .floating-card {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(27, 94, 32, 0.2);
    }
    
    .feature-showcase,
    .platform-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-showcase {
        justify-items: center;
        text-align: center;
    }

    .feature-info {
        max-width: 720px;
    }

    .feature-list li {
        justify-content: center;
    }

    .feature-btn {
        margin: 0 auto;
    }

    .feature-visual img {
        height: auto;
        max-width: 520px;
    }

    .monitoring-grid {
        margin: 1.2rem 0;
    }

    .monitoring-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.2rem;
    }

    .monitoring-icon {
        margin-bottom: 0.35rem;
    }

    .monitoring-content h4 {
        font-size: 1rem;
    }

    .monitoring-content p {
        font-size: 0.95rem;
    }
    
    .feature-showcase .feature-info {
        order: 2;
    }
    
    .feature-showcase .feature-visual {
        order: 1;
    }
    
    .access-options {
        gap: 20px;
    }
    
    .access-option {
        flex-direction: column;
        text-align: center;
    }
    
    .platform-features {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-badge,
    .section-badge {
        font-size: 0.85rem;
        padding: 8px 18px;
        display: inline-block;
        margin-bottom: 15px;
    }
    
    .hero {
        padding: 80px 0 60px;
        min-height: auto;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .platform-text h2 {
        font-size: 2rem;
    }
    
    .floating-card {
        padding: 12px;
        margin: 10px auto;
        max-width: 260px;
    }
    
    .dashboard-preview img {
        height: 250px;
    }
    
    .card-icon {
        width: 30px;
        height: 30px;
    }
    
    .card-value {
        font-size: 1rem;
    }
}

/* Project Overview Section Styles */
.project-overview {
    padding: 80px 0;
    background: var(--light-gray);
}

.project-overview h2 {
    font-size: 2.8rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 20px;
}

.project-overview .subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.overview-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Approach Section */
.approach-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.approach-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.approach-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
}

.approach-card h4 {
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.approach-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Requirements Section */
.requirements-section {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    margin-bottom: 60px;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-green);
}

.req-header {
    text-align: center;
    margin-bottom: 40px;
}

.req-header h3 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 15px;
}

.req-header p {
    color: var(--dark-gray);
    font-size: 1.1rem;
}

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

.req-category {
    background: var(--light-gray);
    padding: 30px 25px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-green);
}

.req-category h4 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.req-category ul {
    list-style: none;
}

.req-category li {
    color: var(--dark-gray);
    padding: 8px 0;
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
    position: relative;
    padding-left: 20px;
}

.req-category li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.req-category li:last-child {
    border-bottom: none;
}

/* Environmental Section */
.environmental-section {
    margin-bottom: 60px;
}

.env-content {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.env-icon {
    flex-shrink: 0;
}

.env-icon i {
    font-size: 4rem;
    color: var(--primary-green);
    background: var(--light-gray);
    padding: 30px;
    border-radius: 50%;
    border: 3px solid var(--primary-green);
}

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

.env-text p {
    color: var(--dark-gray);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Value Section */
.value-section {
    margin-bottom: 40px;
}

.value-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.value-item {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.5rem;
}

.value-item h4 {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.value-item p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Responsive Design for Project Overview */
@media (max-width: 768px) {
    .project-overview h2 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .requirements-section {
        padding: 30px 20px;
    }
    
    .env-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .env-icon i {
        font-size: 3rem;
        padding: 20px;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .project-overview {
        padding: 60px 0;
    }
    
    .project-overview h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .approach-card,
    .value-item {
        padding: 25px 20px;
    }
    
    .requirements-section {
        padding: 25px 15px;
    }
} 
/* Enhanced Workshop Gallery - Scoped Styles */
.community-workshops .workshop-gallery {
    margin-bottom: 120px;
}

.community-workshops .gallery-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.community-workshops .gallery-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.community-workshops .gallery-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 20px;
    line-height: 1.2;
}

.community-workshops .gallery-title .title-highlight {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.community-workshops .gallery-description {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 0;
}

.community-workshops .gallery-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: start;
}

.community-workshops .main-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.community-workshops .main-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.18);
}

.community-workshops .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.community-workshops .main-image:hover img {
    transform: scale(1.05);
}

.community-workshops .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 50px 40px 40px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.community-workshops .main-image:hover .image-overlay {
    transform: translateY(0);
}

.community-workshops .overlay-content {
    text-align: left;
}

.community-workshops .overlay-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.community-workshops .overlay-content h4 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.community-workshops .overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 20px;
}

.community-workshops .overlay-stats {
    display: flex;
    gap: 25px;
}

.community-workshops .overlay-stats .stat {
    text-align: center;
}

.community-workshops .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 2px;
}

.community-workshops .stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 500;
}

.community-workshops .gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.community-workshops .gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 160px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.community-workshops .gallery-item.featured {
    grid-column: 1 / -1;
    height: 200px;
}

.community-workshops .gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

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

.community-workshops .item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(34, 197, 94, 0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 20px;
}

.community-workshops .gallery-item:hover .item-overlay {
    opacity: 1;
}

.community-workshops .overlay-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.community-workshops .overlay-title {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
    display: block;
}

.community-workshops .overlay-subtitle {
    color: white;
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Enhanced Team & Vision - Scoped Styles */
.community-workshops .team-vision {
    background: white;
    border-radius: 32px;
    padding: 70px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.1);
    position: relative;
    overflow: hidden;
}

.community-workshops .team-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #10b981, #059669);
}

.community-workshops .vision-header {
    text-align: center;
    margin-bottom: 60px;
}

.community-workshops .vision-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.community-workshops .vision-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-green);
    line-height: 1.2;
}

.community-workshops .vision-main-title .vision-highlight {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.community-workshops .vision-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: start;
}

.community-workshops .vision-intro h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 15px;
    line-height: 1.3;
}

.community-workshops .vision-intro p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 40px;
}

.community-workshops .vision-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.community-workshops .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 25px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 18px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.community-workshops .feature-item:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
}

.community-workshops .feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.community-workshops .feature-icon.community {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.community-workshops .feature-icon.sustainability {
    background: linear-gradient(135deg, #10b981, #059669);
}

.community-workshops .feature-icon.learning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.community-workshops .feature-content h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 8px;
}

.community-workshops .feature-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.community-workshops .vision-impact {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.community-workshops .impact-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    flex: 1;
}

.community-workshops .impact-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 5px;
    display: block;
}

.community-workshops .impact-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.community-workshops .vision-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.community-workshops .vision-main-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.community-workshops .vision-main-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.community-workshops .vision-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.community-workshops .vision-main-img:hover img {
    transform: scale(1.05);
}

.community-workshops .vision-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.community-workshops .vision-overlay .overlay-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary-green);
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.community-workshops .vision-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.community-workshops .secondary-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 140px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.community-workshops .secondary-img:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.community-workshops .secondary-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.community-workshops .secondary-img:hover img {
    transform: scale(1.1);
}

.community-workshops .secondary-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px 15px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.community-workshops .secondary-img:hover .secondary-overlay {
    transform: translateY(0);
}

/* Responsive Design for Community Workshops Only */
@media (max-width: 1200px) {
    .community-workshops .gallery-container,
    .community-workshops .vision-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .community-workshops .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .community-workshops .gallery-item.featured {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1024px) {
    .community-workshops .team-vision {
        padding: 50px 40px;
    }
    
    .community-workshops .gallery-title,
    .community-workshops .vision-main-title {
        font-size: 2.5rem;
    }
    
    .community-workshops .main-image {
        height: 400px;
    }
    
    .community-workshops .vision-main-img {
        height: 280px;
    }
    
    .community-workshops .vision-impact {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .community-workshops .gallery-header,
    .community-workshops .vision-header {
        margin-bottom: 50px;
    }
    
    .community-workshops .gallery-title,
    .community-workshops .vision-main-title {
        font-size: 2.2rem;
    }
    
    .community-workshops .gallery-description {
        font-size: 1.1rem;
    }
    
    .community-workshops .team-vision {
        padding: 40px 30px;
    }
    
    .community-workshops .main-image {
        height: 350px;
    }
    
    .community-workshops .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .community-workshops .gallery-item {
        height: 140px;
    }
    
    .community-workshops .gallery-item.featured {
        height: 180px;
    }
    
    .community-workshops .overlay-content h4 {
        font-size: 1.5rem;
    }
    
    .community-workshops .overlay-stats {
        gap: 20px;
    }
    
    .community-workshops .vision-intro h4 {
        font-size: 1.5rem;
    }
    
    .community-workshops .vision-main-img {
        height: 250px;
    }
    
    .community-workshops .vision-impact {
        flex-direction: column;
        gap: 15px;
    }
    
    .community-workshops .impact-item {
        padding: 15px;
    }
    
    .community-workshops .vision-secondary {
        grid-template-columns: 1fr;
    }
    
    .community-workshops .secondary-img {
        height: 160px;
    }
}

@media (max-width: 640px) {
    .community-workshops .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .community-workshops .gallery-item,
    .community-workshops .gallery-item.featured {
        height: 200px;
    }
    
    .community-workshops .overlay-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .community-workshops .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .community-workshops .gallery-title,
    .community-workshops .vision-main-title {
        font-size: 1.8rem;
    }
    
    .community-workshops .team-vision {
        padding: 30px 20px;
    }
    
    .community-workshops .main-image {
        height: 280px;
    }
    
    .community-workshops .image-overlay {
        padding: 30px 25px 25px;
    }
    
    .community-workshops .overlay-content h4 {
        font-size: 1.3rem;
    }
    
    .community-workshops .gallery-item,
    .community-workshops .gallery-item.featured {
        height: 180px;
    }
    
    .community-workshops .vision-main-img {
        height: 220px;
    }
    
    .community-workshops .secondary-img {
        height: 140px;
    }
    
    .community-workshops .feature-item {
        padding: 20px;
    }
    
    .community-workshops .impact-number {
        font-size: 1.8rem;
    }
}

/* ========================================
   COMPREHENSIVE RESPONSIVE UTILITIES
   ======================================== */

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure all sections and divs don't overflow */
section,
div {
    max-width: 100%;
    box-sizing: border-box;
}

/* Additional mobile-first responsive utilities */
@media (max-width: 1024px) {
    /* Tablet optimizations */
    .hero-container,
    .about-content,
    .iot-main-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image,
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Center all content on mobile */
    .hero-content,
    .about-text {
        text-align: center;
    }
    
    .about-text ul {
        text-align: left;
        max-width: 400px;
        margin: 2rem auto;
    }
    
    /* Ensure proper spacing on all cards */
    .feature-card,
    .impact-card,
    .contact-item,
    .device-card {
        margin-bottom: 1rem;
    }
    
    /* Make all buttons full-width on small screens */
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    /* Extra small devices - ensure everything is properly centered */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Reduce large paddings on very small screens */
    .hero,
    .features,
    .about,
    .impact,
    .contact,
    .iot-showcase {
        padding: 40px 0;
    }
    
    /* Ensure form inputs are full width */
    input,
    textarea,
    button {
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Stack everything vertically with proper spacing */
    .hero-features,
    .hero-stats,
    .demo-stats {
        width: 100%;
    }
    
    .hero-feature {
        width: 100%;
        justify-content: center;
    }
}

/* Prevent horizontal scroll on all screen sizes */
@media (max-width: 1200px) {
    * {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .container,
    .nav-container,
    .hero-container,
    .contact-content,
    .footer-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Ultra-wide screen optimizations */
@media (min-width: 1600px) {
    .container,
    .nav-container,
    .hero-container {
        max-width: 1400px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer {
        display: none;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* ========================================
   COOKIE CONSENT BANNER & MODAL
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 3px solid var(--primary-green);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cookie-icon {
    font-size: 3rem;
    color: var(--primary-green);
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    color: var(--dark-green);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-text a {
    color: var(--primary-green);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cookie-settings,
.btn-cookie-accept {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.95rem;
}

.btn-cookie-settings {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-cookie-settings:hover {
    background: var(--primary-green);
    color: var(--white);
}

.btn-cookie-accept {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
}

.cookie-modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-modal.show .cookie-modal-content {
    transform: scale(1);
}

.cookie-modal-header {
    padding: 2rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-modal-header h2 {
    color: var(--dark-green);
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-modal-header i {
    color: var(--primary-green);
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cookie-modal-close:hover {
    color: var(--dark-green);
    background: #f0f0f0;
}

.cookie-modal-body {
    padding: 2rem;
}

.cookie-modal-body > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.cookie-category h3 {
    color: var(--dark-green);
    font-size: 1.1rem;
    margin: 0;
}

.cookie-category p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Cookie Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
    background-color: var(--primary-green);
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

.cookie-switch input:disabled + .cookie-slider {
    background-color: #999;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn-cookie-reject,
.btn-cookie-save,
.btn-cookie-accept-all {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.95rem;
}

.btn-cookie-reject {
    background: transparent;
    border: 2px solid #999;
    color: #666;
}

.btn-cookie-reject:hover {
    background: #f0f0f0;
    border-color: #666;
    color: var(--dark-green);
}

.btn-cookie-save {
    background: var(--white);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-cookie-save:hover {
    background: var(--primary-green);
    color: var(--white);
}

.btn-cookie-accept-all {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-cookie-accept-all:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Mobile Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .cookie-icon {
        font-size: 2.5rem;
    }
    
    .cookie-text {
        text-align: center;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cookie-settings,
    .btn-cookie-accept {
        width: 100%;
    }
    
    .cookie-modal-header {
        padding: 1.5rem;
    }
    
    .cookie-modal-header h2 {
        font-size: 1.3rem;
    }
    
    .cookie-modal-body {
        padding: 1.5rem;
    }
    
    .cookie-modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
    }
    
    .btn-cookie-reject,
    .btn-cookie-save,
    .btn-cookie-accept-all {
        width: 100%;
    }
}