/* --- style.css V2 --- */

/* --- Reset & base --- */
:root{
  --bg:#f7fbf6;
  --card:#ffffff;
  --muted:#6b7280;
  --accent:#2e7d32; /* green */
  --accent-2:#1b5e20;
  --glass: rgba(255,255,255,0.7);
  --radius:14px;
  --maxw:1100px;
  --shadow: 0 6px 18px rgba(16,24,40,0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:linear-gradient(180deg,var(--bg),#eef6ee);
  color:#0f172a;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
  padding:24px 16px;
  display:flex;justify-content:center;
}
.wrap{width:100%;max-width:var(--maxw);}
header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.brand{display:flex;align-items:center;gap:12px}
.logo{width:64px;height:64px;border-radius:10px;background:linear-gradient(135deg,var(--accent),var(--accent-2));display:flex;align-items:center;justify-content:center;color:white;font-weight:700;font-size:20px;box-shadow:var(--shadow)}
.brand h1{color:#556B2F;margin:0;font-size:18px;line-height:1}
.brand p{margin:0;font-size:12px;color:var(--muted)}

nav{display:flex;gap:12px;align-items:center}
nav a{font-size:14px;color:var(--muted);text-decoration:none;padding:8px 12px;border-radius:10px}
nav a:hover{background:rgba(0,0,0,0.04);color:var(--accent-2)}

/* Hero */
.hero{display:grid;grid-template-columns:1fr 420px;gap:28px;align-items:center;margin-bottom:28px}
.panel{background:var(--card);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}
.hero-left {text-align:center;}
.hero-left h2{color:#556B2F;margin:0 0 5px;font-size:28px;}
.lead{color:var(--muted);margin-bottom:5px}
.cta-row{display:block;gap:12px;flex-wrap:wrap}
.btn{padding:12px 16px;border-radius:10px;border:0;cursor:pointer;font-weight:600}
.btn-primary{background:var(--accent);color:white}
.btn-ghost{background:transparent;border:1px solid #e6f0e6;color:var(--accent-2)}
.stats{display:flex;gap:12px;margin-top:16px;justify-content:center;}
.stat{background:linear-gradient(180deg,#f8fff8,#ffffff);padding:10px;border-radius:10px;text-align:center;min-width:84px}
.stat b{display:block;font-size:18px}

/* Training cards */
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.card{display:flex;gap:12px;padding:14px;border-radius:12px;align-items:flex-start}
.card .icon{width:56px;height:56px;border-radius:10px;background:#f1fbf1;display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--accent-2)}
.card h3{margin:0 0 6px;font-size:16px}
.small{font-size:13px;color:var(--muted)}

/* Pricing */
.price{display:flex;align-items:center;gap:10px}
.tag{background:#f0fff0;color:var(--accent-2);padding:6px 10px;border-radius:999px;font-weight:700}

/* Testimonials */
.testi{display:flex;gap:12px;align-items:center}
.avatar{width:56px;height:56px;border-radius:50%;background:#e6f5e6;display:flex;align-items:center;justify-content:center}

/* Form */
form{display:grid;gap:10px}
input,textarea,select{padding:10px;border-radius:8px;border:1px solid #e6ece6;font-size:14px}
textarea{min-height:100px}
.row{display:flex;gap:10px}

footer{margin-top:22px;text-align:center;color:var(--muted);font-size:13px}

/* ---------------------------- */
/* SMALL SCREEN ADJUSTMENTS     */
/* ---------------------------- */

@media (max-width:980px){
  .hero{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}

  .nav-links{
    position:absolute;
    top:60px; left:0;
    width:100%;
    background:#1e1e1e;
    display:none;
    flex-direction:column;
    text-align:center;
    padding:20px 0;
    gap:15px;
  }

  #menu-toggle:checked ~ .nav-links{
    display:flex;
  }
}

/* force all cards vertical below 600px */
@media (max-width:600px){
  #program .panel > div{display:flex !important;flex-direction:column !important;gap:16px !important;width:100% !important}
  .panels{order:1 !important;width:100% !important}
  aside{order:2 !important;width:100% !important;display:block !important}
  .card{flex-direction:column !important;align-items:stretch !important}
  .hero{display:flex !important;flex-direction:column !important}
  aside.panel{width:100% !important}
  .panel{display:flex !important;flex-direction:column !important}
  .grid{grid-template-columns:1fr !important}
  #pricing > div{grid-template-columns:1fr !important}
}

/* additional responsive tweaks */
@media (max-width:520px){
  .hero{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
  .logo{width:52px;height:52px;font-size:18px}
  header{flex-direction:column;align-items:flex-start;gap:12px}
  nav{width:100%;overflow:hidden}
  .h2about{font-size:20px}
}

/* micro interactions */
.card:hover{transform:translateY(-6px);transition:all .28s}
.btn:active{transform:translateY(1px)}
a.anchor{color:var(--accent-2);text-decoration:none}

/* Mobile view for screens below 600px (latest version kept) */
@media (max-width:600px){
  .panel{display:flex !important;flex-direction:column !important}
  .pricing-container,
  .pricing-card-wrapper{
    display:flex !important;flex-direction:column !important;align-items:center !important;gap:20px !important;width:100% !important;
  }
  .pricing-card{width:100% !important;max-width:100% !important}

  *{box-sizing:border-box;max-width:100%;overflow-x:hidden !important}
  body,html{width:100%;margin:0;padding:0;overflow-x:hidden !important}

  header,nav,section,footer,.container,.training-card,.facility-card,.materi-card{
    width:100%;max-width:100%;
  }

  nav ul{flex-direction:column;gap:8px;padding:0;margin:0}

  img{max-width:100%;height:auto;display:block}

  .hero-section h2{color:#556B2F;font-size:1.6rem;margin-bottom:1px;margin-top:5px}
  .hero-section p{font-size:1rem}

  .section{padding:40px 10px}

  .cta-button{width:100%;padding:14px;font-size:1.1rem}

  form input,form textarea,form button{width:100% !important}

  .h2about{font-size:20px;color:#556B2F;padding:0 10px}
}

#about h2{
  color:#556B2F;
  text-align:center;
  margin-bottom:1px;
  margin-top:18px;
}

nav ul{
  flex-direction:column;
  gap:8px;
}
.hero-section h2{
  color:#556B2F;
  font-size:1.6rem;
  text-align:center;
}
.hero-section p{font-size:1rem}
.section{padding:40px 10px}

.training-card,.facility-card,.materi-card{padding:15px}

.cta-button{width:100%;padding:14px;font-size:1.1rem}

form input,form textarea,form button{width:100% !important}

/* Prevent horizontal scrolling */
html,body{max-width:100%;overflow-x:hidden}
*{box-sizing:border-box}
img,section,div{max-width:100%}

.h2about{color:#556B2F;padding:0 10px}
h1,h2,h3{color:#556B2F;}
h1,h2{ text-align: center;}
#address{color:var(--muted)}

}

#gallery {
 justify-content: center;
}

#gallery>h2 {
 text-align: center;
  margin-bottom: 0px;
}

.slideshow-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;          /* spacing between images */
  padding: 40px;
}

.slide {
  padding: 10px 0px;
  width: 100%;
  max-width: 300px;  /* control picture size */
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.08);
  background: #fff;
}

#id h2 {
  margin-bottom: 0px;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;          /* spacing between images */
  padding: 40px;
  padding-top: 20px;
}

.layout-img {
  align-items: center;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.08);
  background: #fff;
}



/* -------------------------------------- */
/*            MOBILE COLUMN NAV           */
/* -------------------------------------- */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 0;
  }

  /* Make links larger for better UX */
  .nav-links a {
    font-size: 1.1rem;
    width: 100%;
  }

  /* Make the CTA ("Daftar") full width */
  .nav-links .anchor {
    text-align: center;
    width: 100%;
  }
}



