
/* Gunakan font modern */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Comfortaa:wght@400;600&family=Fredoka:wght@300..700&family=Varela+Round&display=swap');


:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Montserrat",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, #f8f8f8 0%, #fffdfd 50%, #ffffff 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}  
main, section, .konten-utama {
  margin-top: 20px;
}  
    /* CARD BASE */

.card {
  background: linear-gradient(180deg, #f8fafc6b 0%, #f1f5f96b 50%, #e2e8f067 100%);
  border-radius: 14px;
  color: #212525; /* biru elegan */
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  text-align: center;
  padding: 2.5rem 1rem;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  width: 200px;
  height: 120px;
  margin-top: 20px;
}

/* Ikon di dalam card */
.card i {
  font-size: 2.5rem;
  color: #0284c7; /* biru muda */
  margin-bottom: 0.75rem;
  transition: color 0.3s ease-in-out;
}

/* Hover efek */
.card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: #0284c7;
  box-shadow: 0 1px 25px rgba(2, 132, 199, 0.25);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  color: #075985;
}

/* Warna ikon ikut berubah saat hover */
.card:hover i {
  color: #065dff;
}

/* Animasi lembut */
.card {
  transition: all 0.25s ease;
}

/* Responsif */
@media (max-width: 640px) {
  .card {
    font-size: 0.9rem;
    padding: 2rem 1rem;
  }

  .card i {
    font-size: 2rem;
  }
}

  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease-out forwards;
  }
  .slide-left {
    opacity: 0;
    transform: translateX(-40px);
    animation: slideLeft 1s ease-out forwards;
  }
  .slide-right {
    opacity: 0;
    transform: translateX(40px);
    animation: slideRight 1s ease-out forwards;
  }

  @keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes slideLeft {
    to { opacity: 1; transform: translateX(0); }
  }
  @keyframes slideRight {
    to { opacity: 1; transform: translateX(0); }
  }

  /* Rapatkan grid dan kartu */
  .card {
    padding: 1rem 0.5rem; /* lebih kecil dari p-10 */
    border-radius: 12px;
  }

  .grid-rapat {
    gap: 0.5rem; /* lebih rapat dari gap-6 */
  }

  /* Header depan */
.headerdepan {
  /*
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-image: url("../images/line_header.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-attachment: fixed; 
  border-bottom: 1px solid lightgray;
  height: 100px; 
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, #f6f6f6 0%, #F3F4F6 50%, #F3F4F6 100%);
  z-index: 100;

*/
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 1000;
  position: relative;
  background-color: var(--background-color);
  height: 96px;

}
header {
  --background-color: #e6e6e9;
  --heading-color: #ffffff;
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 1000;
  position: fixed;
  background-color: var(--background-color);
  height: 96px;
  top: 0;
  left: 0;
  width: 100%;

  
}



/* NAV */
header nav {
  display: flex;
  align-items: flex-end;
  
}

header nav a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: #1f2535;
  margin-left: 2rem;
  text-decoration: none;
  letter-spacing: 0.1px;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
}

header nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #eb4d25;
  transition: width 0.3s ease;
}

header nav a:hover {
  color: #af1e1e;
  transform: translateY(-1px);
  font-weight: 700;
}

header nav a:hover::after {
  width: 100%;
}

header nav a.active {
  color: #2563eb;
}

header nav a.active::after {
  width: 100%;
  background-color: #2563eb;
}

header span{
  font-family: 'Varela Round', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #6e044b;
  text-decoration: none;
  letter-spacing: 0.1px;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
}

header p{
  font-family: 'Varela Round', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  color: #222630;
  text-decoration: none;
  letter-spacing: 0.1px;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
}

/* CSS FOOTER */
.footerdeskel {
  background-color: #F3F4F6;
  border-top: 1px solid #e5e7eb;
  padding: 2rem 1rem;
  font-family: "Poppins", sans-serif;
  color: #333;
  font-size: 0.9rem;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Kolom kiri */
.footer-left {
  flex: 1;
  text-align: center;
}
.footer-left .footer-logo {
  height: 120px;
  align-items: center;
  padding-left: 80px;
}

/* Kolom tengah */
.footer-center {
  flex: 2;
  text-align: left;
  
}
.footer-center .judul {
  font-weight: 600;
  color: #222;
  margin-bottom: 0.4rem;
}
.footer-center .judul span {
  color: #8d2b04; /* merah halus */
}
.footer-center .alamat {
  color: #444;
  font-size: 0.9rem;
  line-height: 1.3rem;
  margin-bottom: 0.6rem;
}

.footer-center .kontak-title {
  margin-top: 0.4rem;
  font-weight: 600;
}
.footer-center .kontak-info {
  font-size: 0.85rem;
}
.footer-center .kontak-info i {
  color: #1d4ed8;
  margin-right: 5px;
}
.footer-center .link {
  color: #1e3a8a;
  text-decoration: none;
}
.footer-center .link:hover {
  text-decoration: underline;
}

/* Kolom kanan */
.footer-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center; /* sejajarkan vertikal */
  text-align: left; /* agar teks tidak terlalu ke tengah */
}

.footer-right-inner {
  display: flex;
  align-items: center; /* logo & teks sejajar secara vertikal */
  gap: 10px; /* jarak antara logo dan teks */
}

.footer-right .footer-logo-kanan {
  height: 80px;
  object-fit: contain;
}

.footer-right .slogan {
  font-size: 0.85rem;
  line-height: 1.2rem;
  color: #333;
  margin: 0;
}


/* Footer bawah */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #d4d4d4;
  margin-top: 1rem;
  padding-top: 0.5rem;
  font-size: 0.8rem;
  color: #444;
}
.footer-nav {
  margin-bottom: 0.3rem;
}
.footer-nav a {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 500;
}
.footer-nav a:hover {
  color: #af1e1e;
  font-weight: bold;
  text-decoration: underline;
}
/* END FOOTER */


/* === BUTTONS === */
.btn-glow, .btncrud-glow {
  background: linear-gradient(to right, #eeeaea46, #d3d2d150);
  height: 35px;
  width: 60px;
  color: #2b2929fa;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.btn-glow {
  font-family: 'Comfortaa', sans-serif;
  color: #2b2929fa;
  padding: 0.5rem 0.4rem;
  font-weight: 700;
  width: 100px;
  font-size: 0.85rem;
}

.btn-glow:hover {
  color: #067932;
  font-weight: 800;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 8px rgba(4, 75, 241, 0.486);
}

.btncrud-glow {
  color: #3003f8fa;
  font-weight: 600;
  font-size: 0.85rem;
  width: 100px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btncrud-glow:hover {
  color: #08aaeb;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(37,99,235,0.6);
}

/* Fonts Text H* dkk */
.hate {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: #201919;  
  letter-spacing: -0.5px;
  line-height: 0.9;
  text-align: justify;
}

.hate2 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: #201919;  
  letter-spacing: -0.5px;
  line-height: 0.9;
  text-align: center;
}

.hateJudul2 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1.65rem;
  color: #201919;
  letter-spacing: -0.5px;
  line-height: 1.1;
  display: inline-block; /* supaya border sesuai panjang teks */
  border-bottom: 5px solid #eb4d25; /* warna garis */
  padding-bottom: 4px; /* jarak garis dari teks */
  width: auto; /* panjang garis 50% dari container */
}

.hateJudul {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 2.05rem;
  color: #201919;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-align: center;
  display: inline-block;
  background:linear-gradient(to right, crimson 25%, transparent 25%) bottom;
  background-size: auto 5px; /* lebar & tinggi garis */
  background-repeat: no-repeat;
  padding-bottom: 14px;
}

.subJudulku {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1.95rem;
  color: #85f703;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-align: left;
  display: inline-block;
  padding-bottom: 14px;
}

.judulHeader {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 2.15rem;
  color: #201919;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-align: center;
  display: inline-block;
  background:linear-gradient(to right, crimson 40%, transparent 40%) bottom;
  background-size: auto 2px; /* lebar & tinggi garis */
  background-repeat: no-repeat;
  padding-bottom: 14px;
}

.judulsub {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1.75rem;
  color: #201919;
  letter-spacing: -0.5px;
  line-height: 1.1;
  padding: 10px;
  text-align: center;
  text-align: justify;
  display: inline-block;
  background:linear-gradient(to right, crimson 40%, transparent 40%) bottom;
  background-size: auto 2px; /* lebar & tinggi garis */
  background-repeat: no-repeat;
  padding-bottom: 14px;
}

.narasi1 {
  color: #444;
  font-size: 0.9rem;
  line-height: 1.3rem;
  margin-bottom: 0.6rem;
}


.narasi2 {
  color: #1f1212;
  font-size: 0.8rem;
  line-height: 1rem;
  margin-bottom: 0.6rem;
}

.narasi3 {
  color: #1f1212;
  font-size: 0.8rem;
}
.narasi3:hover {
  color: #06cf06;
}

.judulnarasi {
  color: #444;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3rem;
  margin-bottom: 0.6rem;
}

.judulnarasi2 {
  color: #444;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3rem;
  margin-bottom: 0.6rem;
}

.narasitext {
  color: #444;
  font-family: 'Poppins', sans-serif;
  font-size: 1.19rem;
  line-height: 1.3rem;
  margin-bottom: 0.6rem;
}

/* LOGIN @mankmoers*/
    .p2 {
      font-family: 'Gluten', sans-serif;
      font-size: 14px;
      color: rgb(250, 4, 4);
      text-align: center;
      margin-bottom: 1.5rem;
      text-shadow: 0 1px 8px rgba(0,0,0,0.3);
    }

    .garis-tipis {
      border: 0;
      height: 1px;
      background: rgba(255,255,255,0.2);

    }

  .nik input {
    color: #1c1c1d;
    font-family: 'Poppins', sans-serif;
    border: 1px solid rgb(0, 153, 255);
    border-radius: 8px;
    padding: 8px 12px;
    width: 100%;
    outline: none;
    transition: border-color 0.3s ease;
  }

  .nik input:focus {
    border-color: #001aff; /* warna aqua lebih cerah saat fokus */
    box-shadow: 0 0 5px rgba(0, 26, 255, 0.5);
  }



  .garistipisku {
  border: 0;
  height: 1px;
  background: rgba(75, 5, 240, 0.2);
  margin: 0.5rem 0 1.5rem 0;
}

/* Efek emboss kotak */
.icon_dimensi_3d {
  background: linear-gradient(180deg, #f8fafc6b 0%, #f1f5f96b 50%, #e2e8f067 100%);
  border-radius: 14px;
  color: #212525; /* biru elegan */
  font-family: 'Fredoka', sans-serif;
  font-size: 1.02rem;
  font-weight: 400;
  text-align: center;
  line-height: 1.05rem;
  padding: 2.5rem 1rem;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  width: 250px;
  height:250px;
  margin-top: 20px;
  border: 1px solid rgb(209, 206, 205);
}


/* Hover - efek naik timbul */
.icon_dimensi_3d:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: #0284c7;
  box-shadow: 0 1px 25px rgba(2, 132, 199, 0.25);
  color: #075985;
}


/* === MISC === */
.garisku {
  background: linear-gradient(180deg, #252525 0%, #141414 50%, #111111 100%);
  width: 100%;
  margin: 10px auto;
  left: 0px;
}



.kotakku {
  background: linear-gradient(180deg, #f8fafc6b 0%, #f1f5f96b 50%, #e2e8f067 100%);
  border-radius: 14px;
  color: #212525;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  text-align: center;
  padding: 1rem 1rem;
  width: 500px;
  height: auto;
  margin-top: 20px;
  border: 1px solid rgb(209, 206, 205);
  transition: all 0.3s ease-in-out;
}

.kotakmenu {
  background: linear-gradient(180deg, #037cf5 0%, #056fda 50%, #0565e4 100%);
  border-radius: 10px;
  color: rgb(213, 222, 235);
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  text-align: center;
  padding: 1rem 1rem;
  height: auto;
  margin-top: 20px;
  border: 1px solid rgb(209, 206, 205);
  transition: all 0.3s ease-in-out;
}

.kotakmenu:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: #0284c7;
  box-shadow: 0 1px 25px rgba(2, 132, 199, 0.25);
  color: #09ff00;
  cursor: pointer;
}

/* === TABLE === */
table, .tabel {
  width: 100%;
  border-collapse: collapse;
  margin: 20px auto;
  font-family: 'Varela Round', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #17181a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 59, 145, 0.15);
}

table th, table td, .tabel th, .tabel td {
  border: 1px solid #a0b3d9;
  padding: 10px 14px;
  text-align: center;
}

table th {
  background-color: #003b91;
  color: #fff;
  font-weight: 400;
  font-size: 0.80rem;
  font-weight: 600;


}

table tr:nth-child(even) {
  background-color: #f2f6fc;
}

table tr:hover {
  background-color: #e6eefc;
  transition: background-color 0.2s ease;
}



/*--------------------------------------------------------------
# Clients @mankmoer
--------------------------------------------------------------*/
.clients .swiper {
  padding: 10px 0;
}

.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-slide img {
  transition: 0.3s;
}

.clients .swiper-slide img:hover {
  transform: scale(1.1);
}



  .swiper-wrapper {
    display: flex !important;
    align-items: center;
  }
  .swiper-slide img {
    max-height: 80px;
    width: auto;
    margin: 0 auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
  }
  .swiper-slide img:hover {
    filter: grayscale(0%);
  }



  .btnsidenav {
  background: linear-gradient(to right, #eeeaea46, #d3d2d150);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  padding: 0.5rem 0.4rem;
  font-weight: 700;
  height: 35px;
  width: 60px;
  color: #2b2929fa;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.btnsidenav:hover {
  color: #021d94;
  font-weight: 800;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 8px rgba(4, 75, 241, 0.486);
}

.btnsubsidenav {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.15rem;
  color: #2b2929fa;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  padding: 0.5rem 0.75rem;
  border-bottom: 3px solid transparent; 
  border-radius: 4px;
}

/* efek hover */
.btnsubsidenav:hover {
  color: #163011;
  font-weight: 600;
  border-bottom-color: #84e271; 
  background-color: rgba(30, 112, 14, 0.05); 
  transition: all 0.25s ease;
}

/* menu aktif */
.btnsubsidenav.active {
  color: #84e271;
  font-weight: 600;
  border-bottom-color: #84e271;
  background-color: rgba(30, 112, 14, 0.1);
}
