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

:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #141b2d;
    --purple: #8b5cf6;
    --pink: #ec4899;
    --cyan: #22d3ee;
    --text-white: #f1f5f9;
    --text-gray: #94a3b8;
    --border-color: rgba(139, 92, 246, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--bg-primary);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--purple), var(--cyan));
    border-radius: 10px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-link {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--pink));
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--purple);
    border-radius: 3px;
    transition: all 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    color: var(--cyan);
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.name-gradient {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-role-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    min-height: 50px;
}

.role-static {
    color: var(--text-white);
}

.role-dynamic {
    color: #ef4444;
    position: relative;
    display: inline-block;
    min-width: 280px;
    animation: slideUp 0.6s ease;
}

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

.role-dynamic::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ef4444;
    animation: blink 1s infinite;
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 500px;
}

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

.btn-primary {
    padding: 14px 32px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    padding: 14px 32px;
    background: transparent;
    border: 2px solid rgba(99, 102, 241, 0.5);
    color: var(--purple);
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--purple);
}

.hero-social {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.social-link:hover {
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.1);
    border-color: var(--cyan);
    transform: translateY(-2px);
}

/* Profile Image - Smart & Professional */
.profile-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 6px solid var(--bg-primary);
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
    transition: all 0.4s ease;
}

.profile-pic:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(139, 92, 246, 0.4);
}

.profile-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(168, 85, 247, 0.8),
        rgba(236, 72, 153, 0.8),
        rgba(34, 211, 238, 0.8)
    );
    z-index: 1;
    filter: blur(8px);
    opacity: 0.7;
}

.profile-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(
        45deg,
        #a855f7,
        #ec4899,
        #22d3ee,
        #a855f7
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderRotate 6s linear infinite;
}

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

/* Tech Badges - Minimal & Smart */
.tech-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1.5px solid;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    z-index: 3;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.badge-icon {
    font-size: 1.1rem;
}

.python-badge {
    top: 12%;
    right: -10%;
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.5);
}

.python-badge:hover {
    border-color: #4ade80;
    box-shadow: 0 8px 24px rgba(74, 222, 128, 0.3);
}

.django-badge {
    bottom: 18%;
    left: -8%;
    color: #f97316;
    border-color: rgba(249, 115, 22, 0.5);
}

.django-badge:hover {
    border-color: #f97316;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-gray);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ===== SECTION COMMON ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--cyan);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
}

.title-gradient {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 80px;
    align-items: start;
}

.profile-image-wrapper {
    position: relative;
    overflow: visible;
    border-radius: 24px;
}

.about-image {
    width: 100%;
    border-radius: 24px;
    border: 5px solid var(--bg-primary);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
    object-fit: cover;
    object-position: center top;
    aspect-ratio: 1/1;
    transition: all 0.4s ease;
    display: block;
    position: relative;
    z-index: 2;
}

.about-image:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 70px rgba(139, 92, 246, 0.5);
}

.profile-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        rgba(168, 85, 247, 0.6),
        rgba(236, 72, 153, 0.6),
        rgba(34, 211, 238, 0.6)
    );
    z-index: 1;
    filter: blur(12px);
    opacity: 0.8;
}

.profile-image-wrapper::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 24px;
    padding: 3px;
    background: linear-gradient(
        135deg,
        #a855f7,
        #ec4899,
        #22d3ee,
        #a855f7
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    animation: borderShift 8s ease-in-out infinite;
}

@keyframes borderShift {
    0%, 100% { 
        background-position: 0% 50%;
        opacity: 0.8;
    }
    50% { 
        background-position: 100% 50%;
        opacity: 1;
    }
}

.degree-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(99, 102, 241, 0.95));
    backdrop-filter: blur(15px);
    padding: 16px 24px;
    border-radius: 16px;
    border: 2px solid rgba(168, 85, 247, 0.5);
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.5);
    z-index: 10;
    transition: all 0.3s ease;
}

.degree-badge:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.6);
    border-color: rgba(168, 85, 247, 0.8);
}

.degree-badge span {
    font-size: 1.4rem;
    display: block;
    margin-top: 4px;
    background: linear-gradient(135deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.9;
}

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

.text-highlight {
    color: var(--cyan);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-primary);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--purple);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.feature-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--cyan);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

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

.skills-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.skill-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--purple);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.skill-card h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--cyan);
}

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

.skill-tag {
    background: rgba(139, 92, 246, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-gray);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.progress-section {
    max-width: 800px;
    margin: 0 auto;
}

.progress-item {
    margin-bottom: 30px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--text-white);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    border-radius: 10px;
    transition: width 1s ease;
}

/* ===== EXPERIENCE SECTION ===== */
.experience {
    background: var(--bg-secondary);
}

.experience-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.experience-card {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--purple), var(--pink), var(--cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.experience-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.2);
}

.experience-card:hover::before {
    opacity: 1;
}

.experience-card:hover::after {
    opacity: 1;
}

.experience-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.experience-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    flex-shrink: 0;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.experience-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.experience-card:hover .experience-icon-wrapper {
    transform: scale(1.05);
    border-color: var(--purple);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.experience-card:hover .experience-icon-wrapper::before {
    opacity: 0.15;
}

.experience-icon {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.experience-title-wrapper {
    flex: 1;
    position: relative;
    z-index: 1;
}

.experience-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s;
}

.experience-card:hover h3 {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.experience-period {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--cyan);
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(34, 211, 238, 0.1);
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(34, 211, 238, 0.3);
    transition: all 0.3s ease;
}

.experience-card:hover .experience-period {
    background: rgba(34, 211, 238, 0.15);
    border-color: var(--cyan);
}

.experience-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.98rem;
    position: relative;
    z-index: 1;
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.experience-tag {
    background: rgba(139, 92, 246, 0.1);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--purple);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
}

.experience-tag:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--purple);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(139, 92, 246, 0.2);
}

/* Showcase Links Styling */
.showcase-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.showcase-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(139, 92, 246, 0.08);
    border: 1.5px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
}

.showcase-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    transition: left 0.5s;
}

.showcase-link:hover::before {
    left: 100%;
}

.showcase-link:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--purple);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.25);
}

.showcase-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.showcase-name {
    flex: 1;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.showcase-arrow {
    font-size: 1.2rem;
    color: var(--cyan);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.showcase-link:hover .showcase-arrow {
    transform: translateX(3px);
    color: var(--purple);
}

/* ===== PROJECTS SECTION ===== */
.projects {
    background: var(--bg-secondary);
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.project-card {
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--purple);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.project-header {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.project-icon {
    font-size: 2.5rem;
}

.project-status {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-completed {
    background: rgba(34, 211, 238, 0.1);
    color: var(--cyan);
    border: 1px solid var(--cyan);
}

.status-progress {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid #fbbf24;
}

.project-body {
    padding: 0 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-body h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.project-body p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    background: rgba(139, 92, 246, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    color: var(--purple);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

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

.project-link {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.link-code {
    background: transparent;
    border: 1px solid var(--purple);
    color: var(--purple);
}

.link-code:hover {
    background: var(--purple);
    color: white;
}

.link-demo {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
}

.link-demo:hover {
    transform: scale(1.05);
}

/* ===== EDUCATION SECTION ===== */
.education {
    background: var(--bg-primary);
}

.education-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.education-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 60px;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--purple), var(--cyan));
    border-radius: 3px;
}

.education-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 20px;
    animation: fadeInLeft 0.6s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.education-item::before {
    content: '';
    position: absolute;
    left: -47px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--purple);
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.3);
    z-index: 2;
    transition: all 0.3s;
}

.education-item:hover::before {
    background: var(--cyan);
    box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.4);
    transform: scale(1.2);
}

.education-year {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(34, 211, 238, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.education-content {
    background: var(--bg-secondary);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.education-content::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 25px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid var(--bg-secondary);
    z-index: 1;
    transition: all 0.3s;
}

.education-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--purple), var(--cyan));
    opacity: 0;
    transition: opacity 0.3s;
}

.education-content:hover {
    transform: translateX(15px);
    border-color: var(--purple);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.25);
}

.education-content:hover::after {
    opacity: 1;
}

.education-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
    display: inline-block;
    filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.3));
}

.education-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.3;
}

.education-content h4 {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-bottom: 18px;
    font-weight: 500;
    line-height: 1.5;
}

.education-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 22px;
    font-size: 1rem;
}

.education-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.subject-tag {
    background: rgba(139, 92, 246, 0.1);
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--purple);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s;
    font-weight: 500;
}

.subject-tag:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--purple);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* ===== ACHIEVEMENTS SECTION ===== */
.achievements {
    background: var(--bg-secondary);
    overflow: hidden;
}

.achievements-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.achievements-gallery {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 20px 0 40px;
    margin: 0 -40px;
    padding-left: 40px;
    padding-right: 40px;
    -webkit-overflow-scrolling: touch;
}

.achievements-gallery::-webkit-scrollbar {
    height: 8px;
}

.achievements-gallery::-webkit-scrollbar-track {
    background: rgba(139, 92, 246, 0.1);
    border-radius: 10px;
}

.achievements-gallery::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--purple), var(--pink));
    border-radius: 10px;
}

.achievements-gallery::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, var(--pink), var(--cyan));
}

.achievement-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 0 0 350px;
    height: 450px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.achievement-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.achievement-card:hover {
    transform: translateY(-8px);
    border-color: var(--purple);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.achievement-card:hover::before {
    opacity: 1;
}

.achievement-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.achievement-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 14, 39, 0.95), transparent);
    padding: 25px 20px;
    transform: translateY(0);
    transition: all 0.3s ease;
    z-index: 2;
}

.achievement-card:hover .achievement-overlay {
    background: linear-gradient(to top, rgba(10, 14, 39, 0.98), rgba(10, 14, 39, 0.7));
}

.achievement-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
    line-height: 1.3;
}

.achievement-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.achievement-issuer {
    font-size: 0.85rem;
    color: var(--cyan);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.achievement-issuer::before {
    content: '🏆';
    font-size: 1rem;
}

.achievement-date {
    font-size: 0.8rem;
    color: var(--text-gray);
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.achievement-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    z-index: 3;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Scroll Indicator */
.scroll-indicator {
    text-align: center;
    margin-top: 20px;
    color: var(--text-gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.scroll-indicator::before,
.scroll-indicator::after {
    content: '→';
    font-size: 1.2rem;
    color: var(--cyan);
    animation: scrollArrow 1.5s infinite;
}

.scroll-indicator::before {
    animation-delay: 0s;
}

.scroll-indicator::after {
    animation-delay: 0.3s;
}

@keyframes scrollArrow {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
}

/* Modal for Full View */
.achievement-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.achievement-modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    max-width: 900px;
    max-height: 90vh;
    position: relative;
    animation: slideUp 0.3s ease;
}

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

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.5);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--purple);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--pink);
    transform: rotate(90deg);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--bg-secondary);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-intro strong {
    color: var(--text-white);
}

.contact-info {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    transition: all 0.3s;
}

.info-item:hover {
    border-color: var(--purple);
    transform: translateX(5px);
}

.info-icon {
    font-size: 2rem;
}

.info-details h4 {
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--cyan);
    margin-bottom: 5px;
}

.info-details p {
    color: var(--text-gray);
}

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

.social-btn {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--purple);
    border-radius: 8px;
    color: var(--purple);
    font-weight: 600;
    transition: all 0.3s;
}

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

.hire-card {
    background: var(--bg-primary);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--purple);
    position: relative;
    overflow: hidden;
}

.hire-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
    z-index: 0;
}

.hire-card > * {
    position: relative;
    z-index: 1;
}

.hire-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.4);
    animation: floatIcon 3s ease-in-out infinite;
}

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

.hire-badge {
    display: inline-block;
    background: rgba(34, 211, 238, 0.15);
    border: 1px solid var(--cyan);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: var(--cyan);
    font-weight: 600;
}

.hire-card h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-white);
    font-weight: 800;
}

.hire-card p {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.btn-email {
    display: inline-block;
    padding: 16px 45px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.btn-email:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ===== FLOATING CONTACT WIDGET ===== */
.floating-contact-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: floatPulse 3s infinite;
    position: relative;
}

.float-btn::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    animation: none;
}

.float-btn:hover::before {
    opacity: 1;
    animation: ripple 1.5s infinite;
}

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

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 currentColor;
        opacity: 0.6;
    }
    100% {
        box-shadow: 0 0 0 20px currentColor;
        opacity: 0;
    }
}

.call-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.call-btn::before {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.4), transparent);
}

.call-btn:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.whatsapp-btn::before {
    background: radial-gradient(circle, rgba(37, 211, 102, 0.4), transparent);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
}

.scroll-top-btn {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.scroll-top-btn::before {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent);
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, var(--pink), var(--cyan));
}

.float-btn svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container,
    .about-content,
    .contact-content {
        gap: 60px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .profile-wrapper {
        width: 350px;
        height: 350px;
    }
    
    .education-timeline {
        padding-left: 50px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Hero Section */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-role-wrapper {
        justify-content: center;
        font-size: 1.5rem;
    }
    
    .role-dynamic {
        min-width: 220px;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
    }
    
    .hero-buttons,
    .hero-social {
        justify-content: center;
    }
    
    .profile-wrapper {
        width: 300px;
        height: 300px;
    }
    
    .profile-border {
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
    }
    
    .tech-badge {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
    
    .badge-icon {
        font-size: 1rem;
    }
    
    .python-badge {
        right: -5%;
        top: 10%;
    }
    
    .django-badge {
        left: -5%;
        bottom: 15%;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .profile-image-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Skills Section */
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    /* Experience Section */
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .experience-card {
        padding: 30px;
    }
    
    .experience-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    /* Projects Section */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Education Section */
    .education-timeline {
        padding-left: 40px;
    }
    
    .education-timeline::before {
        left: 12px;
    }
    
    .education-item::before {
        left: -39px;
        width: 14px;
        height: 14px;
    }
    
    .education-content {
        padding: 25px;
    }
    
    .education-content:hover {
        transform: translateX(10px);
    }
    
    /* Achievements Section */
    .achievements-gallery {
        gap: 25px;
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .achievement-card {
        flex: 0 0 300px;
        height: 400px;
    }
    
    .achievement-overlay {
        padding: 20px 15px;
    }
    
    .achievement-title {
        font-size: 1rem;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hire-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .hire-card h3 {
        font-size: 1.8rem;
    }
    
    /* Section Spacing */
    section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    /* Container Padding */
    .nav-container,
    .hero-container,
    .about-container,
    .skills-container,
    .projects-container,
    .education-container,
    .contact-container {
        padding: 0 20px;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-role-wrapper {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }
    
    .role-static {
        font-size: 1.1rem;
    }
    
    .role-dynamic {
        min-width: 180px;
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .status-badge {
        font-size: 0.7rem;
        padding: 6px 16px;
    }
    
    .profile-wrapper {
        width: 260px;
        height: 260px;
    }
    
    .profile-border {
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
    }
    
    .tech-badge {
        font-size: 0.75rem;
        padding: 8px 12px;
        gap: 6px;
    }
    
    .badge-icon {
        font-size: 0.9rem;
    }
    
    .python-badge {
        right: -2%;
        top: 8%;
    }
    
    .django-badge {
        left: -2%;
        bottom: 12%;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .hero-social {
        flex-direction: column;
        width: 100%;
    }
    
    .social-link {
        width: 100%;
        justify-content: center;
    }
    
    /* Section Spacing */
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-label {
        font-size: 0.75rem;
    }
    
    /* About Section */
    .profile-image-wrapper {
        max-width: 260px;
    }
    
    .degree-badge {
        bottom: 16px;
        right: 16px;
        padding: 12px 18px;
        font-size: 0.9rem;
    }
    
    .degree-badge span {
        font-size: 1.2rem;
    }
    
    .about-text {
        font-size: 0.95rem;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-emoji {
        font-size: 1.8rem;
    }
    
    .feature-card h4 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    /* Skills Section */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skill-card {
        padding: 25px;
    }
    
    .skill-icon {
        font-size: 2.5rem;
    }
    
    .skill-card h4 {
        font-size: 1.2rem;
    }
    
    .skill-tag {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .progress-header {
        font-size: 0.9rem;
    }
    
    .progress-bar {
        height: 10px;
    }
    
    /* Experience Section */
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .experience-card {
        padding: 25px;
    }
    
    .experience-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }
    
    .experience-icon-wrapper {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
    
    .experience-card h3 {
        font-size: 1.15rem;
    }
    
    .experience-period {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
    
    .experience-card p {
        font-size: 0.9rem;
    }
    
    .experience-tag {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    /* Showcase Links */
    .showcase-link {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .showcase-icon {
        font-size: 1.2rem;
    }
    
    .showcase-arrow {
        font-size: 1.1rem;
    }
    
    .showcase-links {
        gap: 10px;
    }
    
    .showcase-name {
        font-size: 0.88rem;
    }
    
    /* Projects Section */
    .project-card {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .project-header {
        padding: 20px;
    }
    
    .project-icon {
        font-size: 2rem;
    }
    
    .project-status {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    
    .project-body {
        padding: 0 20px 20px;
    }
    
    .project-body h3 {
        font-size: 1.3rem;
    }
    
    .project-body p {
        font-size: 0.9rem;
    }
    
    .tech-tag {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .project-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .project-link {
        font-size: 0.85rem;
        padding: 10px;
    }
    
    /* Education Section */
    .education-timeline {
        padding-left: 30px;
    }
    
    .education-timeline::before {
        left: 8px;
        width: 2px;
    }
    
    .education-item {
        margin-bottom: 40px;
        padding-left: 15px;
    }
    
    .education-item::before {
        left: -33px;
        width: 12px;
        height: 12px;
        border: 3px solid var(--bg-primary);
    }
    
    .education-year {
        font-size: 0.8rem;
        padding: 3px 10px;
    }
    
    .education-content {
        padding: 20px;
    }
    
    .education-content::before {
        left: -10px;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 10px solid var(--bg-secondary);
    }
    
    .education-content:hover {
        transform: translateX(8px);
    }
    
    .education-icon {
        font-size: 2.2rem;
    }
    
    .education-content h3 {
        font-size: 1.3rem;
    }
    
    .education-content h4 {
        font-size: 0.95rem;
    }
    
    .education-content p {
        font-size: 0.9rem;
    }
    
    .subject-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    /* Achievements Section */
    .achievements-container {
        padding: 0 20px;
    }
    
    .achievements-gallery {
        gap: 15px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        scroll-padding: 20px;
    }
    
    .achievement-card {
        flex: 0 0 calc(100vw - 40px);
        min-width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        height: 480px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }
    
    .achievement-title {
        font-size: 1rem;
    }
    
    .achievement-overlay {
        padding: 20px 18px;
    }
    
    .achievement-badge {
        top: 15px;
        right: 15px;
        padding: 8px 14px;
        font-size: 0.75rem;
    }
    
    .achievement-meta {
        gap: 10px;
    }
    
    .achievement-issuer {
        font-size: 0.9rem;
    }
    
    .achievement-date {
        font-size: 0.85rem;
    }
    
    .scroll-indicator {
        font-size: 0.85rem;
        margin-top: 20px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        background: rgba(139, 92, 246, 0.9);
        backdrop-filter: blur(10px);
    }
    
    .modal-image {
        border-radius: 8px;
    }
}
    
    /* Contact Section */
    .contact-intro {
        font-size: 1rem;
    }
    
    .info-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .info-icon {
        font-size: 1.8rem;
    }
    
    .info-details h4 {
        font-size: 0.8rem;
    }
    
    .info-details p {
        font-size: 0.9rem;
    }
    
    .social-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .social-btn {
        width: 100%;
        padding: 12px 20px;
        text-align: center;
    }
    
    .hire-card {
        padding: 40px 25px;
    }
    
    .hire-icon {
        width: 90px;
        height: 90px;
        font-size: 2.5rem;
        margin-bottom: 25px;
    }
    
    .hire-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }
    
    .hire-card h3 {
        font-size: 1.6rem;
    }
    
    .hire-card p {
        font-size: 0.95rem;
    }
    
    .btn-email {
        padding: 14px 35px;
        font-size: 1rem;
        width: 100%;
    }
    
    /* Footer */
    .footer {
        padding: 30px 20px;
        font-size: 0.85rem;
    }
    
    /* Scroll Indicator */
    .scroll-indicator {
        font-size: 0.7rem;
        bottom: 20px;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .profile-wrapper {
        width: 220px;
        height: 220px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .tech-badge {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
    
    .python-badge {
        right: 0;
        top: 5%;
    }
    
    .django-badge {
        left: 0;
        bottom: 10%;
    }
    
    /* Showcase Links for Extra Small */
    .showcase-link {
        padding: 10px 14px;
        font-size: 0.82rem;
        gap: 10px;
    }
    
    .showcase-icon {
        font-size: 1.1rem;
    }
    
    .showcase-name {
        font-size: 0.82rem;
    }
    
    .showcase-arrow {
        font-size: 1rem;
    }
    
    /* Achievements for Extra Small */
    .achievements-gallery {
        gap: 12px;
        padding-left: 15px;
        padding-right: 15px;
        margin: 0 -15px;
    }
    
    .achievement-card {
        flex: 0 0 calc(100vw - 30px);
        min-width: calc(100vw - 30px);
        max-width: calc(100vw - 30px);
        height: 450px;
    }
    
    .achievement-title {
        font-size: 0.95rem;
    }
    
    .achievement-overlay {
        padding: 18px 15px;
    }
    
    .achievement-issuer {
        font-size: 0.85rem;
    }
    
    .achievement-date {
        font-size: 0.8rem;
    }
    
    /* Floating Contact Widget */
    .floating-contact-widget {
        bottom: 10px;
        right: 10px;
        gap: 6px;
    }
    
    .float-btn {
        width: 38px;
        height: 38px;
    }
    
    .float-btn svg {
        width: 15px;
        height: 15px;
    }
}
