:root {
  /* GANTI warna sesuai style di Figma */
  --color-bg: #ffffff;
  --color-primary: #73B14B;
  --color-secondary: #1e293b;
  --color-primary-text: #1B62BE;
  --color-secondary-text: #0f172a;
  --color-muted: #64748b;
  --color-border: #e2e8f0;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;

  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
}

/* Utilities */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* NAVBAR */

/* =========================
   NAVIGATION STRUCTURE
========================= */

.nav-links .menu {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links .menu li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-muted);
  font-size: 16px;
  padding: 8px 0;
  display: inline-block;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-primary);
}

/* =========================
   DROPDOWN
========================= */

.dropdown {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 180px;
  padding: 12px 0;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 100;
}

.dropdown li {
  padding: 0;
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--color-muted);
}

.dropdown a:hover {
  background: rgba(0,0,0,0.05);
  color: var(--color-primary);
}

/* Show dropdown on hover */
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* BUTTONS */

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  background-color: #cbd5f5;
}

.btn-secondary {
  background-color: #73B14B;
  color: var(--color-bg);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  background-color: #cbd5f5;
}

/* --- Penyesuaian Style About (Sesuai Gambar) --- */

.about-section {
  padding-top: 0px;
  padding-bottom: 80px;
  font-family: 'Inter', sans-serif; /* Pastikan font bersih */
}

/* Judul Biru Besar */
.about-title {
  font-size: 80px;
  font-weight: 800;
  color: #1e73be; /* Warna biru mendekati logo */
  margin-bottom: 8px;
  letter-spacing: -2px;
}

/* Subheading Abu-abu */
.about-subheading {
  font-size: 24px;
  color: #888;
  margin-bottom: 48px;
}

/* Grid untuk Paragraf 1 dan Logo */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* Teks lebih lebar dari logo */
  gap: 30px;
  align-items: start;
  margin-bottom: 32px;
}

.about-text-main p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

/* Logo Container (Tanpa border/background) */
.about-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-logo-img {
  max-width: 100%;
  height: auto;
  /* Sesuaikan ukuran logo agar tidak terlalu raksasa */
  width: 320px; 
}

/* Bagian Teks di Bawah Grid */
.about-footer-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 24px;
}

/* Link Edcore Indonesia */
.brand-link {
  font-weight: 500;
}

.brand-link a {
  color: inherit;
  text-decoration: underline;
}

/* Responsive untuk HP */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-title {
    font-size: 50px;
  }
  
  .about-logo-container {
    order: -1; /* Logo naik ke atas di mobile */
    margin-bottom: 20px;
  }
}

/* HERO */
/* HERO SLIDER */

.hero-slider{
  position: relative;
  overflow: hidden;
  height: 75vh;
  min-height: 520px;
}

/* SLIDE WRAPPER */

.slides{
  display:flex;
  height:100%;
  transition:transform 0.8s ease;
}

/* EACH SLIDE */

.hero-slide{
  position:relative;
  width:100%;
  flex-shrink:0;
  height:75vh;
  display:flex;
  align-items:center;
  padding:0 10%;
  color:white;
  background-size:cover;
  background-position:center;
}

/* BACKGROUND IMAGE */

.hero-slide:nth-child(1){
  background-image:url("gambar/article_1.jpeg");
}

.hero-slide:nth-child(2){
  background-image:url("gambar/Training_6.jpeg");
}

.hero-slide:nth-child(3){
  background-image:url("gambar/Picture1.png");
}

/* OVERLAY GRADIENT */

.overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
      90deg,
      rgba(0,0,0,0.75) 0%,
      rgba(0,0,0,0.45) 45%,
      rgba(0,0,0,0.2) 70%,
      rgba(0,0,0,0) 100%
  );
  z-index:1;
}

/* CONTENT */

.hero-content{
  position:relative;
  z-index:2;
  max-width:650px;
  animation:fadeUp 1s ease;
}

.hero-content h1{
  font-size:52px;
  font-weight:700;
  line-height:1.2;
  margin-bottom:20px;
  letter-spacing:-0.5px;
}

.hero-content p{
  font-size:18px;
  line-height:1.6;
  margin-bottom:30px;
  color:#f1f1f1;
}

/* BUTTON */

.btn{
  display:inline-block;
  padding:14px 32px;
  font-size:15px;
  font-weight:600;
  background:#1f3c88;
  color:white;
  text-decoration:none;
  border-radius:6px;
  transition:all .3s ease;
}

.btn:hover{
  background:#142a63;
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(0,0,0,0.25);
}

/* NAVIGATION ARROW */

.prev,
.next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:50px;
  height:50px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,0.15);
  backdrop-filter:blur(5px);
  color:white;
  font-size:26px;
  cursor:pointer;
  transition:.3s;
  z-index:5;
}

.prev:hover,
.next:hover{
  background:#1f3c88;
}

.prev{
  left:25px;
}

.next{
  right:25px;
}

/* SLIDER DOTS */

.slider-dots{
  position:absolute;
  bottom:25px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  z-index:10;
}

.slider-dots span{
  width:12px;
  height:12px;
  border-radius:50%;
  background:rgba(255,255,255,0.5);
  cursor:pointer;
  transition:all .3s ease;
}

.slider-dots span:hover{
  background:white;
}

.slider-dots span.active{
  background:#1f3c88;
  transform:scale(1.3);
}

/* TEXT ANIMATION */

@keyframes fadeUp{

  from{
    opacity:0;
    transform:translateY(40px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }

}

/* RESPONSIVE */

@media(max-width:768px){

.hero-slide{
  justify-content:center;
  text-align:center;
  padding:0 8%;
}

.hero-content h1{
  font-size:34px;
}

.hero-content p{
  font-size:16px;
}

.prev,
.next{
  width:40px;
  height:40px;
  font-size:20px;
}

}


/* SECTION GENERIC */



.section {

  padding: 0px 0;

}



.section-header {

  text-align: center;

  margin-bottom: 32px;

}



.section-header h2 {

  font-size: 28px;

  margin-bottom: 16px;

  color: var(--color-primary-text)

}



.section-header p {

  font-size: 15px;

  color: var(--color-muted);

}

/*Animasi Section Card*/
/* ANIMATION BASE */
.fade-up {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: 
    opacity 0.8s ease, 
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s; /* penting */
}

/* DELAY BIAR BERURUTAN */
.slides .fade-up.show:nth-child(1) {
  transition-delay: 0.1s, 0.1s;
}
.slides .fade-up.show:nth-child(2) {
  transition-delay: 0.3s, 0.3s;
}
.slides .fade-up.show:nth-child(3) {
  transition-delay: 0.5s, 0.5s;
}

.slides .fade-up.show {
  transition-delay: calc(var(--i) * 0.2s);
}

.card:hover {
  transition-delay: 0s !important;
}

.section-header {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.section-header.show {
  opacity: 1;
  transform: translateY(0);
}



/* FEATURES */


.features-grid {

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 24px;

}


.previous-grid {

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 24px;

}



.card {

  background-color: #ffffff;

  border-radius: var(--radius-md);

  padding: 20px 18px;

  border: 1px solid var(--color-border);

  box-shadow: var(--shadow-soft);

}



.card h3 {

  margin: 0 0 8px;

  font-size: 18px;

}



.card p {

  margin: 0;

  font-size: 14px;

  color: var(--color-muted);

}



/* ABOUT */



.about-inner {

  display: grid;

  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);

  align-items: center;

  gap: 40px;

}



.about-text p {

  font-size: 15px;

  color: var(--color-muted);

  margin-bottom: 10px;

}



/* CONTACT */



.section-contact {

  background: #f8fafc;

}



.contact-inner {

  display: flex;

  flex-wrap: wrap;

  align-items: center;
}

/* FOOTER */

.footer {
  border-top: 1px solid var(--color-border);
  padding: 0px 0;
  font-size: 13px;
  color: var(--color-muted);
  background-color: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  text-decoration: none;
  color: var(--color-muted);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-inner,
  .about-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 40px;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .previous-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .previous-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* navbar aktif di mobile */
.nav-open .nav-links,
.nav-open .nav-cta {
  display: flex !important;
  position: absolute;
  top: 64px;
  right: 16px;
  left: 16px;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.cta-contact {
  background-color: #ffffff;
  padding: 35px 35px;
  border-top: 1px solid #eaeaea;
}

.cta-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1fr 1.5fr;
  gap: 100px;
  align-items: center;
}

/* Logo */
.cta-logo h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  color: #2b2b2b;
}

.cta-logo p {
  margin: 0;
  font-size: 18px;
  color: #6bbf59;
}

.logo-blue {
  color: #0056a6;
}

/* CTA Info */
.cta-info h4,
.cta-address h4 {
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 600;
}

.cta-info ul,
.cta-phone ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cta-info li,
.cta-phone li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

/* Address */
.cta-address p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

/* Icons placeholder */
.icon {
  width: 18px;
  height: 18px;
  background-color: #0056a6;
  border-radius: 50%;
  display: inline-block;
}

/* Responsive */
@media (max-width: 992px) {
  .cta-container {
    grid-template-columns: 1fr 1fr;
    row-gap: 30px;
  }
}

@media (max-width: 576px) {
  .cta-contact {
    padding: 60px 20px;
  }

  .cta-container {
    grid-template-columns: 1fr;
  }
}

.card-logo {
  max-width: 200px;     /* tidak terlalu besar */
  margin-bottom: 12px;
  display: inline-block;
}

.navbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  z-index: 9998;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

/* Logo */
.logo img {
  height: 100px;       /* ideal untuk logo horizontal */
  width: auto;
}

/* Navigation */
.nav-links {
display: flex;
  gap: 32px; /* Jarak antar link menu */
  font-size: 15px;
  font-weight: 500;
  flex: 2; /* Memberi ruang lebih besar untuk menu */
  justify-content: center; /* Menaruh menu tepat di tengah */
  z-index: 1100;
}

.nav-links a {
  text-decoration: none;
  color: #0a2540;
  font-weight: 500;
}

/* Social Icons */
.nav-social {
  display: flex;
  gap: 18px;
}

.nav-social a {
  color: #0a2540;
  font-size: 18px;
  transition: color 0.3s ease;
}

.nav-social a:hover {
  color: #1d4ed8; /* selaras dengan biru logo */
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
}

.card-container {
    width: 100%;
    max-width: 400px; 
}

.card {
    background-color: white;
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    margin-bottom: 20px; 
    overflow: hidden; /* Penting! Memastikan gambar melengkung sesuai border-radius card */
    transition: transform 0.3s ease-in-out; 
}

.card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%; /* Gambar akan memenuhi lebar card */
    height: 250px; /* Tinggi tetap agar konsisten */
    object-fit: cover; /* Memastikan gambar terisi penuh tanpa distorsi */
    display: block; /* Menghilangkan spasi ekstra di bawah gambar */
    border-top-left-radius: 8px; /* Melengkungkan sudut atas gambar */
    border-top-right-radius: 8px;
}

.card-images {
    width: 100%; /* Gambar akan memenuhi lebar card */
    height: 200px; /* Tinggi tetap agar konsisten */
    object-fit: cover; /* Memastikan gambar terisi penuh tanpa distorsi */
    display: block; /* Menghilangkan spasi ekstra di bawah gambar */
    border-top-left-radius: 8px; /* Melengkungkan sudut atas gambar */
    border-top-right-radius: 8px;
}

.card-content {
    padding: 20px; /* Memberi jarak konten teks dari tepi card */
}

.card-header {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

.card-body p {
    color: #666;
    line-height: 1.6;
}

.card-button {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 15px;
}

.card-logo {
  display: block;
  margin: 0 auto;
}

.card-container {
  display: flex;
  justify-content: center;   /* card ke tengah horizontal */
  gap: 24px;                 /* jarak antar card */
  flex-wrap: wrap;           /* agar responsif di layar kecil */
}

.section-popular .container {
  text-align: center;
}

.card-container {
  display: inline-flex;
  gap: 24px;
}

.about-text p {
  font-size: 16px;
  color: var(--color-secondary-text);
  margin-bottom: 24px;
}

/* Pengaturan Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



/* Pengaturan Baris/Row */
.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 100px;
    gap: 50px;
}

/* Membalik urutan (Gambar kiri, Teks kanan) */
.row.reverse {
    flex-direction: row-reverse;
}

/* Pengaturan Teks */
.text-content {
    flex: 1;
}

.title {
    color: #1e60ad; /* Biru gelap keunguan */
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 400px;
}

/* Tombol */
.btn-learn {
    background-color: #74b04d; /* Hijau cerah */
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    display: inline-block;

}

.btn-learn:hover {
    background-color: #5e8f3e;
}

/* Pengaturan Gambar */
.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-content img {
    max-width: 50%;
    height: auto;
}

/* Responsivitas untuk Tablet & HP */
@media (max-width: 850px) {
    .row, .row.reverse {
        flex-direction: column;
        text-align: center;
        margin-bottom: 60px;
    }

    .description {
        margin-left: auto;
        margin-right: auto;
    }

    .image-content {
        order: -1; /* Gambar akan selalu di atas teks pada tampilan mobile */
    }
}

/*testimonial*/
/* SECTION */
.testimonial-section {
    margin-bottom: 60px;
}

.testimonial-section h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    font-weight: 700;
    color: #111827;
}

/* GRID */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* CARD */
.card {
    position: relative;
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Hover effect */
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

/* QUOTE */
.quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 20px;
    position: relative;
    padding-left: 28px;
}

/* Icon kutip */
.quote::before {
    content: "“";
    position: absolute;
    left: 0;
    top: -8px;
    font-size: 2rem;
    color: #3b82f6; /* biru */
    font-weight: bold;
}

/* PROFILE */
.profile {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

/* Avatar (opsional kalau mau ditambah) */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
}

/* INFO */
.info {
    display: flex;
    flex-direction: column;
}

.name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #111827;
}

.desc {
    font-size: 0.8rem;
    color: #6b7280;
}

.card.featured {
    border: 1px solid #3b82f6;
    background: #eff6ff;
}

/*Testimonial slider*/
/* SLIDER */
.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Card full width */
.testimonial-slider .card {
    min-width: 100%;
    box-sizing: border-box;
}

/* DOTS */
.dots {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    gap: 8px;
}

.dots span {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dots span.active {
    background: #3b82f6;
    transform: scale(1.2);
}

/*Deskripsi*/

/* 2. Styling Bagian Deskripsi (Sesuai Gambar) 
.desc {
    padding: 60px 0;
}*/

/*training-desc*/
.training-desc {
    max-width: 800px; /* Membatasi lebar agar teks nyaman dibaca */
    margin: 0 auto;
    padding: 20px;
}

/* Judul Utama: Biru dan Tebal */
.training-desc h2 {
    font-size: 32px;
    color: #1a73e8; /* Warna biru profesional */
    font-weight: 700;
    margin-bottom: 30px;
    padding-top: 35px;
}

/* Styling untuk setiap Poin */
.training-desc h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-top: 25px;
    margin-bottom: 8px;
}

/* Styling untuk paragraf */
.training-desc p {
    font-size: 15px;
    color: #444;
    text-align: justify; /* Membuat teks rata kanan-kiri seperti di gambar */
    margin-bottom: 20px;
}

/*consulting-desc*/
.consulting-desc {
    max-width: 800px; /* Membatasi lebar agar teks nyaman dibaca */
    margin: 0 auto;
    padding: 0 20px;
}

/* Judul Utama: Biru dan Tebal */
.consulting-desc h2 {
    font-size: 32px;
    color: #1a73e8; /* Warna biru profesional */
    font-weight: 700;
    margin-bottom: 30px;
    padding-top: 35px;
}

/* Styling untuk setiap Poin */
.consulting-desc h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-top: 25px;
    margin-bottom: 8px;
}

/* Styling untuk paragraf */
.consulting-desc p {
    font-size: 15px;
    color: #444;
    text-align: justify; /* Membuat teks rata kanan-kiri seperti di gambar */
    margin-bottom: 20px;
}

/*coaching-desc*/
.coaching-desc {
    max-width: 800px; /* Membatasi lebar agar teks nyaman dibaca */
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 35px;
}

/* Judul Utama: Biru dan Tebal */
.coaching-desc h2 {
    font-size: 32px;
    color: #1a73e8; /* Warna biru profesional */
    font-weight: 700;
    margin-bottom: 30px;
}

/* Styling untuk setiap Poin */
.coaching-desc h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-top: 25px;
    margin-bottom: 8px;
}

/* Styling untuk paragraf */
.coaching-desc p {
    font-size: 15px;
    color: #444;
    text-align: justify; /* Membuat teks rata kanan-kiri seperti di gambar */
    margin-bottom: 20px;
}

/*event-desc*/
.event-desc {
    max-width: 800px; /* Membatasi lebar agar teks nyaman dibaca */
    margin: 0 auto;
    margin-bottom: 50px;
    padding: 0 20px;
}

/* Judul Utama: Biru dan Tebal */
.event-desc h2 {
    font-size: 32px;
    color: #1a73e8; /* Warna biru profesional */
    font-weight: 700;
    margin-bottom: 30px;
    padding-top: 35px;
}

/* Styling untuk setiap Poin */
.event-desc h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-top: 25px;
    margin-bottom: 8px;
}

/* Styling untuk paragraf */
.event-desc p {
    font-size: 15px;
    color: #444;
    text-align: justify; /* Membuat teks rata kanan-kiri seperti di gambar */
    margin-bottom: 20px;
}


/* training cat */
/* Reset Margin & Padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #ffffff;
    padding: 0;
}



/* Header Kategori */
.category-title {
    color: #3366cc; /* Warna biru sesuai gambar */
    font-size: 24px;
    font-weight: bold;
    margin: 30px 0 20px 0;
}

/* Grid System */
.training-grid,
.consulting-grid,
.coaching-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 992px) {
    .training-grid,
    .consulting-grid,
    .coaching-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .training-grid,
    .consulting-grid,
    .coaching-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Styling Kartu */
.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card img {
    width: 100%;
    aspect-ratio: 4 / 3; /* Menjaga proporsi gambar */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.card h3 {
    font-size: 18px;
    color: #222;
    margin-bottom: 8px;
}

.card h5 {
    font-size: 18px;
    color: #3366cc;
    margin-bottom: 8px;
}

.card h6 {
    font-size: 15px;
    color: var(--color-muted);
    margin-bottom: 8px;
}

.card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1; /* Agar deskripsi punya ruang yang sama */
}

/* Tombol */
.btn-learn {
    display: inline-block;
    width: fit-content;
    background-color: #72b043; /* Warna hijau sesuai gambar */
    color: white;
    padding: 8px 18px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-learn:hover {
    background-color: #5a8d35;
}

/* Responsive (Mobile) */
@media (max-width: 900px) {
    .training-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Kolom untuk tablet */
    }
}

@media (max-width: 600px) {
    .training-grid {
        grid-template-columns: 1fr; /* 1 Kolom untuk HP */
    }
}


/* Gallery */
/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    background-color: #ffffff;
    padding: 0;
}



/* Judul Utama */
.main-title {
    color: #1b64cc; /* Warna biru sesuai gambar */
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 50px;
    letter-spacing: -1px;
}

/* Grid System (3 Kolom) */
.training-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 40px;
}

/* Styling Kartu */
.card {
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Menyesuaikan bentuk foto landscape */
    object-fit: cover;
    border-radius: 10px; /* Rounded corners halus */
    margin-bottom: 15px;
}

.card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

/* Teks Detail (Instructor, Type, Date) */
.card .meta {
    font-size: 14px;
    color: #888; /* Warna abu-abu pudar */
    margin-bottom: 2px;
}

/* --- Responsif --- */

/* Tablet (2 Kolom) */
@media (max-width: 992px) {
    .training-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (1 Kolom) */
@media (max-width: 600px) {
    body {
        padding: 40px 20px;
    }
    
    .main-title {
        font-size: 32px;
    }
    
    .training-grid {
        grid-template-columns: 1fr;
    }
}


/* Article */
.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Judul */
.title-primary {
  color: #1e60ad; /* Biru sesuai gambar */
  font-size: 36px;
  margin-bottom: 5px;
  font-weight: bold;
}

.title-secondary {
  color: #777; /* Abu-abu sesuai gambar */
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 30px;
  font-weight: normal;
}

/* Layout Atas (Gambar & Box) */
.main-content-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 30px;
}

/* Foto dengan sudut melengkung */
.image-container {
  flex: 2; /* Gambar mengambil ruang lebih besar */
}

.main-photo {
  width: 100%;
  height: auto;
  border-radius: 15px; /* Sesuai foto */
  display: block;
}

/* Box Detail (Facilitator, Type, Date) */
.details-card {
  flex: 1; /* Box mengambil ruang lebih kecil */
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 40px 30px;
  min-height: 150px;
  display: flex;
  align-items: center;
}

.details-grid {
  display: grid;
  grid-template-columns: 120px 1fr; /* Kolom label tetap, value fleksibel */
  row-gap: 20px;
  width: 100%;
}

.label {
  font-weight: bold;
  font-size: 18px;
}

.value {
  font-size: 18px;
  color: #444;
}

/* Deskripsi Bawah */
.description-section p {
  margin-bottom: 20px;
  text-align: justify;
  font-size: 15px;
  color: #222;
}

/* Responsif untuk HP */
@media (max-width: 768px) {
  .main-content-wrapper {
    flex-direction: column;
  }
  
  .details-card {
    width: 100%;
    box-sizing: border-box;
  }
}

/*client*/
/* Section */
.clients {
  padding: 80px 20px;
  background-color: #f3f3f3;
  text-align: center;
}

.clients h2 {
  font-size: 42px;
  color: #2f66b3;
  margin-bottom: 10px;
}

/* Grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
  align-items: center;
  justify-items: center;
  margin-bottom: 50px;
}

/* Logo item */
.client-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.client-item img {
  max-height: 60px;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.8;
  transition: all 0.3s ease;
}

/* Hover effect */
.client-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }

  .clients h2 {
    font-size: 32px;
  }
}

.wa-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 999;
    transition: 0.3s ease;
}

.wa-float img {
    width: 35px;
    height: 35px;
}

.wa-float:hover {
    transform: scale(1.1);
}

/*pop up ads*/
/* Overlay background */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;
    z-index: 9999;
}

.popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Container utama */
.popup-container {
    width: 1000px;
    max-width: 95%;
    height: 500px;
    background: white;
    display: flex;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    animation: fadeUp 0.4s ease;
}

/* Gambar kiri */
.popup-image {
    flex: 1;
}

.popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Konten kanan */
.popup-content {
    flex: 1;
    padding: 60px 40px;
    background: #dfe6dc;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-content p,
.popup-content h3 {
    margin: 0;
}

.popup-subtitle {
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 8px;
}

.popup-content p:nth-of-type(2) {
    margin-bottom: 18px;
}

.popup-content h3:first-of-type {
    margin-bottom: 10px;
}

.popup-content h3:last-of-type {
    margin-bottom: 25px;
}

.popup-content h2 {
    font-size: 36px;
    margin-bottom: 30px;
    line-height: 1.2;
}

/* Button */
.popup-button {
    background: #74b04d;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    width: fit-content;
    transition: 0.3s ease;
    margin-bottom: 12px;
}

.popup-button:hover {
    background: #5e8f3e;
}

/* Close button */
.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: black;
    z-index: 10;
}

/* Animation */
@keyframes fadeUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* =========================
   TABLET
========================= */
@media (max-width: 992px) {
    .popup-container {
        flex-direction: column;
        max-width: 600px;
    }

    .popup-image {
        height: 250px;
    }

    .popup-content {
        padding: 35px 25px;
    }

    .popup-content h2 {
        font-size: 26px;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 576px) {

    .popup-container {
        border-radius: 6px;
    }

    .popup-image {
        height: 200px;
    }

    .popup-content {
        padding: 25px 20px;
    }

    .popup-content h2 {
        font-size: 22px;
    }

    .popup-button {
        width: 100%;
        text-align: center;
    }
}


/* HAMBURGER */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: black;
}

/* Desktop only */
@media (min-width: 769px) {
  .navbar {
    position: sticky;
    top: 0;
    z-index: 9998;
  }
}

/* MOBILE */
@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
  }

  .nav-links.active {
    display: block;
  }

  .menu {
    flex-direction: column;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

}


/* TITLE HERO SECTION (NEW)*/
.page-hero {
  position: relative;
  width: 100%;
  height: 100px; /* bisa ubah 250–400px sesuai kebutuhan */
  background: url('gambar/hero_title.jpg') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-attachment: fixed;
  margin-bottom: 25px;
}

/* Overlay gelap */
.page-hero .overlay {
  background: linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.35)
  );
}

/* Konten */
.page-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero h1 {
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .page-hero {
    height: 220px;
  }

  .page-hero h1 {
    font-size: 28px;
  }
}

/* Big Card (Event)*/
.wrapper {
  width: 90%;
  max-width: 900px;
}

.big-card {
  background: #ffffff;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);

  height: 500px; /* tinggi card */
  width: 775px;
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
}

.big-card h2 {
  margin-bottom: 15px;
}

.card-content {
  overflow-y: auto; /* ini yang membuat bisa discroll */
  margin-top: 10px;
  padding-right: 10px;
}

/* Optional: custom scrollbar */
.card-content::-webkit-scrollbar {
  width: 3px;
}

.card-content::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.card-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}


/*Warna Background Index per section*/
.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-of-type(odd) {
  background-color: #ffffff;
}

.section:nth-of-type(even) {
  background-color: #f8fafc; /* soft gray SaaS style */
}

.hero-slider {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
}

.section-features {
  background: #f1f5f9;
}

.section-previous {
  background: #ffffff;
}

.section-features,
.section-popular {
  backdrop-filter: blur(10px);
}


/*Instragram Post*/
.instagram-post {
    position: relative;
    display: inline-block;
    width: 300px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
}

.instagram-post img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-post .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    background: rgba(0, 0, 0, 0.5);
    color: white;
    
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover img {
    transform: scale(1.05);
}

.instagram-post:hover .overlay {
    opacity: 1;
}

/*Button Baru*/
.btn-individu {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 135px;
    height: 42px;

    background-color: #76B82A;
    color: #ffffff;

    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-decoration: none;

    border: 2px solid #76B82A;
    border-radius: 50px;

    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-individu:hover {
    background-color: #ffffff;
    color: #76B82A;
    border-color: #76B82A;
}