/* ========================================
   ECKANKAR NIGERIA - MODERN REDESIGN
   style.css
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ---- VARIABLES ---- */
:root {
    --gold:  #F0A500;
    --gold-light:  #FDE8A0;   /* lighter tint of gold */
    --gold-dark:   #B8860B;   /* darker shade for hover states */
    --navy:  #11055e;
    --navy-light:  #b2b1ba;
    --white:       #FFFFFF;
    --off-white:   #F8F6F2;
    --text-dark:   #1A1A2E;
    --text-mid:    #4A4A6A;
    --text-light:  #7A7A9A;
    --border:      #E4DDD0;
    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:   0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg:   0 8px 40px rgba(0,0,0,0.16);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
    color: var(--navy);
}

a { color: var(--gold-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; display: block; }

.event-info-card img,
.reg-event-card .card-img,
.main-event-card img,
.discussion-block img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: unset !important;
    object-fit: fill !important;
    object-position: unset !important;
    display: block !important;
    max-width: 100% !important;
}

/* ---- NAVBAR ---- */
.eck-navbar {
    background: var(--navy) !important;
    padding: 0.6rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.eck-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eck-navbar .navbar-brand img {
    height: 38px;
    width: auto;
}

.eck-navbar .navbar-brand span {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: var(--gold-light);
    font-weight: 600;
    white-space: nowrap;
}

.eck-navbar .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem !important;
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.02em;
}

.eck-navbar .nav-link:hover,
.eck-navbar .nav-link.active {
    color: var(--gold-light) !important;
    background: rgba(255,255,255,0.08);
}

.eck-navbar .nav-link.active {
    color: var(--gold) !important;
}

.btn-mail {
    background: var(--gold) !important;
    color: var(--navy) !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    padding: 0.35rem 0.9rem !important;
    border-radius: 50px !important;
    border: none;
    transition: background 0.2s !important;
}

.btn-mail:hover {
    background: var(--gold-light) !important;
    color: var(--navy) !important;
}

/* ---- HERO SECTION ---- */
.hero-section {
    position: relative;
    min-height: 480px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/temple_full.jpg') center center / cover no-repeat;
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 2rem;
    max-width: 620px;
}

.hero-content .tagline {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.hero-content h1 span {
    color: var(--gold);
}

.hero-content p {
    color: rgba(255,255,255,0.80);
    font-size: 1rem;
    margin-bottom: 1.8rem;
    line-height: 1.8;
}

.hero-img-col {
    position: relative;
    z-index: 2;
}

.hero-img-col img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    width: 100%;
    max-height: 380px;
}

/* ---- SECTION STYLES ---- */
.eck-section {
    padding: 4rem 0;
}

.eck-section.bg-off-white {
    background: var(--off-white);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.section-divider {
    width: 50px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

/* ---- SIDEBAR ---- */
.eck-sidebar {
    background: var(--off-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.eck-sidebar .sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    font-family: 'Playfair Display', serif;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.6rem;
    margin-bottom: 1.2rem;
}

/* ---- EVENT CARD (SIDEBAR - MAIN EVENT) ---- */
.main-event-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}

.main-event-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.main-event-card .card-body {
    padding: 1rem;
}

.main-event-card .event-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.main-event-card .event-meta {
    font-size: 0.82rem;
    color: var(--text-mid);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.main-event-card .event-meta i {
    color: var(--gold);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ---- EVENT CARDS (MAIN - UPCOMING EVENTS) ---- */
.event-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s, transform 0.25s;
    height: 100%;
    display: flex;
    flex-direction: row;
}

.event-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.event-card .event-img {
    width: 110px;
    min-width: 110px;
    object-fit: cover;
    flex-shrink: 0;
}

.event-card .card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-card .card-title a {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
}

.event-card .card-title a:hover { color: var(--gold-dark); }

.event-card .event-meta {
    font-size: 0.82rem;
    color: var(--text-mid);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.event-card .event-meta i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }

/* ---- BUTTONS ---- */
.btn-gold {
    background: var(--gold);
    color: var(--navy);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    border: none;
    transition: background 0.2s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
}

.btn-gold:hover {
    background: var(--gold-dark);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    border: 2px solid var(--navy);
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-navy:hover {
    background: transparent;
    color: var(--navy);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    border: 2px solid var(--gold);
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--navy);
}

.btn-block-gold {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--gold);
    color: var(--navy);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    border: none;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

.btn-block-gold:hover {
    background: var(--gold-dark);
    color: var(--white);
}

/* ---- WELCOME / MASTER SECTION ---- */
.welcome-text p {
    color: var(--text-mid);
    font-size: 0.97rem;
    line-height: 1.85;
}

.temple-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 1rem;
}

.temple-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.temple-img .caption {
    font-size: 0.78rem;
    color: var(--text-light);
    text-align: center;
    padding: 0.5rem 0;
    font-style: italic;
}

.master-card {
    background: var(--off-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border);
    text-align: center;
}

.master-card img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.master-card p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.8;
}

/* ---- CENTRES SECTION ---- */
.centers-banner {
    background: var(--navy);
    border-radius: var(--radius-md);
    padding: 2rem;
    color: var(--white);
}

.centers-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

/* ---- WIDGET SECTION ---- */
.widget-section {
    background: var(--navy);
    padding: 3rem 0;
}

.widget-section .widget-title {
    color: var(--gold-light);
    font-size: 1.1rem;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
    margin-bottom: 1.2rem;
    font-family: 'Playfair Display', serif;
}

.widget-section p, .widget-section a {
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
}

.widget-section a:hover { color: var(--gold); }

.youtube-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.youtube-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* ---- FOOTER ---- */
.eck-footer {
    background: #07182D;
    padding: 1.5rem 0;
}

.eck-footer p {
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
    text-align: center;
    line-height: 1.8;
    margin: 0;
}

.eck-footer a {
    color: var(--gold);
}

.eck-footer a:hover { color: var(--gold-light); }

/* ---- DONATION STRIP ---- */
.donation-strip {
    background: var(--gold);
    border-radius: var(--radius-sm);
    text-align: center;
    padding: 0.75rem 1rem;
    margin: 0.75rem 0;
}

.donation-strip a {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.donation-strip a:hover { color: #fff; }

/* ---- DISCUSSION CLASS BLOCK ---- */
.discussion-block {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 1rem;
}

.discussion-block img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.discussion-block .disc-body {
    padding: 0.9rem;
}

.discussion-block .disc-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.92rem;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
    .eck-navbar .navbar-brand span { font-size: 0.92rem; }
    .hero-section { min-height: auto; padding: 2rem 0; }
    .hero-img-col { display: none; }
    .hero-content { max-width: 100%; }
}

@media (max-width: 767px) {
    .eck-section { padding: 2.5rem 0; }
    .event-card { flex-direction: column; }
    .event-card .event-img { width: 100%; height: 160px; min-width: unset; }
}

/* ========================================
   MOBILE RESPONSIVE FIXES
   ======================================== */

/* ---- MOBILE: 576px and below ---- */
@media (max-width: 576px) {

    /* TAGLINE PILL - prevent wrapping */
    .tagline {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.75rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    /* HERO SECTION */
    .hero-section { min-height: auto; padding: 2rem 0 1.5rem; }
    .hero-content { padding: 1.5rem 1rem; }
    .hero-content h1 { font-size: 1.7rem; }
    .hero-content p { font-size: 0.92rem; }
    .hero-content .d-flex { gap: 0.6rem !important; }
    .btn-navy, .btn-outline-gold {
        font-size: 0.82rem;
        padding: 0.5rem 1rem;
    }

    /* NAVBAR */
    .eck-navbar .navbar-brand span { font-size: 0.88rem; }
    .eck-navbar .navbar-brand img { height: 30px; }

    /* SECTION SPACING */
    .eck-section { padding: 2rem 0; }

    /* SIDEBAR - move below main content on mobile */
    .col-lg-3.col-md-4 { order: 2; }
    .col-lg-9.col-md-8 { order: 1; }

    /* ECK SIDEBAR */
    .eck-sidebar { margin-top: 1.5rem; }

    /* MAIN EVENT CARD */
    .main-event-card img { height: 200px; }

    /* DISCUSSION BLOCK */
    .discussion-block img { height: 160px; }

    /* EVENT CARDS */
    .event-card { flex-direction: column; }
    .event-card .event-img {
        width: 100%;
        height: 180px;
        min-width: unset;
    }

    /* WELCOME SECTION */
    .temple-img img { height: 180px; }
    .master-card img { max-height: 220px; }

    /* CENTRES BANNER */
    .centers-banner { padding: 1.5rem; }
    .centers-banner h2 { font-size: 1.4rem; }

    /* SECTION TITLES */
    .section-title { font-size: 1.4rem; }

    /* PAGE HERO */
    .page-hero { padding: 2rem 0 1.5rem; }
    .page-hero-content h1 { font-size: 1.6rem; }

    /* INFO GRID - stack on mobile */
    .info-grid { grid-template-columns: 1fr; }
    .info-cell { border-right: none; border-bottom: 1px solid var(--border); }
    .info-cell:last-child { border-bottom: none; }

    /* DIRECTOR GRID */
    .director-grid { grid-template-columns: 1fr; }
    .director-cell { border-right: none; border-bottom: 1px solid var(--border); }
    .director-cell:last-child { border-bottom: none; }

    /* COORDINATOR GRID */
    .coordinator-grid { grid-template-columns: 1fr; }
    .coordinator-cell { border-right: none; border-bottom: 1px solid var(--border); }
    .coordinator-cell:last-child { border-bottom: none; }

    /* DONATION CARD */
    .donation-wrapper { padding: 0 0.5rem; }
    .donation-card .donation-body { padding: 1.25rem; }
    .amount-grid { grid-template-columns: repeat(2, 1fr); }

    /* YOUTH PHOTO GRID */
    .youth-photo-grid { grid-template-columns: 1fr; }
    .youth-photo-grid img { height: 200px; }

    /* YOUTH QUOTE */
    .youth-quote-section { padding: 2rem 1.25rem; }
    .youth-quote-section .quote-line { font-size: 0.92rem; }

    /* POSTER CARD on event detail */
    .poster-card img { max-height: 280px; object-fit: cover; }

    /* FINDER CARD */
    .finder-card { margin-bottom: 1rem; }
}

/* ---- TABLET: 577px - 768px ---- */
@media (min-width: 577px) and (max-width: 768px) {

    .tagline { font-size: 0.72rem; white-space: nowrap; }

    .hero-content h1 { font-size: 2rem; }
    .hero-section { padding: 2.5rem 0; }

    .event-card { flex-direction: column; }
    .event-card .event-img { width: 100%; height: 200px; min-width: unset; }

    .info-grid { grid-template-columns: 1fr 1fr; }
    .director-grid { grid-template-columns: 1fr 1fr; }

    .youth-photo-grid img { height: 220px; }

    .page-hero { padding: 2.5rem 0 2rem; }
}

/* ---- WIDGET SECTION MOBILE ---- */
@media (max-width: 768px) {
    .widget-section { padding: 2rem 0; }
    .widget-section .widget-title { font-size: 1rem; }
    .widget-section .col-md-4 { margin-bottom: 1.5rem; }
    .widget-section .col-md-4:last-child { margin-bottom: 0; }

    /* FOOTER */
    .eck-footer { padding: 1.25rem 0; }
    .eck-footer p { font-size: 0.72rem; line-height: 1.7; padding: 0 0.5rem; }

    /* NAVBAR MOBILE MENU */
    .eck-navbar .navbar-collapse {
        background: var(--navy);
        padding: 0.75rem 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 0.5rem;
    }
    .eck-navbar .nav-link {
        padding: 0.6rem 1rem !important;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .eck-navbar .navbar-nav.ms-auto {
        padding: 0.5rem 1rem;
    }
    .btn-mail {
        display: inline-block;
        margin: 0.25rem 0;
    }

    /* CENTRES PAGE */
    .centre-img-card img { height: 200px; }
    .activities-section { padding: 1rem; }
    .activities-table { font-size: 0.82rem; }
    .activities-table thead th { padding: 0.5rem 0.75rem; }
    .activities-table tbody td { padding: 0.5rem 0.75rem; }

    /* CONTACT PAGE */
    .contact-info-card { margin-bottom: 1rem; }
    .contact-form-card .form-card-body { padding: 1.25rem; }

    /* VIEW EVENT PAGE */
    .event-detail-card .detail-header { padding: 1rem; }
    .event-body { padding: 1rem; }
    .theme-block { padding: 0.85rem 1rem; }
    .quote-block { padding: 1.25rem; }
}

/* ---- FIX: Remove container padding issues on mobile ---- */
@media (max-width: 576px) {
    body { overflow-x: hidden; }
    .container { padding-left: 1rem; padding-right: 1rem; }
    .row { margin-left: 0; margin-right: 0; }
}
/* FIX: Navbar toggler icon - make visible on dark background */
.eck-navbar .navbar-toggler {
    border-color: rgba(255,255,255,0.5) !important;
}
.eck-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2c255%2c255%2c0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* FIX: Footer font size on mobile */
@media (max-width: 768px) {
    .eck-footer p {
        font-size: 0.65rem !important;
        line-height: 1.6;
        padding: 0 1rem;
    }
    .eck-footer a {
        font-size: 0.65rem;
    }
}/* FIX: Footer font size smaller on mobile */
@media (max-width: 992px) {
    .eck-footer p,
    .eck-footer a,
    .eck-footer * {
        font-size: 0.60rem !important;
        line-height: 1.6 !important;
    }
}
/* FIX: Hero image full width on mobile */
.hero-section img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block !important;
}

@media (max-width: 576px) {
    .hero-section {
        min-height: auto !important;
        padding: 0 !important;
        background: none !important;
    }
    .hero-section img {
        height: 220px !important;
        object-fit: cover !important;
    }
    .hero-bg {
        display: none !important;
    }
}
/* FIX: Master card image - show full photo */
.master-card img {
    width: 100%;
    max-height: 350px !important;
    object-fit: contain !important;
    object-position: top !important;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    background: #f0f4f8;
}
/* FIX: Mobile dropdown menu - light blue background */
@media (max-width: 991px) {
    .eck-navbar .navbar-collapse {
        background: #E8F4FD !important;
        padding: 0.75rem 0;
        border-top: 2px solid var(--gold);
        margin-top: 0.5rem;
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    }
    .eck-navbar .nav-link {
        color: var(--navy) !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding: 0.7rem 1.25rem !important;
    }
    .eck-navbar .nav-link:hover,
    .eck-navbar .nav-link.active {
        color: var(--gold-dark) !important;
        background: rgba(0,0,0,0.04) !important;
    }
    .eck-navbar .navbar-nav.ms-auto {
        padding: 0.5rem 1rem;
        border-top: 1px solid rgba(0,0,0,0.08);
    }
    .btn-mail {
        background: var(--gold) !important;
        color: var(--navy) !important;
    }
}
/* FIX: Event card images show full on events page */
.event-card .event-img {
    width: 120px !important;
    min-width: 120px !important;
    height: 100% !important;
    min-height: 140px !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #f0f4f8;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .event-card .event-img {
        width: 100% !important;
        height: 220px !important;
        min-height: 220px !important;
        object-fit: contain !important;
        background: #f0f4f8;
    }
}
.event-card {
    min-height: 160px !important;
}
/* FIX: Contact info card light blue */
.contact-info-card .contact-item {
    color: #333 !important;
}
.contact-info-card .contact-item i {
    color: var(--navy) !important;
}
/* FIX: Contact info card text colors on light blue background */
.contact-info-card {
    background: #E8F4FD !important;
}
.contact-info-card .info-card-title {
    color: var(--navy) !important;
}
.contact-info-card .contact-item {
    color: #333 !important;
}
.contact-info-card .contact-item i {
    color: var(--navy) !important;
}
.contact-info-card .contact-item span {
    color: #333 !important;
}
.contact-info-card a {
    color: var(--navy) !important;
    font-weight: 600;
}
.contact-info-card a:hover {
    color: var(--gold-dark) !important;
}
/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* FIX: Payment option buttons clickable */
.pay-option {
    cursor: pointer !important;
    pointer-events: all !important;
    -webkit-tap-highlight-color: rgba(201,151,43,0.2);
}
/* FIX: Event card images show full actual size */
.event-card .event-img {
    width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #f0f4f8;
    flex-shrink: 0;
}

.event-card {
    flex-direction: column !important;
}

/* Events page */
.col-md-6 .event-card .event-img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Homepage events */
.col-md-6 .event-card {
    flex-direction: column !important;
}

@media (max-width: 767px) {
    .event-card .event-img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
/* FIX: Main event card image - full size */
.main-event-card img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #f0f4f8;
}
/* FIX: Discussion block image - full size */
.discussion-block img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #f0f4f8;
}
/* FIX: Show all images at full actual size - no cropping */
.main-event-card img,
.discussion-block img,
.event-card .event-img,
.centre-img-card img,
.poster-card img,
.youth-photo-grid img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: fill !important;
    aspect-ratio: auto !important;
}

.reg-event-card .card-img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: fill !important;
    display: block !important;
}
/* FIX: Registration index page event images */
.reg-event-card img,
.event-info-card img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: fill !important;
    display: block !important;
}
/* FIX: All event images show full size on desktop and mobile */
.event-info-card img,
.reg-event-card .card-img,
.main-event-card img,
.discussion-block img,
.event-card .event-img,
.poster-card img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: unset !important;
    object-fit: fill !important;
    object-position: unset !important;
    display: block !important;
}
.event-info-card,
.reg-event-card,
.main-event-card,
.discussion-block {
    overflow: visible !important;
}
/* FIX: Seminar planning info - compact sidebar size */
.poster-card .poster-body p.contact-line {
    font-size: 0.72rem !important;
    margin-bottom: 0.2rem !important;
    line-height: 1.4 !important;
}
.poster-card .poster-body p.contact-line i {
    font-size: 0.7rem !important;
}
.poster-card .poster-body p.contact-line a {
    font-size: 0.72rem !important;
    word-break: break-all;
}
.poster-card .poster-section-title {
    font-size: 0.68rem !important;
    padding-bottom: 0.3rem !important;
    margin-bottom: 0.5rem !important;
}
/* FIX: Homepage upcoming events - smaller cards with spacing */
.upcoming-events-section .event-card {
    margin-bottom: 0;
}

.upcoming-events-section .row {
    gap: 0;
}

.upcoming-events-section [class*="col-"] {
    padding: 0.5rem !important;
}
/* Homepage events - 3 per row with spacing */
.upcoming-events-section .event-card {
    height: 100%;
    margin: 0;
}

.upcoming-events-section .col-lg-4 {
    padding: 0.5rem 0.85rem !important;
}

.upcoming-events-section .row {
    margin-left: -0.85rem;
    margin-right: -0.85rem;
}

@media (max-width: 767px) {
    .upcoming-events-section .col-lg-4 {
        padding: 0.5rem !important;
    }
/* FINAL FIX: event-info-card image full size - overrides everything */
.event-info-card img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: unset !important;
    object-fit: fill !important;
    object-position: unset !important;
    display: block !important;
    aspect-ratio: auto !important;
}
}