/* About */

* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.about {
    width: 100%;
    display: flex;
}

.about-section {
  padding: 60px 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.about-section h2,  #workshops{
  font-size: 2rem;
  font-weight: bold;
  color: #0082fe;
  text-align: center;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  text-align: justify;
  margin: 0 auto;
}

#about-desc {
    font-size: 1.2rem;
    opacity: 0.8;
    line-height: 40px;
    font-weight: lighter;
}

.about-content {
    width: 50%;
}

.about-content span b {
  font-size: 18px;
  color: #f28a00;
}

#abt-img {
    width: 90%;
    margin: 20px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
    margin: 20px;
    text-align: justify;
}

.about-content ul {
    padding: 0px;
}

.about-content ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px;
    font-size: 17px;
    line-height: 1.6;
    color: #444;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.about-content ul li:hover {
    transform: scale(0.9);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
}

.about-content b {
  color: #0082fe;
}

.about-content ul li i {
  color: darkgreen;
}

/* MSME Section */

.msme-section {
    background-color: #f5faff;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 80px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* width: 90%; */
  }
  
  .msme-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .msme-logo {
    width: 80px;
    height: auto;
    margin-top: 5px;
  }
  
  .msme-text {
    flex: 1;
  }
  
  .msme-text h2 {
    color: #0082fe;
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .msme-text p {
    color: #333;
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 10px;
  }

/* Workshop Section */
.workshop-content {
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 10px 20px;
}

/* Carousel Container */
.workshop-carousel {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow-x: hidden;
    width: 40%;
    border-radius: 20px;
    padding: 0px 10px;
}

/* Headings - Always Visible */
.workshop-carousel h2,
.workshop-carousel h4 {
    margin: 20px 5px;
    /* padding: 0px 0; */
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 5;
}
  
/* Track Scrollable */
/* .carousel-track {
    display: flex;
    overflow-y: hidden;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  .carousel-track img {
    flex: 0 0 100%;
    scroll-snap-align: center;
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    padding: 20px 0px;
  } */
  
  .carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    cursor: pointer;
}

.carousel-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    /* padding: 20px; padding goes here now */
    box-sizing: border-box;
}

.carousel-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}


  /* Image Hover */
  .carousel-track img:active {
    transform: scale(0.8);
  }
  
  /* Custom Scrollbar */
  .carousel-track::-webkit-scrollbar {
    height: 5px;
  }
  
  .carousel-track::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
  }
  
  .carousel-track::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 10px;
  }
  
  .carousel-track::-webkit-scrollbar-thumb:hover .carousel-track img:hover {
    transform: scale(0.8);
    background: #0056b3;
  }

  
  /* Mobile-first approach */
  @media (max-width: 991px) {

    .about-section h2, #workshops, .msme-text h2 {
      font-size: 1.3rem;
    }

    .workshop-content {
        flex-direction: column;
    }

    .workshop-carousel {
        width: 95%;
    }

    .msme-section {
      margin: 30px;
    }

    .msme-container {
      flex-direction: column;
    }
    
    .msme-container .msme-logo {
      width: 150px;
    }

  }
      

@media (max-width: 480px) {

    /* .about-container {
        margin-top: 40%;
    } */

    .about {
        flex-direction: column;
    }

    .about-content {
        width: 100%;
    }

}

