/* Import Gilroy font - ONLY Gilroy, no fallbacks */
@import url('fonts/gilroy.css');

/* Body font only */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --color-primary: #2c5f7d;
    --color-primary-light: #3a7a9e;
    --color-primary-dark: #1e4559;
    --color-secondary: #d4a574;
    --color-accent: #8b6f47;
    --color-text: #1a1a1a;
    --color-text-light: #666;
    --color-white: #ffffff;
    --color-bg: #f8f6f3;
    
    --font-heading: 'Gilroy', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    transition: color 0.4s ease;
}

.logo-img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.4s ease;
}

.logo-text {
    display: none;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .logo-text {
        display: inline;
    }
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: background 0.4s ease, transform 0.3s;
}

.nav-menu {
    position: fixed;
    top: 65px;
    left: -100%;
    width: 100%;
    background: white;
    list-style: none;
    padding: 2rem;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.nav-menu a {
    display: block;
    padding: 0.75rem 0;
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-family: var(--font-heading);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.nav-menu a:hover {
    color: var(--color-secondary);
    padding-left: 10px;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        display: flex;
        gap: 2.5rem;
        padding: 0;
        box-shadow: none;
        width: auto;
        background: transparent;
    }
    
    .nav-menu a {
        padding: 0;
    }
    
    .nav-menu a:hover {
        padding-left: 0;
        color: var(--color-secondary);
    }
}

/* Hero */
.hero {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    margin-top: 65px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateY(0);
    will-change: transform;
    transition: transform 0.3s ease-out;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,69,89,0.88) 0%, rgba(44,95,125,0.82) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-content > * {
    opacity: 0;
    transform: translateY(18px);
    animation: hero-rise 0.9s ease forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.hero-content > *:nth-child(4) { animation-delay: 0.55s; }
.hero-content > *:nth-child(5) { animation-delay: 0.7s; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s, color 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

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

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

.btn-primary:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

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

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

.btn-outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

.hero-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

/* Verse Banner - Compact */
.verse-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: 1.5rem 0;
}

.verse-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: white;
}

.verse-content i {
    font-size: 2rem;
    color: var(--color-secondary);
    flex-shrink: 0;
}

.verse-text-wrapper {
    flex: 1;
}

.verse-text {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    line-height: 1.6;
}

.verse-ref {
    font-weight: 600;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Quick Actions */
.quick-actions {
    padding: 3rem 0;
    background: white;
}

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

.action-card {
    background: var(--color-bg);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: var(--color-text);
    transition: 0.3s;
}

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

.action-card i {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.action-card h3 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.action-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 92px;
    height: 4px;
    margin: 0.7rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary), var(--color-secondary));
    background-size: 200% 100%;
    animation: divider-shimmer 3s ease-in-out infinite;
}

.section-title i {
    color: var(--color-secondary);
}

.section-intro {
    font-size: 1.15rem;
    color: var(--color-text-light);
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(2px);
    transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Livestream */
.livestream-section {
    background: var(--color-bg);
}

.livestream-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.livestream-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.platform-badge.facebook {
    background: #1877f2;
}

.platform-badge.youtube {
    background: #ff0000;
}

.livestream-embed {
    aspect-ratio: 16/9;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.livestream-embed iframe,
.livestream-embed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stream-note {
    display: flex;
    gap: 1rem;
    align-items: start;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stream-note i {
    color: var(--color-secondary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Events Section - Carousel */
.events-section {
    background: white;
}

.events-carousel-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: 0.3s;
    box-shadow: var(--shadow);
}

.carousel-arrow:hover {
    background: var(--color-primary-light);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.left {
    left: -25px;
}

.carousel-arrow.right {
    right: -25px;
}

.carousel-arrow i {
    font-size: 1.25rem;
}

.events-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1.5rem 0;
    scrollbar-width: none; /* Firefox */
}

.events-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.carousel-event-card {
    flex: 0 0 320px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    transition: 0.3s;
    cursor: pointer;
}

.carousel-event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.carousel-date-box {
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.carousel-month {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 1px;
}

.carousel-day {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    margin-top: 0.5rem;
}

.carousel-event-info h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.carousel-time,
.carousel-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    opacity: 0.95;
}

.carousel-time i,
.carousel-location i {
    width: 20px;
}

/* Loading and No Events */
.events-loading {
    text-align: center;
    padding: 3rem;
    color: var(--color-text-light);
}

.events-loading i {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.no-events {
    text-align: center;
    padding: 3rem;
    background: var(--color-bg);
    border-radius: 16px;
}

.no-events i {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.no-events p {
    font-size: 1.2rem;
    color: var(--color-text);
}

.calendar-link {
    text-align: center;
    margin-top: 2rem;
}

.calendar-wrapper {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.calendar-wrapper iframe {
    display: block;
}

.calendar-note {
    display: flex;
    gap: 1rem;
    align-items: start;
    padding: 1.5rem;
    background: var(--color-bg);
    border-radius: 12px;
}

.calendar-note i {
    color: var(--color-secondary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* About */
.about-section {
    background: var(--color-bg);
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image img {
    width: 100%;
    border-radius: 16px;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.feature i {
    font-size: 2rem;
    color: var(--color-secondary);
    flex-shrink: 0;
    width: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature div {
    flex: 1;
}

.feature h4 {
    color: var(--color-primary);
    margin: 0 0 0.3rem 0;
}

.feature p {
    margin: 0;
}

/* Stats Banner */
.stats-banner {
    background: var(--color-primary);
    padding: 3rem 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-secondary);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Pastors */
.pastors-section {
    background: white;
}

.pastors-grid {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

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

.pastor-card {
    background: var(--color-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.pastor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pastor-image {
    aspect-ratio: 1/1;
    overflow: hidden;
}

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

.pastor-info {
    padding: 1.5rem;
}

.pastor-info h3 {
    color: var(--color-primary);
    margin-bottom: 0.3rem;
}

.pastor-title {
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.pastor-bio {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Beliefs */
.beliefs-section {
    background: var(--color-bg);
}

.beliefs-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

@media (min-width: 1024px) {
    .beliefs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.belief-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
}

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

.belief-card i {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.belief-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

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

/* Schedule */
.schedule-section {
    background: white;
}

.schedule-cards {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.schedule-card {
    background: var(--color-bg);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
}

.schedule-card.primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
}

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

.schedule-card.primary .schedule-icon {
    color: white;
}

.schedule-card h3 {
    margin-bottom: 1rem;
}

.schedule-card.primary h3 {
    color: white;
}

.time {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-secondary);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
}

.schedule-card.primary .time {
    color: white;
}

.schedule-card ul {
    list-style: none;
    text-align: left;
}

.schedule-card ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.location-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: var(--color-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto;
}

.location-card i {
    font-size: 2.5rem;
    color: var(--color-secondary);
}

/* Giving */
.giving-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    padding: 4rem 0;
}

.giving-card-main {
    background: rgba(255,255,255,0.98);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 968px) {
    .giving-card-main {
        grid-template-columns: 1fr 1fr;
    }
}

.giving-content {
    padding: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.giving-icon {
    font-size: 3.5rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.giving-content h2 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.giving-content p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 400px;
}

.btn-giving {
    background: var(--color-secondary);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: 0.3s;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.btn-giving:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.giving-methods {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.giving-methods span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.giving-image {
    display: none;
}

@media (min-width: 968px) {
    .giving-image {
        display: block;
        padding: 2rem;
    }
    
    .giving-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* Visitors */
.visitors-section {
    background: var(--color-bg);
    padding: 3rem 0;
}

.visitors-section h2 {
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.visitors-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.visitor-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
}

.visitor-card i {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.visitor-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.visitor-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Social Section - Centered */
.social-section {
    background: white;
    padding: 4rem 0;
}

.facebook-centered {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    width: 100%;
}

.facebook-centered iframe {
    border-radius: 16px;
    box-shadow: var(--shadow);
    width: 100% !important;
    max-width: 1000px;
}

.social-buttons-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.social-btn-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: 0.3s;
    background: var(--color-primary);
    font-size: 0.9rem;
}

.social-btn-compact:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.social-btn-compact i {
    font-size: 1.1rem;
}

/* Contact */
.contact-section {
    background: var(--color-bg);
}

.contact-wrapper {
    display: grid;
    gap: 3rem;
}

@media (min-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info h2 {
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: start;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-item i {
    font-size: 1.75rem;
    color: var(--color-secondary);
}

.contact-item strong {
    display: block;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.map-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
}

.map-btn:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
}

.map-btn i {
    font-size: 0.9rem;
}

.g-recaptcha {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.contact-form textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--color-primary-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col h4 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

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

.footer-col a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: 0.2s;
}

.footer-col a:hover {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s;
}

.social-icons a:hover {
    background: var(--color-secondary);
    transform: translateY(-3px) rotate(-4deg);
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
    animation: icon-pop 0.35s ease;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    opacity: 0.8;
}

/* Scroll margin */
section[id] {
    scroll-margin-top: 80px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: 0.3s;
    opacity: 0.8;
    z-index: 999;
}

.scroll-to-top:hover {
    opacity: 1;
    transform: translateY(-5px);
    background: var(--color-primary-light);
}

.scroll-to-top.show {
    display: flex;
}

/* Hero Scroll Arrow */
.hero-scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: float 2s ease-in-out infinite;
    opacity: 0.8;
    transition: 0.3s;
    z-index: 2;
}

.hero-scroll-arrow:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

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

@keyframes hero-rise {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes divider-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes icon-pop {
    0% { transform: translateY(0) scale(1); }
    60% { transform: translateY(-4px) scale(1.08); }
    100% { transform: translateY(-3px) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content > * {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .reveal {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
    .section-title::after {
        animation: none;
    }
}

/* Zoom Service Styling */
.platform-badge.zoom {
    background: linear-gradient(135deg, #2D8CFF, #0066CC);
}

.zoom-info {
    text-align: center;
    padding: 2rem;
}

.zoom-info h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.zoom-schedule,
.zoom-type {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1rem 0;
    color: var(--color-text);
    font-size: 1.1rem;
}

.zoom-schedule i,
.zoom-type i {
    color: var(--color-secondary);
}

.zoom-btn {
    margin: 1.5rem 0 1rem;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.zoom-id {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Facebook Wrapper Fix */
.facebook-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.facebook-wrapper iframe {
    width: 1000px !important;
    max-width: 100%;
}

@media (max-width: 767px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========== COMPREHENSIVE UPDATES ========== */

/* Hero Video Background */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(20, 52, 99, 0.85), rgba(42, 89, 155, 0.75));
    z-index: 1;
}

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

/* Uniform Livestream Cards */
.livestream-grid-uniform {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card-uniform {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid var(--color-bg);
}

.service-card-uniform:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
}

.service-day {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.service-day i {
    font-size: 1.2rem;
}

.service-time {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-secondary);
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.service-name {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-platform {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-platform i {
    font-size: 1.2rem;
}

.zoom-placeholder {
    background: var(--color-bg);
    border-radius: 12px;
    padding: 2rem;
    margin: 1rem 0;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.zoom-placeholder i {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.zoom-placeholder p {
    color: var(--color-primary);
    font-weight: 600;
    margin: 0;
}

.btn-uniform {
    background: var(--color-primary);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
    width: 100%;
    margin-top: auto;
}

.btn-uniform:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
}

/* Improved Event Cards with Better Colors */
/* carousel colorful styles removed */

.carousel-day-name {
    text-transform: capitalize;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

/* Facebook Width Override */
._2p3a,
.facebook-wrapper,
.facebook-centered iframe {
    width: 1000px !important;
    max-width: 100% !important;
}

@media (max-width: 1100px) {
    ._2p3a,
    .facebook-wrapper,
    .facebook-centered iframe {
        width: 100% !important;
    }
}

/* Responsive Updates */
@media (max-width: 992px) {
    .livestream-grid-uniform {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}


/* ========== MINIMAL LIVESTREAM CARDS ========== */
.livestream-minimal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.stream-card-minimal {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.stream-card-minimal:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.stream-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stream-icon i {
    font-size: 1.8rem;
    color: white;
}

.stream-card-minimal h4 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stream-card-minimal p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.btn-stream {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    text-decoration: none;
    display: inline-block;
}

.btn-stream:hover {
    background: var(--color-primary-light);
}

/* Stream Modal */
.stream-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.stream-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    position: relative;
    padding: 2rem;
}

.stream-modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-text-light);
    cursor: pointer;
    z-index: 10001;
}

.stream-modal-close:hover {
    color: var(--color-primary);
}

/* ========== IMPROVED EVENTS CAROUSEL ========== */
.events-carousel {
    display: flex;
    gap: 1.5rem;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 2rem 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-event-card {
    flex: 0 0 280px;
    background: white;
    border: 2px solid var(--color-bg);
    border-radius: 12px;
    padding: 1.5rem;
    color: var(--color-text);
    transition: all 0.5s ease;
    cursor: pointer;
    opacity: 0.6;
    transform: scale(0.9);
}

.carousel-event-card.center {
    opacity: 1;
    transform: scale(1.05);
    border-color: var(--color-secondary);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.carousel-date-box {
    background: var(--color-primary);
    color: white;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1rem;
}

.carousel-month {
    font-size: 0.8rem;
    opacity: 0.9;
}

.carousel-day {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.carousel-event-info h4 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.carousel-day-name {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.carousel-time,
.carousel-location {
    color: var(--color-text-light);
    font-size: 0.85rem;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========== CENTERED FACEBOOK WITH DECORATIONS ========== */
.facebook-section-enhanced {
    display: grid;
    grid-template-columns: 1fr 1000px 1fr;
    gap: 2rem;
    align-items: start;
}

.facebook-decoration {
    background: var(--color-bg);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.facebook-decoration i {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.facebook-decoration h4 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.facebook-decoration p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .facebook-section-enhanced {
        grid-template-columns: 1fr;
    }
    
    .facebook-decoration {
        display: none;
    }
}

@media (max-width: 768px) {
    .livestream-minimal-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .carousel-event-card {
        flex: 0 0 240px;
    }
}


/* ========== SCHEDULE SECTION - MINIMAL 2 COLUMN ========== */
.schedule-cards-minimal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.schedule-card-minimal {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid var(--color-bg);
    transition: 0.3s;
}

.schedule-card-minimal:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.schedule-day {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-bg);
}

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

.service-time-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--color-bg);
    border-radius: 8px;
}

.service-time-block i {
    font-size: 1.5rem;
    color: var(--color-secondary);
}

.service-time-block div {
    flex: 1;
}

.service-time-block strong {
    display: block;
    color: var(--color-primary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.service-time-block .time {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.service-platform-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-secondary);
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    background: rgba(42, 89, 155, 0.1);
    border-radius: 6px;
    margin-top: 0.5rem;
}

.schedule-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-light);
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-bg);
}

.schedule-location i {
    color: var(--color-secondary);
}

.schedule-zoom-link {
    padding-top: 1rem;
    border-top: 1px solid var(--color-bg);
}

.schedule-zoom-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.schedule-zoom-link a:hover {
    color: var(--color-secondary);
}

.schedule-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-light);
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-bg);
}

.schedule-footer i {
    color: var(--color-secondary);
}

.schedule-zoom-a {
    color: var(--color-text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.schedule-zoom-a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ========== FACEBOOK SECTION ENHANCED ========== */
.facebook-section-enhanced {
    display: grid;
    grid-template-columns: 300px 500px 300px;
    gap: 2rem;
    align-items: stretch;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.facebook-centered-feed {
    display: flex;
    justify-content: center;
    height: 800px;
}

.facebook-decoration {
    background: linear-gradient(135deg, var(--color-bg) 0%, white 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 2px solid var(--color-bg);
    height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.facebook-decoration i {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    display: block;
}

.facebook-decoration h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.facebook-decoration p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.community-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.community-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    justify-content: center;
}

.community-stats .stat i {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin: 0;
}

.community-stats .stat span {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ========== RESPONSIVE UPDATES ========== */
@media (max-width: 1200px) {
    .facebook-section-enhanced {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .facebook-decoration {
        display: none;
    }
    
    .facebook-centered-feed iframe {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .schedule-cards-minimal {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .facebook-centered-feed iframe {
        width: 100% !important;
    }
}


/* ============================================================

/* ============================================================
   FINAL OVERRIDES — navbar, hero, buttons, fireflies
   ============================================================ */

/* Hero full-screen */
.hero { min-height: 100vh !important; margin-top: 0 !important; }

/* ── Navbar: scrolled (floating pill) ── */
.navbar.navbar--scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.10) !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: none !important;
    border-radius: 0 !important;
}

/* Logo / hamburger — scrolled: back to brand colors */
.navbar.navbar--scrolled .logo {
    color: var(--color-primary) !important;
}
.navbar.navbar--scrolled .logo-img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) !important;
}
.navbar.navbar--scrolled .mobile-menu-toggle span {
    background: var(--color-primary) !important;
}

/* Nav links — scrolled: dark text */
.navbar.navbar--scrolled .nav-menu a {
    color: var(--color-text) !important;
    text-shadow: none !important;
}
.navbar.navbar--scrolled .nav-menu a:hover {
    color: var(--color-secondary) !important;
}

/* Mobile dropdown always solid white (links stay dark) */
@media (max-width: 1023px) {
    .nav-menu { background: rgba(255, 255, 255, 0.98) !important; }
    .nav-menu a {
        color: var(--color-text) !important;
        text-shadow: none !important;
    }
}

/* ── Livestream buttons: pixel-identical <button> and <a> ── */
.btn-stream {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    width: 100% !important;
    padding: 0.7rem 1.25rem !important;
    background: var(--color-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: var(--font-body) !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: background 0.2s, transform 0.2s !important;
    min-height: 42px !important;
}
.btn-stream:hover {
    background: var(--color-primary-light) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
}

/* ── Fireflies overlay on hero ── */
.ag-fireflies_box {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}
.ag-fireflies_item {
    position: absolute;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
.ag-fireflies_inner {
    width: 100%; height: 100%;
    border-radius: 50%;
    mix-blend-mode: screen;
    background-image: radial-gradient(#f7bf50 0%, rgba(247,191,80,0.9) 10%);
    box-shadow: 0 0 0.9375em 0.1875em #f8a63a;
    animation: ff-pulse 2s infinite;
}
@keyframes ff-pulse {
    0%,100% { transform: scale3d(0.4,0.4,1); }
    50%      { transform: scale3d(1.4,1.4,1); }
}
/* Firefly paths and sizes */
.ag-fireflies_item:nth-child(1)  {width:6px;height:6px;animation-name:ff-1; animation-duration:30s;animation-delay:-5s}
.ag-fireflies_item:nth-child(2)  {width:4px;height:4px;animation-name:ff-2; animation-duration:37s;animation-delay:-12s}
.ag-fireflies_item:nth-child(3)  {width:6px;height:6px;animation-name:ff-3; animation-duration:34s;animation-delay:-21s}
.ag-fireflies_item:nth-child(4)  {width:7px;height:7px;animation-name:ff-4; animation-duration:36s;animation-delay:-3s}
.ag-fireflies_item:nth-child(5)  {width:5px;height:5px;animation-name:ff-5; animation-duration:34s;animation-delay:-16s}
.ag-fireflies_item:nth-child(6)  {width:5px;height:5px;animation-name:ff-6; animation-duration:31s;animation-delay:-8s}
.ag-fireflies_item:nth-child(7)  {width:4px;height:4px;animation-name:ff-7; animation-duration:35s;animation-delay:-23s}
.ag-fireflies_item:nth-child(8)  {width:3px;height:3px;animation-name:ff-8; animation-duration:33s;animation-delay:-11s}
.ag-fireflies_item:nth-child(9)  {width:2px;height:2px;animation-name:ff-9; animation-duration:35s;animation-delay:-31s}
.ag-fireflies_item:nth-child(10) {width:2px;height:2px;animation-name:ff-10;animation-duration:29s;animation-delay:-6s}
.ag-fireflies_item:nth-child(11) {width:3px;height:3px;animation-name:ff-11;animation-duration:34s;animation-delay:-19s}
.ag-fireflies_item:nth-child(12) {width:5px;height:5px;animation-name:ff-12;animation-duration:29s;animation-delay:-2s}
.ag-fireflies_item:nth-child(13) {width:4px;height:4px;animation-name:ff-13;animation-duration:36s;animation-delay:-14s}
.ag-fireflies_item:nth-child(14) {width:7px;height:7px;animation-name:ff-14;animation-duration:29s;animation-delay:-26s}
.ag-fireflies_item:nth-child(15) {width:2px;height:2px;animation-name:ff-15;animation-duration:32s;animation-delay:-9s}
.ag-fireflies_item:nth-child(16) {width:5px;height:5px;animation-name:ff-16;animation-duration:31s;animation-delay:-28s}
.ag-fireflies_item:nth-child(17) {width:2px;height:2px;animation-name:ff-17;animation-duration:35s;animation-delay:-34s}
.ag-fireflies_item:nth-child(18) {width:8px;height:8px;animation-name:ff-18;animation-duration:31s;animation-delay:-4s}
.ag-fireflies_item:nth-child(19) {width:3px;height:3px;animation-name:ff-19;animation-duration:37s;animation-delay:-17s}
.ag-fireflies_item:nth-child(20) {width:2px;height:2px;animation-name:ff-20;animation-duration:28s;animation-delay:-22s}
.ag-fireflies_item:nth-child(21) {width:1px;height:1px;animation-name:ff-21;animation-duration:34s;animation-delay:-35s}
.ag-fireflies_item:nth-child(22) {width:7px;height:7px;animation-name:ff-22;animation-duration:31s;animation-delay:-18s}
.ag-fireflies_item:nth-child(23) {width:2px;height:2px;animation-name:ff-23;animation-duration:36s;animation-delay:-24s}
.ag-fireflies_item:nth-child(24) {width:3px;height:3px;animation-name:ff-24;animation-duration:36s;animation-delay:-7s}
.ag-fireflies_item:nth-child(25) {width:2px;height:2px;animation-name:ff-25;animation-duration:32s;animation-delay:-13s}
.ag-fireflies_item:nth-child(26) {width:8px;height:8px;animation-name:ff-26;animation-duration:32s;animation-delay:-29s}
.ag-fireflies_item:nth-child(27) {width:8px;height:8px;animation-name:ff-27;animation-duration:30s;animation-delay:-33s}
.ag-fireflies_item:nth-child(28) {width:4px;height:4px;animation-name:ff-28;animation-duration:31s;animation-delay:-20s}
.ag-fireflies_item:nth-child(29) {width:1px;height:1px;animation-name:ff-29;animation-duration:35s;animation-delay:-1s}
.ag-fireflies_item:nth-child(30) {width:5px;height:5px;animation-name:ff-30;animation-duration:37s;animation-delay:-15s}
.ag-fireflies_item:nth-child(31) {width:8px;height:8px;animation-name:ff-31;animation-duration:35s;animation-delay:-27s}
.ag-fireflies_item:nth-child(32) {width:2px;height:2px;animation-name:ff-32;animation-duration:32s;animation-delay:-0s}
.ag-fireflies_item:nth-child(33) {width:6px;height:6px;animation-name:ff-33;animation-duration:31s;animation-delay:-30s}
.ag-fireflies_item:nth-child(34) {width:7px;height:7px;animation-name:ff-34;animation-duration:29s;animation-delay:-37s}
.ag-fireflies_item:nth-child(35) {width:7px;height:7px;animation-name:ff-35;animation-duration:29s;animation-delay:-32s}
.ag-fireflies_item:nth-child(36) {width:4px;height:4px;animation-name:ff-36;animation-duration:37s;animation-delay:-25s}
.ag-fireflies_item:nth-child(37) {width:4px;height:4px;animation-name:ff-37;animation-duration:36s;animation-delay:-36s}
.ag-fireflies_item:nth-child(38) {width:8px;height:8px;animation-name:ff-38;animation-duration:35s;animation-delay:-38s}
.ag-fireflies_item:nth-child(39) {width:2px;height:2px;animation-name:ff-39;animation-duration:36s;animation-delay:-39s}
.ag-fireflies_item:nth-child(40) {width:8px;height:8px;animation-name:ff-40;animation-duration:35s;animation-delay:-40s}
.ag-fireflies_item:nth-child(odd) .ag-fireflies_inner  { animation-delay: -1.5s; }
.ag-fireflies_item:nth-child(even) .ag-fireflies_inner { animation-delay: -0.8s; }
.ag-fireflies_item:nth-child(3n) .ag-fireflies_inner   { animation-delay: -2.3s; }
.ag-fireflies_item:nth-child(5n) .ag-fireflies_inner   { animation-delay: -3.1s; }
@keyframes ff-1  {from{transform:translate3d(38vw,103vh,0)}to{transform:translate3d(6vw,-20vh,0)}}
@keyframes ff-2  {from{transform:translate3d(45vw,109vh,0)}to{transform:translate3d(11vw,-15vh,0)}}
@keyframes ff-3  {from{transform:translate3d(2vw,103vh,0)} to{transform:translate3d(94vw,-20vh,0)}}
@keyframes ff-4  {from{transform:translate3d(64vw,103vh,0)}to{transform:translate3d(60vw,-25vh,0)}}
@keyframes ff-5  {from{transform:translate3d(51vw,104vh,0)}to{transform:translate3d(20vw,-18vh,0)}}
@keyframes ff-6  {from{transform:translate3d(44vw,101vh,0)}to{transform:translate3d(31vw,-12vh,0)}}
@keyframes ff-7  {from{transform:translate3d(18vw,101vh,0)}to{transform:translate3d(11vw,-16vh,0)}}
@keyframes ff-8  {from{transform:translate3d(64vw,109vh,0)}to{transform:translate3d(14vw,-14vh,0)}}
@keyframes ff-9  {from{transform:translate3d(57vw,110vh,0)}to{transform:translate3d(43vw,-22vh,0)}}
@keyframes ff-10 {from{transform:translate3d(31vw,110vh,0)}to{transform:translate3d(42vw,-25vh,0)}}
@keyframes ff-11 {from{transform:translate3d(8vw,102vh,0)} to{transform:translate3d(36vw,-18vh,0)}}
@keyframes ff-12 {from{transform:translate3d(49vw,109vh,0)}to{transform:translate3d(53vw,-10vh,0)}}
@keyframes ff-13 {from{transform:translate3d(16vw,109vh,0)}to{transform:translate3d(20vw,-22vh,0)}}
@keyframes ff-14 {from{transform:translate3d(70vw,109vh,0)}to{transform:translate3d(26vw,-20vh,0)}}
@keyframes ff-15 {from{transform:translate3d(22vw,104vh,0)}to{transform:translate3d(49vw,-12vh,0)}}
@keyframes ff-16 {from{transform:translate3d(16vw,104vh,0)}to{transform:translate3d(54vw,-18vh,0)}}
@keyframes ff-17 {from{transform:translate3d(36vw,104vh,0)}to{transform:translate3d(60vw,-22vh,0)}}
@keyframes ff-18 {from{transform:translate3d(18vw,102vh,0)}to{transform:translate3d(41vw,-10vh,0)}}
@keyframes ff-19 {from{transform:translate3d(96vw,109vh,0)}to{transform:translate3d(93vw,-16vh,0)}}
@keyframes ff-20 {from{transform:translate3d(69vw,105vh,0)}to{transform:translate3d(8vw,-25vh,0)}}
@keyframes ff-21 {from{transform:translate3d(24vw,107vh,0)}to{transform:translate3d(4vw,-20vh,0)}}
@keyframes ff-22 {from{transform:translate3d(10vw,110vh,0)}to{transform:translate3d(33vw,-30vh,0)}}
@keyframes ff-23 {from{transform:translate3d(75vw,110vh,0)}to{transform:translate3d(100vw,-18vh,0)}}
@keyframes ff-24 {from{transform:translate3d(27vw,106vh,0)}to{transform:translate3d(94vw,-22vh,0)}}
@keyframes ff-25 {from{transform:translate3d(84vw,110vh,0)}to{transform:translate3d(25vw,-14vh,0)}}
@keyframes ff-26 {from{transform:translate3d(36vw,101vh,0)}to{transform:translate3d(2vw,-12vh,0)}}
@keyframes ff-27 {from{transform:translate3d(56vw,102vh,0)}to{transform:translate3d(67vw,-10vh,0)}}
@keyframes ff-28 {from{transform:translate3d(61vw,109vh,0)}to{transform:translate3d(87vw,-14vh,0)}}
@keyframes ff-29 {from{transform:translate3d(98vw,108vh,0)}to{transform:translate3d(80vw,-16vh,0)}}
@keyframes ff-30 {from{transform:translate3d(9vw,106vh,0)} to{transform:translate3d(81vw,-20vh,0)}}
@keyframes ff-31 {from{transform:translate3d(81vw,105vh,0)}to{transform:translate3d(90vw,-18vh,0)}}
@keyframes ff-32 {from{transform:translate3d(70vw,106vh,0)}to{transform:translate3d(24vw,-24vh,0)}}
@keyframes ff-33 {from{transform:translate3d(5vw,110vh,0)} to{transform:translate3d(12vw,-22vh,0)}}
@keyframes ff-34 {from{transform:translate3d(34vw,103vh,0)}to{transform:translate3d(74vw,-18vh,0)}}
@keyframes ff-35 {from{transform:translate3d(35vw,107vh,0)}to{transform:translate3d(53vw,-24vh,0)}}
@keyframes ff-36 {from{transform:translate3d(24vw,105vh,0)}to{transform:translate3d(39vw,-20vh,0)}}
@keyframes ff-37 {from{transform:translate3d(9vw,106vh,0)} to{transform:translate3d(8vw,-26vh,0)}}
@keyframes ff-38 {from{transform:translate3d(13vw,108vh,0)}to{transform:translate3d(78vw,-16vh,0)}}
@keyframes ff-39 {from{transform:translate3d(37vw,104vh,0)}to{transform:translate3d(9vw,-22vh,0)}}
@keyframes ff-40 {from{transform:translate3d(39vw,107vh,0)}to{transform:translate3d(29vw,-26vh,0)}}

/* ============================================================
   EVENTS GRID — replaces carousel
   ============================================================ */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .events-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .events-grid { grid-template-columns: 1fr; }
}

.event-card {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    background: #fff;
    border: 1.5px solid #eef0f4;
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--color-primary);
    border-radius: 4px 0 0 4px;
    opacity: 0.35;
    transition: opacity 0.2s;
}

.event-card:hover {
    box-shadow: 0 6px 24px rgba(44,95,125,0.12);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.event-card:hover::before {
    opacity: 1;
}

/* Highlighted "next" card */
.event-card--next {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, #f0f6fa 0%, #ffffff 100%);
    box-shadow: 0 4px 18px rgba(44,95,125,0.13);
}

.event-card--next::before {
    opacity: 1;
    background: var(--color-secondary);
    width: 5px;
}

/* Date block */
.event-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    background: var(--color-primary);
    border-radius: 10px;
    padding: 0.55rem 0.6rem;
    color: #fff;
    flex-shrink: 0;
}

.event-card--next .event-card__date {
    background: var(--color-secondary);
}

.event-card__month {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    opacity: 0.9;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 2px;
}

.event-card__day {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

/* Body */
.event-card__body {
    flex: 1;
    min-width: 0;
}

.event-card__badge {
    display: inline-block;
    background: var(--color-secondary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 4px;
}

.event-card__weekday {
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-transform: capitalize;
    margin: 0 0 3px;
    font-weight: 500;
}

.event-card__title {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.55rem;
    font-family: var(--font-heading);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-card__meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.event-card__meta span {
    font-size: 0.78rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-card__meta i {
    color: var(--color-secondary);
    font-size: 0.72rem;
    flex-shrink: 0;
}

/* ── Fireflies: above overlay (z:1), below text (z:10) ── */
.ag-fireflies_box {
    z-index: 3 !important;
}

.hero-content {
    z-index: 10 !important;
}
