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

body {
    font-family: 'Courier New', monospace;
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body:not(.web-mode):not(.landing-mode) {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Landing Page Styles */
.landing-container {
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f23 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.landing-content {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.landing-title {
    margin-bottom: 2rem;
}

.landing-name {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
    margin-bottom: 0.5rem;
    animation: pulse 3s ease-in-out infinite;
}

.landing-subtitle {
    display: block;
    font-size: 1.5rem;
    color: #a0aec0;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.landing-description {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 3rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.mode-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.mode-card {
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid rgba(0, 255, 0, 0.2);
    border-radius: 16px;
    padding: 3rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mode-card:hover {
    border-color: rgba(0, 255, 0, 0.5);
    box-shadow: 
        0 0 30px rgba(0, 255, 0, 0.2),
        inset 0 0 20px rgba(0, 255, 0, 0.05);
    transform: translateY(-5px);
}

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

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

.mode-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 255, 0, 0.3));
}

.mode-card h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.mode-card p {
    color: #a0aec0;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.mode-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mode-features span {
    color: #718096;
    font-size: 0.95rem;
    font-family: 'Courier New', monospace;
}

.terminal-card:hover .mode-icon {
    animation: terminal-glow 0.6s ease-in-out;
}

.web-card:hover .mode-icon {
    animation: web-spin 0.6s ease-in-out;
}

@keyframes terminal-glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 255, 0, 0.3)); }
    50% { filter: drop-shadow(0 0 25px rgba(0, 255, 0, 0.8)); }
}

@keyframes web-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mode transition animations */
.mode-card.clicked {
    pointer-events: none;
}

.terminal-card.clicked .mode-icon {
    animation: terminal-boot 2s ease-in-out;
}

.web-card.clicked .mode-icon {
    animation: globe-explosion 1.5s ease-in-out;
}

@keyframes terminal-boot {
    0% { 
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(0, 255, 0, 0.3));
    }
    20% { 
        transform: scale(1.3);
        filter: drop-shadow(0 0 30px rgba(0, 255, 0, 0.8));
    }
    40% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px rgba(0, 255, 0, 0.6));
    }
    60% {
        transform: scale(1.2);
        filter: 
            drop-shadow(0 0 40px rgba(0, 255, 0, 1))
            drop-shadow(0 0 60px rgba(0, 255, 0, 0.5));
    }
    80% {
        transform: scale(3) rotateY(180deg);
        filter: 
            drop-shadow(0 0 80px rgba(0, 255, 0, 1))
            blur(2px);
        opacity: 0.8;
    }
    100% {
        transform: scale(10) rotateY(360deg);
        filter: 
            drop-shadow(0 0 100px rgba(0, 255, 0, 1))
            blur(10px);
        opacity: 0;
    }
}

@keyframes globe-explosion {
    0% { 
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 10px rgba(0, 255, 0, 0.3));
    }
    30% { 
        transform: scale(2) rotate(180deg);
        filter: drop-shadow(0 0 40px rgba(0, 255, 0, 0.8));
    }
    50% {
        transform: scale(3) rotate(270deg);
        filter: 
            drop-shadow(0 0 60px rgba(0, 255, 0, 1))
            drop-shadow(0 0 80px rgba(255, 255, 255, 0.5));
    }
    70% {
        transform: scale(4) rotate(360deg);
        filter: 
            drop-shadow(0 0 100px rgba(0, 255, 0, 1))
            drop-shadow(0 0 120px rgba(255, 255, 255, 0.8))
            blur(1px);
    }
    85% {
        transform: scale(6) rotate(450deg);
        filter: 
            drop-shadow(0 0 150px rgba(0, 255, 0, 1))
            drop-shadow(0 0 200px rgba(255, 255, 255, 1))
            blur(5px);
        opacity: 0.7;
    }
    100% {
        transform: scale(10) rotate(540deg);
        filter: 
            drop-shadow(0 0 200px rgba(0, 255, 0, 1))
            drop-shadow(0 0 300px rgba(255, 255, 255, 1))
            blur(20px);
        opacity: 0;
    }
}

/* Card pulse effect during animation */
.terminal-card.clicked {
    animation: card-pulse-terminal 2s ease-in-out;
}

.web-card.clicked {
    animation: card-pulse-web 1.5s ease-in-out;
}

/* Screen flash effect for terminal boot */
.terminal-card.clicked::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 255, 0, 0.1);
    z-index: 9999;
    animation: screen-flash 2s ease-in-out;
    pointer-events: none;
}

@keyframes screen-flash {
    0%, 90% { opacity: 0; }
    95% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes card-pulse-terminal {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
        border-color: rgba(0, 255, 0, 0.5);
    }
    50% { 
        box-shadow: 
            0 0 60px rgba(0, 255, 0, 0.6),
            inset 0 0 40px rgba(0, 255, 0, 0.1);
        border-color: rgba(0, 255, 0, 1);
    }
}

@keyframes card-pulse-web {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
        border-color: rgba(0, 255, 0, 0.5);
    }
    50% { 
        box-shadow: 
            0 0 80px rgba(0, 255, 0, 0.8),
            0 0 120px rgba(255, 255, 255, 0.3),
            inset 0 0 60px rgba(0, 255, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.8);
    }
}

.landing-footer {
    color: #4a5568;
    font-style: italic;
}

/* Responsive landing page */
@media (max-width: 768px) {
    .mode-selection {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .landing-name {
        font-size: 2.5rem;
    }
    
    .mode-card {
        padding: 2rem 1.5rem;
    }
    
    .mode-icon {
        font-size: 3rem;
    }
}

.terminal-container {
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 255, 0, 0.2);
    display: flex;
    flex-direction: column;
    border: 1px solid #333;
}

.terminal-header {
    background: #2a2a2a;
    padding: 10px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-button.close {
    background: #ff5f56;
}

.terminal-button.minimize {
    background: #ffbd2e;
}

.terminal-button.maximize {
    background: #27c93f;
}

.terminal-title {
    flex: 1;
    text-align: center;
    color: #888;
    font-size: 14px;
}

.terminal-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    position: relative;
}

#terminal-output {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.5;
    margin-bottom: 10px;
}

.terminal-input-line {
    display: flex;
    align-items: center;
}

.prompt {
    color: #00ff00;
    margin-right: 8px;
}

.user {
    color: #00ffff;
}

.host {
    color: #ffff00;
}

.path {
    color: #00ff00;
}

#terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #00ff00;
    font-family: inherit;
    font-size: inherit;
    caret-color: #00ff00;
}

.command-output {
    color: #ffffff;
    margin: 10px 0;
}

.error {
    color: #ff4444;
}

.warning {
    color: #ffaa00;
}

.success {
    color: #00ff00;
}

.directory {
    color: #4da6ff;
}

.executable {
    color: #00ff00;
}

.file {
    color: #ffffff;
}

.white-text {
    color: #ffffff !important;
}

.ui-toggle-btn {
    min-width: 70px;
    height: 28px;
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid rgba(0, 255, 0, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    padding: 0 10px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.1);
    margin-left: 15px;
}

.terminal-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ui-toggle-btn:hover {
    background: rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.5);
    color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    transform: scale(1.05);
}

.ui-toggle-btn .toggle-icon {
    font-size: 18px;
    filter: drop-shadow(0 0 5px rgba(0, 255, 0, 0.5));
}

.ui-toggle-btn .toggle-text {
    font-size: 12px;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

/* Special styling for web switch in terminal */
.web-switch {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.1);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 255, 0, 0.3);
    }
}


/* Terminal switch in web mode */
.terminal-switch {
    background: rgba(0, 255, 0, 0.15) !important;
    border-color: rgba(0, 255, 0, 0.4) !important;
}

/* Web UI Styles */
body.web-mode {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    background-attachment: fixed;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.web-container {
    min-height: 100vh;
    background: transparent;
}

.web-header {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.web-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    padding-right: 120px; /* Make room for toggle button */
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo:hover {
    color: #00ff00;
    text-shadow: 
        0 0 5px rgba(0, 255, 0, 0.8),
        0 0 10px rgba(0, 255, 0, 0.6),
        0 0 15px rgba(0, 255, 0, 0.4),
        0 0 20px rgba(0, 255, 0, 0.2);
    animation: glitch 0.3s ease-in-out;
}

.logo:hover span {
    color: #00ff00 !important;
    text-shadow: inherit;
    animation: flicker 0.15s infinite alternate;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(-1px, -1px); }
    60% { transform: translate(1px, 1px); }
    80% { transform: translate(1px, -1px); }
    100% { transform: translate(0); }
}

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

/* Matrix-style background effect on hover */
.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

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

/* Matrix rain animation overlay */
.matrix-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.matrix-overlay.active {
    opacity: 1;
}

.matrix-rain {
    position: absolute;
    top: -100px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.8);
    white-space: nowrap;
    animation: matrix-fall linear infinite;
}

@keyframes matrix-fall {
    0% {
        transform: translateY(-100px);
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 100px));
        opacity: 0;
    }
}

.matrix-rain.fast {
    animation-duration: 2s;
}

.matrix-rain.medium {
    animation-duration: 3s;
}

.matrix-rain.slow {
    animation-duration: 4s;
}

/* Glitch effect overlay */
.matrix-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 20px rgba(0, 255, 0, 1);
    z-index: 10001;
    opacity: 0;
    animation: matrix-text-appear 3s ease-in-out;
}

@keyframes matrix-text-appear {
    0% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.5);
    }
    20% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1);
    }
    80% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1);
    }
    100% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(1.2);
    }
}

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

.nav-link {
    color: #a0aec0;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: #00ff00;
    background: rgba(0, 255, 0, 0.05);
    border-color: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.1);
}

.nav-link.active {
    color: #00ff00;
    background: rgba(0, 255, 0, 0.1);
    border-color: rgba(0, 255, 0, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #00ff00;
    border-radius: 1px;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.web-toggle {
    background: rgba(0, 255, 0, 0.1) !important;
    border-color: rgba(0, 255, 0, 0.2) !important;
    color: #00ff00 !important;
}

.web-toggle:hover {
    background: rgba(0, 255, 0, 0.2) !important;
    border-color: rgba(0, 255, 0, 0.3) !important;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2) !important;
}

.web-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-bottom: 4rem;
}

.web-content {
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(0, 255, 0, 0.1);
    border-radius: 12px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 255, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.content-section h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    position: relative;
}

.content-section h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00ff00 0%, transparent 100%);
    border-radius: 2px;
}

.content-section h2 {
    color: #e2e8f0;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.content-section h3 {
    color: #cbd5e0;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.content-section p {
    color: #a0aec0;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.content-section ul {
    color: #a0aec0;
    line-height: 1.8;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    position: relative;
}

.content-section li::marker {
    color: #00ff00;
}

.web-highlight {
    color: #00ff00;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.web-success {
    color: #48bb78;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(72, 187, 120, 0.3);
}

.web-warning {
    color: #ed8936;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(237, 137, 54, 0.3);
}

.profile-section,
.skills-section {
    background: rgba(15, 15, 35, 0.5);
    border: 1px solid rgba(0, 255, 0, 0.1);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.profile-section:hover,
.skills-section:hover {
    border-color: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.05);
}

.back-button {
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.blog-post-content h1 {
    border-bottom: 2px solid rgba(0, 255, 0, 0.3);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.blog-post-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.blog-post-content pre {
    background: rgba(15, 15, 35, 0.8);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-post-content code {
    background: rgba(15, 15, 35, 0.6);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: #00ff00;
}

.blog-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.blog-post-content th,
.blog-post-content td {
    border: 1px solid rgba(0, 255, 0, 0.2);
    padding: 0.75rem;
    text-align: left;
}

.blog-post-content th {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    font-weight: bold;
}

.loading {
    text-align: center;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    padding: 3rem;
}

/* Certificate images styling */
.cert-image {
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    border: 2px solid rgba(0, 255, 0, 0.2);
    margin: 1rem auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: block;
    cursor: pointer;
}

.cert-image:hover {
    border-color: rgba(0, 255, 0, 0.5);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 255, 0, 0.2);
    transform: scale(1.05);
}

/* Company logo styling - emoji-sized */
.content-section h2 img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 0, 0.2);
    transition: all 0.3s ease;
}

.content-section h2 img:hover {
    border-color: rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    transform: scale(1.1);
}

/* Profile header styling */
.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid rgba(0, 255, 0, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
    transition: all 0.3s ease;
    object-fit: cover;
}

.profile-image:hover {
    border-color: rgba(0, 255, 0, 0.6);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.4);
    transform: scale(1.05);
}

.profile-intro {
    flex: 1;
    min-width: 300px;
}

.profile-intro h2 {
    margin-top: 0;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }
}

/* Certificate dropdown styling */
.cert-dropdown {
    background: rgba(15, 15, 35, 0.6);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 8px;
    margin: 1rem 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cert-dropdown-header {
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
    transition: all 0.3s ease;
}

.cert-dropdown-header:hover {
    background: rgba(0, 255, 0, 0.05);
    border-bottom-color: rgba(0, 255, 0, 0.2);
}

.cert-dropdown-title {
    color: #00ff00;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.cert-dropdown-arrow {
    color: #00ff00;
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.cert-dropdown.open .cert-dropdown-arrow {
    transform: rotate(180deg);
}

.cert-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.cert-dropdown.open .cert-dropdown-content {
    max-height: 500px;
    padding: 1.5rem;
}

.cert-description {
    color: #a0aec0;
    font-style: italic;
    margin-top: 1rem;
    padding: 0 1rem;
}

/* Profile image styling */
.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(0, 255, 0, 0.3);
    box-shadow:
        0 0 20px rgba(0, 255, 0, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    object-fit: cover;
    flex-shrink: 0;
}

.profile-image:hover {
    border-color: rgba(0, 255, 0, 0.6);
    box-shadow:
        0 0 30px rgba(0, 255, 0, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}

.profile-intro {
    flex: 1;
    min-width: 0;
}

.profile-intro h2 {
    margin-top: 0;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

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

/* Responsive */
@media (max-width: 768px) {
    .web-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        padding-right: 1rem; /* Reset padding on mobile */
    }

    .ui-toggle-btn {
        position: static;
        transform: none;
        margin-top: 0.5rem;
        align-self: center;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .web-main {
        padding: 1rem;
    }

    .web-content {
        padding: 2rem;
    }

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

    /* Responsive profile header */
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }
}

.ascii-art {
    color: #00ff00;
    line-height: 1.2;
    font-size: 12px;
}

.highlight {
    color: #ffff00;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.cursor::after {
    content: '_';
    animation: blink 1s infinite;
    color: #00ff00;
}

.typing-effect {
    overflow: hidden;
    border-right: .15em solid #00ff00;
    white-space: nowrap;
    animation: typing 2s steps(30, end), blink-caret .5s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #00ff00 }
}

