/* General Page Styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    text-align: center;
}

/* Header Styling */
#project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;

}

#project-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    color: #333;
}

#back-to-projects {
    font-size: 1.2rem;
    color: #080808;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
}

#back-to-projects:hover {
    color: #007bff;
    border: 2px solid #007bff;
    transition: all 0.1s ease;

}

/* Section Title Styling */
.section__text__p1 {
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.Title {
    font-size: 3rem;
    font-weight: 700;
    color: #007bff;
    margin-top: 0;
}

/* Project Carousel Styling */
#project-carousel {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 30px auto;
    padding-bottom: 40px;
    position: relative;
    background: #fff;
    z-index: 10;
}

.project-item {
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    background-color: #ffffff;
    max-width: 220px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-item img {
    width: 100%;
    border-radius: 10px;
    height: 160px;
    object-fit: cover;
}

.project-item p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
    color: #333;
}

.project-item:hover {
    transform: translateY(-5px);
    border-color: #007bff;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

/* Highlight active project */
.project-item.active {
    border-color: #007bff;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
    background: #ffffff;
}

/* Project Info Section */
#project-info {
    margin-top: 50px;
    padding: 50px;
    background: #ffffff;
    border-radius: 10px;
    max-width: 80%;
    min-height: 300px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    border-left: 5px solid #ff3700;
}

#project-info h2 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 15px;
}

#project-info p {
    font-size: 1.2rem;
    background: #ffffff;
    line-height: 1.8;
}

#project-info ul {
    list-style: none;
    padding: 0;
}

/* Stylish List Styling */
#project-info ul {
    list-style: none; /* Remove default bullets */
    padding: 0;
    margin: 0;

}

#project-info ul li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin: 15px 0;
    padding: 15px 20px;
    transition: all 0.3s ease-in-out;
}

#project-info ul li::before {
    content: '✔';
    margin-right: 10px;  /* Adjust space between icon and text */
    font-size: 1.3rem;
    color: #007bff;
    font-weight: bold;
}

/* Improved hover effect */
#project-info ul li:hover {
    background: #eef5ff;
}

/* Icon adjustments for better alignment */
#project-info ul li i {
    margin-right: 150px; /* Space between icon and text */
    color: #007bff;
}

.section__text__p1 {
    font-size: 1rem;  /* Adjusts text size */
    font-weight: 400; /* Adjusts text weight */
    color: #666;      /* Adjusts text color */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}
.Title {
    font-size: 2.5rem;  /* Size of "About Me" */
    font-weight: 700;   /* Bold font weight */
    color: #000;        /* Black color */
    text-align: center;
    margin-top: 0.5rem;
}

/* Scroll to Top Button Container */
#scrollTopContainer {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 90%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

/* Upward Arrow Icon */
#scrollTopContainer .arrow {
    font-size: 28px;
    color: #ffffff;
    position: absolute;
    z-index: 10;
}

/* Circular Progress Bar */
#scrollProgress {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 90%;
    background: conic-gradient(
        #ff5733 0deg, 
        #ffffff 0deg
    );
    transition: background 0.3s ease-in-out;
}

/* Hover Effect */
#scrollTopContainer:hover {
    transform: scale(1.1);
}


@media screen and (max-width: 768px) {
    /* Header adjustments */
    #project-header {
      flex-direction: column;
      align-items: center;
      padding: 20px;
      text-align: center;
    }
  
    #project-title {
      font-size: 1.8rem;
      margin-bottom: 10px;
    }
  
    #back-to-projects {
      font-size: 1rem;
      margin-top: 10px;
    }
  
    /* Carousel becomes horizontally scrollable on mobile */
    #project-carousel {
      display: flex;
      flex-wrap: nowrap;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      gap: 16px;
      padding: 10px 10px 20px;
    }
  
    .project-item {
      flex: 0 0 45%; /* Show 2 items per viewport */
      scroll-snap-align: start;
      max-width: 90%;
      min-width: 160px;
      padding: 15px;
      background-color: #fff;
      border-radius: 12px;
      box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
  
    .project-item img {
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 10px;
    }
  
    /* Main project section */
    #project-info {
      padding: 20px;
      max-width: 95%;
      font-size: 1rem;
    }
  
    #project-info h2 {
      font-size: 1.5rem;
    }
  
    #project-info p {
      font-size: 1rem;
      line-height: 1.6;
    }
  
    #project-info h3 {
      font-size: 1.25rem;
    }
  
    #project-info ul li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 1rem;
        line-height: 1.5;
        padding: 10px 0;
        flex-wrap: wrap;
        word-break: break-word;
      }
      
      #project-info ul li::before {
        content: '✔';
        color: #007bff;
        font-weight: bold;
        font-size: 1.1rem;
        flex-shrink: 0;
        margin-top: 2px;
      }
      
  
    #project-info img {
      width: 100% !important;
      max-width: 100% !important;
      margin-bottom: 20px;
    }
  
    .Title {
      font-size: 2rem;
      text-align: center;
    }
  
    /* Scroll to top button */
    #scrollTopContainer {
      width: 50px;
      height: 50px;
      bottom: 20px;
      right: 20px;
    }
  
    #scrollTopContainer .arrow {
      font-size: 22px;
    }
  }
  