:root {
    --primary: #1a6d3b;
    --secondary: #e9b949;
    --dark: #1d3c1a;
    --light: #f5f9f4;
    --accent: #c34121;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --gold-light: #f8e9b0;
    --gold-dark: #b8860b;
    --red-earth: #a0522d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(to bottom, var(--light), #e0e8dc);
    scroll-behavior: smooth;
    background-attachment: fixed;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    color: var(--primary);
    font-size: 2rem;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 25px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: var(--primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1595433562696-a8b1cb8bdad1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 109, 59, 0.3), rgba(233, 185, 73, 0.3));
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
    margin-left: 15px;
}

.btn-secondary:hover {
    color: var(--secondary);
}

/* Section Styling */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
}

/* Truth Section */
.truth-section {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 40px;
    margin-bottom: 60px;
    border-left: 5px solid var(--secondary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    overflow: hidden; /* contain floated children */
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    left: 50%;
    margin-left: -2px;
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    clear: both; /* Prevent overlap of floats */
    z-index: 2;  /* Keep each item above the line */
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    z-index: 10; /* Hovered item always on top */
}

.timeline-item:nth-child(odd) .timeline-content {
    float: left;
    clear: both;
}

.timeline-item:nth-child(even) .timeline-content {
    float: right;
    clear: both;
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    border-left: 15px solid var(--light);
    right: -15px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    border-right: 15px solid var(--light);
    left: -15px;
}

.timeline-date {
    position: absolute;
    top: 0;
    width: 100px;
    text-align: center;
    left: 50%;
    margin-left: -50px;
    background: var(--primary);
    color: white;
    padding: 5px;
    border-radius: 20px;
    font-weight: 600;
    z-index: 3; /* Dates stay above the line */
}


/* People Section */
.people-section {
    background-color: #f9fbf8;
    background-image: radial-gradient(var(--gold-light) 2px, transparent 2px);
    background-size: 30px 30px;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s;
    border-top: 3px solid var(--secondary);
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial p {
    margin-top: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ddd;
    margin-right: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-light);
}

.author-img i {
    color: var(--gold-dark);
    font-size: 1.5rem;
}

.comment-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 40px auto 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group textarea, .form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.age-group {
    display: flex;
    gap: 20px;
}

.age-option {
    flex: 1;
    text-align: center;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.age-option.selected {
    border-color: var(--primary);
    background: var(--light);
}

.age-option i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--gold-dark);
}

/* Documents Section */
.documents-section {
    background: linear-gradient(to bottom, #e6f2e9, #d4e8d9);
}

.evidence-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.category-btn {
    padding: 10px 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.category-btn.active, .category-btn:hover {
    background: var(--primary);
    color: white;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.evidence-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border-top: 4px solid var(--secondary);
}

.evidence-card:hover {
    transform: translateY(-5px);
}

.evidence-header {
    background: var(--primary);
    color: white;
    padding: 15px;
    text-align: center;
}

.evidence-content {
    padding: 20px;
}

.evidence-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.submit-evidence {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Action Section */
.action-section {
    background: linear-gradient(to right, var(--dark), var(--primary));
    color: white;
    text-align: center;
}

.action-section .section-title {
    color: white;
}

.action-section .section-title::after {
    background: var(--secondary);
}

.action-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.action-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
}

.action-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.action-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.action-card h3 {
    color: white;
    margin-bottom: 15px;
}

.action-form {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s;
    cursor: pointer;
}

.social-btn.facebook {
    background: #3b5998;
}

.social-btn.twitter {
    background: #1da1f2;
}

.social-btn.whatsapp {
    background: #25d366;
}

.social-btn.linkedin {
    background-color: #0077b5;
    color: #fff;
}
.social-btn.tiktok {
    background-color: #000;
    color: #fff;
}

.social-btn:hover {
    transform: translateY(-5px);
}

/* Gallery Section */
.gallery-section {
    background: linear-gradient(to bottom, #f5f9f4, #e0e8dc);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.gallery-item {
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.gallery-item img, .gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img, .gallery-item:hover video {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(to bottom, #e0e8dc, #d0ddc8);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    background: var(--primary);
    color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    color: white;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--secondary);
    min-width: 30px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
}

/* Admin Panel */
.admin-panel {
    background-color: #f0f7ff;
    padding: 40px 20px;
    border-radius: 10px;
    margin: 40px 0;
    box-shadow: var(--shadow);
    display: none;
}

.admin-panel h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
}

.admin-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.admin-form {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.admin-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.admin-btn {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.admin-btn:hover {
    background: var(--dark);
}

.admin-btn.logout {
    background: var(--accent);
}

.comments-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.comment {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 10px;
}

.youth-badge {
    background: #e3f2fd;
    color: #0d47a1;
}

.elder-badge {
    background: #ffebee;
    color: #b71c1c;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    margin: 0 5px;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 85px);
        margin-left: 85px;
        float: none !important;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        float: none;
    }
    
    .timeline-content::after {
        border-right: 15px solid var(--light);
        border-left: none;
        left: -15px;
    }
    
    .timeline-date {
        left: 0;
        margin-left: 0;
    }
    
    .admin-controls {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav li {
        margin: 10px 0;
        margin-left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 70px 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
        max-width: 300px;
    }
    
    .btn-secondary {
        margin-left: auto;
        margin-right: auto;
    }
    
    .age-group {
        flex-direction: column;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animated {
    animation: fadeIn 0.6s ease-out;
}

/* New Speaker Window Styles */
.speakers-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.speaker-window {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.speaker-window:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.speaker-window.active {
    background: linear-gradient(135deg, var(--secondary), #d9a53b);
    transform: scale(1.05);
}

.speaker-icon {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.speaker-window.active .speaker-icon {
    transform: scale(1.2);
    color: var(--dark);
}

.speaker-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    padding: 0 10px;
    transition: color 0.3s;
}

.speaker-window.active .speaker-title {
    color: var(--dark);
}

.speaker-info {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 25px;
    margin: 25px auto 0;
    max-width: 800px;
    box-shadow: var(--shadow);
    display: none;
    position: relative;
    border-left: 5px solid var(--secondary);
}

.speaker-info.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.speaker-info h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-align: center;
}

.speaker-info p {
    color: var(--dark);
    line-height: 1.8;
    text-align: center;
    font-size: 1.1rem;
}

.genz-highlight {
    background: linear-gradient(to right, var(--secondary), #f8e9b0);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.genz-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(45deg, #e8f5e9, #f1f8e9);
    border-radius: 10px;
    border-left: 5px solid var(--primary);
    box-shadow: var(--shadow);
}

.genz-section h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary);
    font-size: 1.8rem;
}

.genz-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.genz-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.genz-card:hover {
    transform: translateY(-5px);
}

.genz-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.genz-card h4 i {
    margin-right: 10px;
    color: var(--secondary);
}

.speaker-intro {
    text-align: center;
    margin: 20px 0;
    font-style: italic;
    color: var(--dark);
}