* {
    margin: 0;
    padding: 0;
}

body {
    background: #f9f9f9;

}

#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

#header h1 {
    font-size: 1.8rem;
    color: #007bff;
    letter-spacing: 1px;
}

#header nav {
    display: flex;
    gap: 25px;
    list-style: none;
}

#header nav li {
    list-style: none;
}

#header nav a {
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    position: relative;
    transition: color 0.3s ease;
}

#header nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -4px;
    background: #007bff;
    transition: width 0.3s ease;
}

#header nav a:hover {
    font-size: 18px;
    color: #007bff;
    transform: translateY(10);
}


#content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 60px 150px;
    background: #f9f9f9;
    flex-wrap: wrap;
    gap: 40px;
}

#namee {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#namee p {
    font-size: 3rem;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
}

#namee span {
    color: #007bff;
}

#logo {
    display: flex;
    gap: 20px;
}

#logo .p {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

#logo .p:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
}

.resume {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #007bff;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    width: fit-content;
}

.resume a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.resume i {
    color: #fff;
    font-size: 1.1rem;
}

.resume:hover {
    background: #0056b3;
    transform: translateY(-3px);
}

.photo {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #007bff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.photo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


#about {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    
}

.aboutme {
    max-width: 800px;
    text-align: center;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aboutme:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.aboutme h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #007bff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.aboutme p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.aboutme span {
    color: #007bff;
    font-weight: 600;
}

.edu {
    text-align: center;
    padding: 60px 40px;
    background: #f9f9f9;
}

.edu h2 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.education {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.study {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.study:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.study i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 15px;
}

.study h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
}

.study p {
    font-size: 1rem;
    margin: 6px 0;
    color: #555;
}

.study span {
    color: #007bff;
    font-weight: 600;
}

.skills_heading {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #007bff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 30px;
    background: #f9f9f9;
}

.skill {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.skill h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #007bff;
    text-transform: capitalize;
}

.skill ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill ul li {
    font-size: 1rem;
    color: #444;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.skill ul li i {
    font-size: 1.3rem;
    color: #007bff;
    transition: color 0.3s ease, transform 0.3s ease;

}

.skill ul li:hover {
    color: #007bff;
    transform: translateX(6px);
    cursor: pointer;
}

.skill ul li i:hover {
    color: #0056b3;
    transform: scale(1.2);
}


.Project-container {
    text-align: center;
        font-size: 2rem;
        margin-bottom: 30px;
        color: #007bff;
        text-transform: uppercase;
        letter-spacing: 2px;
}

#project {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    background: #f9f9f9;
}

.projects {
    flex: 1 1 300px;
    max-width: 350px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.projects:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.projects h2 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 10px;
    border-bottom: 2px solid #007bff;
    display: inline-block;
    padding-bottom: 5px;
}

.projects p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

#contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    background: #f9f9f9;
}

form {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    width: 100%;
}

.contact-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.form-input,
.form-textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
}

.form-textarea {
    resize: none;
    height: 120px;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #007bff;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn:nth-child(2) {
    background: #6c757d;
}

.btn:nth-child(2):hover {
    background: #495057;
}


#footer {
    background: black;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}

.footer-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #f1f1f1;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-socials a {
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
    transform: scale(1.2);
    color: #ffd700;
}

.copyright {
    font-size: 0.9rem;
    color: #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    #header {
        flex-direction: column;
        align-items: center;
    }

    #header nav {
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
    }

    #content {
        flex-direction: column;
        text-align: center;
    }

    #logo {
        justify-content: center;
    }

    .resume {
        margin: 0 auto;
    }

    #about {
        padding: 40px 20px;
    }

    .aboutme {
        padding: 25px;
    }

    .aboutme h1 {
        font-size: 1.6rem;
    }

    .aboutme p {
        font-size: 1rem;
        line-height: 1.6;
    }

    #skills {
        flex-direction: column;
        align-items: center;
    }

    .skill {
        width: 90%;
    }

    .education {
        flex-direction: column;
        align-items: center;
    }

    .study {
        width: 90%;
    }
}