/* ========================================
    FACE Website Stylesheet
    Theme: Cyber Glow
    ========================================
*/

/* Font Face Declarations */
@font-face {
    font-family: 'Pilot Command';
    src: url('./fonts/pilotcommand1_2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeueMachina-Regular';
    src: url('./fonts/NeueMachina-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeueMachina-Ultrabold';
    src: url('./fonts/NeueMachina-Ultrabold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'denaregular';
    src: url('./fonts/denaregular-8omnj.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* 1. Root Variables and Base Styles */
:root {
    --brand-primary: #00BFFF; /* DeepSkyBlue */
    --brand-secondary: #7DF9FF; /* Electric Blue */
    --dark-bg: #0a0a1a;
    --dark-card: #1a1a2e;
    --dark-text: #E0E0E0;
    --text-muted: #a0a0b0;
    --border-color: rgba(0, 191, 255, 0.2);

    --font-sans: 'NeueMachina-Regular', sans-serif;
    --font-mono: 'NeueMachina-Ultrabold', sans-serif;

    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 10px 25px rgba(0, 191, 255, 0.2);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.5);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for fixed navbar */
}

body {
    background-color: var(--dark-bg);
    color: var(--dark-text);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

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

/* 2. Header / Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.4s ease-in-out, backdrop-filter 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.navbar.scrolled {
    background-color: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);   
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

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

.nav-brand a {
    display: inline-block;
}

.logo {
    height: 60px;
    width: auto;
    margin-top: -5px;
    margin-left: -10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: var(--dark-text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: var(--transition);
    font-family: var(--font-sans);
    font-weight: 400;
}

.nav-link:hover {
    background-color: var(--dark-card);
    color: var(--brand-secondary);
}

.nav-link.active {
    background-color: var(--brand-primary);
    color: #fff;
    font-weight: 800;
}

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

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--brand-secondary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

/* 3. Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
}

.hero-content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-main-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 4.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-align: center;
}

.hero-main-title .highlight-text {
    color: var(--brand-primary);
    display: inline-block;
    margin-left: 8px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-top: 0.5rem;
    font-family: 'NeueMachina-Ultrabold', sans-serif;
    min-height: 3.5rem;
}

.hero-title::after {
    content: '_';
    color: var(--brand-primary);
    animation: blink 1s step-end infinite;
}

.hero-subtitle {
    max-width: 600px;
    margin: 1.5rem auto 2.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
    font-family: 'NeueMachina-Regular', sans-serif;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-secondary);
    font-weight: 500;
    font-family: 'NeueMachina-Ultrabold', sans-serif;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: rgba(0, 191, 255, 0.1);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(0, 191, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* 4. Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    transition: var(--transition);
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
    background: transparent;
    text-decoration: none;
    cursor: pointer;
    font-family: 'NeueMachina-Ultrabold', sans-serif;
}

.btn:hover {
    background-color: var(--brand-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--brand-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 191, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--brand-secondary);
    border-color: var(--brand-secondary);
    color: var(--dark-bg);
}

.btn-secondary, .btn-outline {
    border-color: var(--brand-secondary);
    color: var(--brand-secondary);
}

.btn-secondary:hover, .btn-outline:hover {
    background-color: var(--brand-secondary);
    color: var(--dark-bg);
}

/* 5. Sections & Cards */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin-top: 0.5rem;
    font-family: 'denaregular', sans-serif;
}

.section-header p {
    max-width: 700px;
    margin: 1rem auto 0;
    font-size: 1.125rem;
    color: var(--text-muted);
    font-family: 'NeueMachina-Regular', sans-serif;
}

.card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    z-index: 1;
}

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

/* Featured Event (Home & Events Page) */
.featured-event-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-card) 100%);
}

.featured-event-card {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    align-items: center;
}

.event-content { padding: 2.5rem; }
.event-header h2 { font-size: 2.5rem; color: #fff; margin-bottom: 0.5rem; font-family: 'NeueMachina-Ultrabold', sans-serif; }
.event-header h3 { font-size: 1.1rem; color: var(--brand-primary); margin-bottom: 1.5rem; font-family: 'NeueMachina-Ultrabold', sans-serif; }
.event-meta { display: flex; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; color: var(--text-muted); font-family: 'NeueMachina-Regular', sans-serif; }
.event-date, .event-location { display: flex; align-items: center; gap: 0.5rem; }
.event-description p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; font-family: 'NeueMachina-Regular', sans-serif; }
.event-highlights { display: flex; gap: 2rem; flex-wrap: wrap; }
.highlight { display: flex; align-items: center; gap: 0.5rem; color: var(--brand-secondary); font-family: 'NeueMachina-Ultrabold', sans-serif; font-size: 0.9rem; }
.event-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.event-visual { overflow: hidden; display: flex; justify-content: center; align-items: center; padding: 2rem;}
.event-poster-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    transition: transform 0.4s ease;
}

.event-poster-image:hover {
    transform: scale(1.05);
}

/* About Section Redesign */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.about-card { padding: 2.5rem; text-align: center; }
.about-card .card-icon { font-size: 3rem; color: var(--brand-primary); margin-bottom: 1.5rem; }
.about-card h3 { font-size: 1.3rem; color: #fff; margin-bottom: 1rem; font-family: 'NeueMachina-Ultrabold', sans-serif; }
.about-card p { color: var(--text-muted); font-family: 'NeueMachina-Regular', sans-serif; }


/* Events Section */
.events-title-section {
    padding: 8rem 0 2rem;
    text-align: center;
}

/* Make featured event section transparent on certain pages to show canvas */
.home-page .featured-event-section,
.events-page .featured-event-section {
    background: none;
}

/* Team Section */
.team-category { margin-bottom: 4rem; }
.team-category-title {
    font-size: 2rem;
    font-family: 'NeueMachina-Ultrabold', sans-serif;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px solid var(--brand-primary);
    display: inline-block;
    padding-bottom: 0.5rem;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}
.team-division { margin-bottom: 3rem; }
.team-division-title {
    font-size: 1.5rem;
    font-family: 'NeueMachina-Ultrabold', sans-serif;
    color: var(--brand-secondary);
    margin-bottom: 1.5rem;
}
.team-card {
    padding: 0;
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.team-card:hover .team-image { transform: scale(1.05); }

.team-card .team-image {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
    object-position: center center;
    transition: transform 0.4s ease;
}
.team-card .team-info { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.team-card h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin: 0 0 0.25rem; font-family: 'NeueMachina-Ultrabold', sans-serif; }
.team-card .team-role { color: var(--brand-primary); margin-bottom: 1rem; font-family: 'NeueMachina-Ultrabold', sans-serif; font-size: 0.9rem; flex-grow: 1; }
.team-card .team-social { display: flex; justify-content: flex-start; gap: 1rem; margin-top: 1rem; font-size: 1.25rem; }
.team-card .team-social a { color: var(--text-muted); transition: var(--transition); }
.team-card .team-social a:hover { color: var(--brand-secondary); transform: translateY(-2px); }

/* Team Page Specific Layouts */
.office-bearers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.office-bearers-grid .team-card {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--dark-card);
}
.office-bearers-grid .team-image {
  width: 100%;
  height: 400px;             /* Made image taller for a "longer" card */
  object-fit: cover;
  object-position: center top; /* Position image to the top to avoid cutting heads */
  border-bottom: 2px solid var(--border-color);
}

.office-bearers-grid .team-info {
  padding: 1rem;
  text-align: center;
}

.office-bearers-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.office-bearers-grid .team-role {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.office-bearers-grid .team-social {
  justify-content: center;
  margin-top: auto;
}

.team-grid-exec { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 1.5rem; 
}

/* ===== FIX FOR CARD SIZES STARTS HERE ===== */

.team-grid-exec .team-card {
    height: 340px; /* Set a fixed height for all executive cards */
    display: flex;
    flex-direction: column;
    text-align: center;
}

.team-grid-exec .team-card .team-image { 
    height: 220px; 
    width: 100%;
    object-fit: cover;
    flex-shrink: 0; /* Prevent image from shrinking */
}

.team-grid-exec .team-card .team-info { 
    padding: 1rem; 
    flex-grow: 1; /* Allow this section to fill available space */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
}

.team-grid-exec .team-card h3 { 
    font-size: 1.1rem; 
    min-height: 2.6em; /* Reserve space for two lines of text */
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-grid-exec .team-card .team-role { 
    font-size: 0.8rem; 
    margin-bottom: 0; 
}

.tem-role{
    min-height: 2.5rem; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}

/* ===== FIX FOR CARD SIZES ENDS HERE ===== */


/* Contact & Credits Sections */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}
.contact-item-link {
    text-decoration: none;
    color: inherit;
    display: block; /* Make anchor fill the grid cell */
}
.contact-item { display: flex; align-items: center; gap: 1.5rem; padding: 2rem; height: 100%;}
.contact-icon { font-size: 1.5rem; color: var(--brand-primary); }
.contact-details h3 { font-size: 1.1rem; color: #fff; margin-bottom: 0.25rem; font-family: 'NeueMachina-Ultrabold', sans-serif; }
.contact-details p { color: var(--text-muted); font-family: 'NeueMachina-Regular', sans-serif; }

.credits-category {
    margin-bottom: 4rem;
}

.credits-category h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 2rem;
    font-family: 'NeueMachina-Ultrabold', sans-serif;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.credits-category h3 i {
    color: var(--brand-primary);
}

.credits-category .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 280px);
    justify-content: center;
    gap: 6rem;
}

.credits-category .team-card {
    max-width: 280px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}


.credits-category .team-image {
    aspect-ratio: 1 / 1;    /* square images */
    object-fit: cover;
    width: 100%;
}


.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    padding: 1.5rem;
    text-align: center;
}

.tech-item:hover {
    background: rgba(0, 191, 255, 0.1);
    box-shadow: 0 0 20px var(--brand-secondary);
    transform: translateY(-4px);
}

.tech-item .tech-name {
    font-family: 'NeueMachina-Regular', sans-serif;
    display: block;
    margin-top: 0.5rem;
}

.tech-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--brand-secondary);
    display: block;
}

/* Footer */
.footer { background: var(--dark-card); border-top: 1px solid var(--border-color); padding: 3rem 0; margin-top: 4rem; }
.footer-content { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.footer-brand .footer-logo { height: 60px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--text-muted); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-section h4 { font-family: 'NeueMachina-Ultrabold', sans-serif; color: var(--brand-primary); margin-bottom: 1rem; }
.footer-section ul { list-style: none; padding-left: 0; }
.footer-section ul li a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
    font-family: 'NeueMachina-Regular', sans-serif;
}
.footer-section ul li a:hover {
    color: var(--brand-secondary);
    transform: translateX(4px);
}
.footer-bottom { text-align: center; color: var(--text-muted); padding-top: 2rem; border-top: 1px solid var(--border-color); margin-top: 2rem; font-size: 0.9rem; }

/* Animations & Effects */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hero-content > * { animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.hero-main-title { animation-delay: 0.2s; }
.hero-subtitle { animation-delay: 0.4s; }
.hero-features { animation-delay: 0.6s; }
.hero-buttons { animation-delay: 0.8s; }

.card, .section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card.visible, .section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes blink { 50% { opacity: 0; } }

/* Responsive Media Queries */
@media (min-width: 768px) {
    .hamburger { display: none; }
    .nav-menu { display: flex; }
    .footer-content { grid-template-columns: 1fr 2fr; }
    .featured-event-card { grid-template-columns: 2fr 1.5fr; }
}

@media (max-width: 767px) {
    .nav-menu { position: absolute; top: 100%; left: 0; right: 0; background-color: var(--dark-card); flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--border-color); display: none; }
    .nav-menu.active { display: flex; }
    .nav-container { padding: 0.5rem 1.5rem; }
    .hero-main-title { font-size: 3rem; }
    .hero-title { font-size: 2rem; min-height: 2.5rem;}
    .featured-event-card { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-main-title { font-size: 2.2rem; letter-spacing: -1px; }
}
@media (max-width: 768px) {
  .office-bearers-grid {
    display: grid;  /* switch to grid for better control */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
  }

  .office-bearers-grid .team-card {
      border-radius: 12px;
      overflow: hidden; /* remove fixed height */
  }

  .office-bearers .team-image {
    object-fit: contain;
    background: #111;   /* neat black fill around */
    height: 300px;      /* taller so full body/portrait fits */
}

  .office-bearers-grid .team-image {
    height: 350px;  /* consistent image size, adjusted for mobile */
    object-fit: cover;
    object-position: center top;
  }
}
/* Mobile-friendly team card style */
@media (max-width: 768px) {
  .team-card {
    width: 100%;
    height: auto;              /* auto height, no extra blue */
    border-radius: 12px;
    overflow: hidden;
  }

  .team-card .team-image {
    width: 100%;
    height: 220px;             /* fixed neat height */
    object-fit: cover;
    object-position: center;
    border-bottom: 2px solid var(--border-color);
  }

  .team-card .team-info {
    padding: 1rem;
    text-align: center;        /* center align text for mobile */
  }

  .team-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }

  .team-card .team-role {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .team-card .team-social {
    justify-content: center;   /* socials centered */
    margin-top: 0.5rem;
  }
}
/* TEAM PAGE STYLES */
.team-page .team-card {
  border-radius: 12px;
  overflow: hidden;
}

.team-page .team-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.team-page .team-info {
  padding: 1rem;
  text-align: center;
}

.team-page .team-social {
  justify-content: center;
}


/* CREDITS PAGE STYLES (keep old design intact) */
.credits-page .team-card {
  max-width: 280px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.credits-page .team-image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}


/*
========================================
Credits Page Alignment Fix
========================================
*/
/* This selector targets the role description on the contributor cards,
   ensuring they have a consistent height to prevent misalignment. */
.max-w-7xl > section:first-of-type > .grid > .bg-dark-card > div > p.text-text-muted {
    min-height: 3rem; /* Ensures consistent height for 1 or 2 lines of text */
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .credits-category h3 {
        font-size: 1.4rem;
    }
    .office-bearers-grid .team-card {
        width: 100%;
    }
}

/* 
========================================
Past Events Section - NEW CYBER GLOW STYLES
========================================
*/
/* ========================================
    FACE Website Stylesheet
    Theme: Cyber Glow
    ========================================
*/

/* Font Face Declarations */
@font-face {
    font-family: 'Pilot Command';
    src: url('./fonts/pilotcommand1_2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeueMachina-Regular';
    src: url('./fonts/NeueMachina-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeueMachina-Ultrabold';
    src: url('./fonts/NeueMachina-Ultrabold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'denaregular';
    src: url('./fonts/denaregular-8omnj.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* 1. Root Variables and Base Styles */
:root {
    --brand-primary: #00BFFF; /* DeepSkyBlue */
    --brand-secondary: #7DF9FF; /* Electric Blue */
    --dark-bg: #0a0a1a;
    --dark-card: #1a1a2e;
    --dark-text: #E0E0E0;
    --text-muted: #a0a0b0;
    --border-color: rgba(0, 191, 255, 0.2);

    --font-sans: 'NeueMachina-Regular', sans-serif;
    --font-mono: 'NeueMachina-Ultrabold', sans-serif;

    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 10px 25px rgba(0, 191, 255, 0.1);
}

/*
============================================================
PAST EVENTS SECTION - Holographic Grid
============================================================
*/

/* ========================================
    FACE Website Stylesheet
    Theme: Cyber Glow
    ========================================
*/

/* Font Face Declarations */
@font-face {
    font-family: 'Pilot Command';
    src: url('./fonts/pilotcommand1_2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeueMachina-Regular';
    src: url('./fonts/NeueMachina-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeueMachina-Ultrabold';
    src: url('./fonts/NeueMachina-Ultrabold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'denaregular';
    src: url('./fonts/denaregular-8omnj.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* 1. Root Variables and Base Styles */
:root {
    --brand-primary: #00BFFF; /* DeepSkyBlue */
    --brand-secondary: #7DF9FF; /* Electric Blue */
    --dark-bg: #0a0a1a;
    --dark-card: #1a1a2e;
    --dark-text: #E0E0E0;
    --text-muted: #a0a0b0;
    --border-color: rgba(0, 191, 255, 0.2);

    --font-sans: 'NeueMachina-Regular', sans-serif;
    --font-mono: 'NeueMachina-Ultrabold', sans-serif;

    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 10px 25px rgba(0, 191, 255, 0.1);
}

/* 
============================================================
PAST EVENTS SECTION - Industrial Mecha
============================================================
*/

/* ========================================
    FACE Website Stylesheet
    Theme: Cyber Glow
    ========================================
*/

/* Font Face Declarations */
@font-face {
    font-family: 'Pilot Command';
    src: url('./fonts/pilotcommand1_2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeueMachina-Regular';
    src: url('./fonts/NeueMachina-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeueMachina-Ultrabold';
    src: url('./fonts/NeueMachina-Ultrabold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'denaregular';
    src: url('./fonts/denaregular-8omnj.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* 1. Root Variables and Base Styles */
:root {
    --brand-primary: #00BFFF; /* DeepSkyBlue */
    --brand-secondary: #7DF9FF; /* Electric Blue */
    --dark-bg: #0a0a1a;
    --dark-card: #1a1a2e;
    --dark-text: #E0E0E0;
    --text-muted: #a0a0b0;
    --border-color: rgba(0, 191, 255, 0.2);

    --font-sans: 'NeueMachina-Regular', sans-serif;
    --font-mono: 'NeueMachina-Ultrabold', sans-serif;

    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 10px 25px rgba(0, 191, 255, 0.1);
}

/* 
============================================================
PAST EVENTS SECTION - Plexiglass & Neon
============================================================
*/

/* ========================================
    FACE Website Stylesheet
    Theme: Cyber Glow
    ========================================
*/

/* Font Face Declarations */
@font-face {
    font-family: 'Pilot Command';
    src: url('./fonts/pilotcommand1_2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeueMachina-Regular';
    src: url('./fonts/NeueMachina-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeueMachina-Ultrabold';
    src: url('./fonts/NeueMachina-Ultrabold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'denaregular';
    src: url('./fonts/denaregular-8omnj.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* 1. Root Variables and Base Styles */
:root {
    --brand-primary: #00BFFF; /* DeepSkyBlue */
    --brand-secondary: #7DF9FF; /* Electric Blue */
    --dark-bg: #0a0a1a;
    --dark-card: #1a1a2e;
    --dark-text: #E0E0E0;
    --text-muted: #a0a0b0;
    --border-color: rgba(0, 191, 255, 0.2);

    --font-sans: 'NeueMachina-Regular', sans-serif;
    --font-mono: 'NeueMachina-Ultrabold', sans-serif;

    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 10px 25px rgba(0, 191, 255, 0.1);
}

/* 
============================================================
PAST EVENTS SECTION - Sleek Circuit Theme
============================================================
*/

/* ========================================
    FACE Website Stylesheet
    Theme: Cyber Glow
    ========================================
*/

/* Font Face Declarations */
@font-face {
    font-family: 'Pilot Command';
    src: url('./fonts/pilotcommand1_2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeueMachina-Regular';
    src: url('./fonts/NeueMachina-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeueMachina-Ultrabold';
    src: url('./fonts/NeueMachina-Ultrabold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'denaregular';
    src: url('./fonts/denaregular-8omnj.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* 1. Root Variables and Base Styles */
:root {
    --brand-primary: #00BFFF; /* DeepSkyBlue */
    --brand-secondary: #7DF9FF; /* Electric Blue */
    --dark-bg: #0a0a1a;
    --dark-card: #1a1a2e;
    --dark-text: #E0E0E0;
    --text-muted: #a0a0b0;
    --border-color: rgba(0, 191, 255, 0.2);

    --font-sans: 'NeueMachina-Regular', sans-serif;
    --font-mono: 'NeueMachina-Ultrabold', sans-serif;

    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 10px 25px rgba(0, 191, 255, 0.1);
}

/* 
============================================================
PAST EVENTS SECTION - Sleek Circuit Theme (Compact)
============================================================
*/

/* ========================================
    FACE Website Stylesheet
    Theme: Cyber Glow
    ========================================
*/

/* Font Face Declarations */
@font-face {
    font-family: 'Pilot Command';
    src: url('./fonts/pilotcommand1_2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeueMachina-Regular';
    src: url('./fonts/NeueMachina-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeueMachina-Ultrabold';
    src: url('./fonts/NeueMachina-Ultrabold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'denaregular';
    src: url('./fonts/denaregular-8omnj.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* 1. Root Variables and Base Styles */
:root {
    --brand-primary: #00BFFF; /* DeepSkyBlue */
    --brand-secondary: #7DF9FF; /* Electric Blue */
    --dark-bg: #0a0a1a;
    --dark-card: #1a1a2e;
    --dark-text: #E0E0E0;
    --text-muted: #a0a0b0;
    --border-color: rgba(0, 191, 255, 0.2);

    --font-sans: 'NeueMachina-Regular', sans-serif;
    --font-mono: 'NeueMachina-Ultrabold', sans-serif;

    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 10px 25px rgba(0, 191, 255, 0.1);
}

/* 
============================================================
PAST EVENTS SECTION - Sleek Circuit Theme (Compact)
============================================================
*/
/* PAST EVENTS CARDS */
.past-event-card {
    position: relative;
    background-color: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 400px;      /* Fixed width */
    height: 550px;     /* Fixed height */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    z-index: 1;
}

/* Hover effect */
.past-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 191, 255, 0.15);
    border-color: var(--brand-primary);
}

/* Optional: highlight special event like Python IoT */
.past-event-card.highlight-event {
    border: 2px solid #00ff99;
    box-shadow: 0 0 15px rgba(0, 255, 153, 0.6);
}

.past-event-card.highlight-event:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(0, 255, 153, 0.9), 0 0 40px rgba(0, 255, 153, 0.5);
    border-color: #00ffaa;
}

/* IMAGE */
/* IMAGE */
.past-event-card .past-event-image {
    width: 100%;
    height: 50%; /* Half of card height */
    object-fit: contain; /* ensures full image is visible */
    object-position: center;
    background-color: #0a0a1a; /* fallback background */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.past-event-card:hover .past-event-image {
    transform: scale(1.05); /* subtle zoom on hover */
    filter: brightness(1.1);
}


/* INFO SECTION */
.past-event-info {
    padding: 0.8rem 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    font-family: 'NeuveMachina-Regular', sans-serif;
}

/* TITLE */
.past-event-title {
    font-family: 'NeueMachina-Ultrabold', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* DATE */
.past-event-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'NeueMachina-Regular', sans-serif;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* DESCRIPTION (truncate by default) */
.past-event-desc {
    font-family: 'NeueMachina-Regular', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* show 4 lines only */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: -webkit-line-clamp 0.3s ease;
}

/* Show full description on hover */
.past-event-card:hover .past-event-desc {
    -webkit-line-clamp: unset;
}

/* TAGS */
.past-event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.8rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.past-event-tag {
    background: rgba(0, 191, 255, 0.1);
    color: var(--brand-secondary);
    padding: 3px 8px;
    border-radius: 6px;
    font-family: 'NeueMachina-Ultrabold', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.past-event-tag:hover {
    background: var(--brand-primary);
    color: var(--dark-bg);
    cursor: default;
}
