
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
   background-image: url(images/Web\ background\ 2.jpg);
    background-color: #f0ecec;
    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;
}
.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: 100px;
    gap: 100px; */
     padding: 60px 20px;
    text-align: center;
}
.about-section img {
    max-width: 400px;
}
.about-text h4 {
    /* font-size: 14px;
     margin-bottom: 40px;
    letter-spacing: 1px;
    color: gray; */
     font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
}
.about-text h2 {
    font-size: 28px;
    margin: 10px 0;
}
.about-text p {
    font-size: 16px;
    color: #555;
}
.about-text button{
 background-color: #555;
      color: rgb(212, 8, 8);
      text-decoration-color: red;
      border: none;
      padding: 10px 20px;
      margin: 5px;
      cursor: pointer;
      border-radius: 4px;
      transition: background 0.3s;
}
.about-text button a{
    color: #eee;
}
.about-text button.active,
    .about-text button:hover {
      background-color: #dc1c1c;
    }
/* 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);
    }
/* Filter Buttons */
    .filters {
      text-align: center;
      margin: 30px 0;
    }
    .content-wrapper {
  display: flex;
  padding: 20px;
}

.left-sidebar {
  width: 200px;
  background-color: #e0e0e0;
  padding: 20px;
  margin-right: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.left-sidebar h3 {
  margin-bottom: 10px;
}

.left-sidebar ul {
  list-style-type: none;
  padding-left: 0;
}

.left-sidebar ul li {
  margin: 8px 0;
}

.left-sidebar a {
  color: #333;
  text-decoration: none;
}
.left-sidebar a:hover {
  text-decoration: underline;
}

    .filters button {
      background-color: #555;
      color: white;
      border: none;
      padding: 10px 20px;
      margin: 5px;
      cursor: pointer;
      border-radius: 4px;
      transition: background 0.3s;
    }
    .filters button.active,
    .filters button:hover {
      background-color: #222;
    }

    /* Portfolio Grid */
    .grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      padding: 20px;
    }
    .card {
      background: white;
      margin: 15px;
      border-radius: 6px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      overflow: hidden;
      width: 300px;
      display: none; /* Hidden by default, shown via JS filter */
    }
    .card img {
      width: 100%;
      height: auto;
    }
    .card-content {
      padding: 15px;
    }

    /* Sections */
    section {
      padding: 40px 20px;
      text-align: center;
    }
    footer {
      background: #eee;
      padding: 20px;
      text-align: center;
    }
    a {
      color: #333;
      text-decoration: none;
    }
    .socialmedia p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* space between icons */
}

.socialmedia a img {
  width: 24px;
  height: 24px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.socialmedia a img:hover {
  filter: none;
}