/* Global */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  background: rgba(255, 255, 255, 0.90);
  border-radius: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 18px;
}

.logo img {
  height: 60px;
  margin-right: 10px;
}

.logo .blue {
  color: #1E8BF7;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #022F5E;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #1E8BF7;
}

.btn-get-started {
  background: linear-gradient(90deg, #1E8BF7, #1672d4);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.3s;
}

.btn-get-started:hover {
  opacity: 0.9;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #022F5E;
}

/* Hero Section */
.hero-section {
  background-color: #2196f3;
  height: 100vh; /* memenuhi 1 layar penuh */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  color: white;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.hero-container {
  max-width: 800px;
}

.hero-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-icon img {
  width: 50px;
}

.hero-section h1 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.hero-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: #f0f0f0;
}

.button-lp {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background-color: #ffffff;
  color: #02306f;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s;
  gap: 1rem;
}

.button-lp:hover {
  background-color: #02285c;
  color: #ffffff;
}

/* Program cocok Untuk */
.about {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.about-text {
  text-align: justify;
  flex: 1;
}

.about-text h2 {
  font-size: 28px;
  color: #1E8BF7;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-text h2 {
  font-size: 28px;
  color: #1E8BF7;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-heading {
  width: 35px;
  height: 35px;
}

.feature-card img {
  width: 50px; /* atur sesuai kebutuhan */
  margin-bottom: 15px;
}

.about-text p {
  font-size: 16px;
  color: #222;
  line-height: 1.7;
}

.about-image {
  margin-top: 15px;
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Features bawah */
.about-features {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 0; /* hilangkan jarak antar card */
}

.feature-card {
  flex: 1;
  background: #1E8BF7;
  color: white;
  text-align: center;
  padding: 25px 15px;
  border-radius: 0; /* default tanpa radius */
}

.feature-card:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.feature-card:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.feature-card img {
  width: 65px;
  margin-bottom: 10px;
}


/* Why Choose Us Section */
.why-learn-section {
  padding: 4rem 1.5rem;
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
}

.why-learn-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
}

.why-learn-content {
  flex: 1;
}

.why-learn-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a73e8;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.why-learn-content h2 span {
  color: #000;
}

.why-learn-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a73e8;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.reasons-list,
.topics-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.reasons-list li,
.topics-list li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.reasons-list li::before,
.topics-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #000;
  font-weight: bold;
}

.why-learn-image {
  flex: 1;
  text-align: center;
}

.why-learn-image img {
  max-width: 100%;
  height: auto;
}

.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* Benefits Section */
.benefits-section {
  padding: 4rem 1.5rem;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.benefits-title {
  color: #1a73e8;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
}

.benefits-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-item {
  background-color: transparent;
  max-width: 200px;
  text-align: center;
}

.benefit-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.benefit-item p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

/* Tetimoni Section */
.testimoni {
  padding: 60px 20px;
  text-align: center;
  max-width: 1200px;
  margin: auto;
}

.testimoni-header {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* pindah ke kiri */
  gap: 10px;
  margin-bottom: 40px;
}

.testimoni-header h2 {
  font-weight: 600;
  color: #1E8BF7;
  font-size: 26px;
}

.icon-heading {
  width: 40px;
  height: 40px;
}

.slider-container {
  position: relative;
  overflow: hidden;
  padding: 0 70px; /* ruang buat arrow */
}

.slider-wrapper {
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.card {
  background: #1E8BF7;
  color: white;
  flex: 0 0 calc(33.333% - 20px);
  margin: 0 10px;
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  box-sizing: border-box;
}

.card .profile {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.card p {
  font-style: italic;
  margin-bottom: 15px;
}

.card span {
  font-weight: bold;
  font-size: 14px;
}

.card .profile {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
}

.card .profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-learn-container-2 {
  flex-direction: row-reverse;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
}

/* Panah */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #1E8BF7;
  border: none;
  font-size: 36px;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  z-index: 10;
}

.prev { left: 20px; }
.next { right: 20px; }

/* Dots */
.dots {
  margin-top: 20px;
}

.dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.dots span.active {
  background: #1E8BF7;
}

/* Responsif Testimoni*/
@media (max-width: 992px) {
  .card { flex: 0 0 calc(50% - 20px); }
}

@media (max-width: 768px) {

  .slider-container {
    padding: 0; /* biar penuh */
  }

  .slider {
    display: flex;
    gap: 15px; /* jarak antar card */
  }

  .card {
    flex: 0 0 calc(100% - 30px); /* satu card per slide dengan jarak */
    margin: 0 auto;
    box-sizing: border-box;
  }

  .prev, .next {
    display: none; /* arrow disembunyikan di mobile */
  }

}

/* Karir Section */
.career-section {
  padding: 3rem 1.5rem;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
}

.career-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.career-text {
  flex: 1 1 300px;
}

.career-text h2 {
  font-size: 1.5rem;
  color: #2196f3;
  margin-bottom: 1rem;
}

.career-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.career-text li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
  color: #333;
}

.career-text li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #000;
  font-weight: bold;
}

.career-image {
  flex: 1 1 300px;
  text-align: center;
}

.career-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/*Price Card Section */
.package-section {
  background: #2196f3;
  padding: 50px 20px;
  text-align: center;
}

.section-title {
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
  font-family: 'Poppins', sans-serif;
}

.package-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

.package-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  width: 300px;
  text-align: left;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  font-family: 'Poppins', sans-serif;
}

.package-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.icon {
  width: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

.blue { color: #1e6fd9; font-weight: bold; }
.red { color: red; font-weight: bold; }

.label {
  display: inline-block;
  padding: 2px 10px;
  background: #ffbcbc;
  border-radius: 10px;
  font-size: 12px;
  margin: 8px 0;
}

ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

li {
  margin-bottom: 8px;
  font-size: 14px;
}

.center {
  text-align: center;
}

.cta-button {
  margin-top: 15px;
  background: #ffffff;
  color: #1e6fd9;
  border: none;
  border-radius: 50px;
  padding: 10px 30px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #1e6fd9;
  color: white;
}


/* Contact Pendaftaran Section */
.contact-section {
  background: url('../Assets/Pendaftaran\ bg.png') center center/cover no-repeat;
  padding: 4rem 1rem;
  color: white;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.contact-text {
  flex: 1;
  min-width: 280px;
}

.contact-text h2 {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.4;
}

.contact-text p {
  margin-top: 1rem;
  font-size: 1rem;
}

.contact-form {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  flex: 1;
  min-width: 320px;
  color: #000;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
  width: 94%;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 0.5rem;
  background: #f1f1f1;
  font-size: 1rem;
}

.contact-form textarea {
  height: 100px;
  resize: none;
}

.contact-form button {
  background: #268aff;
  color: white;
  border: none;
  width: 100%;
  padding: 0.8rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
}

/* Footer Section */
.footer-section {
  background-color: #2196f3;
  color: white;
  padding: 2rem 1rem;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1 1 250px;
}

.footer-left h4,
.footer-center h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-left p,
.footer-center a {
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.footer-left i,
.footer-center i {
  margin-right: 0.5rem;
}

.social-icons a {
  margin-right: 10px;
  font-size: 1.3rem;
  color: white;
  transition: color 0.3s;
  text-decoration: none;
}

.social-icons a:hover {
  color: #ddd;
}

.footer-menu {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.footer-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.footer-menu a:hover {
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 2rem;
  color: white;
  opacity: 0.9;
}

.map-container {
  margin-top: 15px;
  border-radius: 12px;
  overflow: hidden; /* biar iframe ikut melengkung */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* bayangan */
  border: 3px solid #fff; /* biar kelihatan kaya frame */
  max-width: 320px; /* biar proporsional */
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 150px;
  border: none;
}





/* Responsive Styles */

@media (max-width: 768px) {

/* Navbar */
.nav-links {
    position: absolute;
    top: 80px;
    right: 20px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    flex-direction: column;
    width: 200px;
    padding: 0 20px;
    overflow: hidden;
    max-height: 0; /* default tertutup */
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    z-index: 999;
  }

  .nav-links.show {
    padding: 20px;
    max-height: 500px; /* cukup tinggi untuk semua item */
    opacity: 1;
  }

  .menu-toggle {
    display: block;
    z-index: 1000;
  }

  .btn-get-started {
    display: none;
  }

  /* Tambahin animasi tombol biar smooth juga */
  .nav-links.show .btn-get-started {
    display: block;
    margin-top: 15px;
    padding: 12px 0;
    text-align: center;
    border-radius: 25px;
    background: linear-gradient(90deg, #1E8BF7, #1672d4);
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    opacity: 0;
    animation: fadeIn 0.4s forwards 0.2s;
  }

  @keyframes fadeIn {
    to { opacity: 1; }
  }

  /* Hero Section */
  .hero-section {
    min-height: 100dvh; /* untuk memastikan penuh di HP modern */
    padding: 4rem 1rem 2rem;
  }

  .hero-title-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .hero-icon img {
    width: 40px;
  }

  .hero-section h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  .hero-section p {
    font-size: 0.95rem;
    text-align: center;
  }

  /* Program cocok untuk */
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    text-align: justify;
  }

  .about-text h2 {
    justify-content: center;
  }

  .about-image {
    margin-top: 20px;
  }

  .about-features {
    flex-direction: column;
    gap: 20px;
  }

  .feature-card {
    border-radius: 15px; /* reset ke kotak normal */
  }

  .feature-card:first-child,
  .feature-card:last-child {
    border-radius: 15px; /* biar semua sama di mobile */
  }

/* Why Choose Us Section */
.why-learn-container {
    flex-direction: column;
    text-align: left;
  }

.why-learn-container-2 {
    flex-direction: column;
    text-align: left;
  }

  .why-learn-content h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .why-learn-content h3 {
    font-size: 1.1rem;
    text-align: center;
  }

  .why-learn-content {
    order: 2;
  }

  .why-learn-image {
    order: 1;
    margin-bottom: 2rem;
  }

  /* Career Section */
  .career-container {
    flex-direction: column;
    text-align: center;
  }

  .career-text h2 {
    font-size: 1.3rem;
  }

  .career-text li {
    padding-left: 1.2rem;
    font-size: 0.95rem;
    text-align: left;
  }

  .career-text li::before {
    font-size: 1rem;
  }

  /* Contact Pendaftaran Section */
    .contact-section {
    padding: 2.5rem 1rem;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .contact-text {
    text-align: center;
    max-width: 100%;
  }

  .contact-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    box-sizing: border-box;
  }

  .contact-form button {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Navbar Tablet */

@media (max-width: 1024px) {
  .nav-links {
    position: absolute;
    top: 80px;
    right: 20px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    flex-direction: column;
    width: 200px;
    padding: 0 20px;
    overflow: hidden;
    max-height: 0; /* default tertutup */
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    z-index: 999;
  }

  .nav-links.show {
    padding: 20px;
    max-height: 500px; /* cukup tinggi untuk semua item */
    opacity: 1;
  }

  .menu-toggle {
    display: block;
    z-index: 1000;
  }

  .btn-get-started {
    display: none;
  }
}

/* Benefits Section */

@media (max-width: 1024px) {
  .benefits-container {
    gap: 1.5rem;
  }

  .benefit-item {
    max-width: 160px;
  }

  .benefit-item img {
    width: 70px;
    height: 70px;
  }

  .benefit-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .benefits-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 1.5rem;
  }

  .benefit-item {
    max-width: 45%;
  }
}

@media (max-width: 500px) {
  .benefit-item {
    max-width: 100%;
  }

  .benefit-item img {
    width: 60px;
    height: 60px;
  }

  .benefit-item p {
    font-size: 0.85rem;
  }

  .benefits-title {
    font-size: 1.25rem;
  }
}