﻿.header-div {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  overflow: visible;
  max-height: 680px;
}

.header-img {
  width: 100%;
  max-width: 850px;
  z-index: 1;
  margin-right: -0.5rem;
}

.text-block {
  position: absolute;
  left: 1rem;
  top: 45%;
  transform: translateY(-50%);
  z-index: 2;
  margin-left: 3rem;
}

.sponsors-title {
  font-size: 9rem;
  font-family: var(--headerFont);
  color: black;
  margin-top: -2.5rem;
}

.sponsors-title-sm {
  font-size: 5rem;
  font-weight: 800;
  font-family: var(--bodyFont);
}

.sponsors-btn-main {
  background-color: var(--logoBlue);
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.5rem 1rem;
  width: 80%;
}

.sponsors-btn-main:hover {
  background-color: var(--darkBlue);
  color: white;
}

.heading {
  font-size: 3rem;
  font-family: var(--headerFont);
}

.description {
  font-size: 1.5rem;
  font-family: var(--bodyFont);
  max-width: 1000px;
}

.section-heading, .section-description {
  font-family: var(--bodyFont);
}

.section-heading {
  color: black;
  font-weight: 700;
}

.section-description {
  font-size: 1.3rem;
}

.sponsors-btn {
  background-color: white;
  border: 2px solid var(--logoBlue);
  color: var(--logoBlue);
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.5rem 1rem;
  width: 80%;
}

.sponsors-btn:hover {
  background-color: var(--logoBlue);
  border: 2px solid var(--logoBlue);
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.5rem 1rem;
  width: 80%;
}

.products-card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1399px) {
  .header-div {
    flex-direction: column;
    align-items: center;
    max-height: none;
  }
  .text-block {
    position: static;
    transform: none;
    margin: 2rem 1rem 1.5rem;
    text-align: center;
  }
  .header-img {
    max-width: 60%;
    margin: -1rem 0 -5rem;
  }
}
