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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.8rem;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    padding: 80px 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.main-image {
    width: 100%;
    max-width: 400px;
}

.headline-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.event-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 400px;
}

.event-image {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

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

.event-image:hover .event-img {
    transform: scale(1.1);
}

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

.event-image:hover .image-overlay {
    transform: translateY(0);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

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

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.event-link {
    margin-top: 15px;
    text-align: center;
}

/* Unified Section Styles */
section {
    padding: 100px 0;
}

/* Section Background Variations */
section.section-light {
    background: #ffffff;
}

section.section-gray {
    background: #f8fafc;
}

section.section-gradient {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Unified Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Section Header Variations */
.section-header.header-left {
    text-align: left;
    max-width: none;
}

.section-header.header-compact {
    margin-bottom: 40px;
}

.section-header.header-compact h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-header.header-compact p {
    font-size: 1.1rem;
}

/* Unified Grid System */
.section-grid {
    display: grid;
    gap: 30px;
}

.section-grid.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.section-grid.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.section-grid.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Unified Card Styles */
.section-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.section-card .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

/* Program Image Styles */
.program-image {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

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

.section-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
    text-align: center;
}

.section-card h4 {
    font-size: 1rem;
    font-weight: 500;
    color: #2563eb;
    margin-bottom: 15px;
    text-align: center;
    font-style: italic;
}

.section-card p {
    color: #6b7280;
    line-height: 1.7;
    flex: 1;
    text-align: center;
}

.section-card .card-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

/* Programs Section */

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

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

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.program-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
}

.program-card h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #2563eb;
    font-style: italic;
}

.program-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.program-details p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.program-card p {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.7;
}

.program-stats {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.stat {
    display: block;
    font-size: 0.9rem;
    color: #2563eb;
    font-weight: 600;
}

/* Events Section */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.event-date {
    background: #2563eb;
    color: white;
    padding: 20px;
    text-align: center;
    min-width: 100px;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
}

.event-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2937;
}

.event-location,
.event-time {
    color: #6b7280;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.event-location i,
.event-time i {
    margin-right: 8px;
    color: #2563eb;
}

.event-content p {
    color: #6b7280;
    margin-bottom: 20px;
    flex: 1;
}

/* New Event DateTime Styles */
.event-datetime {
    margin-bottom: 15px;
}

.datetime-line {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    width: fit-content;
    flex-wrap: wrap;
}

.datetime-line i {
    font-size: 1rem;
    margin-right: 5px;
}

.date-text, .time-text {
    font-size: 1rem;
}

/* Event Actions Styles */
.event-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

/* Event Actions Row - Side by Side Layout */
.event-actions-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    align-items: flex-start;
}

/* Calendar Button Styles */
.calendar-actions {
    position: relative;
    flex: 1;
}

.calendar-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #495057;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    white-space: nowrap;
}

.calendar-button:hover {
    background: #e9ecef;
    border-color: #2563eb;
    color: #2563eb;
}

.calendar-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 10;
    margin-top: 5px;
}

.calendar-actions:hover .calendar-dropdown {
    display: block;
}

.calendar-dropdown button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: none;
    color: #495057;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
}

.calendar-dropdown button:hover {
    background: #f8f9fa;
    color: #2563eb;
}

.calendar-dropdown button:first-child {
    border-radius: 8px 8px 0 0;
}

.calendar-dropdown button:last-child {
    border-radius: 0 0 8px 8px;
}

/* Event Featured Image Styles */
.event-image-container {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-image-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

.event-image-container:hover .event-featured-img {
    transform: scale(1.05);
}

/* Google Maps Styles */
.map-card {
    padding: 25px !important;
}

.map-container {
    margin: 15px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.location-details {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.location-details p {
    margin: 5px 0;
    color: #374151;
    line-height: 1.4;
}

.location-details strong {
    color: #1f2937;
}

.directions-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.directions-link:hover {
    color: #1d4ed8;
}

.event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: auto;
}

.event-actions .event-price {
    margin-left: auto;
}

.event-price {
    font-weight: 600;
    color: #059669;
}

/* Past Events Section */

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

.past-event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.past-event-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.past-event-content {
    padding: 30px;
}

.past-event-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f2937;
}

.past-event-content .event-date {
    background: none;
    color: #2563eb;
    padding: 0;
    font-weight: 600;
    margin-bottom: 15px;
    min-width: auto;
    text-align: left;
}

.past-event-content p {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.7;
}

.impact-stats {
    display: flex;
    gap: 30px;
}

.impact-stats .stat {
    text-align: center;
}

.impact-stats .stat strong {
    display: block;
    font-size: 1.5rem;
    color: #2563eb;
    font-weight: 700;
}

.impact-stats .stat span {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Contact Section */

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

.contact-form-container h3,
.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1f2937;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 5px;
    color: #1f2937;
}

.contact-item p {
    color: #6b7280;
    line-height: 1.6;
}

.social-links {
    margin-top: 40px;
}

.social-links h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2937;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.7;
}

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

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

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

.footer-bottom a {
    color: #2563eb;
    text-decoration: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideInDown 0.3s ease;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

.modal h2 {
    margin-bottom: 30px;
    color: #1f2937;
    text-align: center;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

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

    .nav-menu li {
        margin: 15px 0;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-images {
        gap: 20px;
    }
    
    .main-image {
        max-width: 300px;
    }
    
    .event-images-grid {
        max-width: 300px;
        gap: 10px;
    }
    
    .image-overlay {
        font-size: 0.8rem;
        padding: 10px 8px 6px;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .program-image {
        height: 160px;
        margin-bottom: 15px;
    }
    
    .map-container iframe {
        height: 200px;
    }
    
    .datetime-line {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .event-actions {
        gap: 10px;
    }
    
    .event-actions-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .calendar-button {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
    
    .event-image-container {
        height: 160px;
        margin-bottom: 15px;
    }

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

    .programs-grid,
    .events-grid,
    .past-events-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .impact-stats {
        justify-content: space-around;
    }

    .event-actions {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .event-price {
        text-align: center;
    }

    .modal-content {
        margin: 10% auto;
        padding: 30px 20px;
    }
}

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

    .hero h1 {
        font-size: 2rem;
    }

    .program-card,
    .event-card,
    .past-event-card {
        margin: 0 10px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-buttons .btn {
        width: 250px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}

/* Event Detail Pages Styles */
.event-detail {
    padding: 80px 0;
    background: #f8fafc;
}

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

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

.event-date-badge {
    background: #2563eb;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.event-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.event-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.event-info-banner {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.event-details-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.detail-item i {
    color: #2563eb;
    width: 20px;
}

.register-section {
    text-align: center;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.registration-note {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #6b7280;
}

.event-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.event-info {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.event-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.learning-modules {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.module {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f8fafc;
}

.module-icon {
    width: 50px;
    height: 50px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.module-content h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.schedule-timeline {
    margin: 30px 0;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.timeline-time {
    font-weight: 600;
    color: #2563eb;
    min-width: 80px;
    font-size: 0.9rem;
}

.timeline-content h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.included-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.included-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 0;
}

.included-list i {
    color: #059669;
    font-size: 0.9rem;
}

.event-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.registration-form,
.event-requirements,
.contact-organizer {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.registration-form h3,
.event-requirements h4,
.contact-organizer h4 {
    margin-bottom: 20px;
    color: #1f2937;
}

.quick-register-form .form-group {
    margin-bottom: 15px;
}

.quick-register-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
}

.quick-register-form input,
.quick-register-form select {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.9rem;
}

.event-requirements ul {
    list-style: none;
    padding: 0;
}

.event-requirements li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9rem;
}

.contact-organizer p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.related-events {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.related-events h3 {
    margin-bottom: 20px;
    color: #1f2937;
}

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

.related-event {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
}

.related-event:hover {
    border-color: #2563eb;
    background: #f8fafc;
}

.related-event i {
    color: #2563eb;
    font-size: 1.2rem;
}

.back-link {
    text-align: center;
}

.schedule-grid {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.day-schedule {
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #2563eb;
}

.day-schedule h4 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 5px;
}

.outcomes-list,
.resource-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.outcome-item,
.resource-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.outcome-icon i,
.resource-item i {
    color: #2563eb;
    font-size: 1.2rem;
    width: 20px;
}

.outcome-text strong,
.resource-item strong {
    display: block;
    color: #1f2937;
    font-weight: 600;
}

.outcome-text span {
    color: #6b7280;
    font-size: 0.9rem;
}

.testimonials-section {
    margin: 40px 0;
}

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

.testimonials-grid blockquote {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #2563eb;
    margin: 0;
    font-style: italic;
    line-height: 1.6;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Donate Section Styles */

/* Full-width donation form layout */
.donate-content-full {
    max-width: 800px;
    margin: 0 auto;
}

.donate-form-full {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.donate-form-full h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    text-align: center;
}

.donate-form-full > p {
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.6;
    text-align: center;
    font-size: 1.1rem;
}

.donate-form-container h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.donate-form-container > p {
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.6;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.amount-btn {
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.amount-btn:hover {
    border-color: #2563eb;
    background: #f8fafc;
    transform: translateY(-2px);
}

.amount-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.custom-amount-input {
    margin-bottom: 30px;
}

.custom-amount-input label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
}

.amount-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 15px;
    font-weight: 600;
    color: #6b7280;
    z-index: 1;
}

.amount-input-container input {
    width: 100%;
    padding: 12px 15px 12px 35px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.donation-frequency {
    margin-bottom: 40px;
}

.donation-frequency h4 {
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
}

.frequency-options {
    display: flex;
    gap: 20px;
}

.frequency-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.frequency-option input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.2);
}

.frequency-label {
    font-weight: 500;
    color: #374151;
}

#square-payment-form {
    border-top: 1px solid #e5e7eb;
    padding-top: 30px;
}

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

.payment-form-header h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.selected-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2563eb;
}

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

#card-container {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    min-height: 50px;
    background: white;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 15px 0;
    font-size: 0.95rem;
    color: #374151;
}

.checkbox-label input[type="checkbox"] {
    transform: scale(1.1);
}

.btn-large {
    width: 100%;
    padding: 18px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 30px 0 20px 0;
}

.payment-security {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.payment-security p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #6b7280;
}

.payment-security i {
    color: #059669;
}

.alternative-giving {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.alternative-giving h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.giving-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.giving-option {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #2563eb;
}

.giving-option i {
    color: #2563eb;
    font-size: 1.3rem;
    margin-top: 3px;
}

.giving-option strong {
    display: block;
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 5px;
}

.giving-option p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.payment-fallback {
    text-align: center;
    padding: 40px 20px;
}

.payment-fallback h4 {
    color: #1f2937;
    margin-bottom: 15px;
}

.fallback-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.fallback-option {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    text-align: left;
}

.fallback-option i {
    color: #2563eb;
    font-size: 1.3rem;
    margin-top: 3px;
}

/* Donation notification styles */
.donation-notification {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
    border-radius: 12px !important;
    padding: 25px !important;
}

.donation-notification .notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.donation-notification .notification-icon {
    font-size: 1.5rem;
}

/* Responsive Design for Event Pages */
@media (max-width: 768px) {
    .event-details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-info-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .event-details-quick {
        justify-content: center;
    }
    
    .event-header h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Donate section responsive */
    .donate-content-full {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .donate-form-full {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .frequency-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .donation-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .giving-options {
        gap: 15px;
    }
    
    .giving-option,
    .fallback-option {
        flex-direction: column;
        text-align: center;
    }
}