/* style/hop-tac.css */
.page-hop-tac {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

.page-hop-tac__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-hop-tac__hero-section {
  padding-top: 10px; /* Small top padding as shared.css handles body padding-top */
  padding-bottom: 60px;
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Using auxiliary and main color for hero background */
  color: #FFFFFF;
}

.page-hop-tac__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 16px;
}

.page-hop-tac__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-hop-tac__hero-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Using clamp for H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-hop-tac__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #F4F7FB;
}

.page-hop-tac__hero-image {
  flex: 1 1 45%;
  text-align: center;
}

.page-hop-tac__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-hop-tac__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-hop-tac__btn-primary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #FFFFFF;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-hop-tac__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-hop-tac__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 40px;
}

.page-hop-tac__paragraph {
  font-size: 1.05em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

.page-hop-tac__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-hop-tac__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-hop-tac__benefit-item {
  background-color: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

.page-hop-tac__benefit-item:hover {
  transform: translateY(-5px);
}

.page-hop-tac__icon-box-media {
  width: 120px;
  height: 120px;
  aspect-ratio: 1/1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F4F7FB;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-hop-tac__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-hop-tac__benefit-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #2F6BFF; /* Main color */
  margin-bottom: 10px;
}

.page-hop-tac__benefit-description {
  font-size: 1em;
  color: #1F2D3D; /* Text Main */
  line-height: 1.5;
}

.page-hop-tac__how-to-join-section {
  background-color: #FFFFFF;
  padding: 60px 0;
  margin-top: 40px;
  border-radius: 12px;
}

.page-hop-tac__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-hop-tac__step-item {
  background-color: #F4F7FB;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border-left: 5px solid #2F6BFF;
}

.page-hop-tac__step-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-hop-tac__step-description {
  font-size: 0.95em;
  color: #1F2D3D;
}

.page-hop-tac__contact-section {
  padding-bottom: 60px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-hop-tac__hero-title {
    font-size: clamp(2em, 4vw, 2.5em);
  }

  .page-hop-tac__section-title {
    font-size: 2em;
  }

  .page-hop-tac__benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO section */
  .page-hop-tac__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-hop-tac__hero-container {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
  }

  .page-hop-tac__hero-content {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-hop-tac__hero-title {
    font-size: clamp(1.8em, 6vw, 2em);
    margin-bottom: 15px;
  }

  .page-hop-tac__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-hop-tac__hero-image {
    flex: 1 1 100%;
  }

  .page-hop-tac__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-hop-tac__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* Module 1 (three columns with round images) - Benefits Section */
  .page-hop-tac__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-hop-tac__icon-box-media {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
  }

  /* General content sections */
  .page-hop-tac__container {
    padding: 20px 15px;
  }

  .page-hop-tac__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-hop-tac__paragraph {
    font-size: 0.95em;
  }

  .page-hop-tac__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

  /* How to Join Steps */
  .page-hop-tac__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-hop-tac__step-item {
    padding: 20px;
  }

  .page-hop-tac__step-title {
    font-size: 1.2em;
  }

  .page-hop-tac__step-description {
    font-size: 0.9em;
  }

  /* General image and container rules for mobile */
  .page-hop-tac img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-hop-tac__section,
  .page-hop-tac__card,
  .page-hop-tac__container,
  .page-hop-tac__benefits-grid,
  .page-hop-tac__steps-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}