/* ===== CSS Variables ===== */
:root {
    --primary-color: #00ff41;
    --secondary-color: #00d4ff;
    --accent-color: #ff00ff;
    --bg-dark: #0a0e27;
    --bg-darker: #050816;
    --bg-card: #1a1f3a;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --border-color: #2a3f5f;
    --success: #00ff41;
    --warning: #ffaa00;
    --danger: #ff0055;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation Bar ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 1);
    box-shadow: 0 5px 20px rgba(0, 255, 65, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
}

.logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 65, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="0.9em" font-size="90" fill="rgba(0,255,65,0.03)">01</text></svg>');
    background-size: 200px;
    animation: matrix 20s linear infinite;
}

@keyframes matrix {
    0% { background-position: 0 0; }
    100% { background-position: 0 200px; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.glitch {
    position: relative;
    color: var(--primary-color);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--secondary-color);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--accent-color);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(20px, 9999px, 120px, 0); }
    25% { clip: rect(90px, 9999px, 50px, 0); }
    50% { clip: rect(10px, 9999px, 80px, 0); }
    75% { clip: rect(60px, 9999px, 30px, 0); }
    100% { clip: rect(40px, 9999px, 100px, 0); }
}

.tagline {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.btn-secondary {
    background: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--primary-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* ===== Stats Section ===== */
.stats {
    padding: 80px 0;
    background: var(--bg-darker);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
}

.stat-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-card p {
    color: var(--text-secondary);
}

/* ===== Section Styles ===== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.key-achievements,
.upcoming-events,
.about {
    padding: 80px 0;
}

.key-achievements {
    background: var(--bg-dark);
}

.upcoming-events {
    background: var(--bg-darker);
}

.about {
    background: var(--bg-dark);
}

.achievements-grid,
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* ===== Card Styles ===== */
.achievement-card,
.event-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 31, 58, 0.8) 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.achievement-card::before,
.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
}

.achievement-card:hover,
.event-card:hover {
    transform: translateY(-12px) scale(1.01);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 255, 65, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.achievement-card:hover::before,
.event-card:hover::before {
    opacity: 1;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 255, 65, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.achievement-card:hover .card-image::after,
.event-card:hover .card-image::after {
    opacity: 1;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.card-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

/* ===== About Section ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-text ul {
    list-style: none;
}

.about-text li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-text li i {
    color: var(--primary-color);
}

.security-visual {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.1), rgba(0, 212, 255, 0.1));
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    animation: rotate 20s linear infinite;
}

.security-visual i {
    font-size: 8rem;
    color: var(--primary-color);
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== Page Header ===== */
.page-header {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    margin-top: 70px;
    overflow: hidden;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 65, 0.1) 0%, transparent 70%);
}

.page-header h1 {
    position: relative;
    z-index: 1;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-header p {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* ===== Filter Bar ===== */
.filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.search-input,
.filter-select {
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.search-input {
    flex: 1;
    min-width: 250px;
}

.search-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.filter-select {
    cursor: pointer;
}

/* ===== Timeline ===== */
.achievements-timeline {
    position: relative;
    padding-left: 50px;
}

.achievements-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding: 25px;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 31, 58, 0.9) 100%);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px 12px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(12px) scale(1.01);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 255, 65, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.timeline-item:hover::after {
    opacity: 1;
}

.timeline-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.timeline-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-position {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.15) 0%, rgba(0, 212, 255, 0.15) 100%);
    color: var(--primary-color);
    padding: 12px 16px;
    border-left: 3px solid var(--primary-color);
    border-radius: 5px;
    margin-top: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 5px;
    margin-top: 15px;
    border: 1px solid var(--border-color);
}

.achievement-meta {
    margin-top: 20px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.08) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    border-top: 1px solid rgba(0, 255, 65, 0.15);
    box-shadow: inset 0 1px 3px rgba(0, 255, 65, 0.1);
}

.meta-item {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-item i {
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.meta-item strong {
    color: var(--primary-color);
    min-width: 130px;
}

/* ===== Executive Body ===== */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.member-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 31, 58, 0.8) 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    position: relative;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.member-card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 255, 65, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.member-card:hover::before {
    opacity: 1;
}

.member-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-bottom: 2px solid var(--border-color);
}

.member-info {
    padding: 12px;
}

.member-name {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.member-role {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 8px;
}

.member-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.member-social {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 12px;
}

.member-social a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition);
}

.member-social a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

/* ===== Alumni ===== */
.alumni-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-secondary);
}

.alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.alumni-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 31, 58, 0.8) 100%);
    border-radius: 12px;
    padding: 25px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    margin-bottom: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    position: relative;
}

.alumni-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: var(--transition);
    border-radius: 12px 12px 0 0;
}

.alumni-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.alumni-card:hover::before {
    opacity: 1;
}

.alumni-name {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.alumni-batch {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.alumni-position {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 5px;
}

.alumni-company {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

/* ===== Events ===== */
.events-container {
    display: grid;
    gap: 30px;
}

.event-item {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 300px 1fr;
    transition: var(--transition);
}

.event-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-details {
    padding: 30px;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.event-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.event-category {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.event-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.event-meta span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-meta i {
    color: var(--secondary-color);
}

.event-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.event-gallery {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-thumb:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* ===== Contests ===== */
.contests-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.contest-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contest-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.contest-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), inset 0 0 20px rgba(0, 212, 255, 0.05);
    transform: translateY(-5px);
}

.contest-card-content {
    position: relative;
    z-index: 1;
}

.contest-name {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.contest-winners {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.contest-winner-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(0, 212, 255, 0.05);
    border-left: 3px solid var(--secondary-color);
    border-radius: 6px;
}

.contest-position-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--secondary-color);
    color: var(--bg-darker);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: bold;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
}

.contest-position-badge.first {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.contest-position-badge.second {
    background: linear-gradient(135deg, #C0C0C0, #808080);
    color: #fff;
}

.contest-position-badge.third {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    color: #fff;
}

.contest-position-badge.special-mention {
    background: linear-gradient(135deg, var(--secondary-color), #00ffff);
    color: var(--bg-darker);
}

.contest-names {
    color: var(--text-secondary);
    font-size: 0.95rem;
    flex: 1;
    line-height: 1.4;
}

.contest-no-winners {
    padding: 20px;
    text-align: center;
    color: var(--text-secondary);
    background: rgba(184, 197, 214, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
}

.contest-no-winners p {
    margin: 0;
}

.contest-footer {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.contest-footer .btn {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
}

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

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

.modal-content {
    background-color: var(--bg-card);
    margin: 5% auto;
    padding: 30px;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--primary-color);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-darker);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* ===== Loading ===== */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 14, 39, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .event-item {
        grid-template-columns: 1fr;
    }

    .event-image {
        height: 200px;
    }

    .achievements-timeline {
        padding-left: 30px;
    }

    .achievements-timeline::before {
        left: 10px;
    }

    .timeline-item::before {
        left: -28px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .achievements-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

    .members-grid,
    .alumni-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        flex-direction: column;
    }

    .search-input {
        width: 100%;
    }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ===== Gallery View Styles ===== */

/* View Toggle Buttons */
.view-toggle {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(26, 31, 58, 0.5);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: inherit;
}

.view-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 255, 65, 0.1);
    transform: translateY(-2px);
}

.view-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(0, 255, 65, 0.7) 100%);
    color: #000;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

/* View Containers */
.view-container {
    display: none;
}

.view-container.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Timeline View Styles */
.timeline-container {
    position: relative;
    padding: 40px 0;
}

.timeline-year-section {
    margin-bottom: 80px;
}

.timeline-year-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-year-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
    margin: 0;
}

.timeline-items {
    position: relative;
    padding: 0 20px;
}

.timeline-items::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-size: 100% 100%;
    animation: gradientFlow 3s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 0% 100%; }
}

.timeline-item {
    margin-bottom: 50px;
    display: flex;
    gap: 40px;
    position: relative;
}

.timeline-item.left {
    flex-direction: row;
    justify-content: flex-end;
}

.timeline-item.left .timeline-content {
    text-align: right;
    width: 45%;
}

.timeline-item.right {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.timeline-item.right .timeline-content {
    text-align: left;
    width: 45%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid var(--bg-dark);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    top: 15px;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
    z-index: 10;
}

.timeline-content {
    width: 45%;
}

.timeline-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 31, 58, 0.8) 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.timeline-card.clickable {
    cursor: pointer;
}

.timeline-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
    transform: translateY(-8px);
}

.timeline-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.timeline-card:hover .timeline-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.timeline-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 255, 65, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-image-placeholder i {
    font-size: 3rem;
    color: var(--text-secondary);
}

.timeline-card-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-card-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.timeline-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.timeline-position {
    color: var(--secondary-color);
    font-weight: 500;
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.timeline-date {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.timeline-date i {
    color: var(--secondary-color);
}

.timeline-detail {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.timeline-detail i {
    color: var(--secondary-color);
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline-items::before {
        left: 10px;
    }

    .timeline-item {
        flex-direction: row !important;
        justify-content: flex-start;
        gap: 30px;
    }

    .timeline-item.left,
    .timeline-item.right {
        flex-direction: row !important;
        justify-content: flex-start;
    }

    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        text-align: left;
        width: calc(100% - 50px);
    }

    .timeline-content {
        width: calc(100% - 50px);
    }

    .timeline-dot {
        left: 10px;
    }

    .timeline-year-header h2 {
        font-size: 2rem;
    }

    .timeline-card-info {
        padding: 15px;
    }

    .timeline-card-info h3 {
        font-size: 1rem;
    }

    .timeline-image {
        height: 150px;
    }

    .timeline-image-placeholder {
        height: 150px;
    }
}

/* Achievement Timeline View Styles */
.achievement-timeline-container {
    position: relative;
    padding: 40px 0;
}

.achievement-timeline-year-section {
    margin-bottom: 80px;
}

.achievement-timeline-year-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.achievement-timeline-year-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
    margin: 0;
}

.achievement-timeline-items {
    position: relative;
    padding: 0 20px;
}

.achievement-timeline-items::before {
    content: '';
    position: absolute;
    left: 0;
    transform: translateX(0);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-size: 100% 100%;
    animation: achievement-gradientFlow 3s ease infinite;
}

@keyframes achievement-gradientFlow {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 0% 100%; }
}

.achievement-timeline-item {
    margin-bottom: 50px;
    display: flex;
    gap: 40px;
    position: relative;
}

.achievement-timeline-item.left {
    flex-direction: row;
    justify-content: flex-start;
    padding-left: 40px;
}

.achievement-timeline-item.left .achievement-timeline-content {
    text-align: left;
    width: 100%;
}

.achievement-timeline-item.right {
    flex-direction: row;
    justify-content: flex-start;
    padding-left: 40px;
}

.achievement-timeline-item.right .achievement-timeline-content {
    text-align: left;
    width: 100%;
}

.achievement-timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid var(--bg-dark);
    border-radius: 50%;
    left: -10px;
    transform: translateX(0);
    top: 15px;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
    z-index: 10;
}

.achievement-timeline-content {
    width: 100%;
}

.achievement-timeline-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 31, 58, 0.8) 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.achievement-timeline-card.clickable {
    cursor: pointer;
}

.achievement-timeline-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
    transform: translateY(-8px);
}

.achievement-timeline-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.achievement-timeline-card:hover .achievement-timeline-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.achievement-timeline-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 255, 65, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-timeline-image-placeholder i {
    font-size: 3rem;
    color: var(--text-secondary);
}

.achievement-timeline-card-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.achievement-timeline-card-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.achievement-timeline-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.achievement-timeline-position {
    position: absolute;
    top: 10px;
    left: 10px;
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
    z-index: 5;
}

.achievement-timeline-date {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.achievement-timeline-date i {
    color: var(--secondary-color);
}

.achievement-timeline-detail {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.achievement-timeline-detail i {
    color: var(--secondary-color);
}

/* Responsive Achievement Timeline */
@media (max-width: 768px) {
    .achievement-timeline-items::before {
        left: 0;
    }

    .achievement-timeline-item {
        flex-direction: row !important;
        justify-content: flex-start;
        gap: 30px;
        padding-left: 40px;
    }

    .achievement-timeline-item.left,
    .achievement-timeline-item.right {
        flex-direction: row !important;
        justify-content: flex-start;
    }

    .achievement-timeline-item.left .achievement-timeline-content,
    .achievement-timeline-item.right .achievement-timeline-content {
        text-align: left;
        width: 100%;
    }

    .achievement-timeline-content {
        width: 100%;
    }

    .achievement-timeline-dot {
        left: -10px;
    }

    .achievement-timeline-year-header h2 {
        font-size: 2rem;
    }

    .achievement-timeline-card-info {
        padding: 15px;
    }

    .achievement-timeline-card-info h3 {
        font-size: 1rem;
    }

    .achievement-timeline-image {
        height: 150px;
    }

    .achievement-timeline-image-placeholder {
        height: 150px;
    }
}

/* Gallery Grid */
.achievements-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.achievement-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 31, 58, 0.8) 100%);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    height: 180px;
    display: flex;
    flex-direction: row;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.achievement-gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.achievement-gallery-item:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

.achievement-image-wrapper {
    position: relative;
    width: 40%;
    height: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

.achievement-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 255, 65, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-image-placeholder i {
    font-size: 3rem;
    color: var(--text-secondary);
}

.achievement-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.achievement-gallery-item:hover .achievement-gallery-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.achievement-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.achievement-gallery-item:hover .achievement-gallery-overlay {
    opacity: 1;
}

.overlay-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.achievement-gallery-info {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 60%;
}

.achievement-gallery-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.achievement-gallery-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 0.75rem;
}

.achievement-gallery-position {
    color: var(--secondary-color);
    font-weight: 500;
    display: inline-block;
    padding: 2px 6px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    width: fit-content;
    margin-bottom: 2px;
    font-size: 0.65rem;
}

.achievement-gallery-date,
.achievement-gallery-members,
.achievement-gallery-prize {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
}

.achievement-gallery-date i,
.achievement-gallery-members i,
.achievement-gallery-prize i {
    color: var(--secondary-color);
    flex-shrink: 0;
    font-size: 0.7rem;
}

/* Lightbox for Gallery View */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.gallery-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.gallery-lightbox-container {
    position: relative;
    z-index: 2001;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 90vw;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.gallery-lightbox-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    max-height: 80vh;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 31, 58, 0.9) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 50px rgba(0, 255, 65, 0.3);
}

.gallery-lightbox-image {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-lightbox-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-lightbox-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.gallery-lightbox-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.gallery-lightbox-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.gallery-lightbox-detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gallery-lightbox-detail-label {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-lightbox-detail-value {
    font-size: 0.9rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Lightbox Navigation */
.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 255, 65, 0.1);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 2002;
}

.gallery-lightbox-nav:hover {
    background: rgba(0, 255, 65, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.gallery-lightbox-prev {
    left: -70px;
}

.gallery-lightbox-next {
    right: -70px;
}

/* Lightbox Close Button */
.gallery-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 0, 85, 0.1);
    border: 2px solid var(--danger);
    color: var(--danger);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    z-index: 2003;
}

.gallery-lightbox-close:hover {
    background: rgba(255, 0, 85, 0.2);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.4);
    transform: scale(1.15) rotate(90deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-bar {
        flex-wrap: wrap;
    }

    .view-toggle {
        margin-left: 0;
        width: 100%;
        margin-top: 10px;
    }

    .achievements-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .achievement-gallery-item {
        height: auto;
        flex-direction: column;
    }

    .achievement-image-wrapper {
        width: 100%;
        height: 140px;
    }

    .achievement-gallery-info {
        width: 100%;
        padding: 10px;
    }

    .gallery-lightbox-prev,
    .gallery-lightbox-next {
        position: fixed;
        top: auto;
        left: auto;
        right: auto;
        bottom: 10px;
        transform: translateY(0);
    }

    .gallery-lightbox-prev {
        right: 60px;
    }

    .gallery-lightbox-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .achievements-gallery {
        grid-template-columns: 1fr;
    }

    .achievement-gallery-item {
        height: auto;
        flex-direction: column;
    }

    .achievement-image-wrapper {
        width: 100%;
        height: 150px;
    }

    .achievement-gallery-info {
        width: 100%;
        padding: 10px;
    }

    .achievement-gallery-title {
        font-size: 0.9rem;
    }

    .gallery-lightbox-container {
        flex-direction: column;
        gap: 0;
    }

    .gallery-lightbox-content {
        max-width: 90vw;
        padding: 15px;
    }
}

/* ===== Event Gallery View ===== */

.events-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.event-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 31, 58, 0.8) 100%);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    height: 320px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.event-gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.event-gallery-item:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

.event-gallery-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.event-gallery-item:hover .event-gallery-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.event-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.event-gallery-item:hover .event-gallery-overlay {
    opacity: 1;
}

.event-gallery-info {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-gallery-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.event-gallery-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
}

.event-gallery-category {
    color: var(--secondary-color);
    font-weight: 500;
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.event-gallery-date,
.event-gallery-location {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-gallery-date i,
.event-gallery-location i {
    color: var(--secondary-color);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .events-gallery {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }

    .event-gallery-item {
        height: 280px;
    }

    .event-gallery-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .events-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }



    .event-gallery-item {
        height: 240px;
    }

    .event-gallery-image {
        height: 120px;
    }
}

/* Status Badges for Executive Members */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.status-badge.current {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.2) 0%, rgba(0, 255, 65, 0.1) 100%);
    color: var(--success);
    border: 1px solid rgba(0, 255, 65, 0.4);
}

.status-badge.current:hover {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.3) 0%, rgba(0, 255, 65, 0.2) 100%);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
}

.status-badge.past {
    background: linear-gradient(135deg, rgba(150, 150, 150, 0.2) 0%, rgba(150, 150, 150, 0.1) 100%);
    color: var(--text-secondary);
    border: 1px solid rgba(150, 150, 150, 0.3);
}

.status-badge.past:hover {
    background: linear-gradient(135deg, rgba(150, 150, 150, 0.3) 0%, rgba(150, 150, 150, 0.2) 100%);
}

/* Committee Section Dividers */
.committee-section-header {
    padding: 40px 0 20px 0;
    text-align: center;
}

.committee-section-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.committee-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 50px 0 40px 0;
    padding: 20px 0;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--secondary-color) 50%, 
        transparent 100%);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.divider-label {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    padding: 10px 20px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
}

/* Main divider between current and past committees */
.committee-divider-main {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 60px 0 50px 0;
    padding: 30px 0;
}

.divider-line-main {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--secondary-color) 25%,
        var(--secondary-color) 75%,
        transparent 100%);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

.divider-label-main {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    padding: 15px 30px;
    border: 2px solid var(--secondary-color);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 212, 255, 0.08) 100%);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.25);
    transition: all 0.3s ease;
}

.divider-label-main:hover {
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.4);
    transform: scale(1.05);
}

/* Year section headers */
.year-section-header {
    padding: 25px 0 15px 0;
    text-align: left;
    border-left: 3px solid var(--secondary-color);
    padding-left: 15px;
    margin-top: 20px;
}

.year-section-header h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ===== Alumni List View ===== */

.alumni-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.alumni-list-item {
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 31, 58, 0.8) 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.alumni-list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    right: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.alumni-list-item:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 255, 65, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.alumni-list-item:hover::before {
    opacity: 1;
}

.alumni-list-image {
    width: 150px;
    height: auto;
    min-height: 150px;
    object-fit: cover;
    flex-shrink: 0;
}

.alumni-list-content {
    flex-grow: 1;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.alumni-list-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.alumni-list-role {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.alumni-list-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.alumni-list-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alumni-list-info-item i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .alumni-list-image {
        width: 120px;
        min-height: 120px;
    }

    .alumni-list-content {
        padding: 15px 20px;
    }

    .alumni-list-name {
        font-size: 1.05rem;
    }

    .alumni-list-info {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .alumni-list-item {
        flex-direction: column;
    }

    .alumni-list-image {
        width: 100%;
        height: 150px;
        min-height: 150px;
    }

    .alumni-list-name {
        font-size: 1rem;
    }

    .alumni-list-info {
        grid-template-columns: 1fr;
    }
}

