* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0f0f0f;
    color: #e0e0e0;
    overflow-x: hidden;
}

/* Navbar - Same as previous pages */
nav {
    background: rgba(20, 20, 20, 0.98);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(100, 100, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.nav-links {
    display: flex;
    gap: 0;
    list-style: none;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #b0b0b0;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    display: block;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.nav-links a:hover::before {
    width: 80%;
}

.nav-links a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.nav-links a:hover::after {
    width: 200px;
    height: 200px;
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 0;
    mix-blend-mode: screen;
}

/* Skills Section */
.skills-section {
    padding: 120px 20px 80px;
    min-height: 100vh;
}

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

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 1s ease;
}

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

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #808080;
}

/* 3 Main Skill Cards */
.main-skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.skill-card {
    background: rgba(30, 30, 30, 0.6);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.skill-card:hover .card-icon {
    transform: scale(1.2) rotate(5deg);
}

.skill-card h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.skill-card p {
    color: #a0a0a0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.skill-level {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.level-bar {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    border-radius: 10px;
    transition: width 1.5s ease;
}

.level-text {
    font-size: 0.9rem;
    color: #6366f1;
    font-weight: 600;
}

/* Tech Section */
.tech-section {
    margin-bottom: 5rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: #808080;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.tech-card {
    background: rgba(30, 30, 30, 0.6);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.tech-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.tech-card:hover .tech-logo {
    transform: scale(1.1) rotate(5deg);
}

.tech-logo svg {
    width: 100%;
    height: 100%;
}

.tech-card h4 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.tech-card p {
    color: #6366f1;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Certificates Section */
.certificates-section {
    margin-bottom: 3rem;
}

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

.certificate-card {
    background: rgba(30, 30, 30, 0.6);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

.certificate-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
}

.certificate-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(99, 102, 241, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.view-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.certificate-info {
    padding: 1.5rem;
}

.certificate-info h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.certificate-issuer {
    color: #6366f1;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.certificate-date {
    color: #808080;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-links a {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .skills-section {
        padding: 100px 20px 60px;
    }

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

    .main-skills {
        grid-template-columns: 1fr;
    }

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

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .certificate-image {
        height: 200px;
    }
}