:root {
    /* Brand Color Palette */
    --brand-orange: #f66338;
    --brand-primary: #faaa85;
    --brand-blue: #4c42fe;
    --brand-light-blue: #a0a1fc;
    --brand-gradient-orange: #fc693a;
    --brand-peach: #ffa97b;

    /* Base Theme Colors (Sophisticated Grays) */
    --bg-color: #000000; /* Black */
    --bg-secondary: #333333; /* Dark Gray */
    --card-bg: rgba(100, 100, 100, 0.15); /* Tinted Gray */
    --card-border: rgba(100, 100, 100, 0.3);
    
    /* Base Primary (Changes per section) */
    --primary: var(--brand-blue);
    --primary-glow: rgba(76, 66, 254, 0.8);
    
    --secondary: #646464; /* Gray */
    --secondary-glow: rgba(100, 100, 100, 0.5);
    
    --accent: var(--primary);
    --accent-glow: var(--primary-glow);
    
    --text-primary: #ffffff; /* White */
    --text-secondary: #a0a1fc; /* Light Blue for softer text */
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Dynamic Section Colors (Brand Palette) */
#hero { --primary: var(--brand-orange); --primary-glow: rgba(246, 99, 56, 0.6); } 
#about { --primary: var(--brand-orange); --primary-glow: rgba(246, 99, 56, 0.6); } 
#skills { --primary: var(--brand-light-blue); --primary-glow: rgba(160, 161, 252, 0.6); } 
#projects { --primary: var(--brand-blue); --primary-glow: rgba(76, 66, 254, 0.6); } 
#experience { --primary: var(--brand-gradient-orange); --primary-glow: rgba(252, 105, 58, 0.6); } 
#certificates { --primary: #00F2FE; --primary-glow: rgba(0, 242, 254, 0.6); } 
#contact { --primary: var(--brand-blue); --primary-glow: rgba(76, 66, 254, 0.6); }

/* Cinematic Word Highlight */
.neon-highlight {
    background: linear-gradient(120deg, var(--primary) 0%, #ffffff 50%, var(--primary) 100%);
    background-size: 200% auto;
    color: #030305;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    box-shadow: 0 0 12px var(--primary-glow);
    animation: shineHighlight 3s linear infinite;
    display: inline-block;
}

@keyframes shineHighlight {
    to { background-position: 200% center; }
}

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

html {
    scroll-behavior: initial; /* Lenis handles this */
    overflow-x: clip;
    width: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: clip;
    width: 100%;
    cursor: none; /* Custom cursor */
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(76, 66, 254, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 66, 254, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -5;
    pointer-events: none;
    animation: grid-scroll 30s linear infinite;
    mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
    -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
}
/* Cyber Background Elements */
.cyber-bg-elements {
    position: fixed;
    inset: 0;
    z-index: -4;
    pointer-events: none;
    overflow: hidden;
}

.bg-radar {
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    border: 1px dashed rgba(246, 99, 56, 0.15); /* Brand Orange */
    opacity: 0.6;
    animation: radar-spin 15s linear infinite;
    pointer-events: none;
}
.bg-radar::before {
    content: ''; position: absolute;
    top: 15%; left: 15%; right: 15%; bottom: 15%;
    border-radius: 50%;
    border: 1px solid rgba(246, 99, 56, 0.1);
}
.bg-radar::after {
    content: ''; position: absolute;
    top: 50%; left: 50%; width: 50%; height: 1px;
    background: linear-gradient(90deg, rgba(246,99,56,0.6), transparent);
    transform-origin: 0 0;
}
@keyframes radar-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.radar-1 { top: 15%; left: 5%; width: 300px; height: 300px; }
.radar-2 { bottom: 15%; right: 5%; width: 250px; height: 250px; border-color: rgba(76, 66, 254, 0.15); }
.radar-2::before { border-color: rgba(76, 66, 254, 0.1); }
.radar-2::after { background: linear-gradient(90deg, rgba(76,66,254,0.6), transparent); }
.radar-3 { top: 35%; right: 15%; transform: scale(0.7); opacity: 0.4; }

.bg-data-stream {
    position: absolute;
    bottom: 5%;
    left: 3%;
    font-family: monospace;
    font-size: 10px;
    color: var(--brand-light-blue);
    opacity: 0.4;
    line-height: 1.4;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    animation: data-scroll 10s linear infinite;
}

@keyframes data-scroll {
    0% { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}

@keyframes grid-scroll {
    0% { background-position: 0 0; }
    100% { background-position: 0 1000px; }
}

/* =========================================
   HUD INITIALIZE OVERLAY
   ========================================= */
/* =========================================
   RESPONSIVE HUD INITIALIZE OVERLAY
   ========================================= */
.hud-start-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: #050508;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.8, 0, 0.2, 1);
    overflow: hidden;
}

/* Main Container - Responsive */
.hud-start-container {
    position: relative;
    width: 90vw;
    max-width: 450px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Tightly Packed Circular Rings */
.hud-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}
.hud-ring.r-1 {
    width: 100%; height: 100%;
    border: 1px dashed rgba(76, 66, 254, 0.2);
    animation: hud-spin 40s linear infinite;
}
.hud-ring.r-2 {
    width: 92%; height: 92%;
    border: 2px solid transparent;
    border-top: 2px solid var(--brand-blue);
    border-bottom: 2px solid rgba(76, 66, 254, 0.3);
    animation: hud-spin 25s linear infinite;
}
.hud-ring.r-3 {
    width: 84%; height: 84%;
    border: 1px dotted rgba(246, 99, 56, 0.5);
    animation: hud-spin-reverse 20s linear infinite;
}
.hud-ring.r-4 {
    width: 76%; height: 76%;
    border: 2px solid transparent;
    border-left: 2px solid var(--brand-orange);
    border-right: 2px solid rgba(246, 99, 56, 0.3);
    animation: hud-spin 15s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.hud-ring.r-5 {
    width: 68%; height: 68%;
    border: 1px dashed rgba(76, 66, 254, 0.4);
    animation: hud-spin-reverse 10s linear infinite;
}
.hud-ring.r-6 {
    width: 60%; height: 60%;
    border: 3px solid transparent;
    border-top: 3px solid var(--brand-orange);
    animation: hud-spin 5s linear infinite;
}

@keyframes hud-spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes hud-spin-reverse { 100% { transform: translate(-50%, -50%) rotate(-360deg); } }

/* Circular Button */
.cyber-circle-btn {
    position: relative;
    width: 50%;
    height: 50%;
    border-radius: 50%;
    background: rgba(10, 10, 25, 0.8);
    border: 2px solid rgba(76, 66, 254, 0.5);
    cursor: pointer;
    outline: none;
    z-index: 10;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 30px rgba(76, 66, 254, 0.2), 0 0 20px rgba(76, 66, 254, 0.2);
}

.cyber-circle-btn::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; height: 90%;
    border-radius: 50%;
    border: 1px dashed var(--brand-orange);
    animation: hud-spin-reverse 10s linear infinite;
    pointer-events: none;
}

.cyber-circle-btn:hover {
    background: rgba(246, 99, 56, 0.1);
    border-color: var(--brand-orange);
    box-shadow: inset 0 0 40px rgba(246, 99, 56, 0.4), 0 0 30px rgba(246, 99, 56, 0.4);
    transform: scale(1.05);
}

.cyber-btn-text {
    color: var(--text-primary);
    font-family: 'Space Grotesk', monospace;
    font-size: clamp(12px, 3.5vw, 16px);
    font-weight: 700;
    letter-spacing: 3px;
    z-index: 2;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(76, 66, 254, 0.8);
}

.cyber-circle-btn:hover .cyber-btn-text {
    color: var(--brand-orange);
    text-shadow: 0 0 15px var(--brand-orange);
    letter-spacing: 5px;
}



::selection {
    background: var(--primary-glow);
    color: var(--text-primary);
}

/* Pro Custom Cursor (HUD Brackets) */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-glow);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), height 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Base transform applied by JS won't overwrite this child rotation */
/* Lovely Smooth Custom Cursor */
/* Lovely Smooth Custom Cursor */
.cursor-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--primary-glow);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.cursor-outline {
    position: fixed;
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 0;
    /* Sci-Fi Shaped Edges Dual Triangle Cursor */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f66338'%3E%3Cpolygon points='48,16.5 48,28.5 19.4,77.9 9,84'/%3E%3Cpolygon points='52,16.5 52,28.5 80.6,77.9 91,84'/%3E%3Cpolygon points='6.9,80.5 17.3,74.5 82.6,74.5 93.1,80.5'/%3E%3Cpolygon points='49,37.3 49,43.3 34.7,68 29.5,71'/%3E%3Cpolygon points='51,37.3 51,43.3 65.3,68 70.5,71'/%3E%3Cpolygon points='28.5,69.3 33.6,66.3 66.4,66.3 71.5,69.3'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 999998;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), width 0.3s ease, height 0.3s ease, left 0.15s ease-out, top 0.15s ease-out;
    opacity: 0.8;
    filter: drop-shadow(0 0 6px rgba(246, 99, 56, 0.7));
}

.cursor-dot.hover-state {
    width: 0px;
    height: 0px;
    opacity: 0;
}

.cursor-outline.hover-state {
    transform: translate(-50%, -50%) rotate(180deg) scale(1.4);
    filter: drop-shadow(0 0 15px rgba(246, 99, 56, 0.9));
    opacity: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--text-primary);
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
    position: relative;
}



.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title span {
    color: var(--primary);
    font-size: 1.5rem;
    font-family: var(--font-sans);
    font-weight: 400;
}

/* Glassmorphism Classes -> Glint Cards */
.glass-card {
    background: var(--card-bg);
    border: 1px solid transparent;
    border-radius: 0;
    padding: 2rem;
    box-shadow: none;
    transition: var(--transition);
}

/* Card hover effects, excluding contact section */
.glass-card:not(.contact-info):not(.contact-form):hover {
    background: var(--card-bg);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

/* Subtle highlight for timeline dates on hover */
.glass-card:not(.contact-info):not(.contact-form):hover .timeline-date {
    background: rgba(255,255,255,0.05);
    color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    z-index: 1;
}

/* Unique Patterned Pill Buttons */
.btn-pattern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background: var(--neon-red);
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,0.1) 10px, rgba(0,0,0,0.1) 20px);
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 1px;
    cursor: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(211,43,43,0.3);
    z-index: 1;
}

.btn-pattern:hover {
    box-shadow: 0 8px 25px rgba(211,43,43,0.6);
    background-position: 20px 0;
    transform: translateY(-2px);
}

.btn-pattern-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background: transparent;
    border: 2px solid var(--neon-red);
    color: var(--text-primary);
    padding: 13px 33px; /* 2px less for border */
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 1px;
    cursor: none;
    transition: var(--transition);
    z-index: 1;
}

.btn-pattern-alt:hover {
    background: rgba(211,43,43,0.1);
    box-shadow: 0 0 20px rgba(211,43,43,0.3);
    transform: translateY(-2px);
}

.primary-btn {
    background: transparent;
    color: var(--bg-color);
    border: 1px solid var(--primary);
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    transition: var(--transition);
}

.primary-btn:hover {
    color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.primary-btn:hover::before {
    transform: scaleX(0);
    transform-origin: right;
}

.secondary-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.secondary-btn:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Navigation */
/* Navigation */
.glass-nav {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 95%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2.5rem;
    z-index: 100;
    
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 20px var(--primary-glow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Futuristic Desktop Navbar Design */
@media (min-width: 993px) {
    .glass-nav {
        background: rgba(12, 12, 16, 0.75);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: none;
        border-radius: 0;
        box-shadow: none; /* Removed default shadow, handled by ::after */
        clip-path: polygon(
            15px 0, 
            calc(100% - 15px) 0, 
            100% 15px, 
            100% calc(100% - 15px), 
            calc(100% - 15px) 100%, 
            15px 100%, 
            0 calc(100% - 15px), 
            0 15px
        );
    }
    
    /* Glowing Neon Border for the Chamfered Shape */
    .glass-nav::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: -1;
        background: linear-gradient(135deg, var(--primary) 0%, rgba(162, 89, 255, 0.5) 50%, var(--primary) 100%);
        padding: 1px;
        clip-path: polygon(
            15px 0, calc(100% - 15px) 0, 100% 15px, 100% calc(100% - 15px), 
            calc(100% - 15px) 100%, 15px 100%, 0 calc(100% - 15px), 0 15px
        );
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }
    
    /* Sci-Fi Top Accent Line */
    .glass-nav::after {
        content: '';
        position: absolute;
        top: 0; left: 50%;
        transform: translateX(-50%);
        width: 40%;
        height: 2px;
        background: var(--primary);
        box-shadow: 0 0 15px var(--primary), 0 0 5px var(--primary);
    }
}

.nav-hidden {
    top: -100px !important;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-right: 1.5rem;
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.availability-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

.nav-links li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.nav-links li a i {
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links li a span {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-secondary);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links li a:hover {
    background: transparent;
    color: #fff;
    box-shadow: none;
}

.nav-links li a:hover i {
    color: var(--brand-orange);
    transform: scale(1.3);
    filter: drop-shadow(0 0 10px var(--brand-orange));
}

.nav-links li a:hover span {
    color: #ffffff;
    text-shadow: 0 0 10px var(--brand-orange);
}

/* Custom text highlights */
.text-highlight {
    color: var(--neon-cyan);
    font-weight: 600;
}
.text-highlight-alt {
    color: var(--neon-red);
    font-weight: 600;
}

.hamburger {
    display: none;
    cursor: none;
    flex-direction: column;
    gap: 5px;
    margin-left: 1rem;
}

.hamburger div {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

.mobile-nav-hex, .mobile-nav-bg {
    display: none;
}

@media (max-width: 992px) {
    .desktop-only, .desktop-none {
        display: none !important;
    }

    /* Sci-Fi Mobile Navbar Background Structure (Image 1) */
    .mobile-nav-bg {
        display: flex !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        filter: drop-shadow(0 4px 10px rgba(90, 24, 154, 0.4));
    }
    
    .nav-bg-wrapper {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: -1;
    }

    .nav-bg-shape {
        position: absolute;
        top: 1px; left: 1px; right: 1px; bottom: 1px;
        background: rgba(12, 12, 16, 0.95);
        clip-path: polygon(
            0 12px, 12px 0, 
            calc(100% - 12px) 0, 100% 12px, 
            100% 45px, calc(100% - 12px) 55px, 
            calc(50% + 50px) 55px, 
            calc(50% + 30px) 70px, 
            calc(50% - 30px) 70px, 
            calc(50% - 50px) 55px, 
            12px 55px, 0 45px 
        );
    }

    .nav-bg-border {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, var(--primary) 100%);
        clip-path: polygon(
            0 13px, 13px 0, 
            calc(100% - 13px) 0, 100% 13px, 
            100% 46px, calc(100% - 13px) 56px, 
            calc(50% + 51px) 56px, 
            calc(50% + 31px) 71px, 
            calc(50% - 31px) 71px, 
            calc(50% - 51px) 56px, 
            13px 56px, 0 46px
        );
        z-index: -1;
    }

    .nav-left-highlight {
        position: absolute;
        top: 1px; left: 1px;
        height: 54px;
        width: 80px;
        background: rgba(255, 255, 255, 0.03);
        clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-left-highlight::after {
        content: '';
        position: absolute;
        right: 0; top: 0; bottom: 0; width: 15px;
        border-right: 1px solid rgba(255,255,255,0.1);
        transform: skewX(-15deg);
        transform-origin: bottom;
    }

    /* Center Logo (Image 1) */
    .nav-center-logo {
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2;
    }

    .glow-ring {
        width: 55px;
        height: 55px;
        border-radius: 50%;
        border: 2px solid var(--primary);
        box-shadow: 0 0 15px var(--primary-glow), inset 0 0 10px rgba(0, 242, 254, 0.3);
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(10, 10, 15, 0.9);
    }
    
    .glow-ring a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    .glow-ring img {
        width: 65%;
        transform: translateY(-3px);
        margin: 0;
    }

    /* Dynamic Island Navbar (Outer) - Container */
    .glass-nav {
        top: 20px;
        bottom: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 92%;
        max-width: 450px;
        height: 75px;
        border-radius: 0;
        padding: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        clip-path: none;
        filter: none;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        margin: 0;
        position: fixed;
        z-index: 1000 !important;
    }
    
    .nav-left {
        display: none !important;
    }
    
    .nav-brand-icon {
        border-color: var(--primary) !important;
        box-shadow: 0 0 15px var(--primary-glow) !important;
    }

    .logo { font-size: 1.2rem; }
    
    /* Circular Orbital Menu (Image 2) */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(5, 5, 8, 0.98);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
        z-index: 101;
        flex-direction: row;
        margin: 0;
        padding: 0;
        border-radius: 0;
        border: none;
        box-shadow: none;
        transform: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    
    .nav-links.nav-active,
    .nav-links.active {
        opacity: 1 !important;
        pointer-events: auto !important;
        visibility: visible !important;
        display: flex !important;
    }

    /* Orbital Track */
    .nav-links::before {
        content: '';
        position: absolute;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        border: 1px solid rgba(80, 100, 255, 0.2);
        opacity: 0;
        transform: scale(0);
        transition: all 0.6s ease;
        z-index: 0;
        box-shadow: none !important;
        background: none !important;
    }

    /* Central Glowing Logo */
    .nav-links::after {
        content: '';
        position: absolute;
        width: 90px;
        height: 90px;
        background-color: #050508;
        background-image: url('../assets/D\ logo.png');
        background-size: 50%;
        background-repeat: no-repeat;
        background-position: center 45%;
        border-radius: 50%;
        border: 3px solid rgba(80, 120, 255, 0.8);
        box-shadow: 0 0 35px rgba(80, 120, 255, 0.6), inset 0 0 20px rgba(80, 120, 255, 0.5);
        opacity: 0;
        transform: scale(0);
        transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        transition-delay: 0.2s;
        z-index: 2;
        letter-spacing: 0;
    }
    
    .nav-links.nav-active::before,
    .nav-links.active::before,
    .nav-links.nav-active::after,
    .nav-links.active::after {
        opacity: 1;
        transform: scale(1);
    }

    /* Orbital Items Base */
    .nav-links li {
        position: absolute !important;
        list-style: none;
        z-index: 3;
        transform: rotate(0deg) translateY(0px) rotate(0deg) !important;
        width: auto;
        opacity: 0;
        transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    }
    
    .nav-links.nav-active li,
    .nav-links.active li {
        opacity: 1;
    }
    
    /* Fan out items when active - 140px radius */
    .nav-links.nav-active li:nth-child(1), .nav-links.active li:nth-child(1) { transform: rotate(0deg) translateY(-140px) rotate(0deg) !important; transition-delay: 0.05s; }
    .nav-links.nav-active li:nth-child(2), .nav-links.active li:nth-child(2) { transform: rotate(60deg) translateY(-140px) rotate(-60deg) !important; transition-delay: 0.1s; }
    .nav-links.nav-active li:nth-child(3), .nav-links.active li:nth-child(3) { transform: rotate(120deg) translateY(-140px) rotate(-120deg) !important; transition-delay: 0.15s; }
    .nav-links.nav-active li:nth-child(4), .nav-links.active li:nth-child(4) { transform: rotate(180deg) translateY(-140px) rotate(-180deg) !important; transition-delay: 0.2s; }
    .nav-links.nav-active li:nth-child(5), .nav-links.active li:nth-child(5) { transform: rotate(240deg) translateY(-140px) rotate(-240deg) !important; transition-delay: 0.25s; }
    .nav-links.nav-active li:nth-child(6), .nav-links.active li:nth-child(6) { transform: rotate(300deg) translateY(-140px) rotate(-300deg) !important; transition-delay: 0.3s; }

    /* Circular Tab Buttons */
    .nav-links li a {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 75px;
        height: 75px;
        background: rgba(10, 10, 15, 0.95);
        border: 1px solid rgba(80, 120, 255, 0.4);
        border-radius: 50%;
        color: #fff;
        padding: 0;
        gap: 6px;
        box-shadow: 0 0 15px rgba(80, 120, 255, 0.15);
        transition: all 0.3s ease;
        clip-path: none;
    }
    
    .nav-links li a:hover, 
    .nav-links li a:active {
        background: rgba(80, 120, 255, 0.15);
        border-color: #647eff;
        color: #fff;
        box-shadow: 0 0 25px rgba(100, 126, 255, 0.6);
        transform: scale(1.1) !important;
    }
    
    .nav-links li a i {
        font-size: 1.4rem;
        margin: 0;
        color: #fff;
        transition: none;
    }

    .nav-links li a span {
        display: block !important;
        font-size: 0.65rem;
        max-width: 100%;
        opacity: 1;
        letter-spacing: 0px;
        text-transform: capitalize;
        font-weight: 500;
        font-family: var(--font-sans);
        color: #fff;
        transition: none;
    }
    
    .hamburger {
        position: absolute;
        top: 15px;
        left: 20px;
        display: flex;
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 9999;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding: 0;
        margin: 0;
        height: auto;
    }
    
    .hamburger::before {
        display: none;
    }
    
    /* Neon glow for active hamburger */
    .hamburger.toggle div {
        background: var(--primary);
        box-shadow: 0 0 10px var(--primary);
    }
    
    .premium-timeline-item {
        margin-bottom: 5rem !important;
    }
}

/* AI Assistant */
#ai-assistant {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    z-index: 99;
    cursor: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-core {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary);
    animation: pulse 2s infinite;
}

.ai-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-glow);
    border-radius: 50%;
    animation: rotateRings 10s linear infinite;
}

.ai-rings::before, .ai-rings::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid transparent;
}

.ai-rings::before {
    border-top-color: var(--secondary);
    border-bottom-color: var(--secondary);
    transform: scale(1.2);
    animation: rotateRings 15s linear infinite reverse;
}

.ai-rings::after {
    border-left-color: var(--accent);
    border-right-color: var(--accent);
    transform: scale(1.4);
    animation: rotateRings 20s linear infinite;
}

/* AI Chat Window */
#ai-chat-window {
    position: fixed;
    bottom: 110px;
    right: 40px;
    width: 320px;
    max-width: calc(100vw - 80px);
    border-radius: 16px;
    padding: 0;
    z-index: 98;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px color-mix(in srgb, var(--primary) 15%, transparent);
}

#ai-chat-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
}

.chat-header h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

#close-chat {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

#close-chat:hover {
    color: #ff4d4d;
}

.chat-body {
    padding: 1rem;
    min-height: 120px;
    max-height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-msg {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
    max-width: 90%;
    animation: fadeIn 0.3s ease;
}

.chat-msg.ai-msg {
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-msg.user-msg {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-options {
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-cmd {
    background: transparent;
    border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-cmd:hover {
    background: var(--primary);
    color: #000;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes rotateRings {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px; /* Offset for nav */
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
    z-index: 1;
}

.hero-bg-text {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80vh;
    font-weight: 900;
    color: rgba(255,255,255,0.02);
    z-index: 0;
    pointer-events: none;
    font-family: var(--font-display);
}

.hero-text-content {
    text-align: left;
    max-width: 600px;
    z-index: 2;
}

.greeting {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-sans);
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.greeting .line {
    height: 1px;
    width: 40px;
    background: var(--primary);
}

.text-gradient {
    background: linear-gradient(to right, #ffffff, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-name {
    font-size: 7rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -2px;
    font-family: var(--font-sans);
    opacity: 0;
    transform: translateY(20px);
}

.hero-roles {
    font-family: var(--font-sans);
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
}

.hero-description {
    color: #9CA3AF;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 450px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-separator {
    width: 60px;
    height: 2px;
    background: #3B82F6;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.hero-cta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 420px; /* Slightly wider for desktop */
    margin-bottom: 3rem;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 10px 30px color-mix(in srgb, var(--primary) 20%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
}

.hero-cta .btn {
    flex: 1;
    padding: 1rem 1.2rem;
    font-size: 0.85rem;
    border: none;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-display);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-cta .primary-btn {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary-glow);
    font-weight: 800;
}

.hero-cta .primary-btn:hover {
    transform: scale(1.02);
    /* Instead of changing color, just intensify the glow */
    box-shadow: 0 0 35px var(--primary), 0 0 15px var(--primary) inset;
    background: var(--primary);
    color: #000;
}

.hero-cta .secondary-btn {
    background: transparent;
    color: #fff;
    box-shadow: none;
    font-weight: 700;
}

.hero-cta .secondary-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 1px var(--primary), 0 0 20px var(--primary-glow);
}

.hero-cta .btn i {
    transition: transform 0.3s ease;
}

.hero-cta .btn:hover i {
    transform: translateX(4px);
}

.hero-socials {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.hero-socials a {
    color: #6B7280;
    font-size: 1.2rem;
    transition: var(--transition);
}

.hero-socials a:hover {
    color: #FFF;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end; /* Push to right edge */
    align-items: flex-end;
    height: 100%;
    z-index: 2;
    transform: translateX(15%); /* Further move off the edge to reduce gap */
}

.hero-profile-img {
    max-width: 105%; /* Reduced size slightly */
    height: auto;
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.5));
    object-fit: cover;
    object-position: center bottom;
    -webkit-mask-image: radial-gradient(ellipse at 35% 30%, black 40%, transparent 85%);
    mask-image: radial-gradient(ellipse at 35% 30%, black 40%, transparent 85%);
    opacity: 0;
    transform: translateX(50px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-primary);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 6px;
    background: var(--text-primary);
    left: 50%;
    transform: translateX(-50%);
    top: 6px;
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* About Section & Bento Box */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

/* Bento Box Layout Additions */
.bento-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.bento-card {
    background: var(--card-bg);
    border-radius: 16px; /* Match standard glass cards instead of 0 */
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

/* Removed the disruptive solid background hover. 
   It will now inherit the sleek .glass-card:hover effect natively. */

.bento-stat {
    background: #121212;
    padding: 1.5rem;
    border-radius: 0;
    border: none;
    text-align: center;
    transition: var(--transition);
}

.bento-stat:hover {
    background: rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--card-border);
    padding-top: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    margin: 0;
}

.hologram-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.profile-img {
    width: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.3));
    transition: var(--transition);
    border-radius: 16px;
}

.hologram-container::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.5;
    transition: var(--transition);
}

.hologram-container:hover::before {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.2);
}

.hologram-container:hover .profile-img {
    filter: drop-shadow(0 0 40px rgba(0, 255, 255, 0.6)) contrast(1.1);
    transform: scale(1.05);
}

.hologram-base {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 20px;
    background: radial-gradient(ellipse at center, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
}

/* Skills Section */
.skills-universe {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.skill-category h3 i {
    color: var(--secondary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.skill-tag:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Projects Section Layout */
.projects-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100vh;
}

.projects-left {
    flex: 0 0 35%;
    padding: 2rem 4rem;
}

.cyber-heading-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.cyber-badge {
    font-family: monospace;
    font-size: 0.8rem;
    letter-spacing: 3px;
    padding: 0.4rem 1rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 4px;
    background: rgba(76, 66, 254, 0.05);
    box-shadow: 0 0 10px var(--primary-glow);
}

.cyber-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
}

.cyber-highlight {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.cyber-separator {
    width: 60px;
    height: 4px;
    background: var(--brand-orange);
    box-shadow: 0 0 10px rgba(246, 99, 56, 0.6);
    border-radius: 2px;
}

.projects-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.cyber-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.projects-right {
    flex: 0 0 65%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.projects-grid {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.projects-grid .project-card {
    width: 90%;
    max-width: 600px;
    height: 65vh; /* Increased height so image is more visible */
    padding: 0;
    margin: 0;
    position: absolute;
    box-shadow: -15px 15px 40px rgba(0,0,0,1);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Solid background to prevent stack bleed-through */
    background: #0f0f11 !important; 
    backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.project-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px var(--brand-orange);
    z-index: 10;
    opacity: 0.6;
    font-family: var(--font-display);
    pointer-events: none;
}

.projects-grid .project-img-wrapper {
    height: 55%; /* Devotes 55% of the card to the image */
    width: 100%;
    position: relative;
}

/* Mobile Responsiveness for Projects Layout */
@media (max-width: 992px) {
    .projects-layout {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }
    .projects-left {
        flex: 0 0 auto;
        width: 100%;
        padding: 4rem 1rem 2rem 1rem;
        text-align: center;
    }
    .projects-left h2 {
        font-size: 2.2rem;
    }
    .projects-right {
        flex: 1 1 auto;
        width: 100%;
        height: auto;
        min-height: auto;
        overflow: visible;
    }
    .projects-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        height: auto;
        padding-bottom: 20vh; /* space for scrolling past sticky cards */
    }
    .projects-grid .project-card {
        width: 90%;
        max-width: 100%;
        margin: 0 auto;
        left: 5%;
        height: 60vh;
        position: sticky; /* Mobile sticky stacking effect */
        top: 15vh;
    }
    .projects-grid .project-card:nth-child(1) { z-index: 1; }
    .projects-grid .project-card:nth-child(2) { z-index: 2; }
    .projects-grid .project-card:nth-child(3) { z-index: 3; }
    .projects-grid .project-card:nth-child(4) { z-index: 4; }
}

/* Internship Feature Card */
.internship-feature-card {
    display: flex;
    flex-direction: row;
    padding: 0;
    overflow: hidden;
    gap: 0;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(15, 17, 23, 0.75);
    backdrop-filter: blur(25px);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5), inset 0 0 20px rgba(252, 105, 58, 0.05);
    transition: transform 0.5s, box-shadow 0.5s;
}

.internship-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 80px rgba(0,0,0,0.6), inset 0 0 30px rgba(252, 105, 58, 0.1);
}

.internship-img-col {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.modern-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(252, 105, 58, 0.9);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(252, 105, 58, 0.4);
}

.internship-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.internship-feature-card:hover .internship-img-col img {
    transform: scale(1.08);
}

.internship-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(15,17,23,0.9));
    z-index: 1;
}

.internship-content-col {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.internship-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.internship-content-col h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.internship-company {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.internship-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.internship-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.glass-meta {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.glass-meta:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(252, 105, 58, 0.3);
}

.meta-item i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.meta-item span strong {
    color: #fff;
    font-weight: 600;
}

.cards-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 4rem 2rem 5rem 2rem;
    perspective: 1200px; /* Enables 3D angled scroll */
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.cards-grid::-webkit-scrollbar {
    display: none;
}

.cards-grid .project-card {
    flex: 0 0 clamp(300px, 60vw, 400px);
    scroll-snap-align: center;
    transform: rotateY(-20deg) scale(0.9);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s;
    box-shadow: -15px 15px 30px rgba(0,0,0,0.5);
    margin: 0;
}

.cards-grid .project-card:hover {
    transform: rotateY(0deg) scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 50px var(--primary-glow);
}

.pdf-icon-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.05), rgba(0, 242, 254, 0.15));
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pdf-icon-wrapper i {
    font-size: 4.5rem;
    color: var(--primary);
    transition: transform 0.5s ease;
    filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.4));
}

.project-card:hover .pdf-icon-wrapper i {
    transform: scale(1.1) translateY(-5px);
}

.project-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--card-bg));
    z-index: 1;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
}

.project-tech {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.project-tech span {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--primary);
    letter-spacing: 1px;
}

.project-info h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--card-border);
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--primary);
    color: var(--bg-color);
    transform: translateY(-3px);
}

/* ====================================================
   PREMIUM TIMELINE SECTION
   ==================================================== */
.premium-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px; /* Space for the line */
}
.premium-timeline-line {
    position: absolute;
    top: 0;
    left: 10px;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05); /* Dim track background */
    border-radius: 2px;
}
.premium-timeline-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%; /* Animates from 0 to 100% via GSAP */
    background: linear-gradient(to bottom, var(--primary), #a259ff);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-glow);
}
.premium-timeline-item {
    position: relative;
    margin-bottom: 3rem;
}
.premium-timeline-item:last-child {
    margin-bottom: 0;
}
.premium-timeline-dot {
    position: absolute;
    top: 25px;
    left: -37px; /* Position directly over the line */
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0f1117;
    border: 2px solid var(--timeline-color);
    box-shadow: 0 0 15px var(--timeline-color);
    z-index: 2;
    transition: all 0.4s ease;
}
.premium-timeline-item.active .premium-timeline-dot,
.premium-timeline-item:hover .premium-timeline-dot {
    background: var(--timeline-color);
    transform: scale(1.3);
}
.premium-timeline-content {
    background: rgba(15, 17, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.premium-timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--timeline-color);
    opacity: 0.5;
    transition: all 0.4s;
}
.premium-timeline-item.active .premium-timeline-content,
.premium-timeline-item:hover .premium-timeline-content {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}
.premium-timeline-item.active .premium-timeline-content::before,
.premium-timeline-item:hover .premium-timeline-content::before {
    opacity: 1;
    box-shadow: 0 0 15px var(--timeline-color);
}
.premium-timeline-date {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--timeline-color);
    margin-bottom: 1.2rem;
    font-family: var(--font-display);
    letter-spacing: 1px;
}
.premium-timeline-content h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}
.premium-timeline-content h4 {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1rem;
    font-family: var(--font-sans);
}
.premium-timeline-content p {
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.6;
    font-family: var(--font-sans);
}

/* GitHub Section */
.github-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.gh-stat {
    text-align: center;
}

.gh-stat i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.gh-stat h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.gh-stat p {
    color: var(--text-secondary);
}

.github-graph {
    width: 100%;
    overflow-x: auto;
    text-align: center;
}

.github-graph img {
    max-width: 100%;
    filter: hue-rotate(180deg) brightness(1.2); /* Adjust colors to match theme somewhat */
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-links {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-links a:hover {
    color: var(--primary);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid var(--card-border);
}

.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.input-group input:-webkit-autofill,
.input-group input:-webkit-autofill:hover, 
.input-group input:-webkit-autofill:focus, 
.input-group textarea:-webkit-autofill,
.input-group textarea:-webkit-autofill:hover,
.input-group textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-primary);
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    transition: background-color 5000s ease-in-out 0s;
}

.input-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-secondary);
    pointer-events: none;
    transition: var(--transition);
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--primary);
}

.input-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.input-group input:focus ~ .input-glow,
.input-group textarea:focus ~ .input-glow {
    width: 100%;
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Hero Marquee Background */
.hero-bg-marquee {
    position: absolute;
    top: 35%;
    left: -10%;
    width: 120%;
    overflow: hidden;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    opacity: 0.04;
    transform: rotate(-6deg);
}

.hero-marquee-track {
    display: inline-block;
    animation: marquee-hero 40s linear infinite;
}

.hero-marquee-track span {
    font-size: 15rem;
    font-weight: 900;
    font-family: var(--font-display);
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
    padding-right: 2rem;
}

@keyframes marquee-hero {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 3D Rotating Cube */
.cube-container {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    perspective: 1000px;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 20s infinite linear;
}

.face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary);
    background: rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 20px var(--primary-glow);
}

.front  { transform: translateZ(100px); }
.back   { transform: rotateY(180deg) translateZ(100px); }
.right  { transform: rotateY(90deg) translateZ(100px); }
.left   { transform: rotateY(-90deg) translateZ(100px); }
.top    { transform: rotateX(90deg) translateZ(100px); }
.bottom { transform: rotateX(-90deg) translateZ(100px); }

@keyframes rotate-cube {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

/* ====================================================
   PREMIUM SKILLS STACK SECTION
   ==================================================== */
.skills-premium-layout {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

.skills-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.skills-intro-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-family: var(--font-sans);
}

.skills-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    width: 100%;
}

.skill-stack-card {
    background: rgba(15, 17, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}
.skill-stack-card:hover {
    border-color: #a259ff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4), inset 0 0 25px rgba(162, 89, 255, 0.15), 0 0 15px rgba(162, 89, 255, 0.3);
    transform: translateY(-3px);
}

.skill-stack-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.hex-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 1.4rem;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
    transition: all 0.4s;
    flex-shrink: 0;
}
.skill-stack-card:hover .hex-icon {
    border-color: currentColor;
    background: rgba(255,255,255,0.05);
    transform: rotate(10deg);
}

.skill-stack-title-box h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 0.3rem;
}
.skill-stack-title-box p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    font-family: var(--font-sans);
}

.skill-stack-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.2rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 70px;
    height: 75px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    transition: all 0.3s;
    cursor: pointer;
}
.skill-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}
.skill-item i {
    font-size: 1.5rem;
    transition: transform 0.3s;
}
.skill-item:hover i {
    transform: scale(1.1);
}
.skill-item:hover .vscode-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.4)) !important;
}
.skill-item span {
    font-size: 0.7rem;
    font-family: var(--font-sans);
    color: var(--text-secondary);
    font-weight: 500;
}
.skill-item:hover span {
    color: #fff;
}

/* Icon Colors */
.text-orange { color: #f06529; }
.text-blue { color: #2965f1; }
.text-yellow { color: #f0db4f; }
.text-cyan { color: #61dbfb; }
.text-purple { color: #a259ff; }
.text-pink { color: #e91e63; }
.text-red { color: #f89820; }

@media (max-width: 992px) {
    .skills-stack {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    .skill-stack-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .skill-stack-items {
        justify-content: center;
    }
}

/* Custom Pro-Level Cursor */
body {
    cursor: none;
}

a, button, input, textarea, .magnetic, .skill-item, .glass-card {
    cursor: none;
}

.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, opacity 0.2s;
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 32px; height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999998;
    transform: translate(-50%, -50%);
    transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1), height 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
    mix-blend-mode: difference;
}

.cursor-ring.hovered {
    width: 60px;
    height: 60px;
    border-color: rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 1);
}

.cursor-dot.hovered {
    opacity: 0;
}

/* Toast Notification */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transform: translateX(150%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

#toast-container.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-content i {
    color: var(--primary);
    font-size: 1.5rem;
}

.toast-content span {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: var(--primary);
}

#toast-container.show .toast-progress {
    animation: toast-progress 3s linear forwards;
}

@keyframes toast-progress {
    100% { width: 0; }
}

/* Gradient Border for Contact Form */
.gradient-border-wrapper {
    position: relative;
    padding: 3px;
    border-radius: 18px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 400% 400%;
    animation: gradient-spin 8s ease infinite;
}

.gradient-border-wrapper::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: rgba(17, 24, 39, 0.95);
    border-radius: 15px;
    z-index: 0;
}

.gradient-border-wrapper .input-group,
.gradient-border-wrapper button {
    position: relative;
    z-index: 1;
}

.gradient-border-wrapper form {
    padding: 2rem;
}

@keyframes gradient-spin {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glint Theme Backgrounds & Headers */
.bg-giant-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20vw;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.03);
    font-family: var(--font-display);
    z-index: -3;
    pointer-events: none;
    white-space: nowrap;
}

.glint-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--card-border);
}

.glint-section-header.center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.glint-subtitle {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 4px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.glint-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.glint-header-right {
    max-width: 400px;
    border-left: 3px solid var(--primary);
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.glint-hero-subtitle {
    color: var(--primary);
    font-size: 1.2rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
}

.glint-hero-name {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
}

.glint-hero-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

.glint-hero-desc .pipe {
    color: var(--primary);
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 65%);
    filter: blur(90px);
    opacity: 0.4;
    z-index: -1;
}

/* Navigation Additions */
.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.availability-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary); /* Theme dynamic */
    box-shadow: 0 0 10px var(--primary-glow);
    animation: pulse-theme 2s infinite;
}

@keyframes pulse-theme {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 var(--primary-glow); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0,0,0,0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

/* Removed vertical dot nav for Glint */

/* Footer */
footer {
    border-top: 1px solid var(--card-border);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 992px) {
    .glitch { font-size: 3rem; }
    .section-title { font-size: 2.2rem; }
    .container {
        padding: 0 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .glass-card {
        padding: 1.5rem !important;
    }
    .hero-grid, .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 100% !important;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
    }
    .contact-info {
        text-align: center;
    }
    .contact-links {
        align-items: center;
    }
    .internship-feature-card {
        flex-direction: column;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        background: rgba(15, 17, 23, 0.95);
    }
    .internship-img-col {
        flex: none;
        height: 250px;
        min-height: auto;
    }
    .internship-overlay {
        background: linear-gradient(to bottom, transparent, var(--card-bg));
    }
    .internship-content-col {
        padding: 2rem;
    }
    #internship .cyber-glow-bg {
        display: none !important;
    }
    #contact .glint-section-header {
        align-items: center;
        text-align: center;
    }
    #contact .glint-header-right {
        border-left: none;
        border-top: 1px solid var(--primary);
        padding-left: 0;
        padding-top: 1rem;
        margin-top: 0.5rem;
        max-width: 100%;
    }
    .hero-grid {
        text-align: center;
        margin-top: 5rem;
    }
    .hero-text-content {
        text-align: center;
        margin: 0 auto;
    }
    .hero-image-wrapper {
        justify-content: center;
        transform: none !important;
        margin-top: 2rem;
    }
    .hero-glow {
        width: 250px !important;
        height: 250px !important;
        filter: blur(80px) !important;
        opacity: 0.3 !important;
        border-radius: 50% !important;
    }
    .hero-profile-img {
        max-width: 80%;
        -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 95%) !important;
        mask-image: linear-gradient(to bottom, black 65%, transparent 95%) !important;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-socials {
        justify-content: center;
    }
    .glint-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .glint-header-right {
        max-width: 100%;
        border-left: 3px solid var(--primary);
        padding-left: 1rem;
    }
    .cursor-dot, .cursor-outline {
        display: none !important;
    }
    .bg-giant-text {
        display: none !important;
    }
    .hero-bg-marquee {
        display: block !important;
        top: 40%;
        left: -10%;
        width: 120%;
        opacity: 0.03;
        transform: rotate(-6deg) !important;
    }
    .hero-marquee-track span {
        font-size: 6rem;
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
        padding-right: 1.5rem;
    }
    body {
        cursor: auto !important;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s ease;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 101;
    }
    .glint-hero-name {
        font-size: 3rem;
        word-break: break-word;
    }
    .glint-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem !important;
    }
    .glass-card {
        padding: 1.25rem !important;
    }
    .contact-links a {
        font-size: 0.9rem !important;
        gap: 0.5rem !important;
    }
    .contact-links span {
        word-break: break-all !important;
    }
    .icon-box {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    .hero-marquee-track span {
        font-size: 4rem;
    }
    .glint-hero-name {
        font-size: 2.4rem;
        word-break: break-word;
    }
    .hero-cta {
        /* Remove flex-direction: column so it stays a row pill */
        width: 100%;
    }
    .hero-cta .btn {
        width: auto;
        /* Padding is handled by the mobile tweaks at the end of the file */
    }
    .availability-pill {
        display: none;
    }
    .timeline-item {
        padding-left: 35px;
    }
    .timeline-dot {
        left: 9px;
        width: 10px;
        height: 10px;
    }
    .timeline-line {
        left: 13px;
    }
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@keyframes futuristic-pulse {
    0% { box-shadow: 0 0 8px rgba(0, 242, 254, 0.3); }
    50% { box-shadow: 0 0 25px rgba(0, 242, 254, 0.7); }
    100% { box-shadow: 0 0 8px rgba(0, 242, 254, 0.3); }
}

/* Screen Edges Infinite Light Loop */
.screen-edge-left, .screen-edge-right {
    position: fixed;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(0, 242, 254, 0.03);
    z-index: 9999;
    pointer-events: none;
}

.screen-edge-left {
    left: 0;
    border-right: 1px dashed rgba(0, 242, 254, 0.08);
}

.screen-edge-right {
    right: 0;
    border-left: 1px dashed rgba(0, 242, 254, 0.08);
}

.screen-edge-left::after, .screen-edge-right::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    box-shadow: 0 0 12px var(--primary-glow);
}

.screen-edge-left::after {
    top: -180px;
    animation: edge-laser-down 8s linear infinite;
}

.screen-edge-right::after {
    bottom: -180px;
    animation: edge-laser-up 8s linear infinite;
}

@keyframes edge-laser-down {
    0% { top: -180px; }
    100% { top: 100vh; }
}

@keyframes edge-laser-up {
    0% { bottom: -180px; }
    100% { bottom: 100vh; }
}

/* Monolithic Split Door Preloader */
.preloader-monolithic {
    position: fixed; inset: 0;
    z-index: 100000;
    display: flex; justify-content: center; align-items: center;
    pointer-events: auto;
}

.preloader-monolithic.loaded {
    pointer-events: none;
}

.mono-panel {
    position: absolute; left: 0; width: 100%; height: 50.5vh; /* 0.5vh overlap to prevent gap */
    background: var(--bg-color);
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}

.top-panel { top: 0; transform-origin: top; }
.bottom-panel { bottom: 0; transform-origin: bottom; }

.preloader-monolithic.loaded .top-panel { transform: translateY(-100%); }
.preloader-monolithic.loaded .bottom-panel { transform: translateY(100%); }

.mono-content {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center;
    transition: opacity 0.4s ease;
}

.preloader-monolithic.loaded .mono-content { opacity: 0; }

.mono-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-family: var(--font-display);
    font-weight: 900; letter-spacing: 0.1em;
    color: var(--text-primary);
    text-shadow: 0 0 30px var(--primary-glow);
}

.mono-counter {
    margin-top: 10px;
    font-family: var(--font-mono); font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Ambient Floating Orbs (Background) */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -3;
    pointer-events: none;
    opacity: 0.12;
}

.orb-1 {
    top: -10%;
    left: 10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(76, 66, 254, 0.15), transparent 60%);
    animation: premium-drift-slow 22s ease-in-out infinite alternate;
}

.orb-2 {
    bottom: -15%;
    right: 5%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(246, 99, 56, 0.12), transparent 60%);
    animation: premium-drift-slow-reverse 26s ease-in-out infinite alternate;
}

.orb-3 {
    top: 40%;
    right: 35%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(160, 161, 252, 0.1), transparent 60%);
    animation: premium-drift-slow 18s ease-in-out infinite alternate;
}

/* Animations Keyframes */
@keyframes premium-glow-pulse {
    0% { transform: scale(0.92); opacity: 0.75; }
    100% { transform: scale(1.08); opacity: 1; }
}

@keyframes premium-fade-up-logo {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes premium-fade-in-line {
    to { opacity: 1; transform: scaleX(1); }
}

@keyframes premium-fade-in-status {
    to { opacity: 1; }
}

@keyframes premium-drift-slow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(3vw, 4vh) scale(1.08); }
    100% { transform: translate(-1vw, -2vh) scale(0.96); }
}

@keyframes premium-drift-slow-reverse {
    0% { transform: translate(0, 0) scale(1.04); }
    50% { transform: translate(-2vw, -3vh) scale(0.92); }
    100% { transform: translate(1vw, 2vh) scale(1.08); }
}

/* Background Network Canvas Styles */
#bg-network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    opacity: 0.28;
}

/* Responsive Background Orb Enhancements (Green Beam for Mobile) */
@media (max-width: 768px) {
    .cyber-hud {
        display: block !important;
        inset: 5px;
        opacity: 0.5 !important;
    }
    .hud-item { transform: scale(0.65); }
    .t-top-left { transform-origin: top left; }
    .t-top-right { transform-origin: top right; }
    .t-bottom-left { transform-origin: bottom left; }
    .t-bottom-right { transform-origin: bottom right; }
    
    .cert-number {
        color: rgba(0, 242, 254, 0.15) !important;
        -webkit-text-stroke: 1px rgba(0, 242, 254, 0.5) !important;
    }
    .bg-orb {
        filter: blur(65px) !important;
        opacity: 0.25 !important;
    }
    .orb-1 {
        width: 85vw !important;
        height: 85vw !important;
        top: 2% !important;
        left: -10% !important;
        background: radial-gradient(circle, rgba(246, 99, 56, 0.25), transparent 70%) !important;
    }
    .orb-2 {
        width: 80vw !important;
        height: 80vw !important;
        bottom: 2% !important;
        right: -10% !important;
        background: radial-gradient(circle, rgba(76, 66, 254, 0.25), transparent 70%) !important;
    }
    .orb-3 {
        width: 75vw !important;
        height: 75vw !important;
        top: 40% !important;
        right: 5% !important;
        background: radial-gradient(circle, rgba(162, 89, 255, 0.2), transparent 70%) !important;
    }
    /* Mobile tweaks for Segmented Pill */
    .hero-cta {
        max-width: 340px;
        margin: 0 auto 3rem auto !important; /* Center on mobile */
    }

    .hero-cta .btn {
        padding: 0.8rem 0.5rem;
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}

/* Cyber-Corporate Intro CSS */
.cyber-intro {
    position: fixed; inset: 0; z-index: 100000;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: transparent;
    pointer-events: all;
    overflow: hidden;
}

.cyber-intro::before,
.cyber-intro::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 50%;
    background: #08090C;
    z-index: -1;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}
.cyber-intro::before { left: 0; transform-origin: left; }
.cyber-intro::after { right: 0; transform-origin: right; }

.cyber-intro.loaded::before,
.cyber-intro.loaded::after {
    transform: scaleX(0);
}

.cyber-intro.loaded > * {
    opacity: 0 !important;
    transform: scale(1.5);
    transition: all 0.8s ease-in-out;
}

.cyber-intro.loaded {
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s 1.2s; /* wait for doors to open */
}

.cyber-scanlines {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(rgba(0,0,0,0) 50%, rgba(255,255,255,0.03) 50%);
    background-size: 100% 4px;
    z-index: 1; opacity: 0.5;
}

.cyber-hud {
    position: absolute; inset: 30px; pointer-events: none; z-index: 2;
    opacity: 0; animation: hud-boot 0.5s ease-out 0.2s forwards;
}
@keyframes hud-boot { to { opacity: 0.15; } }

.hud-item {
    position: absolute; font-family: monospace; font-size: 10px; color: #00F2FE; letter-spacing: 2px;
}
.t-top-left { top: 0; left: 0; }
.t-top-right { top: 0; right: 0; }
.t-bottom-left { bottom: 0; left: 0; }
.t-bottom-right { bottom: 0; right: 0; }

.cyber-emblem-container {
    position: relative; width: clamp(180px, 30vw, 320px); aspect-ratio: 1/1; z-index: 3;
    perspective: 1000px;
    animation: parallax-zoom 2.5s cubic-bezier(0.25,1,0.5,1) 1.5s forwards, breathing 4s ease-in-out infinite 2.2s;
}

@keyframes parallax-zoom {
    from { transform: scale(1) translateZ(0); }
    to { transform: scale(1.1) translateZ(120px); filter: drop-shadow(0 0 25px var(--brand-blue)); }
}

@keyframes breathing {
    0%, 100% { transform: scale(1.1) translateZ(120px); }
    50% { transform: scale(1.115) translateZ(120px); }
}

.cyber-emblem {
    width: 100%; height: 100%; overflow: visible;
}

.cyber-ring {
    stroke-dasharray: 1700; stroke-dashoffset: 1700;
    filter: drop-shadow(0 0 12px var(--brand-blue));
    animation: ring-draw 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
@keyframes ring-draw { to { stroke-dashoffset: 0; } }

.cyber-logo-img {
    position: absolute;
    top: 50%; left: 50%;
    width: 60%; /* Perfect size for an even gap all around */
    height: auto;
    z-index: 3;
    opacity: 0;
    transform: translate(-50%, -63%) scale(0.5); /* Geometrically centered to account for triangle bottom-weight */
    animation: 
        logo-reveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards,
        data-glitch 4s infinite 2.5s;
    filter: drop-shadow(0 0 15px var(--primary-glow));
}

@keyframes logo-reveal {
    to { opacity: 1; transform: translate(-50%, -63%) scale(1); }
}

@keyframes data-glitch {
    0%, 100% { filter: drop-shadow(0 0 15px var(--primary-glow)) hue-rotate(0deg); transform: translate(-50%, -63%) scale(1) skewX(0deg); }
    1% { filter: drop-shadow(0 0 25px var(--brand-orange)) hue-rotate(90deg); transform: translate(-52%, -63%) scale(1.02) skewX(2deg); }
    2% { filter: drop-shadow(0 0 15px var(--primary-glow)) hue-rotate(0deg); transform: translate(-48%, -63%) scale(0.98) skewX(-2deg); }
    3% { transform: translate(-50%, -63%) scale(1) skewX(0deg); }
}

.cyber-typography {
    margin-top: 40px; text-align: center; position: relative; z-index: 3;
}

.cyber-name {
    font-family: var(--font-display); 
    font-size: clamp(1.2rem, 5vw, 2.5rem); 
    font-weight: 700;
    letter-spacing: clamp(4px, 1.5vw, 12px); 
    color: #FFFFFF;
    opacity: 0; transform: translateY(10px);
    animation: text-reveal 0.5s ease-out 4s forwards;
    white-space: nowrap; /* Prevents awkward wrapping */
}

.cyber-role {
    font-family: monospace; 
    font-size: clamp(0.55rem, 2vw, 0.85rem); 
    font-weight: 400;
    letter-spacing: clamp(2px, 1vw, 4px); 
    color: var(--brand-orange); margin-top: 10px;
    opacity: 0; transform: translateY(10px);
    animation: text-reveal 0.5s ease-out 4.3s forwards;
}

@keyframes text-reveal {
    to { opacity: 1; transform: translateY(0); }
}

.cyan-bounding-box {
    position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px;
    border: 1px solid var(--brand-blue); opacity: 0; pointer-events: none;
    animation: bounding-box 1.5s cubic-bezier(0.16, 1, 0.3, 1) 4s forwards;
}
@keyframes bounding-box {
    0% { transform: scale(0.9); opacity: 0; }
    20% { opacity: 0.5; box-shadow: 0 0 10px var(--primary-glow); }
    100% { transform: scale(1.05); opacity: 0; }
}

.cyber-bracket {
    font-family: var(--font-mono);
    font-size: clamp(3rem, 6vw, 5rem);
    color: rgba(255, 255, 255, 0.1);
    font-weight: 300;
    animation: bracket-pulse 2s infinite alternate;
}
.left-bracket { margin-right: 15px; }
.right-bracket { margin-left: 15px; }

@keyframes bracket-pulse {
    0% { color: rgba(255, 255, 255, 0.1); text-shadow: none; transform: scale(1); }
    100% { color: var(--primary); text-shadow: 0 0 15px var(--primary-glow); transform: scale(1.1); }
}
.cyber-text-group { display: flex; flex-direction: column; align-items: center; }

/* Enhanced HUD Elements */
.hud-line { display: inline-block; width: 40px; height: 1px; background: var(--brand-blue); vertical-align: middle; margin: 0 8px; opacity: 0.5; }
.t-mid-left { top: 50%; left: 0; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; }
.t-mid-right { top: 50%; right: 0; transform: translateY(-50%); text-align: right; }
.hud-bar { height: 2px; background: var(--brand-blue); width: 80px; opacity: 0.7; }

/* HUD Reticles around Emblem */
.hud-reticle {
    position: absolute; width: 20px; height: 20px; border: 2px solid var(--brand-blue); opacity: 0;
    animation: reticle-lock 1s cubic-bezier(0.25, 1, 0.5, 1) 2s forwards;
}
.reticle-tl { top: -20px; left: -20px; border-right: none; border-bottom: none; }
.reticle-tr { top: -20px; right: -20px; border-left: none; border-bottom: none; }
.reticle-bl { bottom: -20px; left: -20px; border-right: none; border-top: none; }
.reticle-br { bottom: -20px; right: -20px; border-left: none; border-top: none; }

@keyframes reticle-lock {
    0% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1); opacity: 0.6; }
}

.hud-spin-ring {
    position: absolute; inset: -30px; border: 1px dashed rgba(76, 66, 254, 0.4);
    border-radius: 50%; z-index: 1; opacity: 0; pointer-events: none;
    animation: spin-ring-appear 1s 1s forwards, spin-ring 20s linear infinite;
}
@keyframes spin-ring-appear { to { opacity: 1; } }
@keyframes spin-ring { to { transform: rotate(360deg); } }

/* SVG Spin Keyframes */
.cyber-spin-slow { transform-origin: 308px 308px; animation: svg-spin 30s linear infinite; }
.cyber-spin-slow-reverse { transform-origin: 308px 308px; animation: svg-spin-rev 25s linear infinite; }
.cyber-spin-medium { transform-origin: 308px 308px; animation: svg-spin 15s linear infinite; }
.cyber-spin-fast-reverse { transform-origin: 308px 308px; animation: svg-spin-rev 10s linear infinite; }

@keyframes svg-spin { to { transform: rotate(360deg); } }
@keyframes svg-spin-rev { to { transform: rotate(-360deg); } }

/* ====================================================
   CLEAN PREMIUM MODERN CONTACT SECTION 
   ==================================================== */
.futuristic-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.cyber-panel {
    background: rgba(15, 17, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem;
    position: relative;
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
}

.cyber-text {
    font-family: var(--font-sans);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.futuristic-links li a {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.futuristic-links li a:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateX(8px);
}
.futuristic-links .icon-box {
    width: 42px; height: 42px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex; justify-content: center; align-items: center;
    color: var(--primary);
    transition: all 0.3s;
}
.futuristic-links li a:hover .icon-box {
    border-color: var(--primary);
    background: rgba(0, 242, 254, 0.1);
    box-shadow: 0 0 15px var(--primary-glow);
}
.futuristic-links .data-label {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.futuristic-form .input-row {
    display: flex;
    gap: 1.5rem;
}
.futuristic-form .input-group.cyber-input {
    flex: 1;
    margin-bottom: 2rem;
    position: relative;
}
.cyber-input input, .cyber-input textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.2rem;
    width: 100%;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cyber-input input:focus, .cyber-input textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
    outline: none;
}
.cyber-input label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: absolute;
    top: -10px !important;
    left: 12px !important;
    background: #0f1117;
    padding: 0 8px;
    color: var(--primary) !important;
    opacity: 0.9;
    border-radius: 4px;
}

.cyber-submit-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 1.1rem;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1.05rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 rgba(0, 242, 254, 0);
}
.cyber-submit-btn:hover {
    background: var(--primary);
    color: #0c0d12;
    box-shadow: 0 10px 25px var(--primary-glow);
    transform: translateY(-2px);
}

/* ====================================================
   PREMIUM ABOUT SECTION
   ==================================================== */
.about-premium-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-large-text .gradient-text-animated {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #fff, #a259ff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-display);
    letter-spacing: -1px;
}
.about-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
}
.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}
.stat-item .stat-num {
    font-size: 2.5rem;
    font-family: var(--font-display);
    color: var(--primary);
    margin-bottom: 0.3rem;
}
.stat-item p {
    color: #888;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.about-visual {
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cool-abstract-shape {
    position: relative;
    width: 300px;
    height: 300px;
}
.glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    animation: premium-drift-slow 6s ease-in-out infinite alternate;
}
.orb-a {
    width: 200px; height: 200px;
    background: var(--primary);
    top: -20px; left: -20px;
}
.orb-b {
    width: 150px; height: 150px;
    background: #a259ff;
    bottom: -20px; right: -20px;
    animation-delay: -3s;
}
.glass-panel {
    position: absolute;
    inset: 10px;
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 2;
    font-size: 5rem;
    color: rgba(255,255,255,0.5);
    transition: all 0.5s;
}
.cool-abstract-shape:hover .glass-panel {
    transform: scale(1.05) rotate(5deg);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

/* Sci-Fi Atomic Core */
.atomic-core {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.atom-nucleus {
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary-glow), 0 0 40px #a259ff;
    animation: pulse-glow 2s infinite alternate;
}
.atom-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(0, 242, 254, 0.4);
    box-shadow: inset 0 0 10px rgba(162, 89, 255, 0.2);
}
.atom-ring-1 { transform: rotateX(65deg) rotateY(0deg); animation: spin-ring-1 8s linear infinite; }
.atom-ring-2 { transform: rotateX(65deg) rotateY(60deg); animation: spin-ring-2 8s linear infinite; }
.atom-ring-3 { transform: rotateX(65deg) rotateY(120deg); animation: spin-ring-3 8s linear infinite; }

@keyframes spin-ring-1 { 100% { transform: rotateX(65deg) rotateY(0deg) rotateZ(360deg); } }
@keyframes spin-ring-2 { 100% { transform: rotateX(65deg) rotateY(60deg) rotateZ(360deg); } }
@keyframes spin-ring-3 { 100% { transform: rotateX(65deg) rotateY(120deg) rotateZ(360deg); } }
@keyframes pulse-glow { 0% { transform: scale(0.9); opacity: 0.8; } 100% { transform: scale(1.1); opacity: 1; } }

/* Floating Tech Animations */
.floating-tech {
    position: absolute;
    background: rgba(15, 17, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 4;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    animation: float-tech 6s ease-in-out infinite alternate;
}
.tech-1 { top: 10%; left: -30px; animation-delay: 0s; border-color: rgba(0, 242, 254, 0.3); color: #00F2FE; }
.tech-2 { top: 20%; right: -40px; animation-delay: -2s; border-color: rgba(162, 89, 255, 0.3); color: #a259ff; }
.tech-3 { bottom: 20%; left: -20px; animation-delay: -4s; border-color: rgba(248, 152, 32, 0.3); color: #f89820; }
.tech-4 { bottom: 10%; right: -20px; animation-delay: -1s; border-color: rgba(16, 185, 129, 0.3); color: #10B981; }

@keyframes float-tech {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(5deg); }
}

/* ====================================================
   PREMIUM CERTIFICATE TICKETS
   ==================================================== */
.cert-track-container {
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}
.cert-track-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
}
.cert-track-item:last-child {
    margin-bottom: 0;
}

.cert-number {
    font-size: 8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
    font-family: var(--font-display);
    width: 140px;
    flex-shrink: 0;
    text-align: right;
    line-height: 1;
    text-shadow: 0 0 25px rgba(0, 242, 254, 0.15);
}
@media (max-width: 768px) {
    .cert-track-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        height: auto;
        padding: 4rem 0;
        position: relative;
        top: auto !important;
    }
    .cert-track-container {
        padding-bottom: 0;
    }
    .cert-number {
        font-size: 4rem;
        text-align: left;
        width: 100%;
        margin-bottom: -2rem;
        z-index: -1;
        opacity: 0.5;
        padding-left: 1rem;
    }
}
.cert-ticket {
    display: flex;
    background: rgba(15, 17, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cert-ticket:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(10px);
    border-color: var(--cert-accent, var(--primary));
    box-shadow: 0 15px 35px rgba(0,0,0,0.3), inset 0 0 20px rgba(0, 242, 254, 0.05);
}
.cert-ticket-left {
    padding: 2rem;
    background: rgba(0, 242, 254, 0.03);
    border-right: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 160px;
    position: relative;
}
.cert-ticket-left::before, .cert-ticket-left::after {
    content: '';
    position: absolute;
    right: -10px;
    width: 20px; height: 20px;
    background: var(--bg-color);
    border-radius: 50%;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
}
.cert-ticket-left::before { top: -10px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); transform: rotate(45deg); }
.cert-ticket-left::after { bottom: -10px; border-top: 1px solid rgba(255, 255, 255, 0.05); transform: rotate(45deg); }

.cert-year {
    font-size: 1.8rem;
    font-family: var(--font-display);
    color: var(--primary);
    font-weight: 700;
}
.cert-brand {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}
.cert-ticket-main {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cert-ticket-main h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}
.cert-ticket-main p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    font-family: var(--font-sans);
}
.cert-ticket-right {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cert-view-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cert-ticket:hover .cert-view-btn {
    background: var(--cert-accent, var(--primary));
    color: #000;
    border-color: var(--cert-accent, var(--primary));
    transform: scale(1.15) rotate(-45deg);
    box-shadow: 0 0 20px var(--primary-glow);
}

@media (max-width: 992px) {
    .about-premium-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .cert-ticket {
        flex-direction: column;
    }
    .cert-ticket-left {
        border-right: none;
        border-bottom: 1px dashed rgba(255,255,255,0.1);
        padding: 1.5rem;
        min-width: auto;
    }
    .cert-ticket-left::before, .cert-ticket-left::after {
        display: none;
    }
    .cert-ticket-main {
        padding: 1.5rem;
    }
    .cert-ticket-right {
        padding: 0 1.5rem 1.5rem;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .futuristic-contact { grid-template-columns: 1fr; gap: 2rem; }
    .futuristic-form .input-row { flex-direction: column; gap: 0; }
    .cyber-panel { padding: 2rem 1.5rem; }
}

/* ====================================================
   MODERN PREMIUM FOOTER SECTION
   ==================================================== */
.modern-footer {
    position: relative;
    background: #050505;
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
    overflow: hidden;
}
.footer-bg-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 242, 254, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    mask-image: radial-gradient(circle at center top, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center top, black, transparent 80%);
    z-index: 1;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-brand-section {
    position: relative;
    text-align: center;
    width: 100%;
}

.huge-brand-text {
    font-size: clamp(3rem, 10vw, 8rem);
    font-family: var(--font-display);
    color: #fff;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -2px;
    z-index: 2;
    position: relative;
}

.huge-brand-text.offset-text {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    z-index: 1;
    pointer-events: none;
}

.footer-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    font-family: var(--font-sans);
    letter-spacing: 1px;
}

.footer-content-section {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 3rem 0;
}

.footer-nav, .footer-socials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-heading {
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-links-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links-row a {
    color: #fff;
    font-size: 1.1rem;
    font-family: var(--font-sans);
    transition: color 0.3s ease;
    text-decoration: none;
}
.footer-links-row a:hover {
    color: var(--primary);
}

.social-icons-row {
    display: flex;
    gap: 1.5rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: translateY(-5px);
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
}

.copyright {
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    font-family: var(--font-sans);
}

.status-indicator-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.03);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    color: #fff;
}

.pulse-dot-green {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
    animation: pulse 2s infinite;
}

@media (max-width: 768px) {
    .footer-content-section {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-links-row, .social-icons-row {
        justify-content: center;
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .huge-brand-text {
        font-size: 2.5rem;
    }
}

/* ====================================================
   FUTURISTIC CONTACT SECTION ENHANCEMENTS
   ==================================================== */
.cyber-contact-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 242, 254, 0.2);
    padding-bottom: 0.5rem;
    display: inline-block;
    color: #fff;
}
.contact-data {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.data-type {
    font-size: 0.65rem;
    color: var(--primary);
    letter-spacing: 2px;
    font-family: var(--font-mono);
}
.cyber-contact-btn {
    border: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.3);
    padding: 1rem;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
}
.cyber-contact-btn:hover {
    border-color: var(--primary);
    background: rgba(0, 242, 254, 0.05);
    transform: translateX(10px);
}
.cyber-corners {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
}
.cyber-corners::before, .cyber-corners::after {
    content: ''; position: absolute; width: 20px; height: 20px;
    border: 2px solid var(--primary);
}
.cyber-corners::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.cyber-corners::after { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.cyber-input {
    position: relative;
}
.cyber-input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.4s ease;
}
.cyber-input input:focus ~ .cyber-input-border,
.cyber-input textarea:focus ~ .cyber-input-border {
    width: 100%;
}


.cyber-submit-btn {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--primary);
    color: #fff;
    width: 100%;
    padding: 1.2rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}
.cyber-submit-btn:hover {
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    color: #000;
}
