/* ========================================
   CSS Variables & Theme
   ======================================== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --accent-2: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;

    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    --bg-dark-2: #1e293b;

    --border: #e2e8f0;
    --border-light: #f1f5f9;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ========================================
   Animated Background
   ======================================== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 70%),
        var(--bg-dark);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.03;
    animation: float 20s infinite ease-in-out;
}

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

.shape-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 60%;
    animation-delay: -15s;
}

.shape-5 {
    width: 250px;
    height: 250px;
    bottom: -50px;
    right: 30%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg) scale(0.95);
    }
    75% {
        transform: translate(20px, 30px) rotate(270deg) scale(1.05);
    }
}

/* ========================================
   Container
   ======================================== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-primary);
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .container {
        margin: 40px auto;
        border-radius: var(--radius-xl);
        overflow: hidden;
        box-shadow: var(--shadow-2xl);
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: var(--gradient-dark);
    padding: 80px 40px 60px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero {
        min-height: auto;
        padding: 100px 60px 80px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Hero Text */
.hero-text {
    flex: 1;
}

.greeting {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.title-label {
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 600;
}

.title-divider {
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.company-current {
    color: var(--primary-light);
    font-size: 1.1rem;
    font-weight: 500;
}

.tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 500px;
}

.tagline .highlight {
    color: var(--accent);
    font-weight: 600;
}

.tech-rotate {
    display: inline-block;
    position: relative;
    color: var(--primary-light);
    font-weight: 600;
}

.tech-rotate span {
    display: inline-block;
    position: absolute;
    left: 0;
    opacity: 0;
    animation: rotateText 8s infinite;
}

.tech-rotate span:nth-child(1) { animation-delay: 0s; }
.tech-rotate span:nth-child(2) { animation-delay: 2s; }
.tech-rotate span:nth-child(3) { animation-delay: 4s; }
.tech-rotate span:nth-child(4) { animation-delay: 6s; }

.tech-rotate span:first-child {
    position: relative;
}

@keyframes rotateText {
    0%, 20% { opacity: 1; transform: translateY(0); }
    25%, 100% { opacity: 0; transform: translateY(-20px); }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
}

.stat-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    width: 280px;
    height: 280px;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .hero-visual {
        margin: 0 auto;
    }
}

.profile-ring {
    position: relative;
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid transparent;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-color: rgba(99, 102, 241, 0.3);
    animation: spin 20s linear infinite;
}

.ring-2 {
    width: 85%;
    height: 85%;
    border-color: rgba(139, 92, 246, 0.2);
    animation: spin 15s linear infinite reverse;
}

.ring-3 {
    width: 70%;
    height: 70%;
    border-color: rgba(6, 182, 212, 0.3);
    animation: spin 10s linear infinite;
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.profile-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.initials {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    letter-spacing: -2px;
}

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

/* Orbit Icons */
.orbit-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: orbitSpin 30s linear infinite;
}

.orbit-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition);
}

.orbit-icon:hover {
    transform: scale(1.2);
}

.orbit-icon img {
    width: 28px;
    height: 28px;
}

.icon-1 { top: 0; left: 50%; transform: translateX(-50%); }
.icon-2 { top: 50%; right: 0; transform: translateY(-50%); }
.icon-3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.icon-4 { top: 50%; left: 0; transform: translateY(-50%); }

@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(10px); }
}

/* ========================================
   Animation Classes
   ======================================== */
.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.animate-scale-in {
    animation: scaleIn 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.animate-float {
    animation: floatUpDown 6s ease-in-out infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

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

/* ========================================
   Main Content
   ======================================== */
.main-content {
    padding: 60px 40px;
    background: var(--bg-primary);
}

@media (min-width: 768px) {
    .main-content {
        padding: 80px 60px;
    }
}

/* ========================================
   Section Styles
   ======================================== */
.section {
    margin-bottom: 80px;
}

.section:last-child {
    margin-bottom: 0;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.section-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.section-icon.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(99, 102, 241, 0); }
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
}

.section-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 1px;
}

/* ========================================
   About Section
   ======================================== */
.about-content {
    max-width: 800px;
}

.about-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 30px;
}

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

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

.about-highlights {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.highlight-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.highlight-card span {
    font-weight: 600;
    color: var(--text-primary);
}

/* ========================================
   Personal Details Section
   ======================================== */
.personal-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .personal-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .personal-details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.pd-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.pd-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

@media (max-width: 600px) {
    .pd-card {
        padding: 16px 20px;
        gap: 14px;
    }
}

.pd-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

@media (max-width: 600px) {
    .pd-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .pd-icon svg {
        width: 22px;
        height: 22px;
    }
}

.pd-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.pd-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pd-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-word;
}

@media (max-width: 600px) {
    .pd-label {
        font-size: 0.75rem;
    }

    .pd-value {
        font-size: 1rem;
    }
}

/* ========================================
   Skills Section
   ======================================== */
.skills-showcase {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .skills-showcase {
        grid-template-columns: repeat(3, 1fr);
    }
}

.skill-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

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

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.skill-item:hover {
    transform: translateX(8px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.skill-item.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

.skill-item img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.skill-item span {
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
}

.skill-bar {
    width: 60px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    width: 0;
    transition: width 1s ease;
}

.skill-progress.animate-skill {
    width: var(--progress);
}

/* ========================================
   Experience Section
   ======================================== */
.experience-timeline {
    position: relative;
    padding-left: 40px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 2px;
}

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

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

/* Timeline Dot */
.exp-timeline-dot {
    position: absolute;
    left: -32px;
    top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dot-ring {
    position: absolute;
    width: 36px;
    height: 36px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: dotPulse 2s infinite;
}

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

.dot-core {
    width: 16px;
    height: 16px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
}

.dot-core.small {
    width: 12px;
    height: 12px;
}

/* Duration Badge */
.exp-duration-badge {
    position: absolute;
    right: 24px;
    top: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.current-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.duration {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Experience Content */
.exp-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 32px;
    transition: all var(--transition);
}

.experience-card.featured .exp-content {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.02) 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

.exp-content:hover {
    box-shadow: var(--shadow-xl);
    transform: translateX(8px);
}

/* Company Info */
.company-info {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.company-logo {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.company-logo.brevo {
    background: linear-gradient(135deg, #0052ff 0%, #00d4ff 100%);
}

.company-logo.witty {
    background: linear-gradient(135deg, #ff6b35 0%, #f7c59f 100%);
}

.logo-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: logoGlow 3s infinite;
}

@keyframes logoGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.job-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.company-name {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.formerly {
    color: var(--text-light);
    font-size: 0.85rem;
}

.job-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.meta-item svg {
    width: 16px;
    height: 16px;
}

/* Experience Body */
.exp-body {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.exp-summary {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.achievements h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.achievement-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.achievement-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.achievement-icon {
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.achievement-icon svg {
    width: 14px;
    height: 14px;
    color: var(--success);
}

.achievement-list li span:last-child {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.achievement-list li strong {
    color: var(--text-primary);
}

.achievement-list.compact li {
    gap: 10px;
}

/* Tech Stack */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.tech-tag {
    padding: 6px 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition);
}

.tech-tag:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* ========================================
   Education Section
   ======================================== */
.education-showcase {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .education-showcase {
        grid-template-columns: repeat(3, 1fr);
    }
}

.edu-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.edu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Premium Card (IIT) */
.edu-card.premium {
    background: var(--gradient-dark);
    border: none;
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .edu-card.premium {
        grid-column: auto;
    }
}

.edu-card.premium:hover {
    box-shadow: var(--shadow-glow);
}

.edu-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 40px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: rotate(45deg);
}

.edu-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    animation: eduGlow 10s infinite linear;
}

@keyframes eduGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Edu Header */
.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.edu-icon-wrapper {
    position: relative;
}

.edu-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.edu-icon.small {
    width: 48px;
    height: 48px;
}

.edu-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.edu-badge-iit {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--warning);
    color: var(--secondary);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.edu-period {
    text-align: right;
}

.edu-period .year {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.edu-card.premium .edu-period .year {
    color: var(--text-white);
}

.edu-period .duration {
    color: var(--text-light);
    font-size: 0.8rem;
}

.edu-card.premium .edu-period .duration {
    color: rgba(255, 255, 255, 0.5);
}

/* Edu Body */
.edu-body {
    position: relative;
    z-index: 1;
}

.edu-degree {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.edu-card.premium .edu-degree {
    color: var(--text-white);
}

.edu-specialization {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 12px;
}

.edu-card.premium .edu-specialization {
    color: var(--primary-light);
}

.edu-institution {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.edu-card.premium .edu-institution {
    color: rgba(255, 255, 255, 0.7);
}

.edu-institution svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Grade Circle */
.edu-grade {
    display: flex;
    align-items: center;
    gap: 12px;
}

.grade-circle {
    width: 70px;
    height: 70px;
    position: relative;
}

.grade-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.grade-bg {
    fill: none;
    stroke: var(--bg-tertiary);
    stroke-width: 8;
}

.edu-card.premium .grade-bg {
    stroke: rgba(255, 255, 255, 0.1);
}

.grade-fill {
    fill: none;
    stroke: url(#gradeGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1.5s ease;
}

.grade-circle.animate-grade .grade-fill {
    stroke-dashoffset: calc(283 - (283 * var(--grade) / 100));
}

.grade-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.edu-card.premium .grade-value {
    color: var(--text-white);
}

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

.edu-card.premium .grade-label {
    color: rgba(255, 255, 255, 0.6);
}

/* Edu Footer */
.edu-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.edu-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.highlight-tag {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    margin-bottom: 0;
}

.contact-content {
    text-align: center;
    padding: 60px 40px;
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.contact-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.contact-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    position: relative;
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 40px;
    position: relative;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
}

.contact-btn svg {
    width: 20px;
    height: 20px;
}

.contact-btn.linkedin {
    background: #0077b5;
    color: white;
}

.contact-btn.linkedin:hover {
    background: #005885;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 119, 181, 0.4);
}

.contact-btn.github {
    background: var(--bg-primary);
    color: var(--secondary);
}

.contact-btn.github:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.contact-btn.email {
    background: var(--gradient-primary);
    color: white;
}

.contact-btn.email:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

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

.copyright {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 767px) {
    .hero {
        padding: 60px 24px 40px;
    }

    .main-content {
        padding: 40px 24px;
    }

    .section {
        margin-bottom: 60px;
    }

    .section-header {
        flex-wrap: wrap;
    }

    .section-line {
        width: 100%;
        order: 3;
        margin-top: 12px;
    }

    .experience-timeline {
        padding-left: 24px;
    }

    .experience-timeline::before {
        left: 8px;
    }

    .exp-timeline-dot {
        left: -20px;
    }

    .exp-duration-badge {
        position: static;
        flex-direction: row;
        gap: 12px;
        margin-bottom: 16px;
    }

    .exp-content {
        padding: 24px;
    }

    .company-info {
        flex-direction: column;
    }

    .edu-card {
        padding: 24px;
    }

    .contact-content {
        padding: 40px 24px;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .bg-animation,
    .scroll-indicator,
    .orbit-icons {
        display: none;
    }

    .container {
        box-shadow: none;
        margin: 0;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero {
        min-height: auto;
        padding: 40px;
    }
}

/* SVG Gradient Definition (add to HTML) */
svg defs {
    display: block;
}
