/* ===== CYBER THEME CORE ===== */
:root {
    --cyber-cyan: #00f3ff;
    --cyber-pink: #ff00ff;
    --cyber-bg: #0a0a12;
    --cyber-border: #1a1a2e;
    --neon-text: #0ff;
    --section-padding: 8rem 5%;
}

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

/* ===== CYBER FOOTER ===== */
footer {
    background: rgba(10, 10, 18, 0.95);
    border-top: 1px solid var(--cyber-cyan);
    padding: 2rem 5%;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 100;
    margin-top: auto;
}

footer p {
    color: var(--cyber-cyan);
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

body {
    background: var(--cyber-bg);
    color: #fff;
    font-family: 'Oxanium', sans-serif;
    line-height: 1.6;  
}

/* ===== ANIMATION SYSTEM ===== */
@keyframes glitch {
    0% { transform: translate(0) }
    20% { transform: translate(-2px, 2px) }
    40% { transform: translate(-2px, -2px) }
    60% { transform: translate(2px, 2px) }
    80% { transform: translate(2px, -2px) }
    100% { transform: translate(0) }
}

@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.glitch {
    animation: glitch 2s infinite linear;
}

/* ===== LAYOUT COMPONENTS ===== */
.section {
    background: rgba(10, 10, 18, 0.85); /* Semi-transparent layer */
    position: relative;
    padding: var(--section-padding);
}

/* ===== NAVIGATION ===== */
.navbar {
    padding: 1.5rem 5%;
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--cyber-cyan);
    position: fixed;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--cyber-cyan), var(--cyber-pink));
    -webkit-background-clip: text;
    background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--cyber-cyan);
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

/* ===== NAME DUPLICATION FIX ===== */
.name-container {
    position: relative;
    margin-bottom: 2rem;
}

.name-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: 900;
    opacity: 0.1;
    background: linear-gradient(45deg, var(--cyber-cyan), var(--cyber-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: -1;
    pointer-events: none;
}

/* ===== HERO TYPING ANIMATION FIX ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5%;
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    position: relative;
    z-index: 1;
    background: rgba(10, 10, 18, 0.7); /* Semi-dark background */
    padding: 3rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.1);
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--cyber-cyan), var(--cyber-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0,243,255,0.3);
    animation: text-appear 1s ease-out forwards;
}

.hero-description {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    animation: text-appear 1s 0.3s ease-out forwards;
}

.hero-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    animation: text-appear 1s 0.6s ease-out forwards;
}


.cyber-button {
    padding: 1.2rem 2.5rem;
    border: 2px solid var(--cyber-cyan);
    border-radius: 5px;
    color: var(--cyber-cyan);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    /* Add semi-transparent background */
    background: rgba(10, 10, 18, 0.6) !important;
    /* Enhance text visibility */
    color: var(--cyber-cyan) !important;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
    /* Add border glow */
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

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

.cyber-button:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.3);
}

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

@keyframes text-appear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typing-container {
    display: inline-block;
    position: relative;
}

.typing-cursor {
    position: absolute;
    right: -0.25em;
    width: 2px !important;
    animation: none;
}

.typing-cursor::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--cyber-cyan);
    animation: blink-cursor 0.75s step-end infinite;
}

/* ===== GLOBAL BLINKING CURSOR ===== */
.blink-cursor {
    display: inline-block;
    width: 2px;
    margin-left: 3px;
    background: var(--cyber-cyan);
    animation: blink-cursor 0.75s step-end infinite;
    vertical-align: baseline;
}
@keyframes blink-cursor {
    from, to { opacity: 1 }
    50% { opacity: 0 }
}

.typing-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: bottom;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    padding: var(--section-padding);
}

.section-title {
    position: relative;
    font-size: 2.5rem;
    text-align: center;
    margin: 1rem 0 2rem;
    padding: 1rem 0;
    background: linear-gradient(45deg, var(--cyber-cyan), var(--cyber-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0,243,255,0.3);
    z-index: 2;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(0,243,255,0.1) 50%,
        transparent 100%);
    animation: scan 3s infinite linear;
}

.section-title-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

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

.project-card {
    background: rgba(16, 16, 32, 0.6);
    backdrop-filter: blur(5px);
    transition: transform 0.25s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
}

.project-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 0%,
        rgba(0, 243, 255, 0.1) 50%,
        transparent 100%);
    animation: scan 5s infinite linear;
}

.project-info {
    padding: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-item {
    background: rgba(0, 243, 255, 0.1);
    color: var(--cyber-cyan);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* ===== ADVANCED TECH BACKGROUND ===== */
.tech-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

.dynamic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, 
        rgba(10,10,18,0.9) 0%,
        rgba(10,10,18,0.95) 100%);
}

/* ===== INTERACTIVE ELEMENTS ===== */
.project-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-link, .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateZ(0);
    border: 2px solid var(--cyber-cyan);
    backdrop-filter: blur(10px);
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    color: var(--cyber-cyan);
    text-decoration: none;
    border-radius: 5px;
}

.project-link::before, .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,243,255,0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-link:hover::before, .btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.project-link:hover, .btn:hover {
    box-shadow: 0 0 30px rgba(0,243,255,0.3);
    transform: translateY(-3px);
}

.btn {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.2rem;
    background: linear-gradient(45deg, var(--cyber-cyan), var(--cyber-pink));
    border: none;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn:hover {
    background: var(--cyber-pink);
    box-shadow: 0 0 20px rgba(255,0,255,0.3);
}



/* ===== CYBER SKILLS SECTION ===== */
.skills-section {
    position: relative;
    padding: 8rem 5%;
    background: radial-gradient(circle at center, 
        rgba(0,243,255,0.02) 0%, 
        rgba(10,10,18,1) 80%);
}

.cyber-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-matrix {
    background: rgba(16, 16, 32, 0.6);
    border: 1px solid rgba(0,243,255,0.3);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.matrix-header {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--cyber-cyan);
}

.matrix-header h3 {
    color: var(--cyber-cyan);
    text-shadow: 0 0 15px rgba(0,243,255,0.3);
    margin: 1rem 0;
}

.matrix-icon {
    font-size: 2rem;
    color: var(--cyber-pink);
    position: absolute;
    right: 0;
    top: 0;
}

.matrix-glitch {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 45%,
        rgba(255,255,255,0.05) 50%,
        transparent 55%
    );
    animation: glitchScan 3s infinite;
}

/* Skill Nodes */
.skill-node {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.node-progress {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0,243,255,0.1);
    position: relative;
}

.progress-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        var(--cyber-cyan) 0% var(--progress),
        rgba(0,243,255,0.1) var(--progress) 100%
    );
    animation: wavePulse 2s infinite;
}

.node-info {
    flex-grow: 1;
}

.node-category {
    display: block;
    color: var(--cyber-pink);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.node-skills {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

/* Competency Tags */
.competency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.competency-tag {
    position: relative;
    padding: 0.8rem;
    text-align: center;
    background: rgba(0,243,255,0.1);
    border: 1px solid rgba(0,243,255,0.3);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.tag-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    animation: tagGlow 2s infinite;
}

/* Achievement Badges */
.achievement-list {
    display: grid;
    gap: 1.5rem;
}

.achievement-badge {
    position: relative;
    padding: 1.2rem;
    background: rgba(0,0,0,0.3);
    border-left: 3px solid var(--cyber-cyan);
    border-radius: 5px;
}

.badge-core {
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: var(--cyber-cyan);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--cyber-cyan);
}

/* Animations */
@keyframes wavePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes tagGlow {
    0% { box-shadow: 0 0 0 0 rgba(0,243,255,0.2); }
    100% { box-shadow: 0 0 0 10px rgba(0,243,255,0); }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .cyber-skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skill-node {
        flex-direction: column;
        align-items: flex-start;
    }

    .node-progress {
        width: 50px;
        height: 50px;
    }

    .competency-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .achievement-badge {
        padding: 1rem;
    }
}

/* Mobile button adjustments */
@media (max-width: 768px) {
    .cyber-button {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
}



@media (max-width: 480px) {
    .skills-section {
        padding: 4rem 5%;
    }

    .node-skills {
        font-size: 0.85rem;
    }

    .competency-grid {
        grid-template-columns: 1fr;
    }

    .competency-tag {
        font-size: 0.9rem;
    }
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .hero-content {
        padding: 2rem;
        margin: 0 5%;
    }
}


/* ===== CYBER EXPERIENCE SECTION ===== */
.experience-section {
    position: relative;
    padding: 8rem 5%;
    background: radial-gradient(circle at center, 
        rgba(0,243,255,0.02) 0%, 
        rgba(10,10,18,1) 80%);
}

.cyber-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--cyber-cyan) 30%,
        var(--cyber-cyan) 70%,
        transparent 100%
    );
    box-shadow: 0 0 30px rgba(0,243,255,0.2);
}

.experience-card {
    position: relative;
    margin: 4rem 0;
    padding: 3rem;
    background: rgba(16, 16, 32, 0.6);
    border: 1px solid rgba(0,243,255,0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    left: 150px;
    width: calc(100% - 200px);
}

.card-hologram {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(0,243,255,0.05) 50%,
        transparent 100%
    );
    animation: hologramScan 8s infinite linear;
}

.timeline-marker {
    position: absolute;
    left: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: 2px solid var(--cyber-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 18, 0.9);
}

.pulse-core {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: corePulse 2s infinite;
}

@keyframes corePulse {
    0% { box-shadow: 0 0 0 0 rgba(0,243,255,0.4); }
    100% { box-shadow: 0 0 0 20px rgba(0,243,255,0); }
}

.timeline-marker i {
    color: var(--cyber-cyan);
    font-size: 1.5rem;
    position: relative;
}

.cyber-role {
    color: var(--cyber-cyan);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(0,243,255,0.3);
}

.org-details {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--cyber-pink);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
}

.detail-item {
    position: relative;
    padding-left: 2rem;
}

.detail-item::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--cyber-cyan);
    font-family: 'Courier New', monospace;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.tech-tag {
    background: rgba(0,243,255,0.1);
    color: var(--cyber-cyan);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(0,243,255,0.3);
}

.achievement-list {
    margin-top: 2rem;
    border-top: 1px solid rgba(0,243,255,0.2);
    padding-top: 2rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateX(10px);
}

.holographic-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0,243,255,0.3));
}

.logo-glitch {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 45%,
        rgba(255,255,255,0.05) 50%,
        transparent 55%
    );
    animation: glitchScan 2s infinite;
}

@media (max-width: 768px) {
    .experience-card {
        width: 100%;
        left: 0;
        margin: 4rem 0;
        padding: 2rem;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-marker {
        left: -50px;
        width: 40px;
        height: 40px;
    }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.profile-pic {
    /* Force a maximum width */
    max-width: 250px;
    /* Let the browser scale the height automatically */
    height: auto;
    /* Optionally center it if you want */
    display: block;
    margin: 0 auto;
    /* Add a nice border or border-radius if desired */
    border-radius: 8px;
    }
.about-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2d3436;
}

.about-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #636e72;
    margin-bottom: 1.5rem;
}

.highlight {
    color: #0984e3;
    font-weight: 600;
}


/* Enhanced About Section Styles */
.edu-track {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

.edu-track::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--cyber-cyan);
}

.edu-degree {
    display: block;
    color: var(--cyber-pink);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.edu-meta {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    display: block;
}

.graduation-progress {
    margin-top: 1rem;
    background: rgba(0,243,255,0.1);
    padding: 1rem;
    border-radius: 8px;
}

.progress-bar {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    margin: 0.5rem 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cyber-cyan), var(--cyber-pink));
    transition: width 0.5s ease;
}

.expected-graduation {
    color: var(--cyber-cyan);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-pills {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.skill-pill {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.cyber-cyan-bg {
    background: rgba(0,243,255,0.1);
    border-color: var(--cyber-cyan);
    color: var(--cyber-cyan);
}

.cyber-pink-bg {
    background: rgba(255,0,255,0.1);
    border-color: var(--cyber-pink);
    color: var(--cyber-pink);
}

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

.expertise-item {
    padding: 1rem;
    background: rgba(0,243,255,0.05);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.expertise-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--cyber-cyan);
}

.mission-statement {
    position: relative;
    padding: 2rem;
    margin-top: 2rem;
    background: linear-gradient(45deg, 
        rgba(0,243,255,0.05), 
        rgba(255,0,255,0.05));
    border-left: 3px solid var(--cyber-cyan);
}

.mission-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(0,243,255,0.05) 0%, 
        transparent 70%);
    animation: missionGlow 3s infinite;
}

@keyframes missionGlow {
    0% { opacity: 0.5; }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .edu-track {
        padding-left: 1.5rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-statement {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .skill-pills {
        gap: 0.5rem;
    }
    
    .skill-pill {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .expected-graduation {
        font-size: 0.8rem;
    }
}




/* ===== CONTACT SECTION ===== */
.contact-section {
    background: transparent !important;
    position: relative;
}

.contact-container {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 3rem;
    background: rgba(16, 16, 32, 0.9);
    border-radius: 15px;
    border: 1px solid var(--cyber-border);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
}




/* ===== CYBER CONTACT SECTION ===== */
.contact-section {
    position: relative;
    overflow: hidden;
    padding: 8rem 5%;
}

.cyber-grid-overlay {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridScroll 20s linear infinite;
    pointer-events: none;
}

@keyframes gridScroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50px, -50px); }
}

.contact-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(10, 10, 18, 0.95);
    border: 2px solid var(--cyber-cyan);
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.2);
}

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

.holographic-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.holographic-icon i {
    font-size: 2.5rem;
    color: var(--cyber-cyan);
    position: relative;
    z-index: 2;
}

.hologram-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, 
        rgba(0,243,255,0.3) 0%, 
        transparent 70%);
    animation: hologramPulse 3s infinite;
}

@keyframes hologramPulse {
    0% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.2); }
    100% { opacity: 0.5; transform: scale(1); }
}

/* Input Fields */
.input-container {
    position: relative;
    margin-bottom: 2rem;
}

.input-container label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.4);
    pointer-events: none;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.input-container input:focus ~ label,
.input-container textarea:focus ~ label,
.input-container input:valid ~ label,
.input-container textarea:valid ~ label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--cyber-cyan);
}

.input-container input,
.input-container textarea {
    width: 100%;
    padding: 1.5rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(0,243,255,0.3);
    color: var(--cyber-cyan);
    transition: all 0.3s ease;
}

.input-container input:focus,
.input-container textarea:focus {
    border-color: var(--cyber-cyan);
    box-shadow: 0 0 20px rgba(0,243,255,0.2);
}

.input-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 45%,
        rgba(255,255,255,0.05) 50%,
        transparent 55%
    );
    animation: glitchScan 2s infinite;
    pointer-events: none;
}

.char-counter {
    position: absolute;
    right: 15px;
    bottom: 10px;
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
}

/* Cyber Button */
.cyber-button {
    position: relative;
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: 2px solid var(--cyber-cyan);
    color: var(--cyber-cyan);
    font-family: 'Oxanium', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.cyber-button:hover .btn-overlay {
    left: 100%;
}

.btn-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        rgba(0,243,255,0.1) 5px,
        rgba(0,243,255,0.1) 10px
    );
}

/* Social Channels */
.alternative-comms {
    margin-top: 3rem;
    border-top: 2px solid var(--cyber-cyan);
    padding-top: 2rem;
}

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

.comms-link {
    position: relative;
    padding: 1.5rem;
    border: 1px solid rgba(0,243,255,0.3);
    text-align: center;
    transition: all 0.3s ease;
}

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

.comms-link i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.comms-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(0,243,255,0.1) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.comms-link:hover .comms-hover {
    opacity: 1;
}

/* Success Message */
.transmission-success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(10, 10, 18, 0.95);
    padding: 2rem 4rem;
    border: 2px solid var(--cyber-cyan);
    box-shadow: 0 0 30px rgba(0,243,255,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.transmission-success.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 2rem;
    }
    
    .comms-channels {
        grid-template-columns: 1fr;
    }
}





.form-row {
    margin-bottom: 1.5rem;
}

.form-row label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2d3436;
    font-weight: 500;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid var(--cyber-border);
    background: rgba(0, 0, 0, 0.3);
    color: var(--cyber-cyan);
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Oxanium', sans-serif;
}

.form-row textarea {
    height: 200px;
    resize: vertical;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    color: var(--cyber-pink);
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    text-decoration: none;
}

.social-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--cyber-cyan);
    transition: width 0.3s ease;
}

.social-links a:hover {
    color: var(--cyber-cyan);
    transform: translateY(-3px);
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

.social-links a:hover::after {
    width: 100%;
}

.social-links a i {
    position: relative;
    z-index: 1;
}

.social-links a:hover i {
    animation: icon-glitch 0.3s linear 2;
}


  /* ===== PARALLAX INTRO STYLES ===== */
.intro-section {
    /* This container fills one viewport height */
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden; /* Hide any overflow if images are larger than 100vh */
  }
  
  /* Each .intro-layer absolutely fills the intro-section,
     so we can move them independently for parallax. */
  .intro-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  
  /* Example: The 'distant' background image */
  .layer-bg {
    background-image: url("assets/images/bg-intro4.jpg");
    z-index: 4;
  }
  
  /* The 'foreground' layer with main heading or overlay text */
  .layer-front {
    z-index: 3; /* topmost of these three layers */
    display: flex;
    align-items: center;
    justify-content: center;
    /* optional tinted overlay:
       background: rgba(0,0,0,0.2); */
  }
  
  .intro-title {
    font-size: 4rem;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 20px rgba(0,243,255,0.5);
    line-height: 1.2;
  }

  .hero-image-container {
    text-align: center;     /* center the image horizontally */
    margin-top: 1.5rem;     /* spacing above the image */
  }
  
  .hero-img {
    max-width: 40%;  /* Reduce image size to 40% of container width */
    height: auto;    /* Maintain aspect ratio */
    opacity: 0.7;    /* Make it semi-transparent */
    display: block;  /* Ensures proper centering */
    margin: 0 auto;  /* Centers image horizontally */
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  /* Add subtle background pattern */
.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(0, 243, 255, 0.05),
        rgba(0, 243, 255, 0.05) 1px,
        transparent 1px,
        transparent 10px
    );
    z-index: -1;
}

  /* Reduce size further for mobile screens */
@media (max-width: 768px) {
    .hero-img {
        max-width: 50%;  /* Slightly larger on mobile for better visibility */
        opacity: 0.6;     /* Adjust transparency */
    }
}

@media (max-width: 480px) {
    .hero-img {
        max-width: 60%;
        opacity: 0.5;
    }
}

  
@keyframes icon-glitch {
    0% { transform: translate(0) }
    25% { transform: translate(-2px, 1px) }
    50% { transform: translate(1px, -1px) }
    75% { transform: translate(-1px, 2px) }
    100% { transform: translate(0) }
}

/* Responsive Design */
@media (max-width: 768px) {
    footer {
        padding: 1.5rem 5%;
    }
    
    .social-links {
        gap: 1.5rem;
    }
    
    .social-links a {
        font-size: 1.2rem;
    }
    
    footer p {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links a {
      font-size: 1rem;   /* bigger text */
      margin-bottom: 1rem;
    }
    .nav-links {
      background: rgba(0, 0, 0, 0.8);  /* so it's clear over content */
    }
  }

@media (max-width: 480px) {
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .social-links a {
        width: 100%;
        text-align: center;
        padding: 0.5rem;
    }
}

/* ===== SOCIAL MEDIA ===== */
.social-media-section {
    text-align: center;
    margin-top: 0.1rem;
}

.social-title {
    color: #2d3436;
    margin-bottom: 1.5rem;
}

.social-media-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-media-links a {
    color: var(--cyber-cyan);
}

.social-media-links a:hover {
    color: var(--cyber-pink);
}

.social-media-links a::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-media-links a:hover::after {
    opacity: 1;
}

/* ===== SLIDESHOW SYSTEM ===== */
.slideshow-container {
    position: relative;
    max-width: 90%;
    width: 700px;
    margin: 1rem auto;
    overflow: hidden;
    border-radius: 8px;
    /* Fix the container height to avoid bouncing. Adjust to taste: */
    height: 400px;
}

@media (max-width: 600px) {
    .slideshow-container {
      width: 100%;
      max-width: 100%;
      height: auto;        /* let it expand */
    }
    .slide {
      position: relative;  /* allow them to stack properly */
      opacity: 1;          /* because we might not do fancy sliding on mobile, or use simpler transitions */
      transform: none; 
    }
  }

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Fill the container’s height so slides stack exactly */
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide.prev {
    transform: translateX(-100%);
}

.slide img, .slide video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* or “contain,” if you want letterboxing instead of cropping */
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ===== VISUAL EFFECTS ===== */
.custom-cursor {
    width: 30px;
    height: 30px;
    border: 2px solid var(--cyber-cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 9999;
    filter: drop-shadow(0 0 10px var(--cyber-cyan));
}

/* Navigation controls */
.dots-container {
    text-align: center;
    padding: 1rem 0;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.active-dot {
    background-color: #666;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

/* ===== LAZY LOADING ===== */
img, video {
    opacity: 0;
    transition: opacity 0.8s ease;
}

img.loaded, video.loaded {
    opacity: 1;
}



/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    :root { 
        --section-padding: 6rem 5%; 
    }
    
    .hero h1 { 
        font-size: 2.5rem; 
    }
    
    /* 
      2) REMOVED 'pointer-events: none !important;' so
         project cards remain clickable on mobile.
    */
    .project-card {
        transform: none !important;
        /* pointer-events: none !important;  <-- REMOVED */
    }
    
    .skills-grid, 
    .projects-grid { 
        grid-template-columns: 1fr; 
    }
    
    .about-content { 
        grid-template-columns: 1fr; 
    }
    
    .social-media-links { 
        gap: 1rem; 
    }
    
    .custom-cursor {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero h1 { 
        font-size: 2rem; 
    }
    
    .project-link { 
        width: 100%; 
    }
}

/* Additional breakpoints */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .profile-pic {
        max-width: 140px;
        margin-bottom: 1.5rem; /* Add space below image */
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 5%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .nav-links {
        display: none;
    }
    
    .project-card {
        pointer-events: auto !important; /* Ensure it's clickable on mobile */
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cyber-button {
        width: 100%;
        justify-content: center;
    }
    
    .contact-container {
        padding: 1.5rem;
    }
}

/* Social Media Styling */
.social-media-section {
    text-align: center;
    margin-top: 3rem;
}

.social-title {
    color: #2d3436;
    margin-bottom: 1.5rem;
}

.social-media-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-media-links a {
    color: #636e72;
    font-size: 1.8rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-media-links a:hover {
    color: #0984e3;
    transform: translateY(-3px);
}

/* ===== FULL-SCREEN INTRO (Advanced Industrial Theme) ===== */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Use an advanced industrial/futuristic background image */
    background: url("assets/images/industrial-bg.jpg") no-repeat center center;
    background-size: cover;
    
    /* Add an overlay tint for readability */
    background-color: rgba(0, 0, 0, 0.75);
    background-blend-mode: darken;
    
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
  }
  
  .intro-content {
    text-align: center;
    color: var(--cyber-cyan);
    max-width: 90%;
    margin: 0 auto;
    font-family: 'Oxanium', sans-serif;
    /* Optional: add a slight glow to enhance the futuristic feel */
    text-shadow: 0 0 10px rgba(0,243,255,0.6);
  }
  
  
  .enter-site-btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    background: var(--cyber-cyan);
    border: none;
    border-radius: 5px;
    color: #000;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  
  .enter-site-btn:hover {
    background: var(--cyber-pink);
    color: #fff;
    transform: scale(1.05);
  }


/* ✅ Glitch Effect for Text */
@keyframes glitch {
    0% { transform: translate(0); opacity: 1; }
    20% { transform: translate(-2px, 2px); opacity: 0.8; }
    40% { transform: translate(2px, -2px); opacity: 1; }
    60% { transform: translate(-2px, -2px); opacity: 0.9; }
    80% { transform: translate(2px, 2px); opacity: 1; }
    100% { transform: translate(0); opacity: 1; }
}

.glitch-effect {
    animation: glitch 0.1s infinite;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.8), 
                 0 0 20px rgba(255, 0, 255, 0.7);
    font-size: 2rem;
    font-weight: bold;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-container {
        padding: 2rem;
        margin: 1rem auto;
    }
    
    .form-row input,
    .form-row textarea {
        padding: 1rem;
    }
    
    .btn {
        padding: 1.2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 4rem 3%;
    }
    
    .contact-container {
        padding: 1.5rem;
    }
    
    .form-row textarea {
        height: 150px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body {
    overflow-x: hidden;
}

/* ===== ADDITIONAL EFFECTS ===== */
@keyframes circuit {
    0% { background-position: 0 0 }
    100% { background-position: 100% 100% }
}

.glitch-container {
    position: relative;
    display: inline-block;
}

.glitch-container::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 2px;
    color: var(--cyber-pink);
    z-index: -1;
    animation: glitch 2s infinite;
}

/* ===== GLOBAL CURSOR SYSTEM ===== */
[data-cursor]::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--cyber-cyan);
    animation: blink-cursor 0.75s step-end infinite;
    margin-left: 0.25em;
    vertical-align: text-top;
}

/* Add global scan line overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        transparent 0%,
        rgba(0, 243, 255, 0.05) 50%,
        transparent 100%
    );
    animation: scan 6s infinite linear;
    pointer-events: none;
    z-index: -1;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(0, 243, 255, 0.05) 50%,
        transparent 100%
    );
    animation: scan 8s infinite linear;
    pointer-events: none;
    z-index: -1;
}

.about-content,
.contact-container {
    position: relative;
    z-index: 2;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cyber-cyan);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}


.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
  }
  
  .typing-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #00ff88, #00a3ff);
    border-radius: 50%;
    pointer-events: none;
    animation: particlePop 0.6s ease-out;
  }
  
  @keyframes particlePop {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
  }
  
  #character-text {
    font-family: 'Courier New', monospace;
    font-size: 1.2em;
    background: linear-gradient(90deg, #00ff88, #00a3ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
  }




@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: var(--cyber-bg);
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s ease;
        border-left: 2px solid var(--cyber-cyan);
    }
    
    .nav-links.active {
        right: 0;
    }
}

/* Adjust title spacing for mobile */
@media (max-width: 768px) {
    .section-title {
        font-size: 1rem; /* Smaller size for mobile */
        margin: 0.5rem 0 1.5rem; /* Bring closer to content */
    }
    .section {
        padding: rem 5%;
    }
}


/* Cyber Intro - Organized Layout */
#cyberIntro {
    position: fixed; /* Keeps it full screen */
    width: 100%;
    height: 100vh;
    background: var(--cyber-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Centers content */
    transition: opacity 1s ease-in-out;
    z-index: 9999; /* Ensures it stays above everything */
}

/* Ensure the grid stays in the background */
#cyberIntro .grid-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    z-index: 1;
}

#cyberIntro .cyber-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridScroll 20s linear infinite;
    transform: rotateX(60deg);
}

@keyframes gridScroll {
    0% { transform: rotateX(60deg) translateY(0) translateZ(0); }
    100% { transform: rotateX(60deg) translateY(-50px) translateZ(100px); }
}

/* 3D Engineering Elements */
#cyberIntro .engineering-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

#cyberIntro .rotating-gear {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 250px;
    height: 250px;
    background: url('gear-mesh.svg') no-repeat center;
    background-size: contain;
    animation: gearSpin 15s linear infinite;
    filter: drop-shadow(0 0 15px var(--cyber-cyan));
}

@keyframes gearSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Main Intro Content */
#cyberIntro .cyber-intro-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 10vh 5vw;
    width: 80%;
}

#cyberIntro .cyber-title {
    font-size: 4.5rem;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 2rem;
    perspective: 1000px;
    color: var(--cyber-cyan);
    text-shadow: 0 0 10px var(--cyber-pink);
}

/* Timeline - Fixed Overlapping */
#cyberIntro .engineering-timeline {
    position: relative;
    height: 4px;
    background: var(--cyber-cyan);
    margin: 3rem auto;
    width: 80%;
    z-index: 4;
}

#cyberIntro .timeline-track {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#cyberIntro .timeline-event {
    position: relative;
    top: -30px; /* Adjusted to avoid overlap */
    transform: translateX(-50%);
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--cyber-pink);
    white-space: nowrap; /* Prevent text from wrapping weirdly */
}

#cyberIntro .event-pulse {
    width: 15px;
    height: 15px;
    background: var(--cyber-pink);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: pulse 1.5s infinite;
}

/* Terminal */
#cyberIntro .cyber-terminal {
    background: rgba(10, 10, 18, 0.95);
    border: 2px solid var(--cyber-cyan);
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.5rem;
    position: relative;
    z-index: 5;
}

#cyberIntro .terminal-header {
    border-bottom: 1px solid var(--cyber-cyan);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Access Button - Better Visibility */
#cyberIntro .cyber-button-3d {
    position: relative;
    padding: 1.2rem 2.5rem;
    background: var(--cyber-bg);
    border: 2px solid var(--cyber-cyan);
    color: var(--cyber-cyan);
    font-family: 'Oxanium', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    font-size: 1.2rem;
    box-shadow: 0 0 15px var(--cyber-cyan);
}

#cyberIntro .cyber-button-3d:hover {
    background: var(--cyber-cyan);
    color: var(--cyber-bg);
    box-shadow: 0 0 30px var(--cyber-pink);
}

/* HUD - Fix System Capacity */
#cyberIntro .industrial-hud {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 6;
}

/* Fix System Capacity Alignment */
#cyberIntro .capacity-bar {
    width: 250px;
    height: 10px;
    background: rgba(255,255,255,0.1);
    position: relative;
}

#cyberIntro .bar-fill {
    position: absolute;
    height: 100%;
    width: 75%;
    background: linear-gradient(90deg, var(--cyber-cyan), var(--cyber-pink));
    animation: capacity-glow 1.5s infinite alternate;
}

@keyframes capacity-glow {
    from { box-shadow: 0 0 5px var(--cyber-cyan); }
    to { box-shadow: 0 0 15px var(--cyber-pink); }
}

/* Fix Coordinate Placement */
#cyberIntro .coordinates {
    text-align: right;
    font-size: 1.2rem;
    color: var(--cyber-cyan);
    font-weight: bold;
    padding-right: 2rem;
}

.hidden-intro {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease-in-out;
}

/* Fix System Capacity Alignment */
#cyberIntro .industrial-hud {
    position: absolute;
    bottom: 3rem; /* Increase bottom spacing */
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 3rem; /* Add padding for better spacing */
    z-index: 6;
    align-items: flex-end; /* Align elements properly */
}

/* Fix the placement of System Capacity */
#cyberIntro .capacity-bar {
    width: 280px; /* Slightly larger */
    height: 12px;
    background: rgba(255,255,255,0.1);
    position: relative;
    margin-bottom: 1rem; /* Add space so it doesn't overlap */
}

/* Bar fill glow effect */
#cyberIntro .bar-fill {
    position: absolute;
    height: 100%;
    width: 75%;
    background: linear-gradient(90deg, var(--cyber-cyan), var(--cyber-pink));
    animation: capacity-glow 1.5s infinite alternate;
}

/* Fix System Capacity Text */
#cyberIntro .capacity-bar span {
    position: absolute;
    left: 0;
    bottom: -40px; /* Push text below the bar */
    font-size: 1.1rem;
    color: var(--cyber-cyan);
    text-transform: uppercase;
    font-weight: bold;
}

/* Coordinate Placement (Move to bottom-right properly) */
#cyberIntro .coordinates {
    text-align: right;
    font-size: 1.2rem;
    color: var(--cyber-cyan);
    font-weight: bold;
    padding-right: 3rem;
    margin-bottom: 1rem; /* Add spacing */
}


/* ======= INDUSTRIAL LOADING SCREEN ======= */
.cyber-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a12;
    z-index: 9998;
    display: none;
    overflow: hidden;
}

/* ======= BACKGROUND EFFECT ======= */
.loading-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 243, 255, 0.05) 0px,
        rgba(0, 243, 255, 0.05) 1px,
        transparent 1px,
        transparent 20px
    );
    animation: scan 2s linear infinite;
}

/* ======= CENTERED LOADING CONTAINER ======= */
.industrial-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
}

/* ======= REACTOR CORE ANIMATION ======= */
.reactor-core {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.core-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, #00f3ff 0%, #0a0a12 70%);
    filter: blur(10px);
    animation: core-pulse 2s infinite;
}

.plasma-stream {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        #00f3ff 0%,
        #ff00ff 30%,
        #00f3ff 70%,
        #ff00ff 100%
    );
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.3;
    animation: plasma-spin 4s linear infinite;
}

.rotating-ring {
    position: absolute;
    width: 110%;
    height: 110%;
    border: 2px solid #00f3ff;
    border-radius: 50%;
    top: -5%;
    left: -5%;
    animation: ring-rotate 6s linear infinite;
}

/* ======= PROGRESS BAR ======= */
.load-progress {
    margin-top: 50px;
}

.progress-bar {
    position: relative;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    border-radius: 4px;
}

.progress-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #00f3ff, #ff00ff);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-glitch {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 45%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 55%
    );
    animation: glitch-scan 0.5s infinite;
}

/* ======= PROGRESS TEXT ======= */
.progress-text {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-family: 'Oxanium', sans-serif;
}

.percentage {
    color: #00f3ff;
    font-weight: bold;
}

.system-text {
    color: #ff00ff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ======= TERMINAL OUTPUT ======= */
.load-terminal {
    margin-top: 30px;
    border: 1px solid #00f3ff;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    height: 120px;
    overflow: hidden;
}

.terminal-output {
    font-family: 'Courier New', monospace;
    color: #00f3ff;
}

.terminal-output .line {
    margin: 5px 0;
    opacity: 0;
    transform: translateY(20px);
}

/* ======= PARTICLE ANIMATION ======= */
.loading-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00f3ff;
    border-radius: 50%;
    pointer-events: none;
    filter: drop-shadow(0 0 5px #00f3ff);
}

/* ======= ANIMATIONS ======= */
@keyframes core-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes plasma-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ring-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes glitch-scan {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}



/* ======= Mobile Phone ======= */
@media (max-width: 768px) {
    /* Hero Section Adjustments */
    .hero-content h1 {
      font-size: 2.5rem;
      line-height: 1.2;
      margin-bottom: 1rem;
    }
  
    .hero-description {
      font-size: 1.1rem;
      margin-bottom: 2rem;
    }
  
    /* Project Cards */
    .projects-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
  
    .project-card {
      margin-bottom: 1rem;
    }
  
    /* Slideshow Fix */
    .slideshow-container {
      height: auto;
      padding-bottom: 56.25%; /* 16:9 aspect ratio */
    }
  
    .slide {
      position: absolute;
      height: 100%;
    }
  
    /* About Section */
    .about-content {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    /* Contact Form */
    .contact-container {
      padding: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .hero-content h1 {
      font-size: 2rem;
    }
  
    .hero-description {
      font-size: 1rem;
    }
  
    .cyber-button {
      width: 100%;
      justify-content: center;
    }
  }

  .hero-content h1 {
    /* Add text shadow for better contrast */
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.5), 
                 0 2px 4px rgba(0, 0, 0, 0.5);
}

  img, video {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
  
  .project-image {
    height: 200px; /* Fixed height for mobile */
  }

/* Disable hover effects on mobile */
@media (hover: none) {
  .project-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  
  .cyber-button:hover {
    background: transparent !important;
    box-shadow: none !important;
  }
}

@media (max-width: 768px) {
    html {
      font-size: 14px;
    }
    
    .section-title {
      font-size: 1.8rem;
    }
    
    .project-info h3 {
      font-size: 1.2rem;
    }
  }


@media (max-width: 768px) {
  .particle-canvas {
    display: none;
  }
}

input, textarea, button {
    font-size: 16px !important; /* Prevent mobile zoom */
    touch-action: manipulation;
  }

/* ======= Responsive Adjustments for Intro Screen & Loading Screen ======= */

/* ======= GLOBAL FIXES FOR MOBILE ======= */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .project-info h3 {
        font-size: 1.2rem;
    }
}

/* ======= HERO SECTION FIX ======= */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh; /* Reduce height on mobile */
        padding: 2rem 5%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image-container {
        text-align: center;
        margin-top: 1rem;
    }

    .hero-img {
        width: 80%;  /* Scale properly */
        max-width: 300px; /* Limit size */
        height: auto;
        border-radius: 5px;
    }
}

/* Smaller screens */
@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
        padding: 1.5rem;
    }

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

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-img {
        width: 90%;
        max-width: 250px;
    }
}

/* ======= CYBER INTRO SCREEN FIX ======= */
@media (max-width: 768px) {
    #cyberIntro {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    #cyberIntro .cyber-title {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    #cyberIntro .cyber-intro-content {
        padding: 5vh 3vw;
        width: 90%;
    }

    #cyberIntro .cyber-terminal {
        max-width: 90%;
        padding: 1rem;
    }

    #cyberIntro .cyber-button-3d {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
}

/* Smaller phones */
@media (max-width: 480px) {
    #cyberIntro .cyber-title {
        font-size: 2.5rem;
    }

    #cyberIntro .cyber-button-3d {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
}

/* ======= LOADING SCREEN FIX ======= */
@media (max-width: 768px) {
    .cyber-loading {
        width: 100vw;
        height: 100vh;
        overflow: hidden;
    }

    .industrial-loader {
        width: 80%;
        height: auto;
        max-width: 400px;
    }

    .reactor-core {
        width: 150px;
        height: 150px;
    }

    .progress-bar {
        height: 6px;
    }

    .percentage {
        font-size: 1rem;
    }

    .load-terminal {
        max-width: 95%;
        font-size: 0.9rem;
    }
}

/* Small screen tweaks */
@media (max-width: 480px) {
    .industrial-loader {
        width: 90%;
        max-width: 350px;
    }

    .reactor-core {
        width: 120px;
        height: 120px;
    }

    .percentage {
        font-size: 0.9rem;
    }

    .progress-bar {
        height: 5px;
    }
}

/* Ensure loading particles don't overflow on small screens */
@media (max-width: 768px) {
    .loading-particle {
        width: 3px;
        height: 3px;
    }
}

/* Default Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--cyber-cyan);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--cyber-cyan);
}

/* Default Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--cyber-cyan);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--cyber-cyan);
}

/* Mobile Navigation */
.menu-toggle {
    display: none; /* Hide by default */
    background: none;
    border: none;
    color: var(--cyber-cyan);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show menu button on mobile */
    }

    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 60px);
        background: var(--cyber-bg);
        flex-direction: column;
        text-align: center;
        border-left: 2px solid var(--cyber-cyan);
        transition: right 0.3s ease-in-out;
        padding: 20px;
        display: flex;
    }

    .nav-links.active {
        right: 0; /* Slide in when active */
    }
}



/* 🌐 Cyber Intro - Real-Time Date and Time */
.cyber-time-container {
    position: absolute;
    top: 2rem; /* Adjust this to position it properly inside the intro */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Oxanium', monospace;
    text-align: center;
}

.real-time-date {
    color: var(--cyber-cyan);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

.real-time-clock {
    color: var(--cyber-pink);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    position: relative;
}

.real-time-clock::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--cyber-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--cyber-cyan);
}

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--cyber-cyan);
    text-transform: uppercase;
}

.location i {
    color: var(--cyber-pink);
    animation: satellite-pulse 2s infinite;
}

@keyframes satellite-pulse {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(15deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cyber-time-container {
        top: 1rem; /* Moves it slightly lower on smaller screens */
        font-size: 0.9rem;
    }

    .real-time-date {
        font-size: 0.9rem; /* Reduces font size on mobile */
    }

    .real-time-clock {
        font-size: 1.4rem; /* Scales down clock size */
    }

    .location {
        font-size: 0.8rem; /* Keeps city name readable */
    }
}






/* Project Overview System */
.project-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 18, 0.95);
    display: none;
    z-index: 1000;
    padding: 2rem;
    overflow-y: auto;
}

.project-detail {
    max-width: 800px;
    margin: 2rem auto;
    background: rgba(16, 16, 32, 0.9);
    padding: 2rem;
    border: 2px solid var(--cyber-cyan);
    position: relative;
}

.close-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--cyber-pink);
    cursor: pointer;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.close-overlay:hover {
    transform: rotate(90deg);
}

.expanded-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}





/* GitHub Footer */
.github-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    border-top: 2px solid var(--cyber-cyan);
}

.github-footer p {
    color: var(--cyber-pink);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}





/* Add this CSS to your style.css */
/* ===== CYBER ABOUT SECTION ===== */
.about-section {
    position: relative;
    overflow: hidden;
}

.cyber-heading {
    position: relative;
    margin-bottom: 2rem;
}

.cyber-glow {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #00f3ff, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(0,243,255,0.3);
    letter-spacing: 2px;
}

.cyber-underscore {
    position: relative;
}

.cyber-underscore::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--cyber-cyan);
    animation: underscore-blink 1.2s infinite;
}

.cyber-bio {
    background: rgba(16, 16, 32, 0.6);
    padding: 2rem;
    border-left: 3px solid var(--cyber-cyan);
    position: relative;
}

.cyber-grid {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.cyber-line {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.8rem;
    background: rgba(0,243,255,0.05);
    border-radius: 5px;
}

.tag {
    color: var(--cyber-pink);
    font-family: 'Courier New', monospace;
    font-weight: 700;
    min-width: 120px;
}

.value {
    color: rgba(255,255,255,0.9);
    flex-grow: 1;
}

.cyber-divider {
    color: var(--cyber-cyan);
    opacity: 0.6;
}

.mission-statement {
    font-size: 1.1rem;
    line-height: 1.8;
    border-top: 1px solid rgba(0,243,255,0.2);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.cyber-icon {
    color: var(--cyber-cyan);
    margin-right: 1rem;
}

.highlight {
    background: linear-gradient(90deg, #00f3ff33, #ff00ff33);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

/* Animations */
@keyframes underscore-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.animate-text {
    animation: text-glitch 1.5s infinite alternate;
}

@keyframes text-glitch {
    0% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
    75% { transform: translateX(-1px); }
    100% { transform: translateX(0); }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .cyber-glow {
        font-size: 2rem;
    }
    
    .cyber-bio {
        padding: 1.5rem;
    }
    
    .cyber-line {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tag {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .value {
        font-size: 0.95rem;
    }
    
    .mission-statement {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cyber-glow {
        font-size: 1.8rem;
    }
    
    .cyber-bio {
        padding: 1rem;
    }
    
    .cyber-grid {
        gap: 1rem;
    }
}

/* Enhanced Education Styling */
.value br {
    display: block;
    content: "";
    margin-bottom: 0.5rem;
}

/* Specialty Highlight Colors */
.cyber-cyan {
    color: var(--cyber-cyan);
    font-weight: 600;
}

.cyber-pink {
    color: var(--cyber-pink);
    font-weight: 600;
}

/* Improved Mission Statement */
.mission-statement {
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid var(--cyber-cyan);
    margin: 2.5rem 0;
}

.mission-statement .cyber-icon {
    position: absolute;
    left: -1.8rem;
    top: 0.2rem;
    font-size: 1.5rem;
}

/* Enhanced Mobile Layout */
@media (max-width: 768px) {
    .mission-statement {
        padding-left: 1.5rem;
        margin: 2rem 0;
    }
    
    .value br {
        margin-bottom: 0.3rem;
    }
    
    .cyber-line .value {
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .cyber-line .value {
        font-size: 0.9rem;
    }
    
    .mission-statement {
        font-size: 0.95rem;
    }
}



/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {
    .experience-section {
        padding: 4rem 5%;
    }

    .cyber-timeline {
        padding-left: 20px;
    }

    .timeline-line {
        left: 25px;
        width: 2px;
    }

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

    .timeline-marker {
        left: -45px;
        width: 40px;
        height: 40px;
    }

    .timeline-marker i {
        font-size: 1.2rem;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .holographic-logo {
        width: 60px;
        height: 60px;
    }

    .cyber-role {
        font-size: 1.4rem;
    }

    .org-details {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1.5rem;
    }

    .tech-tags {
        gap: 0.5rem;
    }

    .tech-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .achievement-item {
        margin: 1rem 0;
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .achievement-icon {
        font-size: 0.9rem;
    }

    .detail-item {
        padding-left: 1.5rem;
    }

    .detail-item::before {
        left: -5px;
    }
}

@media (max-width: 480px) {
    .cyber-timeline {
        padding-left: 15px;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-marker {
        left: -40px;
        width: 35px;
        height: 35px;
    }

    .cyber-role {
        font-size: 1.2rem;
    }

    .detail-value {
        font-size: 0.9rem;
    }

    .tech-tag {
        font-size: 0.75rem;
    }

    .achievement-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .detail-label {
        font-size: 0.8rem;
    }

    .org-details {
        font-size: 0.9rem;
    }
}

/* Touch Device Adjustments */
@media (hover: none) {
    .achievement-item:hover {
        transform: none;
    }
    
    .tech-tag {
        background: rgba(0,243,255,0.05);
    }
    
    .experience-card {
        transform: none !important;
    }
}




