/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
}
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --text-color: #333;
    --background-color: #f4f4f4;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Navigation Styles */
nav {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav__content .logo img {
    height: 50px;
    border-radius: 10px;
}

.nav__content ul {
    display: flex;
    list-style: none;
}

.nav__content ul li {
    margin-left: 20px;
}

.nav__content ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav__content ul li a:hover {
    color: var(--primary-color);
}

.nav__content .checkbox {
    display: none;
    cursor: pointer;
}

.nav__content input[type="checkbox"] {
    display: none;
}

/* Hero Section Styles */
.section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 100px 5%;
    background-color: var(--background-color);
}

.section__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.content {
    flex: 1;
    padding-right: 50px;
}

.subtitle {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.title span {
    color: var(--primary-color);
}

.description {
    margin-bottom: 30px;
    color: #666;
}

.action__btns {
    display: flex;
    gap: 20px;
}

.action__btns button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hire__me {
    background-color: var(--primary-color);
    color: white;
}

.portfolio {
    background-color: var(--secondary-color);
    color: white;
}

.action__btns button:hover {
    transform: scale(1.05);
}

.image {
    flex: 1;
}

.image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Education Table Styles */
.education {
    background-color: white;
    padding: 50px 5%;
}

.tablemain table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tablemain th, .tablemain td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.tablemain th {
    background-color: var(--primary-color);
    color: white;
}

/* Resume Section */
.resumeimage {
    background-color: var(--background-color);
    text-align: center;
    padding: 50px 5%;
}

.resumeText {
    max-width: 800px;
    margin: 0 auto 20px;
    color: #555;
}

.resumedownload {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.resumedownload:hover {
    background-color: #2980b9;
}

/* Projects Section */
.project {
    background-color: white;
    padding: 50px 5%;
}

.project__container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.project__info {
    flex: 1;
    text-align: center;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.project__info:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.Projectimg {
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.visitCode {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.visitCode:hover {
    background-color: #27ae60;
}

/* Contact Section */
.contact {
    display: flex;
    padding: 50px 5%;
    background-color: var(--background-color);
}

.map-container {
    flex: 1;
    margin-right: 50px;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 10px;
}

.form {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

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

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

.form .button {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form .button:hover {
    background-color: #2980b9;
}

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

    .nav__content ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav__content input[type="checkbox"]:checked ~ ul {
        display: flex;
    }

    .section__container,
    .project__container,
    .contact {
        flex-direction: column;
    }

    .content, .image, .map-container {
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .project__container {
        flex-direction: column;
    }

    .project__info {
        width: 100%;
        margin-bottom: 20px;
    }

    .title {
        font-size: 2rem;
    }
}