/**
* PMWA Landing Page - Custom CSS
* Font: Poppins
* Warna: PMWA Green (#25D366), PMWA Blue (#0D6EFD)
* Responsif & jarak antar section lega
*/

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
:root {
  --default-font: "Poppins", sans-serif;
  --heading-font: "Poppins", sans-serif;
  --nav-font: "Poppins", sans-serif;

  --pmwa-green: #25D366;
  --pmwa-dark-green: #128C7E;
  --pmwa-blue: #0D6EFD;
  --pmwa-dark-blue: #0B5ED7;

  --background-color: #ffffff;
  --default-color: #3d4348;
  --heading-color: #3e5055;
  --accent-color: #25D366;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  --nav-color: #313336;
  --nav-hover-color: #25D366;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #313336;
  --nav-dropdown-hover-color: #25D366;

  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling
--------------------------------------------------------------*/
* {
  box-sizing: border-box;
}
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  color: var(--pmwa-dark-green);
  text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 700;
}
img {
  max-width: 100%;
  height: auto;
}

/*--------------------------------------------------------------
# PHP Email Form Messages
--------------------------------------------------------------*/
.php-email-form .error-message { display: none; background: #df1529; color: #fff; padding: 15px; margin-bottom: 24px; font-weight: 600; }
.php-email-form .sent-message { display: none; color: #fff; background: #059652; text-align: center; padding: 15px; margin-bottom: 24px; font-weight: 600; }
.php-email-form .loading { display: none; background: var(--surface-color); text-align: center; padding: 15px; margin-bottom: 24px; }
.php-email-form .loading:before { content: ""; display: inline-block; border-radius: 50%; width: 24px; height: 24px; margin: 0 10px -6px 0; border: 3px solid var(--accent-color); border-top-color: var(--surface-color); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/*--------------------------------------------------------------
# Header (Responsif)
--------------------------------------------------------------*/
.header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  padding: 12px 0;
  transition: all 0.5s;
  z-index: 997;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.header .logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.header .logo img {
  max-height: 40px;
  margin-right: 8px;
}
.header .logo h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--pmwa-green);
  margin: 0;
}
.header .logo h1 span {
  color: var(--pmwa-blue);
}
.header .btn-getstarted {
  color: #fff;
  background: var(--pmwa-green);
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(37,211,102,0.3);
  font-weight: 700;
  border: none;
  transition: 0.3s;
  white-space: nowrap;
}
.header .btn-getstarted:hover {
  background: var(--pmwa-dark-green);
  transform: translateY(-2px);
}

/* ===== Navigation ===== */
.navmenu ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.navmenu a {
  color: var(--nav-color);
  font-weight: 500;
  font-size: 15px;
  transition: 0.3s;
  padding: 5px 0;
}
.navmenu a:hover,
.navmenu a.active {
  color: var(--nav-hover-color);
}

/* Mobile nav toggle - disembunyikan di desktop */
.mobile-nav-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--nav-color);
  line-height: 0;
}

/* Responsif Header */
@media (max-width: 1199px) {
  .header .logo { order: 1; }
  .header .btn-getstarted { order: 2; margin: 0 15px 0 0; padding: 6px 15px; font-size: 13px; }
  .header .navmenu { order: 3; }

  .mobile-nav-toggle {
    display: block;
    margin-right: 16px; /* <--- PERBAIKAN: memberi jarak dari tepi kanan */
  }
  .navmenu ul {
    display: none;
    flex-direction: column;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: absolute;
    top: 70px;
    right: 20px;
    width: 220px;
    gap: 12px;
    z-index: 999;
  }
  .navmenu ul.open {
    display: flex;
  }
  .navmenu a {
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
  }
}

@media (max-width: 480px) {
  .header .logo h1 { font-size: 22px; }
  .header .btn-getstarted { font-size: 12px; padding: 5px 12px; }
  .header .logo img { max-height: 32px; }
  .navmenu ul { top: 60px; right: 10px; width: 200px; }
}

/*--------------------------------------------------------------
# Hero (Responsif)
--------------------------------------------------------------*/
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f5e9 100%);
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.hero .container {
  text-align: center;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
}
.hero h1 span {
  color: var(--pmwa-green);
}
.hero p {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: 10px auto 30px;
}
.hero .btn-get-started {
  background: var(--pmwa-green);
  color: #fff;
  padding: 14px 36px;
  border-radius: 40px;
  font-weight: 700;
  display: inline-block;
  margin-right: 16px;
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
  transition: 0.2s;
}
.hero .btn-get-started:hover {
  background: var(--pmwa-dark-green);
  transform: translateY(-3px);
  color: #fff;
}
.hero .btn-watch-video {
  color: #333;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero .btn-watch-video i {
  font-size: 32px;
  color: var(--pmwa-green);
}
.hero .hero-img {
  max-width: 80%;
  margin-top: 50px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Hero Responsif */
@media (max-width: 991px) {
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 16px; max-width: 90%; }
}
@media (max-width: 767px) {
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero .btn-get-started { padding: 12px 24px; font-size: 15px; margin-right: 10px; }
  .hero .btn-watch-video { font-size: 14px; }
  .hero .btn-watch-video i { font-size: 28px; }
  .hero .hero-img { max-width: 100%; margin-top: 30px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 14px; }
  .hero .d-flex { flex-direction: column; gap: 12px; }
  .hero .btn-get-started { margin-right: 0; }
}

/*--------------------------------------------------------------
# Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 50px;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  color: #1a2a3a;
  margin-bottom: 12px;
}
.section-title p {
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .section-title h2 { font-size: 26px; }
  .section-title p { font-size: 14px; max-width: 90%; }
}

/*--------------------------------------------------------------
# Semua Section - Jarak Lebar
--------------------------------------------------------------*/
section, .section {
  padding: 80px 0;
}

/* Untuk section pertama setelah hero, kurangi padding atas */
#featured-services {
  padding-top: 60px;
}

/* Untuk section terakhir, padding bawah lebih lega */
#contact {
  padding-bottom: 100px;
}

/*--------------------------------------------------------------
# Featured Services (Responsif)
--------------------------------------------------------------*/
.featured-services {
  background: #f8fafc;
}
.featured-services .service-item {
  background: #fff;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: 0.2s;
  height: 100%;
  border-left: 4px solid var(--pmwa-green);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.featured-services .service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.featured-services .service-item .icon {
  font-size: 36px;
  color: var(--pmwa-green);
  flex-shrink: 0;
}
.featured-services .service-item .title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}
.featured-services .service-item .description {
  font-size: 14px;
  color: #6c757d;
}
@media (max-width: 767px) {
  .featured-services .service-item { flex-direction: column; align-items: center; text-align: center; }
  .featured-services .service-item .icon { margin-bottom: 10px; }
}

/*--------------------------------------------------------------
# About (Responsif)
--------------------------------------------------------------*/
.about { padding: 80px 0; }
.about .content .who-we-are {
  text-transform: uppercase;
  margin-bottom: 15px;
  color: var(--pmwa-green);
  font-weight: 700;
}
.about .content h3 { font-size: 2rem; font-weight: 700; }
.about .content ul { list-style: none; padding: 0; }
.about .content ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.about .content ul i { font-size: 1.25rem; color: var(--pmwa-green); }
.about .content .read-more { color: var(--pmwa-green); font-weight: 600; }
.about .content .read-more:hover { color: var(--pmwa-dark-green); }
.about .about-images img { border-radius: 10px; width: 100%; }
@media (max-width: 767px) {
  .about .content h3 { font-size: 1.5rem; }
  .about .content ul li { font-size: 14px; }
}

/*--------------------------------------------------------------
# Features (Tabs) - Jarak tambahan
--------------------------------------------------------------*/
.features {
  padding: 80px 0;
  background: #f8fafc;
}
.features .nav-tabs { border: 0; }
.features .nav-item { width: 100%; margin-bottom: 15px; }
.features .nav-link {
  border: none;
  padding: 16px 20px;
  border-radius: 12px;
  background: #f1f3f5;
  color: #495057;
  font-weight: 600;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}
.features .nav-link i { font-size: 24px; }
.features .nav-link.active {
  background: var(--pmwa-green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}
.features .nav-link h4 { font-size: 18px; font-weight: 700; margin: 0; }
.features .nav-link p { font-size: 14px; margin: 4px 0 0; }
.features .tab-pane img { border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.06); width: 100%; }
@media (max-width: 991px) {
  .features .nav-link { padding: 12px 16px; }
  .features .nav-link h4 { font-size: 16px; }
}
@media (max-width: 767px) {
  .features .nav-link { flex-direction: column; align-items: flex-start; }
}

/*--------------------------------------------------------------
# Services (Responsif)
--------------------------------------------------------------*/
.services {
  padding: 80px 0;
}
.services .service-item {
  background: #fff;
  border: 1px solid #e9ecef;
  height: 100%;
  padding: 30px;
  border-radius: 10px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: 0.3s;
}
.services .service-item .icon { font-size: 32px; color: var(--pmwa-green); flex-shrink: 0; }
.services .service-item h3 { font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.services .service-item p { margin-bottom: 0; color: #6c757d; }
.services .service-item:hover { box-shadow: 0 2px 25px rgba(0,0,0,0.08); }
@media (max-width: 767px) {
  .services .service-item { flex-direction: column; align-items: center; text-align: center; }
}

/*--------------------------------------------------------------
# Pricing (Responsif)
--------------------------------------------------------------*/
.pricing {
  padding: 80px 0;
  background: #f8fafc;
}
.pricing .pricing-item {
  background: #fff;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  height: 100%;
  border: 1px solid #e9ecef;
  transition: 0.2s;
  position: relative;
}
.pricing .pricing-item.featured {
  border-color: var(--pmwa-green);
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(37,211,102,0.15);
}
.pricing .pricing-item .popular {
  background: var(--pmwa-green);
  color: #fff;
  padding: 4px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}
.pricing .pricing-item h3 { font-weight: 800; margin-top: 10px; }
.pricing .pricing-item h4 {
  font-size: 36px;
  font-weight: 800;
  color: #1a2a3a;
}
.pricing .pricing-item h4 sup { font-size: 18px; top: -12px; }
.pricing .pricing-item h4 span { font-size: 16px; font-weight: 400; color: #6c757d; }
.pricing .pricing-item .cta-btn {
  display: block;
  background: var(--pmwa-green);
  color: #fff;
  padding: 10px;
  border-radius: 30px;
  font-weight: 700;
  text-align: center;
  margin: 20px 0 10px;
  transition: 0.2s;
}
.pricing .pricing-item .cta-btn:hover { background: var(--pmwa-dark-green); color: #fff; }
.pricing .pricing-item ul { list-style: none; padding: 0; margin-top: 20px; }
.pricing .pricing-item ul li {
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.pricing .pricing-item ul li.na { color: #adb5bd; }
.pricing .pricing-item ul li i { font-size: 18px; }
.pricing .pricing-item ul li .bi-check { color: var(--pmwa-green); }
.pricing .pricing-item ul li .bi-x { color: #dc3545; }
@media (max-width: 991px) {
  .pricing .pricing-item.featured { transform: scale(1.02); }
}
@media (max-width: 767px) {
  .pricing .pricing-item.featured { transform: none; }
  .pricing .pricing-item h4 { font-size: 30px; }
}

/*--------------------------------------------------------------
# FAQ (Responsif)
--------------------------------------------------------------*/
.faq {
  padding: 80px 0;
}
.faq .faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 16px 20px;
  border: 1px solid #e9ecef;
  cursor: pointer;
  transition: 0.2s;
}
.faq .faq-item:hover { border-color: var(--pmwa-green); }
.faq .faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq .faq-item .faq-content { display: none; padding-top: 12px; color: #555; font-size: 14px; }
.faq .faq-item.faq-active .faq-content { display: block; }
.faq .faq-item .faq-toggle { font-size: 20px; transition: 0.2s; }
.faq .faq-item.faq-active .faq-toggle { transform: rotate(90deg); }
@media (max-width: 767px) {
  .faq .faq-item h3 { font-size: 14px; }
}

/*--------------------------------------------------------------
# Testimonials (Responsif)
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  background: #f8fafc;
}
.testimonials .testimonial-item {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  text-align: center;
  height: 100%;
}
.testimonials .testimonial-item .stars { color: #f59e0b; font-size: 18px; margin-bottom: 10px; }
.testimonials .testimonial-item p { font-style: italic; color: #555; }
.testimonials .testimonial-item .profile img {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover; margin-bottom: 8px;
}
.testimonials .testimonial-item .profile h3 { font-size: 16px; font-weight: 700; margin: 0; }
.testimonials .testimonial-item .profile h4 { font-size: 13px; color: #6c757d; }
.testimonials .swiper-pagination { margin-top: 20px; position: relative; }
.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px; height: 12px; background: #ddd; opacity: 1;
}
.testimonials .swiper-pagination .swiper-pagination-bullet-active { background: var(--pmwa-green); }

/*--------------------------------------------------------------
# Contact (Responsif)
--------------------------------------------------------------*/
.contact {
  padding: 80px 0 100px;
}
.contact .info-item {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  text-align: center;
  height: 100%;
}
.contact .info-item i { font-size: 36px; color: var(--pmwa-green); }
.contact .info-item h3 { margin: 12px 0 6px; font-weight: 700; }
.contact .php-email-form {
  background: #fff;
  padding: 30px;
  box-shadow: 0 0 20px rgba(0,0,0,0.06);
  border-radius: 16px;
}
.contact .php-email-form .form-control {
  border-radius: 12px;
  border: 1px solid #e9ecef;
  padding: 12px 16px;
}
.contact .php-email-form .form-control:focus {
  border-color: var(--pmwa-green);
  box-shadow: 0 0 0 0.2rem rgba(37,211,102,0.15);
}
.contact .php-email-form button[type="submit"] {
  background: var(--pmwa-green);
  border: none;
  padding: 12px 36px;
  border-radius: 30px;
  color: #fff;
  font-weight: 700;
  transition: 0.2s;
}
.contact .php-email-form button[type="submit"]:hover { background: var(--pmwa-dark-green); }
@media (max-width: 767px) {
  .contact .php-email-form { padding: 20px; }
  .contact .info-item { padding: 16px; }
  .contact .info-item i { font-size: 28px; }
}

/*--------------------------------------------------------------
# Footer (Responsif)
--------------------------------------------------------------*/
.footer {
  background: #fff;
  border-top: 1px solid #e9ecef;
  padding: 40px 0 20px;
}
.footer .footer-top { padding-top: 10px; }
.footer .footer-about .logo span {
  font-size: 24px;
  font-weight: 800;
  color: var(--pmwa-green);
}
.footer .social-links a {
  display: inline-block;
  background: #f1f3f5;
  color: #333;
  width: 36px; height: 36px;
  border-radius: 50%;
  text-align: center;
  line-height: 38px;
  margin-right: 8px;
  transition: 0.2s;
}
.footer .social-links a:hover { background: var(--pmwa-green); color: #fff; }
.footer .footer-links ul { list-style: none; padding: 0; }
.footer .footer-links ul li { padding: 8px 0; }
.footer .footer-links ul a { color: #6c757d; transition: 0.2s; }
.footer .footer-links ul a:hover { color: var(--pmwa-green); }
.footer .footer-newsletter .newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.footer .footer-newsletter .newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #e9ecef;
  border-radius: 30px;
}
.footer .footer-newsletter .newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--pmwa-green);
}
.footer .footer-newsletter .newsletter-form input[type="submit"] {
  background: var(--pmwa-green);
  border: none;
  padding: 10px 24px;
  border-radius: 30px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
.footer .footer-newsletter .newsletter-form input[type="submit"]:hover { background: var(--pmwa-dark-green); }
.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid #e9ecef;
  text-align: center;
}
@media (max-width: 767px) {
  .footer .footer-newsletter .newsletter-form { flex-direction: column; }
  .footer .footer-newsletter .newsletter-form input[type="submit"] { width: 100%; }
  .footer .footer-links ul li { padding: 6px 0; }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
#preloader .spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #f1f3f5;
  border-top-color: var(--pmwa-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/*--------------------------------------------------------------
# Scroll Top
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 30px;
  bottom: 30px;
  z-index: 99999;
  background: var(--pmwa-green);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37,211,102,0.3);
  transition: 0.2s;
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
}
.scroll-top:hover { background: var(--pmwa-dark-green); color: #fff; }

/*--------------------------------------------------------------
# Utility
--------------------------------------------------------------*/
.light-background { background: #f8fafc; }