/******************************************
    Version: 1.0
/****************************************** */

@media only screen and (min-width: 992px) and (max-width: 1199px) {
}
@media (min-width: 768px) and (max-width: 991px) {
  #mainNav {
    background-color: #ffffff;
    padding: 15px 10px;
  }
  .navbar-dark .navbar-brand {
    width: 55%;
  }
  .navbar-dark .navbar-nav .nav-link::after {
    display: none;
  }
  .navbar-dark .navbar-toggler {
    color: rgba(255, 255, 255);
    border-color: rgba(255, 255, 255);
  }
  .heading h1 {
    font-size: 28px;
  }
  .heading p {
    font-size: 14px;
  }
  .cd-headline.clip span {
    font-size: 20px;
  }
  .section-title h3 {
    font-size: 28px;
  }
  .section-title p {
    font-size: 14px;
  }
  #clouds {
    margin-top: -35%;
  }
  .message-box {
    margin-bottom: 30px;
  }
  .filter-button-group button {
    padding: 12px 27px;
  }
  .filter-button-group {
    text-align: center !important;
  }
  .post-box {
    margin-bottom: 30px;
  }
  .footer-distributed .footer-left {
    text-align: center;
  }
  .pricingTable .pricing-content li {
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  #mainNav {
    background-color: #ffffff;
    padding: 15px 10px;
  }
  .navbar-dark .navbar-brand {
    width: 55%;
  }
  .navbar-dark .navbar-nav .nav-link::after {
    display: none;
  }
  .navbar-dark .navbar-toggler {
    color: rgba(255, 255, 255);
    border-color: rgba(255, 255, 255);
  }
  .heading h1 {
    font-size: 28px;
  }
  .heading p {
    font-size: 14px;
  }
  .cd-headline.clip span {
    font-size: 20px;
  }
  .section-title h3 {
    font-size: 28px;
  }
  .section-title p {
    font-size: 14px;
  }
  #clouds {
    margin-top: -35%;
  }
  .message-box {
    margin-bottom: 30px;
  }
  .filter-button-group button {
    padding: 12px 27px;
  }
  .filter-button-group {
    text-align: center !important;
  }
  .post-box {
    margin-bottom: 30px;
  }
  .footer-distributed .footer-left {
    text-align: center;
  }
}
@media only screen and (min-width: 280px) and (max-width: 599px) {
  #mainNav {
    background-color: #ffffff;
    padding: 15px 10px;
  }
  .navbar-dark .navbar-brand {
    width: 55%;
  }
  .navbar-dark .navbar-nav .nav-link::after {
    display: none;
  }
  .fat-nav li {
    float: none;
    width: 100%;
  }
  .heading h1 {
    font-size: 28px;
  }
  .heading p {
    font-size: 14px;
  }
  .cd-headline.clip span {
    font-size: 20px;
  }
  .section-title h3 {
    font-size: 28px;
  }
  .section-title p {
    font-size: 14px;
  }
  #clouds {
    margin-top: -35%;
  }
  .message-box {
    margin-bottom: 30px;
  }
  .filter-button-group button {
    padding: 12px 27px;
  }
  .filter-button-group {
    text-align: center !important;
  }
  .post-box {
    margin-bottom: 30px;
  }
  .footer-distributed .footer-left {
    text-align: center;
  }
  .message-box h2 {
    font-size: 22px;
  }

  .skillbar-title {
    display: none;
  }
  .heading {
    vertical-align: bottom;
  }
  .pricingTable {
    margin-bottom: 30px;
  }
  .fat-nav li {
    font-size: 18px;
  }
  .banner h2 {
    font-size: 35px;
  }
  .banner h2::after {
    height: 26px;
  }
  .right-box-pro {
    margin-bottom: 30px;
  }
  .filter-button-group button {
    font-weight: 500;
    font-size: 12px;
  }
}

/* =========================================================
   PENGATURAN COMPACT KHUSUS HP (Max-Width: 767px)
   ========================================================= */
@media (max-width: 767px) {
  /* 1. Mengurangi Padding Section Global */
  .section {
    padding: 35px 0 !important; /* Asalnya 70px */
  }
  .first-section {
    padding: 8em 0 6em !important;
  }

  /* 2. Mengecilkan Typography & Judul */
  .heading h1 {
    font-size: 32px !important;
  }
  .heading p,
  .section-title p,
  .lead {
    font-size: 14px !important;
    line-height: 22px !important;
  }
  .section-title {
    margin-bottom: 30px !important; /* Asalnya 60px */
  }
  .section-title h3 {
    font-size: 24px !important; /* Asalnya 38px */
    line-height: 32px !important;
    margin-bottom: 10px !important;
  }

  /* 3. Merapatkan Card Pricing & Promo */
  .pricingTable .pricing-content li {
    font-size: 14px !important; /* Asalnya 20px */
    line-height: 32px !important; /* Asalnya 50px */
  }
  .pricingTable .pricingTable-header {
    padding: 20px 0 15px !important;
  }
  .pricingTable .pricingTable-signup {
    padding: 15px 0 !important;
  }
  .pricingTable-promo .price-value {
    font-size: 28px !important; /* Mengecilkan harga besar */
  }
  .pricingTable-promo .pricing-content li {
    font-size: 13px !important;
    line-height: 28px !important;
    margin: 0 15px !important;
  }
  .pricingTable {
    margin-bottom: 20px !important;
  }

  /* 4. Mengecilkan Ikon dan Layanan (Services) */
  .ser-icon {
    width: 60px !important;
    height: 60px !important;
    line-height: 60px !important;
  }
  .ser-icon i {
    font-size: 30px !important; /* Asalnya 50px */
  }
  .services-inner-box {
    padding: 15px 10px !important;
    margin-bottom: 15px !important;
  }
  .services-inner-box h2 {
    font-size: 18px !important;
    margin-top: 10px !important;
  }

  /* 5. Merapatkan Gallery / Portfolio */
  .gallery-single {
    margin: 15px 10px !important; /* Mengurangi jarak antar foto */
    border-width: 5px !important; /* Mengecilkan bingkai */
  }
  .filter-button-group button {
    padding: 8px 18px !important;
    font-size: 12px !important;
    margin-bottom: 5px !important;
  }

  /* 6. Mengecilkan Testimonial */
  .desc {
    padding: 15px !important; /* Asalnya 30px */
  }
  .desc h3 i {
    font-size: 22px !important;
  }
  .testimonial h4 {
    padding: 10px 0 !important;
    font-size: 16px !important;
  }

  /* 7. Merapatkan Area Footer */
  .footer {
    padding: 40px 0 30px !important; /* Asalnya 90px */
  }
  .main-footer {
    padding: 40px 0 !important; /* Asalnya 70px */
  }
  .cac h3 {
    padding: 30px 0 !important; /* Asalnya 60px */
    font-size: 16px !important;
  }
  .copyrights {
    padding: 15px 0 !important;
  }
  .footer .widget-title {
    margin-bottom: 15px !important;
  }
}

/* --- Pengaturan Footer Accordion untuk Mobile --- */
@media screen and (max-width: 768px) {
  /* Mengurangi jarak padding agar lebih rapat */
  .main-footer {
    padding: 40px 0 10px !important;
  }

  /* Rapikan bagian logo */
  .main-footer .img-logo {
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 20px;
    margin-bottom: 20px !important;
  }

  /* Modifikasi judul menjadi tombol yang bisa diklik */
  .main-footer .foot-title {
    cursor: pointer;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 10px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 16px;
  }

  /* Menambahkan icon panah ke bawah (dari FontAwesome) di sebelah kanan judul */
  .main-footer .foot-title::after {
    content: "\f107";
    font-family: "FontAwesome";
    position: absolute;
    right: 0;
    top: 0;
    transition: transform 0.3s ease;
  }

  /* Efek putar panah saat menu dibuka */
  .main-footer .foot-title.menu-open::after {
    transform: rotate(180deg);
  }

  /* Sembunyikan isinya secara default (bawaan) di HP */
  .main-footer .ph-links-column {
    display: none;
    padding-bottom: 15px;
  }
}

/* Memastikan footer selalu terbuka di layar PC/Laptop */
@media screen and (min-width: 769px) {
  .main-footer .ph-links-column {
    display: block !important;
  }
}
