/* ==========================================
   CSS Variables & Reset
   ========================================== */
:root {
    --primary-color: #0a66c2;
    --secondary-color: #00d9ff;
    --accent-color: #00ff88;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --border-color: #2a2a2a;
    --shadow: rgba(0, 0, 0, 0.5);
    --gradient-1: linear-gradient(135deg, #0a66c2 0%, #00d9ff 100%);
    --gradient-2: linear-gradient(135deg, #00ff88 0%, #00d9ff 100%);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 1400px;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px var(--shadow);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(10, 10, 10, 0.98);
}

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

.nav-brand {
    font-size: 2rem;
    font-weight: bold;
}

.brand-name {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

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

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

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

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

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(10, 102, 194, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 217, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--text-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(10, 102, 194, 0.4);
}

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

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

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

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.social-links a:hover {
    background: var(--gradient-1);
    border-color: transparent;
    transform: translateY(-5px);
}

.hero-image {
    animation: fadeInRight 1s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

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

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--bg-card);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(10, 102, 194, 0.4);
}

.profile-ring {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary-color);
    border-right-color: var(--secondary-color);
    animation: rotate 4s linear infinite;
    z-index: 1;
}

.profile-ring-2 {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-bottom-color: var(--accent-color);
    border-left-color: var(--secondary-color);
    animation: rotate 6s linear infinite reverse;
    z-index: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.profile-badge {
    background: var(--bg-card);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: 2px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.profile-badge i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.profile-badge span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(0, 255, 136, 0.3);
    }
}

/* ==========================================
   Section Styling
   ========================================== */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

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

/* ==========================================
   About Section
   ========================================== */
.about {
    background: var(--bg-darker);
}

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

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

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

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

.education-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.education-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

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

.education-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.education-institution {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.education-date,
.education-gpa {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.education-project {
    color: var(--text-secondary);
    margin-top: 1rem;
    line-height: 1.6;
}

.grade {
    color: var(--accent-color);
    font-weight: 600;
}

.certifications {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.certifications h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.certifications ul {
    list-style: none;
}

.certifications li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.certifications li i {
    color: var(--accent-color);
}

/* ==========================================
   Open Source Section
   ========================================== */
.opensource {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.opensource::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.opensource-highlight {
    position: relative;
    z-index: 1;
}

.opensource-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.opensource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-1);
}

.opensource-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(10, 102, 194, 0.3);
}

.opensource-card.featured::after {
    content: 'MERGED';
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--accent-color);
    color: var(--bg-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.opensource-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.opensource-logo {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-primary);
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(10, 102, 194, 0.4);
}

.opensource-title-section {
    flex: 1;
}

.opensource-title-section h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.opensource-subtitle {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.contributor-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.contributor-badge i {
    font-size: 1rem;
}

.opensource-content {
    margin-bottom: 2rem;
}

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

.contribution-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.contribution-description code {
    background: var(--bg-darker);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: var(--secondary-color);
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.95em;
}

.contribution-details {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-darker);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.detail-item:hover {
    transform: translateX(5px);
    border-left-color: var(--accent-color);
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.detail-item strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
}

.detail-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

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

.opensource-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.5rem;
    background: var(--bg-darker);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    font-weight: 600;
}

.opensource-link:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(10, 102, 194, 0.3);
}

.opensource-link.primary {
    background: var(--gradient-1);
    border-color: transparent;
}

.opensource-link.primary:hover {
    box-shadow: 0 5px 25px rgba(10, 102, 194, 0.5);
}

.opensource-link i {
    font-size: 1.2rem;
}

/* ==========================================
   Experience Section
   ========================================== */
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-1);
}

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

.timeline-dot {
    position: absolute;
    left: -38px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-1);
    box-shadow: 0 0 0 4px var(--bg-dark);
}

.timeline-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

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

.timeline-content h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-date {
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.timeline-content li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: rgba(10, 102, 194, 0.2);
    color: var(--secondary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(10, 102, 194, 0.3);
}

/* ==========================================
   Projects Section
   ========================================== */
.projects {
    background: var(--bg-darker);
}

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

.project-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(10, 102, 194, 0.3);
}

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

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

.project-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    min-height: 80px;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(10, 102, 194, 0.2);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(10, 102, 194, 0.3);
    transition: var(--transition);
    font-size: 0.9rem;
}

.project-link:hover {
    background: var(--primary-color);
    border-color: transparent;
    transform: translateY(-2px);
}

/* ==========================================
   Skills Section
   ========================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.skill-category:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

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

.skill-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.skill-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.skill-name {
    color: var(--text-secondary);
    font-weight: 500;
}

.skill-bar {
    height: 8px;
    background: var(--bg-darker);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 10px;
    transition: width 1s ease;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.badge {
    background: rgba(10, 102, 194, 0.2);
    color: var(--secondary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(10, 102, 194, 0.3);
    transition: var(--transition);
}

.badge:hover {
    background: var(--primary-color);
    color: var(--text-primary);
    border-color: transparent;
    transform: translateY(-2px);
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    background: var(--bg-darker);
}

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

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

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

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

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

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

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

.contact-item p {
    color: var(--text-secondary);
}

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

.social-links-contact a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.social-links-contact a:hover {
    background: var(--gradient-1);
    border-color: transparent;
    transform: translateY(-5px);
}

.contact-form-container {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
}

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

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

.footer p {
    color: var(--text-muted);
    margin: 0.5rem 0;
}

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

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

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

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

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

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

    .hero-buttons {
        justify-content: center;
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }
    
    .profile-image-wrapper {
        width: 280px;
        height: 280px;
    }
    
    .profile-image {
        width: 250px;
        height: 250px;
    }
    
    .profile-ring {
        width: 270px;
        height: 270px;
    }
    
    .profile-ring-2 {
        width: 290px;
        height: 290px;
    }

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

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

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

    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .opensource-card {
        padding: 2rem;
    }
    
    .opensource-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .opensource-title-section h3 {
        font-size: 1.7rem;
    }
    
    .opensource-links {
        flex-direction: column;
    }
    
    .opensource-link {
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-darker);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hamburger {
        display: flex;
    }

    .timeline {
        padding-left: 30px;
    }

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

    .timeline-dot {
        left: -28px;
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

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

    .project-links {
        flex-direction: column;
    }
    
    .profile-image-wrapper {
        width: 220px;
        height: 220px;
    }
    
    .profile-image {
        width: 200px;
        height: 200px;
    }
    
    .profile-ring {
        width: 210px;
        height: 210px;
    }
    
    .profile-ring-2 {
        width: 230px;
        height: 230px;
    }
    
    .profile-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .about-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
    
    .opensource-card {
        padding: 1.5rem;
    }
    
    .opensource-card.featured::after {
        top: 1rem;
        right: 1rem;
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .opensource-logo {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .opensource-title-section h3 {
        font-size: 1.5rem;
    }
    
    .contribution-description {
        font-size: 1rem;
    }
    
    .detail-item {
        padding: 1rem;
    }
}

/* ==========================================
   Utility Classes
   ========================================== */
.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

