/* ========================================
   STANIYA RUTH SIMON - MODERN THEME
   Glassmorphism & Modern Design
   Based on Stephen Sam Simon's UI Style
   ======================================== */

/* CSS Variables - Modern Theme (Dark Mode - Default) */
:root {
    --primary-dark: #0d1117;
    --primary-medium: #161b22;
    --primary-light: #21262d;
    --accent-primary: #58a6ff;
    --accent-secondary: #bc8cff;
    --accent-pink: #f778ba;
    --accent-green: #3fb950;
    --accent-orange: #d29922;
    --accent-color: #58a6ff;
    --gradient-main: linear-gradient(135deg, #58a6ff 0%, #bc8cff 50%, #f778ba 100%);
    --gradient-dark: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    --bg-dark: #0d1117;
    --bg-card: rgba(22, 27, 34, 0.8);
    --light-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --text-light: #8b949e;
    --border-color: rgba(240, 246, 252, 0.1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(88, 166, 255, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass: rgba(22, 27, 34, 0.7);
}

/* Light Mode Variables - Modern Cream & White Theme */
.light-mode {
    --primary-dark: #FFFCF5;
    --primary-medium: #FFF8E7;
    --primary-light: #FFF3D9;
    --accent-primary: #B8860B;
    --accent-secondary: #8B4513;
    --accent-pink: #D4A574;
    --accent-green: #6B8E6B;
    --accent-orange: #CD853F;
    --accent-color: #B8860B;
    --gradient-main: linear-gradient(135deg, #B8860B 0%, #8B4513 50%, #D4A574 100%);
    --gradient-dark: linear-gradient(180deg, #FFFCF5 0%, #FFF8E7 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 248, 231, 0.9) 100%);
    --bg-dark: #FFFCF5;
    --bg-card: rgba(255, 255, 255, 0.95);
    --light-bg: rgba(184, 134, 11, 0.08);
    --text-primary: #3D3D3D;
    --text-secondary: #5D5D5D;
    --text-muted: #8B8B8B;
    --text-light: #5D5D5D;
    --border-color: rgba(61, 61, 61, 0.1);
    --shadow-sm: 0 2px 4px rgba(61, 61, 61, 0.04);
    --shadow-md: 0 4px 12px rgba(61, 61, 61, 0.08);
    --shadow-lg: 0 10px 30px rgba(61, 61, 61, 0.1);
    --shadow-glow: 0 0 40px rgba(184, 134, 11, 0.1);
    --glass: rgba(255, 255, 255, 0.9);
}

/* Global transition for theme switching */
body {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--text-primary); }
a { text-decoration: none; color: inherit; transition: var(--transition); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* BACKGROUND EFFECTS */
.bg-gradient { background: var(--gradient-dark); }

.grid-pattern {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(88, 166, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(88, 166, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px; pointer-events: none; z-index: -1;
}

.glow-orb {
    position: fixed; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: -1;
}

.glow-orb-1 { width: 600px; height: 600px; background: rgba(88, 166, 255, 0.15); top: -200px; left: -200px; animation: float 20s ease-in-out infinite; }
.glow-orb-2 { width: 500px; height: 500px; background: rgba(188, 140, 255, 0.12); bottom: -150px; right: -150px; animation: float 25s ease-in-out infinite reverse; }

@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -30px); } }

/* NAVIGATION */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0;
    background: rgba(13, 17, 23, 0.9); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color); transition: var(--transition);
}

.navbar.scrolled { padding: 10px 0; box-shadow: var(--shadow-lg); }

.light-mode .navbar {
    background: rgba(255, 252, 245, 0.95);
}

.navbar .container { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 1.3rem; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; gap: 10px; }

.logo-icon {
    width: 36px; height: 36px; background: var(--gradient-main); border-radius: 8px;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem;
}

.logo span { display: block; }
@media (max-width: 600px) { .logo span { display: none; } }

.nav-links { display: flex; list-style: none; gap: 4px; }

.nav-links a {
    color: var(--text-secondary); padding: 8px 14px; border-radius: 8px; font-weight: 500;
    font-size: 0.9rem; transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active { color: var(--text-primary); background: rgba(88, 166, 255, 0.1); }
.nav-links a.active { color: var(--accent-primary); }

.light-mode .nav-links a:hover, 
.light-mode .nav-links a.active {
    background: rgba(184, 134, 11, 0.1);
}

.light-mode .nav-links a.active {
    color: var(--accent-primary);
}

.hamburger { display: none; color: var(--text-primary); font-size: 1.3rem; cursor: pointer; background: none; border: none; padding: 8px; }

/* Mobile Navigation */
@media (max-width: 900px) {
    .nav-links { 
        display: flex !important; 
        position: static; 
        flex-direction: row; 
        width: auto; 
        height: auto; 
        background: transparent; 
        padding: 0; 
        gap: 2px; 
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .nav-links a { 
        padding: 6px 10px; 
        font-size: 0.75rem; 
        white-space: nowrap;
    }
    .hamburger { display: none; }
}

@media (max-width: 600px) {
    .nav-links { 
        gap: 2px 4px; 
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        padding: 8px 0;
    }
    .nav-links li {
        flex: 0 0 auto;
    }
    .nav-links a { 
        padding: 6px 8px; 
        font-size: 0.65rem; 
    }
    .navbar { padding: 8px 0; min-height: 80px; }
    .logo { font-size: 0.9rem; }
    .logo-icon { display: none; }
}

/* HERO SECTION */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 24px 80px; position: relative;
}

.hero-container {
    display: flex; align-items: center; gap: 60px; max-width: 1100px; width: 100%;
}

.hero-text { flex: 1; text-align: left; }
.hero-image { flex: 1; display: flex; justify-content: center; align-items: center; }
.hero-image img {
    max-width: 100%; height: auto; max-height: 500px; object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    animation: float 6s ease-in-out infinite;
}

.hero-content { max-width: 800px; margin: 0 auto; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(88, 166, 255, 0.1); border: 1px solid rgba(88, 166, 255, 0.3);
    padding: 8px 18px; border-radius: 50px; font-size: 0.85rem; color: var(--accent-primary); margin-bottom: 24px;
}

.light-mode .hero-badge {
    background: rgba(184, 134, 11, 0.1);
    border-color: rgba(184, 134, 11, 0.3);
    color: var(--accent-primary);
}

.hero h1 { font-size: 4rem; margin-bottom: 20px; line-height: 1.1; }
.hero h1 .name { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero .tagline { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }

.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 50px; }

.btn {
    padding: 12px 28px; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
    transition: var(--transition); cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}

.btn-primary { background: var(--gradient-main); color: var(--bg-dark); border: none; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(88, 166, 255, 0.3); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--border-color); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--accent-primary); }

.light-mode .btn-primary:hover { box-shadow: 0 10px 30px rgba(184, 134, 11, 0.3); }
.light-mode .btn-secondary:hover { background: rgba(184, 134, 11, 0.05); border-color: var(--accent-primary); }

.hero-stats { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { font-size: 2.2rem; font-weight: 700; color: var(--accent-primary); display: block; }
.stat-label { font-size: 0.85rem; color: var(--text-secondary); }

/* SECTIONS */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 16px; }
.section-header p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.section-title { font-size: 2.2rem; text-align: center; margin-bottom: 40px; position: relative; }
.section-title::after { content: ''; display: block; width: 50px; height: 3px; background: var(--gradient-main); margin: 16px auto 0; border-radius: 3px; }

/* CARDS */
.glass-card {
    background: var(--gradient-card); backdrop-filter: blur(20px);
    border: 1px solid var(--border-color); border-radius: 16px; padding: 28px;
    transition: var(--transition);
    text-align: center;
}
.glass-card:hover { transform: translateY(-5px); border-color: rgba(88, 166, 255, 0.3); box-shadow: var(--shadow-glow); }

.light-mode .glass-card {
    background: var(--gradient-card);
}

.card-icon {
    width: 54px; height: 54px; background: rgba(88, 166, 255, 0.1); border-radius: 14px;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.card-icon i { font-size: 1.3rem; color: var(--accent-primary); }
.card-icon.purple i { color: var(--accent-secondary); }
.card-icon.pink i { color: var(--accent-pink); }
.card-icon.green i { color: var(--accent-green); }
.card-icon.orange i { color: var(--accent-orange); }

.light-mode .card-icon {
    background: rgba(184, 134, 11, 0.1);
}

/* GRID LAYOUTS */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* RESPONSIVE GRID */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .hero-container { flex-direction: column; gap: 40px; text-align: center; }
    .hero-text { text-align: center; }
    .hero-image { order: -1; }
    .hero-image img { max-height: 350px; }
    .hero .tagline { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-image { order: -1; margin-bottom: 100px; }
    .hero-image img { max-height: 280px; }
    .hero-stats { gap: 30px; }
    .stat-number { font-size: 1.8rem; }
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .section-title, .section-header h2 { font-size: 1.8rem; }
    .hero-image { display: none; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
    .hero .tagline { font-size: 1rem; }
    .btn { padding: 10px 22px; font-size: 0.9rem; }
}

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 768px) { 
    .about-grid { grid-template-columns: 1fr; }
    .about-grid .profile-card { order: -1; }
}

.about-content { color: var(--text-secondary); line-height: 1.8; }
.about-content p { margin-bottom: 16px; }
.about-content .btn { margin-top: 10px; }

.profile-card {
    background: var(--gradient-card); backdrop-filter: blur(20px);
    border: 1px solid var(--border-color); border-radius: 20px; padding: 32px; text-align: center;
}
.profile-image { width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 20px; border: 3px solid var(--accent-primary); overflow: hidden; }
.profile-image img { width: 100%; height: 100%; object-fit: cover; }
.profile-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.profile-card .title { color: var(--accent-primary); font-weight: 500; margin-bottom: 20px; }
.profile-info { text-align: left; }
.profile-info .item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border-color); color: var(--text-secondary); }
.profile-info .item:last-child { border-bottom: none; }
.profile-info .item i { color: var(--accent-primary); width: 18px; }
.profile-info .item a { color: var(--text-secondary); }

/* ABOUT PAGE SPECIFIC STYLES */
.about-main {
    flex: 1;
}

.about-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* About Text Content */
.about-text-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-text-content p {
    margin-bottom: 16px;
}

/* Skeleton Loading Wrapper */
.skeleton-wrapper {
    position: relative;
}

.skeleton-wrapper.content-loading .actual-content {
    display: none;
}

.skeleton-wrapper.content-loaded .skeleton-about-grid,
.skeleton-wrapper.content-loaded .skeleton-section {
    display: none;
}

.skeleton-wrapper.content-loaded .actual-content {
    display: block;
}

.skeleton-about-grid {
    display: none;
}

.skeleton-about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.skeleton-profile-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
}

.skeleton-profile {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.skeleton-profile-name {
    height: 28px;
    width: 70%;
    margin: 0 auto 10px;
    border-radius: 6px;
}

.skeleton-profile-title {
    height: 20px;
    width: 50%;
    margin: 0 auto 20px;
    border-radius: 4px;
}

.skeleton-profile-item {
    height: 40px;
    width: 100%;
    margin-bottom: 12px;
    border-radius: 8px;
}

.skeleton-hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.skeleton-hero-btn {
    height: 45px;
    border-radius: 10px;
}

.skeleton-section {
    display: none;
}

.skeleton-section-title {
    height: 36px;
    width: 300px;
    margin: 0 auto 30px;
    border-radius: 8px;
}

.skeleton-section-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.skeleton-section-card {
    height: 160px;
    border-radius: 16px;
}

/* Hide actual content initially */
.actual-content {
    display: none;
}

.actual-content.active {
    display: block;
}

/* Profile Card Styles */
.profile-card .profile-name {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.profile-card .profile-title {
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 20px;
}

.profile-card .profile-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--accent-primary);
    overflow: hidden;
}

.profile-card .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card .profile-info .item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.profile-card .profile-info .item:last-child {
    border-bottom: none;
}

.profile-card .profile-info .item i {
    color: var(--accent-primary);
    width: 18px;
}

.profile-card .profile-info .item a {
    color: var(--text-secondary);
}

.about-content-box {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
}

.about-content-box p {
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.8;
}

.about-content-box p:last-child {
    margin-bottom: 0;
}

.light-mode .about-content-box {
    background: rgba(184, 134, 11, 0.05);
}

.resume-section {
    margin-top: 25px;
}

.quick-links-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}

.light-mode .quick-links-card {
    background: rgba(184, 134, 11, 0.05);
}

.quick-links-card h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.quick-links-card ul {
    list-style: none;
}

.quick-links-card li {
    margin-bottom: 12px;
}

.quick-links-card a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 8px;
}

.quick-links-card a:hover {
    color: var(--accent-primary);
    background: rgba(88, 166, 255, 0.1);
    padding-left: 16px;
}

.light-mode .quick-links-card a:hover {
    background: rgba(184, 134, 11, 0.1);
}

.quick-links-card i {
    color: var(--accent-secondary);
    font-size: 0.9rem;
}

/* Personal Info Card */
.personal-info-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
}

.light-mode .personal-info-card {
    background: rgba(184, 134, 11, 0.05);
}

.personal-info-card h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.personal-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    color: var(--accent-primary);
    font-size: 1rem;
    width: 20px;
    margin-top: 2px;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.info-value {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Responsive adjustments for about page */
@media (max-width: 992px) {
    .about-sidebar {
        width: 100%;
    }
}

/* EXPERIENCE TIMELINE */
.experience-timeline { max-width: 750px; margin: 0 auto; }
.timeline-item { display: flex; gap: 20px; margin-bottom: 24px; }
.timeline-marker { width: 44px; height: 44px; background: var(--gradient-main); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.timeline-marker i { color: var(--bg-dark); font-size: 1rem; }
.timeline-content { flex: 1; background: var(--gradient-card); backdrop-filter: blur(20px); border: 1px solid var(--border-color); border-radius: 14px; padding: 20px; transition: var(--transition); }
.timeline-content:hover { border-color: rgba(88, 166, 255, 0.3); transform: translateX(6px); }
.light-mode .timeline-content:hover { border-color: rgba(184, 134, 11, 0.3); }
.timeline-content h3 { font-size: 1.1rem; margin-bottom: 4px; }
.timeline-content .company { color: var(--accent-primary); font-weight: 500; font-size: 0.9rem; margin-bottom: 6px; }
.timeline-content .date { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 12px; }
.timeline-content ul { list-style: none; }
.timeline-content li { color: var(--text-secondary); padding: 4px 0; padding-left: 16px; position: relative; font-size: 0.9rem; }
.timeline-content li::before { content: '→'; position: absolute; left: 0; color: var(--accent-primary); }

/* SKILLS */
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 768px) { .skills-grid { grid-template-columns: 1fr; } }

.skill-category {
    background: var(--gradient-card); backdrop-filter: blur(20px);
    border: 1px solid var(--border-color); border-radius: 14px; padding: 24px;
}
.skill-category h3 { font-size: 1.1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.skill-category h3 i { color: var(--accent-primary); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag {
    background: rgba(88, 166, 255, 0.1); border: 1px solid rgba(88, 166, 255, 0.2);
    color: var(--text-primary); padding: 6px 14px; border-radius: 6px; font-size: 0.85rem; font-weight: 500; transition: var(--transition);
}
.skill-tag:hover { background: rgba(88, 166, 255, 0.2); }

.light-mode .skill-tag {
    background: rgba(184, 134, 11, 0.1);
    border-color: rgba(184, 134, 11, 0.2);
}

.light-mode .skill-tag:hover {
    background: rgba(184, 134, 11, 0.2);
}

/* PROJECTS */
.project-full-card, .project-card {
    background: var(--gradient-card); backdrop-filter: blur(20px);
    border: 1px solid var(--border-color); border-radius: 18px; padding: 32px; margin-bottom: 24px;
    transition: var(--transition);
}
.project-full-card:hover, .project-card:hover { border-color: rgba(88, 166, 255, 0.3); transform: translateY(-5px); }
.light-mode .project-full-card:hover, 
.light-mode .project-card:hover { border-color: rgba(184, 134, 11, 0.3); }
.project-type { color: var(--accent-primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; margin-bottom: 8px; }
.year-badge { background: var(--accent-secondary); color: var(--bg-dark); padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.project-full-card h2, .project-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.project-full-card p, .project-card p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.7; font-size: 0.95rem; }
.project-tech, .project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.project-tech span, .project-tags span {
    background: rgba(188, 140, 255, 0.1); border: 1px solid rgba(188, 140, 255, 0.2);
    color: var(--text-primary); padding: 5px 12px; border-radius: 6px; font-size: 0.8rem;
}

.light-mode .project-tech span, 
.light-mode .project-tags span {
    background: rgba(139, 69, 19, 0.1);
    border-color: rgba(139, 69, 19, 0.2);
}

/* CERTIFICATIONS */
.cert-card {
    background: var(--gradient-card); backdrop-filter: blur(20px);
    border: 1px solid var(--border-color); border-radius: 14px; padding: 22px; text-align: center;
    transition: var(--transition);
}
.cert-card:hover { transform: translateY(-5px); border-color: rgba(247, 120, 186, 0.3); }
.light-mode .cert-card:hover { border-color: rgba(184, 134, 11, 0.3); }
.cert-card .cert-icon {
    width: 60px; height: 60px; background: rgba(247, 120, 186, 0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.cert-card .cert-icon i { font-size: 1.5rem; color: var(--accent-pink); }
.cert-card h3 { font-size: 1rem; margin-bottom: 6px; }
.cert-card .issuer { color: var(--accent-primary); font-weight: 500; font-size: 0.85rem; }
.cert-card .date { color: var(--text-muted); font-size: 0.8rem; margin-top: 6px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; }
@media (max-width: 768px) { 
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form { margin-top: 20px; text-align: center; }
}

.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
    display: flex; align-items: center; gap: 14px;
    background: var(--gradient-card); backdrop-filter: blur(20px);
    border: 1px solid var(--border-color); border-radius: 14px; padding: 18px;
    transition: var(--transition);
}
.contact-item:hover { border-color: rgba(88, 166, 255, 0.3); transform: translateX(6px); }
.light-mode .contact-item:hover { border-color: rgba(184, 134, 11, 0.3); }
.contact-item .icon { width: 44px; height: 44px; background: rgba(88, 166, 255, 0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.light-mode .contact-item .icon { background: rgba(184, 134, 11, 0.1); }
.contact-item .icon i { font-size: 1.1rem; color: var(--accent-primary); }
.contact-item h4 { font-size: 0.95rem; margin-bottom: 2px; }
.contact-item p, .contact-item a { color: var(--text-secondary); font-size: 0.9rem; }

.contact-form {
    background: var(--gradient-card); backdrop-filter: blur(20px);
    border: 1px solid var(--border-color); border-radius: 18px; padding: 32px;
}
.contact-form h3 { margin-bottom: 20px; text-align: center; }
.form-group { margin-bottom: 16px; text-align: left; }
.form-group label { display: block; color: var(--text-primary); font-weight: 500; margin-bottom: 6px; font-size: 0.9rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px 16px; background: rgba(13, 17, 23, 0.5);
    border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-primary);
    font-size: 0.95rem; transition: var(--transition);
}
.light-mode .form-group input, 
.light-mode .form-group textarea {
    background: rgba(255, 252, 245, 0.8);
    border-color: var(--border-color);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-primary); background: rgba(13, 17, 23, 0.8); }
.light-mode .form-group input:focus, 
.light-mode .form-group textarea:focus {
    background: #FFFCF5;
    border-color: var(--accent-primary);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* PAGE HEADER */
.page-header { padding: 140px 0 50px; text-align: center; background: var(--gradient-dark); }
.page-header h1 { font-size: 2.5rem; margin-bottom: 10px; }

/* EXPERIENCE TOTAL */
.experience-total {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(88, 166, 255, 0.3);
    padding: 16px 32px;
    border-radius: 16px;
    margin-bottom: 20px;
}
.experience-total .total-years {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.experience-total .total-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========================================
   THEME TOGGLE SWITCH
   ======================================== */

.theme-toggle {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-left: 10px;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

.theme-toggle .fa-sun {
    color: #B8860B;
    display: none;
}

.theme-toggle .fa-moon {
    color: #58a6ff;
}

.light-mode .theme-toggle {
    background: rgba(184, 134, 11, 0.15);
    border-color: rgba(184, 134, 11, 0.3);
}

.light-mode .theme-toggle .fa-sun {
    display: block;
    color: #8B4513;
}

.light-mode .theme-toggle .fa-moon {
    display: none;
}

.theme-toggle:active i {
    transform: rotate(360deg);
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 900px) {
    .theme-toggle {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .theme-toggle {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        margin-left: 8px;
    }
}

/* Light mode specific adjustments */
.light-mode .grid-pattern {
    background-image: linear-gradient(rgba(184, 134, 11, 0.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(184, 134, 11, 0.06) 1px, transparent 1px);
}

.light-mode .glow-orb-1 {
    background: rgba(184, 134, 11, 0.12);
}

.light-mode .glow-orb-2 {
    background: rgba(139, 69, 19, 0.08);
}

.light-mode .modal-content {
    background-color: var(--primary-medium);
}

/* Reduced motion for theme toggle */
@media (prefers-reduced-motion: reduce) {
    .theme-toggle i {
        transition: none;
    }
}

/* FOOTER */
footer { background: var(--primary-dark); border-top: 1px solid var(--border-color); padding: 30px 0; text-align: center; }
footer p { color: var(--text-muted); margin-bottom: 14px; }
.footer-social { display: flex; justify-content: center; gap: 12px; }
.footer-social a {
    width: 40px; height: 40px; background: var(--primary-light); border-radius: 8px;
    display: flex; align-items: center; justify-content: center; color: var(--text-secondary); 
    transition: var(--transition), transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.footer-social a:hover { 
    background: var(--accent-primary); 
    color: var(--bg-dark);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.4);
}

/* Contact Page Social Icons */
.contact-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.contact-social a {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition), transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.contact-social a:hover {
    background: var(--accent-primary);
    color: var(--bg-dark);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.4);
}

/* ANIMATIONS */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.wow { opacity: 0; animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) { .wow { animation: none; opacity: 1; } * { animation: none !important; transition: none !important; } }

/* MODAL STYLES */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--primary-medium);
    margin: 2% auto;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-content h2 {
    margin-bottom: 20px;
    padding-right: 40px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: var(--text-secondary);
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    color: var(--accent-primary);
}

.modal-content iframe {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #fff;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 5% auto;
        width: 95%;
        padding: 20px;
    }
    .modal-content iframe {
        height: 400px;
    }
}

/* ========================================
   DECORATIVE CHARACTER (Let's Connect)
   ======================================== */
.decorative-character {
    position: absolute;
    top: -75px;
    right: 550px;
    width: 90px;
    z-index: 10;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

@media (max-width: 1200px) {
    .decorative-character {
        right: 400px;
        width: 80px;
        top: -60px;
    }
}

@media (max-width: 992px) {
    .decorative-character {
        right: 250px;
        width: 70px;
        top: -50px;
    }
}

@media (max-width: 768px) {
    .decorative-character {
        display: none;
    }
}

/* ========================================
   SKELETON LOADING STYLES
   ======================================== */

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.skeleton {
    background: linear-gradient(
        90deg,
        rgba(88, 166, 255, 0.1) 25%,
        rgba(88, 166, 255, 0.2) 50%,
        rgba(88, 166, 255, 0.1) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite ease-in-out;
    border-radius: 4px;
}

.skeleton-dark {
    background: linear-gradient(
        90deg,
        rgba(88, 166, 255, 0.15) 25%,
        rgba(88, 166, 255, 0.25) 50%,
        rgba(88, 166, 255, 0.15) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite ease-in-out;
    border-radius: 4px;
}

.skeleton-text { height: 16px; margin-bottom: 8px; border-radius: 4px; }
.skeleton-text.short { width: 60%; }
.skeleton-text.medium { width: 80%; }
.skeleton-text.long { width: 100%; }
.skeleton-title { height: 32px; width: 70%; margin-bottom: 12px; border-radius: 8px; }
.skeleton-heading { height: 24px; width: 50%; margin-bottom: 10px; border-radius: 6px; }
.skeleton-circle { border-radius: 50%; }
.skeleton-card { height: 200px; border-radius: 16px; margin-bottom: 20px; }

/* Skeleton Wrapper */
.skeleton-wrapper {
    position: relative;
}

.skeleton-wrapper .skeleton {
    display: block;
}

.skeleton-wrapper.content-loaded .skeleton {
    display: none;
}

.skeleton-wrapper .actual-content {
    display: none;
}

.skeleton-wrapper.content-loaded .actual-content {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Skeleton Education Timeline */
.skeleton-education {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.skeleton-timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.skeleton-timeline-marker {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(88, 166, 255, 0.15);
}

.skeleton-timeline-content {
    flex: 1;
    padding: 20px;
    border-radius: 12px;
    background: rgba(88, 166, 255, 0.08);
}

/* Timeline Content Location */
.timeline-content .location {
    color: var(--accent-primary);
    font-size: 0.9rem;
    margin-top: 8px;
}

.timeline-content .location i {
    margin-right: 6px;
}

/* Timeline Marker Icons with Colors */
.timeline-marker {
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 3px solid var(--bg-dark);
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
}

.timeline-marker i {
    font-size: 1.1rem;
    color: var(--bg-dark);
}

/* Different colors for different education levels */
.timeline-item:nth-child(1) .timeline-marker {
    background: linear-gradient(135deg, #58a6ff 0%, #bc8cff 100%);
}

.timeline-item:nth-child(2) .timeline-marker {
    background: linear-gradient(135deg, #3fb950 0%, #58a6ff 100%);
}

.timeline-item:nth-child(3) .timeline-marker {
    background: linear-gradient(135deg, #f778ba 0%, #bc8cff 100%);
}

.timeline-item:nth-child(4) .timeline-marker {
    background: linear-gradient(135deg, #d29922 0%, #f778ba 100%);
}
/* Skeleton Skills Grid */
.skeleton-skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skeleton-card.skeleton {
    height: 150px;
    border-radius: 14px;
}

/* Progress Grid */
.progress-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.progress-item {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition);
}

.progress-item:hover {
    border-color: rgba(88, 166, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.light-mode .progress-item {
    background: var(--gradient-card);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-header span:first-child {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.progress-header span:last-child {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.progress-bar {
    height: 8px;
    background: rgba(88, 166, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 10px;
    transition: width 1s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Skeleton Button */
.skeleton-button { height: 45px; width: 140px; border-radius: 25px; }
.skeleton-badge { height: 30px; width: 150px; border-radius: 15px; }
.skeleton-image { height: 100%; width: 100%; border-radius: inherit; }
.skeleton-tag { height: 32px; width: 80px; border-radius: 16px; display: inline-block; margin: 4px; }
.skeleton-row { height: 60px; width: 100%; margin-bottom: 12px; border-radius: 8px; }

/* ========================================
   EXPERIENCE TIMELINE
   ======================================== */
.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.experience-card {
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.exp-header {
    background: var(--gradient-hero);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--white);
}

.exp-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.exp-icon i {
    font-size: 1.4rem;
}

.exp-title {
    flex: 1;
}

.exp-title h3 {
    font-size: 1.2rem;
    margin-bottom: 3px;
    color: var(--white);
}

.exp-title .company {
    opacity: 0.85;
    font-size: 0.95rem;
}

.exp-period {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.exp-location {
    padding: 15px 30px;
    color: var(--text-light);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.exp-location i {
    color: var(--highlight-color);
    margin-right: 8px;
}

.exp-details {
    padding: 20px 30px;
    list-style: none;
}

.exp-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-light);
    line-height: 1.6;
}

.exp-details li:last-child {
    margin-bottom: 0;
}

.exp-details li i {
    color: var(--highlight-color);
    margin-top: 5px;
    font-size: 0.8rem;
}

/* ========================================
   EDUCATION TIMELINE
   ======================================== */
.education-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--highlight-color), var(--secondary-color));
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    border: 4px solid var(--card-bg);
    box-shadow: var(--shadow);
}

.timeline-marker i {
    font-size: 1.2rem;
    color: var(--white);
}

.timeline-content {
    flex: 1;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.timeline-date {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.timeline-content .institution {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.timeline-content .location {
    color: var(--highlight-color);
    font-size: 0.9rem;
}

.timeline-content .location i {
    margin-right: 5px;
}

/* ========================================
   SKILLS PAGE
   ======================================== */
.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.skill-category-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.skill-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.category-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-hero);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon i {
    font-size: 1.4rem;
    color: var(--white);
}

.category-header h2 {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.skill-tag:hover {
    background: var(--gradient-hero);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Languages */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.language-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.language-card:hover {
    transform: translateY(-5px);
}

.language-card i {
    font-size: 2.5rem;
    color: var(--highlight-color);
    margin-bottom: 15px;
}

.language-card h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.language-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   PROJECTS PAGE
   ======================================== */
.projects-container {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.project-card-full {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.project-card-full:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.project-year-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.project-content {
    display: flex;
    gap: 30px;
    padding: 35px;
}

.project-icon {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-icon i {
    font-size: 2rem;
    color: var(--highlight-color);
}

.project-details {
    flex: 1;
}

.project-details h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.project-type {
    color: var(--highlight-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.project-link {
    margin-bottom: 15px;
}

.project-link a {
    color: var(--secondary-color);
    font-weight: 600;
}

.project-link a:hover {
    color: var(--highlight-color);
}

.project-link i {
    margin-right: 5px;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.project-tag {
    background: var(--light-bg);
    color: var(--text-light);
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Interest Cards */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.interest-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.interest-card i {
    font-size: 2rem;
    color: var(--highlight-color);
    margin-bottom: 15px;
}

.interest-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.interest-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   CERTIFICATIONS PAGE
   ======================================== */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.certification-card-full {
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.certification-card-full:hover {
    transform: translateY(-5px);
}

.cert-header {
    background: var(--gradient-hero);
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.cert-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon i {
    font-size: 1.5rem;
}

.cert-year {
    font-size: 1.1rem;
    font-weight: 600;
}

.cert-content {
    padding: 25px;
}

.cert-content h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.cert-issuer {
    color: var(--highlight-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ========================================
   PUBLICATIONS PAGE
   ======================================== */
.publications-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.publication-card {
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    gap: 25px;
    padding: 30px;
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.publication-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-hero);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.publication-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.publication-content {
    flex: 1;
}

.publication-year {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 10px;
}

.publication-type {
    color: var(--accent-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.publication-card h3 {
    color: var(--primary-color);
    margin: 12px 0;
    font-size: 1.25rem;
}

.publication-journal {
    color: var(--highlight-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.publication-author {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.publication-abstract {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Research Areas */
.research-areas {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.area-item {
    background: var(--card-bg);
    padding: 25px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.area-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.area-item i {
    font-size: 1.8rem;
    color: var(--highlight-color);
    margin-bottom: 12px;
}

.area-item span {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

/* ========================================
   AWARDS PAGE
   ======================================== */
.awards-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.award-card-full {
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 30px;
    display: flex;
    gap: 25px;
    transition: var(--transition);
}

.award-card-full:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.award-icon-large {
    width: 70px;
    height: 70px;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.award-icon-large i {
    font-size: 1.8rem;
    color: var(--white);
}

.award-content {
    flex: 1;
}

.award-card-full h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.award-event {
    color: var(--highlight-color);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.award-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   VOLUNTEERING PAGE
   ======================================== */
.volunteering-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.volunteer-card-full {
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.volunteer-card-full:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.volunteer-header {
    background: var(--gradient-hero);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
}

.volunteer-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.volunteer-icon i {
    font-size: 1.3rem;
}

.volunteer-period {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.volunteer-content {
    padding: 25px 30px;
}

.volunteer-card-full h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.volunteer-type {
    color: var(--highlight-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.volunteer-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.volunteer-activities h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1rem;
}

.volunteer-activities ul {
    list-style: none;
}

.volunteer-activities li {
    color: var(--text-light);
    padding: 6px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
}

.volunteer-activities li i {
    position: absolute;
    left: 0;
    color: var(--highlight-color);
    font-size: 0.8rem;
    top: 8px;
}

/* Impact Stats */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.impact-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.impact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.impact-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--highlight-color);
    font-family: 'Playfair Display', serif;
}

.impact-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-intro {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item-full {
    display: flex;
    gap: 20px;
    background: var(--light-bg);
    padding: 20px;
    border-radius: 15px;
    transition: var(--transition);
}

.contact-item-full:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-hero);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.3rem;
    color: var(--white);
}

.contact-text h3 {
    color: var(--primary-color);
    margin-bottom: 3px;
    font-size: 1rem;
}

.contact-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Form */
.form-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-card h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--input-bg);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight-color);
    background: var(--card-bg);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: var(--dark-bg);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

footer p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-math {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 1.2rem;
    opacity: 0.4;
    letter-spacing: 5px;
    font-family: monospace;
}

.footer-math span {
    color: var(--highlight-color);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }
.hero-content > *:nth-child(6) { animation-delay: 0.6s; }

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr 1fr; }
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .certifications-grid { grid-template-columns: repeat(2, 1fr); }
    .personal-info-grid { grid-template-columns: repeat(2, 1fr); }
    .research-areas { grid-template-columns: repeat(3, 1fr); }
    .interests-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero .tagline { font-size: 1.2rem; }
    .hero-stats { gap: 30px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-detail-grid { grid-template-columns: 1fr; }
    .featured-grid { grid-template-columns: 1fr; }
    .skills-container { grid-template-columns: 1fr; }
    .certifications-grid { grid-template-columns: 1fr; }
    .languages-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .project-content { flex-direction: column; }
    .personal-info-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
    .research-areas { grid-template-columns: repeat(2, 1fr); }
    .publication-card { flex-direction: column; }
    .award-card-full { flex-direction: column; text-align: center; }
    .award-icon-large { margin: 0 auto; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .btn { padding: 12px 24px; font-size: 0.9rem; }
    .hero-stats { gap: 20px; }
    .stat-number { font-size: 2rem; }
    .interests-grid { grid-template-columns: 1fr; }
    .impact-stats { grid-template-columns: 1fr; }
}

/* Mobile Navigation - Always Visible */
@media (max-width: 768px) {
    .nav-links {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: transparent;
        padding: 0;
        gap: 2px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        box-shadow: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 6px 8px;
        font-size: 0.65rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

