/* ==========================================================================
   MAHIKA AGARWAL - ULTRA MODERN PORTFOLIO DESIGN SYSTEM
   Theme: Midnight Glass & Cosmic Violet/Cyan Glow
   Typography: Outfit (Headings) + Plus Jakarta Sans (Body) + JetBrains Mono (Code/Stats)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-primary: #080a10;
    --bg-secondary: #0e121e;
    --bg-tertiary: #14192b;
    --bg-card: rgba(18, 24, 40, 0.72);
    --bg-card-hover: rgba(28, 36, 60, 0.85);

    /* Accents & Gradients */
    --accent-primary: #6366f1;
    /* Indigo */
    --accent-secondary: #8b5cf6;
    /* Violet */
    --accent-cyan: #06b6d4;
    /* Cyan */
    --accent-pink: #ec4899;
    /* Rose Pink */
    --accent-emerald: #10b981;
    /* Emerald */

    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15), transparent 70%);

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-highlight: #e2e8f0;

    /* Borders & Glass */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.4);
    --border-glow: rgba(168, 85, 247, 0.3);
    --glass-blur: blur(16px);

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.25);
    --shadow-cyan-glow: 0 0 35px rgba(6, 182, 212, 0.25);

    /* Layout */
    --container-max: 1240px;
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 14px;
    --border-radius-lg: 22px;
    --border-radius-xl: 32px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.65;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

::selection {
    background: rgba(99, 102, 241, 0.35);
    color: #ffffff;
}

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

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

ul {
    list-style: none;
}

button,
input,
textarea {
    font-family: inherit;
}

/* ==========================================================================
   THREE.JS CANVAS BACKGROUND
   ========================================================================== */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.18;
    transition: all 0.8s ease;
}

.glow-top-left {
    top: -150px;
    left: -150px;
    background: var(--accent-primary);
}

.glow-bottom-right {
    bottom: -150px;
    right: -150px;
    background: var(--accent-cyan);
}

.glow-center {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-secondary);
    opacity: 0.12;
}

/* Content Container */
.app-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Helpers */
.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

.font-heading {
    font-family: 'Outfit', sans-serif;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-text-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   FLOATING GLASS NAVIGATION BAR
   ========================================================================== */
.site-header {
    position: fixed;
    top: 18px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

.glass-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(14, 18, 30, 0.88);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-subtle);
    border-radius: 40px;
    padding: 8px 16px 8px 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.1);
    transition: var(--transition-normal);
}

.glass-nav:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.brand-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

.brand-title {
    color: #ffffff;
}
.brand-title span {
    color: var(--accent-cyan);
}

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

.nav-link {
    padding: 7px 11px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 20px;
    white-space: nowrap;
    transition: var(--transition-normal);
    position: relative;
}

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

.nav-link.active {
    color: #ffffff;
    background: rgba(99, 102, 241, 0.18);
    border: 1px solid rgba(99, 102, 241, 0.35);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-nav {
    padding: 9px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.45);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    min-width: max-content;
    line-height: 1;
    transition: var(--transition-normal);
}

.btn-nav svg {
    flex-shrink: 0;
}

.btn-nav:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: #ffffff;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(14, 18, 30, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-left: 1px solid var(--border-subtle);
    z-index: 1050;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
}

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

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.drawer-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-link {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--text-secondary);
}

.drawer-link:hover,
.drawer-link.active {
    color: #fff;
    background: rgba(99, 102, 241, 0.2);
}

/* ==========================================================================
   BUTTONS & UI COMPONENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid var(--border-subtle);
    backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(99, 102, 241, 0.4);
}

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

/* Status Pill */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #34d399;
    margin-bottom: 24px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.6;
    }
}

/* Section Common Styles */
.section {
    padding: 110px 0 80px;
    position: relative;
}

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

.section-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.glass-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-6px);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-greeting {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    color: var(--accent-cyan);
    margin-bottom: 8px;
    font-weight: 600;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    color: #ffffff;
}

.hero-rotator-wrapper {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-highlight);
    margin-bottom: 20px;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.role-typewriter {
    color: var(--accent-cyan);
    font-family: 'Outfit', sans-serif;
    border-right: 3px solid var(--accent-primary);
    animation: blinkCursor 0.8s step-end infinite;
    padding-right: 4px;
}

@keyframes blinkCursor {

    0%,
    100% {
        border-color: transparent;
    }

    50% {
        border-color: var(--accent-primary);
    }
}

.hero-description {
    font-size: 1.12rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 34px;
    max-width: 620px;
}

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

.hero-socials {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    width: 100%;
}

.social-label {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.social-icon-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.social-icon-link:hover {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.social-icon-link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Hero Visual / Modern Profile Showcase Card */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.profile-showcase-card {
    position: relative;
    width: 100%;
    max-width: 410px;
    background: rgba(18, 24, 40, 0.75);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-xl);
    padding: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.18);
    transition: var(--transition-normal);
}

.profile-showcase-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(99, 102, 241, 0.28);
    transform: translateY(-4px);
}

.profile-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 0 2px;
}

.live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #34d399;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-family: 'JetBrains Mono', monospace;
}

.status-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulseDot 2s infinite;
}

.badge-role-tag {
    font-size: 0.75rem;
    color: var(--accent-cyan);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 4px 10px;
    border-radius: 12px;
}

.profile-photo-frame {
    width: 100%;
    height: 380px;
    border-radius: calc(var(--border-radius-xl) - 8px);
    overflow: hidden;
    position: relative;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-showcase-card:hover .profile-photo-img {
    transform: scale(1.03);
}

.photo-gradient-vignette {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(14, 18, 30, 0.6), transparent);
    pointer-events: none;
}

.profile-metrics-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.metric-chip {
    background: rgba(14, 18, 30, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-md);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
}

.metric-chip:hover {
    border-color: rgba(99, 102, 241, 0.35);
    background: rgba(22, 30, 50, 0.9);
}

.metric-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chip-icon {
    font-size: 1.05rem;
}

.metric-chip-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chip-value {
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
}

.chip-label {
    font-size: 0.70rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   STATS COUNTER SECTION
   ========================================================================== */
.stats-section {
    padding: 30px 0 80px;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-md);
    padding: 28px 24px;
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
}

.stat-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.stat-number-giant {
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label-modern {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   ABOUT & LEADERSHIP PILLARS SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text-content strong {
    color: #ffffff;
    font-weight: 600;
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-md);
    padding: 24px 20px;
    transition: var(--transition-normal);
}

.pillar-card:hover {
    border-color: var(--accent-secondary);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.pillar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.pillar-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card-modern {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-lg);
    padding: 36px 28px;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.service-card-modern:hover {
    border-color: var(--accent-primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.service-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 22px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

.service-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.service-body {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-bullets {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.service-bullet-item {
    font-size: 0.85rem;
    color: var(--text-highlight);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-bullet-item::before {
    content: '▹';
    color: var(--accent-cyan);
    font-size: 1rem;
}

/* ==========================================================================
   SKILLS & COMPETENCY MATRIX
   ========================================================================== */
.skills-matrix-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.skill-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    transition: var(--transition-normal);
}

.skill-category-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.category-icon {
    font-size: 1.5rem;
}

.category-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.progress-group {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.progress-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
}

.progress-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--gradient-primary);
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.skill-pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-highlight);
    transition: var(--transition-fast);
}

.skill-pill:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--accent-primary);
    color: #ffffff;
}

/* ==========================================================================
   FEATURED PROJECTS / PORTFOLIO SECTION
   ========================================================================== */
.projects-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

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

.project-card-modern:hover {
    border-color: var(--accent-primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.project-thumb-box {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.project-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-modern:hover .project-thumb-img {
    transform: scale(1.08);
}

.project-badge-float {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(14, 18, 30, 0.85);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-subtle);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-cyan);
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
}

.project-info-box {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title-modern {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.project-desc-modern {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 18px;
    flex-grow: 1;
}

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

.tag-badge {
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

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

.project-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--accent-cyan);
    transition: var(--transition-fast);
}

.project-link-btn:hover {
    color: #ffffff;
    gap: 12px;
}

/* ==========================================================================
   EXPERIENCE & EDUCATION TIMELINE
   ========================================================================== */
.timeline-wrapper {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-cyan), transparent);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 12px;
    top: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--accent-primary);
    box-shadow: 0 0 12px var(--accent-primary);
    z-index: 2;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-md);
    padding: 24px 28px;
    transition: var(--transition-normal);
}

.timeline-card:hover {
    border-color: var(--accent-primary);
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

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

.timeline-role {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.timeline-period {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.timeline-company {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-highlight);
    margin-bottom: 12px;
}

.timeline-bullets {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.timeline-bullets li {
    position: relative;
    padding-left: 18px;
    line-height: 1.6;
}

.timeline-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-size: 1.2rem;
    line-height: 1.4;
}

/* ==========================================================================
   INSIGHTS & ARTICLES (BLOGS)
   ========================================================================== */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

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

.insight-card:hover {
    border-color: var(--accent-secondary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.insight-thumb-box {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

.insight-card:hover .insight-thumb-img {
    transform: scale(1.08);
}

.insight-category {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 14px;
    background: rgba(14, 18, 30, 0.9);
    border: 1px solid var(--border-subtle);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    font-family: 'JetBrains Mono', monospace;
}

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

.insight-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 10px;
}

.insight-summary {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.insight-read-more {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid-modern {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-lg);
    padding: 36px;
}

.contact-info-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.contact-info-sub {
    font-size: 0.98rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 34px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.contact-item-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'JetBrains Mono', monospace;
}

.contact-item-val {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

/* Form Styles */
.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-lg);
    padding: 36px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-highlight);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(10, 14, 24, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-sm);
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.25);
    background: rgba(14, 18, 30, 0.95);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    padding: 50px 0 30px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(8, 10, 16, 0.9);
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-copy {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 20px;
}

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

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

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1120px) {
    .nav-link {
        padding: 6px 9px;
        font-size: 0.82rem;
    }

    .btn-nav {
        padding: 8px 15px;
        font-size: 0.82rem;
    }

    .brand-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

    .profile-showcase-card {
        max-width: 380px;
    }

    .stats-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid-modern {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 880px) {
    .nav-links {
        display: none;
    }

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

@media (max-width: 768px) {
    .nav-actions .btn-nav {
        display: none;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-rotator-wrapper {
        font-size: 1.25rem;
    }

    .profile-showcase-card {
        max-width: 340px;
        padding: 16px;
    }

    .profile-photo-frame {
        height: 310px;
    }

    .profile-metrics-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .metric-chip {
        padding: 9px 10px;
    }

    .chip-value {
        font-size: 0.8rem;
    }

    .chip-label {
        font-size: 0.67rem;
    }

    .services-grid-modern {
        grid-template-columns: 1fr;
    }

    .skills-matrix-grid {
        grid-template-columns: 1fr;
    }

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

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

    .form-group-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid-modern {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .profile-showcase-card {
        max-width: 100%;
        padding: 14px;
    }

    .profile-photo-frame {
        height: 280px;
    }

    .profile-metrics-row {
        grid-template-columns: 1fr;
    }
}