/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    display: none;
}

/* Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: black;
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    align-items: center;
    margin-right: 25px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}
.nav-links li a.active {
    color: rgb(244, 244, 6); /* Highlight color */
    font-weight: bold;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    margin-left: 20px;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #222;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        text-align: center;
        padding: 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hamburger {
        display: block;
    }
}

/* Home Section */
#home {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: black;
    color: white;
}

.home-content h1 {
    font-size: 2.5rem;
}

#home .btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ff5722;
    color: white;
    text-decoration: none;
    margin-top: 20px;
    border-radius: 5px;
}

/* About Section */
#about {
    padding: 140px 10%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.about-content {
    flex: 1;
    max-width: 600px;
}

.about-content h2 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.about-content .btn {
    display: inline-block;
    padding: 12px 20px;
    background: #009688;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.about-content .btn:hover {
    background: #00796b;
}

/* About Image */
.about-img {
    flex: 1;
    max-width: 300px;
    border: 1px solid black;
    border-radius: 50%;
}

.about-img img {
    width: 100%;
    border-radius: 50%;
}

/* Responsive Design */
@media (max-width: 900px) {
    #about {
        flex-direction: column;
        text-align: center;
    }

    .about-content, .about-img {
        max-width: 100%;
    }

    .about-content .btn {
        display: inline-block;
        margin-top: 10px;
    }
}

/* Services Section */
#services {
    text-align: center;
    padding: 100px 20px;
    background-color: #f8f9fa;
}

#services h2 {
    font-size: 2em;
    margin-bottom: 30px;
}

/* Service Container */
.service-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Individual Service Box */
.service {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

/* Circular Icon */
.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.service-icon i {
    color: white;
    font-size: 36px;
}

/* Hover Effect */
.service:hover {
    transform: translateY(-5px);
}



/* Projects Section */
#projects {
    padding: 80px 50px;
    background: #f4f4f4;
    text-align: center;
}

#projects .section-title {
    font-size: 2.5rem;
    color: black;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Project Container */
.project-container {
    height: auto;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Individual Project Card */
.project {
    background: white;
    width: 320px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Project Info */
.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.5rem;
    color: #222;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Button */
#projects .btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ff5722;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #e64a19;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-container {
        flex-direction: column;
        align-items: center;
    }

    .project {
        width: 90%;
    }
}

/* Contact Section */
#contact {
    padding: 60px 30px;
    background: black;
    color: white;
    text-align: center;
}

/* Section Title */
#contact .section-title {
    font-size: 2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bold;
    color: white;
}

/* Contact Text */
.contact-text {
    font-size: 1rem;
    margin-bottom: 25px;
    color: #ccc;
}

/* Contact Container */
.contact-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    font-size: 1.8rem;
    color: white;
    transition: color 0.3s, transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
}

/* Specific Colors for Each Social Icon */
.social-icon:nth-child(1):hover { color: #333; }   /* GitHub */
.social-icon:nth-child(2):hover { color: #0077b5; } /* LinkedIn */
.social-icon:nth-child(3):hover { color: #1877f2; } /* Facebook */

/* Contact Form */
.contact-form {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 450px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background: #f4f4f4;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: #eaeaea;
}

/* Submit Button */
#contact .btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background: #ff5722;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #e64a19;
}

/* Responsive Design */
@media (max-width: 768px) {
    #contact {
        padding: 50px 20px;
    }

    .contact-text {
        font-size: 0.9rem;
    }

    .social-links {
        justify-content: center;
    }

    .contact-form {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    #contact .section-title {
        font-size: 1.8rem;
    }

    .contact-text {
        font-size: 0.85rem;
    }

    .social-links {
        gap: 10px;
    }

    .social-icon {
        font-size: 1.6rem;
    }
}


/* Footer */
footer {
    background: black;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}
