/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --bg-deep: #060b18;
    --bg-mid: #0d1629;
    --bg-card: rgba(13, 22, 45, 0.8);
    --purple: #a78bfa;
    --purple-dark: #7c3aed;
    --pink: #f472b6;
    --orange: #fb923c;
    --border-subtle: rgba(167, 139, 250, 0.18);
    --border-active: rgba(167, 139, 250, 0.5);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --gradient: linear-gradient(135deg, #a78bfa 0%, #f472b6 50%, #fb923c 100%);
    --gradient-border: linear-gradient(135deg, #a78bfa, #f472b6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 20%, rgba(124, 58, 237, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(244, 114, 182, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(167, 139, 250, 0.4);
}

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

.btn-outline:hover {
    background: rgba(167, 139, 250, 0.1);
    transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0% { box-shadow: 0 0 20px rgba(167, 139, 250, 0.4); }
    100% { box-shadow: 0 0 50px rgba(167, 139, 250, 0.7), 0 0 80px rgba(244, 114, 182, 0.3); }
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.6); }
    50% { box-shadow: 0 0 35px rgba(168, 85, 247, 0.9); }
}

.animate-float { animation: float 3s ease-in-out infinite; }
.animate-glow { animation: glow 2s ease-in-out infinite alternate; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    background: rgba(6, 11, 24, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-brand {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    background: var(--gradient-border);
    -webkit-background-clip: text;
    -webkit-text-fill-color: white;
    background-clip: text;
    letter-spacing: -0.5px;
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 3px;
}

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

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.tech-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tech-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(167, 139, 250, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    color: var(--purple);
    transition: all 0.3s ease;
}

.tech-icon:hover {
    border-color: var(--purple);
    background: rgba(167, 139, 250, 0.25);
    transform: scale(1.1);
}

.hero h1 {
    font-family: 'Syne', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
    letter-spacing: -2px;
    line-height: 1;
}

.hero h2 {
    font-family: 'Syne', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 2rem;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h3 {
    color: var(--purple);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.about-content h2 {
    font-family: 'Syne', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

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

.about-content .description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.tech-pill {
    padding: 0.35rem 0.85rem;
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid var(--border-subtle);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #c4b5fd;
    transition: all 0.2s ease;
}

.tech-pill:hover {
    background: rgba(167, 139, 250, 0.2);
    border-color: var(--border-active);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(167, 139, 250, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    color: var(--purple);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(167, 139, 250, 0.2);
    border-color: var(--border-active);
    transform: scale(1.1);
}

.about-image {
    display: flex;
    justify-content: center;
}

.profile-img {
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    background: linear-gradient(var(--bg-mid), var(--bg-mid)) padding-box,
                var(--gradient-border) border-box;
}

/* About Extended */
.about-extended {
    background: rgba(13, 22, 45, 0.6);
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.about-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-box h2 {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.about-card {
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
}

.about-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: left;
}

.about-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-description {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.portfolio-section {
    margin-bottom: 4.5rem;
}

.portfolio-section-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
    display: block;
}

.portfolio-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
    margin: 0.5rem auto 2rem;
}

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

.project-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-card:hover {
    border-color: var(--border-active);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(167, 139, 250, 0.12);
}

.project-card-content {
    padding: 1.5rem;
}

.project-image {
    width: 100%;
    height: 11rem;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.25rem;
}

.project-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.6rem;
}

.project-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    gap: 0.75rem;
}

.project-link {
    color: var(--purple);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.project-link:hover {
    color: var(--pink);
}

/* Certificates Grid */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1rem;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.cert-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.06), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.cert-card:hover {
    border-color: var(--border-active);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(167, 139, 250, 0.12);
}

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

.cert-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
    position:relative;
    z-index: 1;
}

.cert-content {
    padding: 0.7rem 0.85rem 0.85rem;
    position: relative;
    z-index: 1;
}

.cert-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.cert-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.cert-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.85em;
    font-weight: 700;
    color: var(--purple);
    text-decoration: none;
    transition: color 0.2s ease;
    letter-spacing: 0.3px;
}

.cert-link:hover {
    color: var(--pink);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.4rem 0.75rem;
    background: rgba(13, 22, 45, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    cursor: default;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.08), rgba(244, 114, 182, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.skill-item:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: var(--border-active);
    box-shadow: 0 12px 30px rgba(167, 139, 250, 0.14);
}

.skill-item:hover::before {
    opacity: 1;
}

.skill-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.18), rgba(244, 114, 182, 0.12));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(167, 139, 250, 0.1);
    position: relative;
    z-index: 1;
}

.skill-item:hover .skill-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(167, 139, 250, 0.25);
}

.skill-name {
    font-size: 0.78rem;
    color: #c4b5fd;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

/* ============================================
   EXPERIENCE
   ============================================ */
.experience-container {
    background: linear-gradient(160deg, #0a1020 0%, #111827 100%);
    padding: 5rem 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.experience-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='m0 40l40-40h-40v40zm40 0v-40h-40l40 40z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 0;
}

.experience-container .section-header {
    position: relative;
    z-index: 2;
}

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

.timeline-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #a855f7 0%, #ec4899 60%, transparent 100%);
    border-radius: 1px;
}

.experience-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 72px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.experience-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.experience-item:nth-child(2) { transition-delay: 0.1s; }
.experience-item:nth-child(3) { transition-delay: 0.2s; }
.experience-item:nth-child(4) { transition-delay: 0.3s; }

.timeline-dot {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 16px;
    height: 16px;
    background: #a855f7;
    border-radius: 50%;
    border: 4px solid #111827;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
    z-index: 3;
    animation: dotPulse 2s ease-in-out infinite;
}

.experience-card {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    border-radius: 16px 16px 0 0;
}

.experience-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
    transition: left 0.6s ease;
}

.experience-card:hover {
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.15);
}

.experience-card:hover::after {
    left: 100%;
}

/* Experience Image Pair */
.experience-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.experience-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    transition: all 0.3s ease;
    display: block;
}

.experience-image1 {
    width: 200%;
    height: 200px;
    object-fit:cover;
    
    border-radius: 13px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    transition: all 0.4s ease;
    display:block;
}

.experience-image1:hover {
    border-color: rgba(168, 85, 247, 0.55);
    transform: scale(1.02);
}

.experience-image:hover {
    border-color: rgba(168, 85, 247, 0.55);
    transform: scale(1.02);
}

.experience-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .experience-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.job-info { flex: 1; }

.job-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
    line-height: 1.3;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.company-name {
    font-weight: 600;
    color: #c084fc;
    font-size: 0.95rem;
}

.separator { color: #475569; }

.location {
    color: #64748b;
    font-size: 0.88rem;
}

.period-badge {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    color: #c084fc;
    font-size: 0.85rem;
    white-space: nowrap;
}

.job-description {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.technologies-section,
.achievements-section {
    margin-bottom: 1.1rem;
}

.achievements-section { margin-bottom: 0; }

.section-label {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-tag {
    background: rgba(168, 85, 247, 0.1);
    color: #c084fc;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(168, 85, 247, 0.25);
    font-weight: 500;
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: #a855f7;
}

.achievements-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.achievements-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #cbd5e1;
    font-size: 0.88rem;
    line-height: 1.5;
}

.achievements-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #a855f7;
    border-radius: 50%;
    margin-top: 7px;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 5rem 0;
    background: rgba(13, 22, 45, 0.5);
    position: relative;
    z-index: 1;
}

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

.contact-form {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
}

.contact-form h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
    display: block;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.1);
}

.form-textarea {
    resize: none;
    height: 8rem;
}

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

.contact-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
}

.contact-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

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

.contact-icon {
    color: var(--purple);
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #030712;
    border-top: 1px solid var(--border-subtle);
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.footer-content {
    text-align: center;
}

.footer-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.skull-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.4));
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-tagline {
    color: var(--purple);
    font-size: 0.85rem;
    margin-top: 0.4rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(6, 11, 24, 0.98);
        padding: 1rem 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-menu.open {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: sticky;
    }

    .hero h1 { font-size: 2.8rem; }
    .hero h2 { font-size: 2.2rem; }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .about-content h2 { font-size: 2.2rem; }

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

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

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

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

    .experience-images {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .hero h2 { font-size: 1.8rem; }

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

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

    .experience-item {
        padding-left: 55px;
    }

    .timeline-line { left: 20px; }
    .timeline-dot { left: 12px; }
}
