* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #faf9f7;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
}

.weekly-content h3 {
    font-size: larger;
}

h4 {
    font-size: small;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
header {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* NAVIGATION */
.nav-links {
    display: flex;
    align-items: center;
    z-index: 2000;
}

.nav-links a {
    margin-left: 30px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #8c6f3f;
}

/* BUTTON */
.btn-primary {
    background: #8c6f3f;
    border: 1px solid;
    padding: 10px 20px;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: white;
    color: #8c6f3f;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #333;
    margin: 4px 0;
    transition: 0.4s;
}

/* HERO */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('Images/Img1.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons a {
    margin-right: 25px;
}

/* SECTIONS */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-title p {
    color: #777;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: auto;
}

/* LIGHT SECTION */
.light-section {
    background: #f4f1eb;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 15px;
    color: #8c6f3f;
}

/* CTA */
.cta {
    background: #8c6f3f;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.cta h2 {
    margin-bottom: 20px;
    font-size: 32px;
}

.cta p {
    margin-bottom: 25px;
}

/* FOOTER */
footer {
    background: #111;
    color: #ccc;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}

footer a:hover {
    color: white;
}

/* MOBILE */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 80px;
        background: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        display: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .nav-links a {
        margin: 15px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 34px;
    }
}

/* CREDIBILITY STRIP */
.credibility {
    background: #111;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    letter-spacing: 1px;
}

/* STORY SECTION */
.story-section {
    text-align: center;
    max-width: 800px;
}

.story-section p {
    margin-bottom: 30px;
}

/* FOUNDER SECTION */
.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.founder-text h2 {
    margin-bottom: 20px;
}

.founder-image img {
    width: 100%;
    border-radius: 8px;
}

.founder-social {
    display: flex;
    flex-direction: row;
    /* ensures horizontal */
    gap: 20px;
    /* space between icons */
    margin-top: 20px;
}

.founder-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f4f1eb;
    color: #8c6f3f;
    font-size: 18px;
    transition: 0.3s;
}

.founder-social a:hover {
    background: #8c6f3f;
    color: white;
    transform: translateY(-3px);
}

.founder-video video {
    width: 100%;
    max-width: 300px;
    /* controls video size */
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: block;
    margin: 0 auto;
}

.founder-video-title {
    text-align: center;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 12px;
}

/* SECONDARY BUTTON */
.btn-secondary {
    display: inline-block;
    margin-top: 20px;
    border: 2px solid #8c6f3f;
    color: #8c6f3f;
    padding: 10px 20px;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #8c6f3f;
    color: white;
}

.form-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.nav-btn {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.home-btn {
    background: #222;
    color: white;
}

.home-btn:hover {
    background: #000;
}

.back-btn {
    background: #e5e5e5;
    color: #333;
}

.back-btn:hover {
    background: #d4d4d4;
}

/* PREMIUM CTA BUTTON */
.cta-btn {
    background: white;
    color: #8c6f3f;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #6e552f;
    color: white;
    transform: translateY(-3px);
}

/* MOBILE IMPROVEMENTS */
@media (max-width: 768px) {
    .founder-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero {
        height: auto;
        padding: 120px 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons a {
        display: block;
        margin: 10px auto;
    }
}

/* PAGE HERO */
.page-hero {
    background: #111;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.page-hero h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

/* NARROW CONTAINER */
.narrow {
    max-width: 800px;
    margin: auto;
}

.center-title {
    text-align: center;
    margin-bottom: 30px;
}

.center-text {
    text-align: center;
}

/* MOBILE */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 28px;
    }
}

/* FOOTER */
footer {
    background: #111;
    color: white;
    padding: 60px 20px 30px;
    text-align: center;
}

.footer-content {
    max-width: 1000px;
    margin: auto;
}

.footer-contact h3 {
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
}

.social-icons {
    margin-bottom: 30px;
}

.social-icons a {
    display: inline-block;
    margin: 0 12px;
    font-size: 20px;
    color: white;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #8c6f3f;
    transform: translateY(-3px);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.8;
    margin: 5px 0;
}

/* DONATION BOX */
.donation-box {
    background: #f8f8f8;
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.bank-details {
    margin: 30px 0;
    font-size: 18px;
    line-height: 1.8;
}

.bank-details strong {
    color: #8c6f3f;
}

.donation-note {
    font-size: 14px;
    opacity: 0.8;
}

/* ICONS IN IMPACT */
.icon {
    font-size: 30px;
    color: #8c6f3f;
    margin-bottom: 15px;
}

/* =============================== */
/* MENTAINANCE */
/* MAINTENANCE PAGE */
.maintenance-page {
    height: 100vh;
    background: linear-gradient(to bottom, #111, #1c1c1c);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.maintenance-box {
    max-width: 600px;
}

.maintenance-icon {
    font-size: 50px;
    color: #8c6f3f;
    margin-bottom: 25px;
    animation: floatIcon 3s ease-in-out infinite;
}

.maintenance-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 20px;
}

.maintenance-page p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

.sub-text {
    margin-top: 10px;
    opacity: 0.7;
}

.maintenance-buttons {
    margin-top: 35px;
}

.btn-outline {
    display: inline-block;
    margin-left: 15px;
    padding: 12px 25px;
    border: 1px solid white;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #8c6f3f;
}

/* Subtle Floating Animation */
@keyframes floatIcon {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .maintenance-page h1 {
        font-size: 24px;
    }

    .maintenance-buttons a {
        display: block;
        margin: 10px auto;
    }
}

/* MENTAINANCE */
/* =============================== */
/* TEAM GRID */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-card {
    text-align: center;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.team-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 5px;
}

.team-title {
    display: block;
    font-size: 14px;
    color: #8c6f3f;
    margin-bottom: 15px;
    font-weight: 600;
}

.team-card p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.creator {
    text-align: center;
    font-size: x-small;
    font: bold;
}

.creator:hover {
    text-decoration: underline;
}

/* WEEKLY FEATURE */
.weekly-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.weekly-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.weekly-card:hover {
    transform: translateY(-6px);
}

.weekly-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.weekly-content {
    padding: 25px;
}

.post-date {
    display: block;
    font-size: 13px;
    color: #8c6f3f;
    margin-bottom: 10px;
}

/* Blog Grid */
.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .weekly-grid {
        grid-template-columns: 1fr;
    }
}

/* PAGINATION */
.pagination {
    text-align: center;
    margin-top: 40px;
}

.page-btn {
    background: none;
    border: 1px solid #8c6f3f;
    padding: 8px 14px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

.page-btn.active,
.page-btn:hover {
    background: #8c6f3f;
    color: white;
}

/* READ MORE BUTTON */
.read-more-btn {
    background: none;
    border: none;
    color: #8c6f3f;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    padding: 0;
    transition: 0.3s;
}

.read-more-btn:hover {
    color: #6e552f;
    text-decoration: underline;
}

.post-subtitle {
    font-size: 0.9rem;
    font-weight: bold;
    color: #666;
    margin-top: 4px;
    margin-bottom: 8px;
    font-family: 'Inter bold', sans-serif;
}

/* Scrolling text container */
.scrolling-text {
    position: fixed;
    background-color: black;
    overflow: hidden;
    white-space: nowrap;
    height: 40px;
    display: flex;
    align-items: center;
    z-index: 1;
    width: 100%;
}

/* Text style */
.scrolling-text p {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

/* Wrapper that scrolls */
.scrolling-wrapper {
    display:flex;
    gap:100px;
    animation: scrollText 40s linear infinite;
}

/* Pause on hover */
.scrolling-text:hover .scrolling-wrapper {
    animation-play-state: paused;
}

/* Animation */
@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-80%);
    }
}

.blog-datetime {
    margin-top: 12px;
    font-size: 14px;
    color: #8c6f3f;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ================= */
/* EVENT CARDS */
/* ================= */
.event-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.event-card {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
}

.event-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.4s;
}

/* overlay */
.event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
}

.event-overlay h3 {
    margin: 0;
    font-size: 20px;
}

/* hover */
.event-card:hover img {
    transform: scale(1.08);
}

/* ============================= */
/* GALLERY SECTION */
/* ============================= */
.gallery-section {
    max-width: 1200px;
    margin: auto;
    padding: 80px 20px;
}

.gallery-section h1 {
    text-align: center;
    margin-bottom: 40px;
}

/* EVENT DROPDOWN */
.gallery-toggle {
    width: 100%;
    background: none;
    border: none;
    font-size: 22px;
    font-weight: 600;
    padding: 18px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

/* ============================= */
/* MASONRY IMAGE GRID */
/* ============================= */
.gallery-content {
    display: none;
    column-count: 3;
    column-gap: 15px;
    padding-top: 20px;
}

.gallery-content img {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.35s;
}

/* HOVER ZOOM */
.gallery-content img:hover {
    transform: scale(1.05);
    opacity: 0.95;
}

/* RESPONSIVE */
@media(max-width:900px) {
    .gallery-content {
        column-count: 2;
    }
}

@media(max-width:600px) {
    .gallery-content {
        column-count: 1;
    }
}

@media (max-width: 768px) {
    .event-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* ============================= */
/* LIGHTBOX */
/* ============================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.lightbox img {
    max-width: 100vw;
    max-height: 100vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* overlay */
.event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
}

.event-overlay h3 {
    margin: 0;
    font-size: 20px;
}

/* hover */
.event-card:hover img {
    transform: scale(1.08);
}

/* responsive */
@media(max-width:900px) {
    .event-gallery {
        column-count: 2;
    }
}

@media(max-width:600px) {
    .event-gallery {
        column-count: 1;
    }
}

/* ================= */
/* LIGHTBOX */
/* ================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85%;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.prev-lightbox,
.next-lightbox {
    position: absolute;
    top: 50%;
    font-size: 50px;
    color: white;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 4000;
    user-select: none;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: background 0.3s;
}

.prev-lightbox:hover,
.next-lightbox:hover {
    background: rgba(0, 0, 0, 0.6);
}

.prev-lightbox {
    left: 20px;
}

.next-lightbox {
    right: 20px;
}

.close-lightbox {
    position: absolute;
    top: 25px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.event-article {
    width: 100%;
    margin: 0;
    padding: 40px 60px;
    line-height: 1.8;
}

/* HEADER */
.event-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.event-meta {
    font-size: 0.9rem;
    color: #777;
}

/* INTRO + VIDEO (L SHAPE) */
.event-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.intro-text p {
    margin-bottom: 16px;
}

.intro-video video {
    width: 100%;
    border-radius: 8px;
}

/* BODY */
.event-body {
    margin-top: 60px;
}

.event-body h2 {
    margin-top: 40px;
    margin-bottom: 15px;
}

/* CONCLUSION */
.event-conclusion {
    margin-top: 60px;
}

/* PREMIUM FOOTER */
.event-footer {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.event-footer h3 {
    margin-bottom: 20px;
}

.related-links {
    display: flex;
    gap: 20px;
}

.related-links a {
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.related-links a:hover {
    background: black;
    color: white;
}
/*
.event-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.event-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* dark overlay 
.event-hero-overlay {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    padding: 20px;
}

/* subtle gradient 
.event-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}

.event-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.hero-meta {
    font-size: 0.9rem;
    opacity: 0.8;
}*/

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: #ff4da6;
    z-index: 9999;
}

.forms-hero {
    max-width: 900px;
    margin: auto;
    padding: 60px 20px;
    line-height: 1.8;
}

.forms-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.form-rules {
    margin-top: 20px;
}

.form-rules li {
    margin-bottom: 10px;
}

.forms-options {
    padding: 60px 20px;
    text-align: center;
}

.forms-options h4 {
    color: red;
    font-size: large;
    font-weight: bold;
}

.form-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: auto;
    margin-top: 30px;
}

.form-card {
    padding: 30px;
    border-radius: 10px;
    background: #f7f7f7;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-card h3 {
    margin-bottom: 10px;
}

/*--------------------------------// CHILD FORM //-------------------------------*/
.application-header h1 {
    font-size: 2.4rem;
    margin-top: 10px;
}

.application-subtitle {
    margin-top: 10px;
    color: #555;
    line-height: 1.6;
}

.back-link {
    text-decoration: none;
    font-weight: 600;
    color: #333;
}

.back-link:hover {
    text-decoration: underline;
}

.application-info ul {
    margin-top: 10px;
    line-height: 1.7;
}

.google-form iframe {
    border-radius: 10px;
}

.form-section {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

.application-header {
    max-width: 950px;
    margin: auto;
    padding: 50px 20px 20px;
}

.application-info {
    max-width: 950px;
    margin: auto;
    padding: 25px;
    background: #f7f7f7;
    border-radius: 10px;
    margin-top: 20px;
}

.form-help {
    max-width: 900px;
    margin: 30px auto 10px;
    text-align: center;
    color: #555;
    font-size: 0.95rem;
}

.apply-section {
    background: #f7f7f7;
    padding: 80px 20px;
    text-align: center;
}

.apply-content {
    max-width: 800px;
    margin: auto;
}

.apply-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.apply-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

.apply-btn {
    margin-top: 15px;
    display: inline-block;
}

@media(max-width:768px) {
    .apply-section {
        padding: 60px 20px;
    }

    .apply-content {
        max-width: 500px;
    }

    .apply-content h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .apply-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .apply-btn {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 20px auto 0;
        padding: 14px 18px;
        font-size: 1rem;
    }
}

@media(max-width:768px) {
    #backToTop {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 20px;
        right: 15px;
    }
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.gallery-nav a {
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: .3s;
}

.gallery-nav a:hover {
    background: black;
    color: white;
}

html {
    scroll-behavior: smooth;
}

.gallery-section {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
}

/* EVENT CARDS */
.event-card {
    position: relative;
    cursor: pointer;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
}

.event-card img {
    width: 100%;
    display: block;
}

.event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 15px;
    font-size: 18px;
}

/* GALLERY GRID */
.event-gallery {
    display: none;
    column-count: 3;
    column-gap: 15px;
    margin-bottom: 60px;
}

.event-gallery img {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: transform .3s;
    will-change: transform;
}

.event-gallery img:hover {
    transform: scale(1.03);
}

/* MOBILE GRID */
@media(max-width:768px) {
    .event-gallery {
        column-count: 2;
    }
}

/* IMAGE COUNTER */
.image-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 12px;
    border-radius: 20px;
}

/* BACK TO TOP */
#backToTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #7c1f1f;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}



/* EVENT HERO */

.event-hero{

position:relative;
height:60vh;
overflow:hidden;

}

.event-hero img{

width:100%;
height:100%;
object-fit:cover;

}

.event-hero-overlay{

position:absolute;
bottom:0;
left:0;
width:100%;
padding:40px;
background:linear-gradient(to top, rgba(0,0,0,0.75), transparent);
color:white;

}

.event-hero-overlay h1{

font-family:"Playfair Display";
font-size:48px;
margin-bottom:10px;

}

.hero-subtitle{

font-size:20px;
opacity:0.9;

}

.hero-meta{

font-size:14px;
opacity:0.8;

}


/* ARTICLE */

.event-article{

max-width:900px;
margin:auto;
padding:60px 20px;

}

.article-title{

font-size:32px;
margin-bottom:30px;

}

.event-article p{

line-height:1.8;
margin-bottom:20px;

}


/* VIDEO */

.event-video video{

width:100%;
border-radius:10px;
margin:40px 0;

}


/* IMAGES */

.event-image{

margin:40px 0;
text-align:center;

}

.event-image img{

width:100%;
max-height:500px;
object-fit:cover;
border-radius:8px;

}

.event-image figcaption{

font-size:14px;
margin-top:8px;
opacity:0.8;

}


/* QUOTE */

.event-quote{

font-size:22px;
font-style:italic;
padding:30px;
margin:50px 0;
border-left:4px solid #7c1f1f;
background:#f8f8f8;

}


/* LINKS */

.event-links{
margin-top:50px;
display:flex;
gap:20px;
flex-wrap:wrap;
}


/* MOBILE */

@media(max-width:768px){

.event-hero{
height:45vh;
}

.event-hero-overlay h1{
font-size:28px;
}

.article-title{
font-size:24px;
}

.event-quote{
font-size:18px;
}

}
.media-credit{
font-size:14px;
color:#666;
text-align:center;
margin-top:40px;
font-style:italic;
}


/* ============================= */
/* EVENT VIDEOS SECTION */
/* ============================= */

.event-videos{
width:90%;
max-width:1200px;
margin:80px auto;
}

.section-divider{
border:none;
height:1px;
background:#ddd;
margin-bottom:40px;
}

.videos-title{
text-align:center;
font-size:32px;
margin-bottom:10px;
}

.videos-subtitle{
text-align:center;
color:#666;
margin-bottom:40px;
font-size:16px;
}


@media (max-width:768px){

.videos-grid{
grid-template-columns:1fr;
}

}

.videos-grid{
display:grid;
grid-template-columns:repeat(auto-fit, minmax(350px,1fr));
gap:30px;
margin-top:40px;
}

.video-card{
background:#fff;
padding:20px;
border-radius:12px;
box-shadow:0 4px 15px rgba(0,0,0,0.08);
max-width: 300px;
}

.video-wrapper{
width:100%;
border-radius:10px;
overflow:hidden;
}

.video-wrapper video{
width:100%;
height:auto;
display:block;
}

.video-caption{
margin-top:12px;
font-size:0.70rem;
color:#555;
text-align:center;
}

