* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

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

.nav-links a:hover {
    color: #4CAF50;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

.hero-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 40px;
}

.profile-img {
    width: 100%;
    max-width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 5px solid #4CAF50;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Image {
    height: 300px;
}

.profile-img p {
    text-align: center;
    font-size: 2rem;
    color: #4CAF50;
}


/* Section Styles */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #4CAF50;
}

/* About Section */
.about-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

/* Skills Section */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.skill-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 150px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
}

.skill-icon {
    height: 90px;
}

/* Projects Section */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.project-image {
    height: 200px;
    width: 100%;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-image p {
    font-style: oblique;
    font-size: 2.2rem;
    color: #dc0e0e;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.project-links {
    display: flex;
    margin-top: 15px;
}

.project-links a {
    display: inline-block;
    margin-right: 15px;
    text-decoration: none;
    color: #4CAF50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: #3e8e41;
}

/* Contact Section */
.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #3e8e41;
}

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

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    color: white;
    margin: 0px 23px;
    font-size: 18px;
    text-decoration: none;
    font-weight: 650;

}

.social-link:hover {
    color: rgb(126, 192, 236);
}

.email-mob {

    color: rgb(126, 192, 236);
    font-size: 15px;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2px 15px;
    text-decoration: none;
}

.email:hover {
    color: red;
}

.mob:hover {
    color: red;

}

.copyright {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: -10px 10px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 30%;
        height: calc(85vh - 70px);
        background-color: rgb(99, 99, 136);
        flex-direction: column;
        align-items: center;
        padding-top: 30px;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 300px;
    }

    .nav-links li {
        margin: 15px 0;

    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 30px;
    }

    .hero-image {
        margin-left: 0;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }

    .Image {
        height: 225px;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }
}