        :root {
            --primary: #00ff41;
            --secondary: #008f11;
            --dark: #0a0a0a;
            --darker: #000;
            --light: #d1ffd7;
            --gray: #1a1a1a;
            --glow: 0 0 10px rgba(0, 255, 65, 0.7);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Courier New', monospace;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            -webkit-touch-callout: none;
            -webkit-tap-highlight-color: transparent;
        }

        body {
            background-color: var(--dark);
            color: var(--primary);
            overflow-x: hidden;
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Security overlay to prevent screenshot tools */
        .security-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: transparent;
            z-index: 9999;
            pointer-events: none;
        }

        /* CRT screen effect */
        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                linear-gradient(rgba(18, 16, 16, 0.2) 50%,
                    rgba(0, 0, 0, 0.25) 50%),
                linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.03));
            background-size: 100% 3px, 3px 100%;
            pointer-events: none;
            z-index: 1000;
            opacity: 0.7;
        }

        /* Scanline animation */
        @keyframes scanline {
            0% {
                transform: translateY(-100%);
            }

            100% {
                transform: translateY(100%);
            }
        }

        .scanlines {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom,
                    transparent 0%,
                    rgba(0, 255, 65, 0.05) 50%,
                    transparent 100%);
            background-size: 100% 8px;
            animation: scanline 8s linear infinite;
            pointer-events: none;
            z-index: 1001;
            opacity: 0.3;
        }

        /* Terminal cursor */
        @keyframes blink {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0;
            }
        }

        .cursor {
            display: inline-block;
            width: 10px;
            height: 18px;
            background-color: var(--primary);
            animation: blink 1s infinite;
            vertical-align: middle;
            margin-left: 5px;
        }

        /* Device frame */
        .device {
            max-width: 1200px;
            margin: 2rem auto;
            border: 15px solid #333;
            border-radius: 20px;
            background: #111;
            box-shadow:
                0 0 30px rgba(0, 255, 65, 0.3),
                inset 0 0 20px rgba(0, 0, 0, 0.8);
            position: relative;
            overflow: hidden;
        }

        .device::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 40px;
            background: linear-gradient(to bottom, #222, #111);
            border-bottom: 2px solid #000;
            z-index: 10;
        }

        .device::after {
            content: 'CYBERSECURITY TERMINAL v2.4.1';
            position: absolute;
            top: 10px;
            right: 20px;
            /* Changed from left: 20px */
            color: var(--primary);
            font-size: 0.9rem;
            z-index: 11;
            text-shadow: var(--glow);
        }

        /* macOS-style traffic lights */
        .macos-lights {
            position: absolute;
            top: 15px;
            left: 20px;
            display: flex;
            gap: 8px;
            z-index: 11;
        }

        .macos-light {
            width: 12px;
            height: 12px;
            border-radius: 50%;

            transition: all 0.3s;
            position: relative;
        }

        .macos-light::after {

            position: absolute;
            top: 150%;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 5px 10px;
            border-radius: 3px;
            font-size: 0.8rem;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
        }

        .macos-light:hover::after {
            opacity: 1;
        }

        .macos-light-red {
            background: #ff5f56;
            border: 1px solid #e0443e;
        }

        .macos-light-yellow {
            background: #ffbd2e;
            border: 1px solid #dea123;
        }

        .macos-light-green {
            background: #27c93f;
            border: 1px solid #1aab29;
        }

        .macos-light-red:hover {
            background: #ff5f56;
            box-shadow: 0 0 5px #ff5f56;
        }

        .macos-light-yellow:hover {
            background: #ffbd2e;
            box-shadow: 0 0 5px #ffbd2e;
        }

        .macos-light-green:hover {
            background: #27c93f;
            box-shadow: 0 0 5px #27c93f;
        }

        /* Screen content */
        .screen {
            padding: 60px 30px 30px;
            min-height: 100vh;
            background: var(--darker);
            position: relative;
        }

        /* Header */
        header {
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(0, 255, 65, 0.3);
            padding-bottom: 1rem;
        }

        .logo {
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
            text-shadow: var(--glow);
        }

        .tagline {
            color: var(--secondary);
            margin-bottom: 1rem;
            min-height: 1.5rem;
            font-size: 1rem;
        }

        /* Typewriter effect for tagline */
        .typewriter {
            overflow: hidden;
            border-right: 2px solid var(--primary);
            white-space: nowrap;
            animation: blink-caret 0.75s step-end infinite;
        }

        @keyframes typing {
            from {
                width: 0
            }

            to {
                width: 100%
            }
        }

        @keyframes blink-caret {

            from,
            to {
                border-color: transparent
            }

            50% {
                border-color: var(--primary)
            }
        }

        .contact-info {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-top: 1rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
        }

        .contact-item i {
            color: var(--secondary);
        }

        /* Navigation */
        .nav {
            display: flex;
            gap: 1rem;
            margin: 2rem 0;
            flex-wrap: wrap;
        }

        .nav-item {
            padding: 0.5rem 1rem;
            background: rgba(0, 255, 65, 0.1);
            border: 1px solid var(--secondary);
            color: var(--light);
            text-decoration: none;
            border-radius: 3px;
            transition: all 0.3s;
            cursor: pointer;
        }

        .nav-item:hover {
            background: rgba(0, 255, 65, 0.3);
            box-shadow: var(--glow);
        }

        .nav-item.active {
            background: var(--primary);
            color: var(--dark);
            font-weight: bold;
        }

        /* Sections */
        .section {
            margin-bottom: 3rem;
            display: none;
        }

        .section.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .section-title {
            color: var(--primary);
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
            text-shadow: var(--glow);
            border-bottom: 1px solid var(--secondary);
            padding-bottom: 0.5rem;
        }

        /* About section */
        .about-text {
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .skills {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
        }

        .skill-item {
            background: rgba(0, 143, 17, 0.1);
            border: 1px solid var(--secondary);
            padding: 1rem;
            border-radius: 3px;
            transition: all 0.3s;
        }

        .skill-item:hover {
            background: rgba(0, 255, 65, 0.1);
            box-shadow: var(--glow);
        }

        .skill-title {
            color: var(--primary);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .skill-title i {
            color: var(--secondary);
        }

        /* Experience section */
        .job {
            margin-bottom: 2rem;
            background: rgba(0, 143, 17, 0.1);
            border: 1px solid var(--secondary);
            padding: 1.5rem;
            border-radius: 3px;
        }

        .job-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .job-title {
            color: var(--primary);
            font-size: 1.2rem;
        }

        .job-company {
            color: var(--secondary);
        }

        .job-date {
            color: var(--light);
            opacity: 0.8;
        }

        .job-responsibilities {
            list-style-type: none;
        }

        .job-responsibilities li {
            margin-bottom: 0.5rem;
            position: relative;
            padding-left: 1.5rem;
        }

        .job-responsibilities li::before {
            content: '>';
            position: absolute;
            left: 0;
            color: var(--secondary);
        }

        /* Certifications section */
        .certs {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1rem;
        }

        .cert {
            background: rgba(0, 143, 17, 0.1);
            border: 1px solid var(--secondary);
            padding: 1.5rem;
            border-radius: 3px;
            transition: all 0.3s;
        }

        .cert:hover {
            background: rgba(0, 255, 65, 0.1);
            box-shadow: var(--glow);
        }

        .cert-title {
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        .cert-issuer {
            color: var(--secondary);
            margin-bottom: 0.5rem;
            display: block;
        }

        .cert-date {
            color: var(--light);
            opacity: 0.8;
            font-size: 0.9rem;
        }

        /* Contact section */
        .contact-form {
            max-width: 600px;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--primary);
        }

        .form-control {
            width: 100%;
            padding: 0.8rem;
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid var(--secondary);
            color: var(--light);
            font-family: 'Courier New', monospace;
            border-radius: 3px;
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
            user-select: text;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: var(--glow);
        }

        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }

        .btn {
            background: var(--primary);
            color: var(--dark);
            border: none;
            padding: 0.8rem 1.5rem;
            font-family: 'Courier New', monospace;
            font-weight: bold;
            border-radius: 3px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn:hover {
            box-shadow: var(--glow);
            transform: translateY(-2px);
        }

        /* Command prompt */
        .prompt {
            position: fixed;
            bottom: 20px;
            left: 30px;
            right: 30px;
            background: rgba(0, 0, 0, 0.7);
            border: 1px solid var(--secondary);
            border-radius: 3px;
            padding: 0.8rem;
            display: flex;
            flex-direction: column;
            z-index: 100;
        }

        .prompt-prefix {
            color: var(--primary);
            margin-right: 0.5rem;
            white-space: nowrap;
        }

        .prompt-input {
            flex: 1;
            background: transparent;
            border: none;
            color: var(--light);
            font-family: 'Courier New', monospace;
            font-size: 1rem;
            outline: none;
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
            user-select: text;
        }

        #terminalOutput {
            max-height: 150px;
            overflow-y: auto;
            margin-bottom: 10px;
            color: var(--light);
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
            line-height: 1.4;

        }

        #terminalOutput div {
            margin-bottom: 5px;
            white-space: pre-wrap;
        }


        /* Security warning */
        .security-warning {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(255, 0, 0, 0.9);
            color: white;
            padding: 2rem;
            border-radius: 10px;
            z-index: 10000;
            text-align: center;
            display: none;
            box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
        }

        .success-message {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 255, 4, 0.9);
            color: white;
            padding: 2rem;
            border-radius: 10px;
            z-index: 10000;
            text-align: center;
            display: none;
            box-shadow: 0 0 20px rgba(60, 203, 3, 0.5);
        }

        /* Skill categories */
        .skill-category {
            margin-bottom: 2rem;
        }

        .skill-category-title {
            color: var(--primary);
            margin-bottom: 1rem;
            font-size: 1.2rem;
            border-left: 3px solid var(--secondary);
            padding-left: 10px;
        }

        .skill-list {
            list-style-type: none;
        }

        .skill-list li {
            margin-bottom: 0.5rem;
            position: relative;
            padding-left: 1.5rem;
        }

        .skill-list li::before {
            content: '>';
            position: absolute;
            left: 0;
            color: var(--secondary);
        }

        /* Responsive styles */
        @media (max-width: 768px) {
            .device {
                margin: 0;
                border-radius: 0;
                border-width: 10px;
            }

            .screen {
                padding: 60px 15px 80px;
            }

            .skills,
            .certs {
                grid-template-columns: 1fr;
            }

            .prompt {
                left: 15px;
                right: 15px;
            }
        }

        .terminal-container {
            max-height: 300px;
            /* or any height you want */
            overflow-y: auto;
            background-color: #1e1e1e;
            padding: 10px;
            color: #fff;
            font-family: monospace;
            border: 1px solid #444;
            border-radius: 5px;
        }

        .prompt-line {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            margin-bottom: 5px;
            overflow-x: auto;
        }

        .prompt-prefix {
            margin-right: 8px;
            color: #00ff00;
        }

        .prompt-input {
            background: transparent;
            border: none;
            outline: none;
            color: #fff;
            flex-grow: 1;
            font-family: monospace;
        }

        /* Resume Button Styles */





        /* Scrollbar Width */
        ::-webkit-scrollbar {
            width: 1px;
        }

        /* Scrollbar Track */
        ::-webkit-scrollbar-track {
            background: var(--gray);
            box-shadow: inset 0 0 5px rgba(0, 255, 65, 0.1);
            border-radius: 10px;
        }

        /* Scrollbar Thumb */
        ::-webkit-scrollbar-thumb {
            background: linear-gradient(to bottom, var(--primary), var(--secondary));
            border-radius: 10px;
            box-shadow: var(--glow);
            transition: background 0.3s ease, box-shadow 0.3s ease;
        }

        /* Scrollbar Thumb on Hover */
        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(to bottom, #00e639, #006b0f);
            box-shadow: 0 0 12px rgba(0, 255, 65, 0.9);
        }




        /* Terminal Popup Styles */
        .terminal-popup {
            position: fixed;
            bottom: 100px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 20, 5, 0.9);
            border: 1px solid var(--primary);
            border-radius: 5px;
            padding: 15px 25px;
            z-index: 1002;
            box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
            animation: slideUp 0.3s ease-out;
            max-width: 80%;
            text-align: center;
        }

        .popup-content {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .popup-icon {
            font-size: 1.2rem;
        }

        .popup-message {
            font-size: 0.9rem;
        }

        .terminal-popup.success {
            border-color: var(--primary);
            color: var(--primary);
        }

        .terminal-popup.error {
            border-color: #ff3333;
            color: #ff3333;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translate(-50%, 20px);
            }

            to {
                opacity: 1;
                transform: translate(-50%, 0);
            }
        }

        @keyframes fadeOut {
            from {
                opacity: 1;
            }

            to {
                opacity: 0;
            }
        }







  .mobile-notice {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background:black; /* Professional blue color */
    color: rgb(255, 255, 255);
    padding: 2rem;
    border-radius: 10px;
    z-index: 10000;
    text-align: center;
    display: none;
    box-shadow: 0 0 20px rgb(98, 216, 25);
    max-width: 80%;
    width: 300px;
}

.mobile-notice h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.mobile-notice p {
    margin: 1rem 0;
    line-height: 1.5;
}

/* Add this to your existing CSS */
.form-control.error {
    border-color: #ff3333 !important;
    box-shadow: 0 0 5px rgba(255, 51, 51, 0.5) !important;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.terminal-status {
    margin-bottom: 20px;
    color: #00ff66;
    font-size: 14px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #00ff66;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff66;
}

.quick-contact {
    margin-bottom: 25px;
    line-height: 1.8;
}

.quick-contact p {
    margin-bottom: 6px;
}

.terminal-footer-note {
    margin-top: 20px;
    color: #00cc55;
    font-size: 13px;
}

.terminal-command-hint {
    margin-top: 10px;
    color: #00aa44;
    font-size: 12px;
    opacity: 0.8;
}