/* Reset default styles */
body, h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Basic styles */
body {
    font-family: Arial, sans-serif;
    font-size: 20px;
    line-height: 1.6;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

/* Header styles */
header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    /* z-index: 10; */
}

.logo-link {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

/* Navigation styles */
nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: #4a90e2;
}

/* Menu icon styles */
.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px; /* <-- Move to right */
    z-index: 1001;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-icon.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-icon.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-icon.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile styles */
@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        justify-content: center;
        align-items: center;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        display: flex;
        gap: 30px;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
    }
}


/* home page  */

.vandan {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    gap: 30px;
    background-color: rgb(255, 255, 255);
}

.hero-text h2 {
    font-size: 28px;
    font-weight: bold;
}

.hero-text span {
    color: #007bff;
}

.hero-text p {
    font-size: 18px;
    margin-top: 10px;
    max-width: 500px;
}

.hero-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.resume-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4a90e2;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.resume-button:hover {
    background-color: #2f6ac3;
}

@media (min-width: 768px) {
    .vandan {
        flex-direction: row;
        justify-content: space-around;
        text-align: left;
    }

    .hero-text {
        max-width: 600px;
    }

    .hero-text p {
        margin: 0;
    }
}


/*   next page  */

/* General Styling */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    color: #212529;
}

main {
    padding: 40px 20px;
    max-width: 1100px;
    margin: auto;
}

/* Section Headings */
.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #343a40;
}

/* About Me Section */
.about-me {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.about-me-text, .about-me-skills {
    flex: 1 1 45%;
    background: #ffffff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.about-me-skills ul {
    list-style: none;
    padding: 0;
}

.about-me-skills li::before {
    content: "✅";
    margin-right: 10px;
    color: #198754;
}

/* Project Section */
.projects .project-list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project-card {
    background: #fff7f1;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.project-card h3 {
    color: #0d6efd;
    margin-bottom: 10px;
}

.project-card a {
    color: #0d6efd;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
}

.project-card a:hover {
    text-decoration: underline;
}

/* Certification Section */
.certifications ul {
    list-style-type: none;
    padding-left: 0;
}

.certifications li::before {
    content: "🎖️";
    margin-right: 10px;
}

/* Contact Section */
.contact {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    margin-top: 60px;
}

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

.contact li {
    margin-bottom: 10px;
}

.contact a {
    color: #0d6efd;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

/* Media Queries */
@media (max-width: 768px) {
    .about-me {
        flex-direction: column;
    }

    main {
        padding: 20px 15px;
    }
}
