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

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

/* 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 {
  min-height: 80vh;  
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 10%;
  background: url("../Assets/Bg-Tekno-AI.jpg") no-repeat center center/cover;
  color: #022F5E;
}

.hero-content {
  max-width: 600px;
}

/* Badge */
.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e6f1ff;
  color: #1E8BF7;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 25px;
  margin-bottom: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero .badge img {
  height: 20px;
  width: 20px;
}

/* Title & Text */
.hero h1 {
  width: 90%;  
  font-size: 40px;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* CTA Button */
.hero .cta {
  display: inline-block;
  background: linear-gradient(90deg, #1E8BF7, #1672d4);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s, opacity 0.3s;
}

.hero .cta:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Hero Image */
.hero-image img {
  max-width: 500px;
  width: 100%;
}

/* About Section */
.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: 20px;
  border-bottom-left-radius: 20px;
}

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

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

/* Mitra Perusahaan Section */
.logo-slider-section {
  padding: 2rem 1rem;
  overflow: hidden;
  margin-bottom: 45px;
}

.logo-slider-container {
  overflow: hidden;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem
}

.logo-slide-track {
  display: flex;
  animation: slide 20s linear infinite;
  width: calc(250px * 10); /* 4 logo * 2 karena duplikat */
}

.logo-slide {
  width: 250px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-slide img {
  max-width: 180px;
  height: auto;
  object-fit: contain;
}

/* Animasi geser */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* Feature Section */
.training-category {
  background-color: #1E8BF7;
  color: #fff;
  padding: 4rem 1rem;
  font-family: 'Poppins', sans-serif;
}

.training-category .container {
  max-width: 1200px;      /* batasi lebar maksimal agar konten tidak terlalu lebar */
  margin: 0 auto;          /* center-kan container */
  padding: 0 2rem;         /* beri jarak kanan kiri */
  box-sizing: border-box;  /* pastikan padding tidak menambah total lebar */
}

.training-category h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.training-category .subtitle {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
}


.tab-container {
  display: flex;
  flex-wrap: nowrap; /* ubah dari wrap ke nowrap */
  overflow-x: auto;
  background-color: #e4eefcdd;
  border-radius: 30px;
  padding: 5px;
  gap: 0.3rem;
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE & Edge */
}

.tab {
  flex: 0 0 auto;
  border: none;
  background-color: transparent;
  color: #333;
  padding: 0.8rem 1rem;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9rem;
  min-width: 220px;
  white-space: nowrap;
  transition: background-color 0.3s;
}

.tab.active {
  background-color: #0e51b6;
  color: white;
  font-weight: 600;
}

.tab-content .content {
  display: none;
}

.tab-content .content.active {
  display: block;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.row .text {
  flex: 1 1 50%;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
}

.row .image {
  flex: 1 1 40%;
  text-align: center;
}

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

.cta-button {
  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;
}

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

/* Value Proporsition Section */
.value-proposition-section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
}

.section-heading {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2b5acf;
  margin-bottom: 0.5rem;
}

.vp-icon {
  width: 30px;
  height: 30px;
  margin-right: 15px;
}

.section-heading i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.heading-underline {
  width: 180px;
  height: 4px;
  background-color: #2b5acf;
  border-radius: 4px;
  margin-bottom: 2rem;
  animation: underlineGrow 0.8s ease-out forwards;
}

@keyframes underlineGrow {
  from { width: 0; }
  to { width: 180px; }
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background-color: #d8eaff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.value-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.value-card.exit {
  opacity: 0;
  transform: translateY(40px);
}

.value-card:nth-child(2) {
  transition-delay: 0.2s;
}
.value-card:nth-child(3) {
  transition-delay: 0.4s;
}
.value-card:nth-child(4) {
  transition-delay: 0.6s;
}


@keyframes fadeUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.value-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #2b5acf;
  margin-bottom: 0.5rem;
}

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

/* Artikel */
.articles-section {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.articles-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.articles-header {
    text-align: center;
    margin-bottom: 80px;
}

.articles-title {
    font-size: 3.5rem;
    font-weight: 500;
    color: #1E8BF7;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 60px;
}

.article-card {
    background: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(30, 86, 49, 0.2);
}

.article-image {
    width: 100%;
    height: 200px;
    background: #333;
    overflow: hidden;
    position: relative;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-img {
    transform: scale(1.05);
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.article-category {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1E8BF7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-date {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.article-description {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Hidden Articles */
.articles-grid.hidden {
    display: none;
}

/* View All Articles Button */
.view-all-container {
    text-align: center;
    margin-top: 2rem;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    background-color: #1E8BF7;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 86, 49, 0.2);
}

.view-all-btn:hover {
    background-color: #012242;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 86, 49, 0.3);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.view-all-btn.expanded .btn-icon {
    transform: rotate(180deg);
}

/* Article Popup Modal */
.article-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.article-popup.active {
    display: flex;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.popup-content {
    position: relative;
    background-color: #FFFFFF;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background-color: #FFFFFF;
    transform: scale(1.1);
}

.popup-hero {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.popup-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-body {
    padding: 2rem;
}

.popup-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.popup-category {
    font-size: 0.9rem;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-date {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.popup-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1E8BF7;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.popup-content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.popup-content-text p {
    margin-bottom: 1rem;
}

.popup-content-text p:last-child {
    margin-bottom: 0;
}


/* 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;
}

/* 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 */
  }

}

/* Fasilitas Section */
.fasilitas-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.fasilitas-title {
  font-size: 24px;
  font-weight: 600;
  color: #2684FF;
  margin-bottom: 10px;
}

.underline {
  width: 60px;
  height: 4px;
  background-color: #2684FF;
  margin: 0 auto 40px auto;
  border-radius: 4px;
}

.fasilitas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 30px;
}

.fasilitas-card {
  display: flex;
  align-items: flex-start;
  background: #fff;
  padding: 16px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
  text-align: left;
  transition: transform 0.2s ease;
  min-height: auto;
}


.fasilitas-card:hover {
  transform: translateY(-5px);
}

.icon-circle {
  min-width: 50px;
  min-height: 50px;
  background-color: #cce5ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
}

.icon-circle img {
  width: 24px;
  height: 24px;
}

.card-content h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.card-content p {
  font-size: 14px;
  color: #444;
  margin: 0;
}

/* 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 */
@media (max-width: 768px) {
  .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 {
    flex-direction: column;
    text-align: center;
    padding: 100px 20px;
  }

  .hero-image {
    margin-top: 40px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }
  
  /* About Section */
  .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 */
  }

  /* Features Section */
    .training-category {
    padding: 2rem 1rem;
  }

  .training-category h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .training-category .subtitle {
    font-size: 0.95rem;
    text-align: center;
    margin: 0 auto 1.5rem;
  }

  .tab-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0.5rem;
    border-radius: 20px;
    gap: 0.5rem;
  }

  .tab {
    min-width: max-content;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
  }

  .row {
    flex-direction: column;
    gap: 1.5rem;
  }

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

  .row .text, 
  .row .image {
    flex: 1 1 100%;
  }

  .cta-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }

  /* Value Proporsition Section */
  .section-heading {
    font-size: 1.2rem;
  }

  .value-card h4 {
    font-size: 0.95rem;
  }

  .value-card p {
    font-size: 0.9rem;
  }

/* Articles Section Responsive */
    .articles-section {
        padding: 80px 0;
    }
    
    .articles-title {
        font-size: 1.5rem;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .article-image {
        height: 180px;
    }
    
    .article-content {
        padding: 1.2rem;
    }
    
    .article-description {
        font-size: 1rem;
    }
    
    .view-all-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .popup-content {
        max-width: 95%;
        margin-right: 30px;
    }
    
    .popup-hero {
        height: 200px;
    }
    
    .popup-title {
        font-size: 1.5rem;
    }

  /* Fasilitas Section */
   .fasilitas-section {
    padding: 2rem 1rem;
  }

  .fasilitas-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center; /* untuk membuat card center */
  }

  .fasilitas-card {
    flex-direction: row;
    align-items: flex-start;
    padding: 14px 16px;
    width: 100%;
    max-width: 390px;  /* batas maksimum lebar card */
    box-sizing: border-box;
  }

  .icon-circle {
    min-width: 36px;
    min-height: 36px;
    margin-right: 10px;
  }

  .icon-circle img {
    width: 18px;
    height: 18px;
  }

  .card-content h4 {
    font-size: 13.5px;
  }

  .card-content p {
    font-size: 12.5px;
  }

  /* 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;
  }


}

/* iPhone 12 Pro - Portrait */
@media only screen 
  and (min-device-width: 390px) 
  and (max-device-width: 390px) 
  and (min-device-height: 844px) 
  and (max-device-height: 844px) 
  and (-webkit-min-device-pixel-ratio: 3) 
  and (orientation: portrait) {
    
    .fasilitas-card {
    flex-direction: row;
    align-items: flex-start;
    padding: 14px 16px;
    width: 100%;
    max-width: 360px;  /* batas maksimum lebar card */
    box-sizing: border-box;
    }
}


@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;
  }

  /* 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; }
  }
}

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

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


