/* ==========================================================================
   1. COLOR VARIABLES & THEME SETUP (Premium Pure Dark Obsidian Theme)
   ========================================================================== */

:root {
    --bg-dark: #030712;           /* Deep dark obsidian base color */
    --bg-alt: #090d16;            /* Tech Charcoal for alternative sections */
    --card-bg: rgba(13, 18, 30, 0.7); /* Premium glassmorphism grey card */
    --card-border: rgba(255, 255, 255, 0.05);
    --primary: #6366f1;           /* Indigo Accent */
    --secondary: #06b6d4;         /* Cyan Accent */
    --pink-accent: #d946ef;       /* Pink neon spot */
    --text-primary: #f3f4f6;      /* Off-white readable text */
    --text-muted: #9ca3af;         /* Muted grey subtext */
    --success: #10b981;           /* Success Emerald */
    --error: #ef4444;             /* Crimson error */
    --ide-bg: #090d16;
    --console-bg: #02040a;
    --console-text: #a7f3d0;
    --badge-bg: rgba(99, 102, 241, 0.08);
    --badge-border: rgba(99, 102, 241, 0.18);
    
    --font-heading: 'Space Grotesque', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --theme-transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                        color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                        border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Core box model setting */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-dark);
}

body {
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Lock scroll while preloader terminal animation processes */
body.is-loading {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Custom Premium neon scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
}

/* Accessible focus styling rules */
*:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   2. INTERACTIVE CANVAS PARTICLE ENGINE BG
   ========================================================================== */

#canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ==========================================================================
   3. CYBERPUNK TERMINAL PRELOADER
   ========================================================================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #030712;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 24px;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#preloader::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.05), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.05));
    z-index: 100000;
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.08);
}

.terminal-loader {
    width: 100%;
    max-width: 540px;
    background-color: #05070c;
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 
                0 0 50px rgba(99, 102, 241, 0.12);
    overflow: hidden;
    font-family: 'Space Grotesque', monospace;
}

.terminal-header {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.terminal-dot.red { background-color: #ef4444; }
.terminal-dot.yellow { background-color: #fbbf24; }
.terminal-dot.green { background-color: #10b981; }

.terminal-title {
    color: #9ca3af;
    font-size: 0.8rem;
    margin-left: auto;
    font-weight: 500;
}

.terminal-body {
    padding: 28px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #05070c;
}

.terminal-line {
    font-size: 0.95rem;
    color: #38bdf8;
    display: flex;
    align-items: center;
}

.terminal-prompt {
    color: var(--secondary);
    margin-right: 10px;
    font-weight: 600;
}

.terminal-cursor {
    color: #f3f4f6;
    font-weight: 700;
    animation: blink-cursor 0.8s infinite alternate;
}

.text-accent {
    color: var(--secondary);
}

@keyframes blink-cursor {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.terminal-console {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    color: #e5e7eb;
}

.console-output {
    display: flex;
    gap: 10px;
    font-family: monospace;
}

.console-output.ok { color: var(--success); }
.console-output.load { color: #9ca3af; }

/* ==========================================================================
   4. SCROLL PROGRESS INDICATOR
   ========================================================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--pink-accent));
    width: 0%;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.8);
    transition: width 0.1s ease-out;
}

/* ==========================================================================
   5. FLOATING SIDEBAR NAVIGATION (Desktop Only)
   ========================================================================== */

.side-navigation {
    position: fixed;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 100;
}

.side-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: pointer;
}

.side-nav-dot:hover,
.side-nav-dot.active {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--secondary);
}

.side-nav-dot::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: var(--ide-bg);
    border: 1px solid var(--card-border);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.side-nav-dot:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0px);
}

@media (max-width: 1024px) {
    .side-navigation {
        display: none;
    }
}

/* ==========================================================================
   6. HEADER & NAVIGATION MENU
   ========================================================================== */

.header {
    background-color: rgba(2, 4, 10, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: -1.5px;
}

.logo-dot {
    color: var(--secondary);
}

.nav-right-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 28px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.contact-nav-btn {
    background-color: rgba(255, 255, 255, 0.04);
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid var(--card-border);
}

.contact-nav-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: #ffffff !important;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.hamburger-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .hamburger-btn {
        display: flex;
    }

    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-dark);
        border-left: 1px solid var(--card-border);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 32px 40px;
        gap: 24px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1005;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .navbar.mobile-active {
        right: 0;
    }

    .nav-link {
        margin-left: 0;
        width: 100%;
        text-align: left;
        font-size: 1.1rem;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .hamburger-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-btn.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* ==========================================================================
   7. HERO SECTION & ENTRANCE ANIMATION (Extra Airy Padding)
   ========================================================================== */

.hero-section {
    padding: 180px 0 200px 0;    /* Expanded padding for spacious tech landing */
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-container {
    display: flex;
    justify-content: center;
}

.hero-content {
    max-width: 850px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--badge-bg);
    border: 1px solid var(--badge-border);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 36px;       /* Increased breathing gap */
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--secondary);
    animation: glow-pulse 1.8s infinite alternate;
}

@keyframes glow-pulse {
    0% { transform: scale(0.85); box-shadow: 0 0 0 rgba(6, 182, 212, 0); }
    100% { transform: scale(1.15); box-shadow: 0 0 12px var(--secondary); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2.5px;
    margin-bottom: 32px;       /* Spacious element gap */
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--pink-accent) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 32px;       /* Airy gap */
    font-weight: 600;
    line-height: 1.4;
}

.swapper-highlight {
    color: var(--primary);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 2px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 54px;       /* Expanded bottom spacing */
    font-weight: 300;
    line-height: 1.95;         /* Ultra readable line height */
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;                 /* Spacious gap */
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.btn-accent-glow {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--secondary);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

.btn-accent-glow:hover {
    background-color: var(--secondary);
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.animate-item {
    opacity: 0;
    transform: translateY(30px);
}

body.loaded .animate-item {
    animation: slideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.loaded .hero-content .animate-item:nth-child(1) { animation-delay: 0.1s; }
body.loaded .hero-content .animate-item:nth-child(2) { animation-delay: 0.25s; }
body.loaded .hero-content .animate-item:nth-child(3) { animation-delay: 0.4s; }
body.loaded .hero-content .animate-item:nth-child(4) { animation-delay: 0.55s; }
body.loaded .hero-content .animate-item:nth-child(5) { animation-delay: 0.7s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   8. ABOUT ME SECTION (Generous Grids & Airy Gaps)
   ========================================================================== */

.section {
    padding: 160px 0;             /* Expanded global padding for spacious layout */
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 90px;         /* Increased margin below title */
    letter-spacing: -1px;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 16px auto 0 auto;     /* Spaced out line */
    border-radius: 2px;
}

.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;                   /* Highly airy column gaps */
    align-items: center;
}

.about-image-container {
    flex: 1;
    min-width: 320px;
    display: flex;
    justify-content: center;
}

.image-frame-glow {
    position: relative;
    padding: 6px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--pink-accent));
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-frame-glow:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.35);
}

.image-frame {
    background-color: var(--bg-dark);
    padding: 6px;
    border-radius: 18px;
}

.profile-img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.about-content {
    flex: 1.3;
    min-width: 320px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.95;           /* Premium readability */
    margin-bottom: 32px;         /* Spaced out sentences */
}

.tilt-target {
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
}

.details-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 48px;               /* Enhanced internal padding */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    transform: translateZ(30px);
}

.card-icon {
    font-size: 1.5rem;
}

.card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-primary);
}

.details-list {
    list-style: none;
    transform: translateZ(20px);
}

.details-list li {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;             /* Airy list lines */
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.95rem;
}

.details-list li:last-child {
    border-bottom: none;
}

.details-list .label {
    color: var(--text-muted);
}

.details-list .value {
    color: var(--text-primary);
    font-weight: 600;
}

/* ==========================================================================
   9. SKILLS SECTION
   ========================================================================== */

.skills-container-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;                   /* Spacious card gaps */
}

.skills-category-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 48px;               /* Enhanced interior spacing */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.title-decor {
    display: inline-block;
    width: 6px;
    height: 18px;
    background-color: var(--secondary);
    border-radius: 3px;
}

.skills-tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;                   /* Spaced out badges */
    transform: translateZ(20px);
}

.skill-badge {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.skills-category-card:hover .skill-badge {
    border-color: rgba(99, 102, 241, 0.2);
}

.skill-badge:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
    border-color: var(--secondary) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   10. WHAT I DO (SERVICES) SECTION
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;                   /* Airier grids */
}

.service-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 48px 40px;          /* Luxurious padding configuration */
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.service-icon {
    font-size: 2.25rem;
    margin-bottom: 28px;
    transform: translateZ(25px);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 16px;       /* Added padding space */
    color: var(--text-primary);
    transform: translateZ(20px);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;            /* Premium height */
    transform: translateZ(15px);
}

.service-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.12);
}

/* ==========================================================================
   11. EXPERIENCE SECTION
   ========================================================================== */

.timeline-container {
    max-width: 850px;
    margin: 0 auto;
}

.timeline-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 48px;               /* Enhanced spacious card interior */
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    position: relative;
    border-left: 4px solid var(--primary);
}

.timeline-date {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.timeline-role {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.timeline-company {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 32px;         /* Airier gap */
}

.timeline-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.95;
}

.timeline-achievements {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;                   /* Spacious timeline points gap */
}

.timeline-achievements li {
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 24px;          /* Generous left padding */
    line-height: 1.7;
}

.timeline-achievements li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* ==========================================================================
   12. ENTREPRENEURSHIP & DIGITAL COMMERCE
   ========================================================================== */

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: -60px;           /* Corrected title margin offsets */
    margin-bottom: 90px;         /* Expansive spacing beneath subheadings */
    font-weight: 300;
}

.business-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;                   /* Wider gaps */
}

.business-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 48px;               /* Enhanced padding */
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--pink-accent));
}

.b-icon {
    font-size: 2.25rem;
    margin-bottom: 28px;
}

.business-card h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.business-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.business-card:hover {
    border-color: rgba(6, 182, 212, 0.25);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.1);
}

/* ==========================================================================
   13. PROJECTS SECTION
   ========================================================================== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;                   /* High-breathability spacing */
}

.project-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    height: 280px;               /* Taller card */
    display: flex;
    align-items: flex-end;
    padding: 40px;               /* Generous spacing inside project card */
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.interactive-project {
    cursor: pointer;
    border-color: rgba(99, 102, 241, 0.2);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(2, 4, 10, 0) 40%, rgba(2, 4, 10, 0.95) 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

.project-badge {
    position: absolute;
    top: 28px;
    right: 28px;
    background-color: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 6px 14px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    z-index: 3;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 16px 36px rgba(6, 182, 212, 0.18);
}

.project-card:hover .project-badge {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover .project-overlay {
    background: linear-gradient(180deg, rgba(2, 4, 10, 0.1) 0%, rgba(2, 4, 10, 0.98) 100%);
}

.project-info {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    transform: translateZ(25px);
}

.project-card:hover .project-info {
    transform: translateY(-4px);
}

.project-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--secondary);
    display: block;
    margin-bottom: 12px;
}

.project-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   14. INTERACTIVE ONLINE CODE PLAYGROUND
   ========================================================================== */

.playground-intro {
    text-align: center;
    margin-bottom: 60px;         /* Clearer gap under playground introduction */
}

.playground-intro h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.playground-intro p {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto;
}

.ide-wrapper {
    background-color: var(--ide-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.ide-header {
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--card-border);
    padding: 18px 24px;          /* Airier panel controls padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.ide-dots {
    display: flex;
    gap: 8px;
}

.ide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.ide-dot.red { background-color: #ef4444; }
.ide-dot.yellow { background-color: #fbbf24; }
.ide-dot.green { background-color: #10b981; }

.ide-controls {
    display: flex;
    align-items: center;
    gap: 16px;                   /* Spacious inline control buttons */
    flex-wrap: wrap;
}

.ide-select {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    padding: 10px 16px;          /* Airy inputs spacing */
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.ide-btn {
    padding: 10px 20px;          /* Luxurious buttons padding */
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.ide-btn.secondary-btn {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border-color: var(--card-border);
}

.ide-btn.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--text-muted);
}

.ide-btn.reset-btn {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border-color: rgba(239, 68, 68, 0.2);
}

.ide-btn.reset-btn:hover {
    background-color: var(--error);
    color: #ffffff;
    border-color: transparent;
}

.ide-editor-container {
    display: flex;
    border-bottom: 1px solid var(--card-border);
}

.line-numbers {
    padding: 24px 14px;          /* Airier line numbers padding */
    background-color: rgba(0,0,0,0.15);
    color: var(--text-muted);
    font-family: monospace;
    font-size: 0.9rem;
    text-align: right;
    user-select: none;
    display: flex;
    flex-direction: column;
    min-width: 48px;
    border-right: 1px solid var(--card-border);
}

.ide-textarea {
    flex: 1;
    background-color: transparent;
    border: none;
    resize: none;
    color: var(--text-primary);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    padding: 24px;               /* High-contrast editor spacing padding */
    min-height: 320px;           /* Taller workspace editor frame */
    line-height: 1.6;
}

.ide-textarea:focus {
    outline: none;
}

.ide-input-panel {
    border-bottom: 1px solid var(--card-border);
    padding: 20px 24px;          /* Generous input space */
    background-color: rgba(0,0,0,0.05);
}

.panel-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.ide-input-textarea {
    width: 100%;
    min-height: 70px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: monospace;
    font-size: 0.9rem;
    padding: 12px 16px;
    resize: vertical;
}

.ide-input-textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.ide-footer {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
    background-color: rgba(0,0,0,0.05);
}

.run-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.loader-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.execution-status {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ide-console {
    padding: 24px;               /* Spaced out Console area */
    background-color: var(--console-bg);
}

.console-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.console-output-area {
    width: 100%;
    background-color: #02040a;
    color: var(--console-text);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    padding: 20px;               /* Airy Console Inner Screen */
    border-radius: 8px;
    min-height: 140px;           /* Taller Console Screen */
    max-height: 280px;
    overflow-y: auto;
    white-space: pre-wrap;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.5);
    border: 1px solid var(--card-border);
}

/* ==========================================================================
   15. EDUCATION SECTION
   ========================================================================== */

.education-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;          /* Airier margin line offset spacing */
}

.education-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.education-item {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 48px;               /* Spacious details interior card */
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.timeline-dot {
    position: absolute;
    top: 48px;
    left: -49px;                 /* Perfectly centralized dot node offsets */
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    border: 4px solid var(--secondary);
    box-shadow: 0 0 12px var(--secondary);
}

.education-date {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.degree {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.institution {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.education-details {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   16. CONTACT SECTION & INTERACTIVE AJAX FORMS
   ========================================================================== */

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 70px;                   /* Highly spacious column separation */
}

.contact-info-panel {
    flex: 1;
    min-width: 320px;
}

.contact-info-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.contact-subtext {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 48px;         /* Airier gap before address list */
}

.info-list {
    margin-bottom: 48px;
}

.info-item {
    margin-bottom: 28px;         /* Wider spacing between list nodes */
}

.info-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.info-text, .info-link {
    font-size: 1.25rem;          /* Larger details font sizes */
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.info-link:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;                   /* Better spacing between buttons */
}

.social-btn {
    text-decoration: none;
    padding: 12px 24px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s;
}

.social-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-form-panel {
    flex: 1.4;
    min-width: 320px;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 56px;               /* High-breathability form container */
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.form-group {
    margin-bottom: 28px;         /* Airier gap between input fields */
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 10px;         /* Airier space above input */
    font-size: 0.95rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;          /* Generous text fields space */
    background-color: rgba(2, 4, 10, 0.4);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(2, 4, 10, 0.7);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.2);
}

.submit-btn {
    width: 100%;
    border: none;
    margin: 0;
}

.form-feedback {
    margin-top: 24px;            /* Clearer margin */
    padding: 16px;               /* Spaced feedback panel */
    border-radius: 8px;
    display: none;
    font-weight: 600;
    text-align: center;
    font-size: 0.95rem;
}

.form-feedback.success {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.25);
    display: block;
}

.form-feedback.error {
    background-color: rgba(239, 68, 68, 0.15);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.25);
    display: block;
}

/* ==========================================================================
   17. FOOTER SECTION
   ========================================================================== */

.footer {
    background-color: #02040a;
    border-top: 1px solid var(--card-border);
    padding: 80px 0;             /* Airier footer padding margins */
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;         /* Airier bottom margins */
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-brand {
    max-width: 450px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.footer-logo .logo-dot {
    color: var(--secondary);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

.footer-social-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;                   /* Wider gaps */
    align-items: flex-end;
}

@media (max-width: 768px) {
    .footer-social-meta {
        align-items: flex-start;
    }
}

.footer-meta-link {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-meta-link:hover {
    color: var(--secondary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;                   /* Airier grids */
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-meta-links {
    display: flex;
    gap: 24px;                   /* Spaced bottom links */
}

.footer-meta-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-meta-links a:hover {
    color: var(--secondary);
}

/* ==========================================================================
   18. REVEAL ANIMATIONS ON SCROLL
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   19. RESPONSIVE DESIGN & LAYOUT ADJUSTMENTS
   ========================================================================== */

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .about-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 16px;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .section {
        padding: 60px 0;
    }

    .contact-form-panel {
        padding: 30px;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
}