/* General Styles */
body {
	margin: 0;
	font-family:Verdana, Geneva, Tahoma, sans-serif;
	background: whitesmoke;
}

.promo {
	position: sticky;
	top: 0;
	padding: 10px 16px;
	background:red;
	color: #f1f1f1; 
	text-align: center;
}

.cta1 {
	padding: 5px;
	margin: 10px;
	background-color: blue;
	color: wheat;
	text-decoration: none;
	border: gold;
	border-radius: 10px;
}

.navbar{
	background: #fad7a0;
	padding: 20px 30px;
}
 
.logo{
	font-size: 14pt;
	font-weight: bold;
	text-decoration: none;
	color: white;
}
 
.container{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.container2 {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: #333;
}
 
.tombol{
	display: none;
	color: black;
	font-size: 17pt;			
}
 
.tombol:hover{
	cursor: pointer;
}
 
.menu{
	margin: 0;
	display: flex;
	list-style: none;
}
 
.menu li{
	margin-right: 10px;
}
 
.menu li a{
	padding:10px;
	color: blue;
	text-decoration: none;
	display: inline-block;
}
 
.profil{
	display: flex;
	justify-content: center; /* Untuk meratakan konten ke tengah secara horizontal */
	gap: 20px; /* Jarak antar div */
	background-color: white;
}
.content {
	width: 40%; 
	padding: 10px;
	vertical-align: top;
}    

.content img {
	border-radius: 10px;
	margin-top: 20px;
}
 
@media screen and (max-width: 768px) {
	.menu {
		display: none;
	}
 
	.menu.aktif{
		display:inline-block;
		position: absolute;
		top: 64px;
		background: #FAD7A0;
		padding: 10px 20px;
		right: 0;
		left: 0;
		z-index: 10;
	}
 
	.menu.aktif li a{
		padding: 10px;
		display: inline-block !important;
	}
 
	.tombol {
		display: block;
	}

	section {
		flex-direction: column; /* Menata elemen secara vertikal */
		align-items: center; /*Meratakan konten secara horizontal */
	}

	.content {
		width: 100%; /* Lebar 100% untuk setiap div */
		display: block;
		padding: 10px;
	}

	.video iframe {
		width: 100%;
	}
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
/* The dots/bullets/indicators */
.dot {
	cursor: pointer;
	height: 15px;
	width: 15px;
	margin: 0 5px;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease;
  }
  
  /* Position the dots inside the slideshow */
  .slideshow-container {
	position: relative; /* Ensure the slideshow is the reference for absolute positioning */
  }
  
  .slideshow-container .text-align-center {
	position: absolute;
	bottom: 10px; /* Position the dots 10px above the bottom of the slideshow */
	left: 50%;
	transform: translateX(-50%); /* Center the dots horizontally */
	z-index: 10; /* Ensure the dots appear above the images */
  }
  
  /* Active state and hover effects */
  .active, .dot:hover {
	background-color: #717171;
  }
  

/* Fading animation */
.fade {
	animation-name: zoomFade;
	animation-duration: 1.5s;
	animation-timing-function: ease-in-out;
  }
  
  @keyframes zoomFade {
	from {
	  opacity: 0;
	  transform: scale(0.95); /* Gambar sedikit mengecil */
	}
	to {
	  opacity: 1;
	  transform: scale(1); /* Kembali ke ukuran normal */
	}
  }
  
.heading {
	text-align: center;
	background-color: white;
	color: black;
	padding: 10px;	
}

.heading2 {
	text-align: center;
	font-size: xx-large;
	font-weight: lighter;
	background-color:darkseagreen;
	padding: 10px;	
}

.layanan {
	text-align: center;
	background-color: whitesmoke;
	color: black;
	padding: 10px;
}

.card {
	width: 300px;
	border: 1px solid black;
	border-radius: 10px;
	padding: 15px;
	background-color: white ;
	color: black;
	display: inline-block;
	margin: 5px;
}

.card h3 {
    font-size:medium;
}

.whyus {
	text-align: center;
	background-color: whitesmoke ;
	color: black;
	padding: 10px;
}

.klien {
	text-align: center;
	background-color: whitesmoke ;
	padding: 10px;
}
.klien p {
	text-align: justify;
	padding: 30px;
}



.klien img {
	width: 150px;
}

.testimonial {
	text-align: center;
	background-color: whitesmoke ;
	padding: 10px;
}

.testi {
	display: inline-block;
	width: 300px;
	border: 1pt solid black;
	border-radius: 5px;
	font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
	padding: 5px;
	margin: 3px;
}

/* .testi p {
	text-align: justify;
} */


.cta {
	text-align: center;
	background-color: burlywood ;
	color: black;
	padding: 25px;
}

.video {
	text-align: center;
	background-color:blueviolet ;
	color: wheat;
	padding: 10px;
}


.wa {
    text-decoration: none;
    padding: 12px 25px; /* Padding lebih besar untuk ruang ikon */
    color: green; /* Warna teks sesuai brand WhatsApp */
    background-color: white; /* Warna latar belakang lembut */
    border: 2px solid #25D366; /* Border sesuai brand WhatsApp */
    border-radius: 25px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

/* Tambahkan logo WhatsApp */
.wa::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('../img/sosmed/whatsapp.png') no-repeat center center;
    background-size: contain;
    margin-right: 10px; /* Jarak antara ikon dan teks */
}

/* Efek hover */
.wa:hover {
    background-color: #25D366;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* .wa {
	text-decoration: none;
	padding: 10px;
	color:brown;
	background-color: aquamarine;
	border: 1px solid gold;
	border-radius: 25px;
	font-weight: bold;
} */

footer {
	text-align: center;
	background-color: #FAD7A0 ;
	padding: 10px;
}

footer img {
	width: 25px;
}

/* CSS untuk submenu */
.menu li {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #212121;
    padding: 10px;
    list-style: none;
    z-index: 1000;
    width: auto; /* Lebar mengikuti konten */
    white-space: nowrap; /* Mencegah teks melipat ke baris baru */
    min-width: 100%; /* Memastikan submenu tidak lebih kecil dari menu induk */
}

.menu li:hover .submenu {
    display: block;
}

.submenu li {
    margin: 0;
}

.submenu li a {
    padding: 10px;
    color: white;
    text-decoration: none;
    display: block;
}

.submenu li a:hover {
    background: #444;
}

/* Tambahkan tanda panah ke menu yang memiliki submenu */
.menu li:has(> .submenu) > a::after {
    content: "▼"; /* Tanda panah */
    font-size: 10px; /* Ukuran panah */
    margin-left: 5px; /* Jarak antara teks dan panah */
    color: brown; /* Warna panah */
}

/* Pricing Section Styles */
.pricing-section {
    padding: 4rem 0;
    text-align: center;
}

.pricing-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-section p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.pricing-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem;
    flex: 1;
    min-width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 2px solid #0066cc;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 1rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-card ul li {
    margin-bottom: 0.5rem;
    color: #555;
}

.pricing-card .btn {
    display: inline-block;
    background-color: #0066cc;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.pricing-card .btn:hover {
    background-color: #004499;
}

/* Gallery Section Styles */
.gallery-section {
    padding: 4rem 0;
    text-align: center;
    background-color: #f9f9f9;
}

.gallery-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.gallery-section p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Styling untuk Filter Buttons */
.filter-buttons {
    display: flex;
    flex-wrap: wrap; /* Memungkinkan tombol pindah ke baris baru jika ruang tidak cukup */
    gap: 10px; /* Jarak antar tombol */
    justify-content: center; /* Pusatkan tombol secara horizontal */
    margin-bottom: 20px; /* Jarak antara tombol dan konten di bawahnya */
}

.filter-btn {
    padding: 10px 15px; /* Padding untuk tombol */
    font-size: 14px; /* Ukuran font */
    background-color: #007bff; /* Warna latar belakang */
    color: #fff; /* Warna teks */
    border: none; /* Hilangkan border */
    border-radius: 5px; /* Sudut melengkung */
    cursor: pointer;
    transition: background-color 0.3s ease; /* Efek hover */
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #0056b3; /* Warna latar saat hover atau aktif */
}

/* Media Query untuk Perangkat Mobile */
@media (max-width: 768px) {
    .filter-btn {
        font-size: 12px; /* Ukuran font lebih kecil di mobile */
        padding: 8px 12px; /* Padding lebih kecil di mobile */
    }

    .filter-buttons {
        gap: 8px; /* Jarak antar tombol lebih kecil di mobile */
    }
}

/* Gallery Items */
.gallery-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.gallery-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    max-width: 350px; /* Batasi lebar maksimum */
    margin: 0 auto; /* Pusatkan item jika hanya satu */
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.gallery-item p {
    font-size: 1rem;
    padding: 0.5rem;
    color: #555;
    height: 50px; /* Batasi tinggi teks */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}




.organisasi {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.produk {
	text-align: center;
	background-color: lightgrey;
	padding: 20px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    max-width: 90%;
    position: relative;
}

.close {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 24px;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.btn-edit {
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 5px;
}

.btn-edit:hover {
    background-color: #0056b3;
}

/* Main Container */
.container-products {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Pusatkan konten secara horizontal */
    text-align: center;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Kartu minimal 250px lebar */
    gap: 20px; /* Jarak antar kartu */
    width: 100%; /* Pastikan lebar sesuai container */
    justify-content: center; /* Pusatkan kartu jika hanya satu */
}

/* Product Card */
.product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px; /* Tambahkan padding untuk konten di dalam kartu */
    max-width: 350px; /* Batasi lebar maksimum kartu */
    margin: 0 auto; /* Pusatkan kartu jika hanya satu */
    transition: transform 0.3s ease;
}

.product-card img {
    width: 100%;
    height: 200px; /* Tinggi tetap untuk gambar */
    object-fit: cover; /* Pastikan gambar tidak terdistorsi */
    border-bottom: 1px solid #ddd;
}

.product-card h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #333;
    height: 40px; /* Batasi tinggi judul */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card .tagline {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    height: 20px; /* Batasi tinggi tagline */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card .description {
    font-size: 0.8rem;
    color: #555;
    height: 60px; /* Batasi tinggi deskripsi */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-card .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0066cc;
    margin: 10px 0;
}

.product-card .btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.product-card .btn:hover {
    background-color: #004499;
}

.product-card:hover {
    transform: scale(1.05);
}


/* Article Grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Artikel minimal 300px lebar */
    gap: 20px; /* Jarak antar artikel */
    width: 100%; /* Pastikan lebar sesuai container */
}

/* Article Card */
.article-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 15px;
    text-align: center;
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.article-card h3 {
    font-size: 1.5rem;
    margin: 10px 0;
    color: #333;
}

.article-card .author {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.article-card .excerpt {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

.article-card .btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.article-card .btn:hover {
    background-color: #004499;
}

/* Article Detail */
.article-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    text-align: left; /* Teks artikel sejajar kiri */
}

.btn-back {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-back:hover {
    background-color: #004499;
}