/* Refer Friend Page Styles */
.refer-friend-page {
    background: #f8f9fa;
  }
  
  /* Breadcrumbs */
  .refer-breadcrumbs {

    padding: 15px 0;
  }
  
  .breadcrumb-nav {
    display: flex;
    align-items: center;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0;
    color: #6c757d;
    height: 40px;
    border-bottom: 1.5px solid #00000026;
    margin-bottom: 20px;
  }
  
  .breadcrumb-link {
    color: #007cba;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .breadcrumb-link:hover {
    color: #005a87;
    text-decoration: underline;
  }
  
  .breadcrumb-separator {
    margin: 0 10px;
    color: #6c757d;
  }
  
  .breadcrumb-current {
    color: #495057;
    font-weight: 500;
  }
  
  /* Refer Friend Banner Slider */
  .refer-friend-banner-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 60px;
  }
  
  .refer-banner-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .refer-banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .refer-banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
  }
  
  .refer-banner-slide.active {
    opacity: 1;
  }
  
  .refer-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: 1;
  }
  
  .refer-banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
  }
  
  .refer-banner-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .refer-banner-text {
    max-width: 600px;
    animation: slideInUp 1s ease-out;
  }
  
  .refer-banner-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .refer-banner-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  }
  
  .refer-banner-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  }
  
  .refer-banner-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #007cba, #0096d6);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .refer-banner-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.4);
    background: linear-gradient(45deg, #0096d6, #007cba);
    color: white;
    text-decoration: none;
  }
  
  /* Navigation Arrows */
  .refer-banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
  }
  
  .refer-banner-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
  }
  
  .refer-banner-prev {
    left: 30px;
  }
  
  .refer-banner-next {
    right: 30px;
  }
  
  .refer-banner-nav i {
    font-size: 1.2rem;
  }
  
  /* Dots Indicator */
  .refer-banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
  }
  
  .refer-banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .refer-banner-dot.active,
  .refer-banner-dot:hover {
    background: white;
    border-color: white;
  }
  
  /* Refer Benefits Section */
  .refer-benefits-section {
    padding: 60px 0;
  }
  
  .refer-benefits-header {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .refer-benefits-title {
    color: #2c3e50;
    margin-bottom: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;            /* Bold = 700 */
    font-style: normal;          /* 'Bold' là font-weight, style là normal */
    font-size: 2rem;             /* 32px ÷ 16 = 2rem */
    line-height: 1.2;            /* 120% = 1.2 */
    letter-spacing: 0;
    text-align: center;

  }
  
  .refer-benefits-subtitle {
    color: #7E61D4;
    font-weight: 600;
  }
  
  .refer-benefits-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
  }
  
  .refer-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 480px; /* Limit height to show ~3 items */
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: #007cba #f1f1f1;
  }
  
  /* Custom scrollbar for webkit browsers */
  .refer-benefits-list::-webkit-scrollbar {
    width: 6px;
  }
  
  .refer-benefits-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
  }
  
  .refer-benefits-list::-webkit-scrollbar-thumb {
    background: #007cba;
    border-radius: 3px;
  }
  
  .refer-benefits-list::-webkit-scrollbar-thumb:hover {
    background: #005a87;
  }
  
  .refer-benefit-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 15px;
    background: #f8f9fa;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevent items from shrinking */
    min-height: 140px; /* Ensure consistent height */
  }
  
  .refer-benefit-item:hover,
  .refer-benefit-item.hover,
  .refer-benefit-item.active {
    background: #fff;

  }
  
  .refer-benefit-item.active {
    box-shadow: 0 10px 30px rgba(0, 124, 186, 0.15);
  }
  

  .benefit-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
  }
  
  .benefit-content {
    flex: 1;
  }
  
  .benefit-title {

    color: #7E61D4;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;            /* Bold = 700 */
    font-style: normal;          /* 'Bold' là font-weight, style = normal */
    font-size: 1rem;             /* 16px ÷ 16 = 1rem */
    line-height: 1.2;            /* 120% = 1.2 */
    letter-spacing: 0;
    vertical-align: middle;

  }
  .benefit-description strong{
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;            /* SemiBold = 600 */
    font-style: normal;          /* 'SemiBold' là font-weight, style vẫn là normal */
    font-size: 0.875rem;         /* 14px ÷ 16 = 0.875rem */
    line-height: 1.2;            /* 120% = 1.2 */
    letter-spacing: 0;

  }
  .benefit-description {
    color: #6c757d;
    line-height: 1.6;
    width: 375px;
    margin-bottom: 15px;
  }
  
  .benefit-button {
    color: #7E61D4;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: right;
    display: flex;
    justify-content: end;
  }
  
  /*.benefit-button:hover {*/
  /*  background: #005a87;*/
  /*  color: white;*/
  /*  text-decoration: none;*/
  /*  transform: translateY(-1px);*/
  /*}*/
  
  .refer-benefits-image {
    display: flex;
    height: 100%;
    justify-content: end;
    align-items: center;
  }
  
  .benefits-image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  }
  
  .benefit-display-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
  }
  
  /*!* Refer Steps Section *!*/
  /*.refer-steps-section {*/
  /*  padding: 80px 0;*/
  /*  background: #f8f9fa;*/
  /*}*/
  
  .refer-steps-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    padding: 30px;
    background: #EBEEF2;
    border-radius: 23px;
    justify-content: center;
  }
  
  .refer-steps-image {
    display: flex;
    justify-content: center;
  }
  
  .steps-main-image {
    width: 100%;
    height: auto;
  }
  
  .refer-steps-info {
    padding: 20px ;
  }
  
  .steps-title {

    color: #2c3e50;
    margin-bottom: 20px;
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;            /* 'Bold' = font-weight: 700 */
      font-style: normal;          /* 'Bold' là weight, không phải style */
      font-size: 2rem;             /* 32px ÷ 16 = 2rem */
      line-height: 1.2;            /* 120% = 1.2 */
      letter-spacing: 0;
      text-align: center;

  }
  
  .steps-description {
    color: #6c757d;
    margin-bottom: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;            /* Light = 300 */
    font-style: normal;          /* 'Light' là font-weight, không phải font-style */
    font-size: 1rem;             /* 16px ÷ 16 = 1rem */
    line-height: 1.75rem;        /* 28px ÷ 16 = 1.75rem */
    letter-spacing: 0;

  }
  
  .steps-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .accordion-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  .fa-solid.fa-plus,.fa-solid.fa-minus{
    color: #C5C5C5;
    font-size: 11px;
  }
  .accordion-header {
    padding: 20px 25px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
  }
.refer-steps-section.animate-in{
  padding-bottom: 50px;
}
.container.program{
  max-width: calc(100% - 100px);
  margin: 0 auto;
  padding: 0 20px;
}
  .accordion-body a{
    color: #F2784D;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0;
  }
  .accordion-header:hover {
    background: #f8f9fa;
  }
  
  /*.accordion-header.active {*/
  /*  background: #007cba;*/
  /*  color: white;*/
  /*  border-bottom-color: #007cba;*/
  /*}*/
  
  .accordion-title,.step-number {
    color:#939393 ;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 700;            /* Bold = 700 */
    font-style: normal;          /* 'Bold' là weight, style là normal */
    font-size: 1rem;        /* 11px ÷ 16 = 0.6875rem */
    line-height: 1.5;            /* 150% = 1.5 */
    letter-spacing: 0;

  }
.step-number{
  margin-right: 12px;
  display: inline-block;
}
  .accordion-icon {
    transition: transform 0.3s ease;
    border-radius: 50%;
    border: 1px solid #C5C5C5;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    display: flex;  }
  
  .accordion-header.active .accordion-icon {
    transform: rotate(180deg);
    color: white;
  }
  
  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .accordion-content.active {
    max-height: 500px;
  }
  
  .accordion-body {
    padding: 0px 25px 25px;    color: #939393;
    font-family: 'Inter', sans-serif;
    font-weight: 400;            /* Regular = 400 */
    font-style: normal;          /* 'Regular' tương đương với 'normal' */
    font-size: 1rem;        /* 11px ÷ 16 = 0.6875rem */
    line-height: 1.5;            /* 150% = 1.5 */
    letter-spacing: 0;
    vertical-align: middle;

  }
  
  /* Animations */
  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .refer-friend-banner-slider {
      height: 300px;
    }
  
    .refer-banner-title {
      font-size: 2rem;
    }
  
    .refer-banner-subtitle {
      font-size: 1.3rem;
    }
  
    .refer-banner-description {
      font-size: 1rem;
    }
  
    .refer-banner-nav {
      width: 50px;
      height: 50px;
    }
  
    .refer-banner-prev {
      left: 15px;
    }
  
    .refer-banner-next {
      right: 15px;
    }
  
    .refer-benefits-content,
    .refer-steps-content {
      grid-template-columns: 1fr;
      gap: 40px;
    }
  
    .refer-benefits-title {
      font-size: 2rem;
    }
  
    .steps-title {
      font-size: 1.8rem;
    }
  
    .refer-benefit-item {
      padding: 20px;
    }
  
    .benefit-number {
      width: 40px;
      height: 40px;
      font-size: 1rem;
    }
  
    .benefit-title {
      font-size: 1.1rem;
    }
  }
  
  @media (max-width: 480px) {
    .refer-friend-banner-slider {
      height: 250px;
    }
  
    .refer-banner-title {
      font-size: 1.5rem;
    }
  
    .refer-banner-subtitle {
      font-size: 1.1rem;
    }
  
    .refer-banner-button {
      padding: 12px 24px;
      font-size: 1rem;
    }
  
    .refer-benefits-section,
    .refer-steps-section {
      padding: 60px 0;
    }
  
    .refer-benefits-title {
      font-size: 1.8rem;
    }
  
    .steps-title {
      font-size: 1.6rem;
    }
  
    .refer-benefit-item {
      flex-direction: column;
      text-align: center;
      gap: 15px;
    }
  
    .benefit-number {
      align-self: center;
    }
  }
  
  /* Program Terms Section */
  .program-terms-section {
    padding: 80px 0;
  }
  
  .program-terms-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: flex-start;
  }
  
  .program-terms-title {
    position: sticky;
    top: 100px;

  }
  
  .terms-main-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Montserrat', sans-serif;
    font-style: normal; /* 'Bold' không phải giá trị hợp lệ, dùng 'normal' hoặc 'italic' */
    font-size: 2rem; /* 32px = 2rem (nếu 1rem = 16px) */
    line-height: 120%; /* hoặc line-height: 1.2 nếu bạn muốn dùng hệ số */
    letter-spacing: 0;
    text-align: left;
  }
  
  /*.program-terms-content {*/
  /*  border-radius: 15px;*/
  /*  overflow: hidden;*/
  /*}*/
  
  .terms-accordion {
    display: flex;
    flex-direction: column;
  }
  
  /*.terms-accordion-item {*/
  /*  border-bottom: 1px solid #e5e7eb;*/
  /*}*/
  
  /*.terms-accordion-item:last-child {*/
  /*  border-bottom: none;*/
  /*}*/
  
  .terms-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
  }
  
  .terms-accordion-header:hover {
    background: #f9fafb;
  }
  
  /*.terms-accordion-header.active {*/
  /*  background: #f3f4f6;*/
  /*  border-bottom: 1px solid #e5e7eb;*/
  /*}*/
  
  .terms-accordion-title {

    color: #374151;
    margin: 0;
    flex: 1;
    padding-right: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Medium tương ứng với 500 */
    font-style: normal; /* 'Medium' không phải giá trị hợp lệ */
    font-size: 1rem; /* 22px = 1.375rem (nếu 1rem = 16px) */
    line-height: 1.2; /* 120% = 1.2 */
    letter-spacing: 0;
    vertical-align: middle;
  }
  
  .terms-accordion-icon {
    color: #6b7280;
    transition: transform 0.3s ease, color 0.3s ease;
    font-size: 1rem;
    flex-shrink: 0;
    border-radius: 50%;
    background:  #C5C5C5;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    display: flex;

  }
  
  .terms-accordion-header.active .terms-accordion-icon {
    transform: rotate(180deg);
    color: #8b5cf6;
  }
  
  .terms-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #ffffff;
  }
  
  .terms-accordion-content.active {
    max-height: 1000px;
  }
  
  .terms-accordion-body {
    padding: 20px;
    color: #6b7280;
    background: #fafafa;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Medium tương ứng với 500 */
    font-style: normal; /* 'Medium' không hợp lệ, dùng 'normal' */
    font-size: 0.875rem; /* 14px = 0.875rem (vì 14 ÷ 16 = 0.875) */
    line-height: 1.3; /* 130% = 1.3 */
    letter-spacing: 0;
    text-align: justify;
  }
  
  .terms-accordion-body p {
    margin-bottom: 15px;
  }
  
  .terms-accordion-body p:last-child {
    margin-bottom: 0;
  }
  
  .terms-accordion-body ul,
  .terms-accordion-body ol {
    margin: 15px 0;
    padding-left: 20px;
  }
  
  .terms-accordion-body li {
    margin-bottom: 8px;
  }
  
  .terms-accordion-body strong {
    color: #374151;
    font-weight: 600;
  }
  
  /* Responsive Design for Program Terms */
  @media (max-width: 1024px) {
    .program-terms-layout {
      grid-template-columns: 1fr;
      gap: 40px;
    }
  
    .program-terms-title {
      position: static;
      order: -1;
      text-align: center;
      padding: 30px 25px;
    }
  
    .terms-main-title {
      font-size: 1.8rem;
    }
  }
  
  @media (max-width: 768px) {
    .program-terms-section {
      padding: 60px 0;
    }
  
    .program-terms-title {
      padding: 25px 20px;
      border-radius: 15px;
    }
  
    .terms-main-title {
      font-size: 1.6rem;
    }
  
    .terms-accordion-header {
      padding: 18px 20px;
    }
  
    .terms-accordion-title {
      font-size: 1rem;
    }
  
    .terms-accordion-body {
      padding: 20px;
    }
  }
  
  @media (max-width: 480px) {
    .program-terms-section {
      padding: 50px 0;
    }
  
    .program-terms-title {
      padding: 20px 15px;
      border-radius: 12px;
    }
  
    .terms-main-title {
      font-size: 1.4rem;
    }
  
    .terms-accordion-header {
      padding: 15px 18px;
    }
  
    .terms-accordion-title {
      font-size: 0.95rem;
      line-height: 1.4;
    }
  
    .terms-accordion-body {
      padding: 18px;
      font-size: 0.9rem;
    }
  }
  
  /* Focus states for accessibility */
  /*.terms-accordion-header:focus {*/
  /*  outline: 2px solid #8b5cf6;*/
  /*  outline-offset: -2px;*/
  /*}*/
  
  /* Animation for smooth appearance */
  .terms-accordion-item {
    opacity: 0;
    transform: translateY(10px);
    border-top: 1px solid #BBB;
    animation: fadeInUp 0.5s ease forwards;
  }
  
  .terms-accordion-item:nth-child(1) {
    animation-delay: 0.1s;
  }
  .terms-accordion-item:nth-child(2) {
    animation-delay: 0.2s;
  }
  .terms-accordion-item:nth-child(3) {
    animation-delay: 0.3s;
  }
  .terms-accordion-item:nth-child(4) {
    animation-delay: 0.4s;
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  