:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

[data-theme="dark"] {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --bg-primary: #1f2937;
    --bg-secondary: #111827;
    --border-color: #374151;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(31, 41, 55, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    transform: rotate(180deg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    min-height: 2rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Floating Shapes */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Profile photo placeholder - ready for future photo */
.profile-photo-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    position: relative;
    z-index: 2;
    opacity: 0; /* Hidden until photo is added */
    transition: all 0.3s ease;
}

/* When photo is added, use this class to show it */
.profile-photo-placeholder.has-photo {
    opacity: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.floating-shapes {
    position: relative;
    width: 400px;
    height: 400px;
}

.shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: var(--gradient);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 100px;
    right: 0;
    animation-delay: 2s;
}

.shape-3 {
    width: 120px;
    height: 120px;
    bottom: 0;
    left: 50px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.interests {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.interest-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 1rem;
    background: var(--bg-primary);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    min-width: 120px;
}

.interest-item:hover {
    transform: translateY(-5px);
}

.interest-icon {
    font-size: 3rem;
}

/* Career Page Styles */
.career-main {
    padding-top: 80px;
}

.career-hero {
    text-align: center;
    padding: 5rem 0;
    background: var(--gradient);
    color: white;
}

.career-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.skills-section {
    padding: 5rem 0;
}

.skills-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.skill-category {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-tag {
    background: var(--bg-secondary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

/* Timeline */
.timeline-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.timeline-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    top: 0;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 80px;
}

.timeline-marker {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 18px;
    top: 20px;
    z-index: 2;
    border: 4px solid var(--bg-secondary);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-content {
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

/* Company-specific background colors */
.timeline-item.jpmc-main .timeline-content {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-left-color: #1e40af;
    padding: 2.5rem;
}

[data-theme="dark"] .timeline-item.jpmc-main .timeline-content {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-left-color: #60a5fa;
}

.timeline-item.jpmc-main .timeline-marker {
    background: #1e40af;
    box-shadow: 0 0 0 3px #1e40af;
    width: 28px;
    height: 28px;
}

[data-theme="dark"] .timeline-item.jpmc-main .timeline-marker {
    background: #60a5fa;
    box-shadow: 0 0 0 3px #60a5fa;
}

/* Company tenure styling */
.company-tenure {
    color: #1e40af;
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

[data-theme="dark"] .company-tenure {
    color: #60a5fa;
}

/* Sub-experiences styling */
.sub-experiences {
    margin-top: 2rem;
    position: relative;
    padding-left: 2rem;
}

/* Reset sub-experiences padding for single companies to align with multi-company content */
.timeline-item.etsets-main .sub-experiences,
.timeline-item.infosys-main .sub-experiences,
.timeline-item.techmahindra-main .sub-experiences {
    padding-left: 0;
    margin-top: 0;
}

.sub-experiences::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #3b82f6, #1e40af);
    border-radius: 1px;
}

.sub-experience {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.sub-experience:last-child {
    margin-bottom: 0;
}

.sub-marker {
    width: 16px;
    height: 16px;
    background: #3b82f6;
    border-radius: 50%;
    position: absolute;
    left: -8px;
    top: 8px;
    border: 3px solid var(--bg-primary);
    z-index: 2;
}

.sub-experience.current .sub-marker {
    background: #10b981;
    box-shadow: 0 0 0 3px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.sub-content {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

[data-theme="dark"] .sub-content {
    background: rgba(30, 41, 55, 0.7);
    border-color: rgba(96, 165, 250, 0.2);
}

.sub-content:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.1);
}

.sub-date {
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.sub-content h5 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.sub-project {
    color: #6366f1;
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

[data-theme="dark"] .sub-project {
    color: #a5b4fc;
}

.sub-skills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.sub-skills span {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .sub-skills span {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.2);
}

/* NTT Data main section styling */
.timeline-item.nttdata-main .timeline-content {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-left-color: #d97706;
    padding: 2.5rem;
}

[data-theme="dark"] .timeline-item.nttdata-main .timeline-content {
    background: linear-gradient(135deg, #451a03 0%, #78350f 100%);
    border-left-color: #fbbf24;
}

.timeline-item.nttdata-main .timeline-marker {
    background: #d97706;
    box-shadow: 0 0 0 3px #d97706;
    width: 28px;
    height: 28px;
}

[data-theme="dark"] .timeline-item.nttdata-main .timeline-marker {
    background: #fbbf24;
    box-shadow: 0 0 0 3px #fbbf24;
}

/* NTT Data sub-experiences styling */
.timeline-item.nttdata-main .sub-experiences::before {
    background: linear-gradient(to bottom, #f59e0b, #d97706);
}

.timeline-item.nttdata-main .sub-marker {
    background: #f59e0b;
    border: 3px solid #fef3c7;
}

[data-theme="dark"] .timeline-item.nttdata-main .sub-marker {
    border-color: #451a03;
}

.timeline-item.nttdata-main .sub-experience.current .sub-marker {
    background: #10b981;
    box-shadow: 0 0 0 3px #10b981;
}

.timeline-item.nttdata-main .sub-content {
    background: rgba(254, 243, 199, 0.7);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

[data-theme="dark"] .timeline-item.nttdata-main .sub-content {
    background: rgba(69, 26, 3, 0.7);
    border-color: rgba(251, 191, 36, 0.2);
}

.timeline-item.nttdata-main .sub-content:hover {
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.1);
}

.timeline-item.nttdata-main .sub-date {
    color: #f59e0b;
}

.timeline-item.nttdata-main .sub-project {
    color: #d97706;
}

[data-theme="dark"] .timeline-item.nttdata-main .sub-project {
    color: #fbbf24;
}

.timeline-item.nttdata-main .sub-skills span {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border-color: rgba(245, 158, 11, 0.2);
}

[data-theme="dark"] .timeline-item.nttdata-main .sub-skills span {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.2);
}

/* ETSETS main section styling */
.timeline-item.etsets-main .timeline-content {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-left-color: #059669;
    padding: 2rem;
}

[data-theme="dark"] .timeline-item.etsets-main .timeline-content {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    border-left-color: #34d399;
}

.timeline-item.etsets-main .timeline-marker {
    background: #059669;
    box-shadow: 0 0 0 3px #059669;
    width: 24px;
    height: 24px;
}

[data-theme="dark"] .timeline-item.etsets-main .timeline-marker {
    background: #34d399;
    box-shadow: 0 0 0 3px #34d399;
}

.timeline-item.etsets-main .timeline-project {
    color: #047857;
}

[data-theme="dark"] .timeline-item.etsets-main .timeline-project {
    color: #6ee7b7;
}

.timeline-item.etsets-main .timeline-skills span {
    background: rgba(5, 150, 105, 0.1);
    color: #047857;
    border-color: rgba(5, 150, 105, 0.2);
}

[data-theme="dark"] .timeline-item.etsets-main .timeline-skills span {
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.2);
}

/* Infosys main section styling */
.timeline-item.infosys-main .timeline-content {
    background: linear-gradient(135deg, #faf5ff 0%, #ede9fe 100%);
    border-left-color: #7c3aed;
    padding: 2rem;
}

[data-theme="dark"] .timeline-item.infosys-main .timeline-content {
    background: linear-gradient(135deg, #3c1d5b 0%, #4c1d95 100%);
    border-left-color: #a78bfa;
}

.timeline-item.infosys-main .timeline-marker {
    background: #7c3aed;
    box-shadow: 0 0 0 3px #7c3aed;
    width: 24px;
    height: 24px;
}

[data-theme="dark"] .timeline-item.infosys-main .timeline-marker {
    background: #a78bfa;
    box-shadow: 0 0 0 3px #a78bfa;
}

.timeline-item.infosys-main .timeline-project {
    color: #6d28d9;
}

[data-theme="dark"] .timeline-item.infosys-main .timeline-project {
    color: #c4b5fd;
}

.timeline-item.infosys-main .timeline-skills span {
    background: rgba(124, 58, 237, 0.1);
    color: #6d28d9;
    border-color: rgba(124, 58, 237, 0.2);
}

[data-theme="dark"] .timeline-item.infosys-main .timeline-skills span {
    background: rgba(167, 139, 250, 0.1);
    color: #a78bfa;
    border-color: rgba(167, 139, 250, 0.2);
}

/* Tech Mahindra main section styling */
.timeline-item.techmahindra-main .timeline-content {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border-left-color: #0d9488;
    padding: 2rem;
}

[data-theme="dark"] .timeline-item.techmahindra-main .timeline-content {
    background: linear-gradient(135deg, #134e4a 0%, #115e59 100%);
    border-left-color: #5eead4;
}

.timeline-item.techmahindra-main .timeline-marker {
    background: #0d9488;
    box-shadow: 0 0 0 3px #0d9488;
    width: 24px;
    height: 24px;
}

[data-theme="dark"] .timeline-item.techmahindra-main .timeline-marker {
    background: #5eead4;
    box-shadow: 0 0 0 3px #5eead4;
}

.timeline-item.techmahindra-main .timeline-project {
    color: #0f766e;
}

[data-theme="dark"] .timeline-item.techmahindra-main .timeline-project {
    color: #7dd3fc;
}

.timeline-item.techmahindra-main .timeline-skills span {
    background: rgba(13, 148, 136, 0.1);
    color: #0f766e;
    border-color: rgba(13, 148, 136, 0.2);
}

[data-theme="dark"] .timeline-item.techmahindra-main .timeline-skills span {
    background: rgba(94, 234, 212, 0.1);
    color: #5eead4;
    border-color: rgba(94, 234, 212, 0.2);
}

/* Expandable Timeline Functionality */
.timeline-item.expandable .timeline-content {
    cursor: pointer;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-header:hover {
    opacity: 0.8;
}

.timeline-header-content {
    flex: 1;
}

.company-summary {
    color: var(--text-secondary);
    font-style: italic;
    margin: 0.5rem 0 0 0;
    font-size: 0.95rem;
}

.expand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(var(--primary-color-rgb, 99, 102, 241), 0.1);
    border: 2px solid rgba(var(--primary-color-rgb, 99, 102, 241), 0.2);
    transition: all 0.3s ease;
    margin-left: 1rem;
    flex-shrink: 0;
}

.expand-icon:hover {
    background: rgba(var(--primary-color-rgb, 99, 102, 241), 0.15);
    border-color: rgba(var(--primary-color-rgb, 99, 102, 241), 0.3);
    transform: scale(1.1);
}

.chevron {
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    user-select: none;
}

.timeline-item.expandable.expanded .chevron {
    transform: rotate(180deg);
}

.timeline-expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
    opacity: 0;
    padding-top: 0;
}

.timeline-expandable-content.expanded {
    max-height: 2000px;
    opacity: 1;
    padding-top: 1.5rem;
    transition: max-height 0.5s ease-in, opacity 0.3s ease-in, padding 0.3s ease-in;
}

/* Ensure consistent alignment for single-experience companies */
.timeline-item.etsets-main .timeline-expandable-content,
.timeline-item.infosys-main .timeline-expandable-content,
.timeline-item.techmahindra-main .timeline-expandable-content {
    padding-left: 0;
    margin-left: 0;
}

.timeline-item.etsets-main .timeline-project,
.timeline-item.infosys-main .timeline-project,
.timeline-item.techmahindra-main .timeline-project {
    margin-top: 0;
}

/* Fix content alignment for single experience companies */
.timeline-item:not(.jpmc-main):not(.nttdata-main) .timeline-expandable-content {
    padding-left: 0;
}

/* Company-specific expand icons */
.timeline-item.jpmc-main .expand-icon {
    background: rgba(30, 64, 175, 0.1);
    border-color: rgba(30, 64, 175, 0.2);
}

.timeline-item.jpmc-main .chevron {
    color: #1e40af;
}

[data-theme="dark"] .timeline-item.jpmc-main .chevron {
    color: #60a5fa;
}

.timeline-item.nttdata-main .expand-icon {
    background: rgba(217, 119, 6, 0.1);
    border-color: rgba(217, 119, 6, 0.2);
}

.timeline-item.nttdata-main .chevron {
    color: #d97706;
}

[data-theme="dark"] .timeline-item.nttdata-main .chevron {
    color: #fbbf24;
}

.timeline-item.etsets-main .expand-icon {
    background: rgba(5, 150, 105, 0.1);
    border-color: rgba(5, 150, 105, 0.2);
}

.timeline-item.etsets-main .chevron {
    color: #059669;
}

[data-theme="dark"] .timeline-item.etsets-main .chevron {
    color: #34d399;
}

.timeline-item.infosys-main .expand-icon {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.2);
}

.timeline-item.infosys-main .chevron {
    color: #7c3aed;
}

[data-theme="dark"] .timeline-item.infosys-main .chevron {
    color: #a78bfa;
}

.timeline-item.techmahindra-main .expand-icon {
    background: rgba(13, 148, 136, 0.1);
    border-color: rgba(13, 148, 136, 0.2);
}

.timeline-item.techmahindra-main .chevron {
    color: #0d9488;
}

[data-theme="dark"] .timeline-item.techmahindra-main .chevron {
    color: #5eead4;
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.timeline-content h4 {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.timeline-project {
    color: var(--accent-color);
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-skills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.timeline-skills span {
    background: var(--bg-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Education & Achievements */
.education-section,
.achievements-section {
    padding: 5rem 0;
}

.education-section h2,
.achievements-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.education-item {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.education-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.education-date {
    color: var(--primary-color);
    font-weight: 600;
}

/* Education List */
.education-list {
    max-width: 800px;
    margin: 0 auto;
}

.education-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.education-item {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); /* Light green gradient - different from certifications */
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #bbf7d0; /* Light green border */
    overflow: hidden;
}

/* Dark theme overrides for education */
[data-theme="dark"] .education-item {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%); /* Dark green gradient for dark theme */
    border: 1px solid #10b981; /* Brighter green border for dark theme */
}

.education-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); /* Slightly darker green on hover */
}

[data-theme="dark"] .education-item:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%); /* Lighter dark green on hover for dark theme */
}

/* Education Header */
.education-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.education-header:hover {
    background: rgba(34, 197, 94, 0.08); /* Green tint on hover */
}

[data-theme="dark"] .education-header:hover {
    background: rgba(16, 185, 129, 0.15); /* Brighter green tint for dark theme */
}

.education-bullet {
    color: #16a34a; /* Green bullet color */
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.education-header h4 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
    text-align: left; /* Ensure heading is left-aligned */
}

.education-toggle {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: #16a34a; /* Green background instead of primary color */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.education-header[aria-expanded="true"] .education-toggle {
    transform: rotate(45deg);
}

/* Education Expandable Content */
.education-expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
    opacity: 0;
    padding: 0 1.5rem;
}

.education-expandable-content.expanded {
    max-height: 300px;
    opacity: 1;
    padding: 0 1.5rem 1.25rem 1.5rem;
    transition: max-height 0.5s ease-in, opacity 0.3s ease-in, padding 0.3s ease-in;
}

.education-details {
    border-top: 1px solid #bbf7d0; /* Green border */
    padding-top: 1rem;
    text-align: left; /* Ensure left alignment */
}

[data-theme="dark"] .education-details {
    border-top: 1px solid #10b981; /* Brighter green border for dark theme */
}

.education-details p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.education-details strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Certifications List */
.certifications-list {
    max-width: 800px;
    margin: 0 auto;
}

.certification-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.certification-item {
    margin-bottom: 1rem;
    background: var(--bg-primary);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.certification-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Certification Header */
.certification-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.certification-header:hover {
    background: rgba(var(--primary-color-rgb, 99, 102, 241), 0.05);
}

.certification-bullet {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.certification-header h4 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.certification-toggle {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.certification-header[aria-expanded="true"] .certification-toggle {
    transform: rotate(45deg);
}

/* Certification Expandable Content */
.certification-expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
    opacity: 0;
    padding: 0 1.5rem;
}

.certification-expandable-content.expanded {
    max-height: 200px;
    opacity: 1;
    padding: 0 1.5rem 1.25rem 1.5rem;
    transition: max-height 0.5s ease-in, opacity 0.3s ease-in, padding 0.3s ease-in;
}

.certification-details {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.certification-details p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.certification-details strong {
    color: var(--text-primary);
    font-weight: 600;
}

.certification-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.certification-details a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.license-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.license-id {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    background: var(--bg-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.certification-status {
    display: flex;
    justify-content: flex-start;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.expired {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
    border: 1px solid #f87171;
}

[data-theme="dark"] .status-badge.expired {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
    color: #fca5a5;
    border: 1px solid #dc2626;
}

.status-badge.active {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
    border: 1px solid #4ade80;
}

[data-theme="dark"] .status-badge.active {
    background: linear-gradient(135deg, #14532d 0%, #166534 100%);
    color: #86efac;
    border: 1px solid #22c55e;
}

/* Responsive Design for Certifications */
@media (max-width: 768px) {
    .certifications-list {
        margin: 0 1rem;
    }

    .certification-header {
        padding: 1rem 1.25rem;
        gap: 0.75rem;
    }

    .certification-bullet {
        font-size: 1.25rem;
    }

    .certification-header h4 {
        font-size: 1rem;
    }

    .certification-toggle {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.8rem;
    }

    .certification-expandable-content {
        padding: 0 1.25rem;
    }

    .certification-expandable-content.expanded {
        padding: 0 1.25rem 1rem 1.25rem;
    }
}

/* Contact CTA */
.contact-cta {
    padding: 5rem 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Blog Page Styles */
.blog-main {
    padding-top: 80px;
}

.blog-hero {
    text-align: center;
    padding: 5rem 0;
    background: var(--gradient);
    color: white;
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-content {
    padding: 5rem 0;
}

.blog-filters {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-filters h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.filter-icon {
    font-size: 1.2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--bg-primary);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.tech-bg { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.food-bg { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.travel-bg { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.personal-bg { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }

.blog-content-card {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

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

.blog-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.blog-tag.tech { background: var(--primary-color); }
.blog-tag.food { background: #f59e0b; }
.blog-tag.travel { background: #06b6d4; }
.blog-tag.personal { background: #10b981; }

.blog-content-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.blog-content-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

.no-posts {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* Newsletter */
.newsletter-signup {
    padding: 5rem 0;
    background: var(--bg-secondary);
    text-align: center;
}

.newsletter-signup h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 0 1rem;
        min-height: 80vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem 0;
    }

    .hero-text {
        order: 2; /* Text comes after image on mobile */
    }

    .hero-image {
        order: 1; /* Image comes first on mobile */
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        position: relative;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }

    /* Hide name text on mobile to avoid duplication with header */
    .hero-title {
        font-size: 0; /* Hide original text */
    }

    .hero-title::before {
        content: "I'm a ... ";
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 80%;
        max-width: 250px;
        text-align: center;
    }

    .floating-shapes {
        display: none; /* Hide floating shapes on mobile */
    }

    .profile-photo-placeholder {
        width: 200px;
        height: 200px;
        margin: 0 auto 1rem auto;
        position: relative;
        z-index: 10;
    }

    .about {
        padding: 3rem 0;
    }

    .about h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .interests {
        flex-direction: column;
        gap: 1rem;
    }

    .interest-item {
        justify-content: center;
        font-size: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .timeline::before {
        left: 15px;
    }

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

    .timeline-marker {
        left: 3px;
        width: 20px;
        height: 20px;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-item.jpmc-main .timeline-content {
        padding: 2rem;
    }

    .sub-experiences {
        padding-left: 1rem;
    }

    .sub-experiences::before {
        left: 8px;
    }

    .sub-experience {
        padding-left: 1.5rem;
    }

    .sub-marker {
        left: -6px;
        width: 12px;
        height: 12px;
        border-width: 2px;
    }

    .sub-content {
        padding: 1rem;
    }

    .timeline-item.etsets-main .timeline-content {
        padding: 1.5rem;
    }

    .timeline-item.infosys-main .timeline-content {
        padding: 1.5rem;
    }

    .timeline-item.techmahindra-main .timeline-content {
        padding: 1.5rem;
    }

    /* Mobile responsive for expandable timeline */
    .timeline-header {
        flex-direction: row;
        align-items: flex-start;
    }

    .expand-icon {
        position: static;
        width: 28px;
        height: 28px;
        margin-left: 0.5rem;
        margin-top: 0.25rem;
    }

    .timeline-header-content {
        width: 100%;
        padding-right: 1rem;
    }

    .company-summary {
        font-size: 0.85rem;
    }

    /* Ensure consistent padding on mobile for all timeline content */
    .timeline-item .timeline-expandable-content {
        padding-left: 0;
        margin-left: 0;
    }

    .timeline-item .sub-experiences {
        padding-left: 1rem;
        margin-top: 1.5rem;
    }

    /* Mobile responsive for certifications */
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .certification-item {
        padding: 1.5rem;
    }

    .certification-item h3 {
        font-size: 1.1rem;
    }

    .certification-icon {
        font-size: 2rem;
    }

    .license-id {
        font-size: 0.8rem;
        word-break: break-all;
    }

    .status-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 1rem 0;
    }

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

    .newsletter-form {
        flex-direction: column;
        max-width: 300px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Typing animation */
.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}