/* Hero Section Styles */
.hero {
  position: relative;
  margin: 0 20px;
  margin-top: 25px;
  height: 511px;
  max-height: 511px;
}

.hero-bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.8);
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 60px;
  bottom: -60px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 48px 0px 0 87px;
}

.info-card {
  background: #f8f7ec;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  padding: 63px 51.72px 62px 52px;
  max-width: 598px;
  /* border-radius: 0 24px 8px 8px; */
  position: relative;
  z-index: 1;
  clip-path: polygon(0 0, 88% 0, 100% 20%, 100% 100%, 0 100%);
  height: 415px;
}

.info-card h1 {
  font-weight: 500;
  font-size: 40px;
  margin-bottom: 32px;
  color: #000000;
  line-height: 1.2;
}

.info-card p {
  font-size: 16px;
  color: #484848;
  margin-bottom: 40px;
}

.strike {
  text-decoration: line-through;
  color: #b2b2b2;
}

.actions {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 10;
}

.hero .btn-primary,
.hero .btn-secondary {
  font-weight: 600;
  font-size: 14px;
  padding: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.hero .btn-primary {
  background: #ffcc29;
  color: #1f1f1f;
  border: none;
}

.hero .btn-primary:hover {
  opacity: 0.9;
  cursor: pointer !important;
}

.hero .btn-secondary {
  background: transparent;
  color: #1f1f1f;
  border: 1px solid #1f1f1f;
}

.hero .btn-secondary:hover {
  background: rgba(31, 31, 31, 0.05);
  cursor: pointer !important;
}

.established-badge {
  background: #8e2929;
  color: #fff;
  padding: 10.53px 10px 10.47px 18px;
  width: 266px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 137px;
  clip-path: polygon(0 0, 80% 0, 100% 40%, 100% 100%, 0 100%);
}

.info {
  display: flex;
}

.year h1 {
  font-size: 40px;
  font-weight: 700;
  margin: 0;
  line-height: 1;
  font-weight: bold;
}

.year {
  font-size: 14px;
  margin-bottom: 16px;
  font-weight: 400;
}

.year span {
  font-size: 2rem;
  font-weight: 700;
  display: inline-block;
  margin-left: 6px;
}

.desc {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.2;
}

.info .arrow {
  background: #fff;
  padding: 3.35px 12.53px 10.35px 13.19px;
  border-radius: 16.77px;
  height: 32px;
  width: 32px;
}

@media (max-width: 1024px) {
  .hero-content {
    padding: 29px 0 0 29px;
    right: 29px;
  }
  .info-card {
    padding: 25px 15px 25px 15px;
    height: 310px;
    max-width: 550px;
  }
  .info-card h1 {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .info-card p {
    margin-bottom: 24px;
  }

  .hero .btn-primary,
  .hero .btn-secondary {
    font-size: 14px;
    padding: 12px;
  }

  .established-badge {
    padding: 12.53px 4.43px 12.47px 13px;
    right: 20px;
    bottom: -10px;
  }
}

@media (max-width: 768px) {
  .info-card h1 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .info-card p {
    margin-bottom: 24px;
  }

  .hero {
    margin: 0 16px;
    height: auto;
    min-height: 636px;
    padding-bottom: 100px;
  }
  .hero-bg {
    height: 636px;
    position: relative;
  }
  .hero-content {
    padding: 29px 16px;
    right: 0;
    bottom: 0;
  }

  .info-card {
    padding: 35px 16px 31.38px;
    clip-path: polygon(0 0, 80% 0, 100% 10%, 100% 100%, 0 100%);
    height: auto;
  }
  .hero .btn-primary,
  .hero .btn-secondary {
    font-size: 14px;
    padding: 12px;
    width: 192px;
    text-align: center;
  }
  .actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .established-badge {
    padding: 10.53px 10px 10.47px 18px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: -60px;
    width: 266px;
    height: 137px;
  }
}

@media only screen and (max-width: 430px) {
  .hero-bg {
    height: 600px;
  }
  .info-card {
    max-width: 100%;
  }
  .established-badge {
    right: 70px;
  }
}

@media (max-width: 360px) {
  .hero-content {
    bottom: -125px;
  }
  .established-badge {
    padding: 15.53px 4.43px 15.47px 13px;
    right: 7px;
  }
}
