:root {
    --primary-color: #00ff00;
    --secondary-color: #0ff;
    --background-color: #0a0a0a;
    --text-color: #fff;
    --accent-color: #ff00ff;
    --terminal-bg: rgba(0, 0, 0, 0.9);
    --card-bg: rgba(0, 255, 0, 0.05);
    --card-border: 1px solid var(--primary-color);
    --card-hover-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
    --bg-color: #000;
    --hover-color: #00FF00;
}

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

body {
    font-family: 'Courier New', monospace;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Matrix Rain Effect */
#matrixRain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
    background: #000;
}

/* Matrix Background Effect */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,255,0,0.1) 100%);
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--accent-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

.logo-link {
    text-decoration: none;
    margin-right: 6rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1;
    justify-content: center;
    margin-left: 0;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.theme-toggles {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: auto;
    margin-right: 1rem;
}

.toggle-button {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.toggle-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.toggle-button i {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
}

.toggle-button:hover::before {
    opacity: 0.1;
}

.toggle-button.active {
    background: var(--accent-color);
    color: var(--bg-color);
}

.toggle-button.active::before {
    opacity: 1;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.mobile-nav-toggle.active {
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 0.625rem;
        min-height: 64px;
        padding: 0.75rem 1rem;
    }

    .mobile-nav-toggle {
        grid-column: 3;
        grid-row: 1;
        display: inline-flex;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        inset: 64px 0 0;
        width: auto;
        height: calc(100vh - 64px);
        height: calc(100dvh - 64px);
        padding: 1.25rem;
        flex-direction: column;
        gap: 0.625rem;
        align-items: center;
        justify-content: flex-start;
        z-index: 1000;
        overflow-y: auto;
        background: #050607;
        border-top: 1px solid var(--accent-color);
        backdrop-filter: none;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
    }

    .nav-links li {
        width: min(100%, 28rem);
    }

    .nav-links a {
        display: block;
        padding: 0.875rem 1rem;
        width: 100%;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 4px;
        background: #0d1012;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
        border-color: var(--accent-color);
        background: rgba(255, 0, 255, 0.12);
    }

    .theme-toggles {
        grid-column: 2;
        grid-row: 1;
        position: static;
        inset: auto;
        gap: 0.5rem;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        transform: none;
        z-index: 1001;
    }

    .toggle-button {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    .toggle-button i {
        font-size: 1rem;
    }

    .logo-link {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        margin: 0;
        z-index: 1001;
    }

    .logo {
        font-size: 1.25rem;
        white-space: nowrap;
    }
}

/* Hero Section */
.hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
}

.glitch {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0.05em 0 0 var(--accent-color),
                -0.05em -0.025em 0 var(--primary-color);
    animation: glitch 1s infinite;
    margin-bottom: 1rem;
}

.typing-text {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 var(--accent-color),
                    -0.05em -0.025em 0 var(--primary-color);
    }
    14% {
        text-shadow: 0.05em 0 0 var(--accent-color),
                    -0.05em -0.025em 0 var(--primary-color);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 var(--accent-color),
                    0.025em 0.025em 0 var(--primary-color);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 var(--accent-color),
                    0.025em 0.025em 0 var(--primary-color);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 var(--accent-color),
                    0.05em 0 0 var(--primary-color);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 var(--accent-color),
                    0.05em 0 0 var(--primary-color);
    }
    100% {
        text-shadow: -0.025em 0 0 var(--accent-color),
                    -0.025em -0.025em 0 var(--primary-color);
    }
}

.cyber-text {
    margin: 2rem 0;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

/* Buttons */
.cyber-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.cyber-button:hover {
    background: var(--primary-color);
    color: var(--background-color);
    box-shadow: 0 0 20px var(--primary-color);
}

.cyber-button.secondary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.cyber-button.secondary:hover {
    background: var(--secondary-color);
    color: var(--background-color);
    box-shadow: 0 0 20px var(--secondary-color);
}

/* Cyber Link */
.cyber-link {
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.cyber-link:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 5px var(--secondary-color);
}

.disabled-link {
    cursor: not-allowed;
    opacity: 0.55;
}

.archive-link-button {
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.cyber-link i {
    margin-right: 0.5rem;
}

/* Sections */
section {
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

/* Bio Section */
.bio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.bio-text {
    background: var(--card-bg);
    border: var(--card-border);
    padding: 2rem;
    border-radius: 5px;
}

.bio-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Terminal Text Styles */
.typing-text {
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    margin: 0.5rem 0;
    max-width: 100%;
    display: inline-block;
    text-align: left;
    opacity: 1;
    color: var(--text-color);
    animation: blink-caret 0.75s step-end infinite;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    line-height: 1.5;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color) }
}

.research-terminal, .projects-terminal {
    background: var(--terminal-bg);
    border: var(--card-border);
    border-radius: 5px;
    margin: 1rem auto 2rem;
    overflow: hidden;
    max-width: 1200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.terminal-header {
    background: var(--primary-color);
    padding: 0.5rem 1rem;
    color: var(--background-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-title {
    font-weight: bold;
}

.terminal-controls {
    display: flex;
    gap: 0.5rem;
}

.terminal-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--background-color);
}

.terminal-content {
    padding: 1.5rem;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--terminal-bg);
}

/* Research Section */
.research-content {
    padding: 2rem;
}

.research-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    background: var(--card-bg);
    border: var(--card-border);
    padding: 2rem;
    border-radius: 5px;
}

.research-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.research-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 255, 0, 0.02) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 255, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.research-card:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

/* Animated border effect on hover */
.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.research-card:hover::before {
    left: 100%;
}

.research-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 255, 0, 0.2);
    border-color: var(--accent-color);
}

.research-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    min-height: 100px;
}

.research-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 0.2rem;
}

.research-card:hover .research-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-color);
}

.research-card h3 {
    color: var(--secondary-color);
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.4;
    transition: color 0.3s ease;
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.research-card:hover h3 {
    color: var(--accent-color);
}

.research-date {
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.research-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
    flex-grow: 1;
    display: none;
}

.research-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.research-venue,
.research-status {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.research-venue {
    background: rgba(0, 255, 0, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.research-status {
    background: rgba(0, 200, 255, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.research-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.detail-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.detail-modal.open {
    display: flex;
}

.detail-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(4px);
}

.detail-modal-content {
    position: relative;
    width: min(720px, 100%);
    max-height: min(82vh, 720px);
    overflow-y: auto;
    background: rgba(0, 15, 20, 0.98);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 255, 0, 0.28);
}

.detail-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.45);
    color: var(--primary-color);
    cursor: pointer;
}

.detail-modal-close:hover,
.detail-modal-close:focus-visible {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.detail-modal-content h2 {
    color: var(--secondary-color);
    font-size: 1.45rem;
    line-height: 1.35;
    margin: 0 3rem 1rem 0;
    overflow-wrap: break-word;
}

.research-modal-date {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.research-modal-description,
.project-modal-description {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.research-modal-meta,
.research-modal-links,
.project-modal-tech,
.project-modal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.research-modal-meta,
.project-modal-tech {
    margin-bottom: 1.5rem;
}

.research-modal-meta .research-venue,
.research-modal-meta .research-status {
    margin: 0;
}

.light-theme .detail-modal-content {
    background: var(--card-bg);
}

@media (max-width: 768px) {
    .detail-modal {
        padding: 1rem;
    }

    .detail-modal-content {
        padding: 1.5rem;
        max-height: 86vh;
    }

    .detail-modal-content h2 {
        font-size: 1.2rem;
        margin-right: 2.75rem;
    }
}

/* Projects Section */
.projects-content {
    padding: 2rem;
}

.projects-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    background: var(--card-bg);
    border: var(--card-border);
    padding: 2rem;
    border-radius: 5px;
}

.projects-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--card-bg);
    border: var(--card-border);
    padding: 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.project-card:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

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

.project-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.project-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    min-height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    display: none;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    margin-top: auto;
}

.tech-tag {
    background: rgba(0, 255, 0, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    font-size: 0.8rem;
    border: 1px solid var(--primary-color);
}

.tech-tag.hackathon-tag {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.15), rgba(255, 0, 255, 0.08));
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 0 8px rgba(255, 0, 255, 0.2);
}

.tech-tag.hackathon-tag:hover {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.25), rgba(255, 0, 255, 0.15));
    box-shadow: 0 0 12px rgba(255, 0, 255, 0.4);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-modal-description p {
    margin-bottom: 1rem;
}

/* $TEAK Predictions Hub */
.steak-hero h1 {
    letter-spacing: 0;
}

.steak-section {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.steak-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.steak-game-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 255, 0, 0.025) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 18rem;
    padding: 1.5rem;
    min-width: 0;
    box-shadow: 0 4px 16px rgba(0, 255, 0, 0.08);
}

.steak-game-card.featured {
    border-color: var(--accent-color);
}

.steak-game-icon {
    align-items: center;
    color: var(--accent-color);
    display: flex;
    font-size: 2rem;
    height: 2.5rem;
    margin-bottom: 1rem;
}

.premier-league-icon {
    height: 2.5rem;
}

.steak-game-kicker {
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.55rem;
    text-transform: uppercase;
}

.steak-game-card h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.steak-game-card p {
    color: var(--text-color);
    line-height: 1.7;
}

.steak-game-actions {
    margin-top: 1.5rem;
}

.pl-archive-results {
    margin: 3rem 0;
}

.pl-archive-results h2,
.archive-rules-section h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.pl-archive-summary {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.archive-rules-section {
    margin-top: 3rem;
}

.archive-rules-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.archive-rule-card {
    border: 1px solid rgba(0, 255, 0, 0.65);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.06), rgba(0, 255, 255, 0.025));
    padding: 1.25rem;
}

.archive-rule-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.archive-rule-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.archive-rule-card p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.archive-rule-card .scoring-grid {
    display: grid;
    gap: 0.55rem;
}

.archive-rule-card .score-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.archive-rule-card .score-stage,
.archive-rule-card .score-points {
    color: var(--text-color);
}

@media (max-width: 768px) {
    .archive-rules-grid {
        grid-template-columns: 1fr;
    }
}

/* Hackathons Section */
.hackathons-section {
    margin: 4rem 0;
}

.hackathons-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.hackathons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.hackathon-card {
    background: var(--card-bg);
    border: var(--card-border);
    padding: 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hackathon-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.hackathon-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hackathon-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.hackathon-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hackathon-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hackathon-links {
    display: flex;
    gap: 1rem;
}

/* Open Source Section */
.opensource-section {
    margin: 4rem 0;
}

.opensource-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.opensource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.opensource-card {
    background: var(--card-bg);
    border: var(--card-border);
    padding: 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.opensource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.opensource-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.opensource-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.opensource-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.opensource-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.opensource-links {
    display: flex;
    gap: 1rem;
}

/* Contact Page Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

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

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-card p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
    position: relative;
}

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

.contact-link:hover {
    color: var(--secondary-color);
}

.contact-link:hover::after {
    width: 100%;
}

.contact-form-container {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form-container h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--text-color);
    font-family: 'Courier New', monospace;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-color);
    opacity: 0.7;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    background: var(--bg-color);
    padding: 0 0.5rem;
    color: var(--primary-color);
}

.btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.2), transparent);
    transition: all 0.5s ease;
}

.btn:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.btn:hover::before {
    left: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form Status Messages */
.form-status {
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 1rem;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.form-status.error {
    display: block;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    color: #ff0000;
}

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-icon {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

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

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid var(--primary-color);
}

/* Profile Section */
.profile-section {
    padding: 5rem 2rem;
    background: transparent;
    margin: 3rem auto;
    max-width: 1200px;
    border-radius: 0;
    border: none;
}

.profile-container {
    display: block;
}

.profile-image {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 32px rgba(0, 255, 0, 0.1);
    transition: all 0.3s ease;
}

.profile-image:hover {
    box-shadow: 0 12px 48px rgba(0, 255, 0, 0.2);
    transform: translateY(-5px);
}

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

.image-placeholder i {
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.6;
}

.profile-content {
    padding: 0;
}

.profile-content h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.profile-content p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1.05rem;
    color: var(--text-color);
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Education Section */
.education-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    background: transparent;
}

.education-section h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 4rem;
    font-size: 2.2rem;
}

/* Contact Section on Home Page */
.contact-section {
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 3rem auto;
    background: transparent;
}

.contact-section h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 4rem;
    font-size: 2.2rem;
}

.contact-form-container {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 3.5rem;
    box-shadow: 0 8px 32px rgba(0, 255, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-form-container:hover {
    box-shadow: 0 12px 48px rgba(0, 255, 0, 0.15);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    /* Profile Section Mobile */
    .profile-container {
        display: block;
    }

    .profile-image {
        max-width: 100%;
        margin: 0 auto;
    }

    .profile-content h2 {
        font-size: 1.8rem;
    }

    .profile-content p {
        font-size: 1rem;
    }

    /* Education Section Mobile */
    .education-section {
        padding: 3rem 1.5rem;
    }

    .education-section h2 {
        font-size: 1.8rem;
    }

    /* Contact Section Mobile */
    .contact-section {
        padding: 3rem 1.5rem;
    }

    .contact-form-container {
        padding: 2rem;
    }

    .contact-section h2 {
        font-size: 1.8rem;
    }
}

/* Experience Section */
.experience-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.experience-section h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    position: relative;
}

/* Timeline line for experience */
.experience-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(0, 255, 0, 0.3) 50%, transparent 100%);
    transform: translateX(-50%);
    animation: drawTimeline 1.2s ease-out forwards;
}

@keyframes drawTimeline {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        height: 100%;
        opacity: 1;
    }
}

.experience-card {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 48%;
    box-shadow: 0 4px 16px rgba(0, 255, 0, 0.08);
    opacity: 1;
    transform: translateY(0);
    animation: flickerLoad 0.8s ease-out forwards;
}

/* Stagger animation for each card */
.experience-card:nth-child(1) { animation-delay: 0s; }
.experience-card:nth-child(2) { animation-delay: 0.15s; }
.experience-card:nth-child(3) { animation-delay: 0.3s; }
.experience-card:nth-child(4) { animation-delay: 0.45s; }
.experience-card:nth-child(5) { animation-delay: 0.6s; }
.experience-card:nth-child(6) { animation-delay: 0.75s; }

@keyframes flickerLoad {
    0% {
        opacity: 0;
        transform: translateY(20px);
        border-color: transparent;
    }
    20% {
        opacity: 0.3;
        border-color: var(--primary-color);
    }
    40% {
        opacity: 0.6;
        border-color: var(--accent-color);
    }
    60% {
        opacity: 0.8;
        border-color: var(--primary-color);
    }
    80% {
        opacity: 0.95;
        border-color: var(--accent-color);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        border-color: var(--primary-color);
    }
}

/* Alternate left and right */
.experience-card:nth-child(odd) {
    margin-left: 0;
    margin-right: auto;
}

.experience-card:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
}

/* Timeline dots */
.experience-card::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 3px solid var(--background-color);
    border-radius: 50%;
    top: 2.5rem;
    box-shadow: 0 0 0 4px var(--background-color), 0 0 12px rgba(0, 255, 0, 0.4);
    transition: all 0.3s ease;
}

.experience-card:nth-child(odd)::before {
    right: -50px;
}

.experience-card:nth-child(even)::before {
    left: -50px;
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 255, 0, 0.2);
    border-color: var(--accent-color);
}

.experience-card:hover::before {
    box-shadow: 0 0 0 4px var(--background-color), 0 0 20px rgba(0, 255, 0, 0.6);
    transform: scale(1.3);
}

/* Smooth transitions for interactive effects */
.experience-card {
    cursor: pointer;
}

.experience-card * {
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* Enhanced hover state for better interactivity */
.experience-card:hover {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 255, 0, 0.05) 100%);
}

.experience-card.expanded {
    transform: scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 255, 0, 0.25) !important;
}

.experience-card.in-view {
    animation: none;
}

.experience-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0.75rem;
    background: rgba(0, 255, 0, 0.1);
    border-radius: 8px;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.experience-header h3 {
    flex: 1;
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin: 0;
}

.github-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.github-link:hover {
    background: rgba(0, 255, 0, 0.2);
    color: var(--secondary-color);
    box-shadow: 0 0 12px rgba(0, 255, 0, 0.3);
    transform: translateY(-2px);
    border-color: var(--secondary-color);
}

/* Head TA Badge */
.head-ta-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.2), rgba(0, 255, 0, 0.1));
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0.5rem;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.2);
    transition: all 0.3s ease;
}

.head-ta-badge:hover {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.3), rgba(0, 255, 0, 0.2));
    box-shadow: 0 0 16px rgba(0, 255, 0, 0.4);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.experience-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.experience-card .company {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.experience-card .date {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.experience-card ul {
    list-style-type: none;
    padding: 0;
}

.experience-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.8rem;
    position: relative;
    line-height: 1.6;
}

.experience-card ul li::before {
    content: '▸';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.contact-container {
    background: var(--card-bg);
    border: var(--card-border);
    padding: 2rem;
    border-radius: 5px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Form validation styles */
.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.2);
}

.form-status {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.error {
    display: block;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.form-status.success {
    display: block;
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid #27ae60;
}

/* Footer Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 40vh;
    }
    
    .glitch {
        font-size: 2rem;
    }
    
    .typing-text {
        font-size: 1.2rem;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }

    .education-card,
    .leadership-card,
    .award-card {
        margin-bottom: 1rem;
    }
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 3rem 2rem 0.5rem;
    color: var(--text-color);
    position: relative;
    z-index: 1;
    margin-top: 0;
    background: transparent;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    font-weight: 700;
}

.page-header p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.85;
    color: var(--text-color);
    line-height: 1.6;
}

.page-header .github-note {
    margin-top: 1.5rem;
    font-size: 1rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.github-link-header {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.github-link-header:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
}

/* Tab Container */
.tab-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-button {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.2), transparent);
    transition: all 0.5s ease;
}

.tab-button:hover::before {
    left: 100%;
}

.tab-button.active {
    background: var(--primary-color);
    color: var(--background-color);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

/* Content Container */
.content-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    min-height: 800px;
}

.content-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.content-section.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
}

/* Responsive Design for Tabs */
@media (max-width: 768px) {
    .tab-container {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 80%;
        max-width: 300px;
    }
    
    .content-container {
        min-height: 1000px;
    }
}

/* Skills Section */
.skills-section {
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-category {
    background: var(--card-bg);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.1);
}

.skill-category h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.skill-category h3 i {
    margin-right: 0.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 15px;
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    transform: scale(1.05);
}

/* Extra-Curriculars Section */
.extracurricular-section {
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}

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

.extracurricular-card {
    background: var(--card-bg);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.extracurricular-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.1);
}

.extracurricular-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.extracurricular-card h3 i {
    margin-right: 0.8rem;
}

.extracurricular-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .education-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }

    /* Experience timeline on mobile */
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .experience-grid::before {
        content: none;
        display: none;
    }

    .experience-card {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 1.5rem;
    }

    .experience-card::before {
        content: none;
        display: none;
    }

    .education-card,
    .award-card,
    .leadership-card,
    .skill-category {
        padding: 1rem;
    }
}

/* Update main content area to account for fixed header */
main {
    position: relative;
    z-index: 1;
    padding-top: 60px;
}

/* Theme Transition Animation */
body {
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Card Hover Animation */
.card, .education-card, .award-card, .leadership-card, .skill-category, .experience-card, .contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .education-card:hover, .award-card:hover, .leadership-card:hover, .skill-category:hover, .experience-card:hover, .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Terminal Content Centering */
.terminal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    min-height: 200px;
    overflow-x: auto;
}

.typing-text {
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    margin: 0.5rem 0;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
    max-width: 100%;
    display: inline-block;
    text-align: left;
}

/* Light Theme - Professional and Clean */
.light-theme {
    --primary-color: #1a5f7a;
    --secondary-color: #2c7a99;
    --background-color: #f5f7fa;
    --text-color: #1a1a1a;
    --accent-color: #0066cc;
    --terminal-bg: #ffffff;
    --card-bg: #f0f4f8;
    --card-border: 1px solid #d0d8e0;
    --card-hover-shadow: 0 0 20px rgba(26, 95, 122, 0.15);
    --bg-color: #ffffff;
    --hover-color: #1a5f7a;
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Light theme header */
.light-theme header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #d0d8e0;
}

.light-theme .logo {
    color: var(--primary-color);
    text-shadow: none;
}

.light-theme .nav-links a {
    color: var(--text-color);
}

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

.light-theme .nav-links a::after {
    background: var(--primary-color);
}

/* Light theme toggle button */
.light-theme .toggle-button {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.light-theme .toggle-button:hover::before {
    background: var(--primary-color);
    opacity: 0.1;
}

.light-theme .toggle-button.active {
    background: var(--primary-color);
    color: white;
}

/* Light theme text elements */
.light-theme p,
.light-theme li,
.light-theme span,
.light-theme .cyber-text,
.light-theme .terminal-content p,
.light-theme .research-intro p,
.light-theme .projects-intro p,
.light-theme .page-header p {
    color: var(--text-color);
}

.light-theme h1,
.light-theme h2,
.light-theme h3,
.light-theme h4 {
    color: var(--primary-color);
}

.light-theme .glitch {
    color: var(--primary-color);
    text-shadow: none;
}

/* Light theme cards */
.light-theme .contact-card,
.light-theme .education-card,
.light-theme .award-card,
.light-theme .leadership-card,
.light-theme .experience-card,
.light-theme .research-card,
.light-theme .project-card,
.light-theme .skill-category,
.light-theme .extracurricular-card {
    background: var(--card-bg);
    border: var(--card-border);
    color: var(--text-color);
}

.light-theme .contact-card:hover,
.light-theme .experience-card:hover,
.light-theme .research-card:hover,
.light-theme .project-card:hover,
.light-theme .skill-category:hover,
.light-theme .extracurricular-card:hover {
    box-shadow: var(--card-hover-shadow);
}

/* Light theme icons */
.light-theme .experience-icon,
.light-theme .contact-icon,
.light-theme .research-icon,
.light-theme .project-icon {
    color: var(--primary-color);
}

.light-theme .experience-card h3,
.light-theme .research-card h3,
.light-theme .project-card h3 {
    color: var(--secondary-color);
}

.light-theme .experience-card .company,
.light-theme .research-date {
    color: var(--accent-color);
}

.light-theme .experience-card .date {
    color: var(--text-color);
    opacity: 0.7;
}

.light-theme .tech-tag.hackathon-tag {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.12), rgba(0, 102, 204, 0.06));
    color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(0, 102, 204, 0.15);
}

.light-theme .tech-tag.hackathon-tag:hover {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.2), rgba(0, 102, 204, 0.12));
    box-shadow: 0 0 12px rgba(0, 102, 204, 0.3);
}

.light-theme .experience-card ul li {
    color: var(--text-color);
}

.light-theme .experience-card ul li:before {
    color: var(--primary-color);
}

.light-theme .github-link {
    background: rgba(26, 95, 122, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.light-theme .github-link:hover {
    background: rgba(26, 95, 122, 0.2);
    color: var(--secondary-color);
    box-shadow: 0 0 12px rgba(26, 95, 122, 0.3);
    border-color: var(--secondary-color);
}

.light-theme .head-ta-badge {
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.15), rgba(26, 95, 122, 0.08));
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 8px rgba(26, 95, 122, 0.15);
}

.light-theme .head-ta-badge:hover {
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.25), rgba(26, 95, 122, 0.15));
    box-shadow: 0 0 16px rgba(26, 95, 122, 0.25);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.light-theme .github-link-header {
    color: var(--primary-color);
}

.light-theme .github-link-header:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
    text-shadow: 0 0 8px rgba(26, 95, 122, 0.2);
}

/* Light theme links */
.light-theme .contact-link,
.light-theme .cyber-link {
    color: var(--accent-color);
}

.light-theme .contact-link:hover,
.light-theme .cyber-link:hover {
    color: var(--primary-color);
}

/* Light theme terminal */
.light-theme .research-terminal,
.light-theme .projects-terminal {
    background: var(--terminal-bg);
    border: var(--card-border);
}

.light-theme .terminal-header {
    background: var(--primary-color);
    color: white;
}

.light-theme .terminal-content {
    background: var(--terminal-bg);
    color: var(--text-color);
}

.light-theme .typing-text {
    color: var(--secondary-color);
    border-right-color: var(--primary-color);
}

/* Light theme buttons */
.light-theme .btn,
.light-theme .cyber-button {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.light-theme .btn:hover,
.light-theme .cyber-button:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 15px rgba(26, 95, 122, 0.3);
}

/* Light theme forms */
.light-theme .form-group input,
.light-theme .form-group textarea {
    background: white;
    border-color: var(--primary-color);
    color: var(--text-color);
}

.light-theme .form-group input:focus,
.light-theme .form-group textarea:focus {
    border-color: var(--accent-color);
}

.light-theme .form-group label {
    color: var(--text-color);
}

/* Light theme footer */
.light-theme footer {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #d0d8e0;
}

.light-theme .social-links a {
    color: var(--text-color);
}

.light-theme .social-links a:hover {
    color: var(--primary-color);
}

/* Light theme matrix background */
.light-theme #matrixRain {
    background: white;
    opacity: 0.05;
}

.light-theme .matrix-bg {
    background: linear-gradient(0deg, rgba(255,255,255,0.9) 0%, rgba(26,95,122,0.05) 100%);
}

/* Light theme sections */
.light-theme section {
    background: transparent;
}

.light-theme .profile-section {
    background: transparent;
}

.light-theme .education-section {
    background: transparent;
}

.light-theme .contact-section {
    background: transparent;
}

.light-theme .timeline-entry {
    border-left-color: var(--primary-color);
}

.light-theme .timeline-dot {
    background: var(--primary-color);
    border-color: var(--bg-color);
}

.light-theme .timeline-content {
    background: var(--card-bg);
    border: var(--card-border);
}

.light-theme .timeline-content h3 {
    color: var(--primary-color);
}

.light-theme .timeline-content .location,
.light-theme .timeline-content .degree,
.light-theme .timeline-content .specialization,
.light-theme .timeline-content .date {
    color: var(--text-color);
}

/* Light theme profile image */
.light-theme .image-placeholder {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* Light theme contact form container */
.light-theme .contact-form-container {
    background: var(--card-bg);
    border: var(--card-border);
}

/* Light theme form status messages */
.light-theme .form-status {
    color: var(--text-color);
}

.light-theme .form-status.success {
    color: #27ae60;
}

.light-theme .form-status.error {
    color: #e74c3c;
}

/* Responsive styles for mobile devices */
@media (max-width: 768px) {
    /* General responsive adjustments */
    .light-theme .nav-links {
        background: #f5f7fa;
    }

    .light-theme .nav-links a {
        background: #fff;
        border-color: #d0d8e0;
    }

    section {
        padding: 3rem 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    /* Profile section mobile adjustments */
    .profile-section {
        padding: 2rem 1rem;
        margin: 1rem auto;
    }
    
    .profile-container {
        display: block;
    }
    
    .profile-image {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .profile-content {
        padding: 0.5rem;
    }
    
    /* Hero section mobile adjustments */
    .hero {
        padding: 3rem 1rem;
    }
    
    .glitch {
        font-size: 2rem;
    }
    
    .cyber-text {
        font-size: 1rem;
        margin: 1.5rem 0;
    }
    
    .terminal-content {
        min-height: 150px;
        padding: 0.8rem;
    }
    
    .typing-text {
        font-size: 1rem;
    }
    
    /* Extracurricular section mobile adjustments */
    .extracurricular-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .extracurricular-card {
        padding: 1.5rem;
    }
    
    /* Experience section mobile adjustments */
    .experience-section {
        padding: 2rem 1rem;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-card {
        padding: 1.5rem;
    }
    
    /* Research and projects mobile adjustments */
    .research-content,
    .projects-content {
        padding: 1rem;
    }
    
    .research-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .research-card,
    .project-card {
        padding: 1.5rem;
    }
    
    /* Contact section mobile adjustments */
    .contact-section {
        padding: 2rem 1rem;
    }
    
    .contact-container {
        padding: 1.5rem;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    /* Footer mobile adjustments */
    footer {
        padding: 1.5rem 1rem;
    }
    
    .social-links {
        gap: 1.5rem;
    }
    
    /* Ensure all text is readable on mobile */
    p, li, span, a {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Ensure all cards have proper padding and margins */
    .card, .education-card, .award-card, .leadership-card, 
    .skill-category, .experience-card, .contact-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Ensure all grids stack properly on mobile */
    .bio-content, .education-grid, .skills-grid, .experience-grid,
    .research-grid, .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
} 

/* Timeline Styles for Education Section */
.timeline {
  position: relative;
  margin: 2rem 0 2rem 2rem;
  padding-left: 2rem;
  border-left: 3px solid var(--primary-color);
}
.timeline-entry {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: flex-start;
}
.timeline-dot {
  position: absolute;
  left: -2.1rem;
  top: 0.2rem;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--background-color);
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--primary-color), 0 0 0 4px rgba(0,255,0,0.1);
  z-index: 2;
  font-size: 1.2rem;
  color: var(--primary-color);
}
.timeline-dot i {
  font-size: 1.2rem;
}
.timeline-content {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-left: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,255,0,0.07);
  transition: box-shadow 0.3s;
  width: 100%;
}
.timeline-content:hover {
  box-shadow: 0 4px 24px rgba(0,255,0,0.18);
  border-color: var(--accent-color);
}
.timeline-content h3 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}
.timeline-content .location {
  font-size: 1rem;
  color: var(--accent-color);
  margin-bottom: 0.2rem;
}
.timeline-content .degree, .timeline-content .specialization {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.2rem;
}
.timeline-content .date {
  font-size: 0.95rem;
  color: var(--text-color);
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
.timeline-content ul {
  margin: 0.5rem 0 0 1.2rem;
  padding: 0;
  list-style: disc;
}
.timeline-content ul li {
  margin-bottom: 0.3rem;
  font-size: 1rem;
}
@media (max-width: 768px) {
  .timeline {
    margin: 2rem 0 2rem 1rem;
    padding-left: 1rem;
  }
  .timeline-content {
    padding: 1rem 1rem;
  }
  .timeline-dot {
    left: -1.2rem;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1rem;
  }
} 

/* Unified Leadership Section */
.leadership-unified {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin: 2rem 0;
}

.leadership-subsection {
  padding: 2rem;
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.leadership-subsection:hover {
  box-shadow: var(--card-hover-shadow);
  border-color: var(--accent-color);
}

.leadership-subsection h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary-color);
}

/* Leadership role cards */
.leadership-role-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,255,0,0.07);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  padding: 1.2rem 1.5rem;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.leadership-role-card:hover {
  box-shadow: 0 4px 24px rgba(0,255,0,0.18);
  border-color: var(--accent-color);
}
.role-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-right: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.role-content h4 {
  color: var(--secondary-color);
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}
.role-content .institution {
  font-size: 1rem;
  color: var(--accent-color);
  margin-bottom: 0.2rem;
}
.role-content .date {
  font-size: 0.95rem;
  color: var(--text-color);
  opacity: 0.7;
  margin-bottom: 0.3rem;
}
.role-content p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.role-content ul {
  margin: 0.5rem 0 0 0;
  padding: 0;
  list-style: none;
}

.role-content ul li {
  margin-bottom: 0.6rem;
  font-size: 1rem;
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
}

.role-content ul li::before {
  content: '▸';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}
@media (max-width: 900px) {
  .leadership-unified {
    grid-template-columns: 1fr;
  }

  .leadership-subsection {
    padding: 1.5rem;
  }

  .leadership-subsection h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
}

/* Awards Carousel */
.awards-carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 3rem 0;
  position: relative;
}

.carousel-btn {
  background: var(--primary-color);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  flex-shrink: 0;
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.awards-carousel {
  display: flex;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  position: relative;
}

.award-carousel-card {
  min-width: 100%;
  opacity: 0;
  transform: scale(0.8) rotateY(90deg);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: absolute;
  width: 100%;
  perspective: 1000px;
}

.award-carousel-card.active {
  opacity: 1;
  transform: scale(1) rotateY(0deg);
  position: relative;
}

.award-card-inner {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 255, 0, 0.03) 100%);
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 255, 0, 0.1);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s ease;
  min-height: 300px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Animated border effect */
.award-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.2), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.award-carousel-card.active .award-card-inner::before {
  left: 100%;
}

.award-carousel-card.active .award-card-inner {
  box-shadow: 0 12px 32px rgba(0, 255, 0, 0.2);
  border-color: var(--accent-color);
}

.award-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.award-carousel-card.active .award-icon {
  animation: awardBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--accent-color);
  text-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
}

@keyframes awardBounce {
  0% {
    transform: scale(0.5) translateY(20px);
    opacity: 0;
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.award-info h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.award-info .amount {
  font-size: 1.5rem;
  color: var(--accent-color);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.award-info .desc {
  font-size: 0.95rem;
  color: var(--text-color);
  opacity: 0.8;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.indicator:hover {
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
}

.indicator.active {
  background: var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .awards-carousel-container {
    gap: 1rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .award-card-inner {
    padding: 1.5rem;
    min-height: 280px;
  }

  .award-icon {
    font-size: 2.5rem;
  }

  .award-info h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .awards-carousel-container {
    gap: 0.5rem;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .award-card-inner {
    padding: 1.2rem;
    min-height: 260px;
  }

  .award-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

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

  .award-info .amount {
    font-size: 1.3rem;
  }
}

/* Dual Terminal Layout for Home Page */
.terminals-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1rem;
  align-items: stretch;
}

.terminal-left, .terminal-right {
  background: var(--terminal-bg);
  border: var(--card-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.terminal-left:hover, .terminal-right:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.terminal-header {
  background: var(--primary-color);
  padding: 0.75rem 1rem;
  color: var(--background-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.terminal-title {
  font-weight: bold;
  font-size: 0.95rem;
}

.terminal-controls {
  display: flex;
  gap: 0.5rem;
}

.terminal-control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--background-color);
  opacity: 0.7;
}

.terminal-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  background: var(--terminal-bg);
}

.hacker-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 2rem;
  gap: 1rem;
}

.hacker-image {
  font-size: 4rem;
  color: var(--accent-color);
  animation: flicker 2s infinite;
}

.hacker-text {
  color: var(--accent-color);
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  opacity: 0.8;
  animation: pulse 3s infinite;
  text-align: center;
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

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

@media (max-width: 768px) {
  .terminals-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem auto;
  }

  .terminal-content {
    padding: 1.5rem;
  }

  .hacker-image {
    font-size: 3rem;
  }

  .hacker-text {
    font-size: 0.9rem;
  }
}
