:root {
    --accent: #4A6FA5;
    --accent-dark: #2D4A7C;
    --accent-glow: rgba(74, 111, 165, 0.3);
    --accent-fade: rgba(74, 111, 165, 0.15);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0A0F1A;
    font-family: 'Inter', sans-serif;
    color: #C9D1D9;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1F2937;
}
::-webkit-scrollbar-thumb {
    background: #06B6D4;
    border-radius: 6px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    z-index: 1000;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #06B6D4, #3B82F6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #B4BCC4;
    transition: 0.2s ease;
}
.nav-links a:hover {
    color: #06B6D4;
    border-bottom: 2px solid #06B6D4;
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #E5E7EB;
}

/* Hero */
.hero {
    padding: 4rem 0 5rem;
}
.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.hero-content {
    flex: 1;
}
.hero-badge {
    background: rgba(6, 182, 212, 0.15);
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #06B6D4;
    margin-bottom: 1rem;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.gradient-text {
    background: linear-gradient(125deg, #4A6FA5, #2C3E8F);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p {
    font-size: 1.2rem;
    color: #8B95A1;
    max-width: 550px;
    margin-bottom: 2rem;
    line-height: 1.5;
}
.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-primary, .btn-outline {
    padding: 0.8rem 1.6rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: #06B6D4;
    color: #0A0F1A;
    box-shadow: 0 6px 14px rgba(6, 182, 212, 0.3);
}
.btn-primary:hover {
    background: #0891B2;
    transform: translateY(-2px);
}
.btn-outline {
    border: 2px solid #06B6D4;
    color: #06B6D4;
    background: transparent;
}
.btn-outline:hover {
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-2px);
}
.hero-avatar {
    flex: 0.5;
    text-align: center;
}
.avatar-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #06B6D4;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.avatar-caption {
    margin-top: 0.8rem;
    font-weight: 500;
    color: #E5E7EB;
}

/* Sections */
section {
    padding: 5rem 0;
    border-bottom: 1px solid rgba(6, 182, 212, 0.15);
}
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    color: #F3F4F6;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #06B6D4, #3B82F6);
    border-radius: 4px;
    background: linear-gradient(90deg, #4A6FA5, #2C3E8F);
}

/* About */
.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: start;
}
.about-text {
    flex: 2;
}
.about-text p {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #B4BCC4;
}
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}
.tech-stack span {
    background: rgba(6, 182, 212, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #06B6D4;
}
.about-card {
    flex: 1;
    background: #111827;
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 32px;
    padding: 1.5rem;
    color: #E5E7EB;
}
.about-card i {
    font-size: 2rem;
    color: #06B6D4;
    margin-bottom: 0.5rem;
}

/* Cards (skills, projects, experience, certificates) */
.skills-grid, .projects-grid, .experience-grid, .certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-top: 1rem;
}
.skill-card, .project-card, .exp-card, .cert-card {
    background: #111827;
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 28px;
    padding: 1.5rem;
    transition: all 0.25s;
    color: #C9D1D9;
}
.skill-card:hover, .project-card:hover, .exp-card:hover, .cert-card:hover {
    transform: translateY(-5px);
    border-color: #06B6D4;
    box-shadow: 0 24px 36px -12px rgba(6, 182, 212, 0.3);
}
.skill-name {
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}
.progress-bar {
    background: #1F2937;
    border-radius: 40px;
    height: 8px;
    overflow: hidden;
}
.progress-fill {
    background: #06B6D4;
    width: 0%;
    height: 100%;
    border-radius: 40px;
}
.project-icon, .cert-icon {
    font-size: 2rem;
    color: #06B6D4;
    margin-bottom: 1rem;
}
.project-title, .exp-title, .cert-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}
.tech-tag {
    background: rgba(6, 182, 212, 0.15);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #06B6D4;
}
.project-link {
    margin-top: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #06B6D4;
    text-decoration: none;
}
.more-projects {
    margin-top: 2rem;
    text-align: center;
    color: #9CA3AF;
}

/* Resume card */
.resume-card {
    background: linear-gradient(135deg, #111827, #0A0F1A);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 40px;
    padding: 2rem;
    text-align: center;
}
.resume-content i {
    font-size: 3rem;
    color: #06B6D4;
}
.resume-content h2 {
    margin: 1rem 0 0.5rem;
    color: #F3F4F6;
}
.resume-content p {
    color: #9CA3AF;
}

/* Contact */
.contact-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}
.contact-info {
    flex: 1;
}
.contact-info p {
    margin-bottom: 1rem;
    color: #B4BCC4;
}
.contact-info i {
    width: 32px;
    color: #06B6D4;
}
.contact-info a {
    color: #06B6D4;
    text-decoration: none;
}
.contact-form {
    flex: 2;
    background: #111827;
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 2rem;
    border-radius: 32px;
}
.form-group {
    margin-bottom: 1.2rem;
}
input, textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid #1F2937;
    background: #1A202C;
    font-family: inherit;
    color: #E5E7EB;
}
input:focus, textarea:focus {
    outline: none;
    border-color: #06B6D4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}
.form-feedback {
    margin-top: 1rem;
    font-size: 0.85rem;
}
.footer {
    text-align: center;
    padding: 2rem 0;
    color: #5F6A7A;
    border-top: 1px solid rgba(6, 182, 212, 0.15);
    margin-top: 2rem;
}

/* Mobile */
@media (max-width: 800px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #0A0F1A;
        border: 1px solid rgba(6, 182, 212, 0.3);
        padding: 1rem;
        border-radius: 28px;
    }
    .nav-links.show {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .container {
        padding: 0 1.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .avatar-img {
        width: 130px;
        height: 130px;
    }
}

.skill-card:hover, .project-card:hover {
    color: #E2E8F0;   /* brightens slightly on hover */
    transition: 0.2s;
}