:root {
  --color-primary: #f9fdff;
  --color-primary-light: hsl(202, 63%, 75%);
  --color-primary-variant: #6cc9db;
  --color-primary-dark: #43bad1;
  
  --color-alert: #fb4545;
  --color-alert-light: hsl(0, 87%, 66%, 15%);
  
  --color-blue-200:#dcf1f6;
  --color-blue-300: rgba(139, 205, 218, 0.907);
  --color-blue-700:#1966d1;
  --color-blue-900:#0149b0;
  --color-green-bright: #37c36f;
  --color-green-light: #95f995;
  --color-green-900: #65f665;
  --color-green-700: #95f995;
  --color-green-300: rgba(173, 250, 173, 0.944);
  --color-green-200: rgba(197, 252, 197, 0.876);
  
  --color-white: #ffffff;
  --color-dark-gray: #525252;
  --color-black:#2f2f2f;
  
  --color-bg: #f6fdfa;
  
  
  --transition: all 300ms ease-in-out;
  
  --container-width-lg: 74%;
  --container-width-md: 88%;
  --form-width: 40%;
  --form-width-2:60%;
  --form-width-2:80%;
  --form-width-2:100%;
  
  --card-border-radius-1: 0.3rem;
  --card-border-radius-2: 0.5rem;
  --card-border-radius-3: 0.8rem;
  --card-border-radius-4: 2rem;
  --card-border-radius-5: 5rem;
  
  }
  
  
  /* START GENERAL */
  
  * {
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    appearance: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
    background: var(--color-bg);
  }
  
  .container {
    width: var(--container-width-lg);
    max-width: 1800px;
    margin-inline: auto;
  }
  
  section {
    margin-top: 2rem;
    width: 100vw;
  }
  
  h1,
  h2,
  h3,
  h4,
  h5 {
    color: var(--color-black);
    line-height: 1.3;
  }

  
  /* add to posts on index if there are no featured posts */
  .section__extra-margin {
    margin-top: 7rem;
  }
  
  h1 {
    font-size: 3rem;
    margin: 1rem 0;
  }
  h2 {
    font-size: 1.7rem;
    margin: 1rem 0;
  }
  h3 {
    font-size: 1.1rem;
    margin: 0.8rem 0 0.5rem;
  }
  h4 {
    font-style: 1rem;
  }
  
  a {
    color: var(--color-black);
    font-weight:600;
  }
  
  img {
    display: block;
    width: 100%;
    object-fit: cover;
    height: 100%;
  }
  
  
  /* END */
  
  /* START NAV */
  
  nav {
    background: var(--color-primary);
    width: 100vw;
    height: 3.3rem;
    position: fixed;
    top: 0;
    z-index: 10;
    box-shadow: 0 .3rem .5rem rgba(57, 57, 57, 0.2);
  }
  
  nav button {
    display: none;
  }
  
  .nav__container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content:space-between;
  }


  .avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 0.3rem solid var(--color-bg);
  }
  
  .logo_yki {
    height: 35px;
    justify-items: flex-start;
  }
  
  .nav__items {
    border-left: 4rem;
    display: flex;
    align-items: center;
    gap: 2.2rem;
  }

  .nav__items a {
    position: relative;
    transition: var(--transition);
    color: var(--color-dark-gray);
    font-size: .9rem;
  }

  .nav__items a::after {
    content: "";
    position: absolute;
    left: 50%; 
    bottom: -2px;
    width: 0;
    height: 2.5px;
    background-color: var(--color-blue-700);
    transition: var(--transition)
  }

  .nav__items a:hover,
  .nav__items a:hover::after,
  .nav__items a.active,
  .nav__items a.active::after {
    color: var(--color-blue-700);
    width: 100%;
    left: 0;
  }

  
  .nav__profile {
    position: relative;
    cursor: pointer;
  }
  
  .nav__profile ul {
    position: absolute;
    top: 135%;
    right: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 1rem rgba(115, 115, 115, 0.4);
    visibility: hidden;
    opacity: 0;
    transition: var(--transition);
  }
  
  /*NAV RESPONSIVE*/
  .nav__profile:hover > ul {
    visibility: visible;
    opacity: 1;
  }
  
  .nav__profile ul li a {
    padding: .6rem;
    display: block;
    width: 100%;
    color: var(--color-dark-gray);
    background: rgba(195, 255, 205, 0.928);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .nav__profile ul li:last-child a {
    background: rgba(255, 151, 151, 0.928);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); 
    color: var(--color-dark-gray);
  }
  /* END NAV */

  /*HERO SECTION*/

  .main-image {
    filter: brightness(0.7); /* Buat agak putih */
  }

  #building-slider .swiper-container {
    padding: 20px 0;
    width: 100%;
    height: 100vh;
    cursor: grab;
    cursor: -webkit-grab;
    background-color: var(--color-blue-200);
  }
  
  #building-slider .swiper-container:active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
    opacity: .9;
    transition: opacity 0.3s ease;
  }

  .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.826), transparent);
    z-index: 1;
}

.overlay-content {
    position: absolute;
    z-index: 4;
    color:var(--color-blue-700);
    max-width: 300px;
    padding: 20px;
}

.overlay-content.left {
    bottom: 20%;
    left: 5%;
}

.cta-button {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: var(--color-primary-light);
  color: var(--color-black);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: var(--color-blue-700);
  color: white; 
  transform: translateY(-2px);
}

.overlay-image-single {
    position: absolute;
    bottom: 0;
    right: 10px;
    z-index: 2;
}
.overlay-image-single img {
    width: 600px;
    height: auto;
}


  .swiper-container {
    position: relative;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 120px;
    overflow: hidden;
  }

  .swiper-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 200px;
  }

  .slide {
    position: relative;
  }


  .swiper-slide-active .slide-text {
      opacity: 1;
      transform: translate(-50%, -50%);
  }
  

  .ribbon-profile {
    position: relative;
    background-color: var(--color-primary-dark); /* Warna utama */
    color: var(--color-white);
    text-align: center;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(
        0 100%, 0 0, 100% 0, 100% 100%,
        55% 100%, 50% calc(100% + 30px), 45% 100%
    );
}


.ribbon-profile::after {
    content: "";
    position: absolute;
    bottom: -30px; /* Jarak segitiga dari bawah */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 30px solid var(--color-primary-dark); /* Warna segitiga harus sama dengan background */
}


/* Layout dalam ribbon */
.ribbon-profile-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 900px;
    width: 100%;
}

/* Gambar profil */
.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;

    /* Animasi efek becekan */
    animation: wave 3s infinite linear;
}

/* Efek becekan di tepi gambar */
@keyframes wave {
    0%, 100% { clip-path: circle(47% at 50% 50%); }
    50% { clip-path: circle(50% at 50% 50%); }
}

/* Teks di sebelah kanan */
.profile-text {
    text-align: justify;
}

/* Judul */
.ribbon-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Teks deskripsi */
.ribbon-text {
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 500;
}



  /*END HERO SECION*/

  /*START LAYANAN SECTION*/
  .list-layanan {
    margin-top: -15px;
    padding: 20px 0 40px 0;
    background-color: var(--color-blue-200);
  }

  .layanan-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .layanan-title {
   
    text-align: center;
    flex: 1;
  }

  .layanan-title h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .layanan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 900px;
  }

  .layanan-item {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--color-blue-300);
    padding: 15px;
    text-align: center;
    border-radius: var(--card-border-radius-2);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    font-size: .85rem;
    color: var(--color-black);
    transition: var(--transition);
  }

  .layanan-item i {
    font-size: 1.2rem;
    color: var(--color-black);
  }

  .layanan-item:hover {
    color: var(--color-white);
    transform: scale(1.05);
    background: var(--color-blue-700);
  }

  .layanan-item:hover i {
    color: var(--color-white); 
  }
  /*END LAYANAN SECTION*/
  
  /* START CATEGORY BUTTON */
  .category__button {
    background: var(--color-blue-200);
    color: var(--color-dark-gray);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--card-border-radius-2);
    font-weight: 600;
    font-size: 600;
    font-size: 1rem;
    text-align: center;
  }
  /* END CATEGORY BUTTON */

    
  /* START FEATURED */
  .featured {
    margin-top: 8rem;
  }
  
  .featured__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    
  }
  
  .featured .post__thumbnail {
    height: fit-content;
    width: 400px;
    height: 100%;
    border-radius: var(--card-border-radius-2);
  }
   /* END FEATURED */
  
  /* START GENERAL POST */
  
  .post:hover .post__thumbnail img, 
  .post_home:hover .post_home_thumbnail img {
    filter: saturate(.5);
    transform: scale(1.1);
    transition: var(--transition);
  }

  .posts h2.jdl-post{
    padding-top: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
  }

  .posts h2.jdl-post span{
    text-align: center;
    font-size: 1.8rem;
    color: var(--color-blue-700);
  }

  .posts h2{
    text-align: center;
    font-size: 1rem;
  }

  .post__info p.tgl-home{
    pointer-events: none;
    text-align: center;
    font-size: .8rem;
    font-weight: 600;
    color: var(--color-blue-700);
  }

  .post__author {
    display: flex;
    gap: .5rem;
    margin-top: 1.2rem;
  }
  
  .post__author-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: var(--card-border-radius-3);
    overflow: hidden;
  }
  
  /* END GENERAL POST */
  
  /* START POSTS */
  
  .page-banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
  }
  
  .page-banner__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }
  
  .page-banner__overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.901) 0%, rgba(255, 255, 255, 0.835) 30%, rgba(255, 255, 255, 0.2) 60%, rgba(255, 255, 255, 0) 80%);
    display: flex;
    align-items: center;

  }
  
  .page-banner__content {
    padding-left: 5%;
    max-width: 500px;
  }
  
  .page-banner__content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color:var(--color-blue-900);
    margin-bottom: 10px;
  }
  
  .page-banner__content p {
    font-size: 1rem;
    font-weight: 600;
    color: #555;
  }
  
  .posts__title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
  }

  .posts__title span {
      color: #007bff;
  }

  .news-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
  }

  .news-card {
      background: #fff;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      transition: transform 0.3s ease;
  }

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

  .news-thumb img {
      width: 100%;
      height: 180px;
      object-fit: cover;
  }

  .news-info {
      padding: 15px;
  }

  .news-info small {
      color: #888;
      font-size: 12px;
      display: block;
      margin-bottom: 10px;
  }

  .news-title {
      font-size: 16px;
      margin: 0;
  }

  .news-title a {
      color: #333;
      text-decoration: none;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.4;    
  }

  .more-btn {
      text-align: center;
      margin-top: 40px;
  }

  .more-btn .btn {
      padding: 12px 30px;
      background: var(--color-primary-variant);
      color: var(--color-black);
      border-radius: 8px;
      font-weight: 600;
      transition: background 0.3s;
  }

  .more-btn .btn:hover {
      background: var(--color-blue-700);
      color: var(--color-white);
  }
    
  /*POST END*/

  /*START TAB Berita & Galery*/

  .post_home {
    width: 300px;
    background: white;
    border-radius: var(--card-border-radius-2);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    height: 320px;  
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
  }


  .post_home_thumbnail {
    border-radius: var(--card-border-radius-2);
    overflow: hidden;
    align-items: center;
  }

  .post_home_thumbnail img {
    align-items: center;
    object-fit: cover;
    width: 280px;
    height: 200px;
    border-radius: var(--card-border-radius-2);
  }

  .post_home_info {
      margin-top: 10px;
  }
  .post_home_title, .posts_home_info h2{
    color: var(--color-black);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;    
  }
  
  .post_home_info p.tgl-home{
    pointer-events: none;
    text-align: center;
    font-size: .8rem;
    font-weight: 600;
    color: var(--color-blue-700);
  }

  .tab-content{
    justify-content: center;
  }

  .tab {
    padding: 10px 20px;
    margin: 0 10px;
    background: var(--color-white);
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }
  

  .tabs {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
  }

  .tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    border: 10px;
    color: var(--color-blue-200);
    border-radius: var(--card-border-radius-4);
  }

  .tab-btn {
    font-size: 1rem;
    text-align: center;
    flex: 1;
    padding: 10px 30px;
    max-width: 12.5rem;
    background: var(--color-blue-300);
    color: var(--color-black);
    cursor: pointer;
    border-radius: var(--card-border-radius-4);
    transition: var(--transition);
  }

  .tab-btn.active {
    background: var(--color-blue-700);
    color: var(--color-white);
  }

  .tab-panel {
    display: none;
  }

  .tab-panel.active {
    display: block;
  }
  
  .swiper {
    width: 100%;
    height: 350px;
    overflow: hidden;
    display: flex;
  }

  .swiper-slide {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }

  /* Style dasar untuk tombol navigasi Swiper */
  .swiper-button-prev,
  .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--color-blue-300);
    border-radius: var(--card-border-radius-1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: .5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 10;
  }

  .swiper-button-prev {
    left: 10px;
  }

  .swiper-button-next {
    right: 10px;
  }


  .swiper-button-prev:hover,
  .swiper-button-next:hover {
    background-color: var(--color-blue-700);
    transform: translateY(-50%) scale(1.1);
  }

  /* Tambahkan ikon menggunakan pseudo-element */
  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: .5rem;
    font-weight: bold;
    color: white;
  }

  /*Galeri*/
  
.modal {
  position: fixed;
  z-index: 1000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 700px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  align-items: center;
}

.modal-content {
  max-width: 100%;
  max-height: 400px;
  border-radius: var(--card-border-radius-2);
  margin-bottom: 15px;
  background-color: var(--color-black);
  object-fit: contain;
}

#modalTitle {
  color: var(--color-dark-gray);
  text-align: start;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 32px;
  font-weight: bold;
  color: var(--color-dark-gray);
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
  z-index: 1200;
}

.close:hover {
  color: #e35d4f; /* warna merah hover */
  transform: scale(1.2); /* sedikit membesar saat hover */
}


  /* TAB END */



  /*PROGRAM & MOTTO*/

  .container-motto {
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 40px 0 ;
  }

  .motto .motto-title{
    text-align: center;
    font-size: 1.8rem;
    color: var(--color-black);
  }

  .motto .motto-desc{
    text-align: center;
    font-size: 1.2rem;
    font-style: italic;
  }

  .top-motto {
    background:var(--color-alert);
    color:var(--color-white);
    padding: 5px 0 30px 0; /* Sesuaikan tinggi */
    clip-path: polygon(0 0,100% 0,100% calc(100% - 50px),50% 100%,0 calc(100% - 50px));
  }

  .program-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.program-section .prog-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--color-dark-gray);
    width: 100%;
}

/* Container grid untuk card */
.program-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    max-width: 100%;
    padding-bottom: 10px;
}


/* Default Card */
.program-card {
    width: 240px;
    height: 260px;
    background: var(--color-blue-200);
    color: var(--color-black);
    text-align: center;
    box-sizing: border-box;
    padding: 15px;
    position: relative;
    border-radius: var(--card-border-radius-2);
    transition: var(--transition);
    border-style: none;
    cursor: default;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    will-change: transform, bottom, right;
    transform: translateZ(0);
    z-index: 999;

}

.program-body i {
  position: absolute;
  bottom: -5px;
  left: -4px;
  font-size: 3.3rem;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  transform: translateY(10px);
}

.program-card:hover .program-body i {
  opacity: .6;
  transform: translateY(0);
}

/* Hover efek */
.program-card:hover {
    transform: translateY(-5px);
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

  .program-card:hover .flag-head {
    border-bottom: 3px solid var(--color-white);
  }
  
  .program-card:hover .program-title {
    color: var(--color-primary);
  }

  .flag-head {
      font-size: 1rem;
      font-weight: 600;
      text-transform: uppercase;
      padding-bottom: 3px;
      border-bottom: 3px solid var(--color-primary-dark);
  }

 .program-section .program-title {
      font-size: 1rem;
      margin: 10px 0 15px 0;
  }


  .program-desc {
      font-size: .8rem;
      font-weight: normal;
      text-align: center;
  }

  

  
  /* VIDEO SECTION */
  .video-section {
    text-align: center;
    padding: 40px 30px;
  }

  .video-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-dark-gray);
  }


  .video-container {
    cursor: pointer;
    justify-content: center;
    display: flex;
    gap: 20px;
    flex-wrap: nowrap; 
    overflow-x: auto; 
    padding: 10px 0;
    scrollbar-width: thin;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--color-blue-700) var(--color-blue-300);
  }

  /* Hilangkan scrollbar di Chrome & Safari */
  .video-container::-webkit-scrollbar {
    height: 10px;
  }

  .video-container::-webkit-scrollbar-track {
    background: var(--color-blue-200); /* Warna latar belakang scrollbar */
    border-radius: var(--card-border-radius-2);
  }

  .video-container::-webkit-scrollbar-thumb {
      background: #007bff; /* Warna utama scrollbar */
      border-radius: var(--card-border-radius-2);
  }

  .video-wrapper {
    background-color: var(--color-white);
    position: relative;
    width: 350px; 
    aspect-ratio: 16 / 9;
    flex: 0 0 auto; 
    overflow: hidden;
    border-radius: var(--card-border-radius-2);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    scroll-behavior: smooth;
    scroll-snap-align: center;
    flex: 0 0 auto;
  }


  .video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
  }

  .play-button {
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(30, 30, 30, 0.5);
    color:var(--color-white);
    font-size: 2em;
    border-radius: 50%;
    padding: 10px 20px;
    transition: background 0.3s;
}

.video-wrapper:hover .play-button {
    background: rgba(30, 30, 30, 0.856);
}
  
  
  /* START CATEGORY FOOTER */
  .floating-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: var(--color-blue-200);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }


  .floating-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: var(--color-blue-200);
    padding: 10px;
    border-radius: var(--card-border-radius-2);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }


  .floating-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: rgba(89, 120, 196, 0.32);
    padding: 10px;
    border-radius: var(--card-border-radius-2);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }


  .floating-box a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color:var(--color-green-900);
    color: var(--color-white);
    font-size: 30px;
    border-radius: var(--card-border-radius-2);
    text-decoration: none;
    position: relative;
    transition: background 0.3s, transform 0.2s;
  }

  .floating-box a:nth-child(2) { background-color: #f26680; } /* Cek Papsmear */
  .floating-box a:nth-child(3) { background-color: #408df3; } /* Facebook */

  .floating-box a:hover {
    background-color: #128C7E;
    transform: scale(1.1);
  }

  .floating-box a:nth-child(2):hover { background-color: #E4405F; } 
  .floating-box a:nth-child(3):hover { background-color: #0d6efd; } 

  .icon-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    pointer-events: none;
  }

  .icon-text i {
    font-size: 27px; 
  }

  .icon-text span {
    font-weight: 520;
    font-size: 7px; 
    margin-top: 3px;
    pointer-events: none;
  }

/* Tooltip */
.floating-box a::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 70px;
  background-color: var(--color-dark-gray);
  color: var(--color-white);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none; /* Mencegah tooltip bisa diklik */
}

.floating-box a:hover::after {
  opacity: 1;
  transform: translateY(0);
}


  footer {
    background: var(--color-blue-200);
    padding: 1rem 0 0;
  }
  
  .footer__socials {
    margin-inline: auto;
    font-size: 20px;
    width: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
  }

  .gradient-icon-ig {
    font-size: 20px;
    background: linear-gradient(50deg, #fd38bf, #f5b000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
  }

.gradient-icon-tt {
   font-size: 20px; 
   background: linear-gradient(-90deg, #ff0ab1, #15cd9f);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   display: inline-block;
  }

  
  .footer__socials a {
    background: var(--color-bg);
    border-radius: 50%;
    height: 2.5rem;
    width: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(70%) contrast(1);
  }
  
  .footer__socials a:hover {
    background: var(--color-green-300);
    filter: grayscale(0);
    transition:ease-in-out .3s;
  }
  
  .footer__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  
  footer li {
    padding: 0.4rem 0;
  }
  
  footer h4 {
    color: var(--color-black);
    margin-bottom: 0.6rem;
  }
  
  footer ul a {
    opacity: 0.75;
  }
  footer ul a:hover {
    letter-spacing: 0.1rem;
    opacity: 1;
    transition: var(--transition);
  }

  .contact-container {
    display: flex;
    align-items: flex-start; /* Agar elemen sejajar di atas */
    justify-content: space-between;
    border-radius: 8px;
    max-width: 700px;
    margin: auto;
    flex-wrap: wrap;
  }

  .contact-info {
      display: flex;
      flex-direction: column;
      width: 50%;
      padding: 20px;
  }

  .footer-icon {
      width: 200px;
      height: auto;
  }

  .address {
      width: 50%;
      display: flex;
      flex-direction: column;
      justify-content: center;
  }

  .address h3 {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 10px;
  }

  .phone-address {
      display: flex;
      align-items: center;
      gap: 20px; 
  }

  .phone-numbers,
  .address p {
      font-size: .9rem;
      line-height: 1.5;
      padding: 20px 0;
  }
    
  .footer__copyright {
    background-color: var(--color-blue-700);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    padding: .4rem 0;
    margin-top: 1rem;
    color: var(--color-white);
  }
  /* END CATEGORY FOOTER */
  
  /* START CATEGORY SEARCH */
  .search__bar {
    background: var(--color-bg);
    padding: 30px 0;
  }
  
  .search__bar-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .search__input-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    background: var(--color-white);
    border: 2px solid #ddd;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .search__input-wrapper i {
    position: absolute;
    left: 20px;
    font-size: 1.2rem;
    color: var(--color-primary-dark);
  }
  
  .search__input-wrapper input[type="search"] {
    width: 100%;
    padding: 15px 20px 15px 50px; /* ada padding kiri untuk ikon */
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
  }
  
  .search__input-wrapper button.btn {
    color: var(--color-white);
    background-color: var(--color-blue-700);
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    margin-right: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .search__input-wrapper button.btn:hover {
    color: var(--color-blue-700);
    background: var(--color-blue-200);
  }
  
  
  /* START CATEGORY BUTTON */
  .btn {
    display: inline-block;
    width: fit-content;
    padding: 0.5rem 1.5rem;
    background-color: var(--color-green-bright);
    border-radius: var(--card-border-radius-1);
    cursor: pointer;
    transition: var(--transition);
    color: var(--color-white);
  }
  
  .btn.sm {
    padding: .4rem .8rem;
    font-size: .9rem;
  }
  .btn.danger {
    background-color: red;
  }
  .btn:hover {
    background: var(--color-green-200);
    color: var(--color-dark-gray);
  }
  
  /* END CATEGORY BUTTON */
  

  /* START SINGLE POST */
  .singlepost {
    margin: 6rem 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .singlepost__container {
    width: 85%;
    background: var(--color-white);
    padding: 3rem 4rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border-radius: var(--card-border-radius-2);
  }
  .singlepost__container h2 {
    margin-top: 0;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-dark-gray);
    text-align: center;
  }
  .singlepost__author {
    display: flex;
    flex-direction: column;
    align-items:flex-start;
    margin-bottom: 2rem;
    color: #606060;
  }
  
  .post__author-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #606060;
  }

  .post__author-info small {
    font-size: 12px;
    color: var(--color-black);
    text-align: left;
  }

  .singlepost__thumbnail {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
  }

  .singlepost__thumbnail img {
    max-width: 90%;
    max-width: 800px;
    border-radius: var(--card-border-radius-1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin: .5rem;
    border-radius: var(--card-border-radius-2);
  }

  .singlepost__container p {
    margin-top: 1rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--color-black);
    text-align: justify;
  }
  /* END SINGLE POST */
  
  /* END CATEGORY SEARCH */
  
  /* START CATEGORY POSTS */
  .category__title {
    height: 11rem;
    margin-top: 4.5rem;
    background: var(--color-green-900);
    display: grid;
    place-items: center;
  }
  /* END CATEGORY POSTS */

    /* START DASHBOARD */
    
    .dashboard {
      margin-top: 6rem;
      padding: 2rem;
    }
    
    .sidebar__toggle {
      display: none;
    }
    
    .dashboard__container {
      display: grid;
      grid-template-columns: 14rem auto;
      gap: 2rem;
      background: var(--color-blue-200);
      padding: 2rem;
      margin-bottom: 5rem;
      border-radius: var(--card-border-radius-2);
    }
    .dashboard aside a {
      display: flex;
      gap: 1rem;
      padding: 2.2rem;
      background: var(--color-bg);
      color: var(--color-dark-gray);
    }
    
    .dashboard aside i {
      font-size: 24px;
      color: var(--color-dark-gray);
      line-height: 1;
      border-right: 2px;
      display: inline-block;
    }
    

    .dashboard aside ul li:not(:last-child) a {
      border-bottom: 1px solid var(--color-blue-300);
    }
    .dashboard aside a:hover {
      background: var(--color-blue-300);
      color: var(--color-white);
    }
    .dashboard aside a.active {
      background-color: var(--color-blue-300);
    }
    .dashboard aside ul li:not(:last-child):not(:first-child) a {
      border-bottom: 1px solid var(--color-blue-300);
    }
    
    .dashboard aside ul li:first-child a {
      border-top-left-radius: 15px;
      border-top-right-radius: 15px;
    }
    .dashboard main table th:first-child {
      border-top-left-radius: 10px;
    }
    
    .dashboard main table th:last-child {
      border-top-right-radius: 10px;
    }
    
    .dashboard aside ul li:last-child a {
      border-bottom-left-radius: 15px;
      border-bottom-right-radius: 15px;
    }
    .dashboard main {
      margin-left: 1.5rem;
    }
    .dashboard main h2 {
      margin: 0 0 2rem 0;
      line-height: 1;
    }
    .dashboard main table {
      width: 100%;
      text-align: left;
      border: none !important;
      border-collapse: separate;
      border-spacing: 0;
    }
    .dashboard main table th {
      background: var(--color-blue-300);
      padding: 0.8rem;
      color: var(--color-black);
    }
    .dashboard main table td {
      padding: 0.8rem;
      border-bottom: 1px solid var(--color-blue-200);
    }
    .judul-post {
      display: inline-block;
      max-width: 220px;        
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      vertical-align: middle;
    }
    
    
    .dashboard main table tr:hover {
      color: var(--color-blue-700);
      cursor: default;
      transition: var(--transition);
    }

    .action-buttons {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
    }
    
    .action-buttons .btn {
      font-family: 'Poppins', sans-serif;
      padding: .6rem 1rem;
      font-size: 0.8rem;
      text-decoration: none;
      color: var(--color-white);
      background-color: var(--color-green-bright);
      transition: 0.2s ease;
    }
    
    .action-buttons .btn:hover {
      opacity: 0.3;
    }
    
    .action-buttons .btn.danger {
      font-family: 'Poppins', sans-serif;
      padding: .6rem;
      font-weight:600 ;
      background-color: var(--color-alert);
    }
    


    
    /* END DASHBOARD */
  
  /* START ABOUT PAGES */
  .empty__page {
    height: 70vh;
    text-align: center;
    display: grid;
    place-content: center;
  }
  /* END ABOUT PAGES */

    /* START CONTACT PAGES */
    .contact__us {
      text-align: center;
      display: flex;
      place-content: center;
      gap: 30px;
      flex-wrap: wrap;
    }
    
    section.contact__us {
      background-color: var(--color-white);
      max-width: 1100px;
      margin: 80px auto 40px;
      padding: 40px;
      border-radius: var(--card-border-radius-2);
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .donation-section {
      margin: 50px;
      padding: 40px;
      background-color: var(--color-white);
      border: 1px solid #e0e0e0;
      border-radius: var(--card-border-radius-2);
      max-width: 1100px;
      margin-left: auto;
      margin-right: auto;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    #donation-section {
      position: relative;
      padding-top: 40px;
      scroll-margin-top: 100px;
    }    
       
    .donation-section h2 {
      text-align: center;
      color: #e35d4f;
      margin-bottom: 20px;
    }
    
    .donation-section p {
      text-align: center;
      font-size: 16px;
      line-height: 1.6;
    }
    
    .donation-info-box {
      margin: 30px auto 30px;
      background-color:var(--color-bg);
      padding: 20px 0;
      border-radius: 8px;
      border: 1.5px solid var(--color-primary-dark);
      text-align: center;
      max-width: 500px;
    }
    
    .donation-info-box p {
      margin: 5px 0;
    }
    
    .donation-info-box p:first-child {
      margin-bottom: 10px;
      font-weight: bold;
      font-size: 18px;
    }
    
    .donation-rambut-btn {
      padding: 12px 30px;
      background-color: #fff;
      color: var(--color-primary-dark);
      text-decoration: none;
      border-radius: 8px;
      border: 2px solid var(--color-primary-dark);
      font-weight: bold;
      display: inline-block;
      transition: all 0.3s ease;
    }
    
    .donation-rambut-btn:hover {
      background-color: var(--color-blue-300);
      color: var(--color-white);
      border-color: var(--color-primary-dark);
    }
    
    
    .contact__us h2 {
      text-align: center;
      color: #e35d4f;
      margin-bottom: 10px;
      font-weight: 700;
      font-size: 40px;
    }
    
    .contact__us .left-contact,
    .contact__us .right-contact {
      flex: 1;
      min-width: 380px;
    }

    .right-contact{
      padding-top: 15px;
    }
    
    .contact__us .row {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
    }
    
    .contact__us .left-contact p {
      margin: 10px 0;
      font-size: 15px;
    }
    
    .contact__us .map {
      width: 100%;
      height: 250px;
      border: none;
      border-radius: 8px;
      margin-top: 20px;
    }
  
    .right-contact button,
    a {
      transition: all 0.3s ease;
    }

    /* Tombol Kirim */
    .right-contact button:hover {
      background-color: #c94d40;
      transform: scale(1.05);
    }

    /* Tombol Kritik & Saran */
    .right-contact a:hover {
      background-color: #c9c7c7;
      transform: scale(1.05);
      color: #000;
    }

    
    /* END CONTACT PAGES */
  
  /* START LOGIN-FORM */
  .login-body{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
  .login-container {
    display: flex;
    width: 800px;
    background:color var(--color-white);
    border-radius: 20px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
  }

  .login-form {
    flex: 1;
    padding: 40px;
  }

  .login-image {
    flex: 1;
    background: url('../img/picture-1.jpg') no-repeat center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .login-form h2 {
    text-align: center;
    margin-bottom: 20px;
  }

  .input-group {
    position: relative;
    margin-bottom: 20px;
  }

  .input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #555;
  }
  
  .alert_error {
    background: var(--color-alert);
    color: var(--color-white);
    font-weight: 500;
    margin-bottom: 10px;
    padding: .5rem .7rem;
    text-align: center;
    border-radius: var(--card-border-radius-2);
  }
  
  .alert_success, .alert__message.success.container {
    font-weight: 500;
    background: var(--color-green-light);
    color: var(--color-green);
    padding: 5px;
    margin: 20px auto;
    align-items: center;
    text-align: center;
    width: fit-content;
    border-radius: var(--card-border-radius-2);
  }
  
  .not__found {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    background-color: #ffe0e0;
    color: #a94442;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-size: 24px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 5rem auto 2.5rem auto;
    text-align: center;
  }
  
  .not__found i {
    font-size: 64px;
  }
  
  .not__found p {
    margin: 0;
  }

  .not__found-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.2rem;
    background-color: #c1615f;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: background-color 0.3s ease;
  }
  
  .not__found-btn:hover {
    background-color: #922b2b;
  }
  
  
  form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .form__section {
    padding-top: 50px; 
    padding-bottom: 60px;
  }
  
  .form__control {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }
  
  .form__control.inline {
    flex-direction: row;
    align-items: center;
  }
  
  .form__section small {
    margin-top: 1rem;
    display: block;
  }
  
  .form__section small a {
    color: var(--color-primary);
    margin-left: 1rem;
  }
  
  /* START GENERAL DASHBAORD */
  
  /* END GENERAL DASHBAORD */
  
  input,
  textarea,
  select {
    padding: 0.8rem 1.4rem;
    background-color: var(--color-blue-200);
    border-radius: var(--card-border-radius-2);
    resize: none;
    color: var(--color-black);
  }
  
  
  /* END GENERAL FORM */
  
  /* START  MEDIA QUERIES (Medium-Sized Devices) */
  @media screen and (max-width: 1024px) {
    /* START  GENERAL STYLES */
    .container {
      width: var(--container-width-md);
    }
    h2 {
      font-size: 1.6rem;
    }
    h3 {
      font-size: 1.2rem;
    }
    h5 {
      font-size: 0.8rem;
    }
    /* END  GENERAL STYLES */
  
    /* START  NAV STYLES */
    nav button {
      display: inline-block;
      font-size: 1.8rem;
      background: transparent;
      color: var(--color-dark-gray);
      cursor: pointer;
      }
  
    nav button#close__nav-btn {
      display: none;
    }
    .nav__container {
      position: relative;
    }
    .nav__items {
      display: none;
      position: absolute;
      flex-direction: column;
      top: 100%;
      right: 0;
      width: 13rem;
      align-items: flex-start;
      justify-content: center;
      gap: 0;
    }
  
    .nav__items li {
      width: 100%;
      height: 3.5rem;
      display: flex;
      align-items: center;
      border: .5px solid var(--color-white);
      opacity: 0;
      background: rgba(255, 255, 255, 0.2); 
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      animation: animateDropdown 400ms 0s ease forwards;
      transform-origin: top;
    }
  
    .nav__items li:nth-child(2) {
      animation-delay: 150ms;
    }
    .nav__items li:nth-child(3) {
      animation-delay: 250ms;
    }
    .nav__items li:nth-child(4) {
      animation-delay: 350ms;
    }
    .nav__items li:nth-child(5) {
      animation-delay: 450ms;
    }
    .nav__items li:nth-child(6) {
      animation-delay: 550ms;
    }
  
    /* Nav dropodwn animations */
    @keyframes animateDropdown {
      0% {
        transform: rotateX(90deg);
      }
      100% {
        transform: rotateX(0deg);
        opacity: 1;
      }
    }
  
    .nav__items a {
      border-radius: 0;
      width: 100%;
      height: 100%;
      padding: 0 1rem;
      display: flex;
      align-items: center;
      font-weight: 600;
      color: var(--color-black);
    }
  
    .nav__profile {
      background: var(--color-green-900);
    }
  
    .nav__profile ul {
      top: 100%;
      width: 100%;
    }
    .nav__profile ul li a {
      padding: 0 2rem;
      display: block;
      width: 100%;
      text-align: left;
      align-self: center;
      display: flex;
    }
  
    .nav__profile .avatar {
      margin-left: 2rem;
    }

    .layanan-wrapper {
      flex-direction: column;
      text-align: center;
    }

  
    .featured__container {
      gap: 3rem;
    }
  
    .posts__container {
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
    }
  
    .footer__container {
      grid-template-columns: 1fr 1fr;
    }
  
    /* START  BLOG */
    .search__bar-container {
      width: 60%;
    }
    /* END  BLOG */

    /*START CONTACT US*/
    .contact__us .left-contact {
      border-style: hidden;
    }
  
    /* START  GENERAL FORM */
    .form__section {
      padding-top: 50px; 
      padding-bottom: 60px;
    }
    
    /* END  GENERAL FORM */
  
    /* END  GENERAL STYLES */
  
    /* START DASHBOARD (Tablets)*/
    .dashboard__container {
      grid-template-columns: 2.5rem auto;
    }
    .dashboard aside {
      align-items: center;
    }

    .dashboard aside h5 {
      display: none;
    }
    .dashboard main table thead {
      display: none;
    }
    .dashboard main table tr {
      border-radius: var(--card-border-radius-1);
      display: flex;
      flex-direction: column;
      border-bottom: none;
    }
    .dashboard main table tr:nth-child(even) {
      background: var(--color-bg);
    }
  
    .dashboard main table tr:hover td {
      background: transparent;
    }

    
  
    /* END DASHBOARD */
  
    .sidebar__toggle {
      display: none;
    }

    .video-container{
      justify-content: flex-start;
    }
        /*HERO*/
        .slide-text {
          font-size: .7rem; 
          padding: 8px 16px;
        }
        .small-image {
            width: 20%; 
        }

        /*PROGRAM*/
        .program-container {
          display: flex;
          gap: 20px;
          overflow-x: auto; /* Scroll horizontal */
          padding: 20px 0;
          scroll-snap-type: x mandatory;
          width: 100%;
         max-width: 750px;
      }
      
      .program-card {
        outline: none;
        height: 350px;
        scroll-snap-align: center; /* Snap scroll */
        flex: 0 0 calc(50% - 10px); /* 2 Card terlihat */
        scroll-snap-align: center;
      }


      .program-container::-webkit-scrollbar {
        height: 6px;
    }
    
    .program-container::-webkit-scrollbar-thumb {
        background: var(--color-primary-dark);
        border-radius: 10px;
    }
   
      .flag-head{
        font-size: .9rem;
      }

      .program-section .program-title {
        font-size: 1.1rem;
        margin: 10px 0 15px 0;
    }
  
  
    .program-desc {
        padding-top: 20px;
        font-size: 1rem;
        font-weight: normal;
        text-align: center;
    }

    /*Single Post TAB*/
    .singlepost__container {
      width: 90%;
      padding: 2rem;
    }
  
    .singlepost__container h2 {
      font-size: 2rem;
    }
  
    .singlepost__thumbnail img {
      max-width: 100%;
    }
  
    .singlepost__container p {
      font-size: 1rem;
    }
    /*End Single Post TAB*/
  

    /* END  MEDIA QUERIES *(Medium-Sized Devices) */
  }
  
  /* START  MEDIA QUERIES (Small-Sized Devices) */
  
  @media screen and (max-width: 600px) {
    /*LOGIN*/
    .login-container {
      flex-direction: column;
      width: 95%;
      height: auto;
    }
  
    .login-image {
      background: url(./images/logo.png);
    }
  
    .login-form {
      padding: 20px;
    }
  
    .login-form h2 {
      font-size: 1.3rem;
    }
  
    .input-group input {
      font-size: 1rem;
      padding: 10px;
    }
  
    .toggle-password {
      font-size: 1.2rem;
      right: 8px;
    }
  
    .btn {
      font-size: 1rem;
      padding: 12px;
    }
  
    .alert_error,
    .alert_success {
      font-size: 0.9rem;
      padding: 8px;
      margin: 8px 0;
    }
  /*end login*/
  
    section {
      margin-top: 2rem;
    }
    h1 {
      font-size: 2rem;
    }
    
    .building-image {
      padding: 10px 0; 
    }

    .building-image__img {
      max-height: 350px;
    }
    #building-slider .swiper-container {
      padding: 20px 0 6vw 0;
      width: auto;
      height: 100%;
    }

    .layanan-wrapper {
      flex-direction: column;
      text-align: center;
    }
  
    .layanan-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .featured {
      margin-top: 6rem;
    }
    .featured__container {
      grid-template-columns: 1fr;
      gap: 0;
    }
    .posts__container {
      grid-template-columns: 1fr;
    }
  
    .logo_yki {
      content: url('../images/icon.png');
    }

    .category__buttons-container {
      grid-template-columns: 1fr 1fr;
    }

    /*HERO PICS mobile*/
    .overlay-content.left {
      top: 10%;
      left: 50%;
      transform: translateX(-50%);
      bottom: auto;
      max-width: 100%;
      text-align: center;
      padding: 12px;
      border-radius: var(--card-border-radius-1);
  }

  .overlay-content.left h3 {
      display: none;
      font-size: 1rem;
      margin-bottom: 5px;
  }

  .overlay-content.left p {
      display:none;
      font-size: 0.8rem;
      margin-bottom: 10px;
  }

  .cta-button {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    font-size: 0.95rem;
    padding: 8px 16px;
    margin-top: 110px;
    box-sizing: border-box;
}

  .overlay-image-single {
      bottom: 0px;
      right: -160px;
  }

  .overlay-image-single img {
      width: 65%;
      height: auto;
      align-items: center;
  }

    /*PROFILE*/
    .ribbon-profile {
      padding: 30px 15px;
  }

  .ribbon-profile-content {
      flex-direction: column;
      text-align: center;
  }

  .profile-image {
      width: 280px;
      height: 280px;
      margin-bottom: 10px;
  }

  .profile-text {
      text-align: center;
  }

    /*FOOTER*/
    .footer__container {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 2rem;
    }

    .logo-footer {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      margin: 0 auto; /* Memastikan logo berada di tengah */
    }

    img .footer-icon {
        width: 120px;
        justify-content: center;
        height: auto;
        margin: 0 auto !important; /* Paksa posisi ke tengah */
        display: block; /* Hindari efek inline */
    }

    .contact-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .contact-info, .address {
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .contact-info a {
        flex-direction: column;
    }

    .phone-address {
        flex-direction: column;
        gap: 10px;
    }
    /*END FOOTER*/

    /* START  BLOG */
    .search__bar-container {
      width: var(--container-width-md);
    }
    /* END  BLOG */
  
    /* START  SINGLE POST Mobile*/
    .singlepost {
      margin-top: 4rem;
    }
  
    .singlepost__container {
      padding: 1.5rem 1rem;
    }
  
    .singlepost__container h2 {
      font-size: 1.6rem;
    }
  
    .singlepost__author {
      flex-direction: column;
      text-align: center;
      gap: 0.5rem;
      padding: 1rem;
    }
  
    .post__author-info h5,
    .post__author-info small {
      text-align: center;
    }
  
    .singlepost__container p {
      font-size: 0.95rem;
    }
  
    .singlepost__back-btn {
      width: 100%;
      text-align: center;
      font-size: 0.95rem;
      padding: 0.8rem 1rem;
    }
    /* END  SINGLE POST */
  
    /* START  GENERAL FORM*/
    .form__section-container {
      padding: 0;
    }
    .form__section form a {
      padding-bottom: 2rem;
    }
    /* END  GENERAL FORM*/

    /*HOME*/
    .program-container {
      width: 80%;
      display: flex;
      gap: 20px;
      overflow-x: auto; /* Scroll horizontal */
      padding-bottom: 10px;
      scroll-snap-type: x mandatory;
  }

  .program-card {
      flex: 0 0 100%; /* 1 Card terlihat */
      scroll-snap-align: center;
  }



.program-container::-webkit-scrollbar-thumb {
  background: var(--color-primary-dark);
  border-radius: 10px;
}

    /*HERO*/
    .slide-text {
      font-size: .7rem; 
      padding: 8px 16px;
    }
    .small-image {
        width: 20%; 
    }

    .video-container {
      flex-wrap: nowrap; /* Tetap horizontal */
      overflow-x: auto;
      justify-content: flex-start;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scroll-behavior: smooth;
    }

    .video-wrapper {
        width: 350px; /* Ukuran lebih kecil untuk layar kecil */
    }

    .video-section h2 {
        font-size: 1.5rem;
    }
  
    /*END HOME*/
  
    /* START  DASHBAORD Mobile*/
    
    .dashboard {
      margin-top: 5rem;
    }
    .dashboard__container {
      grid-template-columns: 2fr;
      gap: 2;
    }
    .dashboard main {
      margin: 0;
    }
    
    .dashboard table,
    .dashboard thead,
    .dashboard tbody,
    .dashboard th,
    .dashboard td,
    .dashboard tr {
    display: block;
    width: 100%;
    }

  .dashboard thead {
    display: none; /* sembunyikan header */
  }

  .dashboard tr {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    padding: 1rem;
    border-radius: 5px;
  }

  .dashboard td {
    border-radius: 8px;
    display: block;
    text-align: left;
    border: none;
    padding: 0.5rem 0;
    position: relative;
  }

  /* Tampilkan hanya kolom "judul" (misal kolom pertama) */
  .dashboard td:not(:first-child):not(:last-child) {
    display: none;
  }

.dashboard td:first-child {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 210px; /* atau coba 250px jika lebih cocok */
  font-weight: bold;
}


  .dashboard td:last-child {
    margin-top: 0.5rem;
  }
    
    .dashboard main h2 {
      margin-top: 1rem;
    }
    .dashboard aside {
      position: fixed;
      box-shadow: .5rem .5rem 2rem rgba(0, 0, 0, 0.4);
      left: 0;
      z-index: 2;
      height: 100vh;
      transition: var(--transition);
      background: var(--color-primary);
    }
 
    .dashboard .sidebar__toggle {
      display: inline-block;
      background: var(--color-primary-variant);
      color: var(--color-white);
      position: fixed;
      top: 6rem;
      left: 0;
      z-index: 1;
      width: 3rem;
      height: 3rem;
      border-radius: 0% 50% 50% 0;
      font-size: 1.8rem;
      cursor: pointer;
      box-shadow: -1rem 0 1rem rgba(0, 0, 0, 0.218);
    }
  
    .dashboard aside a h5 {
      display: inline-block;
    }
  
      #hide_sidebar-btn {
      display: none;
    }

    
    /* END  DASHBAORD*/

    /*FOOTER*/
    .contact-container {
      flex-direction: column;
      text-align: center;
    }

    .phone {
        justify-content: center;
        text-align: center;
        font-size: 1rem;
        width: 100%;
    }

    .footer-icon{
      width: 250px;
      height: auto;
    }

    .address{
      padding:0 40px;
      padding-bottom: 10px;
    }

    /*CONTACT US SECTION*/

      .contact__us .row {
        flex-direction: column;
      }
    
      .contact__us .left-contact,
      .contact__us .right-contact {
        min-width: 100%;
      }
    
      .left-contact p {
        text-align: center;
      }
    }

    .donation-section {
      padding: 30px 15px;
    }
  
    .donation-info-box {
      padding: 15px;
    }
  
    .donation-rambut-btn {
      padding: 10px 20px;
      font-size: 14px;
    }



  
  /* END  MEDIA QUERIES (Small-Sized Devices) */
  