

.container-2 {
    text-align: center;
}

.underlined-text {
    position: relative;
    display: inline-block;
    text-align: center;
    font-size: 24px;
    margin-top: 40px;
    color: #1E3A8A;
    padding-bottom: 20px;
    font-weight: 900;
    font-size: 32px;
}

.underlined-text::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 40%;
    height: 4px;
    background-color: #ffe031;
    border-radius: 2px;
}

.container-2 p {
    font-size: 24px;
    font-weight: 500px;
    color: #2F4F4F;
}
.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 50px;
    margin: 30px 60px;
    padding: 20px 20px;
}

.tile {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 20px;
    padding: 25px;
    border: 2px solid #cce0f4;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    font-family: 'Ubuntu', 'san-serif';
    font-size: 22px;
}

.tile:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tile h3 {
    color: #1a73e8;
    margin-bottom: 10px;
}

.tile p {
    font-size: 18px;
    padding: 10px;
    line-height: 1.6;
    font-family: 'Ubuntu', 'san-serif';
}

.benefits {
    background: #e0f7e9;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
}
.benefits svg{
    fill:#4caf50;
    width: 300px;
    height: 300px;
}

.svg-container{
    max-width: 30%;
}

.benefits svg {
      width: 300px;
      height: 250px;
      margin-bottom: 20px;
      transform: translateY(50px);
      opacity: 0;
      animation: slideUp 1.2s ease-out forwards;
    }

    .benefits svg path {
      fill: #4caf50;
    }

    @keyframes slideUp {
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }


.benefits-text-container{
    display: flex;
    flex-direction: column;
    max-width: 60%;
    margin-left:50px;
}

.benefits h2 {
    font-size: 44px;
    margin-bottom: 20px;
    color: #1b5e20;
    text-align: center;
}

.benefits ul {
    list-style: none;
    padding-left: 0;
}

.benefits ul li {
    font-size: 24px;
    margin-bottom: 10px;
}

.benefits ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.benefits ul li {
  position: relative;
  font-size: 24px;
  padding-left: 30px; /* space for icon */
  margin-bottom: 15px;
  line-height: 1.5;
}

.benefits ul li::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 0;
  color: #388e3c;
  font-size: 20px;
  line-height: 1.5;
}



/* Base box-sizing */
* {
  box-sizing: border-box;
}

/* Tablet View: up to 1024px */
@media only screen and (max-width: 1024px) {
  .underlined-text {
    font-size: 28px;
    margin: 30px 20px 10px 20px;
    text-align: center;
  }

  .container-2 p {
    font-size: 20px;
    margin: 0 20px;
    text-align: center;
  }

  .grid-section {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin: 20px;
    gap: 30px;
  }

  .tile {
    font-size: 20px;
    padding: 20px;
  }

  .tile p {
    font-size: 16px;
  }

  .benefits {
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
  }

  .svg-container {
    max-width: 80%;
    margin-bottom: 20px;
  }

  .benefit-text-container {
    max-width: 100%;
    padding: 0 15px;
    text-align: center;
  }

  .benefits h2 {
    font-size: 32px;
  }

  .benefits ul li {
    font-size: 20px;
  }

  .benefits ul li::before {
    padding-left: 0;
  }
}

/* Mobile View: up to 600px */
@media only screen and (max-width: 600px) {
  .underlined-text {
    font-size: 24px;
    text-align: center;
    left: 5%;
  }

  .container-2 p {
    font-size: 18px;
    margin: 20px;
    text-align: center;
    margin-left: 40px;
  }

  .grid-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 10px;
    gap: 20px;
    margin: 0 auto;
    width: 100%;
  }

  .tile {
    width: 90%;
    font-size: 18px;
    padding: 15px;
  }

  .tile p {
    font-size: 15px;
  }

  .benefits {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .svg-container {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .benefits svg {
    width: 150px;
    height: 150px;
  }

  .benefit-text-container {
    max-width: 100%;
    padding: 0 15px;
    text-align: center;
  }

  .benefits h2 {
    font-size: 24px;
  }

  .benefits ul li {
    font-size: 18px;
  }

  .benefits ul li::before {
    padding-left: 0;
  }
}
