* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== THEME CONFIGURATIONS ===== */
:root {
    /* Default Dark Theme */
    --primary: #17c1d1;
    --primary-dark: #0fa5b8;
    --secondary: #7a9ef8;
    --accent: #00a78e;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #fff;
    --border-color: #e0e0e0;
    --body-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Light Theme */
[data-theme="light"] {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f3f4f6;
    --bg-white: #ffffff;
    --border-color: #d1d5db;
    --body-font: 'Trebuchet MS', 'Segoe UI', sans-serif;
}

/* Sun Theme */
[data-theme="sun"] {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --secondary: #fbbf24;
    --accent: #ff6b35;
    --text-dark: #78350f;
    --text-light: #a16207;
    --bg-light: #fef3c7;
    --bg-white: #fffbeb;
    --border-color: #fcd34d;
    --body-font: 'Georgia', serif;
}

/* Winter Theme */
[data-theme="winter"] {
    --primary: #06b6d4;
    --primary-dark: #0891b2;
    --secondary: #3b82f6;
    --accent: #60a5fa;
    --text-dark: #0c4a6e;
    --text-light: #164e63;
    --bg-light: #cffafe;
    --bg-white: #ecf0f1;
    --border-color: #a5f3fc;
    --body-font: 'Arial', 'Helvetica', sans-serif;
}

/* Rain Theme */
[data-theme="rain"] {
    --primary: #64748b;
    --primary-dark: #475569;
    --secondary: #7c3aed;
    --accent: #a78bfa;
    --text-dark: #1e293b;
    --text-light: #475569;
    --bg-light: #e2e8f0;
    --bg-white: #f1f5f9;
    --border-color: #cbd5e1;
    --body-font: 'Open Sans', sans-serif;
}

/* Neon Theme */
[data-theme="neon"] {
    --primary: #00ff88;
    --primary-dark: #00cc6f;
    --secondary: #ff006e;
    --accent: #00d9ff;
    --text-dark: #0d0221;
    --text-light: #3a0ca3;
    --bg-light: #2d0a4e;
    --bg-white: #1a0033;
    --border-color: #7209b7;
    --body-font: 'Courier New', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background: #fafbfc;
    color: var(--text-dark);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    transition: color 0.3s ease;
}

.brand-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== THEME SELECTOR ===== */
.theme-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.theme-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.theme-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.theme-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
}

.theme-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    width: 100%;
    padding: 12px 18px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    font-family: var(--body-font);
    font-size: 0.95rem;
}

.theme-option:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 22px;
}

.theme-option.active {
    background: linear-gradient(90deg, var(--bg-light), transparent);
    color: var(--primary);
    border-left: 4px solid var(--primary);
    padding-left: 14px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 4px 0;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 300;
    opacity: 0.95;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
    display: inline-block;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: var(--primary);
    border-color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 20px;
}

.section-light {
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.about-photo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    animation: fadeInUp 0.8s ease;
}

.glass-frame {
    position: relative;
    width: 320px;
    height: 380px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 25px;
    padding: 10px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    transform-style: preserve-3d;
    will-change: transform;
}

[data-theme="sun"] .glass-frame,
[data-theme="light"] .glass-frame {
    background: rgba(255, 255, 255, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

[data-theme="sun"] .glass-frame:hover,
[data-theme="light"] .glass-frame:hover {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.2),
                0 0 40px rgba(245, 158, 11, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

[data-theme="winter"] .glass-frame {
    background: rgba(207, 250, 254, 0.2);
    border: 1.5px solid rgba(6, 182, 212, 0.4);
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

[data-theme="winter"] .glass-frame:hover {
    background: rgba(207, 250, 254, 0.3);
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.25),
                0 0 40px rgba(96, 165, 250, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

[data-theme="rain"] .glass-frame {
    background: rgba(226, 232, 240, 0.12);
    border: 1.5px solid rgba(100, 116, 139, 0.25);
    box-shadow: 0 8px 32px rgba(100, 116, 139, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

[data-theme="rain"] .glass-frame:hover {
    background: rgba(226, 232, 240, 0.18);
    box-shadow: 0 20px 50px rgba(100, 116, 139, 0.15),
                0 0 40px rgba(124, 58, 237, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

[data-theme="neon"] .glass-frame {
    background: rgba(0, 255, 136, 0.08);
    border: 2px solid rgba(0, 255, 136, 0.35);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.25), 
                inset 0 0 20px rgba(0, 255, 136, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="neon"] .glass-frame:hover {
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.4), inset 0 0 20px rgba(0, 255, 136, 0.1);
    background: rgba(0, 255, 136, 0.1);
    transform: translateY(-15px) rotateX(8deg) rotateZ(2deg);
}

.glass-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 20px;
    pointer-events: none;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    opacity: 0.96;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    filter: brightness(1) contrast(1.05);
    display: block;
}

.glass-frame:hover {
    transform: translateY(-15px) rotateX(8deg) rotateZ(2deg);
    box-shadow: 0 20px 50px rgba(31, 38, 135, 0.25),
                0 0 40px rgba(23, 193, 209, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
}

.glass-frame:hover .about-photo {
    opacity: 1;
    transform: scale(1.03);
    filter: brightness(1.05) contrast(1.1);
}

.about-content {
    max-width: 100%;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-category {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.skill-category h4 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-category i {
    font-size: 1.3rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.skill-tag:hover {
    transform: scale(1.05);
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 30px;
    border-left: 5px solid var(--primary);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.project-header i {
    font-size: 2rem;
    color: var(--primary);
}

.project-card h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.project-description {
    color: var(--text-light);
    margin: 15px 0;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tech-tag {
    background: var(--bg-light);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--primary);
}

.project-details {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.project-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.project-btn, .project-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.project-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.project-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(23, 193, 209, 0.3);
}

.project-btn-secondary {
    background: var(--bg-light);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.project-btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ===== EDUCATION SECTION ===== */
.education-timeline {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
    padding: 20px 0;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    transform: translateX(-50%);
}

.education-item {
    margin-bottom: 40px;
    display: flex;
    position: relative;
}

.education-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border: 4px solid var(--bg-light);
    border-radius: 50%;
    transform: translateX(-50%);
}

.education-content {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    width: 48%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.education-item:nth-child(odd) .education-content {
    margin-left: 0;
    margin-right: auto;
}

.education-item:nth-child(even) .education-content {
    margin-left: auto;
    margin-right: 0;
}

.education-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.education-content h3 {
    color: var(--primary);
    margin-bottom: 5px;
}

.education-org {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0;
}

.education-period {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.education-desc {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* ===== CERTIFICATIONS SECTION ===== */
.certifications-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.certification-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-left: 5px solid var(--accent);
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.cert-icon {
    font-size: 2.5rem;
    color: var(--accent);
    min-width: 60px;
    text-align: center;
}

.cert-content h4 {
    margin: 0 0 5px 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.cert-issuer {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
}

.cert-year {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 5px 0 0 0;
}

/* ===== CONTACT SECTION ===== */
.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.contact-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-top-color: var(--accent);
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-card h4 {
    margin: 10px 0;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.3rem;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 30px 20px;
    text-align: center;
    position: relative;
}

.footer p {
    margin: 0;
    font-size: 0.95rem;
}

.back-to-top {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-55%);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== THEME-SPECIFIC EFFECTS ===== */

/* Sun Theme Special Effects */
[data-theme="sun"] body {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
}

[data-theme="sun"] .hero {
    background: linear-gradient(135deg, #f59e0b 0%, #ff6b35 100%);
    position: relative;
}

[data-theme="sun"] .hero::before {
    content: '☀️';
    position: absolute;
    font-size: 200px;
    opacity: 0.1;
    top: -50px;
    right: -50px;
    animation: float 6s ease-in-out infinite;
}

/* Winter Theme Special Effects */
[data-theme="winter"] body {
    background: linear-gradient(135deg, #ecf0f1 0%, #cffafe 100%);
}

[data-theme="winter"] .hero {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

[data-theme="winter"] .hero::before {
    content: '❄️';
    position: absolute;
    font-size: 150px;
    opacity: 0.1;
    top: 50%;
    right: -30px;
    animation: rotate 20s linear infinite;
}

/* Rain Theme Special Effects */
[data-theme="rain"] body {
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
}

[data-theme="rain"] .hero {
    background: linear-gradient(135deg, #64748b 0%, #7c3aed 100%);
}

/* Neon Theme Special Effects */
[data-theme="neon"] body {
    background: linear-gradient(135deg, #0d0221 0%, #1a0033 100%);
    color: #00ff88;
}

[data-theme="neon"] * {
    transition: text-shadow 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="neon"] .hero {
    background: linear-gradient(135deg, #0d0221 0%, #2d0a4e 100%);
    text-shadow: 0 0 10px #00ff88, 0 0 20px #00d9ff;
}

[data-theme="neon"] .hero-title {
    text-shadow: 0 0 20px #00ff88, 0 0 40px #00d9ff, 0 0 60px #ff006e;
    font-weight: 900;
}

[data-theme="neon"] .btn-primary {
    background: #00ff88;
    color: #0d0221;
    box-shadow: 0 0 10px #00ff88, 0 0 20px #00d9ff;
}

[data-theme="neon"] .btn-primary:hover {
    box-shadow: 0 0 20px #00ff88, 0 0 40px #00d9ff, 0 0 60px #ff006e;
}

[data-theme="neon"] .section-title {
    text-shadow: 0 0 10px #00ff88;
}

[data-theme="neon"] .skill-category,
[data-theme="neon"] .project-card,
[data-theme="neon"] .contact-card {
    background: #1a0033;
    border: 2px solid #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

[data-theme="neon"] .skill-category:hover,
[data-theme="neon"] .project-card:hover,
[data-theme="neon"] .contact-card:hover {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5), 0 0 60px rgba(0, 217, 255, 0.3);
}

[data-theme="neon"] .skill-tag {
    background: linear-gradient(135deg, #00ff88, #00d9ff);
    color: #0d0221;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

[data-theme="neon"] .footer {
    background: #0d0221;
    border-top: 2px solid #00ff88;
}

/* Light Theme Enhancements */
[data-theme="light"] .section-light {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

[data-theme="light"] .skill-category {
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1);
    border: 1px solid #e5e7eb;
}

/* Dark Theme Enhancements */
[data-theme="dark"] .section-light {
    background: #0f172a;
}

[data-theme="dark"] .project-card {
    border-color: #333;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .theme-selector {
        order: -1;
    }

    .theme-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .theme-menu {
        right: auto;
        left: 0;
        margin-left: 10px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .about-photo-container {
        justify-content: center;
        margin-bottom: 20px;
    }

    .glass-frame {
        width: 280px;
        height: 340px;
    }

    .about-content {
        text-align: left;
    }

    .about-text {
        text-align: justify;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .education-timeline::before {
        left: 20px;
    }

    .education-marker {
        left: 20px;
    }

    .education-content {
        width: 100%;
        margin-left: 60px !important;
    }

    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
    }

    .social-links {
        flex-wrap: wrap;
    }

    .back-to-top {
        position: fixed;
        right: 20px;
        bottom: 30px;
        top: auto;
        transform: none;
    }

    .back-to-top.show {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        transform: translateY(-3px);
    }
}
