/****************/
/* HERO SECTION */
/****************/

/* Universal selector */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
/* element selector */
body {
  background-color: #f7f7f7;
  color: #333;
  font-family: "Poppins", Times, serif;
}

/* class selector */

.hero {
  padding: 100px;
}

.hero__title{
  color: #f5f5f5;
}

.hero__description{
  color: #81da76;
}

.hero__highlight{
  color: #dbfbe0;
}

/******************/
/*  FONTS SECTION */
/******************/

.feature {
  padding: 100px;
}

.feature__item{
  padding: 30px 0px;
}

.feature__title {
  font-size: 2rem;
  font-weight: 500;
  text-transform: uppercase;
  color: #23c93c;
  margin-bottom: 10px;
}

.feature__title--selected{
  text-decoration: underline;
}

.feature__description{
  text-align: left;
}

/*******************/
/*  COLORS SECTION */
/*******************/

.cta{
  padding: 100px;
  background-color: rgb(91, 180, 113);
  color: #fff;
  text-align: center;
}

.cta__description{
  padding: 15px 0;
  color: #dbdbdb;
}

button {
  color: none;
  border: none;
}

.cta__button {
  padding: 10px 20px;
}

/**********************/
/*  BOX MODEL SECTION */
/**********************/

.video {
  text-align: center;
  padding: 100px;
  font-weight: 500;
}

.video__title {
  font-size: 32px;
  font-weight: 500;
}

.video__description {
  margin-top: 10px;
  font-weight: 300;
  color: #6e6e6e;
}

.video__controls {
  margin-top: 20px;
}

.video__button {
  border: 1px solid;
  background: none;
  padding: 10px 20px;
}

.video__button--primary {
  margin-right: 10px;
}

.video__container {
  margin-top: 20px;
  background-color: #ccc;
  width: 100%;
  height: 500px;
  box-shadow: 1px 4px 7px 4px rgba(0,0,0,0.33);
}

/*****************/
/*  FLEX SECTION */
/*****************/

.programs {
  padding: 100px;
  background-color: #eee;
  padding-bottom: 200px;
}

.programs__cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.programs__card {
  background-color: #b5b5b5;
  padding: 30px;
  width: 30%;
  height: 400px;
}

/******************************************/
/*  HTML Elements & Images - Form Section */
/******************************************/

.element{
  display: flex;
  justify-content: space-between;
  padding: 100px;
  gap: 60px;
  background-color: #f8f9fa;
}

.element__left {
  flex: 1;
}

.element__right {
  flex: 1;
}

.element__subtitle {
  color: #5d5d5d;
  margin-top: 10px;
  margin-bottom: 30px;
}

.element__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.element__placeholder {
  background-color: gray;
  width: 100%;
  height: 100%;
}

.element__list {
  list-style-type: none;
  padding-left: 0;
}

.element__list-item {
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
  color: #5d5d5d;
}

.element__list-item:before {
  content: "→";
  margin-right: 10px;
  color: #34c759;
}

.element__form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.element__form-group label {
  color: #333;
  font-weight: 500;
}

.element__form-group input,
.element__form-group select {
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-family: inherit;
}

.element__form-group input:focus,
.element__form-group select:focus {
  outline: none;
  border-color: #34c759;
  box-shadow: 0 0 0 2px rgba(52,199,89, 0.2)
}

.element__form-group select {
  cursor: pointer;
  background: white;
}

.element__form-group option {
  padding: 8px;
}

.element__button {
  background-color: #34c759;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

.element__button:hover {
  background-color: #2db14e;
}
/****************************/
/* Images and Final Touches */
/****************************/

.hero {
  height: 50vh;
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-color: rgba(0,0,0,0.55);
  background-blend-mode: overlay;
  text-align: center;
  align-content: center;
}

.feature {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}j

.feature__container {
  flex-basis: 50%;
}

.feature__image-container {
  flex-basis: 50%;
}

.feature__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__title {
  font-size: 24px;
  font-weight: 400;
}

.cta__button--primary:hover {
  background-color: #d0d0d0;
  cursor: pointer;
}

.video__button__primary {
  color: #5bb471;
}

.video__button--primary:hover {
  background-color: #5bb471;
  color: white;
  cursor: pointer;
}

.video__button__secondary {
  color: #5bb471;
}

.video__button--secondary:hover {
  background-color: #5bb471;
  color: white;
  cursor: pointer;
}

.video__container {
  background-image: url(images/video.jpg);
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  background-color: rgba(0,0,0,0.05);
  height: 700px;
}

.programs__card {
  background: none;
  padding: 0;
  flex-basis: 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
  height: 500px;
  border-radius: 8px;
}

.programs__card-image {
  width: 100%;
  height: 700px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.programs__card-description {
  color: #6e6e6e;
  font-weight: 300;
  margin-bottom: 15px;
}

.programs__button {
  background-color: #34c759;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: auto;
}

.programs__button:hover  {
  background-color: #2db14e;
}

.element__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  justify-content: center;
}

.nav {
  padding: 0px 100px;
  display: flex;
  align-content: center;
  align-items: center;
}

.nav__logo {
  padding: 10px 0;
  margin-left: 10px;
  margin-right: auto;
}

.nav__link {
  font-weight: 500;
  margin-right: 10px;
  text-wrap: nowrap;
  text-align: center;
  color: black;
  text-decoration: none;
  align-items: flex-end;
  padding: 0px 5px;
  
}

.footer__content {
  padding: 20px 100px;
  background-color: #eee;
  display: flex;
  align-content: flex-start;
}

.footer__links {
  display: flex;
  justify-content: space-evenly;
  align-content: flex-start;
}

.footer__links h4 {
  margin-bottom: 5px;
}

.footer__logo {
  width: 40%;
  margin: auto;
  padding-right: 15%;
  margin-bottom: 10px;
}

.footer__column {
 width: 15%;
 padding: 0 8px;
 margin-right: auto;
}

.footer__social {
  margin-right: 0;
  text-align: center;
  align-items: center;
  width: 110%;
}

.footer__column a {
  font-weight: 300;
  text-align: center;
  color: black;
  text-decoration: none;
}

.footer__social a {
  margin-right: 5px;
}

.footer__button {
  background-color: #34c759;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: auto;
}

.footer__bottom {
  background-color: #eee;
  text-align: center;
  font-weight: 500;
}