/* ============================================
   ROOT VARIABLES & CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Primary Colors */
    --primary: #6C3CE1;
    --primary-dark: #5A2FC2;
    --primary-light: #8B5CF6;
    --secondary: #EC4899;
    
    /* Gradient Colors */
    --gradient-start: #6C3CE1;
    --gradient-mid: #8B5CF6;
    --gradient-end: #EC4899;
    
    /* Dark Theme Colors */
    --bg-primary: #0A0A0F;
    --bg-secondary: #111118;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-glass: rgba(255, 255, 255, 0.08);
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0B8;
    --text-muted: #6B6B85;
    
    /* Border & Shadow */
    --border-glass: rgba(255, 255, 255, 0.12);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 60px rgba(108, 60, 225, 0.15);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --section-padding: 80px 0;
    --card-padding: 24px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Z-Index Layers */
    --z-loader: 9999;
    --z-navbar: 1000;
    --z-backtop: 999;
    --z-modal: 1050;
    --z-dropdown: 1020;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   SCROLLBAR STYLES
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-start);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-mid);
}

/* ============================================
   SELECTION STYLES
   ============================================ */
::selection {
    background: var(--gradient-start);
    color: var(--text-primary);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    border: none;
    color: white;
}

.glass-card {
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow), var(--shadow-glass);
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-loader);
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.loader-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: loaderSpin 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loader-ring:nth-child(1) {
    border-top-color: var(--gradient-start);
    animation-delay: -0.3s;
}

.loader-ring:nth-child(2) {
    border-right-color: var(--gradient-mid);
    animation-delay: -0.6s;
}

.loader-ring:nth-child(3) {
    border-bottom-color: var(--gradient-end);
    animation-delay: -0.9s;
}

.loader-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 0.6;
}

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

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: var(--z-backtop);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(108, 60, 225, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(108, 60, 225, 0.6);
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    z-index: var(--z-navbar);
    transition: width 0.1s linear;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.glass-nav {
    background: rgba(10, 10, 15, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 12px 0;
    transition: var(--transition-smooth);
}

.glass-nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 24px;
    color: var(--text-primary) !important;
    position: relative;
}

.logo-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--gradient-end);
    border-radius: 50%;
    display: inline-block;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

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

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

.navbar-nav .nav-link.active {
    background: var(--bg-glass);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 80px;
    overflow: hidden;
}

/* Gradient Blur Backgrounds */
.gradient-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    pointer-events: none;
    animation: floatGradient 20s ease-in-out infinite;
}

.gradient-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-start);
    top: -10%;
    right: -10%;
}

.gradient-2 {
    width: 500px;
    height: 500px;
    background: var(--gradient-end);
    bottom: -10%;
    left: -10%;
    animation-delay: -7s;
}

.gradient-3 {
    width: 400px;
    height: 400px;
    background: var(--gradient-mid);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes floatGradient {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Particles Container */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    margin-bottom: 24px;
}

.hero-badge .badge {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-title .gradient-text {
    font-size: inherit;
}

.hero-typing-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.typing-prefix {
    color: var(--text-secondary);
}

.typing-text {
    min-width: 200px;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 32px;
    background: var(--gradient-start);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.btn-gradient-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(108, 60, 225, 0.3);
}

.btn-gradient-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 60, 225, 0.5);
    color: white;
}

.btn-outline-light {
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-smooth);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Social Links */
.hero-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 18px;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(108, 60, 225, 0.3);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    box-shadow: var(--shadow-glow);
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    box-shadow: var(--shadow-glass);
    animation: floatCard 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-card .card-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary);
}

.floating-card .card-content i {
    font-size: 20px;
}

.card-1 {
    top: 0;
    left: -30px;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: -40px;
    animation-delay: -2s;
}

.card-3 {
    bottom: 10%;
    left: -20px;
    animation-delay: -4s;
}

.card-4 {
    bottom: 30%;
    right: -30px;
    animation-delay: -1s;
}

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

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section-header {
    margin-bottom: 48px;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gradient-start);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    background: var(--bg-glass);
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid var(--border-glass);
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 4px;
    margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.about-content .about-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-content .about-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-content .about-subtitle {
    font-weight: 600;
    color: var(--text-primary);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
}

.info-item i {
    font-size: 24px;
    margin-top: 4px;
}

.info-item strong {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
}

.info-item p {
    color: var(--text-secondary);
    margin: 0;
}

.stat-card {
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
}

/* ============================================
   EDUCATION & EXPERIENCE TIMELINE
   ============================================ */
.education-section,
.experience-section {
    padding: var(--section-padding);
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gradient-start), var(--gradient-end));
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

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

.timeline-icon {
    position: absolute;
    left: -36px;
    top: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(108, 60, 225, 0.3);
    z-index: 2;
}

.timeline-content {
    padding: 24px;
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    transform: translateX(8px);
}

.timeline-date {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gradient-start);
    padding: 4px 12px;
    background: var(--bg-glass);
    border-radius: 50px;
    margin-bottom: 12px;
    border: 1px solid var(--border-glass);
}

.timeline-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-content .institution {
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.timeline-content .description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.skill-category {
    padding: 24px;
    transition: var(--transition-smooth);
    height: 100%;
}

.skill-category:hover {
    transform: translateY(-4px);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.skill-category-header i {
    font-size: 28px;
}

.skill-category-header h4 {
    font-weight: 700;
    margin: 0;
}

.skill-item {
    margin-bottom: 16px;
}

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

.skill-info {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 6px;
}

.skill-info span:first-child {
    color: var(--text-secondary);
}

.skill-info span:last-child {
    color: var(--text-primary);
}

.progress {
    height: 6px;
    background: var(--bg-glass);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-section {
    padding: var(--section-padding);
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--border-glass);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.filter-btn:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(108, 60, 225, 0.3);
}

.project-card {
    overflow: hidden;
    height: 100%;
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: var(--bg-secondary);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.8);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

.project-actions {
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.project-card:hover .project-actions {
    transform: translateY(0);
}

.project-body {
    padding: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.tag {
    padding: 4px 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.project-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-links {
    display: flex;
    gap: 8px;
}

/* ============================================
   CERTIFICATES SECTION
   ============================================ */
.certificates-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.certificate-card {
    padding: 24px;
    text-align: center;
    transition: var(--transition-smooth);
    height: 100%;
}

.certificate-card:hover {
    transform: translateY(-4px);
}

.certificate-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.certificate-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.certificate-issuer {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
}

.certificate-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
}

.certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

/* ============================================
   GITHUB SECTION
   ============================================ */
.github-section {
    padding: var(--section-padding);
}

.github-card {
    padding: 24px;
    height: 100%;
}

.github-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.github-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.github-stats .stat-item {
    text-align: center;
    padding: 16px;
    background: var(--bg-glass);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
}

.github-stats .stat-number {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.github-stats .stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.language-item {
    margin-bottom: 12px;
}

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

.language-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 4px;
}

.language-item .progress {
    height: 4px;
}

.progress-bar.python {
    background: #3776AB;
}

.progress-bar.javascript {
    background: #F7DF1E;
}

.progress-bar.html {
    background: #E34F26;
}

.contribution-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 3px;
}

.contrib-square {
    aspect-ratio: 1;
    border-radius: 2px;
    background: var(--bg-glass);
    transition: var(--transition-smooth);
}

.contrib-square[data-level="0"] {
    background: var(--bg-glass);
}

.contrib-square[data-level="1"] {
    background: rgba(108, 60, 225, 0.3);
}

.contrib-square[data-level="2"] {
    background: rgba(108, 60, 225, 0.5);
}

.contrib-square[data-level="3"] {
    background: rgba(108, 60, 225, 0.7);
}

.contrib-square[data-level="4"] {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

/* ============================================
   RESUME SECTION
   ============================================ */
.resume-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.resume-card {
    padding: 48px;
    text-align: center;
}

.resume-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.resume-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.resume-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.resume-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: var(--section-padding);
}

.contact-info {
    padding: 32px;
    height: 100%;
}

.contact-info-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-info-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.contact-item:hover {
    transform: translateX(4px);
    border-color: var(--gradient-start);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-item h6 {
    font-weight: 600;
    margin: 0;
    font-size: 14px;
}

.contact-item a,
.contact-item p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.contact-form {
    padding: 32px;
}

.contact-form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 14px;
}

.contact-form .form-control {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 12px 16px;
    transition: var(--transition-smooth);
}

.contact-form .form-control:focus {
    background: var(--bg-glass);
    border-color: var(--gradient-start);
    box-shadow: 0 0 0 3px rgba(108, 60, 225, 0.15);
    color: var(--text-primary);
}

.contact-form .form-control::placeholder {
    color: var(--text-muted);
}

/* ============================================
   FOOTER SECTION
   ============================================ */
.footer-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
    padding: 32px 0;
}

.footer-links li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.footer-links li a:hover {
    color: var(--text-primary);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    color: white;
    transform: translateY(-4px);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 14px;
}

/* ============================================
   RESPONSIVE BREAKPOINTS (Mobile First)
   ============================================ */
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 44px;
    }
    
    .hero-typing-wrapper {
        font-size: 24px;
    }
    
    .hero-image {
        width: 300px;
        height: 300px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .hero-typing-wrapper {
        font-size: 20px;
        flex-wrap: wrap;
    }
    
    .hero-image {
        width: 280px;
        height: 280px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .floating-card {
        display: none;
    }
    
    .timeline {
        padding-left: 32px;
    }
    
    .timeline-icon {
        left: -28px;
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Small devices (phones, less than 768px) */
@media (max-width: 767.98px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-typing-wrapper {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-image {
        width: 220px;
        height: 220px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-content {
        padding: 20px !important;
    }
    
    .stat-card {
        padding: 16px !important;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .github-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .contribution-grid {
        grid-template-columns: repeat(8, 1fr);
    }
    
    .resume-card {
        padding: 24px;
    }
    
    .contact-info,
    .contact-form {
        padding: 20px !important;
    }
    
    .contact-item {
        padding: 10px 12px;
    }
    
    .footer-section .row {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-links {
        justify-content: center !important;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-typing-wrapper {
        font-size: 16px;
    }
    
    .hero-image {
        width: 180px;
        height: 180px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .timeline {
        padding-left: 24px;
    }
    
    .timeline-icon {
        left: -20px;
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .timeline-content {
        padding: 16px;
    }
    
    .timeline-content h4 {
        font-size: 18px;
    }
    
    .project-filters {
        gap: 4px;
    }
    
    .filter-btn {
        padding: 6px 14px;
        font-size: 12px;
    }
    
    .github-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .contribution-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .resume-actions {
        flex-direction: column;
    }
    
    .resume-actions .btn {
        width: 100%;
        justify-content: center;
    }
}