@font-face {
    font-family: 'IMWritingMono Nerd Font';
    src: url('fonts/iMWritingMonoNerdFont-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IMWritingMono Nerd Font';
    src: url('fonts/iMWritingMonoNerdFont-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Technoboard';
    src: url('fonts/technoboard.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-purple: #a711f2;
    --color-gold: #FFD700;
    --color-white: #ffffff;
    --color-black: #000000;
    
    --bg-overlay: rgba(255, 255, 255, 0.03);
    --bg-overlay-darker: rgba(0, 0, 0, 0.6);
    
    --border-light: rgba(255, 255, 255, 0.1);
    --border-medium: rgba(255, 255, 255, 0.3);
    
    --font-mono: 'IMWritingMono Nerd Font', monospace;
    --font-techno: 'Technoboard', monospace;
    
    --text-small: 0.85rem;
    --text-regular: 0.9rem;
    --text-large: 1.2rem;
    --text-xl: 2.5rem;
    --text-xxl: 4.5rem;
    
    --spacing-small: 1rem;
    --spacing-medium: 2rem;
    --spacing-large: 3rem;
    --spacing-xl: 4rem;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    display: block;
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-mono);
    font-size: var(--text-regular);
    overflow-x: hidden;
}

nav {
    width: 200px;
    height: 100vh;
    background-color: transparent;
    backdrop-filter: blur(5px);
    position: fixed;
    left: 0;
    top: 0;
    padding: var(--spacing-medium) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid var(--border-medium);
    z-index: 100;
    box-sizing: border-box;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

nav ul li {
    margin: 0;
    padding: 0.3rem var(--spacing-medium);
    transition: background-color 0.3s ease;
    border-bottom: 1px solid var(--border-light);
}

nav ul li:last-child {
    border-bottom: none;
}

nav a {
    color: var(--color-gold);
    text-decoration: none;
    font-size: var(--text-regular);
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--color-white);
}

nav li.active a {
    color: var(--color-white);
}

.main-content {
    margin-left: 200px;
    width: auto;
    max-width: none;
    padding: var(--spacing-medium);
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    min-height: 100vh;
}

.page-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-large) 0;
    position: relative;
    box-sizing: border-box;
}

.page-section:first-child {
    padding-top: 0;
}

/* Scroll reveal animations */
.scroll-reveal,
.scroll-reveal-left,
.scroll-reveal-right,
.scroll-reveal-scale {
    opacity: 0;
    filter: blur(0.1rem);
    transition: opacity 0.35s ease-out, transform 0.35s ease-out, filter 0.25s ease-out;
}

.scroll-reveal {
    transform: translateY(24px);
}

.scroll-reveal-left {
    transform: translateX(-40px);
}

.scroll-reveal-right {
    transform: translateX(40px);
}

.scroll-reveal-scale {
    transform: scale(0.96);
}

.scroll-reveal.revealed,
.scroll-reveal-left.revealed,
.scroll-reveal-right.revealed,
.scroll-reveal-scale.revealed {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) translateX(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal-left,
    .scroll-reveal-right,
    .scroll-reveal-scale {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
    }
}

@media (max-width: 768px) {
    .scroll-reveal,
    .scroll-reveal-left,
    .scroll-reveal-right,
    .scroll-reveal-scale {
        filter: blur(0.06rem);
        transition: opacity 0.18s ease-out, transform 0.18s ease-out, filter 0.12s ease-out;
    }
}

.canvas-container {
    margin: var(--spacing-medium) 0 var(--spacing-xl) 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 6rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0 var(--spacing-medium);
}

@media (max-width: 1400px) {
    .canvas-container {
        gap: var(--spacing-xl);
    }
}

@media (max-width: 1200px) {
    .canvas-container {
        gap: var(--spacing-medium);
    }
}

@media (max-width: 1200px) {
    .canvas-container {
        flex-direction: column;
        gap: var(--spacing-medium);
        justify-content: center;
        align-items: center;
    }

    canvas {
        margin-left: 0;
    }

    .title-content {
        order: 2;
        padding: 0;
        width: 100%;
        text-align: center;
    }

    .title-content h1 {
        text-align: center;
    }
}

.title-content {
    flex: 1;
    max-width: 600px;
    padding: 1rem 0;
    text-align: center;
}

.title-content h1 {
    text-align: center;
    margin-bottom: 0;
    font-size: 5rem;
    line-height: 1.2;
    font-family: 'Technoboard', monospace;
    font-weight: normal;
    color: #a711f2;
}

.description-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.description-content p {
    text-align: center;
    line-height: 1.6;
    font-size: var(--text-small);
    margin: 0;
}

.description-content a {
    color: var(--color-purple);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.description-content a:hover {
    opacity: 0.8;
}

canvas { 
    display: block;
    width: 500px;
    height: 500px;
    margin-left: var(--spacing-medium);
}

h1, h2, h3, p {
    text-align: center;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    justify-items: center;
    align-items: center;
}

.sponsor-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    display: block;
}


/* About page */
.about-section {
    margin: 40px 0;
    width: 100%;
    max-width: 800px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.4rem;
    max-width: 100%;
}

.team-member {
    text-align: left;
    padding: 0.15rem;
}

.team-member h3 {
    color: #a711f2;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
}

.team-member p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.7;
    font-style: italic;
    display: inline-block;
}

.team-member p::before {
    content: ", ";
}

/* Events page */
.subteams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.subteam-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.subteam-card:hover {
    transform: translateY(-5px);
}

.event-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-date {
    text-align: center;
    padding: 1rem;
    background-color: rgba(var(--color-purple), 0.1);
    border-radius: 4px;
}

.event-date .day {
    font-size: var(--text-xl);
    font-weight: bold;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.event-date .month,
.event-date .time {
    font-size: var(--text-small);
    opacity: 0.8;
}

.event-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--color-gold);
}

.event-info p {
    margin: 0;
    line-height: 1.6;
}

.event-info a {
    color: white;
    text-decoration: underline;
}

.event-info a:visited {
    color: white;
}

.calendar-section {
    margin-top: 3rem;
}

/* Main page sections */

h2 {
    color: #FFD700;
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

section {
    width: 100%;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 0 2rem;
    box-sizing: border-box;
}

section h2 {
    font-family: 'Technoboard', monospace;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: normal;
    color: #FFD700;
}

section h3 {
    color: #a711f2;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: normal;
    font-style: italic;
    text-align: left;
}

/* Our work */
.work-grid {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
}

.work-item {
    flex: 1;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.work-item p {
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: left;
}

.work-item a {
    color: white;
    text-decoration: underline;
}

.work-item a:visited {
    color: white;
}

/* Sponsors */
.sponsor-slider {
    width: 100%;
    height: 120px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .work-grid {
        flex-direction: column;
        gap: 2rem;
    }
}

.sponsor-link {
    margin-top: 2rem;
    text-align: center;
}

.sponsor-link a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    text-align: center;
}

.sponsor-link a:hover {
    opacity: 1;
}

/* Team page styles */
.team-sections-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.team-columns {
    display: flex;
    gap: 2.5rem;
    width: 100%;
}

.team-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-right: 0;
    min-width: 0;
}

.team-section {
    width: 100%;
    margin-bottom: 0;
}

.section-title {
    font-family: var(--font-mono);
    font-style: italic;
    font-size: var(--text-large);
    margin-bottom: var(--spacing-small);
    margin-top: 1.5rem;
    text-align: left;
    font-weight: normal;
    color: var(--color-white);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 100%;
}

.team-member {
    text-align: left;
    padding: 0;
}

.team-member h3 {
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
}

.team-member.leader h3 {
    font-size: 1.15rem;
}

.team-section-leaders {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.leaders-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 2rem;
    width: auto;
    max-width: 100%;
}

.leaders-grid .team-member {
    text-align: center;
}

.team-member p {
    font-size: var(--text-small);
    margin: 0;
    margin-left: 0.75rem;
    opacity: 0.7;
    font-style: italic;
    display: inline-block;
}

.team-member p::before {
    content: none;
}

.techno-font {
    font-family: var(--font-techno);
    font-size: var(--text-xxl);
    margin-bottom: var(--spacing-large);
    color: var(--color-gold);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    margin-bottom: var(--spacing-large);
}

.section-header .techno-font {
    margin-bottom: 0;
    text-align: left;
}

.section-icon-wrap {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    margin-left: -0.75rem;
    margin-right: 0;
    /* Nudge down so the icon center lines up with the header text */
    transform: translateY(0.55rem);
}

.section-icon-wrap .ascii-canvas,
#ascii-canvas2,
#ascii-canvas3,
#ascii-canvas4 {
    width: 160px !important;
    height: 160px !important;
    overflow: hidden;
    cursor: grab;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.15rem;
        text-align: center;
    }

    .section-header .techno-font {
        text-align: center;
    }

    .section-icon-wrap {
        width: 140px;
        height: 140px;
        margin-left: 0;
        margin-right: 0;
        transform: none;
    }

    .section-icon-wrap .ascii-canvas,
    #ascii-canvas2,
    #ascii-canvas3,
    #ascii-canvas4 {
        width: 140px !important;
        height: 140px !important;
    }
}

@media (max-width: 1200px) {
    .team-sections-container {
        padding-left: 1rem;
        padding-right: 1rem;
        gap: 0;
    }

    .team-columns {
        flex-direction: column;
        gap: 0;
    }

    .team-section {
        margin-bottom: 0;
    }

    .team-section .section-title {
        margin-top: 1rem;
        margin-bottom: 0.35rem;
    }

    .team-section-leaders {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .team-sections-container {
        padding-left: 0;
        padding-right: 0;
        gap: 0;
    }

    .team-columns {
        gap: 0;
    }

    .team-column {
        gap: 0;
    }

    .team-section {
        margin: 0;
        padding: 0;
    }

    .team-section .section-title {
        margin-top: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .team-section-leaders {
        margin: 0 0 0.35rem;
    }

    .leaders-grid {
        gap: 0.2rem 1.25rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .interns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .leaders-grid {
        flex-direction: column;
        align-items: center;
        gap: 0.15rem;
    }
}

.interns-section {
    margin-top: 0rem;
    width: 100%;
}

.interns-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0rem 1rem;
    font-size: 0.85rem;
}

.intern-name {
    padding: 0rem;
}

/* Events */
.events-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-medium);
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    width: 100%;
}

.events-column {
    flex: 1;
}

.events-column h2 {
    font-family: 'Technoboard', monospace;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
    text-align: left;
}

.events-description {
    margin-bottom: 3rem;
}

.events-description p {
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: left;
    margin: 0;
}

.upcoming-events h3 {
    font-family: var(--font-mono);
    font-style: italic;
    font-size: var(--text-large);
    margin-bottom: 1.5rem;
    text-align: left;
    font-weight: normal;
}

.event-card {
    background: var(--bg-overlay);
    border: 1px solid var(--border-light);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-medium);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-date {
    text-align: center;
    min-width: 100px;
}

.event-date .day {
    font-size: var(--text-xl);
    font-weight: bold;
    color: var(--color-gold);
}

.event-date .month,
.event-date .time {
    font-size: var(--text-small);
    opacity: 0.8;
}

.event-info h3 {
    font-family: 'IMWritingMono Nerd Font';
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    font-style: normal;
}

.event-info p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.event-info .location {
    margin-top: 0.5rem;
    font-style: italic;
    opacity: 0.8;
}

.request-link {
    margin-top: 2rem;
}

.request-link a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.request-link a:hover {
    opacity: 1;
}

@media (max-width: 900px) {
    .events-grid {
        
        grid-template-columns: 1fr;
        gap: var(--spacing-large);
    }

    .events-container {
        padding-left: 1rem;
    }
}

.nav-social {
    margin-top: auto;
    width: 100%;
    text-align: left;
    margin-bottom: var(--spacing-medium);
}

.nav-social ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    
}

.nav-social li {
    
    margin: 0;
    padding: 0.3rem 2rem;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid var(--border-light);
}

.nav-social li:last-child {
    margin-bottom: var(--spacing-medium);
}

.nav-social a {
    color: var(--color-purple);
    
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-social a:hover {
    color: var(--color-white);
}

/* Get involved */
.programs-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem;
}

.program-card {
    background: var(--bg-overlay);
    border: 1px solid var(--border-light);
    padding: var(--spacing-medium);
    transition: transform 0.3s ease;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--spacing-medium);
    align-items: center;
}

.program-image {
    width: 200px;
    height: 200px;
    background: var(--bg-overlay);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-small);
    color: rgba(255, 255, 255, 0.5);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-self: center;
}

.program-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card h2 {
    font-family: var(--font-techno);
    font-size: var(--text-xl);
    margin: 0 0 var(--spacing-small) 0;
    font-weight: normal;
    text-align: left;
}

.program-card p {
    font-size: var(--text-small);
    line-height: 1.6;
    text-align: left;
    margin-bottom: var(--spacing-small);
}

.program-card p:last-child {
    margin-bottom: 0;
}

.program-card a {
    color: var(--color-white);
    text-decoration: underline;
}

.program-card a:visited {
    color: var(--color-white);
}

.resource-links {
    list-style: disc;
    padding: 0 0 var(--spacing-medium) 1.2rem;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-small) var(--spacing-medium);
    font-size: var(--text-regular);
}

.resource-links li {
    margin: 0;
}

.resource-links a {
    color: white;
    text-decoration: underline;
}

.resource-links a:hover {
    opacity: 0.8;
}

.calendar-embed {
    width: 100%;
    max-width: 1200px;
    margin: 0;
    padding: 0 var(--spacing-medium);
}

.calendar-embed h2 {
    font-family: 'Technoboard', monospace;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: normal;
    text-align: left;
}

.calendar-embed iframe {
    border-radius: 8px;
    background: var(--bg-overlay-darker);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
}

/* Mobile nav */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-light);
    color: var(--color-gold);
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 4px;
    font-size: 1.5rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    line-height: 1;
}

.mobile-nav-toggle:hover {
    background: var(--bg-overlay-darker);
    color: var(--color-white);
}

.mobile-nav-toggle.active {
    color: var(--color-white);
    background: var(--bg-overlay-darker);
}

@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .mobile-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    nav {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 100%;
        background-color: var(--color-black);
        z-index: 999;
        display: flex;
        flex-direction: column;
        padding-top: 4rem;
        height: 100vh;
    }

    nav.active {
        transform: translateX(0);
    }

    .nav-main {
        margin-top: 1rem;
        padding-bottom: 1rem;
        flex-grow: 0;
    }

    .nav-social {
        margin-top: 0;
        padding-top: 0;
        position: relative;
    }

    .nav-social ul {
        padding: 0;
    }

    .nav-social li {
        text-align: left;
        padding: 0.5rem 2rem;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-social li:last-child {
        margin-bottom: 0;
        border-bottom: 1px solid var(--border-light);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding: var(--spacing-small);
        overflow-x: hidden;
    }

    .page-section {
        padding: var(--spacing-medium) 0;
    }

    .page-section:first-child {
        padding-top: var(--spacing-small);
    }

    .scroll-reveal-left,
    .scroll-reveal-right {
        transform: translateY(20px);
    }

    .canvas-container {
        flex-direction: column;
        gap: var(--spacing-medium);
        margin: var(--spacing-small) 0;
        padding: 0;
        overflow: hidden;
    }

    .canvas-container .ascii-canvas,
    #ascii-canvas1 {
        width: min(100%, 360px) !important;
        max-width: 100% !important;
        height: auto !important;
        overflow: hidden;
        margin: 0 auto;
        box-sizing: border-box;
    }

    canvas {
        width: 100%;
        max-width: 360px;
        height: auto;
        margin-left: 0;
    }

    .title-content {
        padding: 0;
        width: 100%;
    }

    .title-content h1 {
        font-size: 3.5rem;
        text-align: center;
        line-height: 1.1;
        margin: 1rem 0;
    }

    .description-content {
        padding: 0 var(--spacing-small);
        text-align: center;
    }

    .description-content p {
        text-align: center;
        max-width: calc(100% - 2rem);
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-small);
    }

    .sponsor-slider {
        padding: 0;
    }

    .program-card {
        grid-template-columns: 1fr;
        padding: var(--spacing-medium);
        text-align: center;
    }

    .program-image {
        width: 100%;
        height: 250px;
        max-width: 350px;
        margin: 0 auto var(--spacing-medium) auto;
    }

    .program-content {
        text-align: center;
    }

    .program-card h2 {
        text-align: center;
        margin-top: 0;
    }

    .program-card p {
        text-align: center;
        margin: 0 auto;
        max-width: 500px;
    }
}

/* extras medium size */
@media screen and (max-width: 480px) {
    .title-content h1 {
        font-size: 3.5rem;
    }

    .work-item {
        padding: var(--spacing-small);
    }

    .program-card {
        padding: var(--spacing-small);
    }

    .program-image {
        height: 200px;
        margin-bottom: var(--spacing-small);
    }

    .programs-container {
        gap: 1rem;
    }
}

/* extras tiny */
@media screen and (max-width: 360px) {
    .title-content h1 {
        font-size: 2.2rem;
    }
}
