/* Basic reset and styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Container for consistent width */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Main content spacing */
main.container {
    padding-top: 1rem;
}

/* Header Styles */
header {
    background: linear-gradient(rgba(45, 125, 50, 0.7), rgba(56, 142, 60, 0.7)), url('../images/vineyard-child-quad.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header h1 a {
    color: white;
    text-decoration: none;
}

header .subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Navigation */
.main-nav {
    background-color: #1b5e20;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    min-height: 48px; /* Compact navigation */
}

.main-nav .container {
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    padding: 0.5rem;
    margin-left: auto;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    min-height: 44px; /* Minimum touch target */
    min-width: 44px;
    align-items: center;
    justify-content: center;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1rem;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.nav-menu a:hover {
    background-color: #2e7d32;
}

/* Login button special styling */
.login-btn {
    background-color: #388e3c !important;
    border-radius: 6px;
    margin-left: 1rem;
    font-weight: 600;
}

.login-btn:hover {
    background-color: #2e7d32 !important;
    transform: translateY(-1px);
}

/* User dropdown menu for when logged in */
.user-menu {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: rgba(255,255,255,0.1) !important;
    font-size: 0.9rem;
    padding: 8px 12px !important;
    margin-top: 16px;
}

.user-menu:hover {
    background-color: rgba(255,255,255,0.2) !important;
    transform: none;
}

.user-menu span {
    pointer-events: none; /* Prevent span from blocking hover */
    font-weight: normal;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 160px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    margin-top: 5px;
}

.user-menu:hover .user-dropdown,
.user-menu:focus .user-dropdown,
.user-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: block;
    padding: 12px 16px;
    color: #333 !important;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.user-dropdown a:last-child {
    border-bottom: none;
}

.user-dropdown a:hover {
    background-color: #f8f9fa;
    color: #2e7d32 !important;
}

.user-dropdown a:first-child:hover {
    border-radius: 8px 8px 0 0;
}

.user-dropdown a:last-child:hover {
    border-radius: 0 0 8px 8px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1b5e20;
        flex-direction: column;
        padding: 1rem;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 0.25rem 0;
    }
    
    .nav-menu a {
        padding: 1rem;
        text-align: center;
        border-radius: 8px;
    }
    
    .nav-menu .login-btn {
        margin-left: 0;
        margin-top: 0.5rem;
        background-color: #388e3c !important;
    }
}

/* Main Content */
main {
    background-color: #f8f9fa;
    padding: 1rem;
    margin: 0 auto;
}

/* Mobile App-Style Cards */
.mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto;
}

.mobile-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Allow dropdowns to overflow for activities card */
.activities-card {
    overflow: visible;
}

.activities-card .search-container {
    overflow: visible;
    position: relative;
    z-index: 100;
}

.mobile-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-header {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    user-select: none;
}

.card-header:hover {
    background-color: rgba(46, 125, 50, 0.05);
}

.card-header:active {
    background-color: rgba(46, 125, 50, 0.1);
}

.card-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.card-title {
    flex: 1;
}

.card-title h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #2e7d32;
    font-weight: 600;
}

.card-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

.card-chevron {
    font-size: 1.5rem;
    color: #2e7d32;
    transition: transform 0.3s ease;
    font-weight: bold;
    width: 24px;
    text-align: center;
}

.card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Show About card content by default */
#about-card .card-content {
    max-height: none;
    overflow: visible;
}

.mobile-card.active .card-content {
    border-top: 1px solid #f0f0f0;
    overflow-y: auto;
}

/* Quick Actions */

.action-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.action-text {
    flex: 1;
}

.action-title {
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 0.25rem;
}

.action-subtitle {
    font-size: 0.85rem;
    color: #666;
}

/* Card Content Padding */
.card-content .welcome-content,
.card-content .activities-section {
    padding: 1rem 1.5rem;
}

/* Quick Links Grid - Mobile App Style */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.quick-link:hover {
    background: #e8f5e8;
    border-color: #2e7d32;
    transform: translateY(-2px);
}

.link-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.link-text {
    font-weight: 500;
    font-size: 0.9rem;
    color: #2e7d32;
}

/* Support Links - Mobile Friendly */
.support-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.support-link, .social-link, .gallery-link {
    display: inline-block;
    padding: 0.75rem 1rem;
    background: #e8f5e8;
    color: #2e7d32;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center;
}

.support-link:hover, .social-link:hover, .gallery-link:hover {
    background: #2e7d32;
    color: white;
    transform: translateY(-1px);
}

.link-separator {
    display: none; /* Hide separators in mobile layout */
}

/* Activities Section in Card */
.activities-section .search-container {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.search-container {
    overflow: visible !important;
    position: relative;
    z-index: 10;
}

.search-input, .filter-select {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

/* Activity Cards - Compact Mobile Style */
.activity-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.activity-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.activity-card:hover {
    border-color: #2e7d32;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (min-width: 600px) {

    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .support-links {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .link-separator {
        display: inline; /* Show separators on larger screens */
        color: #666;
        margin: 0 0.5rem;
    }

    .activities-section .search-container {
        flex-wrap: nowrap;
    }
}

@media (min-width: 768px) {
    main {
        padding: 2rem;
    }

    .mobile-cards {
        max-width: 900px;
    }

    .activity-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .mobile-cards {
        max-width: 1200px;
    }

    .activity-cards {
        grid-template-columns: repeat(4, 1fr);
    }

    .quick-links-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Sections */
section {
    margin-bottom: 3rem;
}

section h2 {
    color: #2e7d32;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

section h3 {
    color: #388e3c;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

section h4 {
    color: #2d3748;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

/* Station Cards */
.station-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.station-card {
    background-color: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.station-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #388e3c;
}

.station-card h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.station-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #388e3c;
    color: white;
    padding: 0.4rem 1.2rem;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: #2e7d32;
    transform: translateY(-2px);
}

/* Ensure all buttons have pointer cursor */
button.btn,
.btn[onclick],
button[onclick] {
    cursor: pointer !important;
}

/* Info Cards for Station Pages */
.station-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-card {
    background-color: #f7fafc;
    border-left: 4px solid #388e3c;
    padding: 1.5rem;
    border-radius: 8px;
}

.info-card h3 {
    color: #2e7d32;
    margin-bottom: 0.8rem;
}

/* Quick Links */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.quick-link {
    display: block;
    background-color: white;
    border: 2px solid #e2e8f0;
    padding: 1.5rem;
    text-decoration: none;
    color: #2d3748;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background-color: #388e3c;
    color: white;
    border-color: #388e3c;
    transform: translateY(-3px);
}

/* Station Page Specific Styles */
.demo-steps, .process-steps {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.step, .step-detailed {
    background-color: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #388e3c;
}

.step h4, .step-detailed h4 {
    color: #2e7d32;
    margin-bottom: 0.8rem;
}

.substeps {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #4a5568;
}

/* Learning Goals */
.learning-goals {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #2e7d32;
}

.learning-goals li {
    margin-bottom: 0.8rem;
    color: #2d3748;
}

/* Activities */
.activity-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.activity {
    background-color: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.activity:hover {
    transform: translateY(-3px);
}

.activity h4 {
    color: #c53030;
    margin-bottom: 0.8rem;
}

/* Grids for various sections */
.methods-grid, .solutions-grid, .systems-grid, .materials-grid, 
.benefits-grid, .applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.method, .solution, .system, .material, .benefit, .application {
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.method h4, .solution h4, .system h4, .material h4, .benefit h4, .application h4 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.method ul, .solution ul, .system ul, .material ul {
    padding-left: 1.2rem;
    color: #4a5568;
}

.method li, .solution li, .system li, .material li {
    margin-bottom: 0.3rem;
}

/* Demo sequence for Ram Pumps */
.demo-sequence {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.physics-explanation {
    background-color: #e6fffa;
    border: 1px solid #38b2ac;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
}

.physics-explanation h3 {
    color: #285e61;
    margin-bottom: 1rem;
}

.physics-explanation p {
    margin-bottom: 0.8rem;
    color: #2d3748;
}

/* Footer */
footer {
    background-color: #1a365d;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer a {
    color: #63b3ed;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

/* Welcome Section Layout */
.welcome-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.welcome-text h2 {
    margin-bottom: 1rem;
}

.welcome-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 2rem;
}

.image-placeholder {
    background-color: #f7fafc;
    border: 2px dashed #388e3c;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: #4a5568;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.image-placeholder p {
    font-size: 1.1rem;
    margin: 0;
}

.image-placeholder small {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Featured Image Section */
.featured-image {
    margin: 2rem 0;
    text-align: center;
}

/* Welcome Page Styles */
.welcome-hero {
    margin: 2rem 0;
    text-align: center;
}

/* Override container width for welcome page */
main.welcome-page {
    max-width: 100%;
    padding: 0 2rem;
}

/* Override welcome-content grid for welcome page */
main.welcome-page .welcome-content {
    display: block;
    grid-template-columns: none;
}

/* Action links for welcome page */
.action-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.register-btn {
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.activities-btn {
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.register-btn:hover, .activities-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.welcome-image {
    margin-bottom: 2rem;
}

.location-section {
    text-align: center;
    margin: 2rem 0;
}

.map-btn {
    background: linear-gradient(135deg, #2196f3, #64b5f6);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.welcome-message {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f1f8e9, #e8f5e8);
    border-radius: 15px;
    border: 1px solid #c8e6c9;
}

.welcome-message h2 {
    color: #2e7d32;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.welcome-content p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}


.call-to-action {
    text-align: center;
    color: #2e7d32;
    font-size: 1.2rem;
    margin-top: 2rem;
}

.school-visits-section {
    margin: 2rem 0;
}

.visit-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.visit-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border: 2px solid #e8f5e8;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.visit-card:hover {
    border-color: #4caf50;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
}

.visit-card .card-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.visit-card .card-content {
    flex: 1;
}

.visit-card h3 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.visit-card .visit-date {
    color: #666;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.visit-card .visit-details {
    color: #888;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.visit-card .access-code {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

@media (min-width: 768px) {
    .visit-cards {
        grid-template-columns: 1fr;
        max-width: 700px;
    }

    .welcome-content p {
        font-size: 1.15rem;
    }

    .station-credits {
        text-align: left;
    }

    .earn-credits {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }
}

/* About Page Styles */
.about-hero {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f1f8e9, #e8f5e8);
    border-radius: 15px;
    border: 1px solid #c8e6c9;
}

.about-hero h2 {
    color: #2e7d32;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.team-section {
    margin: 4rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.team-member {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e8f5e8;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.15);
    border-color: #c8e6c9;
}

.member-avatar {
    text-align: center;
    margin-bottom: 1.5rem;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.member-photo {
    width: 150px;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 3px solid #4caf50;
    display: block;
}

.member-info {
    text-align: center;
}

.member-info h3 {
    color: #2e7d32;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-title {
    color: #4caf50;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.member-credentials {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.member-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-quote {
    background: #f8f9fa;
    border-left: 4px solid #4caf50;
    padding: 1rem 1.5rem;
    font-style: italic;
    color: #333;
    margin: 0;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.member-quote::before {
    content: '"';
    font-size: 2rem;
    color: #4caf50;
    position: absolute;
    left: 0.5rem;
    top: 0.2rem;
}

.member-quote::after {
    content: '"';
    font-size: 2rem;
    color: #4caf50;
}

.mission-section {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2 {
    color: #2e7d32;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.mission-content > p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 3rem;
}

.mission-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: #2e7d32;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-values {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .about-hero h2 {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.3rem;
    }
}

/* Hero Image Styling */
.hero-image {
    width: 100%;
    max-width: 800px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Activities Section */
.activities-section {
    margin: 3rem 0;
}

.activities-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-results-info {
    margin: 0.75rem 0;
    padding: 0.75rem 1rem;
    background-color: #e8f5e8;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    color: #2e7d32;
    font-size: 0.9rem;
}

.search-results-info p {
    margin: 0;
    font-weight: 500;
}

.no-activities-message {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
    color: #6c757d;
}

.no-activities-message p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.no-activities-message p:first-child {
    font-weight: 600;
    color: #495057;
}

.greens-free {
    color: #28a745;
    font-weight: 500;
}

.search-input {
    padding: 0.8rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 250px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #388e3c;
}

.filter-select {
    padding: 0.8rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
    /* Force dropdown to appear below the select */
    position: relative;
    z-index: 1;
}

.filter-select:focus {
    outline: none;
    border-color: #388e3c;
}

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

.activity-card {
    background-color: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
}

/* Activity Actions - Green$ and Buttons Side by Side */
.activity-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.activity-button-wrapper {
    flex-shrink: 0;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #388e3c;
}

.activity-image {
    height: 120px;
    overflow: hidden;
}

.activity-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
}

.activity-image .image-placeholder {
    height: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
    background-color: #edf2f7;
}

.activity-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
    background-color: #f0f0f0;
}

.activity-info {
    padding: 1.5rem;
}

.activity-type {
    display: inline-block;
    background-color: #e6fffa;
    color: #2e7d32;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}

.activity-info h3 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.activity-date {
    color: #388e3c;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.completed-badge {
    font-size: 0.75rem;
    color: #6b7280;
    background-color: #f3f4f6;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-weight: 500;
    opacity: 0.8;
}

.activity-description {
    color: #4a5568;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.activity-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.participants, .duration {
    background-color: #f7fafc;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    color: #4a5568;
    border-left: 3px solid #388e3c;
}

/* GREENs System Styles */
.greens-info {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.greens-reward {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.3);
}

.greens-reward::before {
    content: "🌱";
    font-size: 0.9rem;
}

.greens-cost {
    background-color: #e8f5e8;
    color: #2e7d32;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 2px solid #c8e6c9;
}

.greens-cost.has-cost {
    background-color: #fff3e0;
    color: #e65100;
    border-color: #ffcc02;
}

.visit-completed {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
}

.visit-upcoming {
    background: linear-gradient(135deg, #2196f3, #42a5f5);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
}

/* School Visit Statistics */
.school-visit-counts {
    margin: 1rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    border: 1px solid #dee2e6;
    display: none;
}

.visit-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

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

.stat-item.completed .stat-number {
    color: #4caf50;
}

.stat-item.upcoming .stat-number {
    color: #2196f3;
}

@media (max-width: 768px) {
    .visit-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

.greens-explanation {
    color: #666;
    font-size: 0.75rem;
    font-weight: 400;
    font-style: italic;
    padding: 0.2rem 0;
    background: none;
    border: none;
}

/* Dashboard Styles */
.dashboard-welcome {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.1);
}

.welcome-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.greens-balance {
    text-align: right;
}

/* GREENs Dropdown Styles */
.greens-dropdown {
    margin: 1rem 0;
}

.greens-dropdown summary {
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2e7d32;
    padding: 0.8rem;
    background: linear-gradient(135deg, #f1f8e9, #e8f5e8);
    border: 1px solid #4caf50;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    list-style: none;
}

.greens-dropdown summary::-webkit-details-marker {
    display: none;
}

.greens-dropdown summary::before {
    content: "▶ ";
    display: inline-block;
    transition: transform 0.3s ease;
}

.greens-dropdown[open] summary::before {
    transform: rotate(90deg);
}

.greens-dropdown summary:hover {
    background: linear-gradient(135deg, #e8f5e8, #dcedc8);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.greens-dropdown .dropdown-content {
    padding: 1rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    margin-top: -0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.greens-dropdown .dropdown-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.greens-dropdown .dropdown-content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.greens-dropdown .dropdown-content li:last-child {
    border-bottom: none;
}

/* GREENs Info Section */
.greens-info-section {
    background: linear-gradient(135deg, #f1f8e9, #e8f5e8);
    padding: 3rem 0;
    margin-top: 2rem;
}

.greens-info-section h2 {
    text-align: center;
    color: #2e7d32;
    margin-bottom: 1rem;
}

.greens-info-section .section-intro {
    text-align: center;
    color: #555;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.greens-explanation {
    max-width: 800px;
    margin: 0 auto;
}

.balance-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 250px;
}

.balance-card h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.balance-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.balance-amount .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4caf50;
}

.balance-amount .currency {
    font-size: 1rem;
    font-weight: 600;
    color: #2e7d32;
}

.balance-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: #4caf50;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quick Actions Grid */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.action-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 2px solid transparent;
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #4caf50;
    text-decoration: none;
}

.action-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.action-card h3 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.action-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Data Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.data-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2e7d32;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tr:hover {
    background-color: #f8f9fa;
}

.transaction-type {
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.type-earned {
    background-color: #e8f5e8;
    color: #2e7d32;
}

.type-spent {
    background-color: #fff3e0;
    color: #e65100;
}

.type-bonus {
    background-color: #e3f2fd;
    color: #1565c0;
}

.amount.positive {
    color: #4caf50;
    font-weight: 600;
}

.amount.negative {
    color: #f44336;
    font-weight: 600;
}

.current-user {
    background-color: #e8f5e8 !important;
    border-left: 4px solid #4caf50;
}

.rank {
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 50%;
    color: white;
    min-width: 30px;
    text-align: center;
    display: inline-block;
}

.rank-1 {
    background: linear-gradient(135deg, #ffd700, #ffb300);
}

.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #9e9e9e);
}

.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #bf6f2f);
}

.rank-1, .rank-2, .rank-3 {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
}

/* Blockchain status indicators */
.blockchain-status {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.blockchain-status.verified {
    background-color: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.blockchain-status.pending {
    background-color: #fff3e0;
    color: #e65100;
    border: 1px solid #ffcc02;
}

.blockchain-status .hash {
    display: block;
    font-size: 0.7rem;
    color: #666;
    font-family: 'Courier New', monospace;
    margin-top: 0.2rem;
    opacity: 0.8;
}

/* Responsive adjustments for GREENs */
@media (max-width: 768px) {
    .welcome-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .greens-balance {
        text-align: center;
    }
    
    .balance-stats {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
}

/* Hidden cards for filtering */
.activity-card.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .login-btn {
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
    
    main {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .station-cards, .quick-links-grid, .activity-cards {
        grid-template-columns: 1fr;
    }
    
    .activities-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-input {
        min-width: auto;
        width: 100%;
    }
    
    .welcome-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .visit-cards {
        grid-template-columns: 1fr;
    }
}

/* Visit Page Specific Styles */
.visit-header {
    background: linear-gradient(135deg, #f0fff4, #c6f6d5);
    border: 2px solid #388e3c;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.visit-welcome h2 {
    color: #2e7d32;
    margin-bottom: 1.5rem;
    text-align: center;
}

.visit-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.visit-details p {
    margin: 0;
    font-size: 1rem;
}

.access-code {
    background-color: #2e7d32;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.access-code h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.access-code p {
    margin: 0;
    opacity: 0.9;
}

.learning-objectives {
    background-color: #f0fff4;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #2e7d32;
    margin-top: 1.5rem;
}

.learning-objectives h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.learning-objectives ul {
    padding-left: 1.5rem;
}

.learning-objectives li {
    margin-bottom: 0.5rem;
    color: #2d3748;
}

/* Station Credits */
.station-credits {
    margin: 1rem 0;
}

.earn-credits {
    background-color: #4caf50;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    min-width: fit-content;
}

/* Schedule Timeline */
.daily-schedule {
    margin: 3rem 0;
}

.schedule-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.schedule-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    padding: 1.5rem;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.schedule-item .time {
    font-weight: 600;
    color: #2e7d32;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.schedule-item .activity h4 {
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.schedule-item .activity p {
    color: #4a5568;
    margin: 0;
    font-size: 0.95rem;
}

/* Resource Cards */
.resource-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.resource-card {
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.resource-card h4 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.resource-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Inquiry Question Section */
.inquiry-section {
    margin: 3rem 0;
}

.inquiry-box {
    background: linear-gradient(135deg, #e8f5e8, #f0fff4);
    border: 3px solid #388e3c;
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem 0;
    text-align: center;
    box-shadow: 0 6px 20px rgba(56, 142, 60, 0.1);
}

.inquiry-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1b5e20;
    line-height: 1.4;
    margin: 0;
    font-style: italic;
}

.inquiry-note {
    background-color: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    border-radius: 0 8px 8px 0;
    font-weight: 500;
    color: #e65100;
}

/* Agenda Section */
.agenda-section {
    margin: 3rem 0;
}

.agenda-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.agenda-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    padding: 1rem 1.5rem;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: transform 0.2s ease;
}

.agenda-item:hover {
    transform: translateX(5px);
}

.agenda-item.highlight {
    background-color: #e8f5e8;
    border-color: #388e3c;
    border-width: 2px;
}

.agenda-item.lunch {
    background-color: #fff8e1;
    border-color: #ffc107;
    border-width: 2px;
}

.agenda-time {
    font-weight: 600;
    color: #2e7d32;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.agenda-time small {
    font-size: 0.8rem;
    color: #666;
    font-weight: normal;
}

.agenda-activity {
    color: #2d3748;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.agenda-activity strong {
    color: #2e7d32;
}

/* Groups Section */
.groups-section {
    margin: 3rem 0;
}

.groups-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2e7d32;
}

.group-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2e7d32;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.groups-description {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Rotation Schedule Section */
.rotation-section {
    margin: 3rem 0;
}

.rotation-table-container {
    overflow-x: auto;
    margin-top: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.rotation-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    min-width: 800px;
}

.rotation-table th {
    background-color: #2e7d32;
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.rotation-table th:last-child {
    border-right: none;
}

.rotation-table td {
    padding: 0.8rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
}

.rotation-table td:last-child {
    border-right: none;
}

.time-slot {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2e7d32;
    white-space: nowrap;
}

.group-cell {
    font-weight: 500;
    color: #2d3748;
    background-color: #f0fff4;
    border-radius: 4px;
    margin: 2px;
}

.group-1 { background-color: #ffebee; color: #c62828; }
.group-2 { background-color: #f3e5f5; color: #7b1fa2; }
.group-3 { background-color: #e8eaf6; color: #303f9f; }
.group-4 { background-color: #e0f2f1; color: #00695c; }
.group-5 { background-color: #fff3e0; color: #ef6c00; }
.group-6 { background-color: #fce4ec; color: #ad1457; }

.lunch-break .time-slot,
.lunch-cell {
    background-color: #fff8e1;
    color: #f57f17;
    font-weight: 600;
    font-size: 1.1rem;
}

.lunch-cell {
    text-align: center;
    padding: 1.5rem;
}

/* Responsive for visit pages */
@media (max-width: 768px) {
    .schedule-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .schedule-item .time {
        font-size: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .visit-details {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        height: 200px;
    }
    
    .agenda-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .agenda-time {
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .group-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .inquiry-text {
        font-size: 1.1rem;
    }
    
    .rotation-table-container {
        font-size: 0.85rem;
    }
}

/* Login Page Styles */
.login-section {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.login-container {
    max-width: 500px;
    width: 100%;
    background-color: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border-top: 5px solid #2e7d32;
}

.login-container h2 {
    text-align: center;
    color: #2e7d32;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.login-description {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.login-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3748;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.login-btn-submit {
    width: 100%;
    background-color: #2e7d32;
    color: white;
    border: none;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.login-btn-submit:hover {
    background-color: #1b5e20;
    transform: translateY(-2px);
}

.login-help {
    background-color: #f0fff4;
    border: 2px solid #c8e6c9;
    border-radius: 10px;
    padding: 2rem;
}

.login-help h4 {
    color: #2e7d32;
    margin-bottom: 1rem;
    text-align: center;
}

.login-help p {
    color: #4a5568;
    margin-bottom: 0.8rem;
}

.login-help ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    background-color: white;
    border-radius: 8px;
    padding: 1rem;
}

.login-help li {
    color: #2e7d32;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
    background-color: #f8f9fa;
    padding: 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.help-contact {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
}

.help-contact a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 600;
}

.help-contact a:hover {
    text-decoration: underline;
}

/* Extra Demonstrations Section */
.extra-demos {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e8f5e8;
}

.extra-demos h3 {
    color: #2e7d32;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.demo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.demo-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.15);
}

.demo-card h4 {
    color: #2e7d32;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.demo-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.demo-type {
    background-color: #e8f5e8;
    color: #2e7d32;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    display: inline-block;
}

@media (max-width: 768px) {
    .login-container {
        margin: 1rem;
        padding: 2rem;
    }
    
    .demo-cards {
        grid-template-columns: 1fr;
    }
    
    .extra-demos {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
}

/* Coming Soon Section Styles */
.coming-soon {
    background-color: #fff3e0;
    border: 2px solid #ffb74d;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}

.coming-soon h3 {
    color: #ef6c00;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coming-soon ul {
    color: #5d4037;
    list-style-type: disc;
    margin-left: 1.5rem;
}

.coming-soon li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-info {
    background-color: #e8f5e8;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
    color: #2e7d32;
    font-weight: 500;
}

/* Foundation Presents Styling */
.foundation-presents {
    color: #ffffff;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 400;
}

/* Alella Green Tech Link */
.agt-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.agt-link:hover {
    color: #f0f8f0;
    text-decoration: underline;
}

/* Support Foundation Links */
.support-links {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.support-link,
.social-link,
.gallery-link {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.support-link:hover,
.social-link:hover,
.gallery-link:hover {
    color: #1b5e20;
    text-decoration: underline;
}

.link-separator {
    margin: 0 0.8rem;
    color: #ccc;
}

@media (max-width: 768px) {
    .support-links {
        font-size: 0.85rem;
    }
    
    .link-separator {
        margin: 0 0.6rem;
    }
}

/* Guest Book Styles */
.guestbook-section {
    background-color: #f8fffe;
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
    border: 2px solid #e8f5e8;
}

.martin-welcome {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.martin-photo {
    width: 120px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    border: 3px solid #2e7d32;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.2);
}

.guestbook-intro {
    color: #2e7d32;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

.guestbook-form-container {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.guestbook-form .form-group {
    margin-bottom: 1.5rem;
}

.guestbook-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2e7d32;
    font-weight: 600;
    font-size: 0.95rem;
}

.guestbook-form input,
.guestbook-form select,
.guestbook-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.guestbook-form input:focus,
.guestbook-form select:focus,
.guestbook-form textarea:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.guestbook-form textarea {
    resize: vertical;
    min-height: 100px;
}

.photo-help {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
    font-style: italic;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.guestbook-submit {
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.guestbook-submit:hover {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.instagram-share {
    background: linear-gradient(135deg, #e1306c, #fd1d1d);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.instagram-share:hover:not(:disabled) {
    background: linear-gradient(135deg, #c13584, #e1306c);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
}

.instagram-share:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.guestbook-entries {
    margin-top: 3rem;
}

.guestbook-entries h3 {
    color: #2e7d32;
    margin-bottom: 1.5rem;
    text-align: center;
}

.entries-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.entry-item {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #2e7d32;
}

.entry-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.entry-group {
    background-color: #e8f5e8;
    color: #2e7d32;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.entry-station {
    background-color: #fff3e0;
    color: #ef6c00;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.entry-message {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

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

.entry-time {
    color: #888;
    font-size: 0.85rem;
}

.sample-entry {
    opacity: 0.7;
    position: relative;
}

.sample-entry::before {
    content: "Sample Entry";
    position: absolute;
    top: -10px;
    right: 10px;
    background-color: #ffeb3b;
    color: #333;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .guestbook-submit,
    .instagram-share {
        width: 100%;
        max-width: 300px;
    }
    
    .entry-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .martin-welcome {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .martin-photo {
        width: 150px;
        height: 100px;
    }
}

/* Lunch Menu Styles */
.menu-header {
    text-align: center;
    margin-bottom: 3rem;
}

.menu-header h2 {
    color: #2e7d32;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.menu-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.pizza-oven-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 4px solid #2e7d32;
}

.menu-intro {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.menu-section {
    margin: 3rem 0;
}

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

.menu-item {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #2e7d32;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.15);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.menu-item h3 {
    color: #2e7d32;
    margin: 0;
    font-size: 1.3rem;
}

.price {
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
}

.menu-description {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.menu-info {
    background-color: #f8fffe;
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
    border: 2px solid #e8f5e8;
}

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

.info-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-card h4 {
    color: #2e7d32;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.info-card p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.contact-section {
    text-align: center;
    margin: 3rem 0;
}

.contact-section h2 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.contact-section p {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .menu-header h2 {
        font-size: 2rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .menu-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Modal Overlay Styles */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    background: linear-gradient(135deg, #2d7d32, #388e3c);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

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

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 2rem;
}

.school-info {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.school-info h4 {
    color: #2d7d32;
    margin-bottom: 0.5rem;
}

.school-info p {
    color: #666;
    font-size: 0.9rem;
}

.modal-login-form {
    margin-bottom: 1.5rem;
}

.modal-login-form .form-group {
    margin-bottom: 1rem;
}

.modal-login-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.modal-login-form input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.modal-login-form input[type="text"]:focus {
    outline: none;
    border-color: #2d7d32;
    box-shadow: 0 0 0 3px rgba(45, 125, 50, 0.1);
}

.modal-login-form input[readonly] {
    background-color: #f8f9fa;
    color: #666;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-primary {
    background: linear-gradient(135deg, #2d7d32, #388e3c);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 125, 50, 0.3);
}

.login-help {
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.login-help h4 {
    color: #2d7d32;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.login-help ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.login-help li {
    margin-bottom: 0.5rem;
}

.help-contact {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

.help-contact a {
    color: #2d7d32;
    text-decoration: none;
}

.help-contact a:hover {
    text-decoration: underline;
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-secondary,
    .btn-primary {
        width: 100%;
    }
}

/* Station Page Styles */
.station-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 15px;
}

.station-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.station-info h2 {
    font-size: 2.5rem;
    color: #2d7d32;
    margin-bottom: 0.5rem;
}

.station-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.station-visual {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c8);
    height: 200px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #2d7d32;
}

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

.overview-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

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

.overview-card h3 {
    color: #2d7d32;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.activity-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.activity-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(135deg, #2d7d32, #388e3c);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    flex: 1;
}

.step-content h3 {
    color: #2d7d32;
    margin-bottom: 1rem;
}

.activity-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.tool {
    background: #e8f5e8;
    color: #2d7d32;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

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

.learning-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.learning-card h3 {
    color: #2d7d32;
    margin-bottom: 1rem;
}

.learning-card ul {
    margin-left: 1.5rem;
}

.learning-card li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

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

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.resource-card h3 {
    color: #2d7d32;
    margin-bottom: 1rem;
}

.resource-card ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.resource-card li {
    margin-bottom: 0.5rem;
}

.resource-card a {
    color: #2d7d32;
    text-decoration: none;
}

.resource-card a:hover {
    text-decoration: underline;
}

/* Mobile responsiveness for stations */
@media (max-width: 768px) {
    .station-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .station-info h2 {
        font-size: 2rem;
    }
    
    .activity-step {
        flex-direction: column;
        text-align: center;
    }
    
    .activity-tools {
        justify-content: center;
    }
}

/* Station Data Tables */
.seeds-info {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c8);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
}

.seeds-info h3 {
    color: #2d7d32;
    margin-bottom: 0.5rem;
}

.seeds-planted {
    font-size: 1.1rem;
    color: #2d7d32;
    margin: 0;
}

.soil-input-section,
.observations-input-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.soil-input-section h3,
.observations-input-section h3 {
    color: #2d7d32;
    margin-bottom: 1.5rem;
}

.total-display {
    text-align: center;
}

.total-percentage {
    font-size: 2rem;
    font-weight: bold;
    color: #2d7d32;
    background: #e8f5e8;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
}

.live-data-section {
    margin-top: 3rem;
}

.live-data-section h2 {
    color: #2d7d32;
    text-align: center;
    margin-bottom: 2rem;
}

.data-table-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.data-table-container h3 {
    color: #2d7d32;
    margin-bottom: 1.5rem;
    text-align: center;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.data-table th {
    background: linear-gradient(135deg, #2d7d32, #388e3c);
    color: white;
    padding: 1rem 0.5rem;
    text-align: center;
    font-weight: 600;
    border: none;
}

.data-table th:first-child {
    border-radius: 10px 0 0 0;
}

.data-table th:last-child {
    border-radius: 0 10px 0 0;
}

.data-table td {
    padding: 0.75rem 0.5rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.data-table tbody tr:hover {
    background-color: #f8f9fa;
}

.data-table .empty-row td {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 2rem;
}

.total-ok {
    background-color: #d4edda !important;
    color: #155724;
    font-weight: bold;
}

.total-error {
    background-color: #f8d7da !important;
    color: #721c24;
    font-weight: bold;
}

.obs-submit {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.obs-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Mobile responsiveness for tables */
@media (max-width: 768px) {
    .data-table-container {
        padding: 1rem;
    }
    
    .data-table {
        font-size: 0.8rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.5rem 0.25rem;
    }
    
    .total-percentage {
        font-size: 1.5rem;
        padding: 0.75rem;
    }
}

/* Password toggle styles for modal */
.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container input {
    flex: 1;
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.password-toggle:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.password-toggle:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Modal auth links styling */
.modal-forgot-password {
    text-align: center;
    margin: 1rem 0;
}

.modal-forgot-password a {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 0.9rem;
}

.modal-forgot-password a:hover {
    text-decoration: underline;
}

.modal-auth-links {
    text-align: center;
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.modal-auth-links a {
    color: var(--primary-green);
    text-decoration: none;
}

.modal-auth-links a:hover {
    text-decoration: underline;
}