/* ======================================================================== */
/* ==================== DESKTOP & TABLET LARGE (> 992px) ==================== */
/* ======================================================================== */

/* ----------------------------------------- */
/* NAVBAR DESKTOP
/* ----------------------------------------- */
#mainNavbar {
    transition: all 0.3s ease;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background-color: transparent !important;
}

/* LOGO TEKS DESKTOP - Halaman Utama (Home) Belum Scroll: PUTIH */
body.home-page #mainNavbar:not(.navbar-scrolled) .navbar-brand span {
    color: white !important;
}

/* LOGO TEKS DESKTOP - Halaman Lain Belum Scroll: OREN */
body:not(.home-page) #mainNavbar:not(.navbar-scrolled) .navbar-brand span {
    color: #ffc107 !important;
}

/* LOGO TEKS DESKTOP - Saat Scroll (Semua Halaman): PUTIH */
#mainNavbar.navbar-scrolled .navbar-brand span {
    color: white !important;
}

/* LOGO GAMBAR DESKTOP */
#mainNavbar .navbar-brand img {
    height: 40px;
    transition: all 0.3s ease;
}
#mainNavbar.navbar-scrolled .navbar-brand img {
    height: 35px;
    filter: brightness(0) invert(1);
}

/* MENU NAVIGASI DESKTOP - Halaman Utama Belum Scroll: Putih, Hover Oren */
body.home-page #mainNavbar:not(.navbar-scrolled) .nav-link {
    color: white !important;
}
body.home-page #mainNavbar:not(.navbar-scrolled) .nav-link:hover,
body.home-page #mainNavbar:not(.navbar-scrolled) .nav-link.active {
    color: #ffc107 !important;
}

/* MENU NAVIGASI DESKTOP - Halaman Lain Belum Scroll: Oren, Hover Biru */
body:not(.home-page) #mainNavbar:not(.navbar-scrolled) .nav-link {
    color: #ffc107 !important;
}
body:not(.home-page) #mainNavbar:not(.navbar-scrolled) .nav-link:hover,
body:not(.home-page) #mainNavbar:not(.navbar-scrolled) .nav-link.active {
    color: #0d6efd !important;
}

/* MENU NAVIGASI DESKTOP - Saat Scroll (Semua Halaman): Putih, Hover Oren */
#mainNavbar.navbar-scrolled .nav-link {
    color: white !important;
}
#mainNavbar.navbar-scrolled .nav-link:hover,
#mainNavbar.navbar-scrolled .nav-link.active {
    color: #ffc107 !important;
}

/* Background Navbar Saat Scroll */
#mainNavbar.navbar-scrolled {
    background-color: #0d6efd !important;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* DROPDOWN ANIMASI DESKTOP */
#mainNavbar .dropdown-menu {
    display: block;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}
#mainNavbar .dropdown:hover .dropdown-menu,
#mainNavbar .dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#mainNavbar .dropdown-item {
    padding: 8px 20px;
    transition: all 0.2s ease;
}
#mainNavbar .dropdown-item:hover {
    background-color: #fdc50d;
    color: white;
}

/* ----------------------------------------- */
/* HERO SLIDER DESKTOP
/* ----------------------------------------- */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 100vh !important;
    min-height: 600px !important;
    max-height: 900px !important;
    overflow: hidden;
    margin-top: 0;
}
.hero-slide {
    width: 100%;
    height: 100vh !important;
    min-height: 600px !important;
    max-height: 900px !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.carousel, .carousel-inner, .carousel-item {
    height: 100% !important;
}
.carousel-item {
    transition: transform 0.6s ease-in-out;
}
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}
.carousel-fade .carousel-item.active {
    opacity: 1;
}
.hero-slide .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
}
.hero-slide h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.hero-slide .lead {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.hero-slide .btn-light {
    background: white;
    color: #0d6efd;
    border: none;
    border-radius: 50px;
    padding: 15px 45px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}
.hero-slide .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    background: white;
    color: #0a58ca;
}
.carousel-control-prev, .carousel-control-next {
    width: 10%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    background-size: 60%;
}
.carousel-indicators {
    bottom: 30px;
}
.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: white;
    opacity: 0.5;
}
.carousel-indicators button.active {
    opacity: 1;
    background-color: #0d6efd;
}
@media (max-width: 1200px) {
    .hero-slide h1 { font-size: 3.5rem; }
    .hero-slide .lead { font-size: 1.3rem; }
}

/* ----------------------------------------- */
/* JARAK NAVBAR DENGAN KONTEN DESKTOP
/* ----------------------------------------- */
body {
    padding-top: 80px;
}
.hero-slider-section {
    margin-top: -80px;
}
.page-hero-section {
    margin-top: 0;
}


/* ======================================================================== */
/* ==================== MOBILE & TABLET (max 992px) ==================== */
/* ======================================================================== */

@media (max-width: 992px) {
    
    /* ----------------------------------------- */
    /* NAVBAR MOBILE
    /* ----------------------------------------- */
    #mainNavbar {
        background-color: #0d6efd !important;
        padding: 10px 0;
    }
    
    /* ========== LOGO TEKS MOBILE ========== */
    /* SEMUA HALAMAN: Logo teks PUTIH (bukan oren) */
    #mainNavbar .navbar-brand span {
        color: white !important;
    }
    
    /* ========== MENU NAVIGASI MOBILE ========== */
    /* SEMUA TEXT NAVBAR PUTIH */
    #mainNavbar .nav-link {
        color: white !important;
        background-color: transparent !important;
        margin: 5px 0;
        border-radius: 8px;
        padding: 10px 15px !important;
    }
    #mainNavbar .nav-link:hover,
    #mainNavbar .nav-link.active {
        background-color: rgba(255,255,255,0.2) !important;
        color: white !important;
    }
    
    /* ========== DROPDOWN MOBILE ========== */
    /* Background Putih, Text Biru, BOLD */
    #mainNavbar .dropdown-menu {
        background-color: white !important;
        border-radius: 12px;
        margin-top: 5px;
        padding: 8px 0;
        display: none;
        position: static !important;
        float: none !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
        border: none;
    }
    #mainNavbar .dropdown-menu.show {
        display: block;
    }
    #mainNavbar .dropdown-item {
        color: #0d6efd !important;
        padding: 12px 20px;
        border-radius: 8px;
        margin: 2px 8px;
        font-weight: bold !important;
        font-size: 0.95rem;
    }
    #mainNavbar .dropdown-item:hover,
    #mainNavbar .dropdown-item:focus {
        background-color: #e9ecef !important;
        color: #0d6efd !important;
    }
    
    /* Dropdown toggle indicator mobile */
    #mainNavbar .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }
    
    /* Navbar collapse mobile */
    #mainNavbar .navbar-collapse {
        background-color: #0d6efd !important;
        padding: 15px;
        border-radius: 16px;
        margin-top: 15px;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    /* Tombol toggler mobile */
    .navbar-toggler {
        border: 1px solid white;
    }
    .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }
    
    /* ----------------------------------------- */
    /* HERO SLIDER MOBILE
    /* ----------------------------------------- */
    .hero-slider-section, .hero-slide {
        height: 80vh;
        min-height: 500px;
    }
    .hero-slide h1 {
        font-size: 2.8rem;
    }
    .hero-slide .lead {
        font-size: 1.1rem;
    }
    .hero-slide .btn-light {
        padding: 12px 35px;
        font-size: 1rem;
    }
    
    /* ----------------------------------------- */
    /* JARAK NAVBAR MOBILE
    /* ----------------------------------------- */
    body {
        padding-top: 70px;
    }
    .hero-slider-section {
        margin-top: -70px;
    }
}

/* ----------------------------------------- */
/* MOBILE KECIL (max 768px)
/* ----------------------------------------- */
@media (max-width: 768px) {
    .hero-slider-section, .hero-slide {
        height: 70vh;
        min-height: 450px;
    }
    .hero-slide h1 {
        font-size: 2rem;
    }
    .hero-slide .lead {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    .hero-slide .btn-light {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    .carousel-control-prev-icon, .carousel-control-next-icon {
        width: 35px;
        height: 35px;
    }
    .page-hero-section {
        margin-top: 60px;
    }
    .tahapan-card {
        margin-bottom: 20px;
    }
}

/* ----------------------------------------- */
/* MOBILE SANGAT KECIL (max 576px)
/* ----------------------------------------- */
@media (max-width: 576px) {
    body {
        padding-top: 60px;
    }
    .hero-slider-section {
        margin-top: -60px;
    }
}

/* ----------------------------------------- */
/* MOBILE EKSTRA KECIL (max 480px)
/* ----------------------------------------- */
@media (max-width: 480px) {
    .hero-slider-section, .hero-slide {
        height: 60vh;
        min-height: 400px;
    }
    .hero-slide h1 {
        font-size: 1.5rem;
    }
    .hero-slide .lead {
        font-size: 0.85rem;
    }
    .hero-slide .btn-light {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
}


/* ======================================================================== */
/* ==================== SCRIPT LAMA ==================== */
/* ======================================================================== */

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.gallery-item:hover { transform: translateY(-5px); }
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 20px 15px 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}
.gallery-overlay p {
    margin: 5px 0 0;
    font-size: 0.8rem;
    opacity: 0.8;
}

.lightbox-overlay { animation: fadeIn 0.3s ease; }
.lightbox-image { animation: zoomIn 0.3s ease; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

html, body { height: 100%; }
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main { flex: 1 0 auto; }
footer { flex-shrink: 0; }
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.min-height-fix { min-height: 300px; }

.testimoni-home { background: #f8f9fa; }
.testimoni-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
}
.testimoni-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.testimoni-avatar-home {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0d6efd;
}
.testimoni-text-home {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    position: relative;
}
.testimoni-text-home::before {
    content: '"';
    font-size: 40px;
    color: #0d6efd;
    position: absolute;
    left: 5px;
    top: -15px;
    opacity: 0.3;
    font-family: serif;
}

.star-rating { display: inline-flex; gap: 3px; }
.star-filled { color: #ffc107; }
.star-empty { color: #e4e5e9; }

.unggulan-section { background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%); }
.unggulan-card {
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.unggulan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}
.unggulan-icon { font-size: 3rem; color: #0d6efd; }
.unggulan-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}
.unggulan-card p { color: #6c757d; line-height: 1.6; }

.berita-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}
.berita-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.berita-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.berita-body { padding: 20px; }
.berita-date {
    font-size: 0.8rem;
    color: #0d6efd;
    font-weight: 500;
}
.berita-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 10px 0;
    line-height: 1.4;
}
.berita-body p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}
.btn-berita {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-berita:hover {
    color: #0a58ca;
    margin-left: 5px;
}

.cta-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
}
.cta-section h3 { font-size: 1.8rem; }
.cta-section .btn-light {
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.cta-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.social-link:hover {
    background: #0d6efd;
    color: white;
    transform: translateY(-3px);
}

.program-description { line-height: 1.7; }
.program-description .bullet-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}
.program-description .bullet-item i { margin-top: 3px; flex-shrink: 0; }
.program-description .bullet-item span { color: #444; }
.program-description p {
    margin-bottom: 15px;
    color: #555;
}

.page-hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.tahapan-card {
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.tahapan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}
.tahapan-number {
    width: 50px;
    height: 50px;
    background: #0d6efd;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto;
}
.tahapan-icon { font-size: 2.5rem; color: #0d6efd; }

.bank-info {
    background: #f8f9fa;
    transition: all 0.3s ease;
}
.bank-info:hover { background: #e9ecef; }

.materi-card {
    background: white;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.materi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.materi-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 2px solid #0d6efd;
    padding-bottom: 10px;
}
.materi-card ul li {
    margin-bottom: 10px;
    color: #555;
}

.accordion-button:not(.collapsed) {
    background-color: #0d6efd;
    color: white;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: #0d6efd;
}

.cta-pendaftaran { margin-top: 0; }
.cta-pendaftaran .btn-light {
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.cta-pendaftaran .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}
.wa-button-main {
    width: 75px;
    height: 75px;
    background: transparent !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.wa-button-main img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}
.wa-button-main:hover { transform: scale(1.05); }
.wa-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wa-dropdown {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 280px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(10px);
}
.wa-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.wa-dropdown-header {
    background: #075e54;
    color: white;
    padding: 12px 16px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wa-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}
.wa-dropdown-body { padding: 8px 0; }
.wa-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s ease;
    border-bottom: 1px solid #eee;
}
.wa-item:last-child { border-bottom: none; }
.wa-item:hover { background: #f0f0f0; }
.wa-item div strong {
    display: block;
    font-size: 14px;
}
.wa-item div small {
    font-size: 11px;
    color: #888;
}
.wa-item span {
    font-size: 14px;
    color: #aaa;
}
.wa-dropdown-footer {
    background: #f5f5f5;
    padding: 10px 16px;
    text-align: center;
    font-size: 11px;
    color: #888;
    border-top: 1px solid #eee;
}
@media (max-width: 768px) {
    .floating-wa {
        bottom: 20px;
        right: 20px;
    }
    .wa-button-main {
        width: 65px;
        height: 65px;
    }
    .wa-button-main img {
        width: 42px;
        height: 42px;
    }
    .wa-dropdown {
        bottom: 75px;
        width: 260px;
    }
}

.visi-icon, .misi-icon { text-align: center; }
.direksi-card {
    background: white;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.direksi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.direksi-avatar { margin-bottom: 15px; }
.output-card {
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.output-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}
.output-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.output-card p {
    color: #6c757d;
    line-height: 1.6;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.unggulan-card, .berita-card, .testimoni-card, .materi-card, .tahapan-card {
    transition: all 0.3s ease;
}
.unggulan-card:hover, .berita-card:hover, .testimoni-card:hover, 
.materi-card:hover, .tahapan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.btn-primary, .btn-light, .btn-outline-primary {
    transition: all 0.3s ease;
}
.btn-primary:hover, .btn-light:hover, .btn-outline-primary:hover {
    transform: translateY(-2px);
}

img {
    transition: transform 0.3s ease;
}
img:hover {
    transform: scale(1.02);
}

/* ==================== POPUP - FLAYER STYLE ==================== */
.site-popup {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
}

.popup-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0,0,0,0.8) !important;
    z-index: 1 !important;
}

.popup-container {
    position: relative !important;
    max-width: 80% !important;
    width: auto !important;
    max-height: 90vh !important;
    background: transparent !important;
    border-radius: 0 !important;
    overflow: auto !important;
    z-index: 2 !important;
    animation: popupFadeIn 0.3s ease !important;
}

.popup-close {
    position: absolute !important;
    top: -15px !important;
    right: -15px !important;
    width: 35px !important;
    height: 35px !important;
    font-size: 20px !important;
    font-weight: bold !important;
    color: white !important;
    background: #dc3545 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    border: none !important;
    z-index: 10 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
}

.popup-close:hover {
    background: #c82333 !important;
    transform: scale(1.05) !important;
}

.popup-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 85vh !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}

.popup-body {
    display: none;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .popup-container {
        max-width: 95% !important;
    }
    .popup-close {
        top: -10px !important;
        right: -10px !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 16px !important;
    }
}