.contact-section{
    height: auto;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 80px;
    background-color: rgb(0, 0, 0);
}

.container-c{
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.container-c h2{
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: var(--font-xl);
    color: var(--text-color-1);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;   /* ✅ ensures items wrap on smaller screens */
  gap: 2rem;         /* spacing between items */
  justify-content: center;
}


.contact-card {
  flex: 1 1 300px;   /* grow, shrink, and minimum width */
  max-width: 450px;
  position: relative;
}

.contact-card img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.contact-card button{
  position: absolute;
  width: 60%;
  bottom: 10%;        /* distance from bottom */
  left: 50%;           /* place it halfway across */
  transform: translateX(-50%); /* shift back half its own width */

  background-color: var(--button-color-3);
}


@media (max-width: 768px) {

    .contact-section{
        padding: 40px;
    }


    .container-c{
        gap: 20px;
    }

    .container-c h2{
        font-family: var(--font-heading);
        font-weight: 100;
        font-size: var(--font-xl-mobile);
        color: var(--text-color-1);
        text-align: center;
    }
}