/* ========================================
   CSS Variables & Reset
   ======================================== */

:root {
    --primary-color: #3b82f6;
    --secondary-color: #8b5cf6;
    --accent-color: #10b981;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --light-bg: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-3: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: auto;
    overflow-y: auto;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: auto;
    overflow-y: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* ========================================
   Navigation Bar
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.logo span {
    color: var(--primary-color);
}

.logo:hover {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: var(--transition);
}

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

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

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

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

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.95rem;
}

.lang-toggle:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.lang-toggle i {
    font-size: 1.1rem;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 80px;
    align-items: center;
    z-index: 10;
    position: relative;
}

/* Profile Card - Left Side */
.hero-profile-card {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.profile-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 24px;
    overflow: hidden;
    background: var(--light-bg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 4px solid transparent;
    background-image: linear-gradient(var(--light-bg), var(--light-bg)), 
                      linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4facfe 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: var(--transition);
}

.profile-image-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(59, 130, 246, 0.6);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.profile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
    pointer-events: none;
}

.profile-info-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(59, 130, 246, 0.3);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.profile-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #4facfe 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.profile-info-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.5);
    transform: translateY(-3px);
}

.profile-info-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    transition: var(--transition);
}

.profile-info-item:last-of-type {
    border-bottom: none;
}

.profile-info-item:hover {
    background: rgba(59, 130, 246, 0.05);
    padding-left: 30px;
}

.profile-info-item i {
    font-size: 1.4rem;
    color: var(--primary-color);
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    transition: var(--transition);
}

.profile-info-item:hover i {
    background: var(--gradient-2);
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

.profile-info-item > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

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

.status-seeking {
    color: var(--accent-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-seeking::before {
    content: '●';
    font-size: 0.8rem;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

.cv-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 0;
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cv-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cv-download-btn:hover::before {
    left: 100%;
}

.cv-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.cv-download-btn i {
    font-size: 1.3rem;
}

/* Hero Text - Right Side */
.hero-text {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

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

.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-text 4s ease infinite;
}

@keyframes gradient-text {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-2);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    color: var(--text-secondary);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.3rem;
    border: 2px solid rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-2);
    transition: width 0.4s, height 0.4s, top 0.4s, left 0.4s;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.social-link:hover {
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-5px) scale(1.1);
}

.social-link i {
    position: relative;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 1) 0%, 
        rgba(30, 41, 59, 0.95) 50%,
        rgba(15, 23, 42, 1) 100%
    );
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(79, 172, 254, 0.1) 0%, transparent 50%);
    animation: rotate-gradient 20s linear infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(59, 130, 246, 0.05) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: sweep 8s ease-in-out infinite;
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes sweep {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    animation: float-ncs 25s ease-in-out infinite;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -300px;
    right: -200px;
    animation: float-ncs 20s ease-in-out infinite, pulse-shape 8s ease-in-out infinite;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    bottom: -200px;
    left: -100px;
    animation: float-ncs 18s ease-in-out infinite reverse, pulse-shape 10s ease-in-out infinite;
    animation-delay: -5s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    top: 40%;
    right: 10%;
    animation: float-ncs 22s ease-in-out infinite, pulse-shape 12s ease-in-out infinite;
    animation-delay: -10s;
}

@keyframes float-ncs {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(80px, -80px) scale(1.1);
    }
    50% {
        transform: translate(40px, 40px) scale(0.9);
    }
    75% {
        transform: translate(-60px, 60px) scale(1.05);
    }
}

@keyframes pulse-shape {
    0%, 100% {
        opacity: 0.2;
        filter: blur(100px);
    }
    50% {
        opacity: 0.3;
        filter: blur(120px);
    }
}

/* Animated grid lines (NCS style) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    opacity: 0.5;
    animation: grid-move 20s linear infinite;
    pointer-events: none;
}

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

/* ========================================
   Section Titles
   ======================================== */

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-2);
    border-radius: 2px;
}

/* ========================================
   News Section
   ======================================== */

.news {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 20px;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}

.news-card:hover::before {
    transform: scaleX(1);
}

/* News Card Variants */

/* Trophy Card - Golden Theme */
.news-card.trophy-card {
    background: var(--light-bg);
    border: 3px solid #fbbf24;
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.4);
}

.news-card.trophy-card::before {
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    transform: scaleX(1);
    height: 5px;
}

.news-card.trophy-card .news-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.6);
}

.news-card.trophy-card .news-date {
    background: #fbbf24;
    color: #1e293b;
    font-weight: 700;
}

.news-card.trophy-card .news-date i {
    color: #1e293b;
}

.news-card.trophy-card h3 {
    color: #fbbf24;
    font-weight: 700;
    font-size: 1.5rem;
}

.news-card.trophy-card p {
    color: #f1f5f9;
}

.news-card.trophy-card .news-tags span {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.5);
    color: #fbbf24;
}

.news-card.trophy-card .news-tags span i {
    color: #fbbf24;
}

.news-card.trophy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.6);
    border-color: #f59e0b;
}

.news-card.live {
    border-color: var(--accent-color);
}

.news-card.live .news-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.news-card.live:has(.news-logo) .news-icon {
    background: rgba(16, 185, 129, 0.15);
    backdrop-filter: blur(10px);
}

.news-card.dev {
    border-color: var(--primary-color);
}

.news-card.dev .news-icon {
    background: var(--gradient-2);
}

.news-card.dev:has(.news-logo) .news-icon {
    background: rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(10px);
}

.news-card.winner {
    border-color: #ef4444;
}

.news-card.winner .news-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.news-card.achievement {
    border-color: #a855f7;
}

.news-card.achievement .news-icon {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

.news-card.cert {
    border-color: #06b6d4;
}

.news-card.cert .news-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.news-card.cert:has(.news-logo) .news-icon {
    background: rgba(6, 182, 212, 0.15);
    backdrop-filter: blur(10px);
}

.news-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    transition: var(--transition);
}

.news-card:hover .news-icon {
    transform: scale(1.1) rotate(-3deg);
}

.news-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Special styling for Cisco logo */
.news-card.cert .news-icon {
    padding: 10px;
}

.news-card.cert .news-logo {
    width: 70px;
    height: 70px;
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.news-date i {
    font-size: 0.9rem;
}

.news-card h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-secondary);
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: var(--transition);
}

.news-tags span i {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.news-tags span:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.05);
}

/* Animated Background for News Section */
.news::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.news::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite reverse;
}

/* ========================================
   About Section
   ======================================== */

.about {
    background: var(--darker-bg);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--light-bg);
    padding: 40px 30px;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.about-card > i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.education-item {
    margin-bottom: 25px;
}

.education-item:last-child {
    margin-bottom: 0;
}

.education-item h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.education-item .degree {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.education-item .period {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cert-list {
    list-style: none;
}

.cert-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.cert-list li:last-child {
    border-bottom: none;
}

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

.cert-list span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.language-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

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

.language-item .level {
    color: var(--primary-color);
    font-weight: 600;
}

/* ========================================
   Experience Section (Timeline)
   ======================================== */

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--light-bg);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--dark-bg);
    z-index: 2;
}

.timeline-content {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    transition: var(--transition);
    border-left: 3px solid var(--primary-color);
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: inline-block;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.duration {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    color: var(--text-secondary);
    padding: 8px 0 8px 25px;
    position: relative;
}

.timeline-content li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ========================================
   Projects Section
   ======================================== */

.projects {
    background: var(--darker-bg);
}

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

.project-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.3);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card.featured {
    border-color: var(--primary-color);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.project-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.project-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-badge.live {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-color);
}

.project-badge.demo {
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary-color);
}

.project-card h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    pointer-events: none;
}

.project-card a {
    text-decoration: none;
    color: inherit;
}

.project-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.project-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-stack span {
    padding: 6px 15px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* ========================================
   GitHub Repositories Section
   ======================================== */

.github-section {
    background: var(--darker-bg);
}

.github-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.stat-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.repos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 15px;
}

.error-message i {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 15px;
}

.error-message p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.repo-card {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.repo-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.repo-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.repo-icon {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.repo-name {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.repo-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin: 0;
}

.repo-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.repo-language {
    display: flex;
    align-items: center;
    gap: 6px;
}

.language-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.lang-javascript { background: #f1e05a; }
.lang-python { background: #3572A5; }
.lang-java { background: #b07219; }
.lang-typescript { background: #2b7489; }
.lang-html { background: #e34c26; }
.lang-css { background: #563d7c; }
.lang-php { background: #4F5D95; }
.lang-go { background: #00ADD8; }
.lang-rust { background: #dea584; }
.lang-c\+\+ { background: #f34b7d; }
.lang-c { background: #555555; }
.lang-default { background: var(--text-secondary); }

.repo-stars {
    display: flex;
    align-items: center;
    gap: 5px;
}

.repo-stars i {
    color: #fbbf24;
}

.repo-updated {
    margin-left: auto;
    font-size: 0.85rem;
}

.github-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.github-actions .btn {
    padding: 16px 35px;
}

.expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.expand-btn i {
    transition: transform 0.3s ease;
}

/* ========================================
   Skills Section
   ======================================== */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-category {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.skill-category h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-category h3 i {
    color: var(--primary-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tags span {
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: var(--transition);
}

.skill-tags span:hover {
    background: var(--gradient-2);
    color: white;
    transform: scale(1.05);
}

.skill-tags.soft-skills span {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--accent-color);
}

.skill-tags.soft-skills span:hover {
    background: var(--accent-color);
    color: white;
}

/* ========================================
   Leadership Section
   ======================================== */

.leadership {
    background: var(--darker-bg);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.leadership-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.leadership-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.leadership-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.leadership-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.leadership-card .role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.leadership-card .period {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.interests {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.interests h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.interest-tags span {
    padding: 12px 24px;
    background: var(--dark-bg);
    color: var(--text-secondary);
    border-radius: 30px;
    font-size: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.interest-tags span i {
    color: var(--primary-color);
}

.interest-tags span:hover {
    background: var(--gradient-2);
    color: white;
    transform: scale(1.05);
}

.interest-tags span:hover i {
    color: white;
}

/* ========================================
   Contact Section
   ======================================== */

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 50px;
}

.contact-intro h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-intro p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.contact-card {
    background: var(--light-bg);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    display: block;
}

.contact-card:not(.no-link) {
    cursor: pointer;
}

.contact-card:not(.no-link):hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.3);
}

.contact-card.no-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-icon i {
    font-size: 1.8rem;
    color: white;
}

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

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    word-break: break-word;
    transition: var(--transition);
}

.contact-card:not(.no-link):hover p {
    color: var(--primary-color);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--darker-bg);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--light-bg);
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    color: var(--text-secondary);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.footer-links a:hover {
    background: var(--gradient-2);
    color: white;
    transform: translateY(-5px);
}

/* ========================================
   Scroll to Top Button
   ======================================== */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-2);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-profile-card {
        max-width: 350px;
        margin: 0 auto;
        width: 100%;
    }

    .hero-text {
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .leadership-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .github-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .repos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

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

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--darker-bg);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-profile-card {
        order: -1;
        max-width: 350px;
        margin: 0 auto;
        width: 100%;
    }

    .hero-text {
        text-align: center;
    }

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

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

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

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

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

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

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

    .news-card {
        padding: 25px;
    }

    .news-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .news-card h3 {
        font-size: 1.2rem;
    }

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

    .project-card h3 {
        font-size: 1.5rem;
    }

    .project-type {
        font-size: 0.95rem;
    }

    .tech-stack {
        gap: 8px;
    }

    .tech-stack span {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-card {
        padding: 30px 25px;
    }

    .about-card h3 {
        font-size: 1.5rem;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-marker {
        left: 5px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .github-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 25px;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

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

    .repo-card {
        padding: 20px;
    }

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

    .skill-category {
        padding: 25px;
    }

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

    .skill-tags span {
        font-size: 0.85rem;
        padding: 6px 14px;
    }

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

    .leadership-card {
        padding: 25px;
    }

    .interests {
        padding: 30px 20px;
    }

    .interest-tags {
        gap: 10px;
    }

    .interest-tags span {
        font-size: 0.9rem;
        padding: 10px 18px;
    }

    .contact-intro {
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .contact-intro h3 {
        font-size: 1.6rem;
    }

    .contact-intro p {
        font-size: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 25px;
    }

    .github-actions {
        flex-direction: column;
        gap: 15px;
    }

    .github-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer {
        padding: 30px 0;
    }

    .footer p {
        font-size: 0.9rem;
    }
}

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

    .logo {
        font-size: 24px;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .hero-profile-card {
        max-width: 280px;
    }

    .profile-info-card {
        padding: 0;
    }

    .profile-info-item {
        padding: 15px 20px;
    }

    .profile-info-item i {
        font-size: 1.1rem;
        width: 40px;
        height: 40px;
    }

    .info-label {
        font-size: 0.7rem;
    }

    .info-value {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    section {
        padding: 50px 0;
    }

    .news-card {
        padding: 20px;
    }

    .news-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .news-card h3 {
        font-size: 1.1rem;
    }

    .news-card p {
        font-size: 0.9rem;
    }

    .news-tags span {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .project-card {
        padding: 20px;
    }

    .project-card h3 {
        font-size: 1.3rem;
    }

    .tech-stack span {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .about-card {
        padding: 25px 20px;
    }

    .about-card > i {
        font-size: 2.5rem;
    }

    .about-card h3 {
        font-size: 1.3rem;
    }

    .timeline-content {
        padding: 15px;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .timeline-content li {
        font-size: 0.9rem;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-card i {
        font-size: 2rem;
    }

    .stat-card h3 {
        font-size: 1.8rem;
    }

    .repo-card {
        padding: 15px;
    }

    .repo-card h3 {
        font-size: 1.1rem;
    }

    .repo-description {
        font-size: 0.9rem;
    }

    .skill-category {
        padding: 20px;
    }

    .skill-category h3 {
        font-size: 1.1rem;
    }

    .skill-tags {
        gap: 8px;
    }

    .skill-tags span {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .leadership-card {
        padding: 20px;
    }

    .leadership-card i {
        font-size: 2.5rem;
    }

    .leadership-card h3 {
        font-size: 1.1rem;
    }

    .interests {
        padding: 25px 15px;
    }

    .interests h3 {
        font-size: 1.5rem;
    }

    .interest-tags {
        gap: 8px;
    }

    .interest-tags span {
        font-size: 0.85rem;
        padding: 8px 15px;
    }

    .contact-intro {
        padding: 0 5px;
    }

    .contact-intro h3 {
        font-size: 1.4rem;
    }

    .contact-intro p {
        font-size: 0.95rem;
    }

    .contact-card {
        padding: 20px;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
    }

    .contact-icon i {
        font-size: 1.5rem;
    }

    .contact-card h4 {
        font-size: 1.1rem;
    }

    .contact-card p {
        font-size: 0.9rem;
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    .footer {
        padding: 25px 0;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-links a {
        width: 40px;
        height: 40px;
    }
}

