body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  padding: 20px;
}

.main-text {
  grid-column: 1 / -1;
  background-color: #59B7A6; 
  padding: 20px;
  color: #282663;
}

.contact-info {
  grid-column: 1;
  grid-row: 2;
  padding: 20px;
  color: #282663; 
}

.contact-info h2, .partner-brands h3 {
  color: #E5752D; 
}

.contact-info a {
  color: #59B7A6; 
  text-decoration: none;
  font-weight: bold;
}

.contact-info a:hover {
  text-decoration: underline;
}

.logo-socials {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #FDEEDE; 
}

.partner-brands {
  grid-column: 3;
  grid-row: 2;
  color: #FDEEDE;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-brands h3 {
  color: #E5752D;
  width: 100%;
  text-align: center;
}

.brand-img-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  justify-items: center;
  align-items: center;
  width: 100%;
}

.brand-img-container img {
  width: auto;
  max-width: 90%;
  max-height: 120px;
  margin-bottom: 10px;
}

.cta-button {
  background-color: #E5752D; 
  color: #FDEEDE;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  margin-top: 20px;
  border: none;
  cursor: pointer;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials img {
    max-width: 50px;
}

/* Mobile responsive layout */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr; /* One column */
    grid-template-rows: auto; /* Auto row height */
  }

  .main-text,
  .contact-info,
  .logo-socials,
  .partner-brands {
    grid-column: 1; /* All items in the first column */
    grid-row: auto; /* Automatic placement in rows */
  }

  .logo-socials img {
    width: 80%; /* Adjust the logo size on mobile */
    margin: 0 auto; /* Center the logo */
  }

  .brand-img-container {
    grid-template-columns: 1fr; /* One column for logos */
    gap: 10px;
  }
}

