/* Google Fonts: Outfit for Headings, Inter for Body */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Premium CSS Variables */
:root {
    --bg-dark: #050810;
    /* Deepest space black/blue */
    --bg-light: #0B1121;
    /* Dark blue slate */
    --bg-lightest: #151E32;
    /* Lighter slate for borders/panels */

    --text-primary: #F3F4F6;
    /* Crisp white-gray */
    --text-secondary: #9CA3AF;
    /* Muted gray for body */

    --accent: #00E5FF;
    /* Vibrant Cyan */
    --accent-secondary: #7000FF;
    /* Deep Purple for Gradients */
    --accent-tint: rgba(0, 229, 255, 0.1);

    --glass-bg: rgba(11, 17, 33, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-border-hover: rgba(0, 229, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);

    --font-heading: 'Outfit', sans-serif;
    --font-main: 'Inter', sans-serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --nav-height: 90px;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle Grid Background Pattern */
/* Custom Luxury Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-lightest);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

a:hover {
    color: var(--accent);
}

ul {
    list-style: none;
}

.text-cyan {
    color: var(--accent) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dynamic Background Orbs */
.bg-gradient-1,
.bg-gradient-2 {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.12;
    animation: float 25s infinite alternate ease-in-out;
}

.bg-gradient-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -150px;
    left: -150px;
}

.bg-gradient-2 {
    width: 700px;
    height: 700px;
    background: var(--accent-secondary);
    bottom: -200px;
    right: -200px;
    animation-delay: -12s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(100px, 100px) scale(1.1);
    }

    100% {
        transform: translate(-50px, 150px) scale(0.9);
    }
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.hover-lift {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px -10px rgba(0, 229, 255, 0.15);
}

/* Layout Classes */
main {
    padding: 0 120px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 120px 0;
}

.section-title {
    display: flex;
    align-items: center;
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 700;
    margin-bottom: 50px;
    white-space: nowrap;
}

.section-title::after {
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    max-width: 300px;
    background: linear-gradient(90deg, var(--bg-lightest), transparent);
    margin-left: 30px;
}

/* Premium Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-dark);
    border: none;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
    background-color: #00f0ff;
    color: var(--bg-dark);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: var(--accent-tint);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-whatsapp {
    background-color: rgba(37, 211, 102, 0.15);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.4);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.15);
}

.btn-whatsapp:hover {
    background-color: #25D366;
    color: #050810;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

/* Social Icons & Hero Layout Additions */
.hero-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links-hero {
    display: flex;
    gap: 15px;
    margin-left: 5px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 24px;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent);
    color: var(--bg-dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--accent-tint);
    border-color: var(--accent);
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 15px;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(145deg, rgba(11, 17, 33, 0.8), rgba(21, 30, 50, 0.4));
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-secondary);
}

.tool-item:hover {
    border-color: var(--accent-secondary);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(112, 0, 255, 0.15);
}

.tool-item i {
    color: var(--accent-secondary);
    font-size: 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    height: 75px;
    border-radius: 40px;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid transparent;
    z-index: 100;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Jelly Bouncy Effect */
}

.navbar.scrolled {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.navbar.scroll-down {
    transform: translate(-50%, -150%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 100%;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-btn {
    font-family: var(--font-heading);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.nav-btn:hover {
    background-color: var(--accent-tint);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 32px;
    cursor: pointer;
    z-index: 101;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(5, 8, 16, 0.95);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 99;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 0 0 380px;
    display: flex;
    justify-content: center;
}

.profile-frame {
    position: relative;
    width: 360px;
    height: 360px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    /* Gradient background that will show through if the image has no bg */
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(112, 0, 255, 0.4));
    border: 3px solid var(--accent);
    box-shadow: 0 0 30px var(--accent-tint), inset 0 0 40px rgba(0, 229, 255, 0.2);
    animation: morph 8s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* Align to bottom so the person sits on the frame bottom */
    overflow: hidden;
}

.profile-frame img {
    width: 190%;
    height: 112%;
    object-fit: contain;
    /* Contain ensures the entire body/face is visible without cropping */
    object-position: bottom;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.02);
    /* Very subtle scaling */
    z-index: 2;
}

/* Hover Effect: slight pop up and glow */
.profile-frame:hover {
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.4), inset 0 0 50px rgba(112, 0, 255, 0.4);
}

.profile-frame:hover img {
    transform: scale(1.08) translateY(-5px);
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.greeting {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 16px;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.name {
    font-size: clamp(45px, 8vw, 85px);
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.1;
}

.headline {
    color: var(--text-secondary);
    font-size: clamp(30px, 5vw, 60px);
    font-weight: 700;
    margin-bottom: 35px;
    max-width: 900px;
}

.sub-headline {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 50px;
    color: var(--text-secondary);
}

.sub-headline strong {
    color: var(--text-primary);
}

.hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

/* Hero Stats Strip */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--glass-border);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Timeline/Experience/Education */
.timeline {
    position: relative;
    max-width: 850px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent), var(--bg-lightest) 80%);
    top: 0;
    bottom: 0;
    left: 24px;
}

.timeline-item {
    padding: 0 0 50px 60px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: var(--accent);
    border-radius: 50%;
    left: 17px;
    top: 30px;
    z-index: 1;
    box-shadow: 0 0 15px var(--accent);
    border: 3px solid var(--bg-dark);
}

.timeline-content {
    padding: 35px;
    border-left: 2px solid transparent;
}

.timeline-content:hover {
    border-left-color: var(--accent);
}

.timeline-date {
    display: inline-block;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 14px;
    margin-bottom: 15px;
    background: var(--accent-tint);
    padding: 4px 12px;
    border-radius: 20px;
}

.company {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

/* Section Header Flex (Title + Filters) */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

/* Portfolio Filters */
.project-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13.5px;
    font-family: var(--font-main);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-tint);
    border-color: var(--accent);
    color: var(--accent);
}

/* Projects/Awards Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    padding: 35px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.project-card.is-hidden {
    display: none;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover::before {
    opacity: 1;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.project-icon {
    font-size: 42px;
    color: var(--accent);
}

.project-badge {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--accent);
    background: var(--accent-tint);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.project-title {
    font-size: 22px;
    margin-bottom: 12px;
}

/* Project Tags */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
}

.project-tags span {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 3px 8px;
    border-radius: 4px;
}

/* Contact Section */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-subtitle {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 16px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.contact-title {
    font-size: clamp(40px, 6vw, 70px);
    margin-bottom: 30px;
    font-weight: 800;
}

.location {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
    color: var(--text-primary);
    font-size: 18px;
    font-family: var(--font-heading);
}

.location i {
    color: var(--accent);
    font-size: 24px;
}

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

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    font-family: var(--font-main);
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 1080px) {
    main {
        padding: 0 80px;
    }
}

@media (max-width: 900px) {
    .hero-content-wrapper {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding-top: 150px;
        padding-bottom: 50px;
    }
}

@media (max-width: 768px) {
    main {
        padding: 0 40px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .timeline::after {
        left: 19px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-dot {
        left: 12px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .social-links-hero {
        margin-left: 0;
        margin-top: 6px;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    main {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   ADDITIONAL STYLES (Moved from inline index.html)
   ========================================================================= */
.long-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.cert-card {
    padding: 30px;
    margin-bottom: 25px;
}

.cert-card h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.cert-org {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 14px;
    margin-bottom: 20px;
    display: inline-block;
    background: var(--accent-tint);
    padding: 4px 12px;
    border-radius: 20px;
}

.btn-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 8px 16px;
    font-size: 13.5px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-tint);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-doc-link:hover {
    background: var(--accent);
    color: var(--bg-dark);
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.35);
    transform: translateY(-2px);
}

.exp-list {
    margin-top: 15px;
    list-style-type: none;
}

.exp-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.exp-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(17, 34, 64, 0.4);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    font-weight: 500;
}

.skill-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--accent-tint);
}

/* Luxury Features Additions */

/* Reading Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #7000FF, #00E5FF);
    z-index: 1000;
    transition: width 0.1s ease-out;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px #10B981;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid #10B981;
    animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.status-text {
    font-size: 13px;
    font-weight: 500;
    color: #10B981;
    font-family: var(--font-mono);
}

/* Active Nav Link Highlighting */
.nav-link.active {
    color: var(--accent);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Back to Top Floating Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(11, 17, 33, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--bg-dark);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
    transform: translateY(-4px);
}

/* Luxury Spotlight Glass Effect on Hover */
.glass-panel {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 12px 40px 0 rgba(0, 229, 255, 0.08);
}

/* =========================================================================
   DOCUMENT VIEWER POPUP MODAL (LIGHTBOX)
   ========================================================================= */
.doc-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-modal.active {
    opacity: 1;
    visibility: visible;
}

.doc-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.doc-modal-content {
    position: relative;
    z-index: 2;
    background: rgba(10, 15, 29, 0.98);
    border: 1px solid var(--glass-border-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 229, 255, 0.15);
    border-radius: 16px;
    width: 94vw;
    max-width: 880px;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95) translateY(10px);
    transition: max-width 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-modal.active .doc-modal-content {
    transform: scale(1) translateY(0);
}

/* Portrait Modal Orientation */
.doc-modal-content.is-portrait {
    max-width: 680px;
}

.doc-modal-content.is-portrait.is-pdf {
    max-width: 820px;
    height: 94vh;
}

/* Landscape Modal Orientation */
.doc-modal-content.is-landscape {
    max-width: 1020px;
}

.doc-modal-content.is-landscape.is-pdf {
    max-width: 1120px;
    height: 94vh;
}

.doc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(14, 20, 36, 0.7);
    flex-shrink: 0;
    width: 100%;
}

.doc-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
    margin-right: 10px;
}

.doc-modal-icon {
    font-size: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.doc-modal-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.doc-modal-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.pdf-toolbar-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: rgba(8, 12, 24, 0.92);
    border-bottom: 1px solid var(--glass-border);
    flex-shrink: 0;
    width: 100%;
}

.doc-modal-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.doc-modal-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-tint);
    transform: translateY(-1px);
}

.doc-modal-close:hover {
    color: #ff5252;
    border-color: rgba(255, 82, 82, 0.4);
    background: rgba(255, 82, 82, 0.1);
}

.doc-modal-body {
    padding: 16px;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    max-height: calc(94vh - 65px);
    background: #060913;
}

.doc-modal-content.is-pdf .doc-modal-body {
    padding: 0;
    height: calc(94vh - 65px);
    max-height: calc(94vh - 65px);
    background: #070a14;
    overflow: auto;
}

.pdf-controls {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pdf-divider {
    width: 1px;
    height: 22px;
    background: var(--glass-border);
    margin: 0 4px;
}

.pdf-page-indicator,
.pdf-zoom-indicator {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
    padding: 0 6px;
    user-select: none;
    white-space: nowrap;
}

.pdf-canvas-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 100%;
    padding: 20px 16px;
    box-sizing: border-box;
    overflow: auto;
    position: relative;
    background: #070a14;
}

.doc-modal-canvas {
    max-width: 100%;
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
    border: 1px solid var(--glass-border);
    display: block;
    margin: 0 auto;
    background: #ffffff;
}

.pdf-loading-spinner {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 40px;
}

.doc-modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

/* Project Scope Badges */
.badge-nda {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

.badge-client {
    background: rgba(45, 212, 191, 0.12) !important;
    color: #2dd4bf !important;
    border: 1px solid rgba(45, 212, 191, 0.3) !important;
}

.badge-edu {
    background: rgba(168, 85, 247, 0.12) !important;
    color: #c084fc !important;
    border: 1px solid rgba(168, 85, 247, 0.3) !important;
}

.badge-fin {
    background: rgba(0, 229, 255, 0.12) !important;
    color: #00e5ff !important;
    border: 1px solid rgba(0, 229, 255, 0.3) !important;
}

/* Interactive Contact Info Pills */
.contact-info-pills {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 25px 0 35px;
}

.copy-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 10px 18px;
    border-radius: 30px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.copy-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-tint);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.15);
}

.copy-pill.location-static {
    cursor: default;
    color: var(--text-secondary);
}

.copy-pill.location-static:hover {
    border-color: var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-secondary);
    transform: none;
    box-shadow: none;
}

.copy-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent);
    background: rgba(0, 229, 255, 0.15);
    padding: 2px 8px;
    border-radius: 12px;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: rgba(10, 15, 29, 0.96);
    border: 1px solid var(--accent);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 229, 255, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .doc-modal {
        padding: 6px;
    }
    .doc-modal-content,
    .doc-modal-content.is-portrait,
    .doc-modal-content.is-landscape,
    .doc-modal-content.is-pdf {
        max-width: 100vw;
        width: 100%;
        height: 96vh;
        max-height: 96vh;
        border-radius: 12px;
    }
    .doc-modal-header {
        padding: 10px 14px;
        flex-wrap: nowrap;
        gap: 8px;
    }
    .doc-modal-actions {
        flex-shrink: 0;
        gap: 6px;
    }
    .doc-modal-title {
        font-size: 14px;
    }
    .pdf-toolbar-bar {
        padding: 6px 10px;
        overflow-x: auto;
    }
    .pdf-controls {
        gap: 4px;
    }
    .pdf-page-indicator,
    .pdf-zoom-indicator {
        font-size: 11px;
        padding: 0 3px;
    }
    .doc-modal-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
        border-radius: 6px;
    }
    .doc-modal-body {
        padding: 10px;
        max-height: calc(96vh - 60px);
    }
    .doc-modal-content.is-pdf .doc-modal-body {
        padding: 0;
        max-height: calc(96vh - 100px);
    }
    .pdf-canvas-wrapper {
        padding: 12px 6px;
    }
    .doc-modal-image {
        max-height: 75vh;
    }
}