
.container {
    max-width: 100%;
    margin: 0 auto;

  }
  .hero {
    position: relative;
    
    color: #fff;
    padding: 120px 20px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  }
  .hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 125, 50, 0.7);
    z-index: 1;
  }
  .hero-content {
    position: relative;
    z-index: 2;
  }
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  .hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
  }
  .curriculum-card {
      
      
      padding: 40px 0px;
      margin-bottom: 40px;
     
      background-color: #fff;
      padding-bottom: 80px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

 
  .curriculum-card h2 {
    font-size: 2rem;
    color: #2e7d32;
   
    margin-bottom: 20px;
    text-align: center;
  }
  .curriculum-card h4{
    text-align: center;
    
  }
  .title-par{
    background-color: #255815;
    width: fit-content;
    min-width: 250px;
    font-size: 1.2rem;
    color: white;
    padding: 10px 30px;
    text-align: center;
    clip-path: polygon(0% 0%, 100% 0%, 92% 100%, 0 100%);
  }
  
  .curriculum-card p{
    padding: 25px 45px;
    padding-top: 15px;
    text-align: center;
    line-height: 25px;
    font-size: 1.2rem;

  }
  .items{
    padding-top: 30px;
  }
  .item-par{
  margin: 20px auto;
    background-color: green;
    border-radius: 20px;
    color: black;
    padding-top: 30px;
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .item-par h3{
    text-align: center;
    margin: 0 5px;
    padding: 5px 10px;
  }
  .title-components{
    text-align: center;
    margin: 50px 0;
  }
  .gallery {
    display: flex;
        gap: 1.5rem;
        margin-top: 2rem;
        flex-wrap: wrap;
        margin-bottom: 4rem;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        justify-items: center;
        align-items: center;
        flex-direction: row;
        justify-content: center;
}

.gallery-item {
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 1s;
    max-width: 300px;
    
}

.gallery-item div {
    display: flex;
        position: absolute;
        text-align: center;
        color: #000000;
        width: 100%;
        font-weight: bold;
        padding: 1.5rem;
        height: 40%;
        bottom: 0;
        background-color: #fdfdfdb3;
        font-size: 1.3rem;
        align-items: center;
        flex-direction: column;
        justify-content: center;
      transition: 0.5s;
}
.gallery-item div h4{
  font-weight: bold;
 }
.gallery-item div p{
 font-weight: initial;
 display: none;
 padding: 0;
}
.gallery-item img {
    width: 100%;
    min-width: 300px;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover  div{
  flex-direction: column;
    justify-content: flex-start;
      height: 100%;
}
.gallery-item:hover  div p{
  display: block;
}
.elective-subjects{
    display: flex;
        margin: 50px 0;
        flex-wrap: wrap;
        gap: 2rem;
        padding: 0 25%;
        justify-content: center;
        align-items: center;
        align-content: center;
        flex-direction: row;
}
.item-elective{
    width: 200px;
    height: 46px;
    background: #d3e2cd;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;

}
  @media (max-width: 768px) {
   
    .hero h1 {
      font-size: 2.5rem;
    }
    .hero p {
      font-size: 1.2rem;
    }
    .curriculum-card h2 {
      font-size: 1.5rem;
     
    }
    .curriculum-details {
      font-size: 1rem;
    }
  }
