/* Event Page Specific Styles */

/* Hero Sections Container */
.hero-sections-container {
    display: flex;
    width: 100%;
    height: 50vh;
    min-height: 400px;
}

@media (max-width: 768px) {
    .hero-sections-container {
        flex-direction: column;
        height: auto;
    }
    .hero-sections-container section {
        width: 100% !important;
        height: 50vh;
        min-height: 300px;
        padding-top: 100px !important;
    }
}

/* Hero Section 1 Styles */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 60, 151, 0.7) 0%, rgba(33, 91, 179, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 450px;
    padding: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    color: #c4f881;
}

.hero-content .subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.hero-content .meta-info {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 6px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    color: #e8f0ff;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content .subtitle {
        font-size: 1rem;
    }

    .hero-content .meta-info {
        font-size: 0.85rem;
    }
}

/* Hero Section 2 Styles */
.hero2-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 60, 151, 0.7) 0%, rgba(33, 91, 179, 0.8) 100%);
    z-index: 1;
}

.hero2-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 560px;
    padding: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.hero2-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    color: #c4f881;
}

.hero2-content .subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.hero2-content .meta-info {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    color: #e8f0ff;
}

@media (max-width: 768px) {
    .hero2-content h1 {
        font-size: 1.6rem;
    }

    .hero2-content .subtitle {
        font-size: 0.9rem;
    }

    .hero2-content .meta-info {
        font-size: 0.8rem;
    }
}

/* Hero Section Elements */
.hero-section-left,
.hero-section-right {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
}

.hero-section-left {
    background: url('../images/gallery/exhibition/DSC_0115.JPG') center/cover no-repeat;
}

.hero-section-right {
    background: url('../images/gallery/goldenJubilee/DSC01530.JPG') center/cover no-repeat;
}

/* Stats Section Styles */
@keyframes countUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter-number {
    animation: countUp 0.8s ease-out forwards;
    opacity: 0;
    /* Default counter color (kept green for main stats cards) */
    color: #c4f881;
    margin-bottom: 10px;
}

/* Counters inside the hero stats summary should be blue */
.hero-stats-summary .counter-number {
    color: var(--primary, #003c97);
}

.counter-number.animate {
    animation: countUp 0.8s ease-out forwards;
}

/* Gallery Section Styles */
@keyframes scrollLeftInfinity {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.carousel-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    background: #f7f7f7;
}

.carousel-track {
    display: flex;
    gap: 20px;
    padding: 20px 40px;
    animation: scrollLeftInfinity 30s linear infinite;
    will-change: transform;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.gallery-item {
    min-width: 320px;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 60, 151, 0.15);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    flex-shrink: 0;
    border: 2px solid transparent;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 60, 151, 0.25);
    border-color: #c4f881;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.gallery-item:hover img {
    transform: none;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(3, 60, 151, 0) 0%, rgba(3, 60, 151, 0.25) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10000;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #003c97;
    color: white;
    border: none;
    font-size: 18px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 60, 151, 0.3);
}

.lightbox-prev {
    left: -25px;
}

.lightbox-next {
    right: -25px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #c4f881;
    color: #003c97;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-caption {
    margin-top: 15px;
    text-align: center;
    color: #333;
    max-width: 100%;
}

.lightbox-caption p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #003c97;
}

#lightbox-counter {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    .lightbox-modal {
        padding: 10px;
    }

    .lightbox-content {
        padding: 15px;
        max-width: 95vw;
        max-height: 95vh;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 20px;
        width: 28px;
        height: 28px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .lightbox-prev {
        left: -20px;
    }

    .lightbox-next {
        right: -20px;
    }

    .lightbox-content img {
        max-height: 60vh;
    }
}

/* Inline Styles Converted to Classes */

/* Stats Cards */
.stats-card {
    padding: 30px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #003c97 0%, #215bb3 100%);
    transition: all 0.3s ease;
    cursor: pointer;
}

.stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,60,151,0.2);
}

.stats-card:nth-child(2) {
    background: linear-gradient(135deg, #215bb3 0%, #335c9a 100%);
}

.stats-card:nth-child(2):hover {
    box-shadow: 0 20px 40px rgba(33,91,179,0.2);
}

.stats-card:nth-child(3) {
    background: linear-gradient(135deg, #003c97 0%, #335c9a 100%);
}

.stats-card:nth-child(3):hover {
    box-shadow: 0 20px 40px rgba(0,60,151,0.2);
}

.stats-card:nth-child(4) {
    background: linear-gradient(135deg, #215bb3 0%, #003c97 100%);
}

.stats-card:nth-child(4):hover {
    box-shadow: 0 20px 40px rgba(33,91,179,0.2);
}

/* Gallery Title */
.gallery-title {
    margin-bottom: 40px;
    text-align: center;
}

.gallery-title p {
    color: #589c00;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
}

.gallery-title h2 {
    font-size: 2.5rem;
    color: #003c97;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 0;
}

/* Section Background Grey */
.section-bg-grey {
    background: #f8f9fa;
}

/* Animation Classes */
.slideInRight {
    animation: slideInRight 0.8s ease-out;
}

.slideInLeft {
    animation: slideInLeft 0.8s ease-out;
}

.fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.fadeInUp.delay-02 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.fadeInUp.delay-06 {
    animation: fadeInUp 0.6s ease-out;
}

.fadeInUp.delay-06-01 {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.fadeInUp.delay-06-02 {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.fadeInUp.delay-06-03 {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.fadeInUp.delay-06-04 {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.fadeInUp.delay-06-05 {
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.fadeInUp.delay-06-06 {
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.fadeInUp.delay-08 {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Table Styles */
.event-table {
    border-collapse: collapse;
}

.event-table th,
.event-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.event-table th {
    background: linear-gradient(135deg, #003c97 0%, #215bb3 100%);
    font-weight: 600;
    color: #ffffff;
}

.event-table-header {
    background: linear-gradient(135deg, #003c97 0%, #215bb3 100%);
}

.event-table-header th {
    color: #ffffff;
    padding: 15px;
    font-weight: 600;
}

.event-table-row-odd {
    background: #f9f9f9;
}

.event-table-row-odd:hover {
    background: #e8f0ff;
}

.event-table-row-even {
    background: #ffffff;
}

.event-table-row-even:hover {
    background: #e8f0ff;
}

/* Table Cell Classes */
.event-table-td {
    padding: 12px;
}

.event-table-td-highlight {
    padding: 12px;
    font-weight: 600;
    color: #003c97;
    border-left: 5px solid #003c97;
}

/* Media Card Styles */
.media-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,60,151,0.15);
}

.media-card h4 {
    color: #003c97;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.media-stat-item {
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #e8f0ff 0%, #f5f9ff 100%);
    border-radius: 15px;
    border-left: 5px solid #003c97;
    text-align: center;
}

/* Sponsor Card Styles */
.sponsor-card {
    background: linear-gradient(135deg, #f7f7f7 0%, #ffffff 100%);
    padding: 40px 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.sponsor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,60,151,0.15);
    border-color: #003c97;
}

.sponsor-card-small {
    padding: 30px 25px;
    min-height: 160px;
}

.sponsor-card img {
    max-width: 200px;
}

/* Sponsor Logo Classes */
.sponsor-logo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-weight: bold;
    color: white;
    text-align: center;
    font-size: 12px;
    padding: 8px;
}

.sponsor-logo-small {
    width: 70px;
    height: 70px;
    font-size: 11px;
    padding: 6px;
    margin-bottom: 12px;
}

/* Supporting Organization Styles */
.supporting-org {
    background: linear-gradient(135deg, #f7f7f7 0%, #ffffff 100%);
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px;
    border-left: 5px solid #003c97;
    transition: all 0.3s ease;
}

.supporting-org:hover {
    box-shadow: 0 10px 30px rgba(0,60,151,0.1);
}

.supporting-org p {
    color: #898995;
    margin-bottom: 20px;
    font-size: 15px;
}

.supporting-org .org-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.org-logo {
    max-width: 120px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.org-logo:hover {
    opacity: 1;
}

/* Supporting Organizations */
.supporting-orgs {
    background: linear-gradient(135deg, #f7f7f7 0%, #ffffff 100%);
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px;
    border-left: 5px solid #003c97;
    transition: all 0.3s ease;
}

.supporting-orgs:hover {
    box-shadow: 0 10px 30px rgba(0,60,151,0.1);
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .highlight-box {
        flex-direction: column;
    }

    .sponsor-row {
        flex-direction: column;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Additional Styles */
.image-item-span-2 {
    grid-row: span 2;
}

/* Grid Layout Classes */
.image-grid-1fr {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.image-grid-2fr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.image-grid-3fr {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

/* Image Item Classes */
.image-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    height: 160px;
}

.image-item-large {
    height: 220px;
    grid-column: 1 / -1;
}

.image-item-medium {
    height: 180px;
}

.image-item-small {
    height: 140px;
}

.image-item-tall {
    height: 210px;
}

.image-item-short {
    height: 170px;
}

/* Image Hover Effects */
.image-hover {
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.6s ease;
    display: block;
}

.image-hover:hover {
    transform: scale(1.08);
}

/* Stats Section Classes */
.stats-flex {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.stats-item {
    flex: 1;
    padding: 15px;
    background: #e8f0ff;
    border-radius: 15px;
    border-left: 4px solid #003c97;
}

/* Table Row Classes */
.event-table-row-odd {
    background: #f9f9f9;
}

.event-table-row-even {
    background: #ffffff;
}

.event-table-row-hover {
    transition: all 0.3s ease;
}

.event-table-row-hover:hover {
    background: #e8f0ff;
}

/* Table Row Background Classes */
.event-table-row-white {
    background: #ffffff;
}

.event-table-row-grey {
    background: #f9f9f9;
}

/* Media Item Classes */
.media-item {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.media-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #003c97;
    font-weight: 600;
}

.media-list {
    margin-bottom: 0;
    list-style: none;
    padding-left: 0;
    flex-grow: 1;
}

/* Hero Stat Text */
.hero-stat-text {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 0;
}

/* Stats Text */
.stats-text {
    margin: 0;
    font-size: 14px;
}

.stats-text strong {
    color: #003c97;
}

/* Hero Section Stats */
.hero-stats-summary {
    color: #003c97;
    font-size: 18px;
    font-weight: 600;
}

/* Table Header Styles */
.event-table-header {
    background: linear-gradient(135deg, #003c97 0%, #215bb3 100%);
}

.event-table-header th {
    color: #ffffff;
    padding: 15px;
    font-weight: 600;
}

/* Sponsor Section Border */
.sponsor-section-border {
    border-bottom: 2px solid #e0e0e0;
}

.supporting-org-text {
    color: #898995;
    margin-bottom: 20px;
    font-size: 15px;
}

.sponsor-thank-you {
    margin-bottom: 0;
    color: #003c97;
    font-weight: 500;
    font-size: 15px;
}

/* Sponsor Link Styles */
.sponsor-link {
    text-decoration: none;
}

/* Sponsor Logo Backgrounds */
.sponsor-logo-blue {
    background: linear-gradient(135deg, #003c97 0%, #0056cc 100%);
}

.sponsor-logo-green {
    background: linear-gradient(135deg, #c4f881 0%, #a8e020 100%);
}

.sponsor-logo-red {
    background: linear-gradient(135deg, #ff6b6b 0%, #c92a2a 100%);
}

.sponsor-logo-teal {
    background: linear-gradient(135deg, #4ecdc4 0%, #1abc9c 100%);
}

.sponsor-logo-orange {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.sponsor-logo-purple {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.sponsor-logo-grey {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.sponsor-logo-mint {
    background: linear-gradient(135deg, #16a085 0%, #138d75 100%);
}

.sponsor-logo-brown {
    background: linear-gradient(135deg, #d35400 0%, #ba4a00 100%);
}

.sponsor-logo-dark-blue {
    background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
}

.sponsor-logo-emerald {
    background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
}

.sponsor-logo-dark-red {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

.sponsor-name {
    color: #003c97;
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

.sponsor-name-small {
    color: #003c97;
    font-weight: 600;
    font-size: 15px;
    margin: 0;
}

.stats-section .row{
    justify-content: center;
}

/* YouTube Video Embed Styles */
.event-video-iframe {
    margin-top: 10px;
}

/* Video Button Styles */
.event-video-btn {
    background-color: #003c97;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.event-video-btn:hover {
    background-color: #002670;
}

.event-video-btn .play-icon {
    font-size: 12px;
}

/* Video Thumbnail Styles */
.event-video-thumbnail {
    position: relative;
    display: inline-block;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 4px;
    overflow: hidden;
    background: none;
}

.event-video-thumbnail .thumbnail-img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.event-video-thumbnail:hover .thumbnail-img {
    transform: scale(1.05);
    opacity: 0.8;
}

.event-video-thumbnail .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background-color: rgba(0, 60, 151, 0.9);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
}

.event-video-thumbnail .play-icon-svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.event-video-thumbnail:hover .play-overlay {
    background-color: rgba(0, 60, 151, 1);
    width: 50px;
    height: 50px;
}

.event-video-thumbnail:hover .play-icon-svg {
    width: 22px;
    height: 22px;
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.video-modal-content {
    position: relative;
    margin: auto;
    width: 90%;
    max-width: 900px;
    height: 90vh;
    top: 50%;
    transform: translateY(-50%);
}

.video-modal-close {
    position: absolute;
    right: 20px;
    top: -40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.video-modal-close:hover {
    color: #ccc;
}

.video-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        height: 70vh;
    }
    
    .video-modal-close {
        right: 10px;
        top: -30px;
        font-size: 30px;
    }
}


/* Animations for Event Page */
  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes scaleIn {
    from {
      opacity: 0;
      transform: scale(0.8);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  @keyframes pulse {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.7;
    }
  }
  
  .stats-card {
    position: relative;
  }
  
  .sponsor-card {
    position: relative;
  }
 
 
  /* Stacked Cards*/
 
  .card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
  }
 
  .cardbox {
    border: 1px solid #ccc;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  }
 
  .cardbox h3 {
    margin: 0 0 15px;
    font-size: 18px;
    text-align: center;
  }
 
  .image-stack {
    position: relative;
    width: 100%;
    padding-top: 75%;
  }
 
  .image-stack img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    transform: translate(-50%, -50%);
    border: 5px solid white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }
 
 
 
  .image-stack img:nth-child(1) { transform: translate(-50%, -50%) rotate(-10deg); z-index: 1; }
  .image-stack img:nth-child(2) { transform: translate(-50%, -50%) rotate(6deg); z-index: 2; }
  .image-stack img:nth-child(3) { transform: translate(-50%, -50%) rotate(-5deg); z-index: 3; }
  .image-stack img:nth-child(4) { transform: translate(-50%, -50%) rotate(3deg); z-index: 4; }
 
  @media (max-width: 768px) {
    .card-container {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
  }
 
  @media (max-width: 480px) {
    .card-container {
      grid-template-columns: 1fr;
    }
  }
 
  .image-stack:hover img:nth-child(4) {
    transform: translate(-50%, -60%) scale(1.01) rotate( -12deg);
    cursor:pointer;
    }
 
 
 
    .event-table p {
      color: #000 !important;
    }
