/* === GENERAL & COMMON ELEMENTS === */
body { margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f9f9f9; color: #333; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 20px auto; padding: 0 20px; }

/* === HEADER (UPDATED) === */
.top-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 30px; 
    background-color: #ffffff; 
    border-bottom: 1px solid #e0e0e0;
    gap: 20px; /* Beri jarak antar elemen */
    max-width: 100vw; /* Tidak melebihi viewport width */
    box-sizing: border-box; /* Include padding dalam width calculation */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.logo-container { 
    display: flex; 
    align-items: center; 
    gap: 15px;
    flex-shrink: 0; /* Logo tidak mengecil */
}

.logo-utama { height: 50px; }
.logo-sekunder { height: 30px; }

/* --- [START] PERUBAHAN DESIGN "INTEGRATED PILL" --- */
.header-right {
    /* Wadah utama dengan flex layout */
    display: flex;
    align-items: center;
    gap: 15px; /* Jarak antara search dan user info */
    margin-left: auto; /* Push ke kanan */
    flex-wrap: nowrap; /* Jangan wrap di desktop */
    flex-shrink: 1; /* Boleh mengecil jika perlu */
    min-width: 0; /* Allow shrinking */
    justify-content: flex-end; /* Align children ke kanan - KONSISTEN */
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    background-color: #f9f9f9;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth easing */
    width: 280px; /* Default width */
    min-width: 200px; /* Minimum width untuk stabilitas */
    max-width: 100%; /* Tidak melebihi container */
    cursor: pointer;
    box-sizing: border-box; /* Include border dalam width */
    /* TIDAK ADA margin-left: auto - Konsisten di semua screen */
}

.search-container:focus-within {
    width: 400px; /* Melebar saat focus */
    border-color: #4CAF50;
    box-shadow: 0 2px 12px rgba(76, 175, 80, 0.25);
    /* TIDAK ADA margin-left: auto - Stay in place */
}

.search-icon {
    position: absolute;
    left: 20px;
    height: 18px;
    width: 18px;
    fill: #888;
    z-index: 1;
    transition: all 0.3s ease;
    pointer-events: none; /* Agar tidak menghalangi click */
}

.search-container:focus-within .search-icon {
    fill: #4CAF50;
}

.search-input {
    border: none;
    background: none;
    outline: none;
    padding: 12px 20px 12px 50px;
    width: 100%;
    font-size: 0.95em;
    color: #333;
    transition: all 0.3s ease;
    min-width: 0; /* Fleksibel untuk container kecil */
}

/* Icon-only mode untuk search - hidden by default */
.search-container.icon-only .search-input {
    width: 0;
    padding: 0;
    opacity: 0;
}

.search-container.icon-only {
    width: 44px;
    min-width: 44px;
    justify-content: center;
}

.search-container.icon-only .search-icon {
    position: static;
    left: auto;
}

.search-container.icon-only:focus-within,
.search-container.icon-only:hover {
    width: 250px;
}

.search-container.icon-only:focus-within .search-input,
.search-container.icon-only:hover .search-input {
    width: 100%;
    padding: 12px 20px 12px 50px;
    opacity: 1;
}

.search-container.icon-only:focus-within .search-icon,
.search-container.icon-only:hover .search-icon {
    position: absolute;
    left: 20px;
}

.search-input::placeholder {
    color: #aaa;
    transition: opacity 0.3s ease;
}

.search-input:focus::placeholder {
    opacity: 0.6;
}

.login-btn {
    padding: 12px 30px;
    border: none;
    background-color: #4CAF50;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0; /* Tidak mengecil */
}

.login-btn:hover {
    background-color: #FEA405;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(254, 164, 5, 0.3);
}

/* === USER INFO & LOGOUT BUTTON === */
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #f8f9fa;
    padding: 8px 16px;
    border-radius: 50px;
    border: 2px solid #e0e0e0;
    white-space: nowrap;
    flex-shrink: 0; /* Tidak mengecil */
    transition: all 0.3s ease;
    box-sizing: border-box; /* Include padding & border dalam width */
    max-width: 100%; /* Prevent overflow */
}

.user-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.user-role {
    font-size: 0.8em;
    color: #666;
    background-color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.logout-btn {
    padding: 6px 18px;
    border: none;
    background-color: #FEA405;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85em;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.logout-btn:hover {
    background-color: #4CAF50;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.logout-btn i {
    font-size: 0.95em;
}

/* Text dalam logout button */
.logout-btn .logout-text {
    transition: all 0.3s ease;
}

/* Icon-only mode untuk user info - untuk layar kecil */
.user-info.compact .user-name,
.user-info.compact .user-role {
    display: none;
}

.user-info.compact {
    padding: 8px 12px;
    gap: 8px;
}

.user-info.compact .logout-btn {
    padding: 8px;
    border-radius: 50%;
    min-width: 36px;
    min-height: 36px;
    justify-content: center;
}

.user-info.compact .logout-btn .logout-text {
    display: none;
}

.user-info.compact .logout-btn i {
    margin: 0;
}
/* --- [END] PERUBAHAN DESAIN --- */

/* === NAVIGATION === */
.main-nav { 
    background-color: #ffffff; 
    border-bottom: 1px solid #e0e0e0; 
    display: flex; 
    justify-content: center;
    position: relative;
}
.menu-toggle { 
    display: none; 
    background: none; 
    border: none; 
    cursor: pointer; 
    padding: 10px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}
.main-nav ul { 
    margin: 0; 
    padding: 0; 
    list-style: none; 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.main-nav li a {
    display: block;
    padding: 15px 20px;
    margin: 10px 5px;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    border: none;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.main-nav li a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #4CAF50;
    transition: width 0.3s ease-in-out;
}
.main-nav li a:hover, .main-nav li a.active {
    color: #000;
}
.main-nav li a:hover::after, .main-nav li a.active::after {
    width: 70%;
}

/* === DROPDOWN MENU === */
.main-nav .dropdown { position: relative; }
.main-nav .dropdown-toggle { cursor: pointer; }
.main-nav .dropdown-menu {
    display: none !important; /* Force hide by default */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 10px 0;
    z-index: 1000;
    list-style: none;
    margin: 0;
}
.main-nav .dropdown-menu li { margin: 0; }
.main-nav .dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    margin: 0;
    color: #444;
    transition: background-color 0.2s, color 0.2s;
}
.main-nav .dropdown-menu li a::after { display: none; }
.main-nav .dropdown-menu li a:hover {
    background-color: #4CAF50;
    color: #fff;
}
.main-nav .dropdown.active .dropdown-menu { 
    display: block !important; /* Show when active */
}

/* === DROPDOWN MENU ENHANCEMENTS === */
.main-nav .dropdown-menu .divider {
    height: 1px;
    background: #e0e0e0;
    margin: 8px 0;
}

.main-nav .dropdown-menu .kalender-trigger {
    color: #4CAF50 !important;
    font-weight: 600 !important;
}

.main-nav .dropdown-menu .kalender-trigger i {
    margin-right: 8px;
    color: #FEA405;
}

.main-nav .dropdown-menu .kalender-trigger:hover {
    background-color: rgba(76, 175, 80, 0.1) !important;
}

/* === HERO SECTION (BERANDA) === */
.hero-section-reimagine { position: relative; width: 100%; min-height: 90vh; overflow: hidden; display: flex; align-items: center; padding-left: 5%; box-sizing: border-box; background-color: #ffffff; }
.hero-bg-shape { position: absolute; top: 0; right: 0; width: 60%; height: 100%; background: #FEA405; clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%); z-index: 1; }
.hero-center-brand { position: absolute; top: 8%; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; align-items: center; gap: 20px; }
.hero-center-brand img { height: 60px; }
.brand-text { font-size: 1.3rem; font-weight: 800; letter-spacing: 1px; margin: 0; color: #333; line-height: 1.4; text-align: center; }
/* Desktop: Gambar landing page digeser 3cm (113px) ke kanan */
.hero-kids-photo { position: absolute; bottom: 0; right: -150px; height: 95%; width: auto; object-fit: contain; z-index: 2; }
.hero-content-left { max-width: 500px; position: relative; z-index: 5; color: #333; }
.hero-pretitle { font-size: 1.1rem; font-weight: bold; color: #555; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 10px 0; }
.hero-title { font-size: 4.5rem; font-weight: 900; margin: 0; line-height: 1.1; }
.hero-title span { display: block; color: #FEA405; }
.hero-description { font-size: 1.1rem; line-height: 1.7; margin: 25px 0; text-align: justify; }

/* Hero CTA Group */
.hero-cta-group {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-cta { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FEA405;
    color: #fff;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    text-decoration: none;
}

.hero-cta:hover { 
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(254, 164, 5, 0.5);
}

.hero-cta-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    border: 2px solid transparent;
}

.hero-cta-whatsapp i {
    font-size: 1.4rem;
}

.hero-cta-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    background: #20BA5A;
    border-color: #1DA851;
}

.star-accent { position: absolute; width: 20px; height: 20px; background-color: #FEA405; transform: rotate(45deg); border-radius: 2px; opacity: 0.7; z-index: 3; }
.star-1 { top: 15%; left: 45%; }
.star-2 { bottom: 25%; left: 48%; width: 15px; height: 15px; }

/* === STATISTICS SECTION === */
.stats-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(76, 175, 80, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 250px;
    height: 250px;
    background: rgba(254, 164, 5, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stats-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #FEA405;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.3);
}

.stats-card:hover::before {
    transform: scaleX(1);
}

.stats-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: rgba(254, 164, 5, 0.05);
    border-radius: 50%;
    z-index: 0;
    transition: all 0.4s ease;
}

.stats-card:hover .stats-decoration {
    transform: scale(1.3);
    opacity: 0.5;
}

.stats-icon {
    width: 80px;
    height: 80px;
    background: #FEA405;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
    transition: all 0.4s ease;
}

.stats-card:hover .stats-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(76, 175, 80, 0.4);
}

.stats-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.stats-content {
    position: relative;
    z-index: 1;
}

.stats-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #333;
    margin: 0;
    line-height: 1;
    background: #444;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.stats-card:hover .stats-number {
    transform: scale(1.05);
}

.stats-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    margin: 15px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Loading animation */
.loading-dots {
    display: inline-block;
    animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Number count animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stats-number.animated {
    animation: countUp 0.6s ease-out;
}

/* === ACHIEVEMENTS SECTION === */
.achievements-section {
    padding: 80px 20px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.achievements-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background: #FEA405;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.section-title-main {
    font-size: 2.8rem;
    font-weight: 900;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.achievements-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.achievement-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #FEA405;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.3);
}

.achievement-card:hover::before {
    transform: scaleX(1);
}

.achievement-decoration {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(254, 164, 5, 0.05);
    border-radius: 50%;
    z-index: 0;
    transition: all 0.4s ease;
}

.achievement-card:hover .achievement-decoration {
    transform: scale(1.5);
    opacity: 0.3;
}

.achievement-image {
    width: 100%;
    height: 220px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.achievement-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.achievement-card:hover .achievement-img {
    transform: scale(1.05);
}

.achievement-content {
    position: relative;
    z-index: 1;
}

.achievement-year {
    display: inline-block;
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.achievement-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.achievement-subtitle {
    font-size: 1rem;
    color: #4CAF50;
    font-weight: 600;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.achievement-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.achievements-footer {
    text-align: center;
    padding-top: 20px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: #FEA405;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    letter-spacing: 0.5px;
}

.btn-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.4);
}

.btn-view-all i {
    transition: transform 0.3s ease;
}

.btn-view-all:hover i {
    transform: translateX(5px);
}

/* Berita Preview Loading State */
.berita-preview-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.berita-preview-loading i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #4CAF50;
    animation: spin 1s linear infinite;
}

.berita-preview-loading p {
    font-size: 1rem;
    color: #666;
}

/* Berita Preview Card Styles */
.berita-preview-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
}

.berita-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
}

.berita-preview-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.berita-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.berita-preview-card:hover .berita-preview-image img {
    transform: scale(1.1);
}

.berita-preview-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FEA405;
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.berita-preview-content {
    padding: 25px;
}

.berita-preview-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 12px;
}

.berita-preview-date i {
    color: #4CAF50;
}

.berita-preview-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.75rem;
}

.berita-preview-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-preview-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4CAF50;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.berita-preview-link:hover {
    gap: 12px;
    color: #FEA405;
}

.berita-preview-link i {
    transition: transform 0.3s ease;
}

.berita-preview-link:hover i {
    transform: translateX(3px);
}

.berita-preview-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(254, 164, 5, 0.05);
    border-radius: 100% 0 0 0;
    pointer-events: none;
}

/* Berita Preview Loading States */
.berita-preview-loading,
.berita-preview-empty,
.berita-preview-error {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    grid-column: 1 / -1;
}

.berita-preview-loading i,
.berita-preview-empty i,
.berita-preview-error i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.berita-preview-loading i {
    color: #4CAF50;
}

.berita-preview-empty i {
    color: #ddd;
}

.berita-preview-error i {
    color: #f44336;
}

.berita-preview-loading p,
.berita-preview-empty p,
.berita-preview-error p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* =========================================== */
/* === SEBARAN LOKASI CABANG SECTION === */
/* =========================================== */

.location-section {
    padding: 80px 40px;
    background: #e8f5e9;
}

.location-header {
    text-align: center;
    margin-bottom: 50px;
}

.location-map-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Custom Map Container */
.custom-map-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.15);
    background: white;
    padding: 20px;
    box-sizing: border-box;
}

.map-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Location Markers */
.location-markers {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    pointer-events: none;
    overflow: visible;
}

.map-marker {
    position: absolute;
    pointer-events: all;
    cursor: pointer;
    z-index: 10;
    transform: translate(-50%, -100%);
}

.marker-pin {
    width: 45px;
    height: 45px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: markerPulse 2s infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.marker-pin i {
    transform: rotate(45deg);
    font-size: 1.2rem;
    color: white;
}

/* Markaz (Pusat) Marker */
.marker-markaz .marker-pin {
    background: #4CAF50;
    border: 3px solid white;
}

/* Cabang Marker */
.marker-cabang .marker-pin {
    background: #FEA405;
    border: 3px solid white;
}

/* Marker Popup */
.marker-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-15px);
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
    white-space: nowrap;
}

.marker-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.map-marker:hover .marker-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-25px);
}

.marker-popup h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.marker-popup p {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.marker-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #FEA405;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    pointer-events: all;
}

.marker-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

/* Marker Pulse Animation */
@keyframes markerPulse {
    0%, 100% {
        transform: rotate(-45deg) scale(1);
    }
    50% {
        transform: rotate(-45deg) scale(1.1);
    }
}

/* Map Legend */
.map-legend {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 20;
    max-width: calc(100% - 60px);
    box-sizing: border-box;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 600;
}

.legend-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.legend-markaz {
    background: #4CAF50;
}

.legend-cabang {
    background: #FEA405;
}

/* Location Footer */
.location-footer-center {
    margin-top: 40px;
    text-align: center;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    background: #FEA405;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.btn-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(76, 175, 80, 0.5);
}

.btn-view-all i {
    font-size: 1.2rem;
}

/* ========== FOOTER SECTION ========== */
.main-footer {
    background: #34495e;
    color: white;
    padding: 50px 0 0;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: center;
}

/* Footer Logo Section */
.footer-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    width: 220px;
    height: 220px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Footer Contact Section */
.footer-contact-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    color: white;
    text-align: center;
    letter-spacing: 1.5px;
    padding-bottom: 20px;
    border-bottom: 3px solid #4CAF50;
}

.footer-contact-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.footer-contact-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #FEA405;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
}

.footer-contact-icon:hover::before {
    width: 100%;
    height: 100%;
}

.footer-contact-icon i {
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.footer-contact-icon:hover {
    border-color: #4CAF50;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.5);
}

.footer-contact-icon:hover i {
    transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* === GENERAL CONTENT PAGES (TENTANG KAMI, DLL) === */
.page-title { font-size: 2.5em; text-align: center; margin: 40px 0; color: #444; }
.content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.info-row-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; 
    max-width: 1200px;
    margin: 0 auto;
}
.card { background-color: #fff; border: 1px solid #e0e0e0; padding: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.card-title { font-size: 1.5em; margin-top: 0; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 15px; }
.card p { line-height: 1.6; }
.card .details { font-size: 0.9em; color: #666; }
.card .details strong { color: #333; }
.card-button { display: inline-block; margin-top: 15px; padding: 8px 16px; border: 2px solid #000; background-color: #fff; font-weight: bold; cursor: pointer; }

/* === MODAL LOGIN & CHAT BOT === */
/* ... (kode modal & chat bot kamu) ... */

/* =========================================== */
/* === RESPONSIVE STYLES === */
/* =========================================== */

/* Large screens dengan space terbatas - antara tablet dan desktop */
@media (max-width: 1200px) and (min-width: 1025px) {
    .header-right {
        gap: 12px;
        justify-content: flex-end; /* Align ke kanan */
    }
    
    .search-container {
        width: 240px;
        min-width: 200px;
    }
    
    .search-container:focus-within {
        width: 320px;
    }
    
    .user-info {
        gap: 10px;
        padding: 7px 14px;
    }
    
    .user-name {
        font-size: 0.85em;
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .user-role {
        font-size: 0.75em;
        padding: 3px 10px;
    }
    
    .logout-btn {
        padding: 6px 16px;
        font-size: 0.82em;
    }
}

/* Medium screens - untuk layar sedang (antara tablet besar dan desktop kecil) */
@media (max-width: 900px) and (min-width: 769px) {
    .top-header {
        padding: 10px 18px;
    }
    
    .header-right {
        gap: 10px;
        justify-content: flex-end; /* Align ke kanan */
    }
    
    .search-container {
        width: 200px;
        min-width: 180px;
    }
    
    .search-container:focus-within {
        width: 280px;
    }
    
    .user-info {
        gap: 8px;
        padding: 6px 12px;
    }
    
    .user-name {
        font-size: 0.85em;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .user-role {
        font-size: 0.75em;
        padding: 3px 10px;
    }
    
    .logout-btn {
        padding: 5px 14px;
        font-size: 0.8em;
        gap: 4px;
    }
}

/* Landscape Orientation - untuk semua devices dalam mode landscape */
@media (max-height: 600px) and (orientation: landscape) {
    .top-header {
        padding: 8px 20px;
        gap: 15px;
    }
    
    .logo-utama { height: 35px; }
    .logo-sekunder { height: 22px; }
    
    .header-right {
        gap: 8px;
        justify-content: flex-end; /* Align ke kanan */
    }
    
    .search-container {
        width: 200px;
        min-width: 180px;
    }
    
    .search-container:focus-within {
        width: 280px;
    }
    
    .search-input {
        padding: 8px 15px 8px 40px;
        font-size: 0.85em;
    }
    
    .search-icon {
        left: 15px;
        height: 16px;
        width: 16px;
    }
    
    .login-btn {
        padding: 8px 20px;
        font-size: 0.85em;
    }
    
    /* User info compact untuk landscape */
    .user-info {
        gap: 6px;
        padding: 6px 10px;
    }
    
    .user-name {
        font-size: 0.8em;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .user-role {
        font-size: 0.7em;
        padding: 2px 8px;
    }
    
    .logout-btn {
        padding: 6px 14px;
        font-size: 0.75em;
        gap: 4px;
    }
}

/* Landscape untuk tablet dan desktop kecil */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .search-container {
        width: 220px;
        min-width: 200px;
    }
    
    .search-container:focus-within {
        width: 320px;
    }
    
    .search-input {
        padding: 10px 18px 10px 45px;
        font-size: 0.9em;
    }
    
    /* User info untuk tablet landscape */
    .user-info {
        gap: 8px;
        padding: 6px 12px;
    }
    
    .user-name {
        font-size: 0.85em;
        max-width: 110px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .user-role {
        font-size: 0.75em;
        padding: 3px 10px;
    }
    
    .logout-btn {
        padding: 6px 14px;
        font-size: 0.8em;
    }
}

/* Landscape untuk mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .top-header {
        padding: 6px 15px;
    }
    
    .header-right {
        gap: 5px;
        justify-content: flex-end; /* Align ke kanan */
    }
    
    /* Search icon-only mode */
    .search-container {
        width: 44px;
        min-width: 44px;
        justify-content: center;
        
    }
    
    .search-icon {
        position: static;
        left: auto;
        height: 14px;
        width: 14px;
    }
    
    .search-input {
        width: 0;
        padding: 0;
        opacity: 0;
        font-size: 0.8em;
    }
    
    .search-container:focus-within,
    .search-container:hover {
        width: 220px;
        
    }
    
    .search-container:focus-within .search-input,
    .search-container:hover .search-input {
        width: 100%;
        padding: 7px 12px 7px 35px;
        opacity: 1;
    }
    
    .search-container:focus-within .search-icon,
    .search-container:hover .search-icon {
        position: absolute;
        left: 12px;
    }
    
    /* User info compact */
    .user-info {
        padding: 6px 10px;
        gap: 6px;
    }
    
    .user-name,
    .user-role {
        display: none;
    }
    
    .logout-btn {
        padding: 7px;
        border-radius: 50%;
        min-width: 34px;
        min-height: 34px;
        justify-content: center;
        font-size: 0.8em;
    }
    
    .logout-btn .logout-text {
        display: none;
    }
    
    .logout-btn i {
        margin: 0;
    }
}

/* Extra Small Landscape - untuk phone landscape yang sangat kecil */
@media (max-width: 480px) and (orientation: landscape) {
    .top-header {
        padding: 5px 10px;
        gap: 8px;
    }
    
    .logo-utama { height: 30px; }
    .logo-sekunder { height: 20px; }
    
    .header-right {
        gap: 5px;
        flex-shrink: 1;
        justify-content: flex-end; /* Align ke kanan */
    }
    
    /* Search container icon-only mode untuk landscape kecil */
    .search-container {
        width: 44px;
        min-width: 44px;
        justify-content: center;
        
    }
    
    .search-icon {
        position: static;
        left: auto;
        height: 14px;
        width: 14px;
    }
    
    .search-input {
        width: 0;
        padding: 0;
        opacity: 0;
        font-size: 0.75em;
    }
    
    .search-container:focus-within,
    .search-container:hover {
        width: 200px;
        
    }
    
    .search-container:focus-within .search-input,
    .search-container:hover .search-input {
        width: 100%;
        padding: 6px 10px 6px 35px;
        opacity: 1;
    }
    
    .search-container:focus-within .search-icon,
    .search-container:hover .search-icon {
        position: absolute;
        left: 10px;
    }
    
    /* User info compact mode */
    .user-info {
        padding: 6px 10px;
        gap: 6px;
    }
    
    .user-name,
    .user-role {
        display: none;
    }
    
    .logout-btn {
        padding: 6px;
        border-radius: 50%;
        min-width: 32px;
        min-height: 32px;
        justify-content: center;
        font-size: 0.75em;
    }
    
    .logout-btn .logout-text {
        display: none;
    }
    
    .logout-btn i {
        margin: 0;
    }
    
    .main-nav {
        padding: 4px 5px;
    }
    
    .main-nav li a {
        padding: 5px 6px;
        font-size: 0.6rem;
    }
}

@media (max-width: 1024px) { /* Tablet */
    .container { padding: 0 15px; }
    
    /* Header adjustments */
    .top-header { padding: 12px 20px; }
    .logo-container { gap: 10px; }
    .logo-utama { height: 45px; }
    .logo-sekunder { height: 28px; }
    
    /* Header right untuk tablet */
    .header-right {
        gap: 12px;
        justify-content: flex-end; /* Konsisten: align ke kanan */
        transition: all 0.4s ease; /* Smooth transition */
    }
    
    .search-container {
        flex: 1;
        min-width: 200px;
        max-width: 100%;
        transition: all 0.4s ease;
    }
    
    .search-input {
        width: 100%;
        padding: 12px 18px 12px 45px;
        font-size: 0.9em;
        transition: all 0.4s ease; /* Smooth transition */
    }
    
    .search-icon {
        left: 18px;
        transition: all 0.4s ease;
    }
    
    .login-btn {
        padding: 12px 28px;
        transition: all 0.4s ease;
    }
    
    /* User info untuk tablet */
    .user-info {
        gap: 10px;
        padding: 7px 14px;
    }
    
    .user-name {
        font-size: 0.85em;
    }
    
    .user-role {
        font-size: 0.75em;
        padding: 3px 10px;
    }
    
    .logout-btn {
        padding: 6px 16px;
        font-size: 0.8em;
    }
    
    /* Navigation - 2 baris untuk tablet */
    .main-nav ul {
        padding: 5px 10px;
    }
    .main-nav li a {
        padding: 12px 15px;
        margin: 5px 3px;
        font-size: 0.9rem;
    }
    
    /* Hero section */
    .hero-center-brand img { height: 55px; }
    .brand-text { font-size: 1.2rem; }
    .hero-title { font-size: 3.5rem; }
    .hero-description { font-size: 1rem; }
    
    .hero-cta-group {
        gap: 12px;
    }
    
    .hero-cta { 
        font-size: 1.1rem; 
        padding: 12px 30px; 
    }
    
    .hero-cta-whatsapp {
        font-size: 1rem;
        padding: 12px 25px;
    }
    
    .hero-cta-whatsapp i {
        font-size: 1.3rem;
    }
    
    /* Statistics section for tablet */
    .stats-section {
        padding: 60px 20px;
    }
    
    .stats-container {
        gap: 25px;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .stats-card {
        padding: 35px 25px;
    }
    
    .stats-icon {
        width: 70px;
        height: 70px;
    }
    
    .stats-icon i {
        font-size: 2.2rem;
    }
    
    .stats-number {
        font-size: 3rem;
    }
    
    .stats-label {
        font-size: 1rem;
    }
    
    /* Achievements section for tablet */
    .achievements-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .section-title-main {
        font-size: 2.3rem;
    }
    
    /* Berita Preview for tablet */
    .berita-preview-card {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .berita-preview-image {
        height: 200px;
    }
    
    /* Location section for tablet */
    .location-section {
        padding: 60px 30px;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .custom-map-container {
        padding: 18px;
        border-radius: 18px;
    }
    
    .location-markers {
        top: 18px;
        left: 18px;
        right: 18px;
        bottom: 18px;
    }
    
    .marker-pin {
        width: 40px;
        height: 40px;
    }
    
    .marker-pin i {
        font-size: 1.1rem;
    }
    
    .marker-popup {
        min-width: 220px;
        max-width: 240px;
        padding: 12px 16px;
    }
    
    .marker-popup h4 {
        font-size: 0.95rem;
    }
    
    .map-legend {
        bottom: 20px;
        right: 20px;
        left: auto;
        padding: 15px 18px;
        max-width: 180px;
    }
    
    .legend-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }
    
    .legend-item {
        font-size: 0.85rem;
    }
    
    /* Footer for tablet */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 30px 30px;
    }
    
    .footer-logo {
        width: 180px;
        height: 180px;
    }
    
    .footer-contact-section {
        padding: 35px 25px;
    }
    
    .footer-title {
        font-size: 1.2rem;
    }
    
    .footer-contact-icon {
        width: 55px;
        height: 55px;
    }
    
    .footer-contact-icon i {
        font-size: 1.6rem;
    }
    
    /* Content grid */
    .content-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
    .info-row-grid { 
        grid-template-columns: 1fr; 
        gap: 20px; 
    }
    .page-title { font-size: 2.2em; }
    
    /* Profile section */
    .profile-section { padding: 25px; gap: 25px; }
    .profile-text h2 { font-size: 1.8rem; }
    .profile-text p { font-size: 1rem; }
    
    /* Vision & Mission */
    .vision-mission-section { 
        padding: 40px 30px; 
    }
    
    .vm-grid { 
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 100%;
    }
    
    .vm-box { 
        padding: 30px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .vm-box h3 { 
        font-size: 1.6rem;
        flex-wrap: wrap;
    }
    
    .vm-box h3 i {
        font-size: 1.8rem;
        padding: 12px;
        flex-shrink: 0;
    }
    
    .vm-box p, .vm-box ul { 
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .vm-box ul {
        padding-right: 0;
    }
    
    .vm-box ul li {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Branch cards */
    .card-image { height: 180px; }
    .branch-hero-image { height: 300px; }
}

/* =========================================== */
/* RESPONSIVE: TABLET MEDIUM (769px - 991px) */
/* =========================================== */
@media (max-width: 991px) and (min-width: 769px) {
    .vision-mission-section {
        padding: 50px 35px;
    }
    
    .vm-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .vm-box {
        padding: 35px 30px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .vm-box h3 {
        font-size: 1.85rem;
        flex-wrap: wrap;
    }
    
    .vm-box h3 i {
        font-size: 1.9rem;
        padding: 13px;
        flex-shrink: 0;
    }
    
    .vm-box p, .vm-box ul {
        font-size: 1.05rem;
        line-height: 1.75;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Small tablets dan large phones - portrait */
@media (max-width: 768px) and (min-width: 601px) {
    .top-header {
        padding: 12px 15px;
        gap: 10px;
    }
    
    .header-right {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .search-container {
        width: 200px;
        min-width: 180px;
        
    }
    
    .search-container:focus-within {
        width: 280px;
        
    }
    
    .user-info {
        gap: 8px;
        padding: 6px 12px;
    }
    
    .user-name {
        font-size: 0.8em;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .user-role {
        font-size: 0.7em;
        padding: 3px 8px;
    }
    
    .logout-btn {
        padding: 5px 12px;
        font-size: 0.75em;
    }
}

@media (max-width: 768px) { /* Mobile */
    .container { padding: 0 15px; }
    
    /* Header responsive */
    .top-header { 
        flex-direction: column; 
        gap: 12px; 
        padding: 15px; 
        overflow: hidden; /* Prevent overflow */
    }
    
    .logo-container { 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 8px; 
    }
    
    .logo-utama { height: 40px; }
    .logo-sekunder { height: 25px; }
    
    /* Header-right responsive */
    .header-right {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        min-width: 0; /* Allow shrinking */
        align-items: stretch; /* Full width children */
    }
    
    .search-container {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        box-sizing: border-box; /* Include padding in width */
        margin-left: 0 !important; /* Force no margin */
    }
    
    .search-container:focus-within {
        width: 100%;
        margin-left: 0 !important; /* Force no margin saat focus */
    }
    
    .search-input {
        font-size: 0.9em;
        box-sizing: border-box; /* Include padding in width */
    }
    
    /* User info responsive - tetap tampilkan semua di mobile portrait */
    .user-info {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        box-sizing: border-box; /* Include padding in width */
        gap: 8px;
    }
    
    .user-name {
        font-size: 0.85em;
    }
    
    .user-role {
        font-size: 0.75em;
        padding: 3px 10px;
    }
    
    .logout-btn {
        font-size: 0.8em;
        padding: 6px 16px;
    }
    
    .login-btn {
        width: 100%;
    }
    
    /* Navigation responsive - 2 BARIS TANPA HAMBURGER */
    .main-nav { 
        justify-content: center; 
        padding: 8px 5px;
    }
    .menu-toggle { 
        display: none !important; /* Sembunyikan hamburger menu */
    }
    .main-nav ul { 
        display: flex !important; /* Selalu tampilkan menu */
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-height: none !important; /* Hapus batasan height */
        overflow: visible !important;
        position: static;
        background-color: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    .main-nav li { 
        width: auto;
        flex: 0 0 auto;
    }
    .main-nav li a { 
        padding: 8px 10px;
        margin: 3px 2px;
        font-size: 0.75rem;
        text-align: center;
        border: none;
        width: auto;
    }
    
    /* Dropdown in mobile - tetap inline */
    .main-nav .dropdown { 
        position: relative;
    }
    .main-nav .dropdown-menu {
        display: none !important; /* Force hide by default */
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        min-width: 180px;
        background-color: #ffffff;
        border: 1px solid #e0e0e0;
        border-radius: 5px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        padding: 5px 0;
        z-index: 1000;
        margin-top: 5px;
    }
    .main-nav .dropdown.active .dropdown-menu {
        display: block !important; /* Show when active */
    }
    .main-nav .dropdown-menu li {
        width: 100%;
    }
    .main-nav .dropdown-menu li a {
        padding: 10px 15px;
        margin: 0;
        font-size: 0.8rem;
        text-align: left;
        border-bottom: 1px solid #f0f0f0;
    }
    .main-nav .dropdown-menu li:last-child a {
        border-bottom: none;
    }
    .main-nav .dropdown-menu li a:hover {
        background-color: #4CAF50;
        color: #fff;
    }
    
    /* Achievements section for mobile */
    .achievements-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .achievement-card {
        padding: 25px 15px;
    }
    
    .achievement-image {
        height: 180px;
        border-radius: 12px;
    }
    
    .section-title-main {
        font-size: 1.8rem;
    }
    
    .btn-view-all {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    /* Berita Preview for mobile */
    .berita-preview-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .berita-preview-card {
        max-width: 100%;
    }
    
    .berita-preview-image {
        height: 200px;
    }
    
    .berita-preview-content {
        padding: 20px;
    }
    
    .berita-preview-title {
        font-size: 1.1rem;
        min-height: auto;
    }
    
    .berita-preview-excerpt {
        font-size: 0.9rem;
    }
    
    /* Location section for mobile */
    .location-section {
        padding: 40px 15px;
    }
    
    .location-map-wrapper {
        padding: 0 10px;
    }
    
    .custom-map-container {
        padding: 15px;
        border-radius: 15px;
    }
    
    .map-image {
        border-radius: 8px;
    }
    
    .location-markers {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
    }
    
    .marker-pin {
        width: 35px;
        height: 35px;
    }
    
    .marker-pin i {
        font-size: 1rem;
    }
    
    .marker-popup {
        min-width: 180px;
        max-width: 220px;
        padding: 12px 16px;
    }
    
    .marker-popup h4 {
        font-size: 0.9rem;
    }
    
    .marker-popup p {
        font-size: 0.75rem;
    }
    
    .marker-link {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .map-legend {
        bottom: 15px;
        right: 15px;
        left: 15px;
        padding: 12px 15px;
        gap: 10px;
        flex-direction: row;
        justify-content: center;
        max-width: none;
    }
    
    .legend-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
    
    .legend-item {
        font-size: 0.75rem;
        gap: 8px;
    }
    
    .btn-view-all {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    /* Footer for mobile */
    .main-footer {
        padding: 40px 0 0;
        margin-top: 50px;
    }
    
    .footer-container {
        padding: 0 20px 25px;
        gap: 35px;
    }
    
    .footer-logo {
        width: 150px;
        height: 150px;
    }
    
    .footer-contact-section {
        padding: 30px 20px;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    .footer-contact-list {
        gap: 15px;
    }
    
    .footer-contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .footer-contact-icon i {
        font-size: 1.5rem;
    }

    /* Hero section responsive */
    .hero-section-reimagine { 
        flex-direction: column; 
        text-align: center; 
        padding: 60px 20px 40px; 
        min-height: auto; 
        justify-content: flex-start; 
    }
    
    /* Background shape tetap ada di mobile, tapi disesuaikan */
    .hero-bg-shape { 
        width: 100%; 
        height: 50%; 
        clip-path: none; /* Hilangkan clip-path di mobile */
        border-radius: 0 0 50% 50%; /* Bentuk melengkung di bawah */
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }
    
    .star-accent { display: none; }
    
    .hero-center-brand {
        position: static;
        transform: none;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 0px;
        order: -1; /* Brand di paling atas */
    }
    .hero-center-brand img { 
        height: 45px;
    }
    
    /* Background putih bulat untuk logo RQ di mobile */
    .hero-center-brand img[src*="rq.png"] {
        background-color: #ffffff;
        border-radius: 50%;
        padding: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .brand-text {
        font-size: 1rem;
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
        color: #333;
        text-align: center;
        line-height: 1.3;
    }
    
    /* Teks "Asy Syafi'i" jadi hitam di mobile */
    .brand-text span {
        color: #000;
    }
    
    /* Mobile: Gambar kids naik ke tengah - order 1 */
    .hero-kids-photo { 
        position: relative !important; 
        order: 1; /* Gambar di tengah */
        height: auto !important; 
        width: 100% !important; 
        left: -400px;
        max-width: 1200px !important; 
        min-width: 800px !important; 
        margin: 0 auto;
        z-index: 1;
    }
    
    /* Konten teks turun ke bawah - order 2 */
    .hero-content-left { 
        max-width: 100%; 
        order: 2; /* Konten di bawah gambar */
        padding: 0;
        position: relative;
        z-index: 10; /* Teks di atas */
        margin-top: -120px; /* Overlap dengan gambar, teks timbul di atas */
        background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.9) 25%, #ffffff 60%);
        padding-top: 150px;
    }
    .hero-pretitle { font-size: 0.95rem; }
    .hero-title { font-size: 2.5rem; line-height: 1.2; }
    .hero-title span {
        color: #000; /* Hitam di mobile */
    }
    .hero-description { 
        text-align: center; 
        font-size: 0.95rem; 
        margin: 20px 0; 
    }
    
    .hero-cta-group {
        gap: 10px;
        justify-content: center;
    }
    
    .hero-cta { 
        font-size: 1rem; 
        padding: 12px 28px; 
    }
    
    .hero-cta-whatsapp {
        font-size: 0.95rem;
        padding: 12px 24px;
    }
    
    .hero-cta-whatsapp i {
        font-size: 1.2rem;
    }
    
    /* Statistics section for mobile */
    .stats-section {
        padding: 50px 15px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .stats-card {
        padding: 30px 20px;
    }
    
    .stats-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 20px;
    }
    
    .stats-icon i {
        font-size: 2rem;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
    
    .stats-label {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }
    
    /* Content pages responsive */
    .page-title { font-size: 1.8em; margin: 30px 0 25px; }
    .content-grid { 
        grid-template-columns: 1fr; 
        gap: 15px; 
    }
    .info-row-grid { 
        grid-template-columns: 1fr; 
        gap: 15px; 
    }
    .card { padding: 15px; }
    .card-title { font-size: 1.3em; }
    
    /* Profile section responsive */
    .profile-section { 
        flex-direction: column; 
        padding: 20px; 
        gap: 20px; 
    }
    .profile-image { min-width: 100%; }
    .profile-text { min-width: 100%; }
    .profile-text h2 { font-size: 1.6rem; }
    .profile-text p { font-size: 0.95rem; }
    
    /* Vision & Mission responsive */
    .vision-mission-section { 
        padding: 40px 25px; 
    }
    
    .vision-mission-section::before,
    .vision-mission-section::after {
        width: 350px;
        height: 350px;
    }
    
    .vm-grid { 
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 100%;
    }
    
    .vm-box { 
        padding: 30px 25px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .vm-box h3 { 
        font-size: 1.65rem;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .vm-box h3 i {
        font-size: 1.7rem;
        padding: 12px;
        flex-shrink: 0;
    }
    
    .vm-box h3::after {
        width: 50px;
        height: 3px;
    }
    
    .vm-box p, .vm-box ul { 
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .vm-box ul {
        padding-right: 0;
    }
    
    .vm-box ul li {
        margin-bottom: 12px;
        padding-left: 32px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .vm-box ul li::before {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
        flex-shrink: 0;
    }
    
    .section-title { font-size: 1.8rem; margin-bottom: 25px; }
    
    /* Branch pages responsive */
    .card-image { height: 160px; }
    .branch-hero-image { height: 250px; }
    .branch-detail-header h1 { font-size: 1.8rem; }
    .branch-address { font-size: 1rem; }
    
    .branch-content { flex-direction: column; gap: 20px; }
    .branch-info, .branch-map { 
        min-width: 100%; 
        flex: 1; 
    }
    .map-container { padding-bottom: 75%; }
}

@media (max-width: 480px) { /* Extra Small Mobile */
    .container { padding: 0 10px; }
    
    /* Header extra small */
    .top-header { padding: 12px 10px; gap: 10px; }
    .logo-utama { height: 35px; }
    .logo-sekunder { height: 22px; }
    
    /* Fix header-right untuk extra small - lebih kecil tapi tetap tampil */
    .header-right {
        border-radius: 20px;
        width: 100%;
        max-width: 100%;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .search-container {
        width: 100%; /* Full width di XS untuk stabilitas */
        min-width: 100%;
        max-width: 100%;
        transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .search-container:focus-within {
        width: 100%;
    }
    
    .search-icon {
        left: 12px;
        height: 14px;
        width: 14px;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .search-input {
        padding: 8px 10px 8px 35px;
        font-size: 0.8em;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* User info untuk extra small - compact dengan icon */
    .user-info {
        padding: 6px 10px;
        gap: 6px;
    }
    
    .user-name {
        font-size: 0.8em;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .user-role {
        font-size: 0.7em;
        padding: 3px 8px;
    }
    
    .logout-btn {
        padding: 6px 14px;
        font-size: 0.75em;
        gap: 4px;
    }
    
    .logout-btn i {
        font-size: 0.9em;
    }
    
    /* Navigation extra small - Tetap 2 baris dengan font lebih kecil */
    .main-nav { 
        padding: 5px 2px;
    }
    .main-nav ul {
        padding: 0;
    }
    .main-nav li a { 
        padding: 6px 8px;
        margin: 2px 1px;
        font-size: 0.65rem;
    }
    .main-nav .dropdown-menu {
        min-width: 150px;
        font-size: 0.75rem;
    }
    .main-nav .dropdown-menu li a {
        padding: 8px 12px;
        font-size: 0.7rem;
    }
    
    /* Hero extra small */
    .hero-section-reimagine { padding: 40px 15px 30px; }
    .hero-bg-shape { 
        height: 45%; /* Lebih kecil di layar sangat kecil */
    }
    .hero-center-brand img { height: 38px; }
    
    /* Logo RQ background putih lebih kecil */
    .hero-center-brand img[src*="rq.png"] {
        padding: 8px;
    }
    .brand-text { font-size: 0.85rem; line-height: 1.3; }
    .hero-pretitle { font-size: 0.85rem; }
    .hero-title { font-size: 2rem; }
    .hero-description { font-size: 0.9rem; }
    
    .hero-cta-group {
        gap: 8px;
    }
    
    .hero-cta { 
        font-size: 0.9rem; 
        padding: 10px 20px; 
    }
    
    .hero-cta-whatsapp {
        font-size: 0.85rem;
        padding: 10px 18px;
        gap: 8px;
    }
    
    .hero-cta-whatsapp i {
        font-size: 1.1rem;
    }
    
    .hero-cta-whatsapp span {
        display: none;
    }
    
    
    /* Content extra small */
    .page-title { font-size: 1.5em; margin: 25px 0 20px; }
    .card { padding: 12px; }
    .card-title { font-size: 1.2em; }
    
    /* Profile extra small */
    .profile-section { padding: 15px; }
    .profile-text h2 { font-size: 1.4rem; }
    .profile-text p { font-size: 0.9rem; }
    
    /* Vision & Mission extra small */
    .vision-mission-section { 
        padding: 30px 15px;
    }
    
    .vision-mission-section::before {
        width: 300px;
        height: 300px;
        top: -40%;
        right: -15%;
    }
    
    .vision-mission-section::after {
        width: 250px;
        height: 250px;
        bottom: -25%;
        left: -15%;
    }
    
    .vm-grid {
        gap: 20px;
        max-width: 100%;
    }
    
    .vm-box { 
        padding: 25px 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .vm-box h3 { 
        font-size: 1.4rem;
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: nowrap;
    }
    
    .vm-box h3 i {
        font-size: 1.5rem;
        padding: 10px;
        flex-shrink: 0;
    }
    
    .vm-box h3::after {
        width: 45px;
        height: 3px;
    }
    
    .vm-box p, .vm-box ul { 
        font-size: 0.92rem;
        line-height: 1.7;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .vm-box ul {
        padding-right: 0;
        padding-left: 0;
    }
    
    .vm-box ul li {
        margin-bottom: 11px;
        padding-left: 30px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .vm-box ul li::before {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
        flex-shrink: 0;
    }
    
    .vm-box ul li:hover {
        padding-left: 33px;
    }
    .section-title { font-size: 1.5rem; }
    
    /* Branch extra small */
    .card-image { height: 140px; }
    .branch-hero-image { height: 200px; }
    .branch-detail-header h1 { font-size: 1.5rem; }
    .branch-address { font-size: 0.9rem; }
    
    /* Berita Preview extra small */
    .berita-preview-image {
        height: 180px;
    }
    
    .berita-preview-content {
        padding: 15px;
    }
    
    .berita-preview-badge {
        top: 10px;
        left: 10px;
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    
    .berita-preview-title {
        font-size: 1rem;
    }
    
    .berita-preview-excerpt {
        font-size: 0.85rem;
    }
    
    .berita-preview-link {
        font-size: 0.85rem;
    }
    
    /* Location section extra small */
    .location-section {
        padding: 30px 10px;
    }
    
    .location-header {
        margin-bottom: 30px;
    }
    
    .location-map-wrapper {
        padding: 0 5px;
    }
    
    .custom-map-container {
        padding: 10px;
        border-radius: 12px;
    }
    
    .map-image {
        border-radius: 6px;
    }
    
    .location-markers {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .marker-pin {
        width: 30px;
        height: 30px;
    }
    
    .marker-pin i {
        font-size: 0.85rem;
    }
    
    .marker-popup {
        min-width: 160px;
        max-width: 200px;
        padding: 10px 12px;
    }
    
    .marker-popup h4 {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .marker-popup p {
        font-size: 0.7rem;
        margin-bottom: 8px;
    }
    
    .marker-link {
        padding: 5px 10px;
        font-size: 0.75rem;
        gap: 6px;
    }
    
    .map-legend {
        bottom: 10px;
        right: 10px;
        left: 10px;
        padding: 10px 12px;
        gap: 8px;
    }
    
    .legend-icon {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .legend-item {
        font-size: 0.7rem;
        gap: 6px;
    }

    /* Target Section - Extra Small */
    .target-section {
        padding: 25px 15px;
    }

    .target-grid {
        gap: 15px;
        margin-top: 25px;
    }

    .target-year {
        padding: 15px;
    }

    .target-year i {
        font-size: 1.8rem;
    }

    .target-year h3 {
        font-size: 1.3rem;
    }

    .target-content {
        padding: 15px;
    }

    .target-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .target-funding {
        padding: 12px;
    }

    .funding-item {
        margin-bottom: 12px;
    }

    .funding-item i {
        font-size: 1rem;
        width: 20px;
    }

    .funding-label {
        font-size: 0.9rem;
    }

    .funding-amount {
        font-size: 0.9rem;
    }

    .funding-status {
        font-size: 0.9rem;
    }

    /* Legal Info - Extra Small */
    .legal-info-section {
        padding: 20px 15px;
    }

    .legal-box h2 {
        font-size: 1.1rem;
    }

    .legal-details {
        padding: 15px;
    }

    .legal-details p {
        font-size: 0.9rem;
    }

    /* Institutions - Extra Small */
    .institutions-section {
        padding: 25px 10px;
    }

    .institutions-section .section-title {
        font-size: 1.5rem;
    }

    .institutions-section .section-subtitle {
        font-size: 0.9rem;
    }

    .institution-header {
        padding: 15px;
    }

    .institution-logo {
        width: 60px;
        height: 60px;
    }

    .institution-header h3 {
        font-size: 1.1rem;
    }

    .institution-content {
        padding: 15px;
    }

    .institution-detail {
        padding: 12px;
        margin-bottom: 15px;
    }

    .institution-detail h4 {
        font-size: 1.05rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .institution-detail p,
    .institution-detail ul li,
    .institution-detail ol li {
        font-size: 0.9rem;
    }

    .institution-contact {
        padding: 15px;
    }

    .institution-contact h4 {
        font-size: 1.05rem;
    }

    .btn-register {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .social-links li {
        font-size: 0.85rem;
        flex-wrap: wrap;
    }

    .institution-address {
        font-size: 0.85rem;
        padding: 12px;
    }

    .notice-text {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    
    .map-legend {
        bottom: 10px;
        right: 10px;
        padding: 10px;
        gap: 8px;
    }
    
    .legend-icon {
        width: 25px;
        height: 25px;
        font-size: 0.75rem;
    }
    
    .legend-item {
        font-size: 0.75rem;
        gap: 8px;
    }
    
    .btn-view-all {
        padding: 10px 25px;
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .btn-view-all i {
        font-size: 1rem;
    }
    
    /* Footer for extra small */
    .main-footer {
        padding: 30px 0 0;
        margin-top: 40px;
    }
    
    .footer-container {
        padding: 0 15px 20px;
        gap: 30px;
    }
    
    .footer-logo {
        width: 120px;
        height: 120px;
        border-radius: 15px;
    }
    
    .footer-contact-section {
        padding: 25px 15px;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .footer-contact-list {
        gap: 12px;
    }
    
    .footer-contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .footer-contact-icon i {
        font-size: 1.3rem;
    }
    
    .footer-bottom {
        padding: 15px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .location-badge {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
    
    .location-link {
        width: 32px;
        height: 32px;
    }
    
    .btn-view-all-locations {
        padding: 10px 25px;
        font-size: 0.85rem;
    }
}

/* =========================================== */
/* === STYLES UNTUK "TENTANG KAMI" PAGE === */
/* =========================================== */

/* ========== TENTANG KAMI - MODERN STYLING ========== */
.about-hero {
    text-align: center;
    margin-bottom: 50px;
    padding: 60px 20px;
    background: #FEA405;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-hero .page-title {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    padding-bottom: 20px;
}

.about-hero .page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #FEA405;
    border-radius: 2px;
}

.page-subtitle {
    position: relative;
    z-index: 1;
    font-size: 1.3rem;
    color: #fff;
    margin-top: 0;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.profile-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    background: #fff;
    padding: 40px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.profile-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    background: #FEA405;
    border-radius: 12px;
    z-index: -1;
    opacity: 0.3;
}

.profile-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.02);
}

.profile-text {
    flex: 2;
    min-width: 300px;
}

.profile-text h2 {
    font-size: 2.2rem;
    margin-top: 0;
    color: #333;
    font-weight: 800;
    background: #FEA405;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.profile-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    color: #555;
    margin-bottom: 15px;
}

.profile-text h3 {
    font-size: 1.8rem;
    color: #4CAF50;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 5px solid #FEA405;
}

.profile-text ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.profile-text ul li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
}

.profile-text ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #FEA405;
    font-size: 1.1rem;
}

.profile-text strong {
    color: #4CAF50;
    font-weight: 700;
}

/* Target Section */
.target-section {
    background: #e8f5e9;
    padding: 50px 40px;
    margin-bottom: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.target-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.target-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.2);
    border-color: #FEA405;
}

.target-year {
    background: #FEA405;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.target-year::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(219, 228, 201, 0.2) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.target-year i {
    font-size: 2.5rem;
    color: #FFFF00;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.target-year h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    position: relative;
    z-index: 1;
}

.target-content {
    padding: 30px;
}

.target-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.target-funding {
    background: rgba(254, 164, 5, 0.05);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #FEA405;
}

.funding-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.funding-item:last-child {
    margin-bottom: 0;
}

.funding-item i {
    color: #FEA405;
    font-size: 1.2rem;
    width: 25px;
}

.funding-label {
    color: #666;
    font-size: 1rem;
    font-weight: 600;
    min-width: 120px;
}

.funding-amount {
    color: #4CAF50;
    font-size: 1.1rem;
    font-weight: 800;
    margin-left: auto;
}

.funding-amount.success {
    color: #4CAF50;
}

.funding-amount.warning {
    color: #ff6b6b;
}

.funding-status {
    color: #4CAF50;
    font-size: 1.05rem;
    font-weight: 700;
    background: #FEA405;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: auto;
}

/* Bagian Visi & Misi */
.vision-mission-section {
    background: #e8f5e9;
    padding: 60px 40px;
    margin-bottom: 50px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.vision-mission-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(76, 175, 80, 0.05);
    border-radius: 50%;
}

.vision-mission-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(254, 164, 5, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
}

.vm-box {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(76, 175, 80, 0.2);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.vm-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: #FEA405;
}

.vm-box::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(219, 228, 201, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.4s ease;
}

.vm-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.25);
    border-color: rgba(76, 175, 80, 0.3);
}

.vm-box:hover::after {
    right: -30px;
    opacity: 0.8;
}

.vm-box h3 {
    font-size: 2rem;
    color: #4CAF50;
    padding-bottom: 20px;
    margin-bottom: 25px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.vm-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #FEA405;
    border-radius: 2px;
}

.vm-box h3 i {
    font-size: 2.2rem;
    color: #FEA405;
    background: rgba(254, 164, 5, 0.05);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vm-box p, .vm-box ul {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    position: relative;
    z-index: 1;
}

.vm-box p {
    margin-bottom: 0;
}

.vm-box ul {
    padding-left: 0;
    list-style: none;
}

.vm-box ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
    transition: all 0.3s ease;
}

.vm-box ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #fff;
    background: #FEA405;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: 0 3px 10px rgba(219, 228, 201, 0.3);
}

.vm-box ul li:hover {
    padding-left: 40px;
    color: #4CAF50;
}

/* Legal Info Section */
.legal-info-section {
    background: #FEA405;
    padding: 40px;
    margin-bottom: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.legal-info-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.legal-box {
    position: relative;
    z-index: 1;
}

.legal-box h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-box h2 i {
    color: #FFFF00;
    margin-right: 10px;
}

.legal-details {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.legal-details p {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 12px 0;
    line-height: 1.8;
}

.legal-details p strong {
    color: #FFFF00;
    font-weight: 700;
}

.legal-details i {
    color: #FEA405;
    margin-right: 8px;
    width: 20px;
}

/* Institutions Section */
.institutions-section {
    padding: 50px 20px;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    margin-bottom: 50px;
    border-radius: 16px;
}

.institutions-section .section-title {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 15px;
}

.institutions-section .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    font-style: italic;
}

/* Institution Card */
.institution-card {
    background: #ffffff;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.institution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(219, 228, 201, 0.2);
    border-color: #FEA405;
}

.institution-header {
    background: #FEA405;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.institution-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(219, 228, 201, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.institution-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 15px;
    position: relative;
    z-index: 1;
}

.institution-header h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.institution-content {
    padding: 40px;
}

.institution-detail {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(254, 164, 5, 0.05);
    border-radius: 12px;
    border-left: 4px solid #FEA405;
}

.institution-detail h4 {
    color: #4CAF50;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.institution-detail h4 i {
    color: #FEA405;
    font-size: 1.2rem;
}

.institution-detail p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 10px 0;
}

.institution-detail ul,
.institution-detail ol {
    padding-left: 25px;
    color: #555;
}

.institution-detail ul li,
.institution-detail ol li {
    margin-bottom: 10px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.institution-detail ul li::marker {
    color: #FEA405;
    font-weight: bold;
}

.institution-detail ol li::marker {
    color: #FEA405;
    font-weight: bold;
}

/* Institution Contact */
.institution-contact {
    background: #f1f3f5;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.institution-contact h4 {
    color: #4CAF50;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.institution-contact h4:first-child {
    margin-top: 0;
}

.institution-contact h4 i {
    color: #FEA405;
}

.btn-register {
    display: inline-block;
    background: #FEA405;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    margin-bottom: 15px;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 164, 5, 0.4);
    background: #FEA405;
}

.btn-register i {
    margin-right: 8px;
}

.social-links {
    list-style: none;
    padding-left: 0;
}

.social-links li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links li i {
    color: #FEA405;
    width: 25px;
    font-size: 1.2rem;
}

.social-links li a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-links li a:hover {
    color: #FEA405;
}

.institution-address {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #FEA405;
    margin-top: 20px;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
}

.institution-address i {
    color: #FEA405;
    margin-right: 10px;
}

.notice-text {
    background: #fff3cd;
    border: 2px solid #FEA405;
    padding: 12px 20px;
    border-radius: 8px;
    color: #856404;
    font-weight: 600;
    display: inline-block;
    font-size: 1.05rem;
}

.notice-text i {
    margin-right: 8px;
    color: #FEA405;
}

/* Judul untuk bagian dokumentasi */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #FEA405;
    border-radius: 2px;
}

/* Enhanced card styling for documentation section */
.documentation-section .card {
    background: #fff;
    border: none;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.documentation-section .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #FEA405;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.documentation-section .card:hover::before {
    transform: scaleX(1);
}

.documentation-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.2);
}

.documentation-section .card-title {
    font-size: 1.6em;
    margin-top: 0;
    border-bottom: 2px solid #f5f5f5;
    padding-bottom: 12px;
    margin-bottom: 18px;
    color: #333;
    font-weight: 700;
}

.documentation-section .card p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

/* Video and Map Embed Wrappers */
.video-embed-wrapper,
.map-embed-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-top: 15px;
}

.video-embed-wrapper iframe,
.map-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.video-embed-card,
.map-embed-card {
    display: flex;
    flex-direction: column;
}

.video-embed-card .card-title,
.map-embed-card .card-title {
    margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-hero {
        padding: 40px 15px;
    }
    
    .about-hero .page-title {
        font-size: 2.2rem;
    }
    
    .about-hero .page-title::after {
        width: 80px;
        height: 3px;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .profile-section {
        padding: 25px;
        gap: 25px;
    }
    
    .profile-text h2 {
        font-size: 1.8rem;
    }
    
    .vision-mission-section {
        padding: 30px 20px;
    }
    
    .vm-box {
        min-width: 100%;
        padding: 25px;
    }
    
    .section-title {
        font-size: 2rem;
    }

    /* Target Section - Mobile */
    .target-section {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .target-grid {
        gap: 20px;
        margin-top: 30px;
    }

    .target-card {
        margin-bottom: 20px;
    }

    .target-year {
        padding: 20px;
    }

    .target-year i {
        font-size: 2rem;
    }

    .target-year h3 {
        font-size: 1.5rem;
    }

    .target-content {
        padding: 20px;
    }

    .target-content p {
        font-size: 1rem;
    }

    .target-funding {
        padding: 15px;
    }

    .funding-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .funding-label {
        min-width: auto;
    }

    .funding-amount {
        margin-left: 0;
        font-size: 1rem;
    }

    .funding-status {
        margin-left: 0;
        font-size: 1rem;
    }

    /* Legal Info Section - Mobile */
    .legal-info-section {
        padding: 25px 20px;
        margin-bottom: 30px;
    }

    .legal-box h2 {
        font-size: 1.3rem;
    }

    .legal-details {
        padding: 20px;
    }

    .legal-details p {
        font-size: 1rem;
    }

    /* Institutions Section - Mobile */
    .institutions-section {
        padding: 30px 15px;
    }

    .institutions-section .section-title {
        font-size: 1.8rem;
    }

    .institutions-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .institution-card {
        margin-bottom: 30px;
    }

    .institution-header {
        padding: 20px;
    }

    .institution-logo {
        width: 70px;
        height: 70px;
        padding: 10px;
    }

    .institution-header h3 {
        font-size: 1.4rem;
    }

    .institution-content {
        padding: 20px;
    }

    .institution-detail {
        padding: 15px;
        margin-bottom: 20px;
    }

    .institution-detail h4 {
        font-size: 1.2rem;
    }

    .institution-detail p,
    .institution-detail ul li,
    .institution-detail ol li {
        font-size: 1rem;
    }

    .institution-contact {
        padding: 20px;
    }

    .institution-contact h4 {
        font-size: 1.15rem;
    }

    .btn-register {
        padding: 10px 20px;
        font-size: 1rem;
        display: block;
        text-align: center;
    }

    .social-links li {
        font-size: 0.95rem;
    }

    .institution-address {
        font-size: 0.95rem;
    }

    .notice-text {
        font-size: 0.95rem;
        padding: 10px 15px;
    }
}

/* =========================================== */
/* === STYLES UNTUK "CABANG RQ" PAGE === */
/* =========================================== */

/* Membuat kartu baru yang fokus pada gambar dengan desain modern */
.branch-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #FEA405;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 10;
}

.branch-card:hover::before {
    transform: scaleX(1);
}

.branch-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(219, 228, 201, 0.25);
}

.card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.branch-card:hover .card-image::after {
    opacity: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.branch-card:hover .card-image img {
    transform: scale(1.15) rotate(2deg);
}

.card-content {
    padding: 25px;
    background: #fff;
    position: relative;
}

.card-content .card-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #333;
    background: #444;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.branch-card:hover .card-content .card-title {
    background: #FEA405;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.branch-location {
    font-size: 1rem;
    color: #888;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.branch-location::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #FEA405;
    font-size: 1.1rem;
}

.card-button {
    display: inline-block;
    padding: 12px 28px;
    background: #FEA405;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    text-decoration: none;
}

.card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(254, 164, 5, 0.5);
    background: #FEA405;
}

/* --- UPLOAD CARD STYLES (untuk Admin) --- */
.upload-card {
    background: #e8f5e9;
    border: 3px dashed #4CAF50 !important;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
}

.upload-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(76, 175, 80, 0.1);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.upload-card:hover {
    background: #c8e6c9;
    border-color: #4CAF50 !important;
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.3);
}

.upload-card:hover::before {
    opacity: 1;
}

.upload-content {
    text-align: center;
    padding: 40px 30px;
    z-index: 1;
    position: relative;
}

.upload-icon {
    font-size: 90px;
    color: #4CAF50;
    margin-bottom: 25px;
    animation: pulse 2s infinite;
    text-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.85;
    }
}

.upload-title {
    color: #4CAF50;
    font-size: 2rem;
    font-weight: 900;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(46, 125, 50, 0.2);
}

.upload-description {
    color: #558b2f;
    font-size: 1.1rem;
    margin: 0 0 30px 0;
    font-weight: 500;
    line-height: 1.6;
}

.upload-button {
    background: #4CAF50;
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.upload-button:hover {
    background: #4CAF50;
    box-shadow: 0 6px 30px rgba(76, 175, 80, 0.6);
    transform: translateY(-3px);
}

.upload-button i {
    font-size: 1.2rem;
}

/* --- STYLES UNTUK HALAMAN DETAIL CABANG --- */
.branch-detail-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 50px 20px;
    background: rgba(254, 164, 5, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(219, 228, 201, 0.2);
}

.branch-detail-header .page-title {
    margin-bottom: 15px;
    background: #FEA405;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.branch-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.branch-hero-image:hover {
    transform: scale(1.02);
}

.branch-address {
    font-size: 1.3rem;
    color: #666;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.branch-address::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #FEA405;
    font-size: 1.4rem;
}

.branch-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.branch-info {
    flex: 2;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.branch-info h2 {
    color: #333;
    font-weight: 800;
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 3px solid transparent;
    border-color: #FEA405;
}

.branch-info p {
    line-height: 1.8;
    color: #555;
}

.branch-map {
    flex: 1;
    min-width: 300px;
}

.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(219, 228, 201, 0.3);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive untuk detail cabang */
@media (max-width: 768px) {
    .branch-detail-header {
        padding: 30px 15px;
    }
    
    .branch-hero-image {
        height: 250px;
    }
    
    .branch-address {
        font-size: 1.1rem;
        flex-direction: column;
    }
    
    .branch-info {
        padding: 20px;
    }
}

/* === NEW BRANCH DETAIL PAGE STYLES === */

/* Loading & Error States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    text-align: center;
}

.loading-spinner i {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 15px;
}

.loading-spinner p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
}

.error-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px 20px;
}

.error-content {
    text-align: center;
    max-width: 500px;
}

.error-content i {
    font-size: 4rem;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.error-content h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.error-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
    font-size: 0.95rem;
    color: #666;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #4CAF50;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #FEA405;
}

.breadcrumb-separator {
    color: #ccc;
}

/* Branch Detail Hero */
.branch-detail-hero {
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.branch-hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.branch-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.branch-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: #fff;
    z-index: 2;
}

.branch-badge {
    display: inline-block;
    background: rgba(76, 175, 80, 0.9);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.branch-title {
    font-size: 3rem;
    font-weight: 900;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.branch-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.meta-item i {
    color: #4CAF50;
    font-size: 1.3rem;
}

/* Branch Statistics */
.branch-stats {
    margin-bottom: 50px;
}

.branch-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.stat-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.3);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: #FEA405;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 2rem;
    color: #fff;
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #333;
    margin: 0;
}

.stat-content p {
    font-size: 1rem;
    color: #666;
    margin: 5px 0 0 0;
}

/* Branch Content Grid */
.branch-content-section {
    margin-bottom: 50px;
}

.branch-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

/* Info Cards */
.info-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.info-card-header {
    background: #FEA405;
    color: #fff;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-card-header i {
    font-size: 1.5rem;
}

.info-card-header h2,
.info-card-header h3 {
    margin: 0;
    font-weight: 700;
    font-size: 1.3rem;
}

.info-card-body {
    padding: 25px;
}

.info-card-body p {
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.mission-list {
    margin: 0;
    padding-left: 20px;
    color: #555;
}

.mission-list li {
    margin-bottom: 12px;
    line-height: 1.7;
}

/* Leader Info */
.leader-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.leader-avatar {
    width: 70px;
    height: 70px;
    background: #FEA405;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.leader-avatar i {
    font-size: 2.5rem;
    color: #fff;
}

.leader-details h4 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    color: #333;
}

.leader-title {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

/* Contact List */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: #4CAF50;
    width: 30px;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-item strong {
    display: block;
    color: #333;
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-item p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Map Container */
.map-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: #f5f5f5;
    border-radius: 10px;
    color: #999;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Branch Actions */
.branch-actions {
    text-align: center;
    padding: 40px 0;
}

.btn-back,
.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: #FEA405;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
}

.btn-back:hover,
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.4);
}

.btn-back i,
.btn-primary i {
    margin-right: 10px;
}

/* Responsive Styles for Branch Detail */
@media (max-width: 1024px) {
    .branch-content-grid {
        grid-template-columns: 1fr;
    }
    
    .branch-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .branch-detail-hero {
        height: 350px;
    }
    
    .branch-hero-content {
        padding: 25px;
    }
    
    .branch-title {
        font-size: 2rem;
    }
    
    .branch-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .branch-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-content h3 {
        font-size: 2rem;
    }
    
    .info-card-header {
        padding: 15px 20px;
    }
    
    .info-card-body {
        padding: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .breadcrumb {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .branch-detail-hero {
        height: 300px;
    }
    
    .branch-title {
        font-size: 1.6rem;
    }
    
    .meta-item {
        font-size: 0.95rem;
    }
    
    .branch-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
}

/* ========================================
   LOGIN MODAL STYLES
   ======================================== */

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Content */
.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #ff6b6b;
    background: #fee;
    transform: rotate(90deg);
}

/* Modal Header */
.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-logo {
    max-width: 100px;
    margin-bottom: 20px;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.modal-header h2 {
    color: #FEA405;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.modal-header p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Alert Message */
.modal-alert {
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-alert.show {
    display: block;
}

.modal-alert.error {
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.modal-alert.success {
    background-color: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

/* Form Styles */
#modal-login-form .form-group {
    margin-bottom: 20px;
}

#modal-login-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

#modal-login-form label i {
    color: #FEA405;
    margin-right: 5px;
}

#modal-login-form .form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#modal-login-form .form-input:focus {
    outline: none;
    border-color: #FEA405;
    box-shadow: 0 0 0 3px rgba(254, 164, 5, 0.1);
}

#modal-login-form .btn-submit {
    width: 100%;
    padding: 14px;
    background: #FEA405;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

#modal-login-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
}

#modal-login-form .btn-submit:active {
    transform: translateY(0);
}

#modal-login-form .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 25px;
        max-width: 95%;
    }

    .modal-header h2 {
        font-size: 24px;
    }

    .modal-logo {
        max-width: 80px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 25px 20px;
    }

    .modal-header h2 {
        font-size: 22px;
    }

    #modal-login-form .form-input {
        font-size: 14px;
        padding: 10px 12px;
    }

    #modal-login-form .btn-submit {
        font-size: 15px;
        padding: 12px;
    }
}
/* =========================================== */
/* === STYLES UNTUK KONTEN EDU PAGE === */
/* =========================================== */

/* Konten Tabs (Category Buttons) */
.konten-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
    justify-content: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    align-items: center;
}

.btn-add-konten {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #4CAF50;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    margin-left: auto;
}

.btn-add-konten:hover {
    background: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.btn-add-konten i {
    font-size: 1.2rem;
}

.konten-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.konten-tab-btn i {
    font-size: 1.1rem;
}

.konten-tab-btn:hover {
    background: #f0f0f0;
    border-color: #4CAF50;
    color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.konten-tab-btn.active {
    background: #4CAF50;
    color: #fff;
    border-color: #4CAF50;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.konten-tab-btn.active:hover {
    background: #4CAF50;
    transform: translateY(-2px);
}

/* Video Category Badge */
.video-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: rgba(76, 175, 80, 0.9);
    border-radius: 20px;
    z-index: 2;
}

.video-category-badge i {
    font-size: 0.9rem;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* No Content Message */
.no-content {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

/* Responsive for konten tabs */
@media (max-width: 768px) {
    .konten-tabs {
        gap: 10px;
        padding: 15px;
    }
    
    .konten-tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .konten-tabs {
        flex-direction: column;
    }
    
    .konten-tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* Video Admin Actions */
.video-admin-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.btn-edit-video,
.btn-delete-video {
    flex: 1;
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-edit-video {
    background: #2196F3;
    color: white;
}

.btn-edit-video:hover {
    background: #2196F3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-delete-video {
    background: #f44336;
    color: white;
}

.btn-delete-video:hover {
    background: #f44336;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.btn-edit-video:active,
.btn-delete-video:active {
    transform: translateY(0);
}

/* Modal Edit Konten */
.modal-program-crud .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modal-program-crud .form-group {
    margin-bottom: 20px;
}

.modal-program-crud .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.modal-program-crud .form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.modal-program-crud .form-input:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.modal-program-crud textarea.form-input {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.btn-cancel {
    padding: 12px 30px;
    background: #f0f0f0;
    color: #666;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #e0e0e0;
}

.btn-submit {
    padding: 12px 30px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-submit:hover {
    background: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.modal-alert {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

.modal-alert.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.modal-alert.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .modal-program-crud .form-row {
        grid-template-columns: 1fr;
    }
    
    .video-admin-actions {
        flex-direction: column;
    }
    
    .btn-edit-video,
    .btn-delete-video {
        width: 100%;
    }
}

/* =========================================== */
/* === STYLES UNTUK KONTEN LISTING PAGE === */
/* =========================================== */

/* Kontrol Filter & Search */
/* =========================================== */
/* === STYLING KONTROL FILTER KONTEN EDU === */
/* =========================================== */

/* Hapus gaya .filter-controls lama dan ganti dengan ini */
.filter-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    background: #ffffff; /* Latar putih */
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px; /* Sudut agak melengkung untuk kontainer */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Sedikit shadow */
}

/* Kotak pencarian */
.search-box {
    position: relative;
    flex-grow: 1; /* Biarkan kotak search memanjang */
    min-width: 250px;
}

.search-box .fa-search {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #aaa;
}

.filter-controls input[type="search"] {
    width: 100%;
    padding: 14px 20px 14px 50px; /* Padding untuk ikon */
    border: 2px solid #f0f0f0; /* Border sangat tipis */
    border-radius: 50px; /* Bentuk Kapsul/Pill */
    font-size: 1em;
    box-sizing: border-box;
    background-color: #f9f9f9;
    transition: all 0.3s;
}

.filter-controls input[type="search"]:focus {
    background-color: #fff;
    border-color: #4CAF50; /* Aksen kuning saat aktif */
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

/* Kotak Filter Dropdown */
.filter-box {
    display: flex;
    gap: 15px;
}

.filter-controls select {
    padding: 14px 40px 14px 20px;
    font-size: 1em;
    border: 2px solid #f0f0f0;
    border-radius: 50px; /* Bentuk Kapsul/Pill */
    background-color: #f9f9f9;
    
    /* Menghilangkan panah default browser */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    /* Menambahkan panah kustom */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23AAAAAA%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-13%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2013l128%20128c3.6%203.6%207.8%205.4%2013%205.4s9.4-1.8%2013-5.4l128-128c3.6-3.6%205.4-7.8%205.4-13%200-5-1.8-9.4-5.4-13z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 10px;
    
    cursor: pointer;
    transition: all 0.3s;
}

.filter-controls select:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

/* Grid Dinamis Baru */
.content-grid-dynamic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.no-results {
    font-size: 1.2rem;
    color: #777;
    text-align: center;
    grid-column: 1 / -1; /* Penuhi grid jika tidak ada hasil */
}

/* Kartu Video Spesifik */
.video-card .card-content {
    padding-top: 15px;
}

.video-thumbnail-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9; /* Jaga rasio video */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail-link:hover .video-thumbnail {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}

.video-thumbnail-link:hover .play-icon {
    background-color: rgba(76, 175, 80, 0.8); /* Warna brand kuning */
}

.video-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    /* Batasi teks jadi 2 baris */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3.2rem; /* 1.4 (line-height) * 1.2rem (font-size) * 2 (baris) ~ 3.2rem */
}

.video-description {
    font-size: 0.9rem;
    color: #555;
    margin: 10px 0;
    line-height: 1.5;
    /* Batasi teks jadi 3 baris */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9rem;
    color: #666;
    margin: 10px 0;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-views {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}
.video-views .fa-eye {
    color: #aaa;
    margin-right: 5px;
}
/* =========================================== */
/* === GAYA TOMBOL KEMBALI === */
/* =========================================== */

.back-link {
    display: inline-block;
    margin-bottom: 15px; /* Jarak ke judul di bawahnya */
    font-size: 1rem;
    font-weight: 600;
    color: #555; /* Warna teks abu-abu */
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link i {
    margin-right: 8px;
    color: #4CAF50; /* Warna kuning aksen */
}

.back-link:hover {
    color: #000; /* Warna menjadi hitam saat di-hover */
    text-decoration: underline;
}
/* =========================================== */
/* === STYLES UNTUK VIDEO MODAL PLAYER === */
/* =========================================== */

.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.90); /* Latar gelap */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Di atas modal login */
    backdrop-filter: blur(10px);
    padding: 20px;
}

.video-modal-overlay.show {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px; /* Ukuran sedang untuk video */
    background: #000;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.7);
    animation: modalZoomIn 0.3s ease-out;
}

@keyframes modalZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Tombol close di-styling ulang agar kontras di atas video */
.video-modal-content .modal-close,
.video-modal-content .video-modal-close {
    position: absolute;
    top: -45px; /* Di luar kotak video */
    right: 0;
    background: rgba(254, 164, 5, 0.9);
    border: none;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(254, 164, 5, 0.4);
}

.video-modal-content .video-modal-close:hover,
.video-modal-content .modal-close:hover {
    background: #fff;
    color: #FEA405;
    transform: rotate(90deg);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.video-iframe-container {
    /* Trik rasio 16:9 */
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Responsive untuk layar kecil */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        max-width: 100%;
    }
    
    .video-modal-content .modal-close,
    .video-modal-content .video-modal-close {
        top: -40px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}



/* =========================================== */
/* === STYLES UNTUK KONTEN EDU PRATINJAU === */
/* =========================================== */

/* =========================================== */
/* === STYLES UNTUK "KONTEN EDU" PAGE (MODERN) === */
/* =========================================== */

/* Kartu kategori utama dengan desain modern */
.category-card-wrapper {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.category-card-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #FEA405;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.category-card-wrapper:hover::before {
    transform: scaleX(1);
}

.category-card-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(219, 228, 201, 0.25);
}

/* Bagian statis (header kategori) */
.category-static-content {
    display: flex;
    flex-direction: column;
}

.category-static-content .card-title {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 3px solid transparent;
    border-image: #FEA405 1;
    color: #333;
    font-weight: 800;
    background: #FEA405;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-static-content p {
    line-height: 1.8;
    flex-grow: 1;
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.category-static-content .card-button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 28px;
    border: none;
    background: #FEA405;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    align-self: flex-start;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    text-decoration: none;
}

.category-static-content .card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(254, 164, 5, 0.5);
    background: #FEA405;
}

/* Header pratinjau konten */
.preview-header {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    border-top: 2px solid #f5f5f5;
    padding-top: 20px;
    margin-top: 25px;
    position: relative;
    padding-left: 15px;
}

.preview-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    width: 4px;
    height: 24px;
    background: #FEA405;
    border-radius: 2px;
}

/* Grid untuk video pratinjau */
.preview-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

/* Kartu video mini di preview */
.preview-grid .video-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    background: #fafafa;
    transition: all 0.3s ease;
}

.preview-grid .video-card:hover {
    background: #fff;
    border-color: rgba(219, 228, 201, 0.3);
    box-shadow: 0 4px 15px rgba(219, 228, 201, 0.15);
    transform: translateX(5px);
}

.preview-grid .video-thumbnail-link {
    flex-basis: 120px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.preview-grid .video-thumbnail {
    border-radius: 8px;
}

.preview-grid .video-thumbnail-link:hover .video-thumbnail {
    transform: none;
}

.preview-grid .play-icon {
    width: 35px;
    height: 35px;
    font-size: 0.85rem;
    background: #FEA405;
}

.preview-grid .card-content {
    padding: 0;
    flex: 1;
}

.preview-grid .video-title {
    font-size: 0.95rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    color: #333;
    font-weight: 600;
    margin: 0;
}

/* Sembunyikan meta di pratinjau */
.preview-grid .video-meta,
.preview-grid .video-views {
    display: none; 
}

/* Loading state */
.preview-grid p {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 20px 0;
}

/* Responsive untuk konten-edu */
@media (max-width: 768px) {
    .category-card-wrapper {
        padding: 20px;
    }
    
    .category-static-content .card-title {
        font-size: 1.5em;
    }
    
    .category-static-content p {
        font-size: 1rem;
    }
    
    .preview-header {
        font-size: 1rem;
    }
    
    .preview-grid .video-thumbnail-link {
        flex-basis: 100px;
    }
    
    .preview-grid .video-title {
        font-size: 0.9rem;
    }
}

/* =========================================== */
/* === VIDEO CARD STYLES (FOR LISTING PAGE) === */
/* =========================================== */
/* === STYLES UNTUK IMAGE MODAL VIEWER === */
/* =========================================== */

.image-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Latar lebih gelap */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Di atas modal lain */
    backdrop-filter: blur(8px);
    padding: 20px; /* Jarak dari tepi layar */
    box-sizing: border-box;
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.image-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.image-modal-content {
    position: relative;
    max-width: 90%; /* Lebar maksimal gambar */
    max-height: 90%; /* Tinggi maksimal gambar */
    background: #fff; /* Opsi: latar putih di belakang gambar */
    padding: 10px; /* Opsi: sedikit padding */
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border-radius: 4px;
    overflow: hidden; /* Pastikan gambar tidak keluar */
}

/* Tombol close di-styling ulang */
.image-modal-content .modal-close {
    position: absolute;
    top: -35px; /* Di luar kotak */
    right: -10px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5); /* Shadow agar lebih terlihat */
}

#structure-modal-img {
    display: block; /* Agar tidak ada spasi di bawah gambar */
    max-width: 100%;
    max-height: calc(90vh - 20px); /* Batasi tinggi sesuai viewport */
    height: auto;
    width: auto; /* Biarkan rasio aspek terjaga */
}
/* =========================================== */
/* === STYLES TAMBAHAN UNTUK GALERI CABANG === */
/* =========================================== */

.branch-gallery {
    margin-top: 40px; /* Jarak dari section peta */
}

.gallery-item {
    padding: 0; /* Hapus padding default card */
    overflow: hidden; /* Agar gambar tidak keluar */
}

.gallery-item img {
    width: 100%;
    height: 200px; /* Tinggi gambar galeri */
    object-fit: cover;
    display: block; /* Hapus spasi bawah */
}

.gallery-item p {
    padding: 10px 15px; /* Padding untuk deskripsi */
    margin: 0;
    font-size: 0.9em;
    color: #555;
    text-align: center;
}

/* =========================================== */
/* === STYLES UNTUK HALAMAN ARTIKEL/BERITA === */
/* =========================================== */

.article-page article {
    background-color: #fff;
    padding: 30px;
    border: 1px solid #e0e0e0;
    margin-bottom: 30px; /* Jarak dari footer */
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-meta {
    font-size: 0.9em;
    color: #777;
    margin-top: -30px; /* Tarik ke atas di bawah judul */
}

.article-featured-image {
    width: 100%;
    max-height: 400px; /* Batasi tinggi gambar utama */
    object-fit: cover;
    margin-top: 20px;
    border-radius: 4px;
}

.article-content p, .article-content li {
    font-size: 1.1rem;
    line-height: 1.8; /* Spasi baris lebih lega untuk kenyamanan membaca */
    margin-bottom: 1.5em;
}

.article-content h2 {
    font-size: 1.8rem;
    margin-top: 2em;
    margin-bottom: 1em;
}

.article-content h3 {
    font-size: 1.5rem;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.article-content blockquote {
    border-left: 4px solid #4CAF50; /* Garis kutipan warna kuning */
    margin: 1.5em 0;
    padding: 10px 20px;
    background-color: #fdf8e9; /* Latar kuning sangat muda */
    font-style: italic;
    color: #555;
}

.article-content blockquote footer {
    margin-top: 10px;
    font-style: normal;
    font-weight: bold;
    color: #333;
}


.article-content table { /* Styling untuk tabel jika digunakan */
    width: 100%;
    margin: 1.5em 0;
}

.back-link-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Donatur Modal Overlay */
.donatur-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.donatur-modal-overlay.show {
    display: flex;
}

/* Donatur Modal Content */
.donatur-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 950px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.3s ease;
}

/* Close Button */
.donatur-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donatur-modal-close:hover {
    color: #ff6b6b;
    background: #fee;
    transform: rotate(90deg);
}

/* Modal Title */
.donatur-modal-content h3 {
    color: #FEA405;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-align: center;
}

.donatur-modal-subtitle {
    color: #666;
    font-size: 14px;
    text-align: center;
    margin: 0 0 25px 0;
    line-height: 1.6;
}

/* Modal Body Layout */
.donatur-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 15px;
}

/* Form Section */
.donatur-form {
    display: flex;
    flex-direction: column;
}

.donatur-form .form-row {
    margin-bottom: 18px;
}

.donatur-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.donatur-form label .required {
    color: #ff6b6b;
    margin-left: 3px;
}

.donatur-form input,
.donatur-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.donatur-form input:focus,
.donatur-form textarea:focus {
    outline: none;
    border-color: #FEA405;
    box-shadow: 0 0 0 3px rgba(254, 164, 5, 0.1);
}

.donatur-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* QRIS Section */
.donatur-qris {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 25px;
}

.donatur-qris h4 {
    color: #FEA405;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-align: center;
}

.donatur-qris p {
    color: #666;
    font-size: 13px;
    text-align: center;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.qris-box {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.qris-box img {
    max-width: 250px;
    width: 100%;
    display: block;
    border-radius: 8px;
}

.qris-note {
    color: #888;
    font-size: 12px !important;
    font-style: italic;
}

/* Alert */
.donatur-alert {
    padding: 12px 15px;
    border-radius: 10px;
    margin-top: 10px;
    font-size: 14px;
    display: none;
    animation: slideDown 0.3s ease;
}

.donatur-alert.show {
    display: block;
}

.donatur-alert.error {
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.donatur-alert.success {
    background-color: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

/* Form Actions */
.donatur-form .form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-save-funding {
    flex: 1;
    padding: 14px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-save-funding:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
}

.btn-save-funding:active {
    transform: translateY(0);
}

.btn-cancel-funding {
    padding: 14px 20px;
    background: #f5f5f5;
    color: #666;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel-funding:hover {
    background: #e0e0e0;
    border-color: #ccc;
}

/* Funding Edit Form - Konsisten dengan desain situs */
.funding-edit-form {
    background: #ffffff;
    border: 1px solid #ececec;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    max-width: 720px;
    margin-top: 12px;
}

.funding-edit-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.funding-edit-form label {
    font-size: 0.95rem;
    color: #333;
    font-weight: 600;
}

.funding-edit-form input[type="number"],
.funding-edit-form input[type="text"],
.funding-edit-form input[type="email"],
.funding-edit-form textarea {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    background: #fbfbfb;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.18s ease;
    box-sizing: border-box;
}

.funding-edit-form input:focus,
.funding-edit-form textarea:focus {
    border-color: #4CAF50;
    box-shadow: 0 6px 18px rgba(76,175,80,0.12);
    background: #ffffff;
}

.funding-edit-form .form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.funding-edit-form .btn-save-funding {
    flex: 1;
}

.funding-edit-form .btn-cancel-funding {
    flex: 0 0 auto;
}

.funding-edit-alert {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    display: none;
}

.funding-edit-alert.success {
    display: block;
    background: #e9f7ef;
    color: #1b8b4a;
    border: 1px solid #cfeedd;
}

.funding-edit-alert.error {
    display: block;
    background: #fff5f5;
    color: #b93b3b;
    border: 1px solid #f2c6c6;
}

/* Button Edit Funding */
.btn-edit-funding {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #FEA405 0%, #f39c12 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(254, 164, 5, 0.25);
}

.btn-edit-funding:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(254, 164, 5, 0.4);
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.btn-edit-funding:active {
    transform: translateY(0);
}

.btn-edit-funding i {
    font-size: 1rem;
}

@media (max-width: 640px) {
    .funding-edit-form { padding: 14px; width: 100%; }
    .funding-edit-form .form-actions { flex-direction: column; }
    .funding-edit-form .btn-cancel-funding { width: 100%; }
    .btn-edit-funding { width: 100%; }
}

/* Donatur Link Button */
.donatur-link {
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.donatur-link:hover {
    color: #FEA405;
}

/* Responsive */
@media (max-width: 768px) {
    .donatur-modal-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .donatur-modal-content h3 {
        font-size: 22px;
    }
    
    .donatur-modal-body {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .donatur-form .form-actions {
        flex-direction: column;
    }
    
    .qris-box img {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .donatur-modal-content {
        padding: 25px 15px;
    }
    
    .donatur-modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 28px;
    }
}
