
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    /* background-image: url('images/portfolio\ 2.jpg'); */
    background-size: cover; /* Fills the whole page */
    background-position: center; /* Centers the image */
    background-attachment: fixed; /* Makes image stay while scrolling */
}




/* Navigation Bar */
header {
    /* background: white; */
    padding: 15px 0;
    background-color: #111;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background-color: white;
  border-radius: 25px;
  margin: 20px auto;
  width: 90%;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
  text-decoration: none;
}
.logo {
  font-size: 24px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  text-decoration: none;
}

/* .menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0;
    padding: 0;
} */
.menu li a {
    text-decoration: none;
    color: black;
    font-weight: 500;
}
.menu li a.active {
    color: #6c63ff;
}

/* Page Header */
.page-header {
    background: linear-gradient(to right, #6c63ff, #5bc0f8);
    color: white;
    text-align: center;
    padding: 50px 0;
}
.page-header h1 {
    font-size: 36px;
    margin: 0;
}
.page-header p {
    margin: 10px 0 0;
}

/* About Section */
.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    gap: 50px;
}
.about-section img {
    max-width: 400px;
}
.about-text h4 {
    font-size: 14px;
    letter-spacing: 1px;
    color: gray;
}
.about-text h2 {
    font-size: 28px;
    margin: 10px 0;
}
.about-text p {
    font-size: 16px;
    color: #555;
}
/* Services Section */
.services-section {
    padding: 60px 20px;
    text-align: center;
    /* background: white; */
}

.services-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    font-size: 18px;
    font-weight: bold;
    color: #111;
}
/* Work Section */
.works-section {
    padding: 60px 20px;
    text-align: center;
    /* background: white; */
}
.works-section {
    padding: 60px 20px;
    text-align: center;
    background: white;
}

.works-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
}

.works-container ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* allows wrapping if screen is small */
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px; /* space between items */
}

.works-container li {
    flex: 1 1 calc(33.333% - 20px); /* 3 in a row */
    max-width: 300px;
}

.work-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.work-item p {
    margin-top: 10px;
    font-weight: bold;
}
/* About Section */
    .about-container {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 50px;
        gap: 40px;
    }
    .about-container img {
        max-width: 400px;
    }
    .about-text h4 {
        color: gray;
        text-transform: uppercase;
        font-size: 14px;
    }
    .about-text h2 {
        font-size: 28px;
        margin: 5px 0;
    }
    .about-text p {
        color: #555;
        line-height: 1.5;
}
.skills-section {
        padding: 50px;
        max-width: 900px;
        margin: auto;
    }
    .email {
        font-size: 16px;
        margin-bottom: 20px;
        color: #555;
    }
    h3 {
        margin-bottom: 30px;
        font-size: 20px;
    }
    .skills-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px 50px;
    }
    .skill {
        display: flex;
        flex-direction: column;
    }
.skill-label {
        display: flex;
        justify-content: space-between;
        font-size: 14px;
        margin-bottom: 5px;
        color: #555;
    }
    .progress-bar {
        background: #e0e0e0;
        border-radius: 10px;
        overflow: hidden;
        height: 8px;
    }
    .progress {
        height: 8px;
        background: linear-gradient(to right, #7b8df5, #4fc3f7);
    }