/* =====================================================
   EVENTS PAGE - BASE STYLES (ALL SCREENS)
   ===================================================== */

.events-hero {
    background: radial-gradient(circle at top left, rgba(21, 101, 216, 0.15), transparent 55%),
                radial-gradient(circle at bottom right, rgba(0, 161, 183, 0.18), transparent 60%),
                linear-gradient(180deg, #ffffff, #f4f8ff);
    padding: 3.5rem 0 2.5rem;
}

.events-hero .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.events-hero .hero-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.events-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(15, 76, 129, 0.08);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    width: fit-content;
}

.events-hero h1 {
    font-size: 2rem;
    line-height: 1.25;
    color: var(--text-dark);
}

.events-hero p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.events-hero .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.events-hero .btn-primary,
.events-hero .btn-secondary {
    width: 100%;
    justify-content: center;
}

.events-hero .hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    border-radius: 16px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(21, 101, 216, 0.08);
}

.hero-meta .meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-align: center;
}

.hero-meta .meta-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hero-meta .meta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero-media .hero-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.hero-media img {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 12px 32px rgba(11, 62, 130, 0.08);
}

.hero-media img:nth-child(3) {
    grid-column: span 2;
    height: 220px;
}

/* Upcoming Events */
.upcoming-events {
    padding: 3rem 0;
    background: #f8faff;
}

.upcoming-events .section-header {
    text-align: center;
    gap: 0.85rem;
}

.section-header .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(21, 101, 216, 0.1);
    color: var(--primary-color);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8rem;
}

.upcoming-events h2 {
    font-size: 1.6rem;
    line-height: 1.3;
}

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.event-card {
    display: flex;
    gap: 1.2rem;
    border-radius: 18px;
    padding: 1.5rem;
    background: white;
    box-shadow: 0 14px 40px rgba(15, 76, 129, 0.08);
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(21, 101, 216, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover::before {
    opacity: 1;
}

.event-date {
    min-width: 72px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    box-shadow: 0 8px 24px rgba(15, 76, 129, 0.25);
}

.event-day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    letter-spacing: 0.08rem;
}

.event-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.event-label {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 76, 129, 0.12);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    width: fit-content;
}

.event-content h3 {
    font-size: 1.2rem;
    line-height: 1.35;
    color: var(--text-dark);
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.event-meta i {
    color: var(--secondary-color);
    margin-right: 0.45rem;
}

.event-focus {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.event-focus span {
    background: rgba(21, 101, 216, 0.12);
    color: var(--primary-color);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.event-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    border: 1.5px solid rgba(15, 76, 129, 0.35);
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(15, 76, 129, 0.25);
}

.event-actions .btn-primary {
    width: 100%;
    justify-content: center;
}

/* Highlights */
.event-highlights {
    padding: 3rem 0;
    background: white;
}

.highlights-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.highlights-header h2 {
    font-size: 1.6rem;
    line-height: 1.3;
}

.highlight-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 2.2rem;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(21, 101, 216, 0.08), rgba(255, 255, 255, 0.9));
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 1px solid rgba(21, 101, 216, 0.08);
    box-shadow: 0 18px 30px rgba(15, 76, 129, 0.08);
}

.highlight-card .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.35rem;
    box-shadow: 0 12px 24px rgba(15, 76, 129, 0.25);
}

.highlight-card h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
}

.highlight-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Timeline */
.event-timeline {
    padding: 3.2rem 0;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.timeline-wrapper {
    position: relative;
    margin-top: 2rem;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(21, 101, 216, 0.25), rgba(0, 161, 183, 0.4));
}

.timeline-item {
    display: flex;
    gap: 1rem;
    padding-left: 2.75rem;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 0 4px rgba(21, 101, 216, 0.15);
}

.timeline-time {
    min-width: 88px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.timeline-content {
    background: white;
    border-radius: 16px;
    padding: 1.3rem;
    box-shadow: 0 12px 30px rgba(15, 76, 129, 0.08);
    border: 1px solid rgba(21, 101, 216, 0.05);
}

.timeline-content h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Updates */
.event-updates {
    padding: 3.2rem 0;
    background: white;
}

.updates-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 18px 40px rgba(15, 76, 129, 0.12);
    border: 1px solid rgba(21, 101, 216, 0.08);
}

.updates-text {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.updates-text h2 {
    font-size: 1.6rem;
    color: var(--text-dark);
}

.updates-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.updates-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.updates-list i {
    color: var(--secondary-color);
}

.updates-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.updates-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.updates-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.updates-form label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.85rem;
}

.updates-form input,
.updates-form select,
.updates-form textarea {
    width: 100%;
    padding: 0.85rem;
    border-radius: 12px;
    border: 1.5px solid rgba(21, 101, 216, 0.18);
    background: rgba(250, 252, 255, 0.8);
    font-size: 0.9rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.updates-form input:focus,
.updates-form select:focus,
.updates-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(21, 101, 216, 0.15);
    outline: none;
}

.updates-form button {
    align-self: stretch;
    justify-content: center;
    gap: 0.6rem;
}

/* Past Events */
.past-events {
    padding: 3.2rem 0;
    background: #f8faff;
}

.past-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

.past-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 240px;
    box-shadow: 0 16px 36px rgba(15, 76, 129, 0.15);
}

.past-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.past-card:hover img {
    transform: scale(1.05);
}

.past-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 25, 55, 0.1) 0%, rgba(4, 25, 55, 0.85) 100%);
    color: white;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.6rem;
}

.past-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.past-overlay p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.85;
}

/* FAQ */
.event-faq {
    padding: 3.2rem 0 3.8rem;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 2rem;
}

.faq-item {
    border-radius: 16px;
    padding: 1.4rem;
    background: linear-gradient(135deg, rgba(21, 101, 216, 0.08), rgba(255, 255, 255, 1));
    border: 1px solid rgba(21, 101, 216, 0.1);
    box-shadow: 0 16px 28px rgba(15, 76, 129, 0.08);
}

.faq-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.faq-item a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Animations */
.event-card,
.highlight-card,
.timeline-item,
.past-card,
.faq-item {
    animation: fadeInUp 0.6s ease both;
}

.events-hero .hero-meta,
.hero-image-grid img {
    animation: fadeIn 0.8s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

