body {
    background-color: #f5f7fa;
}

.section-1 {
    height: fit-content;
    background-color: #e6ebf1;
    border-radius: 10px;
    padding: 10px;
    display: grid;
}

.container-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;

}

.text-container {
    margin-left: 30px;
    font-size: 76px;
    font-family: 'Playfair Display', serif;
    color: #1E3A8A;
    font-weight: 800;
    z-index: 2;
}

.image-container {
    display: flex;
    justify-content: flex-end;
}

.image-container img {
    width: 100%;
    height: auto;
}


.two-column-layout {
    display: flex;
    gap: 20px;
    max-width: 960px;
    margin: 40px auto;
    align-items: stretch;
}

/* Left side with rows of small buttons */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 2;
}

.row {
    display: flex;
    gap: 20px;
}

.container-3 h1 {
    color: black;
}

.small-btn {
    flex: 1;
    font-size: 16px;
    padding: 0 10px;
    border: none;
    border-radius: 8px;
    background-color: #e6ebf1;
    color: #1E3A8A;
    cursor: pointer;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    height: 100%;
}

.small-btn p {
    color: #2F4F4F;
    font-weight: 600;
    font-family: 'Marcellus', serif;
}

.view-button {
    display: none;
    height: fit-content;
    width: fit-content;
    padding: 10px;
    border-radius: 10px;
    /* background: linear-gradient(145deg, #202937, #151d29); */
    background-color: #202937;
    color: #FAFAFA;
    transition: all 0.2s ease;
    margin-bottom: 10px;
    font-weight: 600;
    text-decoration: none;
}


.view-button:hover {
    background-color: orange;
    /* Gold on hover */
    color: #003366;
    /* Deep Blue Text on Hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.container-3 {
    color: #ffe031;
    text-align: center;
    font-size: 28px;
}

/*Section-3*/
.section-3 {
    background: linear-gradient(145deg, #202937, #151d29);
    padding: 10px 20px;
    color: #ffffff;
    font-family: 'Segoe UI', sans-serif;
    border-radius: 10px;
    text-align: center;
}

.section-3 h1 {
    color: #e6ebf1;
}

.credential-content {
    max-width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}


.credential-content ul {
    list-style: none;
    padding: 0;
}

.credential-content li {
    font-size: 28px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.credential-content li span {
    color: #2e7d32;
    /* Green check icon */
    font-size: 1.2em;
    flex-shrink: 0;
}



@media only screen and (max-width: 600px)  {
        .text-container {
        font-size: 45px;
        margin: 0px;
    }

    .container-1{
        display: grid;
        grid-template-areas:
            "image"
            "text";
        grid-template-columns: 1fr;
        align-items: center;
        justify-content: space-around;
    }
    .two-column-layout {
        flex-direction: column;
        align-items: center;
    }

    .image-container img {
        height: 100%;
        width: 80vw;
        margin-right: 10px;
        right: 0px;
    }
    .row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .small-btn {
        width: 90%;
        margin: 10px 0;
    }

    .head-bar {
        flex-direction: column;
        text-align: center;
    }

    .dropdown-content {
        text-align: center;
        z-index: 2;
    }
        .credential-content li {
        font-size: 14px;
    }

    footer h1,
    footer p {
        text-align: center;
        padding: 0 10px;
    }
}

@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .text-container {
    font-size: 52px;
    text-align: center;
    margin: 0;
  }

  .container-1 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "text";
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .image-container {
    justify-content: center;
  }

  .image-container img {
    height: auto;
    width: 70vw;
    margin: 0 auto;
  }

  .two-column-layout {
    flex-direction: column;
    align-items: center;
  }

  /* ✅ Change to grid with 2 columns => 3 rows for 5 items */
  .small-btn{
    height: 200px;
    padding: 0px;
  }
  .small-btn h1{
    font-size: 22px;
  }
  .small-btn p{
    font-size: 16px;
  }
  .view-button{
    font-size: 16px;
    font-weight: 500;
    padding: 5px;
  }

  .head-bar {
    flex-direction: row;
    text-align: center;
  }

  .dropdown-content {
    text-align: center;
  }

  .credential-content li {
    font-size: 18px;
    text-align: center;
    justify-content: center;
  }

  footer h1,
  footer p {
    text-align: center;
    padding: 0 15px;
  }
} 