/* ===================================
   CSS Variables - Dark Mode (Default)
   =================================== */
:root {
    --primary-color: #06b6d4;
    --secondary-color: #0891b2;
    --accent-color: #22d3ee;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --bg-primary: #0a0e1a;
    --bg-secondary: rgba(15, 23, 42, 0.6);
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-dark: #050810;
    --border-color: rgba(255, 255, 255, 0.08);
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.5);
    --glow-sm: 0 0 15px rgba(6, 182, 212, 0.15);
    --glow-md: 0 0 30px rgba(6, 182, 212, 0.2);
    --glow-lg: 0 0 50px rgba(6, 182, 212, 0.25);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);
    --transition: all 0.3s ease;
}

/* ===================================
   CSS Variables - Light Mode
   =================================== */
[data-theme="light"] {
    --primary-color: #0891b2;
    --secondary-color: #06b6d4;
    --accent-color: #0e7490;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --bg-primary: #f8fafc;
    --bg-secondary: rgba(241, 245, 249, 0.8);
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-dark: #0f172a;
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12);
    --glow-sm: 0 0 15px rgba(6, 182, 212, 0.1);
    --glow-md: 0 0 30px rgba(6, 182, 212, 0.12);
    --glow-lg: 0 0 50px rgba(6, 182, 212, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-blur: blur(12px);
}

/* ===================================
   Reset & Base Styles
   =================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===================================
   Utility Classes
   =================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-accent { color: var(--accent-color); }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* ===================================
   Glass Card Mixin (applied everywhere)
   =================================== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition);
}

.glass:hover {
    border-color: rgba(6, 182, 212, 0.25);
    box-shadow: var(--glow-sm);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(6, 182, 212, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid rgba(6, 182, 212, 0.4);
}

.btn-secondary:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .navbar {
    background: rgba(248, 250, 252, 0.5);
}

.navbar-scrolled {
    background: rgba(10, 14, 26, 0.92) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .navbar-scrolled {
    background: rgba(248, 250, 252, 0.95) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-menu { display: flex; gap: 2rem; align-items: center; }

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

.nav-menu a:hover,
.nav-menu a.active { color: var(--accent-color); }

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

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

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: var(--glow-sm);
    transform: rotate(20deg) scale(1.1);
}

.theme-toggle i { transition: transform 0.5s ease; }

/* ===================================
   Particle Canvas
   =================================== */
.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/hero-bg.webp') center/cover no-repeat;
    opacity: 0.15;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(6, 182, 212, 0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(34, 211, 238, 0.04) 0%, transparent 50%),
                linear-gradient(180deg, var(--bg-primary) 0%, transparent 20%, transparent 80%, var(--bg-primary) 100%);
    z-index: -1;
}

.hero > .container { position: relative; z-index: 1; }

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

.hero-text { animation: fadeInLeft 1s ease; }

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-nickname {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-secondary);
    display: inline-block;
    margin-top: 0.5rem;
    animation: fadeIn 1s ease 0.5s both;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-company {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-company a {
    color: var(--accent-color);
    font-weight: 500;
}

.hero-company a:hover { color: var(--primary-color); text-decoration: underline; }

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

.hero-buttons { display: flex; gap: 1rem; margin-bottom: 2rem; }

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

.hero-social a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 1.3rem;
    transition: var(--transition);
}

.hero-social a:hover {
    color: var(--accent-color);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: var(--glow-md);
    transform: translateY(-4px);
}

.hero-social a[aria-label="Facebook"]:hover {
    color: #1877f2;
    border-color: rgba(24, 119, 242, 0.3);
    box-shadow: 0 0 25px rgba(24, 119, 242, 0.2);
}

.hero-social a[aria-label="YouTube"]:hover {
    color: #ff0000;
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.2);
}

.hero-image { animation: fadeInRight 1s ease; }

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.profile-image-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(6, 182, 212, 0.5);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.2);
    position: relative;
    z-index: 2;
    transition: var(--transition);
    animation: profileFloat 4s ease-in-out infinite;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(6, 182, 212, 0.35);
}

.profile-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(6, 182, 212, 0.3);
    opacity: 0.4;
    animation: pulseRing 2.5s ease-out infinite;
}

.profile-ring-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(34, 211, 238, 0.2);
    opacity: 0.3;
    animation: pulseRing 2.5s ease-out infinite 1.2s;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.stat-item:hover {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: var(--glow-sm);
    transform: translateY(-4px);
}

.stat-item i {
    font-size: 1.3rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.stat-item span {
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 1;
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* ===================================
   About Preview Section
   =================================== */
.about-preview {
    padding: 5rem 0;
    background: rgba(15, 23, 42, 0.3);
}

[data-theme="light"] .about-preview {
    background: rgba(241, 245, 249, 0.5);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: var(--glow-md);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.stat-card p { color: var(--text-secondary); }

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

/* ===================================
   Skills Preview Section
   =================================== */
.skills-preview { padding: 5rem 0; }

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

.tech-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tech-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: var(--glow-md);
    transform: translateY(-6px);
}

.tech-card:hover i { color: var(--accent-color); }

.tech-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tech-card h3 { font-size: 1rem; font-weight: 500; }

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

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(34, 211, 238, 0.05));
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ===================================
   Page Header
   =================================== */
.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    background: radial-gradient(ellipse at 50% 0%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* About Page Header with Background */
.about-page-header {
    position: relative;
    overflow: hidden;
}

.about-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/about-bg.png') center/cover no-repeat;
    opacity: 0.2;
    z-index: 0;
}

.about-page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, transparent 30%, transparent 70%, var(--bg-primary) 100%);
    z-index: 0;
}

.about-page-header .particle-canvas { z-index: 0; }

/* ===================================
   About Section
   =================================== */
.about-section { padding: 5rem 0; }

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-profile { display: flex; justify-content: center; margin-bottom: 2rem; }

.about-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(6, 182, 212, 0.4);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
    transition: var(--transition);
    animation: profileFloat 4s ease-in-out infinite;
}

.about-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(6, 182, 212, 0.3);
}

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

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

.about-info { display: grid; gap: 1rem; }

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: var(--transition);
}

.info-item:hover {
    border-color: rgba(6, 182, 212, 0.2);
    box-shadow: var(--glow-sm);
}

.info-item i { font-size: 1.3rem; color: var(--accent-color); margin-top: 0.2rem; }
.info-item h4 { margin-bottom: 0.3rem; font-size: 0.95rem; }
.info-item p { color: var(--text-secondary); font-size: 0.9rem; }
.info-item a { color: var(--accent-color); }
.info-item a:hover { text-decoration: underline; }

.about-skills {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
}

.about-skills h3 { font-size: 1.4rem; margin-bottom: 1.5rem; }

.skill-category { margin-bottom: 1.5rem; }

.skill-category h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
    font-size: 0.95rem;
}

.skill-category ul { padding-left: 1.5rem; }

.skill-category li {
    list-style: disc;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

/* Experience Timeline */
.experience-section { margin-top: 4rem; }
.experience-section h2 { font-size: 2rem; margin-bottom: 2rem; }

.timeline { position: relative; padding-left: 2rem; }

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

.timeline-item { position: relative; margin-bottom: 2rem; }

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--accent-color), var(--glow-sm);
}

.timeline-content {
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: rgba(6, 182, 212, 0.2);
    box-shadow: var(--glow-sm);
}

.timeline-content h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.timeline-content h4 { color: var(--accent-color); margin-bottom: 0.5rem; font-size: 0.95rem; }
.timeline-content .period { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 0.75rem; }
.timeline-content .period i { margin-right: 0.3rem; }
.timeline-content p { font-size: 0.95rem; color: var(--text-secondary); }

/* ===================================
   Projects Section
   =================================== */
.projects-section { padding: 5rem 0; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.project-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: var(--glow-md);
}

.project-card.featured {
    border-color: rgba(6, 182, 212, 0.2);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(34, 211, 238, 0.02));
}

.project-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.project-card h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.project-card p { color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.6; font-size: 0.95rem; }

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

.tech-tag {
    padding: 0.25rem 0.7rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 500;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.project-link:hover { color: var(--primary-color); }
.project-link i { transition: var(--transition); }
.project-link:hover i { transform: translateX(5px); }

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

/* ===================================
   Skills Section
   =================================== */
.skills-section { padding: 5rem 0; }

.skills-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.skills-intro h2 { font-size: 2rem; margin-bottom: 1rem; }
.skills-intro p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

.skills-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.category-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
}

.category-card:hover {
    border-color: rgba(6, 182, 212, 0.25);
    box-shadow: var(--glow-sm);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-header i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.category-header h3 { font-size: 1.2rem; }

.skills-list { display: flex; flex-direction: column; gap: 1rem; }

.skill-item { display: flex; flex-direction: column; gap: 0.4rem; }

.skill-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.skill-name i { color: var(--accent-color); font-size: 0.85rem; }

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

[data-theme="light"] .skill-bar {
    background: rgba(0, 0, 0, 0.06);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
    transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.3);
}

.learning-section {
    text-align: center;
    padding: 3rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.learning-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.learning-section h2 i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.learning-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.learning-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

.topic-tag {
    padding: 0.4rem 1rem;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 20px;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.topic-tag:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: var(--glow-sm);
}

/* ===================================
   Contact Section
   =================================== */
.contact-section { padding: 5rem 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 { font-size: 2rem; margin-bottom: 1rem; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.8; }

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.contact-method:hover {
    border-color: rgba(6, 182, 212, 0.2);
    box-shadow: var(--glow-sm);
}

.contact-method i { font-size: 1.3rem; color: var(--accent-color); min-width: 24px; text-align: center; }
.contact-method h4 { margin-bottom: 0.2rem; font-size: 0.9rem; }
.contact-method p { color: var(--text-secondary); font-size: 0.85rem; }
.contact-method a { color: var(--accent-color); }
.contact-method a:hover { text-decoration: underline; }

.social-connect { margin-top: 2rem; }
.social-connect h4 { margin-bottom: 1rem; }

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

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: var(--glow-sm);
    transform: translateY(-3px);
}

.contact-form-container {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
}

.contact-form-container h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 500; font-size: 0.9rem; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background: rgba(0, 0, 0, 0.03);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-response { padding: 1rem; border-radius: 8px; margin-top: 1rem; font-size: 0.9rem; }
.form-response.success { background: rgba(16, 185, 129, 0.1); color: var(--success-color); border: 1px solid rgba(16, 185, 129, 0.2); }
.form-response.error { background: rgba(239, 68, 68, 0.1); color: var(--error-color); border: 1px solid rgba(239, 68, 68, 0.2); }

/* ===================================
   Footer
   =================================== */
.footer {
    background: rgba(5, 8, 16, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--glass-border);
}

[data-theme="light"] .footer {
    background: #0f172a;
}

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

.footer-section h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.footer-section h4 { margin-bottom: 1rem; font-size: 1rem; }
.footer-section p { color: rgba(255, 255, 255, 0.5); margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer-section ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-section a { color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; }
.footer-section a:hover { color: var(--accent-color); }

.footer .social-links { margin-top: 1rem; }
.footer .social-links a { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.08); }
.footer .social-links a:hover { background: rgba(6, 182, 212, 0.15); }

.footer .social-links a[aria-label="Facebook"]:hover {
    color: #1877f2;
    border-color: rgba(24, 119, 242, 0.3);
    background: rgba(24, 119, 242, 0.1);
}

.footer .social-links a[aria-label="YouTube"]:hover {
    color: #ff0000;
    border-color: rgba(255, 0, 0, 0.3);
    background: rgba(255, 0, 0, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p { color: rgba(255, 255, 255, 0.35); font-size: 0.85rem; }

/* ===================================
   Certificates & Awards Section
   =================================== */
.certificates-section { margin-top: 4rem; }
.certificates-section h2 { font-size: 2rem; margin-bottom: 2rem; }

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

.certificate-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.certificate-card:hover {
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: var(--glow-md);
}

.certificate-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.certificate-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.certificate-card:hover .certificate-thumbnail { transform: scale(1.05); }

.certificate-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 182, 212, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-card:hover .certificate-overlay { opacity: 1; }

.certificate-overlay i {
    color: #fff;
    font-size: 2rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.certificate-card-body { padding: 1.25rem; }

.certificate-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.certificate-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.certificate-card-header h3 { font-size: 1rem; margin-bottom: 0.25rem; line-height: 1.3; }

.certificate-category {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(6, 182, 212, 0.15);
}

.certificate-meta { margin-top: 0.5rem; font-size: 0.85rem; color: var(--text-secondary); }
.certificate-meta p { margin-bottom: 0.25rem; display: flex; align-items: flex-start; gap: 0.5rem; line-height: 1.4; }
.certificate-meta i { margin-top: 0.2rem; min-width: 14px; font-size: 0.8rem; color: var(--accent-color); }

/* ===================================
   Certificate Modal / Lightbox
   =================================== */
.cert-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cert-modal.active { visibility: visible; opacity: 1; }

.cert-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
}

.cert-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.cert-modal-image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cert-modal-close {
    position: absolute;
    top: -40px;
    right: -10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
    z-index: 2;
}

.cert-modal-close:hover { transform: scale(1.2); }

.cert-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    z-index: 2;
}

.cert-modal-nav:hover { background: rgba(255, 255, 255, 0.2); }
.cert-modal-prev { left: -70px; }
.cert-modal-next { right: -70px; }

.cert-modal-info { margin-top: 1rem; text-align: center; color: #fff; }
.cert-modal-info h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.cert-modal-info p { font-size: 0.9rem; opacity: 0.7; }

/* ===================================
   Animations
   =================================== */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

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

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

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

@keyframes pulseRing {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.2; }
    100% { transform: scale(1.15); opacity: 0; }
}

/* ===================================
   Scroll Reveal
   =================================== */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-xl);
        border-right: 1px solid var(--glass-border);
        z-index: 999;
    }

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

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

    .hero-title { font-size: 2.2rem; }
    .hero-nickname { font-size: 1.2rem; }
    .hero-buttons { justify-content: center; }
    .hero-social { justify-content: center; }
    .hero-description { font-size: 1rem; }

    .profile-image-wrapper { width: 220px; height: 220px; }
    .profile-image { width: 200px; height: 200px; }

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

    .cert-modal-prev { left: 10px; }
    .cert-modal-next { right: 10px; }
    .cert-modal-nav { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .stat-card h3 { font-size: 1.1rem; }
    .tech-grid { grid-template-columns: 1fr 1fr; }
    .btn { padding: 10px 22px; font-size: 0.9rem; }
    .page-header h1 { font-size: 2rem; }
}
