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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #16213e 50%, #0f3460 100%);
    background-attachment: fixed;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* ========================================
   ANIMATED BACKGROUND STARS
   ======================================== */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.stars::before,
.stars::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    box-shadow: 
        100px 100px 0 white,
        200px 150px 0 white,
        300px 200px 0 white,
        150px 250px 0 white,
        250px 300px 0 white,
        400px 100px 0 white,
        350px 350px 0 white,
        500px 200px 0 white,
        450px 400px 0 white,
        600px 150px 0 white,
        550px 300px 0 white,
        700px 400px 0 white,
        800px 100px 0 white,
        750px 250px 0 white,
        900px 350px 0 white,
        100px 500px 0 white,
        300px 550px 0 white,
        500px 500px 0 white,
        700px 600px 0 white,
        900px 700px 0 white;
    animation: twinkle 3s infinite;
}

.stars::after {
    width: 1px;
    height: 1px;
    box-shadow: 
        50px 50px 0 rgba(255,255,255,0.8),
        120px 80px 0 rgba(255,255,255,0.7),
        180px 120px 0 rgba(255,255,255,0.9),
        220px 200px 0 rgba(255,255,255,0.6),
        350px 150px 0 rgba(255,255,255,0.8),
        420px 280px 0 rgba(255,255,255,0.7),
        600px 100px 0 rgba(255,255,255,0.9),
        680px 300px 0 rgba(255,255,255,0.6),
        800px 200px 0 rgba(255,255,255,0.8),
        950px 400px 0 rgba(255,255,255,0.7);
    animation: twinkle 4s infinite reverse;
}

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

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo h1 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    transition: transform 0.3s ease;
}

.logo h1:hover {
    transform: scale(1.05);
}

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

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #00d4ff 0%, #7b2ff7 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #00d4ff;
}

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

.social-icons-header {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: #e0e0e0;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #00d4ff;
    transform: translateY(-3px) rotate(10deg);
}

/* Header - OLD STYLES (deprecated) */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

header h1 {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ccc;
}

.social-icons a {
    color: #fff;
    margin-left: 20px;
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: #007bff;
    transform: scale(1.1);
}

.social-icons .static:hover {
    transform: none;
}

.bluesky-icon {
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: middle;
    transition: transform 0.3s;
}

/* Sections */
section {
    padding: 80px 0;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 212, 255, 0.5) 50%, transparent 100%);
}

#hero {
    margin-top: 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background: linear-gradient(135deg, transparent 0%, rgba(123, 47, 247, 0.1) 100%);
}

#hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: slideInLeft 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}

.gradient-text {
    background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #7b2ff7;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(123, 47, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(123, 47, 247, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
}

.btn-secondary:hover {
    background: #00d4ff;
    color: #0a0e27;
    transform: translateY(-3px);
}

/* Code Window Animation */
.hero-animation {
    animation: slideInRight 0.8s ease-out;
}

.code-window {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.code-header {
    background: linear-gradient(90deg, #00d4ff 0%, #7b2ff7 100%);
    padding: 10px 15px;
    display: flex;
    gap: 8px;
}

.code-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.code-window pre {
    padding: 20px;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-window code {
    color: #00d4ff;
    font-family: 'Courier New', monospace;
}

.code-window .keyword {
    color: #7b2ff7;
}

.code-window .string {
    color: #00ff88;
}

.code-window .comment {
    color: #888;
    display: block;
}

.code-window .prompt {
    color: #00d4ff;
    font-weight: 600;
}

.code-window .output {
    color: #00ff88;
    display: block;
}

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

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

/* ========================================
   SECTIONS COMMON STYLES
   ======================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff 0%, #7b2ff7 100%);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Skills */
.skills {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, rgba(123, 47, 247, 0.02) 100%);
    padding-bottom: 10px;
}

.skills-wrap {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2.5rem;
    align-items: start;
}

.skills-left .skills-intro {
    color: #bfc9d9;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.skills-icons { display:flex; gap:12px; margin-top:8px; }
.icon-box { width:48px; height:48px; display:grid; place-items:center; border-radius:10px; background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.03); color:#00d4ff; }

.skills-right { background: transparent; }
.skill-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:12px; }

.skill-item { display:grid; grid-template-columns: 1fr 220px; gap:12px; align-items:center; padding:12px; border-radius:10px; background: rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.02); }
.skill-meta { display:flex; gap:12px; align-items:center; }
.skill-icon-box { width:44px; height:44px; display:grid; place-items:center; border-radius:8px; background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.03); color:#00d4ff; }
.skill-info strong { display:block; color:#fff; font-size:1rem; }
.skill-desc { display:block; color:#9fb0c7; font-size:0.9rem; margin-top:4px; }

.skill-meter { display:flex; flex-direction:column; gap:6px; align-items:flex-end; }
.skill-percent { color:#bfc9d9; font-weight:700; }
.meter { width:100%; background: rgba(255,255,255,0.03); height:12px; border-radius:999px; overflow:hidden; }
.meter-fill { height:100%; background: linear-gradient(90deg, #00d4ff 0%, #7b2ff7 100%); transition: width 1s ease; }

@media (max-width: 900px) {
    .skills-wrap { grid-template-columns: 1fr; }
    .skill-item { grid-template-columns: 1fr; }
    .skill-meter { align-items:flex-start; }
}

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

.project-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(123, 47, 247, 0.08) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(123, 47, 247, 0.3);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(123, 47, 247, 0.15) 100%);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.project-icon {
    font-size: 2.5rem;
    color: #00d4ff;
}

.project-badge {
    background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.project-card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1rem;
}

.project-card p {
    color: #b0b0b0;
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-tag {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    width: fit-content;
}

.project-link:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(123, 47, 247, 0.4);
}

/* About Section */
.about {
    background: linear-gradient(135deg, rgba(123, 47, 247, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
}

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

.about-text p {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-5px);
}

.stat h3 {
    font-size: 2.5rem;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #888;
    font-size: 0.95rem;
    margin: 0;
}

.profile-card {
    background: linear-gradient(135deg, rgba(123, 47, 247, 0.2) 0%, rgba(0, 212, 255, 0.2) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.profile-card:hover {
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.card-icon {
    font-size: 4rem;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.profile-title {
    font-size: 1.3rem;
    color: #fff;
}

/* Hobbies */
.hobbies {
    background: linear-gradient(135deg, rgba(123, 47, 247, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
}

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

.hobby-card {
    background: linear-gradient(135deg, rgba(123, 47, 247, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.hobby-card:hover {
    background: linear-gradient(135deg, rgba(123, 47, 247, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.hobby-icon {
    font-size: 2.5rem;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.hobby-card h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.8rem;
}

.hobby-card p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Testimonials */
.testimonial-carousel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.testimonial-item p:nth-child(1) {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-item p:nth-child(2) {
    opacity: 0.7;
    font-weight: bold;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(123, 47, 247, 0.05) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.contact-text p {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: linear-gradient(135deg, rgba(123, 47, 247, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 2.5rem;
    border-radius: 15px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: linear-gradient(135deg, rgba(123, 47, 247, 0.2) 0%, rgba(0, 212, 255, 0.15) 100%);
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(123, 47, 247, 0.3);
}

.contact-icon {
    font-size: 3rem;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #888;
    margin: 0;
}

/* Footer */
.footer {
    background: rgba(10, 14, 39, 0.95);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding: 2rem;
    text-align: center;
    color: #888;
}

.footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.heart {
    animation: heartbeat 0.6s infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

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

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

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

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

    .skills-grid,
    .projects-grid,
    .hobbies-grid,
    .contact-links {
        grid-template-columns: 1fr;
    }

    .project-card {
        padding: 1.5rem;
    }

    .social-icons-header {
        gap: 1rem;
    }

    .social-link {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .nav-menu ul {
        gap: 0.8rem;
        font-size: 0.85rem;
    }

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

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

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .code-window {
        display: none;
    }

    .skill-card,
    .project-card,
    .hobby-card,
    .contact-card {
        padding: 1.5rem;
    }

    .skill-icon,
    .project-icon,
    .hobby-icon,
    .contact-icon {
        font-size: 2rem;
    }

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

/* Animations & Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(123, 47, 247, 0.6);
    }
}

/* Smooth scroll padding for fixed header */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7b2ff7 0%, #00d4ff 100%);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(123,47,247,0.12));
    border: 1px solid rgba(255,255,255,0.06);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    cursor: pointer;
    z-index: 1200;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.back-to-top i { font-size: 1.05rem; }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,0.45); }

@media (max-width: 480px) {
    .back-to-top { right: 12px; bottom: 16px; width: 44px; height:44px; }
}

/* ========================================
   SKILL PROFICIENCY TABLE
   ======================================== */
.skill-table {
    margin-top: 2rem;
    background: rgba(255,255,255,0.03);
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(0,212,255,0.06);
}
.skill-row {
    display: grid;
    grid-template-columns: 200px 70px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 6px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.skill-row:last-child { border-bottom: 0; }
.skill-meta { display:flex; gap:12px; align-items:center; font-weight:600; color:#fff; }
.skill-meta i { font-size:1.4rem; color:#00d4ff; }
.skill-emoji { font-size:1.4rem; display:inline-block; line-height:1; }

/* Make social icons and skill icons appear inside square boxes */
.social-link {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.04);
    color: #e0e0e0;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.social-link i { font-size: 1.15rem; }
.social-link:hover {
    transform: translateY(-4px);
    background: linear-gradient(90deg, rgba(0,212,255,0.12), rgba(123,47,247,0.12));
    border-color: rgba(0,212,255,0.35);
    color: #fff;
}

.skill-meta i,
.skill-emoji,
.skill-svg {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.03);
    color: #00d4ff;
    font-size: 1.1rem;
}
.skill-meta span { margin-left: 8px; }

.skill-svg { width:36px; height:36px; }
.skill-percent { color:#b0b0b0; font-weight:700; }
.progress-bar { background: rgba(255,255,255,0.04); border-radius: 999px; height: 12px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #00d4ff 0%, #7b2ff7 100%); border-radius: 999px; transition: width 1s ease; }

@media (max-width: 768px) {
    .skill-row { grid-template-columns: 1fr 60px 1fr; }
    .skill-meta span { font-size: 0.95rem; }
}

/* ========================================
   CONTACT FORM STYLES
   ======================================== */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(123, 47, 247, 0.05) 100%);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.form-group {
    margin-bottom: 1.8rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: #00d4ff;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.form-group label i {
    margin-right: 0.5rem;
    color: #7b2ff7;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7b2ff7;
    box-shadow: 0 0 15px rgba(123, 47, 247, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.submit-btn {
    background: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(123, 47, 247, 0.3);
    width: 100%;
}

.submit-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(123, 47, 247, 0.5);
}

.submit-btn:hover:not(:disabled) i {
    transform: translateX(5px);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: linear-gradient(135deg, #4a4a4a 0%, #2a2a2a 100%);
}

/* Form message styles */
.form-message {
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease;
    border-left: 4px solid;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.1);
    border-left-color: #4caf50;
    color: #4caf50;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.1);
    border-left-color: #f44336;
    color: #f44336;
}

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

/* Mobile responsiveness for contact form */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
    }
    
    .submit-btn {
        padding: 0.8rem 2rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 1.2rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
}