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

/* ======================== DESIGN TOKENS ======================== */
:root {
    /* Brand Colors */
    --color-primary: #2563EB;
    --color-primary-dark: #1D4ED8;
    --color-accent: #06B6D4;
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-error: #EF4444;
    --color-info: #06B6D4;

    /* Light Mode - Default (Recruiter Optimized) */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --bg-hover: #F1F5F9;

    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;

    --border-color: #E2E8F0;
    --border-divider: #CBD5E1;
    --card-bg: #FFFFFF;
    --navbar-bg: rgba(255, 255, 255, 0.95);

    /* Shadows - Light Mode (Soft) */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 150ms ease-out;
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms ease-in-out;

    /* Spacing Scale (8px base) */
    --space-0: 0;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Backward Compatibility Aliases */
    --primary-color: #2563EB;
    --accent-color: #06B6D4;
    --light-gray: #E2E8F0;
    --light-text: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode - Premium Experience */
[data-theme="dark"] {
    --bg-primary: #0B1120;
    --bg-secondary: #111827;
    --bg-tertiary: #1E293B;
    --bg-hover: #334355;

    --text-primary: #F1F5F9;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;

    --border-color: #475569;
    --border-divider: #64748B;
    --card-bg: #1F2937;
    --navbar-bg: rgba(11, 17, 32, 0.98);

    /* Shadows - Dark Mode (Glow & Elevation) */
    --shadow-xs: 0 0 15px rgba(37, 99, 235, 0.08);
    --shadow-sm: 0 0 25px rgba(37, 99, 235, 0.12);
    --shadow-md: 0 0 35px rgba(37, 99, 235, 0.15);
    --shadow-lg: 0 0 50px rgba(37, 99, 235, 0.2), 0 0 30px rgba(6, 182, 212, 0.15);
    --shadow-xl: 0 0 60px rgba(37, 99, 235, 0.25), 0 0 40px rgba(6, 182, 212, 0.2);
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-8);
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow var(--transition-base);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: transform var(--transition-fast);
    letter-spacing: -0.5px;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-8);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width var(--transition-base);
}

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

.nav-link.active::after {
    width: 100%;
}

.theme-toggle {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-size: 1.1rem;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: var(--space-4);
        background: var(--navbar-bg);
        padding: var(--space-6) var(--space-4);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* ==================== HERO SECTION ==================== */
.home-section {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 60px;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    top: -100px;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: var(--color-accent);
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--color-primary);
    bottom: -50px;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.home-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.home-text {
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
}

.floating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: var(--transition-base);
}

.floating-badge:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

[data-theme="dark"] .floating-badge:hover {
    background: rgba(37, 99, 235, 0.1);
    box-shadow: 0 0 15px 3px rgba(37, 99, 235, 0.15);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #FFFFFF;
    box-shadow: var(--shadow-md);
}

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

[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 0 25px 5px rgba(37, 99, 235, 0.25);
}

.btn-primary:active {
    transform: scale(0.97);
}

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

.btn-secondary:hover {
    border-color: var(--color-primary);
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-1px);
}

[data-theme="dark"] .btn-secondary:hover {
    border-color: var(--color-primary);
    background: rgba(37, 99, 235, 0.15);
    box-shadow: 0 0 15px 3px rgba(37, 99, 235, 0.15);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Portrait Section */
.home-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-portrait-frame {
    position: relative;
    width: 300px;
    height: 300px;
}

.portrait-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(30, 64, 175, 0.3), transparent);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.portrait-circle {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.1));
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

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

.float-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

.elem-1 {
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.elem-2 {
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.elem-3 {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

/* Animation Classes */
.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

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

/* ==================== SECTION STYLES ==================== */
.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.education-block,
.mission-block {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    border-left: 4px solid var(--color-primary);
}

.education-block h4,
.mission-block h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.expertise-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
    text-align: center;
}

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

[data-theme="dark"] .expertise-card {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border-color: #4B5563;
}

[data-theme="dark"] .expertise-card:hover {
    background: linear-gradient(135deg, #334155 0%, #1E293B 100%);
    box-shadow: 0 0 30px 8px rgba(6, 182, 212, 0.1);
}

.expertise-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.expertise-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.expertise-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Skills Section */
.skills-section {
    padding: 80px 0;
}

.skills-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.skills-bars {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-item {
    animation: slideIn 0.6s ease-out forwards;
    opacity: 0;
}

.skill-item:nth-child(1) { animation-delay: 0.1s; }
.skill-item:nth-child(2) { animation-delay: 0.2s; }
.skill-item:nth-child(3) { animation-delay: 0.3s; }
.skill-item:nth-child(4) { animation-delay: 0.4s; }
.skill-item:nth-child(5) { animation-delay: 0.5s; }
.skill-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
}

.skill-level {
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.progress-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 10px;
    width: var(--progress, 0%);
    animation: fillProgress 1.2s ease-out forwards;
}

[data-theme="dark"] .progress-fill {
    box-shadow: 0 0 10px 2px rgba(37, 99, 235, 0.4);
}

@keyframes fillProgress {
    from { width: 0; }
    to { width: var(--progress); }
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.expertise-section {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
}

.expertise-section:hover {
    border-color: var(--color-primary);
}

[data-theme="dark"] .expertise-section {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border-color: #4B5563;
}

[data-theme="dark"] .expertise-section:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px 5px rgba(37, 99, 235, 0.12);
}

.expertise-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: var(--card-bg);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

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

[data-theme="dark"] .skill-tag {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border-color: #4B5563;
}

[data-theme="dark"] .skill-tag:hover {
    background: linear-gradient(135deg, #2563EB, #1E40AF);
    box-shadow: 0 0 15px 3px rgba(37, 99, 235, 0.2);
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }

.project-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .project-card {
    border-color: #475569;
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
}

[data-theme="dark"] .project-card:hover {
    background: linear-gradient(135deg, #374151 0%, #1F2937 100%);
}

.project-header {
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: white;
    font-size: 3rem;
}

.ai-project { background: linear-gradient(135deg, #8b5cf6, #06b6d4); }
.marketing-project { background: linear-gradient(135deg, #ec4899, #f59e0b); }
.data-project { background: linear-gradient(135deg, #1e40af, #0ea5e9); }

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.project-body {
    padding: 2rem;
}

.project-body h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-body p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    border: 1px solid var(--light-gray);
}

[data-theme="dark"] .tech-tag {
    background: rgba(30, 41, 59, 0.6);
    border-color: #4B5563;
}

.project-highlights ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-highlights li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.project-highlights li::before {
    content: '→';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Certifications Section */
.certifications-section {
    padding: 80px 0;
}

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

.cert-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--light-gray);
    text-align: center;
    transition: var(--transition);
    animation: scaleIn 0.6s ease-out forwards;
    opacity: 0;
}

.cert-card:nth-child(1) { animation-delay: 0.1s; }
.cert-card:nth-child(2) { animation-delay: 0.15s; }
.cert-card:nth-child(3) { animation-delay: 0.2s; }
.cert-card:nth-child(4) { animation-delay: 0.25s; }
.cert-card:nth-child(5) { animation-delay: 0.3s; }
.cert-card:nth-child(6) { animation-delay: 0.35s; }
.cert-card:nth-child(7) { animation-delay: 0.4s; }
.cert-card:nth-child(8) { animation-delay: 0.45s; }

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

[data-theme="dark"] .cert-card {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border-color: #4B5563;
}

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

[data-theme="dark"] .cert-card:hover {
    background: linear-gradient(135deg, #334155 0%, #1E293B 100%);
    box-shadow: 0 0 40px 10px rgba(6, 182, 212, 0.12);
}

.cert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

.ai-cert { background: linear-gradient(135deg, #8b5cf6, #06b6d4); }
.marketing-cert { background: linear-gradient(135deg, #ec4899, #f59e0b); }
.coding-cert { background: linear-gradient(135deg, #ef4444, #f97316); }
.data-cert { background: linear-gradient(135deg, #1e40af, #0ea5e9); }
.soft-cert { background: linear-gradient(135deg, #10b981, #06b6d4); }

.cert-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cert-issuer {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.cert-score,
.cert-date {
    background: var(--bg-secondary);
    color: var(--color-accent);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.cert-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    min-width: 24px;
}

.contact-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all var(--transition-fast);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.github { }
.linkedin { }
.instagram { }
.email { }

.hire-cta {
    margin-top: 2rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
}

[data-theme="dark"] .contact-form-wrapper {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border-color: #4B5563;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

[data-theme="dark"] .contact-form input:focus,
[data-theme="dark"] .contact-form textarea:focus {
    box-shadow: 0 0 15px 3px rgba(37, 99, 235, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.form-status {
    display: block;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 0.5rem;
}

.form-status.success {
    color: #10b981;
}

.form-status.error {
    color: #ef4444;
}

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

[data-theme="dark"] .footer {
    background: var(--bg-tertiary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-main p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-main p i {
    color: var(--color-error);
    animation: heartbeat 1.2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
}

.footer-social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .home-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 2rem;
    }

    .home-image {
        order: -1;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .about-content,
    .contact-content,
    .skills-matrix {
        grid-template-columns: 1fr;
    }

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

    .hero-portrait-frame {
        width: 250px;
        height: 250px;
    }

    .portrait-circle {
        font-size: 80px;
    }

    .nav-menu {
        gap: 1rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .home-section {
        padding: 100px 0 60px;
        min-height: auto;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-portrait-frame {
        width: 200px;
        height: 200px;
    }
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .home-text h1 {
        font-size: 2rem;
    }

    .home-text .hero-subtitle {
        font-size: 1rem;
    }

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

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

    .hero-visual {
        display: none;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-links {
        justify-content: center;
    }

    .home-section {
        margin-top: 70px;
        padding: 50px 0;
    }
}