@import url("styles.css");

.hero-section {
  background: url("../images/webinars/webinar-hero.png");
  background-size: cover;
  background-position: center;
  padding: 0;
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  .hero-section {
    background: url("../images/webinars/webinar-hero-mobile.png");
    background-size: cover;
    background-position: center;
  }
   .hero-section h1 .font-family-2 {
    font-size: 36px !important;
  }
}

.hero-section h1 {
  color: #e4e9e9;
  text-align: center;
  font-family: Manrope;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0.24px;
}

.hero-section h1 .font-family-2 {
  color: #c7ee4e;
  font-family: "DM Serif Text";
  font-size: 58px;
  font-style: italic;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 0.28px;
}

.hero-section p {
  color: #bcc;
  text-align: center;
  font-family: Manrope;
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: 0.16px;
}

.webinars .upcoming h3 {
  color: var(--primary-100);
  font-weight: 600;
}

.webinars .upcoming .upcomingBtn {
  background: var(--secondary-100);
  font-weight: 600;
  padding: 10px 40px;
}

.webinars .card {
  border: none;
  box-shadow: none;
  background: transparent;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.webinars .card-body {
  background: #fff;
  border-radius: 0 0 16px 16px;
  border: 0.5px solid #b3c1c2;
  border-top: none;
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.webinars .card:hover {
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.075);
  transform: scale(1.01);
}

.webinars h1 {
  font-weight: 700;
  font-size: 2rem;
  color: var(--primary-100);
}

.webinars h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-100);
}

.webinars a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-100);
}

.webinars iframe {
  border: none;
  border-radius: 12px 12px 0 0;
  width: 100%;
  height: 220px;
}

.webinars .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #003134;
  margin-bottom: 10px;
}

.webinars p {
  font-size: 0.9rem;
  color: #4c4c4c;
  margin-bottom: 0;
}

.webinars h1.webinar-text {
  color: #003134;
  font-family: Manrope;
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0.18px;
}

.webinars .watch-btn {
  display: flex;
  height: 48px;
  padding: 13px 60px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 20px;

  border-radius: 8px;
  border: 1px solid #003134;
  background: transparent;

  color: #003134;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.08px;
  text-transform: capitalize;

  transition: all 0.2s ease-in-out;
  cursor: pointer;
  text-decoration: none;
}

.webinars .watch-btn:hover {
  border-radius: 8px;
  border: 0.5px solid var(--Light-Mode-Main-Text, #003134);
  background: linear-gradient(
    180deg,
    rgba(214, 214, 214, 0.2) 0%,
    rgba(199, 238, 78, 0.2) 100%
  );
  box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3.5px);
}

.webinars .watch-btn:active {
  border-radius: 8px;
  border: 0.5px solid var(--Light-Mode-Main-Text, #003134);
  background: linear-gradient(
    180deg,
    rgba(210, 223, 224, 0.2) 60.1%,
    rgba(199, 238, 78, 0.2) 100%
  );
  box-shadow: 0 8px 10px 0 rgba(0, 0, 0, 0.1) inset,
    0 5px 5px 0 rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(3.5px);
}

.webinars .card-body a {
  text-decoration: none;
}

.bottomCTA {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 80px;
  gap: 40px;
  border-radius: 16px;
  background: #003134;
  margin-top: 50px;
}

.bottomCTA h2 {
  color: #e4e9e9;
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 0.18px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.bottomCTA span {
  color: #c7ee4e;
  font-family: "DM Serif Text";
  font-size: 40px;
  font-style: italic;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: 0.2px;
}

.bottomCTA p {
  color: #bcc;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: 0.16px;
}

.primary-btn {
  display: flex;
  padding: 20px 40px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    #f3fbd9 -4.17%,
    #c7ee4e 14.96%,
    #85b000 88.25%,
    #9acc00 108.33%
  );
  color: #1e2f2c;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.08px;
  text-decoration: none;
  min-width: 300px;
}
.primary-btn:hover {
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    #ddf29b 10.42%,
    #c2eb45 27.41%,
    #a5d60e 88.41%,
    #85ae07 101.04%
  );
  box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
}

.primary-btn:active {
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    #85ae07 10.42%,
    #a5d60e 47.89%,
    #c2eb45 84.05%,
    #ddf29b 101.04%
  );
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25) inset,
    0 4px 5px 0 rgba(0, 0, 0, 0.2);
}

.bottomCTA a.secondary-btn {
  display: flex;
  padding: 20px 40px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 8px;
  border: 0.5px solid #e4e9e9;
  background: #003134;
  color: white;
  min-width: 300px;
  margin-top: 14px;
  text-decoration: none;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.08px;
}

.secondary-btn:hover {
  border-radius: 8px;
  border: 0.5px solid var(--Light-Mode-Main-Text, #003134);
  background: linear-gradient(
    180deg,
    rgba(214, 214, 214, 0.2) 0%,
    rgba(199, 238, 78, 0.2) 100%
  );
  box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3.5px);
}
.secondary-btn:active {
  border-radius: 8px;
  border: 0.5px solid var(--Light-Mode-Main-Text, #003134);
  background: linear-gradient(
    180deg,
    rgba(210, 223, 224, 0.2) 60.1%,
    rgba(199, 238, 78, 0.2) 100%
  );
  box-shadow: 0 8px 10px 0 rgba(0, 0, 0, 0.1) inset,
    0 5px 5px 0 rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(3.5px);
}

@media (max-width: 768px) {
  .bottomCTA {
    flex-direction: column;
    align-items: stretch;
    padding: 40px 30px;
    gap: 30px;
  }
  .hero-section h1 {
  font-size: 32px;
}

  .cta-text {
    order: 1;
    width: 100%;
  }

  .bottomCTA h2 {
    font-size: 30px;
    margin-bottom: 12px;
  }

  .bottomCTA span {
    font-size: 36px;
  }

  .bottomCTA p {
    font-size: 15px;
    margin-bottom: 0;
  }

  .cta-buttons {
    order: 2;
    align-items: stretch;
    width: 100%;
  }

  .primary-btn,
  .secondary-btn {
    min-width: 100%;
    width: 100%;
    padding: 18px 30px;
    font-size: 15px;
  }

  .secondary-btn {
    margin-top: 12px;
  }
}

@media (max-width: 480px) {
  .bottomCTA {
    padding: 30px 20px;
    gap: 25px;
    margin-top: 40px;
  }

  .bottomCTA h2 {
    font-size: 30px;
  }

  .bottomCTA span {
    font-size: 36px;
  }

  .bottomCTA p {
    font-size: 14px;
  }

  .primary-btn,
  .secondary-btn {
    padding: 16px 25px;
    font-size: 14px;
  }
}
