/* ================================
       Beginning Global Styles Section
================================ */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Fira Mono', 'Consolas', 'Courier New', monospace;
            background: #0a1a3a;
            color: #e3e8f7;
            line-height: 1.6;
            min-height: 100vh;
            margin: 0;
            padding: 0;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        /* ================================
           End Global Styles Section
        ================================ */

        /* ================================
           Beginning Header Section
        ================================ */
        header {
            padding: 20px 0;
            border-bottom: 1px solid #333;
            position: sticky;
            top: 0;
            z-index: 100;
            background: linear-gradient(135deg, #182E6F 0%, #0a1a3a 100%);
        }
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
        .logo {
            font-size: 24px;
            font-weight: bold;
            color: #ffffff;
        }
        .nav-links {
            display: flex;
            list-style: none;
            gap: 30px;
        }
        .nav-links a {
            color: #ffffff;
            text-decoration: none;
            transition: color 0.3s ease;
            position: relative;
        }
        .nav-links a:hover {
            color: #cccccc;
        }
        .nav-links a:before {
            content: '> ';
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .nav-links a:hover:before {
            opacity: 1;
        }
        /* ================================
           End Header Section
        ================================ */

        /* ================================
           Beginning Hero Section
        ================================ */
        .hero {
            text-align: center;
            padding: 80px 0;
            background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
        }
        .avatar {
            width: 180px;
            height: 180px;
            margin: 0 auto 30px;
            border-radius: 50%;
            background: #232b4e;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 32px rgba(24,46,111,0.25);
            border: 4px solid #00d4ff;
            transition: box-shadow 0.3s;
        }
        .avatar img {
            width: 160px;
            height: 160px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #ffffff;
        }
        .terminal-prompt {
            font-size: 18px;
            margin-bottom: 10px;
            color: #cccccc;
        }
        .typing-animation {
            font-size: 36px;
            font-weight: bold;
            margin-bottom: 20px;
            min-height: 50px;
        }
        .cursor {
            animation: blink 1s infinite;
        }
        @keyframes blink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0; }
        }
        .hero-description {
            font-size: 20px;
            max-width: 600px;
            margin: 0 auto 40px;
            color: #cccccc;
        }
        .cta-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .btn {
            padding: 12px 30px;
            background: transparent;
            border: 2px solid #ffffff;
            color: #ffffff;
            text-decoration: none;
            transition: all 0.3s ease;
            font-family: 'Fira Mono', 'Consolas', 'Courier New', monospace;
        }
        .btn:hover {
            background: #ffffff;
            color: #182E6F;
            transform: translateY(-2px);
        }
        /* ================================
           End Hero Section
        ================================ */

        /* ================================
           Beginning About Section
        ================================ */
        section {
            padding: 80px 0;
        }
        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }
        .section-title {
            font-size: 32px;
            margin-bottom: 10px;
            position: relative;
        }
        .section-title:before {
            content: '$ ';
            color: #ffffff;
        }
        .section-subtitle {
            color: #cccccc;
            font-size: 18px;
        }
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        .about-text {
            font-size: 18px;
            color: #cccccc;
        }
        .about-stats {
            background: rgba(0,0,0,0.3);
            padding: 40px;
            border: 1px solid #333;
            border-radius: 10px;
            box-shadow: 0 4px 24px rgba(24,46,111,0.12);
            transition: box-shadow 0.3s;
        }
        .about-stats:hover {
            box-shadow: 0 8px 32px rgba(0,212,255,0.18);
            border-color: #00d4ff;
        }
        .stat-item {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid #333;
        }
        .stat-item:last-child {
            border-bottom: none;
        }
        .stat-label {
            color: #cccccc;
        }
        .stat-value {
            color: #ffffff;
            font-weight: bold;
        }
        /* ================================
           End About Section
        ================================ */

        /* ================================
           Certifications Section Styles
        ================================ */
        /* Container for the certifications section */
        #certifications {
            padding: 80px 0;
        }

        /* Logo grid for certifications */
        .certifications-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 32px;
            justify-content: center;
            align-items: center;
            margin-top: 40px;
        }

        /* Individual certification logo styling */
        .cert-logo {
            width: 120px;
            height: 120px;
            object-fit: contain;
            background: #232b4e;
            border-radius: 16px;
            box-shadow: 0 2px 12px rgba(24,46,111,0.18);
            padding: 16px;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .cert-logo:hover {
            transform: scale(1.08);
            box-shadow: 0 8px 32px rgba(0,212,255,0.18);
            background: #263a6f;
        }
        /* ================================
           End Certifications Section
        ================================ */

        /* ================================
           Beginning Skills Section
        ================================ */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        .skill-category {
            background: rgba(0,0,0,0.3);
            padding: 30px;
            border: 1px solid #333;
            border-radius: 10px;
            box-shadow: 0 4px 24px rgba(24,46,111,0.12);
            transition: box-shadow 0.3s;
        }
        .skill-category:hover {
            box-shadow: 0 8px 32px rgba(0,212,255,0.18);
            border-color: #00d4ff;
        }
        .skill-category h3 {
            color: #ffffff;
            margin-bottom: 20px;
            font-size: 20px;
        }
        .skill-category h3:before {
            content: '# ';
        }
        .skill-list {
            list-style: none;
        }
        .skill-list li {
            padding: 5px 0;
            color: #cccccc;
        }
        .skill-list li:before {
            content: '- ';
            color: #ffffff;
        }
        /* ================================
           End Skills Section
        ================================ */

        /* ================================
           Beginning WriteUps Section
        ================================ */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }
        .blog-card {
            background: rgba(0,0,0,0.3);
            border: 1px solid #333;
            padding: 30px;
            border-radius: 10px;
            transition: transform 0.3s ease, box-shadow 0.3s;
            box-shadow: 0 4px 24px rgba(24,46,111,0.12);
        }
        .blog-card:hover {
            transform: translateY(-5px);
            border-color: #ffffff;
            box-shadow: 0 8px 32px rgba(0,212,255,0.18);
        }
        .blog-meta {
            color: #cccccc;
            font-size: 14px;
            margin-bottom: 15px;
        }
        .blog-title {
            font-size: 20px;
            margin-bottom: 15px;
            color: #ffffff;
        }
        .blog-excerpt {
            color: #cccccc;
            margin-bottom: 20px;
        }
        .read-more {
            color: #ffffff;
            text-decoration: none;
            font-weight: bold;
        }
        .read-more:hover {
            text-decoration: underline;
        }
        /* ================================
           End WriteUps Section
        ================================ */

        /* ================================
           Beginning Contact Section
        ================================ */
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            text-align: center;
        }
        .contact-item {
            padding: 30px;
            background: rgba(0,0,0,0.3);
            border: 1px solid #333;
            border-radius: 10px;
            box-shadow: 0 4px 24px rgba(24,46,111,0.12);
            transition: box-shadow 0.3s;
        }
        .contact-item:hover {
            box-shadow: 0 8px 32px rgba(0,212,255,0.18);
            border-color: #00d4ff;
        }
        .contact-item h3 {
            margin-bottom: 15px;
            color: #ffffff;
            font-family: 'Fira Mono', 'Consolas', 'Courier New', monospace;
        }
        .contact-item a {
            color: #cccccc;
            text-decoration: none;
        }
        .contact-item a:hover {
            color: #ffffff;
        }
        /* ================================
           End Contact Section
        ================================ */

        /* ================================
           Beginning Footer Section
        ================================ */
        footer {
            text-align: center;
            padding: 40px 0;
            border-top: 1px solid #333;
            color: #cccccc;
        }
        /* ================================
           End Footer Section
        ================================ */

        /* ================================
           Beginning Responsive Section
        ================================ */
        @media (max-width: 900px) {
            .container-flex {
                flex-direction: column;
            }
            .side-panel {
                position: static;
                margin-bottom: 32px;
            }
            .widget {
                flex-direction: column;
                gap: 18px;
                padding: 18px 8px;
            }
            .widget-logo {
                width: 100px;
                margin-bottom: 12px;
            }
            .container {
                padding: 18px 8px;
            }
        }
        @media (max-width: 768px) {
            .nav-links {
                gap: 20px;
            }
            .hero {
                padding: 60px 0;
            }
            .typing-animation {
                font-size: 28px;
            }
            .about-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
        }
        /* ================================
           End Responsive Section
        ================================ */

        /* ================================
           Navigating Panel + Main Content
        ================================ */
        .container-flex {
            display: flex;
            gap: 32px;
            max-width: 1800px;
            margin: 40px auto;
            padding: 0 16px;
            justify-content: center;
            align-items: flex-start;
        }
        /* Navigating Panel styles */
        .side-panel {
            flex: 0 0 auto;
            background: rgba(24,46,111,0.18);
            border-radius: 14px;
            padding: 32px 18px;      /* Increased horizontal padding */
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 24px;
            height: fit-content;
            position: sticky;
            top: 40px;
            box-shadow: 0 2px 12px rgba(24,46,111,0.10);
            min-width: 160px;        /* Increased min-width for longer buttons */
            max-width: 260px;        /* Optional: prevent panel from getting too wide */
            margin-right: 0;
        }
        .avatar-container {
            width: 72px;
            height: 72px;
            margin-bottom: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .side-avatar {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            box-shadow: 0 2px 12px rgba(24,46,111,0.18);
            background: #232b4e;
            object-fit: cover;
        }
        .side-btn {
            display: block;
            width: auto;
            min-width: 140px;        /* Increased min-width for longer labels */
            max-width: 100%;         /* Prevent overflow */
            padding: 18px 32px;      /* More padding for bigger buttons */
            background: #232b4e;
            color: #5ad1ff;
            text-align: center;
            border-radius: 10px;
            font-size: 1.3rem;
            text-decoration: none;
            font-family: inherit;
            font-weight: bold;
            transition: background 0.2s, color 0.2s;
            box-shadow: 0 1px 6px rgba(24,46,111,0.10);
            margin-bottom: 10px;
            white-space: normal;
            word-break: break-word;
        }
        /* Main content styles */
        .container {
            flex: 3;
            padding: 0;
            background: none;
            box-shadow: none;
            border-radius: 0;
        }
        /* Widget styles */
        .widget {
            background: #232b4e;
            border-radius: 16px;
            box-shadow: 0 2px 12px rgba(24,46,111,0.18);
            margin-bottom: 40px;
            padding: 32px 28px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 32px;
        }
        .widget-content {
            flex: 1;
        }
        .widget-logo {
            flex-shrink: 0;
            width: 120px;
            max-width: 30vw;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .widget-logo img {
            width: 170px;
            height: auto;
            border-radius: 12px;
            box-shadow: 0 2px 12px rgba(24,46,111,0.18);
            background: #232b4e;
        }
        .widget-title {
            font-size: 2rem;
            color: #5ad1ff;
            margin-bottom: 18px;
            letter-spacing: 1px;
            font-family: inherit;
            font-weight: bold;
        }
        .widget-desc {
            font-size: 1.1rem;
            color: #b3c2e6;
            margin-bottom: 12px;
            font-family: inherit;
        }
        .writeups-count {
            font-size: 1rem;
            color: #5ad1ff;
            margin-bottom: 18px;
            font-family: inherit;
        }
        .writeups-list {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }
        .writeup-card {
            background: #20253e;
            border-radius: 10px;
            padding: 18px 20px;
            box-shadow: 0 1px 6px rgba(24,46,111,0.10);
            color: #e3e8f7;
            font-family: inherit;
        }
        /* Widget link styles */
        .widget-link {
            text-decoration: none;
            color: inherit;
            display: block;
            transition: transform 0.15s, box-shadow 0.15s;
        }

        .widget-link:hover .widget,
        .widget-link:focus .widget {
            box-shadow: 0 4px 24px rgba(90,209,255,0.25), 0 2px 12px rgba(24,46,111,0.18);
            transform: translateY(-4px) scale(1.02);
            background: #263a6f;
        }

        .widget-link:active .widget {
            transform: scale(0.98);
        }

        /* Ensure widgets remain visually consistent */
        .widget {
            cursor: pointer;
        }
        .code-widget {
            margin-bottom: 32px;
            position: relative;
        }
        .code-label {
            font-family: 'Fira Mono', 'Consolas', 'Courier New', monospace;
            font-size: 1rem;
            color: #00d4ff;
            background: #232b4e;
            padding: 4px 12px;
            border-radius: 8px 8px 0 0;
            font-weight: bold;            /* Make the TryHackMe Walkthroughs button larger and highlighted */
            .side-panel .side-btn:nth-child(4) {
                font-size: 1.3rem;
                padding: 18px 0;
                background: #00d4ff;
                color: #182E6F;
                font-weight: bold;
                border: 2px solid #00d4ff;
                box-shadow: 0 2px 12px rgba(24,46,111,0.18);
                transition: background 0.2s, color 0.2s;
            }
            
            .side-panel .side-btn:nth-child(4):hover {
                background: #5ad1ff;
                color: #232b4e;
                border-color: #5ad1ff;
            }
            letter-spacing: 1px;
            display: block;
            text-align: center; /* Center the label */
            margin-bottom: -4px;
        }
        .code-widget pre {
            margin-top: 0;
            border-radius: 0 0 8px 8px;
        }

        /* Table of Contents Panel */
        .toc-panel {
            position: sticky;
            top: 40px;
            align-self: flex-start;
            background: rgba(24,46,111,0.18);
            border-radius: 14px;
            padding: 32px 18px;
            margin-left: 32px;
            min-width: 220px;
            max-width: 260px;
            box-shadow: 0 2px 12px rgba(24,46,111,0.10);
            color: #b3c2e6;
            font-family: 'Fira Mono', 'Consolas', 'Courier New', monospace;
            height: fit-content;
        }
        .toc-header {
            font-size: 1.2rem;
            font-weight: bold;
            color: #00d4ff;
            margin-bottom: 18px;
            text-align: center;
        }
        .toc-list {
            list-style: none;
            padding-left: 0;
            font-size: 1rem;
        }
        .toc-list li {
            margin-bottom: 10px;
        }
        .toc-list a {
            color: #b3c2e6;
            text-decoration: none;
            transition: color 0.2s;
        }
        .toc-list a:hover {
            color: #00d4ff;
            text-decoration: underline;
        }
        .toc-list ul {
            margin-left: 18px;
            margin-top: 6px;
        }
        @media (max-width: 1100px) {
            .toc-panel {
                display: none;
            }
        }