/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Body */
body {
    font-family: 'Poppins', sans-serif;
    color: #000000;
    background-color: #030303;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hero-background.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: left;
    align-items: center;
    color: rgb(236, 223, 223);
    text-align: center;
    position: relative;
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-content {
    z-index: 10;
    margin-left: 100px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-top: 8px;
    margin-bottom: 15px;
}

.hero-content .btn {
    margin-top: 30px;
    padding: 12px 30px;
    background-color: #007bff;
    color: rgb(236, 220, 220);
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.hero-content .btn:hover {
    background-color: #0056b3;
}

/* Navbar */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background: linear-gradient(90deg, #000000, #3c3841);
    padding: 12px 15px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.5s ease-out;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo a {
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.navbar .nav-links li {
    margin: 0 20px;
}

.navbar .nav-links li a {
    color: white;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: color 0.3s, transform 0.2s;
    padding: 5px 10px;
}

.navbar .nav-links li a:hover {
    color: #ffd700;
    transform: scale(1.0);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}

.navbar .nav-links li.active a {
    border-bottom: 3px solid #ffd700;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

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

@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #333;
        width: 100%;
        text-align: center;
        z-index: 999;
        background: linear-gradient(90deg, #000000, #3c3841);
    }

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

    .hamburger {
        display: flex;
    }

    .hero-content {
        margin-left: 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }
}

/* About Section */
#about {
    display: flex;
    justify-content: space-between;
    /* Space between image and content */
    align-items: flex-start;
    /* Align items at the start */
    background-color: #fff;
    padding: 60px 20px;
}

/* Profile Image Container */
.profile-container {
    margin-left: 160px;
    /* Space to the left of the image */
}

/* Profile Image */
.profile-img {
    border-radius: 50%;
    width: 350px;
    /* Width for larger screens */
    height: 350px;
    /* Height for larger screens */
    border: 5px solid #007bff;
}

/* Content Container */
.content {
    max-width: 750px;
    /* Limit the maximum width of the content */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    #about {
        flex-direction: column;
        /* Stack items vertically */
        align-items: center;
        /* Center items */
        text-align: center;
        /* Center align text */
    }

    .profile-container {
        margin: 20px 0;
        /* Space around image on small screens */
    }

    .profile-img {
        width: 80%;
        /* Responsive width for smaller screens */
        max-width: 350px;
        /* Limit maximum width */
    }

    .content {
        display: flex;
        flex-direction: column;
        /* Stack content vertically */
        align-items: center;
        /* Center align content */
    }
}

/* About Section Buttons */
.about-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
}

.download-resume {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: background-color 0.3s;
}

.download-resume:hover {
    background-color: #0056b3;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 30px;
    /* Adjust the size as needed */
    height: 30px;
    /* Maintain aspect ratio */
    transition: transform 0.3s;
    /* Optional: Adds a hover effect */
}

.social-icon:hover {
    transform: scale(1.1);
    /* Optional: Slightly enlarge on hover */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .about-buttons {
        align-items: center;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}


/* Projects Section */
.projects-section {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.project {
    background: white;
    color: #333;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s;
}

.project:hover {
    transform: translateY(-5px);
}

.project h3 {
    margin-bottom: 10px;
}

.project-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.project-link:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact-section {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.contact-section p {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #0056b3;
}

.note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #333;
    color: white;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }
}

/* About Section Skills */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.skill {
    background-color: #007bff;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.skill:hover {
    background-color: #0056b3;
}