:root {
    --primary: #00ff88;
    --accent: #ff00ff;
    --bg: #0a0a0a;
    --bg-alt: #1a1a1a;
    --text: #fff;
    --glow: 0 0 20px rgba(0, 255, 136, .5);
    --shadow: 0 10px 30px rgba(0, 0, 0, .5)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden
}

.accent {
    color: var(--accent)
}

.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-alt);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all .3s ease;
    box-shadow: var(--shadow)
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all .3s ease
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: .3s ease
}

.nav-link:hover::after {
    width: 100%
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: .3s
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    gap: 5rem
}

.hero-text {
    flex: 1
}

.hero-text h1 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    line-height: 1.2
}

.hero-description {
    font-size: 1.1rem;
    opacity: .8;
    margin: 2rem 0
}

.social-links {
    display: flex;
    gap: 1rem;
    margin: 2rem 0
}

.social-link {
    font-size: 1.5rem;
    color: var(--primary);
    transition: all .3s ease
}

.social-link:hover {
    transform: scale(1.2);
    filter: drop-shadow(var(--glow))
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0
}

.hero-buttons button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
    position: relative;
    overflow: hidden
}

.hero-buttons button:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow)
}

.hero-buttons button i {
    margin-left: 0.5rem
}

.resume-download {
    margin: 2rem 0
}

.cyber-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all .3s ease
}

.cyber-btn:hover {
    background: var(--primary);
    color: #000;
    box-shadow: var(--glow)
}

.hero-img {
    flex: 1;
    display: flex;
    justify-content: center
}

.hero-img img {
    max-width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite
}

.section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto
}

.title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    position: relative
}

.title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--primary);
    margin: 1rem auto
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem
}

.skill-category {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 255, 136, .2);
    transition: all .3s ease
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 136, .3)
}

.category-title {
    font-family: 'Orbitron', monospace;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.3rem
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem
}

.skill-item p {
    font-weight: 500
}

.progress-bar {
    width: 100px;
    height: 8px;
    background: var(--bg-alt);
    border-radius: 4px;
    overflow: hidden;
    position: relative
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    transition: width 2s ease;
    position: relative
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: glowPulse 2s infinite
}

.progress-text {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600
}

.exp-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-alt);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 255, 136, .2);
    transition: all .3s ease;
    cursor: pointer
}

.exp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow)
}

.exp-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary)
}

.exp-card h3 {
    font-family: 'Orbitron', monospace;
    margin-bottom: 0.5rem
}

.exp-location {
    opacity: .7;
    font-size: 0.9rem
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem
}

.project-card {
    background: var(--bg-alt);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 255, 136, .2)
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 136, .4)
}

.project-image {
    position: relative;
    overflow: hidden
}

.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all .3s ease
}

.project-image:hover img {
    transform: scale(1.1)
}

.project-image .social-link {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, .7);
    padding: 0.5rem;
    border-radius: 50%;
    transition: all .3s ease
}

.project-image .social-link:hover {
    background: var(--primary);
    color: #000
}

.project-content {
    padding: 2rem
}

.project-content h3 {
    font-family: 'Orbitron', monospace;
    margin-bottom: 1rem;
    color: var(--accent)
}

.project-content p {
    line-height: 1.6;
    opacity: .9
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem
}

.cert-card {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all .3s ease;
    border: 1px solid rgba(0, 255, 136, .2)
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow)
}

.cert-card h3 {
    font-family: 'Orbitron', monospace;
    margin-bottom: 0.5rem
}

.credential-btn {
    margin-top: 1rem
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem
}

@media (max-width:768px) {
    .contact-grid {
        grid-template-columns: 1fr
    }
}

.cyber-form {
    display: grid;
    gap: 1.5rem
}

.form-group {
    position: relative
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    background: var(--bg-alt);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: all .3s ease
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: rgba(255, 255, 255, .5);
    pointer-events: none;
    transition: all .3s ease;
    font-size: 0.9rem
}

.form-group:focus-within label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.75rem;
    color: var(--primary);
    background: var(--bg);
    padding: 0 0.5rem
}

.contact-left .contact-card {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 255, 136, .2)
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary)
}

.map-card iframe {
    border-radius: 20px;
    box-shadow: var(--shadow)
}

.footer {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-alt);
    border-top: 1px solid rgba(0, 255, 136, .2)
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .9);
    animation: fadeIn .3s
}

.modal-content {
    max-width: 800px;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    position: relative;
    background: var(--bg-alt);
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 255, 136, .5)
}

.modal-img {
    width: 100%;
    height: 300px;
    object-fit: cover
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text);
    z-index: 10
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 2rem;
    flex-wrap: wrap
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-20px)
    }
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 5px var(--accent)
    }

    50% {
        box-shadow: 0 0 20px var(--accent)
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@media (max-width:768px) {
    .hamburger {
        display: flex
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg);
        flex-direction: column;
        padding: 2rem 0;
        text-align: center;
        transition: .3s
    }

    .nav-menu.active {
        left: 0
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 1rem
    }

    .hero-buttons {
        justify-content: center
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .skills-grid,
    .projects-grid,
    .cert-grid {
        grid-template-columns: 1fr
    }
}