/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00ff88;
    text-shadow: 0 0 5px #00ff88;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e0e0e0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1516321165247-4aa89a48d5df') no-repeat center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88;
    animation: glitch 1.5s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
}

.tagline {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin: 1rem 0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #00ff88;
    color: #0a0a0a;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.5);
}

.download-button {
    margin-top: 1rem;
    display: inline-block;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    color: #00ff88;
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Sections */
.section {
    padding: 5rem 2rem;
    text-align: center;
}

h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: #00ff88;
    margin-bottom: 2rem;
    text-shadow: 0 0 5px #00ff88;
}

/* About */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.highlight {
    color: #00ff88;
    font-weight: 600;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #00ff88;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    color: #00ff88;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1rem;
    color: #b0b0b0;
}

/* Projects */
.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #00ff88;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 255, 136, 0.2);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 255, 136, 0.4);
}

.project-card h3 {
    font-size: 1.6rem;
    color: #00ff88;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-card p {
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.5;
}

.project-link {
    color: #00ff88;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.project-link:hover {
    color: #e0e0e0;
    text-shadow: 0 0 5px #00ff88;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-card {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #00ff88;
    text-align: center;
}

.skill-card h3 {
    font-size: 1.3rem;
    color: #00ff88;
    margin-bottom: 1rem;
}

.skill-bar {
    width: 100%;
    height: 20px;
    background: #0a0a0a;
    border: 2px solid #00ff88;
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: #00ff88;
    transition: width 1s ease;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #00ff88;
    text-align: center;
}

.testimonial-card p {
    font-size: 1.1rem;
    color: #b0b0b0;
    font-style: italic;
}

/* Process */
.process-steps {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: left;
    padding: 1rem;
    position: relative;
}

.step-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: #00ff88;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.step p {
    color: #b0b0b0;
}

/* Contact */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input, .contact-form textarea {
    padding: 0.8rem;
    background: #1a1a1a;
    border: 1px solid #00ff88;
    border-radius: 5px;
    color: #e0e0e0;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

.contact-info {
    margin: 2rem 0;
    font-size: 1.1rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    color: #00ff88;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #e0e0e0;
    text-shadow: 0 0 5px #00ff88;
}

/* Footer */
footer {
    background: #1a1a1a;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #b0b0b0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: slideIn 0.3s ease-out;
    border: 2px solid #00ff88;
}

.modal-image {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 5px;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #e0e0e0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #00ff88;
}

.modal h3 {
    font-size: 1.8rem;
    color: #00ff88;
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal p {
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #1a1a1a;
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .glitch {
        font-size: 2.5rem;
    }

    .services-grid, .projects-gallery, .skills-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
    }

    .modal-content {
        width: 95%;
    }

    .contact-form {
        width: 100%;
    }
}