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

body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style-type: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007BFF;
}

/* Hamburger Button Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    max-width: 550px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content h1 span {
    color: #007BFF;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

/* Hero Image */
.hero-image img {
    width: 400px;
    max-width: 100%;
    height: auto;
}

/* General Section Styles */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #007BFF;
}

/* Features (Used for Projects, Mobile Apps) */
.features-mobile {
    display: block;
}

.features-mobile .feature-item {
    margin-bottom: 2rem;
    text-align: center;
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.features-mobile .feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.features-mobile .feature-item p {
    font-size: 1rem;
    color: #555;
}

/* Project Screenshots (For Technical Projects) */
.project-screenshots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.project-screenshots img {
    width: 500px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.project-screenshots img:hover {
    transform: scale(1.03);
}

/* Screenshots (For Mobile Apps) */
.screenshots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.screenshots img {
    width: 200px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.screenshots img:hover {
    transform: scale(1.03);
}

/* Project Items */
.project-item .project-links {
    margin-top: 1rem;
}

.project-item .project-links a {
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.project-item .project-links a:hover {
    background: #0056b3;
}

/* App Items */
.cta-button {
    text-align: center;
}

/* Contact Section */
.contact-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.contact-links li {
    margin: 0.5rem 0;
}

.contact-links a {
    color: #007BFF;
    text-decoration: none;
}

.contact-links a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #666;
}

footer a {
    color: #007BFF;
    text-decoration: none;
    margin: 0 0.5rem;
}

footer a:hover {
    text-decoration: underline;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    .hero-content {
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    .hero-image img {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Navbar on Mobile */
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    /* Features on Mobile */
    .features-mobile .feature-item {
        padding: 1rem;
    }

    .project-screenshots img {
        width: 80%;
        max-width: 300px; /* Adjusted for mobile */
    }

    .screenshots img {
        width: 80%;
        max-width: 250px;
    }
}