* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #454546 0%, #c0b7ca 100%);
    color: white;
    padding: 20px;
    min-height: 100vh;
    position: relative;
    background-image: url('uploads/cleanup.jpg'),
                      linear-gradient(135deg, rgba(205, 191, 217, 0.4) 0%, rgba(208, 197, 220, 0.4) 100%);
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 100px;
}

.logo-left {
    display: flex;
    gap: 15px;
}

.logo {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    padding: 5px;
}

.badge {
    width: 120px;
    height: auto;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Hero Section Responsif */
.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 10vh 20px; /* otomatis menyesuaikan tinggi layar */
    min-height: 80vh;   /* biar proporsional di layar besar */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(1.2rem, 4vw, 2.5rem); /* sempitkan skala */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-size: clamp(0.8rem, 1.8vw, 1rem); /* lebih kecil di layar kecil */
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-primary {
    background: white;
    color: #5a189a;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
}

.btn-primary:hover {
    transform: scale(1.05);
}

/* Responsif tambahan */
@media (max-height: 600px) {
    .hero-content {
        padding: 5vh 15px;
        min-height: auto;
    }
}


/* bagian section */
section {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  filter: blur(8px);
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

section.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.btn-primary {
    background: white;
    color: #5a189a;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
}

.btn-primary:hover {
    transform: scale(1.05);
}


.btn-secondary {
    background: white;
    color: #5a189a;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-secondary:hover {
    transform: scale(1.05);
}

/* Services Section */
.services {
    background: #f8f9fa;
    padding: 80px 20px;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    color: #5a189a;
    margin-bottom: 10px;
}

.services-subtitle {
    color: #666;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-icon.green {
    background: #d4edda;
    color: #28a745;
}

.service-icon.red {
    background: #f8d7da;
    color: #dc3545;
}

.service-icon.yellow {
    background: #fff3cd;
    color: #ffc107;
}

.service-icon.blue {
    background: #d1ecf1;
    color: #17a2b8;
}

.service-icon.purple {
    background: #e2d9f3;
    color: #6f42c1;
}

.plus-icon {
    position: absolute;
    top: -5px;
    right: -5px;
    background: inherit;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    border: 2px solid white;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Video Section */
.video-section {
  background: #f9f7ff;
  padding: 80px 20px;
  text-align: center;
}

.video-section h2 {
  font-size: 2.2rem;
  color: #4a148c;
  margin-bottom: 10px;
}

.video-subtitle {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.video-item h3 {
  font-size: 1.2rem;
  color: #5a189a;
  margin-bottom: 15px;
  font-weight: 600;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* rasio 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .video-section h2 {
    font-size: 1.8rem;
  }
  .video-subtitle {
    font-size: 1rem;
  }
  .video-item h3 {
    font-size: 1.1rem;
  }
}


/* Learning Section */
.learning {
    background: #f8f9fa;
    padding: 80px 20px;
    text-align: center;
}

.learning h2 {
    font-size: 2.5rem;
    color: #5a189a;
    margin-bottom: 10px;
}

.learning-subtitle {
    color: #666;
    margin-bottom: 50px;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.learning-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.learning-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.learning-icon svg {
    width: 35px;
    height: 35px;
}

.learning-icon.purple {
    background: #e2d9f3;
    color: #6f42c1;
}

.learning-icon.yellow {
    background: #fff3cd;
    color: #ffc107;
}

.learning-icon.teal {
    background: #d1f2eb;
    color: #20c997;
}

.learning-icon.lime {
    background: #e8f5e9;
    color: #8bc34a;
}

.learning-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.learning-card p {
    color: #666;
    font-size: 0.95rem;
}

/* About Section */
.about {
    background: white;
    padding: 80px 20px;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    color: #5a189a;
    margin-bottom: 40px;
}

.about-box {
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 60px 40px;
    border: 3px solid #ddd;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.about-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: bold;
}

.about-icon.red {
    background: #dc3545;
    color: white;
}

.about-icon.black {
    background: #333;
    color: white;
}

.about-icon svg {
    width: 30px;
    height: 30px;
}

.about-center {
    font-size: 4rem;
    font-weight: bold;
    color: #333;
}

.about-timer {
    border: 3px solid #333;
    border-radius: 10px;
    padding: 15px 30px;
}

.timer-display {
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
    color: #666;
    line-height: 1.8;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #6a11cb 0%, #5a189a 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.4);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.cta-buttons a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.cta-buttons a:hover {
    transform: scale(1.05);
}

.cta-buttons svg {
    width: 24px;
    height: 24px;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.btn-website {
    background: #ffd60a;
    color: #333;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #6a11cb 0%, #5a189a 100%);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffd60a;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.9;
    line-height: 1.8;
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* rasio 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== FAQ / Benefits Section ===== */
.benefits {
  background: #f7f5ff;
  padding: 80px 20px;
  text-align: center;
}

.benefits h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #4a148c;
  font-weight: 600;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #4a148c;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  background: rgba(123, 44, 191, 0.08);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background: #fafafa;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 15px 25px 25px;
}

.faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: #333;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .benefits h2 {
    font-size: 1.8rem;
  }
  .faq-question {
    font-size: 1rem;
  }
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .benefits h2,
    .services h2,
    .video-section h2,
    .learning h2,
    .about h2,
    .cta h2 {
        font-size: 1.8rem;
    }

    .services-grid,
    .learning-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        display: grid;
        gap: 20px;
        justify-items: center;
    }

    .service-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .about-box {
        flex-direction: column;
        gap: 30px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons a {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .speech-bubbles {
        grid-template-columns: 1fr;
    }
}

/* ini css untuk statistik pengunjung */
.visitor-counter {
  text-align: center;
  margin-top: 10px;
}

.counter-img {
  width: 180px;
  max-width: 100%;
  filter: brightness(1.1);
  transition: transform 0.3s ease;
}

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

.visitor-counter p {
  color: #ffd60a;
  font-size: 0.9rem;
  margin: 6px 0 0;
}

.visitor-counter a {
  color: #fff;
  text-decoration: underline;
  opacity: 0.8;
}

.visitor-counter a:hover {
  opacity: 1;
}





