/* ====== Reset and base styles ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: "Noto Sans SC", sans-serif;
  /* overflow-x: hidden; */
}

body {
  background: #fff;
  color: #333;
  display: flex;
  flex-direction: column;
}

/* ====== Wrappers ====== */
.header-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  /* position: relative; */
}

#supportColumn,
#faqColumn,
#hero-image-wrapper-s3 {
  scroll-margin-top: 120px;
}

.faq-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 150px;
  width: 100%;
  padding-top: 30px !important;
}

/* ====== Navbar ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    padding 0.3s ease;
}

.logo {
  display: flex;
  gap: 20px;
  align-items: center;
}

.logo .logomadani {
  height: 59px;
  margin-right: 10px;
  transition: height 0.5s ease;
}

.logo .logogood {
  height: 100px;
  margin-right: 10px;
  transition: height 0.5s ease;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.register-btn {
  border: 1px solid #ed0b70;
  padding: 17px 43px;
  border-radius: 20px;
  font-weight: bold !important;
  color: #ed0b70 !important;
  transition: all 0.5s ease;
  text-decoration: none;
}

.burger {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  display: none;
  z-index: 9999;
}

.burger img {
  width: 32px;
  height: 32px;
  display: block;
}

.register-btn:hover {
  background-color: #ed0b70;
  color: #fff !important;
}

.navbar.scrolled {
  background-color: #fff;
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
}
.navbar.scrolled .logo .logogood {
  height: 67px;
}
.navbar.scrolled .logo .logomadani {
  height: 39px;
}

/* ====== Responsive Navbar ====== */
@media (max-width: 1023px) {
  .register-btn {
    padding: 12px 33px;
  }
  .navbar {
    padding: 50px 60px;
    justify-content: space-between;
  }
  nav {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 15px;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 80vw;
    height: 100vh;
    background: #f37160;
    flex-direction: column;
    align-items: flex-start;
    padding: 130px 50px 20px 50px;
    gap: 30px;
    border-top: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
    overflow-x: hidden; /* Disable horizontal scroll */
    overflow-y: auto; /* Allow vertical scroll */
    transform: translateX(50%);
  }

  .nav-links.nav-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0%);
  }

  .nav-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
  }

  .nav-close-btn img {
    width: 32px;
    height: 32px;
  }

  .nav-links li a {
    color: white;
    font-weight: 600;
    font-size: 18px;
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .burger {
    display: flex;
  }

  .logo .logogood {
    height: 67px;
    margin-right: 0px;
  }

  .navbar.scrolled {
    padding: 15px 25px;
  }
}

@media (max-width: 767px) {
  .navbar {
    padding: 45px 25px;
  }
  .logo .logomadani {
    height: 39px;
  }
  .logo {
    gap: 12px;
  }
}

/* ====== Hero Content ====== */
.content {
  padding: 60px 0;
}

.content h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

.content p {
  max-width: 700px;
  margin-bottom: 15px;
}

.image-banner {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  display: block;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
}

.hero-cta {
  position: absolute;
  bottom: 36%;
  right: 20%;
  z-index: 3;
}

.cta-btn {
  background: #00b597;
  color: #fff;
  padding: 18px 43px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-btn-two {
  background: #ec008c;
  color: #fff;
  padding: 17px 43px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background: #01a388;
}

/* ====== Visibility Toggles ====== */
.desktop-only {
  display: block;
}

.laptop-only {
  display: none;
}

.mobile-only {
  display: none;
}

/* Tablet / Laptop range */
@media (max-width: 1480px) and (min-width: 1024px) {
  .desktop-only {
    display: none !important;
  }
  .laptop-only {
    display: block !important;
  }
  .mobile-only {
    display: none !important;
  }

  .hero-cta {
    position: absolute;
    bottom: 36%;
    right: 10%;
    z-index: 3;
    text-align: center;
  }
}

/* mobile range */
@media (max-width: 1023px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .hero-cta {
    position: absolute;
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    width: 100%;
    padding: 0 20px;
  }
  li .register-btn {
    display: none !important;
  }
}

/* ====== FAQ & Support Section ====== */
.faq-support-section {
  padding: 60px 0;
}

.faq-support-container {
  display: flex;
  flex-wrap: wrap;
  gap: 100px;
  width: 100%;
}

.faq-column {
  flex: 1;
  min-width: 300px;
}

.faq-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.faq-title img {
  height: 69px;
}

.faq-list {
  list-style: none;
  border-top: 1px solid #000000;
}

.faq-list li {
  border-bottom: 1px solid #000000;
  padding: 0;
  display: block;
}

.accordion {
  background-color: #fff;
  color: #333;
  padding: 25px 0;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 18px;
  font-weight: bold;
  transition: 0.4s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.icon {
  width: 24px;
}

.accordion span {
  font-family: "Noto Sans SC", sans-serif;
  font-weight: bold;
}

.accordion.active {
  background-color: #fff;
  padding: 25px 0 10px;
}

.accordion-content {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.panel {
  overflow: hidden;
  /* opacity: 0; */
  transform: translateY(-10px);
  background-color: #fff;
  font-size: 14px;
  color: #000000;
  padding: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease,
    padding 0.4s ease;
    /* display: none; */
    max-height: 0;
}

.panel.open {
  opacity: 1 !important;
  /* padding: 10px 0 10px; */
  margin-top: 5px;
  margin-bottom: 25px;
  transform: translateY(0);
  display: block;
}

/* FAQ note */
.faq-note {
  font-size: 15px;
  color: #000000;
  margin-top: 20px;
  font-weight: 400;
}

/* Support Column */
.support-column {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.support-box-whatsapp {
  background: #f7f7f7;
  padding: 50px;
  border-radius: 12px;
  color: #000;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 26px;
  align-items: flex-start;
}

.support-box {
  background: #f7f7f7;
  padding: 50px;
  border-radius: 12px;
  color: #000;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 26px;
  text-decoration: none;
  cursor: pointer;
}

.support-box .arrow {
  height: 44px;
}

.contacts a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 15px;
  text-decoration: underline;
  color: #000;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
}

.contacts img {
  height: 35px;
}

/* ====== Popup Styles ====== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  overflow-x: hidden; /* prevent horizontal scroll */
  overflow-y: auto; /* allow vertical scroll */
}

.popup-content,
.popup-content-two {
  background-color: #fff;
  padding: 50px 50px 60px;
  border-radius: 21px;
  max-width: 800px;
  width: 90%;
  position: relative;
  color: #333;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25), 0 0 40px rgba(0, 0, 0, 0.25);
  text-align: left;
  background-repeat: no-repeat;
  background-position: center right;
  /* background-size: cover; */
  background-size: auto 105%;
  overflow-x: hidden; /* prevent horizontal scroll inside popup */
  overflow-y: auto; /* allow vertical scroll inside popup */
  max-height: 90dvh; /* limit max height for scroll */
}

.popup-content-two {
  max-width: 700px;
  padding: 40px 30px;
  background-image: url("Image/popup-background-two.png");
}

.popup-content {
  background-image: url("Image/popup-bg-image.png");
}

.popup-content a:not(.cta-btn-two) {
  text-decoration: underline; 
  color: #EC008C !important;
  cursor: pointer;
}

.popup-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 22px;
}

.popup-list {
  font-size: 18px;
  line-height: 2;
  padding-left: 20px;
}

.popup-list .popup-list-second {
  line-height: 1.5;
  margin-bottom: 10px;
}

.popup-close {
  position: absolute;
  top: 40px;
  right: 35px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.popup-close img {
  width: 24px;
  height: 24px;
  display: block;
  /* filter: brightness(0) saturate(100%) invert(17%) sepia(96%) saturate(7151%) hue-rotate(322deg) brightness(93%) contrast(94%); */
}

.popup-btn-wrapper {
  text-align: start;
  margin-top: 30px;
}

.popup-btn-wrapper-two {
  text-align: center;
  margin-top: 30px;
}

/* ====== Footer ====== */
.site-footer {
  background-color: #ffffff;
  padding: 30px 0;
  font-size: 15px;
  color: #333;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: center;
  max-width: 1600px;
  padding: 0 60px;
  margin: auto;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 200px;
}

.footer-center span {
  margin: 0 5px;
  font-weight: bold;
  white-space: nowrap;
}

.footer-center img,
.footer-right img {
  height: 28px;
  margin: 0 5px;
  vertical-align: middle;
}

.footer-right img {
  cursor: pointer;
  margin: 0px 14px;
}

.logo-xiaohongshu {
  height: 70px !important;
  margin: 0 -5px !important;
}

.logo-girrafe {
  height: 70px !important;
}

.logo-kpkt {
  height: 40px !important;
}

.footer-left {
  text-align: left;
}
.footer-right {
  text-align: right;
}
.footer-center {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-center > div {
  display: flex;
  align-items: center;
}

/* ====== Responsive FAQ, Support, Footer ====== */
@media (max-width: 1439px) {
  .faq-wrapper {
    padding: 0 100px;
  }
}
@media (max-width: 1023px) {
  .faq-support-container {
    flex-direction: column;
  }

  .faq-column,
  .support-column {
    width: 100%;
  }
  .faq-support-section {
    padding: 60px 0 30px;
  }
  .support-box {
    flex-direction: row;
    gap: 10px;
    text-align: center;
    padding: 40px 30px;
  }
  .support-box-whatsapp {
    padding: 40px 30px;
  }
  .footer-container {
    flex-direction: column-reverse;
    text-align: center;
    padding: 0 25px;
    gap: 30px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    min-width: auto;
    flex: unset;
  }
  .faq-wrapper {
    padding: 0 30px;
  }

  .footer-left {
    text-align: center;
  }
  .footer-right {
    text-align: center;
  }
  .footer-center {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-center > div {
    display: flex;
    align-items: center;
  }
  .footer-center > div:nth-child(1) {
    width: 100%;
    justify-content: center;
  }
  .popup-content{
    padding: 60px 50px 60px !important;
  }
 .popup-content-two {
    padding-top: 60px!important;
  }
  .popup-close {
    top: 25px;
  }
  .popup-content {
    background-image: url("Image/popup-background-two.png");
  }
}

/* ====== Qualification Section ====== */
.qualification-section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 80px 150px;
  width: 100%;
}

.qualification-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.qualification-title {
  flex: 0 0 auto;
  min-width: 28%;
}

.qualification-title img {
  height: auto;
  max-width: 200px;
  display: block;
}

.qualification-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.qualification-item {
  flex: 1;
  max-width: 300px;
  min-width: 36%;
}

.qualification-item h3 {
  color: #000000;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.qualification-item ul {
  list-style: none;
  padding: 0;
}

.qualification-item li {
  position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    line-height: 22px;
    font-size: 18px;
    color: #000;
    font-weight: 500;
}

.qualification-item li:before {
  content: "•";
  color: #EC008C;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 24px;
  line-height: 1;
}

.sub-text {
  font-size: 14px;
  color: #333;
  display: block;
  margin-top: 4px;
}

.date-content p {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 0px;
}

.register-now-btn {
  display: inline-block;
  background: none;
  color: #EC008C;
  padding: 0;
  text-decoration: underline;
  font-weight: bold;
  font-size: 16px;
  margin-top: 2px;
  border: none;
  cursor: pointer;
}

.register-now-btn:hover {
  color: #d4007d;
  text-decoration: underline;
}
/* #popupSocialMedia .popup-content-two{
  padding: 70px 60px 50px;
} */

.panel a{
  text-decoration: underline; 
  color: #EC008C !important;
  cursor: pointer;
}

@media (max-width: 1439px) {
  .qualification-section {
    padding: 60px 100px;
  }
  .qualification-title img {
    max-width: 180px;
  }
}

@media (max-width: 1023px) {
  .qualification-section {
    padding: 70px 50px;
  }
  
  .qualification-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .qualification-title {
    text-align: center;
    margin-bottom: 20px;
  }
   .qualification-title img {
    max-width: 220px;
  }
  
  .qualification-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
  }
  
  .qualification-item {
     width: 100%;
     max-width: 100%;
     text-align: left;
  }

  .qualification-item ul {
    display: inline-block;
    text-align: left;
  }

  .qualification-item li:before {
    top: 2px;
  }
  
  .date-content {
    text-align: left;
  }
  #popupSocialMedia .popup-content-two{
    padding: 70px 40px 50px !important;
  }
}

.social-media-popup-image {
  width: auto;
  height: auto;
  display: block;
  max-height: 450px;
  margin: 0;
  max-width: 450px;
} 
.social-media-popup-image-wrapper{
  max-width: 100%; 
  overflow-x: auto;
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
}
@media (max-width: 767px) {
  .qualification-section {
    padding: 70px 25px;
  }
}
@media (max-width: 1023px) {
  .social-media-popup-image-wrapper{
    flex-direction: column;
  }
}

.popup-list li{
  line-height: 1.5;
  padding-bottom: 10px;
}


.disabled{
  pointer-events: none;
  opacity: 0.5;
}