  /*---------------------Roots-----------------*/

  :root {
    ---green: #1BB46D;
    ---white: #ffffff;
    ---black: #1F1F5F;
    ---border: #e5e5e5;
    ---paragraph: #919191;
  }

  /*---------------------Roots-----------------*/



  .COREENGINEERING {
    background-color: #111111;
  }

  .COREENGINEERING h1 {
    font-size: 100px;
    color: var(---white);
    font-family: "Bebas Neue", sans-serif;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
  }

  .card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    height: 630px;
  }

  .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: all 0.4s ease;
  }

  .card h3 {
    font-size: 30px;
    margin-bottom: 10px;
    color: var(---white);
  }

  .card p {
    font-size: 14px;
    opacity: 0;
    max-height: 0;
    transition: all 0.4s ease;
    color: var(---white);
    line-height: 30px;
  }

  .card:hover img {
    transform: scale(1.1);
  }

  .card:hover p {
    opacity: 1;
    max-height: 200px;
  }

  /* Responsive */
  @media (max-width: 1380px) {
    .card h3 {
      font-size: 25px;
    }
  }

  @media (max-width: 1150px) {
    .card h3 {
      font-size: 20px;
    }

    .COREENGINEERING h1 {
      font-size: 70px;
      margin-top: 50px;
      margin-bottom: 50px;
    }
  }

  @media (max-width: 992px) {
    .cards {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 600px) {
    .cards {
      grid-template-columns: 1fr;
    }

    .card h3 {
      font-size: 30px;
    }

    .COREENGINEERING h1 {
      font-size: 50px;
      margin-top: 30px;
      margin-bottom: 30px;
    }
  }

  @media (max-width: 450px) {
    .card h3 {
      font-size: 20px;
    }
        .COREENGINEERING h1 {
      font-size: 35px;
      margin-top: 30px;
      margin-bottom: 30px;
    }
  }