/* ============================================
   ZER0FADE - Modern Cybersecurity Portfolio
   Beautiful, Tech-Savvy, Well-Organized
   ============================================ */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0b0c10;
    color: #c5c6c7;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(11, 12, 16, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(22, 179, 190, 0.1);
    padding: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 40px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #66fcf1;
    text-decoration: none;
    letter-spacing: 2px;
}

.logo-icon {
    font-size: 24px;
    color: #16b3be;
}

.logo-text {
    background: linear-gradient(90deg, #66fcf1, #16b3be);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-link {
    color: #c5c6c7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #16b3be, #66fcf1);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #66fcf1;
}

.nav-link:hover::after {
    width: 100%;
}

.theme-toggle {
    padding: 8px 14px;
    background: rgba(22, 179, 190, 0.15);
    border: 1px solid #16b3be;
    border-radius: 6px;
    color: #66fcf1;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: #16b3be;
    color: #0b0c10;
    transform: scale(1.05);
}

.resume-link {
    padding: 10px 16px;
    background: linear-gradient(135deg, #16b3be, #45a29e);
    border: none;
    border-radius: 6px;
    color: #0b0c10;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.resume-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(22, 179, 190, 0.3);
}

.visitor-badge {
    padding: 8px 12px;
    background: rgba(22, 179, 190, 0.2);
    border: 1px solid #16b3be;
    border-radius: 4px;
    color: #66fcf1;
    font-size: 12px;
    font-weight: 600;
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #66fcf1;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .header-container {
        padding: 12px 20px;
    }

    .header-right {
        gap: 12px;
    }

    .nav-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(11, 12, 16, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(22, 179, 190, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav.active {
        max-height: 400px;
    }

    .nav-link {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(22, 179, 190, 0.1);
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }

    .resume-link {
        margin: 12px 20px;
        display: block;
        text-align: center;
    }
}

/* Hero Section */
.hero {
    margin-top: 64px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #0b0c10;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 400px at 20% 50%, rgba(22, 179, 190, 0.15) 0%, transparent 50%),
                radial-gradient(circle 300px at 80% 80%, rgba(102, 252, 241, 0.1) 0%, transparent 50%);
    animation: floatOrbs 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes floatOrbs {
    0%, 100% {
        background: radial-gradient(circle 400px at 20% 50%, rgba(22, 179, 190, 0.15) 0%, transparent 50%),
                    radial-gradient(circle 300px at 80% 80%, rgba(102, 252, 241, 0.1) 0%, transparent 50%);
    }
    50% {
        background: radial-gradient(circle 400px at 30% 40%, rgba(22, 179, 190, 0.2) 0%, transparent 50%),
                    radial-gradient(circle 300px at 70% 70%, rgba(102, 252, 241, 0.15) 0%, transparent 50%);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    padding: 80px 40px;
    margin: auto;
}

.hero-text {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #66fcf1, #16b3be);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: #c5c6c7;
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-description {
    font-size: 16px;
    color: rgba(197, 198, 199, 0.8);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #16b3be, #45a29e);
    color: #0b0c10;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(22, 179, 190, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #66fcf1;
    border: 2px solid #16b3be;
}

.btn-secondary:hover {
    background: rgba(22, 179, 190, 0.1);
    border-color: #66fcf1;
    transform: translateY(-2px);
}

.hero-visual {
    animation: slideInRight 0.8s ease-out 0.1s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.terminal-box {
    background: linear-gradient(135deg, rgba(31, 40, 51, 0.8), rgba(11, 12, 16, 0.8));
    border: 1px solid rgba(22, 179, 190, 0.3);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(22, 179, 190, 0.05);
    border-bottom: 1px solid rgba(22, 179, 190, 0.2);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot:nth-child(1) { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #febc2e; }
.terminal-dot:nth-child(3) { background: #28c940; }

.terminal-title {
    margin-left: auto;
    font-size: 12px;
    color: #c5c6c7;
    font-family: 'JetBrains Mono', monospace;
}

.terminal-content {
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #66fcf1;
    line-height: 1.6;
}

.terminal-content p {
    margin: 8px 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.terminal-content p:nth-child(1) { animation-delay: 0.2s; }
.terminal-content p:nth-child(2) { animation-delay: 0.4s; }
.terminal-content p:nth-child(3) { animation-delay: 0.6s; }
.terminal-content p:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terminal-content span {
    color: #45a29e;
}

/* Mobile Hero */
@media (max-width: 768px) {
    .hero {
        margin-top: 60px;
        min-height: 80vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .terminal-box {
        transform: scale(0.95);
        margin: 0 auto;
    }
}

/* Sections */
.section {
    padding: 100px 40px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #66fcf1;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #16b3be, #66fcf1);
    border-radius: 2px;
}

/* About Section */
#about {
    background: linear-gradient(135deg, #0b0c10, #1f2833);
}

#about p {
    font-size: 16px;
    line-height: 1.8;
    color: #c5c6c7;
    max-width: 800px;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.image-gallery h2 {
    grid-column: 1 / -1;
    text-align: left;
    margin-bottom: 30px;
}

.img-figure {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #1f2833;
}

.img-card {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.img-figure:hover .img-card {
    transform: scale(1.08);
}

.img-caption {
    padding: 16px;
    color: #66fcf1;
    font-size: 14px;
    font-weight: 500;
    background: rgba(11, 12, 16, 0.8);
    border-top: 1px solid rgba(22, 179, 190, 0.2);
}

/* Sections - Already defined above */

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin-top: 40px;
}

.skill-box {
    background: linear-gradient(135deg, #1f2833, #16222a);
    padding: 24px;
    border-left: 4px solid #16b3be;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.skill-box:hover {
    transform: translateY(-8px);
    border-left-color: #66fcf1;
    box-shadow: 0 12px 24px rgba(22, 179, 190, 0.2);
}

.skill-label {
    font-weight: 600;
    color: #c5c6c7;
    margin-bottom: 12px;
    font-size: 15px;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: #0b0c10;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #16b3be, #66fcf1);
    width: 0%;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-percent {
    font-size: 13px;
    color: #45a29e;
    font-weight: 600;
}

/* Projects Section */
.project-list {
    display: grid;
    gap: 24px;
    max-width: 1200px;
    margin-top: 40px;
}

.project-item {
    background: linear-gradient(135deg, #1f2833, #16222a);
    padding: 28px;
    border-left: 4px solid #45a29e;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateX(8px);
    border-left-color: #66fcf1;
    box-shadow: 0 12px 24px rgba(22, 179, 190, 0.2);
}

.project-title {
    font-size: 18px;
    font-weight: 700;
    color: #66fcf1;
    margin-bottom: 8px;
}

.project-description {
    font-size: 14px;
    color: #c5c6c7;
    line-height: 1.6;
}

/* Certifications Section */
.cert-list {
    list-style: none;
    max-width: 1000px;
    margin-top: 40px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(22, 179, 190, 0.05);
    border-left: 3px solid #16b3be;
    border-radius: 6px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.cert-item:hover {
    background: rgba(22, 179, 190, 0.1);
    transform: translateX(4px);
}

.cert-icon {
    font-size: 20px;
    color: #66fcf1;
}

.cert-name {
    color: #c5c6c7;
    font-weight: 500;
}

/* Security Tips */
.tips-container {
    background: linear-gradient(135deg, #16b3be, #45a29e);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(22, 179, 190, 0.3);
}

.security-tip-text {
    color: #0b0c10;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 500;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tips-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.tips-btn {
    padding: 10px 20px;
    background: #0b0c10;
    color: #66fcf1;
    border: 2px solid #66fcf1;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.tips-btn:hover {
    background: #66fcf1;
    color: #0b0c10;
}

.tip-counter {
    color: #0b0c10;
    font-weight: bold;
    font-size: 16px;
    min-width: 50px;
}

/* Light Mode Theme */
body.light-mode {
    background-color: #f5f5f5;
    color: #333;
}

body.light-mode header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

body.light-mode nav a {
    color: #333;
}

body.light-mode nav a:hover {
    color: #16b3be;
}

body.light-mode .section {
    background: #fff;
}

body.light-mode .section h2 {
    color: #16b3be;
/* Security Tips Section */
.tips-container {
    background: linear-gradient(135deg, #16b3be, #45a29e);
    padding: 32px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(22, 179, 190, 0.3);
    max-width: 800px;
    margin: 40px auto;
}

.security-tip-text {
    color: #0b0c10;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
    font-weight: 500;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tips-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tips-btn {
    padding: 10px 20px;
    background: #0b0c10;
    color: #66fcf1;
    border: 2px solid #0b0c10;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tips-btn:hover {
    background: transparent;
    color: #0b0c10;
}

.tip-counter {
    color: #0b0c10;
    font-weight: 700;
    font-size: 16px;
    min-width: 60px;
}

/* Quiz & Interactive Containers */
.quiz-container,
.simulator-container,
.ctf-container,
.dashboard-container {
    background: linear-gradient(135deg, #1f2833, #16222a);
    padding: 32px;
    border-radius: 8px;
    border: 1px solid rgba(22, 179, 190, 0.2);
    margin: 24px auto;
    max-width: 900px;
}

/* Quiz Progress Bar */
.quiz-progress {
    margin-bottom: 32px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #0b0c10;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #16b3be, #66fcf1);
    width: 0%;
    transition: width 0.4s ease;
}

.progress-text {
    text-align: center;
    color: #c5c6c7;
    font-size: 14px;
    font-weight: 600;
}

.quiz-start,
.simulator-start,
.ctf-start-btn {
    padding: 14px 32px;
    background: linear-gradient(135deg, #16b3be, #45a29e);
    color: #0b0c10;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quiz-start:hover,
.simulator-start:hover,
.ctf-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(22, 179, 190, 0.4);
}

.quiz-question,
.incident-scenario,
.ctf-challenge-text {
    font-size: 18px;
    font-weight: 700;
    color: #66fcf1;
    margin-bottom: 24px;
    line-height: 1.6;
}

.quiz-options,
.incident-choices {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.quiz-option,
.incident-choice-btn {
    padding: 16px 18px;
    background: #0b0c10;
    border: 2px solid #45a29e;
    color: #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.option-letter {
    font-weight: 700;
    color: #16b3be;
    min-width: 28px;
    font-size: 16px;
}

.quiz-option:hover,
.incident-choice-btn:hover {
    background: #1a2536;
    border-color: #66fcf1;
    transform: translateX(8px);
}

.quiz-option.selected,
.incident-choice-btn.selected {
    background: linear-gradient(135deg, #16b3be, #45a29e);
    border-color: #66fcf1;
    color: #0b0c10;
    box-shadow: 0 8px 16px rgba(22, 179, 190, 0.3);
}

.ctf-input {
    padding: 12px 16px;
    background: #0b0c10;
    border: 2px solid #45a29e;
    color: #66fcf1;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    width: 100%;
    max-width: 400px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.ctf-input:focus {
    outline: none;
    border-color: #66fcf1;
    box-shadow: 0 0 12px rgba(102, 252, 241, 0.3);
}

.quiz-feedback {
    min-height: 32px;
    margin-bottom: 24px;
}

.quiz-result,
.incident-feedback,
.ctf-feedback,
.ctf-progress {
    font-size: 16px;
    font-weight: 600;
    color: #66fcf1;
    display: none;
}

.quiz-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.quiz-btn,
.quiz-submit,
.ctf-submit-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #45a29e, #16b3be);
    color: #0b0c10;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quiz-btn:hover,
.quiz-submit:hover,
.ctf-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(22, 179, 190, 0.3);
}

.quiz-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quiz-btn-next {
    background: linear-gradient(135deg, #45a29e, #16b3be);
}

.quiz-btn-submit {
    background: linear-gradient(135deg, #16b3be, #66fcf1);
}

/* Final Results Display */
.final-results {
    background: rgba(22, 179, 190, 0.08);
    border: 2px solid rgba(22, 179, 190, 0.3);
    padding: 28px;
    border-radius: 8px;
}

.final-results h3 {
    text-align: center;
    font-size: 24px;
    color: #66fcf1;
    margin-bottom: 20px;
}

.score-display {
    text-align: center;
    margin-bottom: 28px;
    padding: 20px;
    background: rgba(22, 179, 190, 0.1);
    border-radius: 6px;
}

.final-score {
    font-size: 20px;
    color: #c5c6c7;
    margin-bottom: 12px;
}

.final-score span {
    color: #66fcf1;
    font-weight: 700;
    font-size: 24px;
}

.score-percentage {
    font-size: 18px;
    color: #c5c6c7;
}

.score-percentage span {
    color: #45a29e;
    font-weight: 700;
}

.perfect-score {
    text-align: center;
    font-size: 18px;
    color: #66fcf1;
    padding: 20px;
    background: rgba(102, 252, 241, 0.1);
    border-radius: 6px;
    border-left: 4px solid #66fcf1;
}

.missed-section {
    margin-top: 28px;
}

.missed-section h4 {
    color: #dc7937;
    font-size: 16px;
    margin-bottom: 16px;
}

.missed-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.missed-item {
    background: #0b0c10;
    border-left: 4px solid #dc7937;
    padding: 16px;
    border-radius: 6px;
}

.missed-question {
    color: #c5c6c7;
    margin-bottom: 10px;
    font-weight: 600;
}

.user-answer {
    color: #e0e0e0;
    margin-bottom: 8px;
    padding-left: 12px;
    font-size: 14px;
}

.user-answer .wrong {
    color: #dc7937;
    font-weight: 700;
}

.correct-answer {
    color: #e0e0e0;
    padding-left: 12px;
    font-size: 14px;
}

.correct-answer .right {
    color: #66fcf1;
    font-weight: 700;
}

.quiz-result,
.incident-feedback,
.ctf-feedback,
.ctf-progress {
    font-size: 16px;
    font-weight: 600;
    margin-top: 16px;
    min-height: 24px;
    color: #66fcf1;
}

.incident-score,
.ctf-results {
    background: rgba(22, 179, 190, 0.15);
    padding: 24px;
    border-radius: 8px;
    margin-top: 24px;
    border: 1px solid rgba(22, 179, 190, 0.3);
    color: #66fcf1;
    text-align: center;
    font-weight: 600;
}

/* Light Mode Theme */
body.light-mode {
    background-color: #f5f5f5;
    color: #333;
}

body.light-mode .header {
    background: rgba(255, 255, 255, 0.8);
    border-bottom-color: rgba(22, 179, 190, 0.2);
}

body.light-mode .logo-text {
    background: linear-gradient(90deg, #16b3be, #45a29e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .nav-link {
    color: #333;
}

body.light-mode .nav-link:hover {
    color: #16b3be;
}

body.light-mode .theme-toggle {
    background: rgba(22, 179, 190, 0.2);
    border-color: #45a29e;
    color: #333;
}

body.light-mode .theme-toggle:hover {
    background: #45a29e;
    color: #fff;
}

body.light-mode .hero-title {
    background: linear-gradient(135deg, #16b3be, #45a29e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .hero-subtitle {
    color: #555;
}

body.light-mode .hero-description {
    color: #666;
}

body.light-mode .section h2 {
    color: #16b3be;
}

body.light-mode .section h2::after {
    background: linear-gradient(90deg, #45a29e, #16b3be);
}

body.light-mode .skill-box,
body.light-mode .project-item,
body.light-mode .cert-item {
    background: #fff;
    color: #333;
}

body.light-mode .skill-box {
    border-left-color: #16b3be;
}

body.light-mode .skill-label {
    color: #555;
}

body.light-mode .skill-bar {
    background: #e8e8e8;
}

body.light-mode .project-title {
    color: #16b3be;
}

body.light-mode .project-description {
    color: #555;
}

body.light-mode .tips-container {
    background: linear-gradient(135deg, #16b3be, #45a29e);
}

body.light-mode .quiz-container,
body.light-mode .simulator-container,
body.light-mode .ctf-container {
    background: #fff;
}

body.light-mode .quiz-option,
body.light-mode .incident-choice-btn {
    background: #f5f5f5;
    border-color: #16b3be;
    color: #333;
}

body.light-mode .quiz-option:hover,
body.light-mode .incident-choice-btn:hover {
    background: #16b3be;
    color: #fff;
}

body.light-mode .quiz-question,
body.light-mode .incident-scenario,
body.light-mode .ctf-challenge-text {
    color: #16b3be;
}

body.light-mode footer {
    background: #f0f0f0;
    color: #333;
    border-top: 1px solid #ddd;
}

body.light-mode .quiz-option.selected {
    background: #16b3be;
    color: #fff;
}

.quiz-submit {
    padding: 12px 25px;
    background: #45a29e;
    color: #0b0c10;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
}

.quiz-submit:hover {
    background: #66fcf1;
}

.quiz-result {
    font-size: 16px;
    font-weight: bold;
    margin-top: 15px;
    min-height: 20px;
    color: #66fcf1;
}

body.light-mode .quiz-result {
    color: #16b3be;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        padding: 60px 20px;
    }

    .section h2 {
        font-size: 28px;
    }

    .image-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .project-list {
        gap: 16px;
    }

    .quiz-container,
    .simulator-container,
    .ctf-container {
        padding: 20px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .dashboard-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 12px;
    }

    .section h2 {
        font-size: 24px;
    }

    .hero-title {
        font-size: 28px;
    }

    .quiz-option,
    .incident-choice-btn {
        padding: 12px 12px;
        font-size: 14px;
    }

    .tips-controls {
        flex-direction: column;
    }

    .tips-btn,
    .quiz-submit,
    .ctf-submit-btn {
        width: 100%;
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0b0c10, #1f2833);
    border-top: 2px solid rgba(22, 179, 190, 0.3);
    padding: 40px;
    text-align: center;
    margin-top: 60px;
}

footer p {
    color: #c5c6c7;
    font-size: 14px;
    margin: 8px 0;
}

footer a {
    color: #66fcf1;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #16b3be;
}

.footer-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #16b3be, transparent);
    margin: 20px auto;
}

/* Code Highlighting */
.hljs {
    background: #1a1f2e !important;
    color: #e0e0e0 !important;
}

.hljs-string { color: #66fcf1 !important; }
.hljs-number { color: #45a29e !important; }
.hljs-literal { color: #16b3be !important; }
.hljs-attr { color: #c5c6c7 !important; }
.hljs-keyword { color: #dc7937 !important; }
.hljs-title { color: #66fcf1 !important; }

body.light-mode .hljs {
    background: #f5f5f5 !important;
    color: #333 !important;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0b0c10;
}

::-webkit-scrollbar-thumb {
    background: #16b3be;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #66fcf1;
}

body.light-mode ::-webkit-scrollbar-track {
    background: #f5f5f5;
}

body.light-mode ::-webkit-scrollbar-thumb {
    background: #16b3be;
}

.toolbar-btn:hover {
    background: #66fcf1;
    transform: scale(1.05);
}

#network-canvas {
    box-shadow: 0 4px 12px rgba(22, 179, 190, 0.2);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #000;


    



    .quiz-option {
  background: #0b0c10;
  padding: 12px;
  margin: 8px 0;
  border: 2px solid #45a29e;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.quiz-option:hover {
  background: #16b3be;
  color: #0b0c10;
  transform: scale(1.02);
}

.quiz-option.selected {
  background: #66fcf1;
  color: #0b0c10;
  font-weight: bold;
  border-color: #66fcf1;
}
    