/* style/resources-hot51-app-features.css */

.page-resources-hot51-app-features {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Inherit from body */
}

.page-resources-hot51-app-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-hot51-app-features__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  background-color: #017439; /* Using brand color for hero background */
  color: #ffffff;
  overflow: hidden;
}

.page-resources-hot51-app-features__hero-content {
  flex: 1;
  padding-right: 40px;
  text-align: left;
}

.page-resources-hot51-app-features__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-hot51-app-features__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-resources-hot51-app-features__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-resources-hot51-app-features__btn-primary,
.page-resources-hot51-app-features__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-hot51-app-features__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-hot51-app-features__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-resources-hot51-app-features__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-hot51-app-features__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-resources-hot51-app-features__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources-hot51-app-features__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-hot51-app-features__section {
  padding: 60px 0;
}

.page-resources-hot51-app-features__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-resources-hot51-app-features__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-hot51-app-features__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-resources-hot51-app-features__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-hot51-app-features__centered-text {
  text-align: center;
}

.page-resources-hot51-app-features__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-hot51-app-features__feature-item {
  text-align: center;
}

.page-resources-hot51-app-features__feature-title {
  font-size: 1.8em;
  margin-top: 20px;
  margin-bottom: 15px;
  color: inherit;
}

.page-resources-hot51-app-features__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-hot51-app-features__feature-description {
  font-size: 1em;
  opacity: 0.9;
}

.page-resources-hot51-app-features__card {
  background-color: #ffffff; /* Default card background */
  color: #333333; /* Default card text color */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-resources-hot51-app-features__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-resources-hot51-app-features__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: inherit;
}

.page-resources-hot51-app-features__card-description {
  font-size: 1em;
  line-height: 1.5;
  text-align: justify;
}

.page-resources-hot51-app-features__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-hot51-app-features__feature-card ul {
  list-style-type: disc;
  padding-left: 20px;
  text-align: left;
  margin-top: 10px;
}

.page-resources-hot51-app-features__feature-card li {
  margin-bottom: 5px;
}

.page-resources-hot51-app-features__video-section {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.page-resources-hot51-app-features__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Max width for video */
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.page-resources-hot51-app-features__video {
  width: 100%;
  height: auto;
  display: block;
}

.page-resources-hot51-app-features__mt-20 {
  margin-top: 20px;
}

.page-resources-hot51-app-features__promo-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-resources-hot51-app-features__promo-item {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  color: #333333;
}