/* ==========================================================================
   Premium Portfolio Design System & Stylesheet - Nitin Tekawade
   ========================================================================== */

/* Theme Variables */
:root {
    --bg-primary: #090d16;
    --bg-secondary: #0f172a;
    --bg-glass: rgba(15, 23, 42, 0.45);
    --bg-glow-1: rgba(79, 70, 229, 0.15);
    --bg-glow-2: rgba(6, 182, 212, 0.15);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --secondary-color: #06b6d4;
    --secondary-hover: #0891b2;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    --gradient-card: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-theme {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glow-1: rgba(79, 70, 229, 0.08);
    --bg-glow-2: rgba(6, 182, 212, 0.08);
    
    --border-color: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(0, 0, 0, 0.12);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #0891b2;
    --secondary-hover: #0369a1;
    
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #0891b2 100%);
    --gradient-accent: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

/* Background Ambient Glows */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    transition: all var(--transition-slow);
}

.bg-glow-1 {
    top: -200px;
    left: -200px;
    background-color: var(--bg-glow-1);
}

.bg-glow-2 {
    bottom: -200px;
    right: -200px;
    background-color: var(--bg-glow-2);
}

/* Typographical Standards */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

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

::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
}

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

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Section Header styling */
.section-header {
    margin-bottom: 64px;
}

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

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.section-title {
    font-size: 3.25rem;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.highlight-text {
    color: var(--secondary-color);
    font-weight: 800;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(9, 13, 22, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-normal), border var(--transition-normal);
}

.light-theme .header {
    background: rgba(248, 250, 252, 0.7);
}

.nav-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.logo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

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

/* Theme Toggle Button */
.theme-toggle-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-normal);
}

.theme-toggle-btn:hover {
    background: var(--border-color);
    transform: scale(1.05);
}

.dark-theme .sun-icon {
    display: none;
}

.light-theme .moon-icon {
    display: none;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    padding: 4px;
    z-index: 110;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding-top: 160px;
    padding-bottom: 80px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.15);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 540px;
}

.dynamic-roles {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 600;
}

.role-static {
    color: var(--text-muted);
    margin-right: 8px;
}

.role-dynamic {
    color: var(--secondary-color);
    background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s ease-in-out;
}

.role-cursor {
    color: var(--secondary-color);
    margin-left: 2px;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 480px;
}

/* Micro Mini Analytics Chart */
.chart-container-mini {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 160px;
    height: 140px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-md);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-normal);
}

.chart-container-mini:hover {
    transform: translateY(-5px);
}

.chart-bars-group {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 60px;
    width: 100%;
}

.chart-bar {
    width: 12px;
    background: var(--gradient-primary);
    border-radius: 4px;
    height: var(--height);
    animation: scaleHeight 1.5s ease-out forwards;
    transform-origin: bottom;
}

@keyframes scaleHeight {
    0% { transform: scaleY(0); }
    100% { transform: scaleY(1); }
}

.chart-overlay-info {
    display: flex;
    flex-direction: column;
}

.chart-val {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--success-color);
}

.chart-lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Executive Avatar Card */
.profile-preview-card {
    width: 100%;
    height: 100%;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.avatar-glow {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: var(--primary-color);
    filter: blur(60px);
    opacity: 0.3;
    z-index: 0;
}

.avatar-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    margin: 0 auto 32px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-info-mini {
    text-align: center;
    z-index: 1;
}

.profile-info-mini h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.profile-info-mini p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.social-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.social-tags span {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.light-theme .social-tags span {
    background: rgba(0, 0, 0, 0.03);
}

/* Stat Banner */
.stat-banner {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 100px 0;
}

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

.about-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), border var(--transition-normal);
}

.about-card:hover {
    border-color: var(--border-hover);
}

.main-summary {
    display: flex;
    flex-direction: column;
}

.summary-icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.summary-icon svg {
    width: 32px;
    height: 32px;
}

.main-summary h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.main-summary p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.main-summary p:last-child {
    margin-bottom: 0;
}

.industry-exposure h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.sector-description {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.sector-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sector-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.sector-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.sector-text h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.sector-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Experience Section
   ========================================================================== */
.experience-section {
    padding: 100px 0;
}

.timeline-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
}

.timeline-content-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-out forwards;
}

.timeline-tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

/* Timeline Vertical Line */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 36px;
    bottom: -54px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
    z-index: 2;
    transition: background-color var(--transition-normal);
}

.timeline-item:hover .timeline-marker {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 6px rgba(6, 182, 212, 0.2);
}

.timeline-company-info {
    margin-bottom: 16px;
}

.time-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.role-title {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.company-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.company-profile-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    display: block;
    max-width: 700px;
}

.timeline-details {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.timeline-details h5 {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 600;
}

.timeline-details ul {
    list-style-type: none;
    margin-bottom: 24px;
}

.timeline-details ul li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.timeline-details ul li::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 0.75rem;
}

.impact-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.impact-tags span {
    padding: 4px 12px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.15);
    color: var(--secondary-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Early Companies Grid styling */
.early-career-summary {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.early-companies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.early-comp-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

.light-theme .early-comp-card {
    background: rgba(0, 0, 0, 0.01);
}

/* ==========================================================================
   Interactive Operations Dashboard
   ========================================================================== */
.dashboard-section {
    padding: 100px 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 0.35fr 0.65fr;
    gap: 32px;
}

.dashboard-nav-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    height: fit-content;
}

.dashboard-nav-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.dashboard-nav-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.dashboard-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.db-menu-btn {
    text-align: left;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.db-menu-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.01);
}

.db-menu-btn.active {
    background: rgba(79, 70, 229, 0.08);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Dashboard screen area */
.dashboard-screen-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
}

.db-panel {
    display: none;
    flex-direction: column;
    height: 100%;
    animation: fadeIn 0.4s ease-out forwards;
}

.db-panel.active {
    display: flex;
}

.db-panel-header {
    margin-bottom: 32px;
}

.db-panel-header h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.db-panel-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Progress bars layout */
.skill-chart-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.custom-progress-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
}

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

.light-theme .progress-track {
    background: rgba(0, 0, 0, 0.05);
}

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

.chart-legend-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.legend-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.legend-color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-color-dot.om {
    background: var(--primary-color);
}

.legend-color-dot.sec {
    background: var(--secondary-color);
}

.legend-card h5 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.legend-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Compa-Ratio Calculator styling */
.calculator-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-db {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.form-group-db input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.light-theme .form-group-db input {
    background: rgba(0, 0, 0, 0.02);
}

.form-group-db input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.calculator-results {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.light-theme .calculator-results {
    background: rgba(0, 0, 0, 0.01);
}

.result-gauge-box {
    margin-bottom: 20px;
}

.gauge-value {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.gauge-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-status-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.result-status-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Status colors */
.underpaid {
    color: var(--danger-color);
}
.optimal {
    color: var(--success-color);
}
.overpaid {
    color: var(--warning-color);
}

.db-panel-footer {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 32px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.footer-alert-icon {
    font-size: 1.2rem;
    line-height: 1;
}

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

/* Appraisal compiler */
.compiler-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
}

.sliders-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.border-top-divider {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.slider-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

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

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    transition: transform var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.compiler-output {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.light-theme .compiler-output {
    background: rgba(0, 0, 0, 0.01);
}

.weighted-score-circle {
    width: 140px;
    height: 140px;
    margin-bottom: 24px;
}

.circular-chart {
    display: block;
    margin: 10px auto;
    max-width: 100%;
    max-height: 100%;
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 2.8;
}

.light-theme .circle-bg {
    stroke: rgba(0, 0, 0, 0.05);
}

.circle {
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke: var(--primary-color);
    transition: stroke-dasharray 0.3s ease;
}

.percentage {
    fill: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.55rem;
    font-weight: 700;
    text-anchor: middle;
}

.compilation-details h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.compilation-details p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.text-success {
    color: var(--success-color);
}

/* ==========================================================================
   Education & Qualifications Section
   ========================================================================== */
.education-section {
    padding: 100px 0;
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.edu-card-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.group-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
    position: relative;
    padding-bottom: 12px;
}

.group-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.edu-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.edu-year {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.08);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.edu-details h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.edu-inst {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.edu-badge {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

.light-theme .edu-badge {
    background: rgba(0, 0, 0, 0.02);
}

.spec-card {
    align-items: flex-start;
}

.spec-icon {
    font-size: 1.7rem;
    line-height: 1;
}

.edu-summary-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.contact-info-card h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    font-weight: 800;
}

.contact-info-card p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail-item h5 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.detail-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

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

/* Contact form card */
.contact-form-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

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

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

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

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.light-theme .form-group input,
.light-theme .form-group textarea {
    background: rgba(0, 0, 0, 0.02);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.form-message-status {
    margin-top: 16px;
    font-size: 0.85rem;
    text-align: center;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.form-message-status.success {
    padding: 10px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.form-message-status.error {
    padding: 10px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

/* ==========================================================================
   Responsive Adaptations (Breakpoints)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 64px;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .dynamic-roles {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
        padding: 32px 24px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav.open {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .calculator-layout,
    .compiler-layout {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .early-companies-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        padding-left: 28px;
    }
    
    .timeline-item::before {
        left: 10px;
    }
    
    .timeline-marker {
        left: 1px;
    }
}
