
/* Container tombol sosial media */
.social-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

/* Style untuk setiap tombol */
.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

/* Efek hover */
.social-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Warna untuk setiap platform */
.facebook {
    background: linear-gradient(45deg, #3b5998, #4c70ba);
}

.twitter {
    background: linear-gradient(45deg, #1da1f2, #0d8bd9);
}

.instagram {
    background: linear-gradient(45deg, #e4405f, #f77737, #fcaf45);
}

.linkedin {
    background: linear-gradient(45deg, #0077b5, #00a0dc);
}

.youtube {
    background: linear-gradient(45deg, #ff0000, #cc0000);
}

.whatsapp {
    background: linear-gradient(45deg, #25d366, #128c7e);
}

/* Efek ripple saat diklik */
.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.social-btn:active::before {
    width: 100px;
    height: 100px;
}

/* Label tooltip */
.social-btn::after {
    content: attr(data-label);
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.social-btn:hover::after {
    opacity: 1;
    visibility: visible;
    right: 65px;
}

/* Responsive untuk tablet */
@media (max-width: 768px) {
    .social-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .main-content {
        padding: 30px 20px;
    }
}

/* Responsive untuk mobile */
@media (max-width: 480px) {
    .social-buttons {
        bottom: 10px;
        right: 10px;
        gap: 8px;
    }

    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Sembunyikan tooltip di mobile */
    .social-btn::after {
        display: none;
    }

    .main-content {
        padding: 20px 15px;
    }
}

/* Responsive untuk layar sangat kecil */
@media (max-width: 320px) {
    .social-buttons {
        bottom: 8px;
        right: 8px;
        gap: 6px;
    }

    .social-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Animasi masuk */
@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.social-btn {
    animation: slideInRight 0.5s ease forwards;
}

/* Delay animasi untuk setiap tombol */
.social-btn:nth-child(1) { animation-delay: 0.1s; }
.social-btn:nth-child(2) { animation-delay: 0.2s; }
.social-btn:nth-child(3) { animation-delay: 0.3s; }
.social-btn:nth-child(4) { animation-delay: 0.4s; }
.social-btn:nth-child(5) { animation-delay: 0.5s; }
.social-btn:nth-child(6) { animation-delay: 0.6s; }

.custom-slider-thumbnail {
    margin-top: 220px;
	max-width: 100%;
	height: auto;
	object-fit: cover;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease;
}

.custom-slider-thumbnail:hover {
	transform: scale(1.03);
}

@media (max-width: 991px) {
	.single-homepage-slider .hero-text {
		text-align: center;
	}

	.custom-slider-thumbnail {
		margin-top: 20px;
	}
}

/* Container slider */
.custom-slide-video-tutorial .single-slide {
    padding: 30px 0;
}

/* Background video */
.custom-slide-video-tutorial .video-bg {
    background-image: url('assets/img/abt.jpg'); /* ganti sesuai path */
    height: 400px;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.custom-slide-video-tutorial .video-bg:after {
    content: "";
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: #051922;
    opacity: 0.3;
}

/* Tombol play video */
.custom-slide-video-tutorial .video-play-btn {
    position: absolute;
    background-color: #F28123;
    color: #051922;
    width: 90px;
    height: 90px;
    text-align: center;
    line-height: 92px;
    border-radius: 50%;
    font-size: 20px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 20px #adadad;
}

/* Text content */
.custom-slide-video-tutorial .video-text {
    padding: 50px 30px;
}

.custom-slide-video-tutorial .video-text p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.custom-slide-video-tutorial .video-text p.top-sub {
    opacity: 0.8;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 767px) {
    .custom-slide-video-tutorial .video-bg {
        height: 250px;
    }
    .custom-slide-video-tutorial .video-text {
        padding: 30px 15px;
    }
}

.fade-in-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}
.galeri-section .carousel-item img {
    transition: transform 0.6s ease;
}
.galeri-section .carousel-item:hover img {
    transform: scale(1.05);
}
.galeri-section .carousel-indicators [data-bs-target] {
    background-color: #666;
}
.galeri-section .carousel-indicators .active {
    background-color: #198754; /* hijau success */
}

.mySwiper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
}
.mySwiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.mySwiper img:hover {
  transform: scale(1.03);
}
.article-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #212529;
}

/* Headings */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  font-weight: 600;
  margin-top: 1.8rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.article-content h1 { font-size: 2rem; }
.article-content h2 { font-size: 1.75rem; }
.article-content h3 { font-size: 1.5rem; }
.article-content h4 { font-size: 1.25rem; }
.article-content h5 { font-size: 1.1rem; }
.article-content h6 { font-size: 1rem; color: #666; }

/* Paragraph */
.article-content p {
  margin-bottom: 1rem;
  text-align: justify;
}

/* Images */
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1rem 0;
  display: block;
}

/* Blockquote */
.article-content blockquote {
  border-left: 5px solid #0d6efd;
  background-color: #f8f9fa;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #555;
  border-radius: 0.5rem;
  position: relative;
}

.article-content blockquote::before {
  content: "“";
  font-size: 3rem;
  position: absolute;
  left: 10px;
  top: -10px;
  color: #0d6efd33;
}

/* Lists */
.article-content ul,
.article-content ol {
  margin: 1rem 0 1rem 1.5rem;
}

.article-content ul li,
.article-content ol li {
  margin-bottom: 0.5rem;
}

/* Links */
.article-content a {
  color: #0d6efd;
  text-decoration: none;
  transition: 0.2s;
}

.article-content a:hover {
  color: #0b5ed7;
  text-decoration: underline;
}

/* Table */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.article-content table th,
.article-content table td {
  border: 1px solid #dee2e6;
  padding: 0.75rem;
  text-align: left;
}

.article-content table th {
  background-color: #f1f3f5;
  font-weight: 600;
}

/* Code & Pre */
.article-content pre,
.article-content code {
  background-color: #f8f9fa;
  font-family: 'Courier New', monospace;
  border-radius: 0.5rem;
}

.article-content code {
  padding: 0.2rem 0.4rem;
  color: #d63384;
}

.article-content pre {
  padding: 1rem;
  overflow-x: auto;
  margin: 1rem 0;
}

/* Horizontal Line */
.article-content hr {
  margin: 2rem 0;
  border: none;
  border-top: 2px solid #e9ecef;
}

/* Iframe / Video Embed */
.article-content iframe,
.article-content video {
  max-width: 100%;
  border-radius: 0.75rem;
  margin: 1rem 0;
}

/* Strong / Emphasis */
.article-content strong {
  font-weight: 700;
  color: #000;
}

.article-content em {
  font-style: italic;
  color: #444;
}

/* Highlight */
.article-content mark {
  background-color: #fff3cd;
  padding: 0.2rem 0.3rem;
  border-radius: 0.25rem;
}
.article-content img, 
.article-content p {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.share-section {
  margin-top: 2rem;
  text-align: center;
}

.share-section .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.share-section .btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}