
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
}

.ul-fri-logo-eng-hor-rgb-color-1 {
  width: 300px;
  margin: 5px;
}

a {
  text-decoration: none;
  }
.button-danger {
  position: absolute;
  top: 20px;
  right: 30px;
}

.button4 {
  background-color: #d32f2f;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.our-service-1 {
  width: 100%;
  height: 80%;
  object-fit: cover;
  position: relative;
  filter: brightness(90%);
}

.fri-academy-hub {
  position: absolute;
  top: 200px;
  width: 100%;
  text-align: center;
  color: white;
  font-size: 68px;
  font-weight: bold;
}

.heading-3-unlock-your-program-s-potential {
  margin: 50px auto 20px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 30px;
  padding: 20px 40px;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 40px !important;
}

.card {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #ddd;
  display: flex;
  flex-direction: row; 
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 60px;
  height: auto;
  flex-shrink: 0;
}

.card .text-content {
  display: flex;
  flex-direction: column;
}

.card .headline {
  font-size: 18px;
  font-weight: bold;
}

.card .published-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.card .supporting-text {
  font-size: 14px;
  margin-bottom: 20px;
}

.card .button {
  background-color: #d32f2f;
  width: 70px;
  color: white;
  text-align: center;
  padding: 8px 16px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.button-container {
  display: flex;
  justify-content: flex-end; 
  margin: 15px 20px;
}

.bottom-section {
  margin-top: 100px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottom-section-line {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.bottom-images {
  display: flex;
  gap: 15px;
  margin-bottom: 5px;
}

.bottom-images img {
  width: 180px;
  height: 70px;
}

.typeform-button {
  background-color: rgba(255, 255, 255, 0.3); 
  color: #444;
  border: none;
  padding: 8px 16px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  font-family: sans-serif;
  transition: background-color 0.3s ease;
}

.typeform-button:hover {
  background-color: rgba(255, 255, 255, 0.5);
  color: #000;
}

.footer {
  margin-top: 20px !important;
}

@media (max-width: 1024px) {
  .grid-container {
    grid-template-columns: 1fr; 
    gap: 20px !important;
    padding-left: 120px !important; 
    padding-right: 120px !important; 
  }

  .card {
    width: 100% !important;
    align-items: center !important; 
    margin-bottom: 20px !important;
  }

  .card img {
    width: 25% !important; 
    height: auto;
    margin-top: 20px; 
  }

  .card .headline {
    margin-top: 15px;
    font-size: 32px!important; 
  }

  .card .published-date {
    font-size: 18px !important; 
  }

  .card .supporting-text {
    font-size: 18px !important; 
  }
}

