.slider-img {
    height: 500px;
    object-fit: cover;
}

.card {
    transition: transform 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

footer {
    margin-top: auto;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.btn-primary {
    background-color: #0d6efd;
    border: none;
}

.btn-primary:hover {
    background-color: #0b5ed7;
}
/* Warna header custom - hijau gelap seperti gambar */
.custom-navbar {
    background-color: #1a472a;  /* Hijau tua khas madrasah */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Atau jika ingin biru gelap, ganti dengan #0b3d5f */

.custom-navbar .navbar-brand,
.custom-navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    transition: all 0.3s;
}

.custom-navbar .nav-link:hover {
    color: #ffd700 !important;  /* efek emas saat hover */
    transform: translateY(-2px);
}

.custom-navbar .navbar-brand:hover {
    color: #ffd700 !important;
}

/* Menu aktif (sesuai halaman yang sedang dibuka) */
.custom-navbar .nav-link.active {
    color: #ffd700 !important;
    border-bottom: 2px solid #ffd700;
}

/* Responsive untuk mobile */
@media (max-width: 992px) {
    .custom-navbar .nav-link {
        text-align: center;
        padding: 10px 0;
    }
}
/* Navbar putih */
.navbar.bg-white {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
    font-size: 1rem;
}

.nav-link {
    color: #333 !important;
    transition: all 0.3s;
}

.nav-link:hover {
    color: #1a472a !important;
    transform: translateY(-2px);
}

/* Media sosial icons */
.social-icons a {
    transition: all 0.3s;
    font-size: 1.1rem;
}

.social-icons a:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

/* Dropdown menu */
.dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: none;
    margin-top: 8px;
}

.dropdown-item:hover {
    background-color: #e8f5e9;
    color: #1a472a;
}

/* Responsive */
@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
        margin: 10px 0;
    }
    
    .social-icons {
        text-align: center;
        margin: 10px 0;
    }
    
    .d-flex.align-items-center {
        justify-content: center;
        flex-wrap: wrap;
    }
}
/* Footer Warna Hijau Tosca / Kementerian Agama */
.footer {
    background: linear-gradient(135deg, #006d5e 0%, #008b7a 100%);
    /* Warna solid alternatif: #006d5e atau #008b7a */
}

/* Efek hover pada link footer */
.footer .hover-opacity {
    transition: all 0.3s ease;
}

.footer .hover-opacity:hover {
    opacity: 1 !important;
    text-decoration: underline !important;
    transform: translateX(3px);
}

/* Social media icons footer */
.social-footer a {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-footer a:hover {
    opacity: 1 !important;
    transform: translateY(-3px);
}

/* List styling */
.footer ul li i {
    width: 20px;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }
    
    .social-footer {
        margin-bottom: 15px;
    }
    
    .footer ul {
        text-align: center;
    }
    
    .footer ul li i {
        width: auto;
        margin-right: 5px;
    }
}

/* HR styling */
.footer hr {
    border-color: rgba(255, 255, 255, 0.3);
}
/* ========== SLIDESHOW STYLES ========== */

/* Container slideshow dengan background */
.slideshow-container {
    position: relative;
    background: linear-gradient(135deg, #0b3d5f 0%, #1a472a 50%, #0b3d5f 100%);
    /* Background gradien biru ke hijau */
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Background alternatif - pola motif islami */
.slideshow-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    border-radius: 15px;
    pointer-events: none;
}

/* Carousel wrapper */
.carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Efek fade transisi antar slide */
.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 1s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active.carousel-item-start,
.carousel-fade .carousel-item.active.carousel-item-end {
    opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev {
    transition-duration: 1s;
}

/* Gambar slideshow */
.slide-wrapper {
    position: relative;
    background: #0b3d5f;
}

.slide-image {
    height: 550px;
    object-fit: cover;
    filter: brightness(0.85);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.carousel-item:hover .slide-image {
    transform: scale(1.02);
    filter: brightness(0.9);
}

/* Overlay gelap pada gambar */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

/* Caption / teks pada slide */
.carousel-caption {
    bottom: 20%;
    text-align: center;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px 30px;
    max-width: 70%;
    margin: 0 auto;
    left: 0;
    right: 0;
    animation-duration: 1s;
}

.slide-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* Tombol navigasi carousel */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slideshow-container:hover .carousel-control-prev,
.slideshow-container:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 20px;
    background-size: 50%;
}

/* Indikator slide (titik-titik) */
.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #ffd700;
    transform: scale(1.2);
}

/* Animasi fade in untuk caption */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate__fadeInUp {
    animation: fadeInUp 1s ease-out;
}

/* Responsif mobile */
@media (max-width: 992px) {
    .slide-image {
        height: 400px;
    }
    
    .carousel-caption {
        bottom: 10%;
        padding: 10px 15px;
        max-width: 90%;
    }
    
    .slide-title {
        font-size: 1.3rem;
    }
    
    .slide-subtitle {
        font-size: 0.8rem;
    }
    
    .slideshow-container {
        padding: 5px;
    }
}

@media (max-width: 768px) {
    .slide-image {
        height: 300px;
    }
    
    .carousel-caption {
        display: none !important;
    }
}
/* ========== SLIDESHOW STYLES ========== */

/* Container slideshow dengan background */
.slideshow-container {
    position: relative;
    background: linear-gradient(135deg, #0b3d5f 0%, #006d5e 50%, #0b3d5f 100%);
    border-radius: 15px;
    padding: 12px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Background pattern motif islami */
.slideshow-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 25px 25px;
    border-radius: 15px;
    pointer-events: none;
}

/* Placeholder jika tidak ada slide */
.slideshow-container-placeholder {
    margin-bottom: 40px;
}

/* Carousel wrapper */
.carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Efek FADE transisi antar slide */
.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0.8s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active.carousel-item-start,
.carousel-fade .carousel-item.active.carousel-item-end {
    opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev {
    transition-duration: 0.8s;
}

/* Wrapper gambar */
.slide-wrapper {
    position: relative;
    background: #0b3d5f;
}

/* Gambar slideshow */
.slide-image {
    height: 550px;
    object-fit: cover;
    filter: brightness(0.8);
    transition: transform 0.5s ease, filter 0.5s ease;
    width: 100%;
}

.carousel-item:hover .slide-image {
    transform: scale(1.02);
    filter: brightness(0.85);
}

/* Overlay gelap pada gambar */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

/* Caption / teks pada slide */
.carousel-caption {
    bottom: 20%;
    text-align: center;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    padding: 15px 30px;
    max-width: 70%;
    margin: 0 auto;
    left: 0;
    right: 0;
    animation: fadeInUp 0.8s ease-out;
}

.slide-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #fff;
}

.slide-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    letter-spacing: 1px;
    color: #ffd700;
}

/* Tombol navigasi carousel */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slideshow-container:hover .carousel-control-prev,
.slideshow-container:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 20px;
    background-size: 50%;
    transition: all 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #006d5e;
    transform: scale(1.1);
}

/* Indikator slide (titik-titik) */
.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #ffd700;
    transform: scale(1.3);
}

/* Animasi fade in untuk caption */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button styling */
.btn-success {
    background-color: #006d5e;
    border: none;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #008b7a;
    transform: translateY(-2px);
}

/* Responsif mobile */
@media (max-width: 992px) {
    .slide-image {
        height: 400px;
    }
    
    .carousel-caption {
        bottom: 15%;
        padding: 10px 20px;
        max-width: 85%;
    }
    
    .slide-title {
        font-size: 1.3rem;
    }
    
    .slide-subtitle {
        font-size: 0.75rem;
    }
    
    .slideshow-container {
        padding: 8px;
    }
}

@media (max-width: 768px) {
    .slide-image {
        height: 280px;
    }
    
    .carousel-caption {
        display: none !important;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 12px;
        background-size: 40%;
    }
}
/* Background dinamis mengikuti warna dominan gambar */
.slideshow-container {
    position: relative;
    background: #0b3d5f;
    transition: background 0.5s ease;
}

/* Background gradien berbayang */
.slideshow-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    border-radius: 0 0 15px 15px;
    pointer-events: none;
}
/* ========================================
   SLIDESHOW DENGAN TRANSISI MODERN
   ======================================== */

/* Wrapper utama slideshow */
.slideshow-wrapper {
    margin-bottom: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Container slideshow dengan background gradien */
.slideshow-container {
    position: relative;
    background: linear-gradient(135deg, #0a2e38 0%, #0b3d5f 30%, #006d5e 70%, #0a2e38 100%);
    padding: 12px;
    border-radius: 20px;
}

/* Background pattern */
.slideshow-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.05) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px, 30px 30px;
    border-radius: 20px;
    pointer-events: none;
}

/* Carousel styling */
.carousel {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* ========== TRANSISI FADE YANG HALUS ========== */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active.carousel-item-start,
.carousel-fade .carousel-item.active.carousel-item-end {
    opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev {
    transition-duration: 0.8s;
}

/* Wrapper gambar */
.slide-img-wrapper {
    position: relative;
    overflow: hidden;
    background: #0a2e38;
}

/* Gambar slideshow dengan efek zoom */
.slide-img {
    height: 550px;
    object-fit: cover;
    width: 100%;
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Efek zoom pada gambar aktif */
.carousel-item.active .slide-img {
    transform: scale(1.05);
}

/* Efek zoom saat hover */
.carousel-item:hover .slide-img {
    transform: scale(1.08);
    transition-duration: 8s;
}

/* Overlay gradien pada gambar */
.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0.1) 30%,
        rgba(0,0,0,0.4) 70%,
        rgba(0,0,0,0.6) 100%
    );
    pointer-events: none;
}

/* ========== CAPTION / TEKS ========== */
.slide-caption {
    bottom: 15%;
    text-align: center;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(15px);
    border-radius: 60px;
    padding: 20px 40px;
    max-width: 70%;
    margin: 0 auto;
    left: 0;
    right: 0;
    border: 1px solid rgba(255,255,255,0.2);
    animation: slideUpFade 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.caption-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.caption-text {
    font-size: 0.95rem;
    color: #ffd700;
    letter-spacing: 2px;
    margin-bottom: 0;
}

.caption-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #006d5e);
    margin: 12px auto 0;
    border-radius: 3px;
}

/* ========== ANIMASI CAPTION ========== */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== TOMBOL NAVIGASI ========== */
.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    opacity: 0;
    transition: all 0.4s ease;
}

.slideshow-container:hover .carousel-control-prev,
.slideshow-container:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    padding: 22px;
    background-size: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #006d5e;
    transform: scale(1.1);
}

/* ========== INDIKATOR SLIDE ========== */
.carousel-indicators {
    bottom: 25px;
    gap: 12px;
}

.carousel-indicators button {
    width: 30px;
    height: 4px;
    border-radius: 4px;
    margin: 0;
    background-color: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
    border: none;
}

.carousel-indicators button.active {
    width: 50px;
    background-color: #ffd700;
}

.indicator-dot {
    display: block;
    width: 100%;
    height: 100%;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .slide-img {
        height: 500px;
    }
    
    .caption-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .slide-img {
        height: 400px;
    }
    
    .slide-caption {
        bottom: 12%;
        padding: 12px 25px;
        max-width: 80%;
    }
    
    .caption-title {
        font-size: 1.4rem;
    }
    
    .caption-text {
        font-size: 0.8rem;
    }
    
    .carousel-indicators {
        bottom: 15px;
        gap: 8px;
    }
    
    .carousel-indicators button {
        width: 25px;
    }
    
    .carousel-indicators button.active {
        width: 40px;
    }
}

@media (max-width: 768px) {
    .slide-img {
        height: 300px;
    }
    
    .slide-caption {
        display: none !important;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 12px;
        background-size: 40%;
    }
    
    .slideshow-container {
        padding: 6px;
    }
    
    .carousel-indicators {
        bottom: 10px;
        gap: 5px;
    }
    
    .carousel-indicators button {
        width: 20px;
        height: 3px;
    }
    
    .carousel-indicators button.active {
        width: 30px;
    }
}

/* ========== ANIMASI LOADING SKELETON ========== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.slide-img.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 1.5s infinite;
}

/* Placeholder jika tidak ada slide */
.slideshow-placeholder {
    margin-bottom: 40px;
}

.slideshow-placeholder .bg-light {
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
}
/* ========================================
   ELEMEN INFORMASI MADRASAH
   ======================================== */

.info-madrasah-section {
    padding: 40px 0 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    margin: 30px 0;
}

/* Section Header */
.section-header {
    margin-bottom: 30px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a472a;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.title-border {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #006d5e, #ffd700);
    margin: 10px auto;
    border-radius: 2px;
}

.section-subtitle {
    color: #666;
    font-size: 1rem;
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    padding: 25px 20px;
    border: 1px solid rgba(0,109,94,0.1);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,109,94,0.15);
    border-color: rgba(0,109,94,0.3);
}

/* Icon Card */
.info-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #006d5e, #008b7a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.info-card-icon i {
    font-size: 28px;
    color: white;
}

/* Date */
.info-card-date {
    font-size: 0.85rem;
    color: #006d5e;
    margin-bottom: 12px;
    font-weight: 500;
}

.info-card-date i {
    margin-right: 5px;
}

/* Title */
.info-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta info */
.info-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: #888;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.info-card-meta span i {
    margin-right: 5px;
}

/* Excerpt */
.info-card-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read More Button */
.btn-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #006d5e;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-readmore i {
    transition: transform 0.3s ease;
}

.btn-readmore:hover {
    color: #ffd700;
}

.btn-readmore:hover i {
    transform: translateX(5px);
}

/* Button Lihat Semua Informasi */
.btn-all-info {
    background: linear-gradient(135deg, #006d5e, #008b7a);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
}

.btn-all-info:hover {
    background: linear-gradient(135deg, #008b7a, #00a896);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,109,94,0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .info-madrasah-section {
        padding: 30px 0 15px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .info-card {
        padding: 20px 15px;
    }
    
    .info-card-icon {
        width: 50px;
        height: 50px;
    }
    
    .info-card-icon i {
        font-size: 24px;
    }
    
    .info-card-title {
        font-size: 1rem;
    }
    
    .btn-all-info {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}
/* ========================================
   HEADER MODERN & RESPONSIF
   ======================================== */

/* Font global */
body {
    font-family: 'Poppins', sans-serif;
}

/* Sticky navbar */
.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Navbar styling */
.navbar.bg-white {
    background: #ffffff !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.navbar.bg-white.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

/* Logo styling */
.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.scrolled .navbar-logo {
    height: 42px;
}

/* Brand text */
.brand-text {
    margin-left: 10px;
    line-height: 1.2;
}

.brand-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a472a;
    display: block;
    letter-spacing: 0.5px;
}

.brand-subtitle {
    font-size: 0.7rem;
    color: #666;
    display: block;
    letter-spacing: 1px;
}

/* Navbar toggler mobile */
.navbar-toggler {
    padding: 8px 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a472a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar links */
.nav-link {
    color: #333 !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px !important;
    margin: 0 2px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #006d5e !important;
    background: rgba(0, 109, 94, 0.08);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #006d5e !important;
    background: rgba(0, 109, 94, 0.1);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #006d5e;
    border-radius: 3px;
}

/* Right section */
.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Social media icons */
.social-icons {
    display: flex;
    gap: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
}

.social-link.facebook {
    background: #1877f2;
    color: white;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #d62976, #962fbf);
    color: white;
}

.social-link.youtube {
    background: #ff0000;
    color: white;
}

.social-link.whatsapp {
    background: #25d366;
    color: white;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Login button */
.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #006d5e, #008b7a);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-login:hover {
    background: linear-gradient(135deg, #008b7a, #00a896);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 109, 94, 0.3);
}

/* User dropdown */
.btn-user {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 6px 15px;
    transition: all 0.3s ease;
}

.btn-user:hover {
    background: #f5f5f5;
    border-color: #006d5e;
}

.user-avatar i {
    font-size: 1.2rem;
    color: #006d5e;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    margin-top: 12px;
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.dropdown-item i {
    width: 20px;
    margin-right: 8px;
    color: #666;
}

.dropdown-item:hover {
    background: #e8f5e9;
    padding-left: 25px;
}

.dropdown-item.text-danger:hover {
    background: #ffebee;
}

/* ========== RESPONSIVE ========== */

/* Tablet (768px - 992px) */
@media (max-width: 992px) {
    .navbar-nav {
        margin: 15px 0;
    }
    
    .nav-link {
        text-align: center;
        padding: 10px !important;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .nav-right {
        justify-content: center;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #eee;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .brand-title {
        font-size: 0.85rem;
    }
    
    .brand-subtitle {
        font-size: 0.65rem;
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }
    
    .navbar-brand {
        gap: 8px;
    }
    
    .navbar-logo {
        height: 40px;
    }
    
    .brand-title {
        font-size: 0.75rem;
    }
    
    .brand-subtitle {
        font-size: 0.6rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    .btn-login {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
    
    .btn-login span {
        display: inline;
    }
    
    .nav-right {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* Mobile small (max 480px) */
@media (max-width: 480px) {
    .brand-title {
        display: none;
    }
    
    .brand-subtitle {
        display: none;
    }
    
    .navbar-brand {
        margin-right: auto;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .btn-login span {
        display: none;
    }
    
    .btn-login {
        padding: 6px 12px;
    }
    
    .btn-login i {
        margin: 0;
    }
}

/* Animasi scroll */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    animation: slideDown 0.5s ease;
}
/* ========================================
   ELEMEN INFORMASI TAMBAHAN
   ======================================== */

.extra-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px 0;
    border-radius: 20px;
}

/* Video Card */
.info-card-video {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.card-header-video {
    background: linear-gradient(135deg, #006d5e, #008b7a);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header-video i {
    font-size: 1.5rem;
    color: #ffd700;
}

.card-header-video h3 {
    font-size: 1.2rem;
    color: white;
    margin: 0;
    font-weight: 600;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Rasio 16:9 */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    padding: 12px 20px;
    background: #f8f9fa;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
}

/* Statistik Card */
.stat-card {
    background: white;
    padding: 25px 15px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,109,94,0.15);
}

.stat-icon {
    font-size: 2.5rem;
    color: #006d5e;
    margin-bottom: 12px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1a472a;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
}

/* Agenda Card */
.info-card-agenda {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.card-header-agenda {
    background: linear-gradient(135deg, #1a472a, #006d5e);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header-agenda i {
    font-size: 1.5rem;
    color: #ffd700;
}

.card-header-agenda h3 {
    font-size: 1.2rem;
    color: white;
    margin: 0;
    font-weight: 600;
}

.agenda-list {
    padding: 10px 0;
}

.agenda-item {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

.agenda-item:hover {
    background: #f8f9fa;
}

.agenda-date {
    text-align: center;
    min-width: 60px;
    background: #e8f5e9;
    border-radius: 12px;
    padding: 8px;
}

.agenda-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #006d5e;
    line-height: 1;
}

.agenda-date .month {
    display: block;
    font-size: 0.7rem;
    color: #666;
}

.agenda-details h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #333;
}

.agenda-details p {
    font-size: 0.75rem;
    color: #888;
    margin: 0;
}

.agenda-details p i {
    margin-right: 5px;
}

/* Galeri Card */
.info-card-gallery {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.card-header-gallery {
    background: linear-gradient(135deg, #008b7a, #00a896);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header-gallery i {
    font-size: 1.5rem;
    color: #ffd700;
}

.card-header-gallery h3 {
    font-size: 1.2rem;
    color: white;
    margin: 0;
    font-weight: 600;
}

.gallery-preview {
    padding: 15px;
}

.gallery-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.gallery-row img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-row img:hover {
    transform: scale(1.05);
}

.testimonial-item {
    padding: 15px 20px;
    background: #f8f9fa;
    margin: 0 15px 15px 15px;
    border-radius: 15px;
    position: relative;
}

.quote-icon {
    font-size: 1.5rem;
    color: #006d5e;
    opacity: 0.5;
    margin-bottom: 8px;
}

.testimonial-text {
    font-size: 0.85rem;
    color: #555;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    margin-top: 10px;
    font-size: 0.75rem;
    color: #006d5e;
}

/* Tombol View All */
.btn-view-all {
    display: block;
    text-align: center;
    padding: 12px;
    background: #f8f9fa;
    color: #006d5e;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border-top: 1px solid #eee;
}

.btn-view-all:hover {
    background: #006d5e;
    color: white;
}

.btn-view-all i {
    transition: transform 0.3s ease;
}

.btn-view-all:hover i {
    transform: translateX(5px);
}

/* Partner Section */
.partner-section {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.partner-title {
    font-size: 1.2rem;
    color: #1a472a;
    margin-bottom: 20px;
    font-weight: 600;
}

.partner-title i {
    color: #ffd700;
    margin-right: 8px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-item {
    flex-shrink: 0;
}

.partner-item img {
    height: 50px;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(0.3);
}

.partner-item img:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .extra-info-section {
        padding: 20px 0;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .gallery-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-row img {
        height: 100px;
    }
    
    .partner-logos {
        gap: 15px;
    }
    
    .partner-item img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .agenda-item {
        flex-direction: column;
        text-align: center;
    }
    
    .agenda-date {
        align-self: center;
    }
    
    .gallery-row {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ========================================
   TOP BAR - MEDIA SOSIAL WARNA ASLI
   ======================================== */

.top-bar {
    background: #f8f9fa;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.top-bar-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.top-bar-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    background: transparent;
}

/* Warna asli masing-masing media sosial */
.social-icon.facebook {
    color: #1877f2;
}

.social-icon.instagram {
    color: #e4405f;
}

.social-icon.youtube {
    color: #ff0000;
}

.social-icon.whatsapp {
    color: #25d366;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(0,0,0,0.05);
}

/* ========================================
   NAVBAR MODERN
   ======================================== */

.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Logo */
.navbar-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    margin-left: 12px;
    line-height: 1.2;
}

.brand-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a472a;
    display: block;
    letter-spacing: 0.5px;
}

.brand-subtitle {
    font-size: 0.65rem;
    color: #006d5e;
    display: block;
    letter-spacing: 1px;
}

/* Navbar Toggler */
.navbar-toggler {
    padding: 8px 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Navbar Links - Modern */
.nav-link {
    color: #333 !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 18px !important;
    margin: 0 2px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.nav-link:hover {
    color: #006d5e !important;
    background: rgba(0,109,94,0.08);
    transform: translateY(-2px);
}

.nav-link.active {
    color: white !important;
    background: linear-gradient(135deg, #006d5e, #008b7a);
    box-shadow: 0 4px 10px rgba(0,109,94,0.3);
}

.nav-link.active:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #008b7a, #00a896);
}

/* Efek underline pada menu saat hover */
.nav-link:not(.active)::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #006d5e, #ffd700);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:not(.active):hover::after {
    width: 30px;
}

/* User Dropdown */
.nav-right {
    margin-left: 10px;
}

.btn-user {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 6px 15px;
    transition: all 0.3s ease;
}

.btn-user:hover {
    background: #f5f5f5;
    border-color: #006d5e;
}

.user-avatar i {
    font-size: 1.2rem;
    color: #006d5e;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 8px 0;
    margin-top: 12px;
}

.dropdown-item {
    padding: 8px 20px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.dropdown-item i {
    width: 20px;
    margin-right: 8px;
    color: #666;
}

.dropdown-item:hover {
    background: #e8f5e9;
    padding-left: 25px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
    .navbar-nav {
        margin: 15px 0;
    }
    
    .nav-link {
        text-align: center;
        padding: 10px !important;
    }
    
    .nav-link.active {
        background: transparent;
        color: #006d5e !important;
        font-weight: 600;
    }
    
    .nav-link:not(.active)::after {
        display: none;
    }
    
    .brand-title {
        font-size: 0.8rem;
    }
    
    .brand-subtitle {
        font-size: 0.6rem;
    }
    
    .nav-right {
        text-align: center;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }
    
    .navbar-logo {
        height: 40px;
    }
    
    .brand-title {
        font-size: 0.7rem;
    }
    
    .brand-subtitle {
        font-size: 0.55rem;
    }
    
    .top-bar {
        padding: 6px 0;
    }
    
    .social-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
    
    .top-bar-social {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .brand-title {
        display: none;
    }
    
    .brand-subtitle {
        display: none;
    }
    
    .navbar-brand {
        margin-right: auto;
    }
}

/* Animasi scroll */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    animation: slideDown 0.5s ease;
}
/* ========================================
   TOP BAR - MEDIA SOSIAL WARNA ASLI
   ======================================== */

.top-bar {
    background: #f8f9fa;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.top-bar-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.top-bar-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    background: transparent;
}

/* Warna asli masing-masing media sosial */
.social-icon.facebook {
    color: #1877f2;
}

.social-icon.instagram {
    color: #e4405f;
}

.social-icon.youtube {
    color: #ff0000;
}

.social-icon.whatsapp {
    color: #25d366;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(0,0,0,0.05);
}

/* ========================================
   NAVBAR MODERN
   ======================================== */

.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Logo */
.navbar-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    margin-left: 12px;
    line-height: 1.2;
}

.brand-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a472a;
    display: block;
    letter-spacing: 0.5px;
}

.brand-subtitle {
    font-size: 0.65rem;
    color: #006d5e;
    display: block;
    letter-spacing: 1px;
}

/* Navbar Toggler */
.navbar-toggler {
    padding: 8px 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Navbar Links - Modern */
.nav-link {
    color: #333 !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 18px !important;
    margin: 0 2px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.nav-link:hover {
    color: #006d5e !important;
    background: rgba(0,109,94,0.08);
    transform: translateY(-2px);
}

.nav-link.active {
    color: white !important;
    background: linear-gradient(135deg, #006d5e, #008b7a);
    box-shadow: 0 4px 10px rgba(0,109,94,0.3);
}

.nav-link.active:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #008b7a, #00a896);
}

/* Efek underline pada menu saat hover */
.nav-link:not(.active)::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #006d5e, #ffd700);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:not(.active):hover::after {
    width: 30px;
}

/* User Dropdown */
.nav-right {
    margin-left: 10px;
}

.btn-user {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 6px 15px;
    transition: all 0.3s ease;
}

.btn-user:hover {
    background: #f5f5f5;
    border-color: #006d5e;
}

.user-avatar i {
    font-size: 1.2rem;
    color: #006d5e;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 8px 0;
    margin-top: 12px;
}

.dropdown-item {
    padding: 8px 20px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.dropdown-item i {
    width: 20px;
    margin-right: 8px;
    color: #666;
}

.dropdown-item:hover {
    background: #e8f5e9;
    padding-left: 25px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
    .navbar-nav {
        margin: 15px 0;
    }
    
    .nav-link {
        text-align: center;
        padding: 10px !important;
    }
    
    .nav-link.active {
        background: transparent;
        color: #006d5e !important;
        font-weight: 600;
    }
    
    .nav-link:not(.active)::after {
        display: none;
    }
    
    .brand-title {
        font-size: 0.8rem;
    }
    
    .brand-subtitle {
        font-size: 0.6rem;
    }
    
    .nav-right {
        text-align: center;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }
    
    .navbar-logo {
        height: 40px;
    }
    
    .brand-title {
        font-size: 0.7rem;
    }
    
    .brand-subtitle {
        font-size: 0.55rem;
    }
    
    .top-bar {
        padding: 6px 0;
    }
    
    .social-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
    
    .top-bar-social {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .brand-title {
        display: none;
    }
    
    .brand-subtitle {
        display: none;
    }
    
    .navbar-brand {
        margin-right: auto;
    }
}

/* Animasi scroll */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    animation: slideDown 0.5s ease;
}
/* Ganti bagian .hasil-foto */
.hasil-foto {
    width: 180px;
    height: auto;
    min-height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hasil-foto img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.hasil-foto i {
    font-size: 4rem;
    color: #ccc;
}

/* Status Kelulusan Lebih Besar */
.status-lulus {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-align: center;
    min-width: 200px;
}

.status-lulus.lulus {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 5px 15px rgba(40,167,69,0.3);
}

.status-lulus.tidak-lulus {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 5px 15px rgba(220,53,69,0.3);
}

.status-lulus i {
    margin-right: 8px;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .status-lulus {
        font-size: 1.1rem;
        padding: 8px 20px;
        min-width: 150px;
    }
    
    .status-lulus i {
        font-size: 1rem;
    }
    
    .hasil-foto {
        width: 140px;
    }
}