:root {
    --primary-color: #2e7d32;
    --secondary-color: #558b2f;
    --accent-color: #ffa000;
    --dark-color: #1b5e20;
    --light-color: #f1f8e9;
    --text-color: #333;
    --text-color-light: #5f6c7b;
    /* --text-color-light: #5f6c7b; */
    --border-color: #e0e0e0;
    --white-color: #ffffff;
    --light-gray-bg: #f9f9f9;
}

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

body {
    font-family: 'Quicksand', sans-serif;
    line-height: 1.6;
    color: #000;
    font-weight: 500;
    overflow-x: hidden;
}

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

/* Navigation */
nav {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
}

.logo {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

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

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile a {
    font-family: 'Quicksand', sans-serif;
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    touch-action: manipulation;
}

.nav-mobile a:hover {
    background: var(--light-gray-bg);
    color: var(--primary-color);
}

.nav-mobile a:active {
    background: var(--light-gray-bg);
    color: var(--primary-color);
}

.nav-links a {
    font-family: 'Quicksand', sans-serif;;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

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

/* Hero Section */
.hero {
    position: relative;
    color: var(--white-color);
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero.not-first-slide {
    justify-content: flex-end;
    align-items: flex-end;
}

.hero.not-first-slide .hero-content {
    text-align: right;
    padding-bottom: 40px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hero-popup {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero h2 {
    font-family: 'Quicksand', sans-serif;;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-date {
    font-family: 'Quicksand', sans-serif;;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    touch-action: manipulation;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white-color);
}

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

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
}

.btn-secondary:hover {
    background: var(--white-color);
    color: var(--primary-color);
}

.btn-secondary:active {
    transform: scale(0.95);
}

.registration-card a {
    color: var(--white-color);
    text-decoration: none;
}

.leaflet-control-attribution {
    display: none;
}

@media (max-width: 768px) {
    .btn {
        padding: 14px 28px;
        font-size: 1rem;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        min-height: 44px;
    }
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--light-gray-bg);
}

.about h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-info {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.feature-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    font-family: 'Quicksand', sans-serif;
    color: #000;
    font-weight: 500;
    line-height: 1.6;
}

/* Who Should Attend */
.attendees {
    padding: 80px 0;
    background: var(--light-gray-bg);
}

.attendees h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.attendee-card {
    background: var(--white-color);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.attendee-card h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.attendee-card ul {
    list-style: none;
    padding-left: 0;
}

.attendee-card li {
    font-family: 'Quicksand', sans-serif;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: #000;
    font-weight: 500;
}

.attendee-card li:before {
    content: "▪";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
    /* Make it a bit bigger */
    padding-right: 0.2em;
    /* Add some width */
}

/* Schedule Section */
.schedule {
    padding: 80px 0;
}

.schedule h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.tab-btn {
    font-family: 'Quicksand', sans-serif;
    padding: 10px 20px;
    background: var(--light-gray-bg);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--white-color);
}

.schedule-content {
    display: none;
}

.schedule-content.active {
    display: block;
}

.schedule-content.active {
    display: block;
}

.schedule-item {
    background: var(--white-color);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.schedule-time {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: var(--light-gray-bg);
}

.benefits h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.benefit-item {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.benefit-item h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonials h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.testimonial-card {
    background: var(--light-gray-bg);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
}

.testimonial-card:before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.testimonial-text {
    font-family: 'Quicksand', sans-serif;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
}

.testimonial-location {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-color-light);
    font-size: 0.9rem;
}



/* Registration Section */
.registration {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white-color);
}

.registration h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
}

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

.registration-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.registration-card h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.registration-card p {
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    font-family: 'Quicksand', sans-serif;
    color: var(--white-color);
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--white-color);
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-section .info-item i {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--white-color);
}

/* Registration Form Styles */
.form-container {
    display: none;
    background: var(--white-color);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1000;
    border: 2px solid var(--primary-color);
}

.form-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.form-overlay.active {
    display: block;
}

@media (max-width: 768px) {
    .form-overlay {
        background: rgba(0, 0, 0, 0.7);
    }
}

.form-container.active {
    display: block;
    animation: formSlideIn 0.3s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-color);
}

.form-header h4 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.close-form {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-form:hover {
    background: var(--light-color);
    transform: scale(1.1);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-family: 'Quicksand', sans-serif;
    /* Use the heading font for more style */
    font-weight: 600;
    /* Bolder */
    color: var(--dark-color);
    /* Darker for better contrast */
    margin-bottom: 0.75rem;
    /* More space */
    font-size: 1rem;
}

.form-input {
    font-family: 'Quicksand', sans-serif;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--white-color);
}

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

.form-input:valid {
    border-color: var(--primary-color);
}

.form-input:invalid {
    border-color: #f44336;
}

.form-textarea {
    font-family: 'Quicksand', sans-serif;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--white-color);
    resize: vertical;
    min-height: 100px;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-select {
    font-family: 'Quicksand', sans-serif;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--white-color);
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.checkbox-label {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    color: var(--text-color);
}

.submit-btn {
    width: 100%;
    padding: 14px 30px;
    background: var(--accent-color);
    color: var(--white-color);
    border: none;
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.active {
    display: block;
}

/* Venue and Map Section */
.venue {
    padding: 80px 0;
    background: var(--white-color);
}

.venue h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

#map {
    height: 450px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 0;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .hero-popup h1 {
        font: 1rem
    }

    .hero-popup h2 {
        font: 0.8rem
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        padding: 8px;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero {
        padding: 100px 0 60px;
        margin-top: 70px;
    }

    .hero-popup {
        padding: 1rem;
    }

    .hero h1 {
        font-family: 'Quicksand', sans-serif;
        font-size: 1.8rem !important;
        line-height: 1.2;
    }

    .hero h2 {
        font-size: 1rem;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem;
    }

    .hero-date {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .about {
        padding: 60px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about h2 {
        font-size: 2rem;
    }

    .features {
        padding: 60px 0;
    }

    .features h2 {
        font-size: 2rem;
    }

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

    .attendees {
        padding: 60px 0;
    }

    .attendees h2 {
        font-size: 2rem;
    }

    .attendees-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .schedule {
        padding: 60px 0;
    }

    .schedule h2 {
        font-size: 2rem;
    }

    .benefits {
        padding: 60px 0;
    }

    .benefits h2 {
        font-size: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonials {
        padding: 60px 0;
    }

    .testimonials h2 {
        font-size: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .registration {
        padding: 60px 0;
    }

    .registration h2 {
        font-size: 2rem;
    }

    .registration-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Mobile Form Styles */
    .form-container {
        padding: 1.5rem;
        margin: 2rem 0;
        position: relative;
        max-width: 100%;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    @media (max-width: 768px) {
        .form-container {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            max-width: 95%;
            width: 95%;
            max-height: 90vh;
            overflow-y: auto;
            margin: 0;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }
    }

    .form-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .form-header h4 {
        font-size: 1.2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
        font-size: 1rem;
        padding: 14px 16px;
        border-radius: 8px;
        min-height: 48px;
    }

    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .submit-btn {
        padding: 16px 24px;
        font-size: 1rem;
        border-radius: 8px;
        min-height: 48px;
    }

    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .checkbox-label {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .footer {
        padding: 40px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Mobile Past Events Styles */
    .past-events {
        padding: 60px 0;
    }

    .past-events h2 {
        font-size: 2rem;
    }

    .past-events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .past-event-card {
        padding: 1.5rem;
    }

    .past-event-year {
        font-size: 2rem;
    }

    .stat-item span {
        font-size: 0.85rem;
    }

    .past-event-highlights h4 {
        font-size: 1rem;
    }

    .past-event-highlights li {
        font-size: 0.8rem;
        padding-left: 1rem;
    }
}

/* Modal Lightbox Gallery Styles */
.gallery-trigger {
    margin-top: 1rem;
    text-align: center;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumbnail:hover {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.view-gallery-btn {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.view-gallery-btn:hover {
    background: var(--secondary-color);
}

/* Modal Overlay */
.ag-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ag-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.ag-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.ag-modal-overlay.active .ag-modal-content {
    transform: scale(1);
}

.ag-modal-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ag-modal-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.ag-close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

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

.ag-modal-body {
    padding: 1rem;
    text-align: center;
}

.ag-modal-image {
    max-width: 100%;
    max-height: 50vh;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.ag-modal-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    position: sticky;
    bottom: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    z-index: 10;
}

.ag-nav-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    min-width: 120px;
    justify-content: center;
    position: sticky;
    bottom: 0;
    z-index: 11;
}

.ag-nav-btn:hover:not(:disabled) {
    background: var(--secondary-color);
}

.ag-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ag-image-counter {
    color: #666;
    font-size: 0.9rem;
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }

    .thumbnail {
        width: 50px;
        height: 50px;
    }

    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .modal-header {
        padding: 0.75rem;
    }

    .modal-title {
        font-size: 1rem;
    }

    .modal-controls {
        padding: 0 0.5rem;
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 1px solid #e0e0e0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
        z-index: 10;
    }

    .nav-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        min-height: 44px;
        min-width: 100px;
        position: sticky;
        bottom: 0;
        z-index: 11;
    }
}

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

    .past-events h2 {
        font-size: 1.8rem;
    }

    .past-event-card {
        padding: 1rem;
        border-radius: 8px;
    }

    .past-event-year {
        font-size: 1.8rem;
    }

    .past-event-date {
        font-size: 0.9rem;
    }

    .past-event-location {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .stat-item span {
        font-size: 0.8rem;
    }

    .past-event-highlights h4 {
        font-size: 0.9rem;
    }

    .past-event-highlights li {
        font-size: 0.75rem;
        padding-left: 1rem;
    }
}

@media (max-width: 480px) {

    .hero-popup a:nth-of-type(1) {
        text-align: left;
        margin-bottom: 4px !important;
        padding-bottom: 2px !important;
    }

    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 1rem;
    }

    .hero {
        padding: 80px 0 40px;
        margin-top: 70px;
    }

    .hero-popup {
        padding: 1rem 0.5rem;
    }

    .hero h1 {
        font-size: 1.6rem !important;
    }

    .hero h2 {
        font-size: 0.9rem !important;
        margin-bottom: 1rem;
    }

    .hero-date {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.95rem;
    }

    /* Extra Small Mobile Styles */
    .form-container {
        padding: 1rem;
        margin: 1rem 0;
        border-radius: 8px;
    }

    .form-header h4 {
        font-size: 1.1rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
        min-height: 44px;
    }

    .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .submit-btn {
        padding: 14px 20px;
        font-size: 0.95rem;
        min-height: 44px;
    }

    .checkbox-label {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .close-form {
        font-size: 1.3rem;
        padding: 8px;
    }
}

/* Comprehensive Registration Forms Section */
.registration-forms {
    padding: 80px 0;
    background: var(--white-color);
}

.adaptive-form-section {
    padding: 80px 0;
    background: var(--white-color);
    margin-bottom: 80px;
}


.registration-forms h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    color: var(--text-color-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.form-card {
    background: var(--white-color);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

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

.form-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    padding: 1.5rem;
    text-align: center;
}

.form-card-header i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.form-card-header h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-card-header p {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.direct-form {
    padding: 2rem;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field.full-field {
    grid-column: 1 / -1;
}

.contact-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    gap: 1.5rem 2rem;
}

.form-label {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.adaptive-form input,
.adaptive-form select,
.adaptive-form textarea {
    font-family: 'Quicksand', sans-serif;
    padding: 14px 18px;
    /* Increased padding */
    border: 2px solid var(--border-color);
    border-radius: 10px;
    /* Slightly more rounded */
    font-size: 1rem;
    transition: all 0.3s ease;
    /* Smoother transition */
    background: #fcfcfc;
    /* Slightly off-white */
}

.adaptive-form input:focus,
.adaptive-form select:focus,
.adaptive-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    /* Use accent color for focus */
    box-shadow: 0 0 0 4px rgba(255, 160, 0, 0.2);
    /* Matching shadow for accent color */
    background: var(--white-color);
}

/* Style for inputs that are required and have valid content */
.adaptive-form input:required:valid,
.adaptive-form select:required:valid {
    border-color: var(--secondary-color);
}



.form-input:valid,
.form-select:valid,
.form-textarea:valid {
    border-color: var(--primary-color);
}

.form-input:invalid,
.form-select:invalid,
.form-textarea:invalid {
    border-color: #f44336;
}

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

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    margin-top: 2px;
}

.checkbox-item label {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.4;
}

.submit-btn {
    width: 100%;
    padding: 14px 30px;
    background: var(--accent-color);
    color: var(--white-color);
    border: none;
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1rem;
}

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

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    padding: 12px 15px;
    border-radius: 8px;
    margin: 1rem 2rem 0;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.active {
    display: block;
}

.form-section {
    margin-bottom: 2.5rem;
    /* Increased margin */
    padding: 2rem;
    /* Add padding all around */
    border-radius: 12px;
    /* Rounded corners */
    border: 1px solid transparent;
    transition: background-color 0.3s ease;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section:nth-of-type(odd) {
    background-color: var(--light-gray-bg);
    /* Stripe effect */
}

/* Conditional Field Visibility Classes */
.form-section.hidden {
    display: none;
}

.form-section.visible {
    display: block;
}

.attendee-card>ul>li::before {
    list-style: square
}

/* Mobile Responsive Design for Adaptive Form */
@media (max-width: 768px) {
    .logo>img {
        margin-left: 0px !important;
    }

    .adaptive-form-section {
        padding: 60px 0;
    }

    .form-intro {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .form-intro i {
        font-size: 2.5rem;
    }

    .form-intro h3 {
        font-size: 1.3rem;
    }

    .adaptive-form {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .contact-fields-grid {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        gap: 0.75rem;
    }

    .form-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .form-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .form-label {
        font-size: 0.85rem;
    }

    .adaptive-form input,
    .adaptive-form select,
    .adaptive-form textarea {
        font-size: 1rem;
        padding: 14px 16px;
        min-height: 48px;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .submit-btn {
        padding: 16px 30px;
        font-size: 1rem;
        min-height: 48px;
    }

    .form-message {
        margin: 1rem 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .logo>img {
        margin-left: 0px !important;
    }

    .adaptive-form-section {
        padding: 40px 0;
    }

    .form-intro {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .form-intro i {
        font-size: 2rem;
    }

    .form-intro h3 {
        font-size: 1.1rem;
    }

    .adaptive-form {
        padding: 1rem;
        border-radius: 8px;
    }

    .form-section {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .form-section h4 {
        font-size: 1.1rem;
    }

    .form-label {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .adaptive-form input,
    .adaptive-form select,
    .adaptive-form textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
        min-height: 44px;
    }

    .checkbox-item label {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .submit-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
        min-height: 44px;
    }

    .form-message {
        margin: 1rem 1rem 0;
        font-size: 0.85rem;
    }
}

.hero-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    text-align: center;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    max-width: 90%;
}

.hero-slide.active .hero-popup {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.hero-popup h1,
.hero-popup h2,
.hero-popup .hero-date {
    color: white;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-popup h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-popup h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.hero-popup .hero-date {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 4;
    padding: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.hero-arrow.prev {
    left: 20px;
}

.hero-arrow.next {
    right: 20px;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: var(--light-gray-bg);
    text-align: center;
}

.partners-section h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.partner-logo {
    max-width: 400px;
    margin: 0 auto;
    transition: transform 0.3s;
}

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

.partner-logo img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

    .partners-section h2 {
        font-size: 2rem;
    }

    .partner-logo {
        max-width: 80%;
    }
}

.logo>img {
    height: 60px;
    object-fit: cover;
    margin-left: 20px;
}

/* Success Dialog */
.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.dialog-box {
    background: var(--white-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1002;
    border: 2px solid var(--primary-color);
    width: 90%;
    max-width: 500px;
    animation: formSlideIn 0.3s ease-out;
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-color);
}

.dialog-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.dialog-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s;
}

.dialog-close:hover {
    background: var(--light-color);
    transform: scale(1.1);
}

.dialog-body p {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-color-light);
    line-height: 1.6;
    margin: 0;
}

.dialog-footer {
    margin-top: 1.5rem;
    text-align: right;
}

.dialog-btn {
    padding: 10px 25px;
    background: var(--accent-color);
    color: var(--white-color);
    border: none;
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.dialog-btn:hover {
    background: #ff8f00;
}
