:root {
    /* Tokyo Night Theme (Default) */
    --tokyo-night: #1a1b26;
    --tokyo-purple: #bb9af7;
    --tokyo-blue: #7aa2f7;
    --tokyo-cyan: #7dcfff;
    --tokyo-green: #73daca;
    --tokyo-pink: #f7768e;
    --tokyo-orange: #ff9e64;
    --code-font: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Theme Variables */
    --bg-primary: var(--tokyo-night);
    --bg-secondary: rgba(31, 35, 53, 0.7);
    --text-primary: #a9b1d6;
    --text-secondary: #c0caf5;
    --accent-primary: var(--tokyo-blue);
    --accent-secondary: var(--tokyo-purple);
    --accent-tertiary: var(--tokyo-cyan);
    --border-color: var(--tokyo-blue);
    --highlight-color: var(--tokyo-green);
}

/* Light Theme */
.theme-light {
    --bg-primary: #f5f5f7;
    --bg-secondary: rgba(230, 230, 235, 0.7);
    --text-primary: #333344;
    --text-secondary: #222233;
    --accent-primary: #4a69bd;
    --accent-secondary: #8c7ae6;
    --accent-tertiary: #0097e6;
    --border-color: #4a69bd;
    --highlight-color: #20bf6b;
    --tokyo-purple: #8c7ae6;
    --tokyo-blue: #4a69bd;
    --tokyo-cyan: #0097e6;
    --tokyo-green: #20bf6b;
    --tokyo-pink: #e84393;
    --tokyo-orange: #e1b12c;
}

/* OLED Black Theme */
.theme-oled {
    --bg-primary: #000000;
    --bg-secondary: rgba(10, 10, 15, 0.7);
    --text-primary: #e1e1e6;
    --text-secondary: #ffffff;
    --accent-primary: #ff9f43;
    --accent-secondary: #cd84f1;
    --accent-tertiary: #18dcff;
    --border-color: #ff9f43;
    --highlight-color: #32ff7e;
    --tokyo-purple: #cd84f1;
    --tokyo-blue: #7158e2;
    --tokyo-cyan: #18dcff;
    --tokyo-green: #32ff7e;
    --tokyo-pink: #ff4757;
    --tokyo-orange: #ff9f43;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--code-font);
    padding-top: 60px;
    line-height: 1.6;
    transition: all 0.3s ease;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(122, 162, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(187, 154, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(125, 207, 255, 0.1) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { background-position: 0% 0%, 100% 0%, 50% 100%; }
    50% { background-position: 100% 50%, 0% 100%, 0% 0%; }
}

.navbar {
    background-color: rgba(26, 27, 38, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(122, 162, 247, 0.3);
    transform: translateY(0);
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.navbar:hover {
    background-color: rgba(26, 27, 38, 0.95);
    box-shadow: 0 4px 20px rgba(122, 162, 247, 0.2);
}

.theme-light .navbar {
    background-color: rgba(245, 245, 247, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(74, 105, 189, 0.3);
}

.theme-light .education-card,
.theme-light .experience-card,
.theme-light .skills-card,
.theme-light .project-card {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(74, 105, 189, 0.3);
}

.theme-light .skill-tags .badge {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(74, 105, 189, 0.4);
}

.theme-oled .navbar {
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 159, 67, 0.3);
}

.theme-oled .education-card,
.theme-oled .experience-card,
.theme-oled .skills-card,
.theme-oled .project-card {
    background: rgba(10, 10, 15, 0.6);
    border-color: rgba(255, 159, 67, 0.3);
}

.theme-oled .skill-tags .badge {
    background: rgba(10, 10, 15, 0.8);
    border-color: rgba(255, 159, 67, 0.4);
}

/* Theme Switcher Styles */
.theme-switcher {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.theme-btn {
    background: none;
    border: 2px solid transparent;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.theme-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(
        circle,
        rgba(255, 0, 128, 0.3) 0%,
        rgba(0, 255, 128, 0.2) 50%,
        transparent 70%
    );
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.theme-btn:hover::before {
    width: 60px;
    height: 60px;
    animation: cyberpunkPulse 1s ease-in-out infinite;
}

.theme-btn:hover {
    transform: scale(1.2) rotateZ(180deg);
    border-color: var(--accent-primary);
    box-shadow: 
        0 0 20px rgba(122, 162, 247, 0.5),
        inset 0 0 20px rgba(122, 162, 247, 0.1);
}

.theme-btn:hover {
    transform: scale(1.1);
}

.theme-btn.active {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}

#theme-tokyo i {
    color: var(--tokyo-purple);
}

#theme-light i {
    color: var(--tokyo-orange);
}

#theme-oled i {
    color: var(--tokyo-blue);
}

.theme-light #theme-tokyo i,
.theme-light #theme-light i,
.theme-light #theme-oled i {
    color: inherit;
}

.theme-oled #theme-tokyo i,
.theme-oled #theme-light i,
.theme-oled #theme-oled i {
    color: inherit;
}

.theme-btn.active i {
    color: var(--bg-primary);
}

.nav-link {
    color: var(--accent-tertiary);
    margin: 0 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(122, 162, 247, 0.2), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-secondary);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--accent-secondary);
    transform: translateY(-2px);
    background-color: rgba(122, 162, 247, 0.1);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: var(--accent-primary);
    background-color: rgba(122, 162, 247, 0.15);
}

.nav-link.active::after {
    width: 80%;
    background: var(--accent-primary);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--accent-secondary);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    animation: heroFadeIn 1.2s ease-out;
    box-shadow: 
        0 0 50px rgba(122, 162, 247, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Update gradient border effect to use CSS variables properly */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 0.5px;
    background: linear-gradient(
        45deg,
        var(--accent-secondary) 0%,
        var(--accent-primary) 50%,
        var(--accent-tertiary) 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

/* Add theme-specific adjustments for the gradient border if needed */
.theme-light .hero::after {
    background: linear-gradient(
        45deg,
        var(--accent-secondary) 0%,
        var(--accent-primary) 50%,
        var(--accent-tertiary) 100%
    );
}

.theme-oled .hero::after {
    background: linear-gradient(
        45deg,
        var(--accent-secondary) 0%,
        var(--accent-primary) 50%,
        var(--accent-tertiary) 100%
    );
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
    text-shadow: 0 0 20px rgba(122, 162, 247, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(122, 162, 247, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(122, 162, 247, 0.8), 0 0 40px rgba(122, 162, 247, 0.3);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(122, 162, 247, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(122, 162, 247, 0.8), 0 0 40px rgba(122, 162, 247, 0.3);
    }
}

.hero h1::before {
    color: var(--accent-secondary);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p::before {
    content: "// ";
    color: var(--highlight-color);
}

.hero h1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
}


/* Mobile responsiveness */
/* Enhanced responsive design */
@media (max-width: 768px) {
    
    .navbar {
        padding: 0 15px;
    }
    
    .nav-link {
        margin: 0 8px;
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 30px 20px;
        min-height: 90vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .education-card, .experience-card, .skills-card, .project-card {
        margin: 15px 10px;
        padding: 25px 20px;
    }
    
    .skill-bars {
        gap: 15px;
    }
    
    .skill-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .skill-name {
        min-width: auto;
        width: 100%;
    }
    
    .skill-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
    }
    
    .skill-badge {
        padding: 15px 10px;
    }
    
    .skill-badge i {
        font-size: 1.5rem;
    }
    
    .theme-switcher {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .theme-btn {
        width: 35px;
        height: 35px;
        margin-left: 5px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .profile-picture {
        margin: 0 auto;
        width: 120px;
        height: 120px;
    }
}

.section h2 {
    color: var(--accent-primary);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-align: center;
    position: relative;
    background: linear-gradient(
        90deg,
        var(--accent-primary),
        var(--accent-secondary),
        var(--accent-tertiary),
        var(--accent-primary)
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: neonFlow 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(122, 162, 247, 0.5);
}

.section h2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -50px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary));
    animation: neonLine 2s ease-in-out infinite;
}

.section h2::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    animation: neonLine 2s ease-in-out infinite reverse;
}

@keyframes neonFlow {
    0%, 100% {
        background-position: 0% 50%;
        filter: brightness(1) hue-rotate(0deg);
    }
    50% {
        background-position: 100% 50%;
        filter: brightness(1.2) hue-rotate(90deg);
    }
}

@keyframes neonLine {
    0%, 100% {
        transform: scaleX(0.5);
        opacity: 0.5;
    }
    50% {
        transform: scaleX(1);
        opacity: 1;
    }
}

.section {
    padding: 80px 0;
    position: relative;
}

.education-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(122, 162, 247, 0.3);
    border-radius: 20px;
    padding: 35px;
    margin: 25px 0;
    font-family: var(--code-font);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(122, 162, 247, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    transform-style: preserve-3d;
}

.education-card:hover {
    transform: perspective(1000px) rotateX(-5deg) rotateY(5deg) translateY(-10px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(122, 162, 247, 0.3);
    border-color: rgba(187, 154, 247, 0.5);
}

.education-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(122, 162, 247, 0.1) 0%, 
        transparent 50%, 
        rgba(187, 154, 247, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.education-card:hover::after {
    opacity: 1;
}

.education-card::before {
    content: "$ cat education.json";
    color: var(--highlight-color);
    display: block;
    margin-bottom: 10px;
}

.education-card h3 {
    color: var(--accent-secondary);
}

/* Experience Section Styling */
.experience-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(125, 207, 255, 0.3);
    border-radius: 20px;
    padding: 35px;
    margin: 25px 0;
    font-family: var(--code-font);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(125, 207, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    transform-style: preserve-3d;
}

.experience-card:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(-10px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(125, 207, 255, 0.3);
    border-color: rgba(115, 218, 202, 0.5);
}

.experience-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(125, 207, 255, 0.1) 0%, 
        transparent 50%, 
        rgba(115, 218, 202, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.experience-card:hover::after {
    opacity: 1;
}

.experience-card::before {
    content: "$ cat experience.json";
    color: var(--highlight-color);
    display: block;
    margin-bottom: 10px;
}

.experience-card h3 {
    color: var(--accent-secondary);
    margin-bottom: 10px;
}

.experience-card .position {
    color: var(--accent-primary);
    font-weight: bold;
    margin-bottom: 5px;
}

.experience-card .date {
    color: var(--accent-tertiary);
    font-style: italic;
    margin-bottom: 15px;
}

.experience-card .responsibilities {
    padding-left: 20px;
}

.experience-card .responsibilities li {
    margin-bottom: 8px;
    position: relative;
}

.experience-card .responsibilities li::before {
    content: ">";
    color: var(--highlight-color);
    position: absolute;
    left: -15px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(122, 162, 247, 0.3);
    border-radius: 20px;
    padding: 35px;
    margin: 25px 0;
    font-family: var(--code-font);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(122, 162, 247, 0.1);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateZ(0) scale(1);
    transform-style: preserve-3d;
    will-change: transform, box-shadow, border-color;
}

.project-card:hover {
    transform: perspective(1000px) rotateX(-8deg) rotateY(5deg) translateY(-20px) translateZ(40px) scale(1.02);
    box-shadow: 
        0 35px 80px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        0 0 40px rgba(122, 162, 247, 0.2);
    border-left-color: var(--accent-secondary);
    border-color: rgba(187, 154, 247, 0.6);
    filter: brightness(1.1) saturate(1.2);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(122, 162, 247, 0.1) 0%, 
        transparent 50%, 
        rgba(187, 154, 247, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.project-card:hover::before {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.project-card h3::before {
    color: var(--accent-secondary);
}

/* Language badge styling */
.language-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    margin: 2px 4px 2px 0;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--code-font);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.language-badge:hover {
    transform: translateY(-2px) scale(1.05);
    filter: brightness(1.1) saturate(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.language-badge .lang-icon {
    font-size: 0.9rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Enhanced hover effects for language badges */
.language-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.language-badge:hover::before {
    left: 100%;
}

/* Fallback for old badge class */
.project-card .technologies .badge {
    background: var(--tokyo-pink);
    color: var(--tokyo-night);
    margin-right: 5px;
    font-size: 0.8rem;
}

.particle {
    background: var(--accent-secondary);
    box-shadow: 0 0 10px var(--accent-secondary);
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Code syntax highlighting effects */
.keyword {
    color: var(--accent-secondary);
}

.string {
    color: var(--highlight-color);
}

.function {
    color: var(--accent-primary);
}

.comment {
    color: #565f89;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 27, 38, 0.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--bg-secondary);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid var(--accent-secondary);
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(187, 154, 247, 0.2);
    position: relative;
}

.close {
    color: var(--accent-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
}

.close:hover {
    color: var(--accent-primary);
    transform: scale(1.1);
}

.social-links {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.social-links a, .contact-btn {
    margin: 0 10px;
    padding: 12px 18px;
    border: 2px solid var(--accent-secondary);
    border-radius: 8px;
    color: var(--accent-secondary);
    background: rgba(122, 162, 247, 0.05);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.social-links a::before, .contact-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    transition: all 0.6s;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -1;
}

.social-links a:hover, .contact-btn:hover {
    background: var(--accent-secondary);
    color: var(--bg-primary);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(122, 162, 247, 0.3);
    border-color: var(--accent-primary);
}

.social-links a:hover::before, .contact-btn:hover::before {
    width: 200px;
    height: 200px;
}

.social-links a i, .contact-btn i {
    font-size: 1.8rem;
    padding: 5px;
}

.social-links a, .contact-btn {
    min-width: 60px;
    min-height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.contact-btn {
    line-height: normal;
    vertical-align: middle;
    padding: 0;
}

.contact-btn i {
    margin: 0;
    position: relative;
    top: 0;
}

.email-display {
    padding: 20px;
    text-align: center;
    font-family: var(--code-font);
    color: var(--accent-tertiary);
    font-size: 1.2rem;
}

.email-display p {
    background: var(--bg-primary);
    padding: 15px;
    border-radius: 6px;
    border: 1px solid var(--accent-secondary);
}

.project-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        conic-gradient(from 0deg at 50% 50%, 
            transparent 0deg,
            rgba(122, 162, 247, 0.3) 60deg,
            rgba(187, 154, 247, 0.3) 120deg,
            rgba(125, 207, 255, 0.3) 180deg,
            transparent 240deg,
            transparent 360deg);
    transform: translateX(-100%) translateY(-100%) rotate(0deg);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 50%;
    opacity: 0;
}

.project-card:hover::after {
    transform: translateX(-50%) translateY(-50%) rotate(360deg);
    opacity: 0.8;
    animation: continuousRotate 4s linear infinite;
}

@keyframes continuousRotate {
    0% {
        transform: translateX(-50%) translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) translateY(-50%) rotate(360deg);
    }
}

/* Enhanced project card content animations */
.project-card h3 {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateY(0);
}

.project-card:hover h3 {
    transform: translateY(-2px);
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(122, 162, 247, 0.3);
}

.project-card p {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateY(0);
}

.project-card:hover p {
    transform: translateY(-1px);
    color: var(--text-secondary);
}

.project-card .technologies {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateY(0);
}

.project-card:hover .technologies {
    transform: translateY(-3px);
}

.project-card .technologies .badge {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    transform: scale(1);
}

.project-card:hover .technologies .badge {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.project-card .stats {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateY(0) scale(1);
}

.project-card:hover .stats {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1);
}

/* Enhanced click/active state */
.project-card:active {
    transform: perspective(1000px) rotateX(-5deg) rotateY(3deg) translateY(-15px) translateZ(30px) scale(0.98);
    transition: all 0.1s ease;
}

/* Technology badges enhanced hover */
.project-card .technologies .badge:nth-child(odd) {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-card .technologies .badge:nth-child(even) {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-card:hover .technologies .badge:nth-child(odd) {
    transform: scale(1.08) rotate(2deg);
}

.project-card:hover .technologies .badge:nth-child(even) {
    transform: scale(1.08) rotate(-2deg);
}


@keyframes colorShift {
    0%, 100% {
        filter: brightness(1.1) saturate(1.2) hue-rotate(0deg);
    }
    33% {
        filter: brightness(1.15) saturate(1.3) hue-rotate(10deg);
    }
    66% {
        filter: brightness(1.12) saturate(1.25) hue-rotate(-5deg);
    }
}

.profile-picture {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-secondary);
    transition: all 0.3s ease;
    margin-left: auto;
}

.profile-picture:hover {
    border-color: var(--accent-primary);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(122, 162, 247, 0.3);
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-picture:hover {
    border-color: var(--accent-primary);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(122, 162, 247, 0.3);
}

.profile-picture:hover img {
    transform: scale(1.1);
}

/* Project Grid Layout */
#project-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 24px;
}

#project-container .project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(122, 162, 247, 0.3);
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(122, 162, 247, 0.1);
}


.project-card h3 {
    margin: 0 0 16px 0;
    color: var(--accent-primary);
}

.project-card p {
    margin: 0 0 16px 0;
    flex-grow: 1;
}

@media (max-width: 768px) {
    #project-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 16px;
        padding: 16px;
    }
}

.skills-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(115, 218, 202, 0.3);
    border-radius: 20px;
    padding: 35px;
    margin: 25px 0;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(115, 218, 202, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    transform-style: preserve-3d;
}

.skills-card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(115, 218, 202, 0.3);
    border-color: rgba(247, 118, 142, 0.5);
}

.skills-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(115, 218, 202, 0.1) 0%, 
        transparent 50%, 
        rgba(247, 118, 142, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.skills-card:hover::after {
    opacity: 1;
}

.skill-category {
    margin-bottom: 25px;
}

.skill-category h3 {
    color: var(--accent-secondary);
    margin-bottom: 15px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tags .badge {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-tertiary);
    border: 1px solid rgba(122, 162, 247, 0.3);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform: translateZ(0);
}

.skill-tags .badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--accent-tertiary) 0%, transparent 70%);
    transition: all 0.5s;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -1;
}

.skill-tags .badge:hover {
    background: var(--accent-tertiary);
    color: var(--bg-primary);
    transform: translateY(-3px) scale(1.05) translateZ(10px);
    box-shadow: 0 8px 25px rgba(122, 162, 247, 0.3);
    border-color: var(--accent-primary);
}

.skill-tags .badge:hover::before {
    width: 150px;
    height: 150px;
}

.skill-tags .badge:nth-child(odd):hover {
    transform: translateY(-3px) scale(1.05) rotateZ(2deg) translateZ(10px);
}

.skill-tags .badge:nth-child(even):hover {
    transform: translateY(-3px) scale(1.05) rotateZ(-2deg) translateZ(10px);
}

.typed-text {
    color: var(--accent-primary);
}

.cursor {
    color: var(--accent-secondary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Advanced 3D hover effects for sections */
.section {
    transition: all 0.3s ease;
}

.section:hover {
    transform: translateZ(5px);
}

/* Glassmorphism modal enhancement */
.modal {
    backdrop-filter: blur(15px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(122, 162, 247, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Enhanced profile picture with 3D effect */
.profile-picture {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.profile-picture::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent-primary), var(--accent-tertiary));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
}

.profile-picture:hover::before {
    opacity: 0.7;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Interactive Skill Visualization Styles */
.skill-visualization {
    display: grid;
    gap: 40px;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(122, 162, 247, 0.1);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(122, 162, 247, 0.3);
    transform: translateX(5px);
}

.skill-name {
    min-width: 120px;
    font-weight: 600;
    color: var(--accent-tertiary);
    font-size: 1rem;
}

.skill-bar {
    flex: 1;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(122, 162, 247, 0.2);
}

.skill-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, 
        var(--accent-primary) 0%, 
        var(--accent-secondary) 50%, 
        var(--accent-tertiary) 100%);
    border-radius: 6px;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: skillGlow 3s ease-in-out infinite;
}

@keyframes skillGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(122, 162, 247, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(122, 162, 247, 0.6);
    }
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.skill-percentage {
    min-width: 50px;
    text-align: right;
    font-weight: bold;
    color: var(--accent-primary);
    font-size: 0.9rem;
}

/* Skill Grid for Technologies */
.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.skill-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(122, 162, 247, 0.2);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.skill-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(122, 162, 247, 0.1), transparent);
    transition: left 0.5s;
}

.skill-badge:hover::before {
    left: 100%;
}

.skill-badge:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-secondary);
    box-shadow: 0 10px 30px rgba(122, 162, 247, 0.2);
}

.skill-badge i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.skill-badge:hover i {
    color: var(--accent-secondary);
    transform: scale(1.2) rotateY(180deg);
}

.skill-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 8px;
}

.skill-level {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.skill-level::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 2px;
    transition: width 1s ease-out;
}

.skill-level.expert::after {
    width: 90%;
    background: linear-gradient(90deg, var(--tokyo-green), var(--tokyo-cyan));
}

.skill-level.advanced::after {
    width: 75%;
    background: linear-gradient(90deg, var(--tokyo-blue), var(--tokyo-purple));
}

.skill-level.intermediate::after {
    width: 60%;
    background: linear-gradient(90deg, var(--tokyo-orange), var(--tokyo-pink));
}

/* Specialized Skill Badges */
.functional-badge {
    background: linear-gradient(135deg, rgba(187, 154, 247, 0.2), rgba(187, 154, 247, 0.1)) !important;
    border-color: var(--tokyo-purple) !important;
    color: var(--tokyo-purple) !important;
}

.systems-badge {
    background: linear-gradient(135deg, rgba(247, 118, 142, 0.2), rgba(247, 118, 142, 0.1)) !important;
    border-color: var(--tokyo-pink) !important;
    color: var(--tokyo-pink) !important;
}

.modern-badge {
    background: linear-gradient(135deg, rgba(125, 207, 255, 0.2), rgba(125, 207, 255, 0.1)) !important;
    border-color: var(--tokyo-cyan) !important;
    color: var(--tokyo-cyan) !important;
}

.oop-badge {
    background: linear-gradient(135deg, rgba(115, 218, 202, 0.2), rgba(115, 218, 202, 0.1)) !important;
    border-color: var(--tokyo-green) !important;
    color: var(--tokyo-green) !important;
}

.utility-badge {
    background: linear-gradient(135deg, rgba(255, 158, 100, 0.2), rgba(255, 158, 100, 0.1)) !important;
    border-color: var(--tokyo-orange) !important;
    color: var(--tokyo-orange) !important;
}

.database-badge {
    background: linear-gradient(135deg, rgba(122, 162, 247, 0.2), rgba(122, 162, 247, 0.1)) !important;
    border-color: var(--tokyo-blue) !important;
    color: var(--tokyo-blue) !important;
}

.creative-badge {
    background: linear-gradient(135deg, rgba(247, 118, 142, 0.2), rgba(187, 154, 247, 0.1)) !important;
    border-color: var(--tokyo-pink) !important;
    color: var(--tokyo-pink) !important;
}

.office-badge {
    background: linear-gradient(135deg, rgba(115, 218, 202, 0.2), rgba(125, 207, 255, 0.1)) !important;
    border-color: var(--tokyo-green) !important;
    color: var(--tokyo-green) !important;
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    color: var(--accent-primary);
    font-size: 1.3rem;
}

.skill-category h3 i {
    color: var(--accent-secondary);
    font-size: 1.2rem;
}

/* Advanced Navigation Enhancements */
.navbar {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background-color: rgba(26, 27, 38, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Touch-friendly hover effects for mobile */
@media (hover: none) and (pointer: coarse) {
    .project-card:hover,
    .education-card:hover,
    .experience-card:hover,
    .skills-card:hover {
        transform: none;
    }
    
    .project-card:active,
    .education-card:active,
    .experience-card:active,
    .skills-card:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }
    
    .skill-badge:hover {
        transform: none;
    }
    
    .skill-badge:active {
        transform: scale(0.95);
        transition: transform 0.1s;
    }
    
    .social-links a:hover,
    .contact-btn:hover {
        transform: none;
    }
    
    .social-links a:active,
    .contact-btn:active {
        transform: scale(0.95);
        transition: transform 0.1s;
    }
}

/* Loading animation enhancement */
.loading-pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(122, 162, 247, 0.2);
    z-index: 9999;
}

.scroll-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    width: 0%;
    transition: width 0.1s;
}

/* Enhanced focus styles for accessibility */
.nav-link:focus,
.theme-btn:focus,
.social-links a:focus,
.contact-btn:focus,
.skill-badge:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .education-card,
    .experience-card,
    .skills-card,
    .project-card {
        border-width: 2px;
    }
    
    .skill-badge {
        border-width: 2px;
    }
    
    .nav-link {
        border: 1px solid transparent;
    }
    
    .nav-link:hover,
    .nav-link.active {
        border-color: var(--accent-primary);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero {
        animation: none;
    }
    
    .skill-progress::after {
        animation: none;
    }
    
    .particles {
        display: none;
    }
}

/* Terminal Modal Styles */
.terminal-modal {
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.8);
}

.terminal-content {
    background: #1e1e1e;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #333;
    width: 80%;
    max-width: 800px;
    min-height: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    overflow: hidden;
    animation: terminalSlideIn 0.3s ease-out;
}

@keyframes terminalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.terminal-header {
    background: #333;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #444;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.close-btn {
    background: #ff5f57;
}

.minimize-btn {
    background: #ffbd2e;
}

.maximize-btn {
    background: #28ca42;
}

.terminal-btn:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.terminal-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
}

.terminal-body {
    padding: 20px;
    background: #1e1e1e;
    color: #00ff00;
    min-height: 400px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.terminal-line {
    margin-bottom: 5px;
    word-wrap: break-word;
}

.terminal-prompt {
    color: #00ff00;
    font-weight: bold;
}

.terminal-input {
    color: #fff;
}

.terminal-response {
    color: #ccc;
    margin: 10px 0 20px 0;
    padding-left: 20px;
}

.command-help {
    color: #00ffff;
    font-weight: bold;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.terminal-input-field {
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    flex: 1;
    margin-left: 5px;
}

.terminal-cursor {
    color: #00ff00;
    animation: blink 1s infinite;
    margin-left: 2px;
}

.terminal-error {
    color: #ff6b6b;
}

.terminal-success {
    color: #51cf66;
}

.terminal-info {
    color: #74c0fc;
}

.matrix-mode {
    background: #000 !important;
    color: #00ff00 !important;
}

.matrix-mode .terminal-header {
    background: #001100;
    border-bottom-color: #00ff00;
}

.matrix-mode .terminal-title {
    color: #00ff00;
}

/* Terminal command animations */
.typing-animation {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2s steps(40, end);
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.glitch-text {
    position: relative;
    color: #00ff00;
    animation: glitch 0.3s infinite;
}

@keyframes glitch {
    0% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-2px);
    }
    40% {
        transform: translateX(2px);
    }
    60% {
        transform: translateX(-1px);
    }
    80% {
        transform: translateX(1px);
    }
    100% {
        transform: translateX(0);
    }
}

/* Mobile terminal adjustments */
@media (max-width: 768px) {
    .terminal-content {
        width: 95%;
        margin: 2% auto;
        min-height: 400px;
    }
    
    .terminal-body {
        padding: 15px;
        font-size: 0.8rem;
    }
    
    .terminal-header {
        padding: 8px 12px;
    }
    
    .terminal-title {
        font-size: 0.8rem;
    }
    
    
    .voice-btn {
        width: 50px !important;
        height: 50px !important;
        bottom: 20px !important;
        right: 20px !important;
    }
}



/* Voice Button Styles */
.voice-btn {
    animation: voicePulse 2s ease-in-out infinite;
}

.voice-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.voice-btn.listening {
    animation: voiceListening 0.5s ease-in-out infinite alternate;
}

@keyframes voicePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 0, 128, 0.5);
    }
}

@keyframes voiceListening {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}




