/**
 * SCITBOSS Portfolio - Main Stylesheet
 * Inspired by Awwwards-nominated mananthakkar.dev
 * Dark luxury aesthetic, glowing accents, fluid typography & glassmorphism
 */

:root {
    --bg-main: #08090d;
    --bg-surface: #0f131c;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-card-hover: rgba(23, 32, 51, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(99, 102, 241, 0.5);
    
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.35);
    --primary-hover: #4f46e5;
    
    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.35);
    
    --emerald: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.35);

    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;

    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
}

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

/* Background Atmosphere Glows */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 20%;
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: 0;
    right: 10%;
    width: 50vw;
    height: 50vh;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Custom Selection */
::selection {
    background: var(--primary);
    color: #ffffff;
}

/* Links & Images */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Custom Cursor */
.custom-cursor-outer,
.custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease-out, width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-outer {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
    transition: transform 0.15s ease-out, border-color 0.2s;
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
}

.cursor-hover .custom-cursor-outer {
    width: 54px;
    height: 54px;
    border-color: var(--cyan);
    background-color: rgba(6, 182, 212, 0.08);
}

@media (max-width: 1024px) {
    .custom-cursor-outer, .custom-cursor-dot { display: none !important; }
}

/* Header & Sticky Navbar */
.site-header {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.nav-pill-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 8px 16px;
    background: rgba(15, 19, 28, 0.75);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    transition: var(--transition-base);
}

.site-header.scrolled .nav-pill-wrapper {
    background: rgba(11, 15, 23, 0.92);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(99, 102, 241, 0.1);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.brand-logo .dot {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Status Availability Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--emerald);
}

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

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Primary & Outline Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px -4px var(--primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -4px var(--primary-glow);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

/* Mobile Hamburger */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 6px;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(11, 15, 23, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color);
    z-index: 1001;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.35s ease;
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.mobile-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mobile-nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 0;
    display: block;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--primary);
    padding-left: 8px;
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
}

.drawer-backdrop.active {
    display: block;
}

/* HERO SECTION */
.hero-section {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #a5b4fc;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-title .name-highlight {
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title .accent-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-top: 6px;
}

.hero-description {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-social-label {
    font-size: 13px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.social-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.social-icon-btn:hover {
    color: #ffffff;
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* 3D Developer Workspace Canvas & Scene */
.hero-canvas-wrap {
    position: relative;
    width: 100%;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-scene-canvas {
    width: 100% !important;
    height: 100% !important;
    outline: none;
    cursor: grab;
}

#hero-scene-canvas:active {
    cursor: grabbing;
}

.canvas-overlay-badges {
    position: absolute;
    bottom: 15px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.tech-pill-float {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    font-family: var(--font-mono);
    font-size: 12px;
    color: #38bdf8;
    animation: floatBadge 4s ease-in-out infinite;
}

.tech-pill-float:nth-child(2) {
    animation-delay: -2s;
    color: #34d399;
}

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

/* SECTION COMMON STYLING */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    color: #818cf8;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #ffffff;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 32px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 25px rgba(99, 102, 241, 0.08);
    transform: translateY(-4px);
}

/* ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.about-card-left {
    position: relative;
}

.about-avatar-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.about-avatar-frame img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-avatar-frame:hover img {
    transform: scale(1.03);
}

.about-stat-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.stat-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: var(--transition-fast);
}

.stat-box:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-sans);
    background: linear-gradient(135deg, #ffffff 40%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.about-bio-text p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-highlights-list {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    color: #e5e7eb;
}

.about-highlight-item .icon-check {
    color: var(--emerald);
    flex-shrink: 0;
    margin-top: 3px;
}

/* SKILLS SECTION */
.skills-filter-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 15px -3px var(--primary-glow);
}

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

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: var(--transition-base);
}

.skill-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

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

.skill-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.skill-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.skill-percent {
    font-family: var(--font-mono);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--cyan);
}

.progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--cyan) 100%);
    border-radius: var(--radius-full);
    width: 0;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* PROJECTS SECTION */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-base);
}

.project-card:hover {
    border-color: rgba(99, 102, 241, 0.35);
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(99, 102, 241, 0.1);
}

.project-thumb-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #000;
}

.project-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-thumb-wrap img {
    transform: scale(1.06);
}

.project-badge-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 10px;
    background: rgba(11, 15, 23, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--cyan);
    backdrop-filter: blur(8px);
}

.project-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.project-summary {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.project-metrics {
    padding: 10px 14px;
    background: rgba(99, 102, 241, 0.08);
    border-left: 3px solid var(--primary);
    border-radius: 4px;
    font-size: 12.5px;
    color: #c7d2fe;
    margin-bottom: 18px;
    font-family: var(--font-sans);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 22px;
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    color: #d1d5db;
}

.project-footer-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.project-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.project-action-link:hover {
    color: var(--primary);
}

/* EXPERIENCE TIMELINE */
.timeline-container {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding-left: 30px;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 7px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, rgba(99, 102, 241, 0.1) 100%);
}

.timeline-card {
    position: relative;
    margin-bottom: 40px;
}

.timeline-node {
    position: absolute;
    left: -30px;
    top: 20px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 3px solid var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-inner {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    backdrop-filter: blur(12px);
    transition: var(--transition-base);
}

.timeline-inner:hover {
    border-color: rgba(99, 102, 241, 0.35);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.timeline-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.timeline-role {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
}

.timeline-company {
    font-size: 15px;
    color: var(--cyan);
    font-weight: 600;
}

.timeline-period {
    font-family: var(--font-mono);
    font-size: 12.5px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    color: var(--text-muted);
}

.timeline-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.timeline-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-bullet {
    font-size: 13.5px;
    color: #e5e7eb;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.timeline-bullet::before {
    content: '▹';
    color: var(--primary);
    font-size: 14px;
}

/* EDUCATION & CERTIFICATES */
.edu-cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.cred-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
    margin-bottom: 16px;
    transition: var(--transition-fast);
}

.cred-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.cred-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.cred-sub {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cred-meta {
    font-size: 12px;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

/* ACHIEVEMENTS & GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    background: #000;
    border: 1px solid var(--border-color);
    aspect-ratio: 16 / 11;
}

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

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(8, 9, 13, 0.95) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.gallery-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 4px;
}

.gallery-caption {
    font-size: 14.5px;
    font-weight: 600;
    color: #ffffff;
}

/* SERVICES SECTION */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-base);
}

.service-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.service-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-title {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.service-features li {
    font-size: 13px;
    color: #d1d5db;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li::before {
    content: '✓';
    color: var(--emerald);
    font-weight: bold;
}

/* CONTACT SECTION */
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-fast);
}

.contact-info-card:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-card-val {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.contact-form-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(16px);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 8px;
}

.input-field,
.textarea-field {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: #ffffff;
    font-family: inherit;
    font-size: 14.5px;
    padding: 12px 16px;
    outline: none;
    transition: var(--transition-fast);
}

.input-field:focus,
.textarea-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: rgba(15, 23, 42, 0.85);
}

.textarea-field {
    min-height: 120px;
    resize: vertical;
}

.form-feedback {
    display: none;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    margin-bottom: 18px;
}

.form-feedback.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.form-feedback.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* FOOTER */
.site-footer {
    background: #050608;
    border-top: 1px solid var(--border-color);
    padding: 70px 0 30px;
    position: relative;
    z-index: 10;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 320px;
}

.footer-col-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 18px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list a {
    font-size: 13.5px;
    color: var(--text-muted);
}

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

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    color: var(--text-dim);
}

.developer-attribution {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
}

.developer-attribution a {
    color: #818cf8;
    font-weight: 600;
}

.developer-attribution a:hover {
    text-decoration: underline;
}

/* LIGHTBOX MODAL */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 900px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.lightbox-caption-text {
    margin-top: 16px;
    font-size: 15px;
    color: #ffffff;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-canvas-wrap { height: 420px; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn { display: none; }
    .mobile-toggle { display: block; }
    .hero-title { font-size: 38px; }
    .section-title { font-size: 30px; }
    .edu-cert-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
}
