.hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
    background-color: var(--gray-100);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
}

.hero-content-center {
    text-align: center;
    color: var(--gray-50);
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeSlideUp 0.8s ease-out;
}


.hero-sti-logo {
    width: 70px;
    height: auto;
    display: block;
    margin-bottom: 1.5rem;
    border-radius: 15px 15px 15px 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.hero-sti-logo:hover {
    transform: scale(1.05);
}

.hero-logo-top {
    width: 100px;
    height: auto;
    display: block;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.868));
}

.hero-logo-bottom {
    width: 80px;
    height: auto;
    display: block;
    margin-top: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.hero-title-college {
    font-family: Arial, sans-serif !important;
    color: rgb(255, 208, 0) !important;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px #000000;
    letter-spacing: 1px;
}

.hero-title-council {
    font-family: "Cinzel", "Playfair Display", "Georgia", serif !important;
    color: #ffffff;
    font-size: 3.5rem;
    margin: 0.25rem 0 0.5rem 0;
    line-height: 1.1;
    font-weight: 700;
    text-shadow: 3px 3px 6px #000000;
    letter-spacing: 1px;
}


.hero-cta {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    background-color: var(--accent-yellow);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid var(--accent-yellow);
}

.hero-cta:hover {
    background-color: transparent;
    color: var(--accent-yellow);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
    .hero-title-council {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero-title-council {
        font-size: 2.2rem;
    }

    .hero-title-college {
        font-size: 1.2rem;
    }

    .hero-section {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-title-council {
        font-size: 1.8rem;
    }

    .hero-sti-logo {
        width: 45px;
    }

    .hero-logo-top {
        width: 80px;
    }

    .hero-logo-bottom {
        width: 60px;
    }
}



#announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.announcement-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
}



.announcement-card .card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.announcement-card .card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.announcement-card .card-category {
    color: var(--accent-blue);
}

.announcement-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.announcement-card .card-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.announcement-card .card-gallery-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-body);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    width: fit-content;
}

.announcement-card .card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.announcement-card .btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-blue);
    transition: gap 0.2s ease;
}

.announcement-card .btn-read-more:hover {
    gap: 0.75rem;
    color: var(--accent-yellow);
}


#events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin-top: 2rem;
}

.event-poster-card {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-md);
    transition: filter 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    background-color: var(--bg-surface);
}

.event-poster-card:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
}

.poster-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.poster-date-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.poster-date-month {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 2px;
    color: var(--accent-yellow);
}

.poster-date-day {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}


@media (max-width: 640px) {
    #events-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1rem;
    }
}

#stats-container {
    width: 100% !important;
    margin: 0 !important;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 2rem 0 !important;
}

.homepage-stats-grid {
    display: flex !important;
    flex-direction: row !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
    gap: 0 !important;
}

.stat-card {
    flex: 1 !important;
    background: transparent !important;
    padding: 1.5rem 1rem !important;
    text-align: center !important;
    border: none !important;
    border-right: 1px solid var(--border-light) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.stat-card:last-child {
    border-right: none !important;
}


@media (max-width: 639px) {
    .homepage-stats-grid {
        flex-direction: column !important;
    }

    .stat-card {
        border-right: none !important;
        border-bottom: 1px solid var(--border-light) !important;
    }

    .stat-card:last-child {
        border-bottom: none !important;
    }
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
    line-height: 1;
    text-align: center;
}

.stat-card p {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-align: center;
    max-width: 200px;
}


.tigi-ay-banner {
    background: #18181b;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    min-height: 400px;
}

@media (min-width: 768px) {
    .tigi-ay-banner {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.tigi-ay-content {
    padding: 3rem 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.highlight-badge {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-yellow);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.tigi-ay-content .hero-title-council {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: none;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.section-desc strong {
    color: #ffffff;
}

.tigi-ay-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-audio {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-audio:hover {
    background: #ffffff;
    color: var(--primary);
    transform: scale(1.1);
    border-color: #ffffff;
}

.btn-audio.playing {
    background: var(--accent-yellow);
    color: var(--primary);
    animation: pulse-audio 2s infinite;
}

@keyframes pulse-audio {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.tigi-ay-visual {
    position: relative;
    background: radial-gradient(circle at center, #27272a 0%, #09090b 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container {
    z-index: 2;
    width: 60%;
    max-width: 300px;
    position: relative;
}

.tigi-ay-logo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}

.tigi-ay-logo:hover {
    transform: rotate(0deg) scale(1.05);
}

.glow-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--accent-yellow);
    filter: blur(80px);
    opacity: 0.2;
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.2;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.2;
    }
}


@media (max-width: 480px) {
    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .tigi-ay-content .hero-title-council {
        font-size: 2.5rem;
    }
}


@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   FAQ Section Styles
   ========================================================================== */
#faq-container {
    width: 100%;
    padding: 4rem 1.5rem;
    background: var(--bg-body);
}

.faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.faq-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--accent-blue);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--accent-blue);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-blue);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 1.5rem;
    background: var(--bg-body);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .faq-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    #faq-container {
        padding: 3rem 1rem;
    }

    .faq-header h2 {
        font-size: 1.8rem;
    }

    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1.25rem;
    }

    .faq-item.active .faq-answer {
        max-height: 1000px;
        padding: 0 1.25rem 1rem;
    }
}

/* ==========================================================================
   Archive Farewell Section
   ========================================================================== */
.archive-farewell-section {
    width: 100%;
    padding: 6rem 1.5rem;
    display: flex;
    justify-content: center;
    background: var(--bg-body);
}

.archive-content-card {
    max-width: 760px;
    width: 100%;
    padding: 4rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    background: var(--bg-surface);
    position: relative;
    outline: 1px solid var(--border-light);
    outline-offset: -14px;
}

html.dark .archive-content-card {
    background: var(--bg-glass);
    border-color: rgba(255, 255, 255, 0.08);
    outline-color: rgba(255, 255, 255, 0.08);
}

.archive-corner {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--accent-blue);
    opacity: 0.55;
    pointer-events: none;
}

.corner-tl {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.corner-tr {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
}

.corner-bl {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
}

.corner-br {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

.archive-header {
    margin-bottom: 2.5rem;
}

.archive-icon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: 1.5px solid var(--accent-blue);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
}

.archive-icon {
    color: var(--accent-blue);
    width: 28px;
    height: 28px;
}

.archive-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.archive-ornament,
.signature-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.signature-ornament {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.archive-ornament .ornament-line,
.signature-ornament .ornament-line {
    width: 48px;
    height: 1px;
    background: var(--border-light);
}

.archive-ornament .ornament-dot,
.signature-ornament .ornament-dot {
    color: var(--accent-blue);
    font-size: 0.9rem;
    opacity: 0.8;
}

.archive-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.archive-body p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.highlight-text {
    position: relative;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--text-main) !important;
    font-size: 1.15rem !important;
    line-height: 1.6;
    padding: 0.5rem 2.25rem !important;
}

.highlight-text::before,
.highlight-text::after {
    position: absolute;
    font-family: Georgia, serif;
    font-size: 2.75rem;
    line-height: 1;
    color: var(--accent-blue);
    opacity: 0.35;
}

.highlight-text::before {
    content: '\201C';
    top: 0.25rem;
    left: 0;
}

.highlight-text::after {
    content: '\201D';
    bottom: -0.5rem;
    right: 0;
}

.archive-signature {
    margin-top: 3rem;
}

.archive-signature h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.archive-signature .role {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0 0 0.25rem 0;
}

.archive-signature .dev-role {
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}

@media (max-width: 768px) {
    .archive-farewell-section {
        padding: 4rem 1rem;
    }

    .archive-content-card {
        padding: 2.75rem 1.5rem;
        outline-offset: -10px;
    }

    .archive-corner {
        width: 20px;
        height: 20px;
    }

    .corner-tl,
    .corner-tr {
        top: 12px;
    }

    .corner-bl,
    .corner-br {
        bottom: 12px;
    }

    .corner-tl,
    .corner-bl {
        left: 12px;
    }

    .corner-tr,
    .corner-br {
        right: 12px;
    }

    .archive-header h2 {
        font-size: 1.75rem;
    }

    .archive-body p {
        font-size: 1rem;
    }

    .highlight-text {
        padding: 0.5rem 1.75rem !important;
    }

    .highlight-text::before,
    .highlight-text::after {
        font-size: 2.25rem;
    }
}