/* ==========================================================================
   STYLE.CSS - FUTURISTIC & MODERN TECH THEME (FIXED DROPDOWN)
   SMA Al Muttaqin Tasikmalaya
   ========================================================================== */

:root {
    --primary-color: #0f172a;        /* Deep Navy Blue */
    --accent-teal: #06b6d4;        /* Cyber Cyan / Teal */
    --accent-blue: #3b82f6;        /* Modern Blue */
    --accent-gold: #f59e0b;        /* Soft Gold */
    --text-dark: #1e293b;          /* Dark Charcoal */
    --text-muted: #64748b;         /* Slate Muted Text */
    --bg-light: #f8fafc;           /* Light Soft Background */
    --bg-card: rgba(255, 255, 255, 0.85); /* Glassmorphism Card BG */
    --border-color: rgba(226, 232, 240, 0.8);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 0 25px rgba(6, 182, 212, 0.25);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* BASE RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* TOP BAR */
.top-bar {
    background: var(--primary-color);
    color: #94a3b8;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    color: var(--accent-teal);
    margin-right: 6px;
}

.social-links a {
    color: #cbd5e1;
    margin-left: 16px;
    font-size: 0.85rem;
}

.social-links a:hover {
    color: var(--accent-teal);
}

/* GLASSMORPHISM NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.nav-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
}

.logo i {
    font-size: 2rem;
    color: var(--accent-teal);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .title {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-text .sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-links li {
    position: relative; /* Menjadi acuan posisi dropdown */
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a:hover {
    color: var(--accent-teal);
}

/* Dropdown Sub-menu (DIUBAH AGAR TIDAK MENUTUPI MENU UTAMA) */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px); /* Memberikan jarak agar tidak bertumpuk dengan teks menu utama */
    left: 0;
    background: #ffffff;
    min-width: 220px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    z-index: 1100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    position: static;
    width: 100%;
}

.dropdown-menu a {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    display: block;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: #f1f5f9;
    color: var(--accent-blue);
}

.nav-btns {
    display: flex;
    gap: 12px;
}

.btn-spmb, .btn-login, .btn-primary {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-spmb {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-spmb:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4);
}

.btn-login {
    background: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-login:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* HERO SLIDER SECTION */
.hero-slider-wrapper {
    position: relative;
    height: 580px;
    background: var(--primary-color);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 6s ease;
    transform: scale(1.05);
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-content {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    color: #ffffff;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(6, 182, 212, 0.2);
    border: 1px solid var(--accent-teal);
    border-radius: 30px;
    color: var(--accent-teal);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 750px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 600px;
    margin-bottom: 30px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
    color: #ffffff;
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* FLOATING QUICK INFO BAR */
.quick-info-wrapper {
    max-width: 1280px;
    margin: -50px auto 60px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.quick-info-bar {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    padding: 24px 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.quick-info-item .icon-box {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.quick-info-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.quick-info-item small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* LAYOUT CONTAINER */
.main-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.home-section {
    margin-bottom: 80px;
}

.section-title {
    margin-bottom: 40px;
}

.section-title.text-center {
    text-align: center;
}

.sub-heading {
    color: var(--accent-teal);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 6px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 6px;
}

/* BENTO GRID PROGRAM UNGGULAN */
.bento-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, minmax(220px, auto));
    gap: 24px;
}

.bento-item {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 36px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.bento-main {
    grid-row: span 2;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
    color: #ffffff;
}

.bento-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.15), transparent 60%);
}

.bento-watermark-icon {
    position: absolute;
    right: -20px;
    top: -20px;
    font-size: 12rem;
    opacity: 0.04;
    color: #ffffff;
}

.bento-content {
    position: relative;
    z-index: 2;
}

.bento-header-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.bento-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

.badge-glow {
    background: rgba(6, 182, 212, 0.2);
    color: var(--accent-teal);
    border: 1px solid var(--accent-teal);
}

.badge-accent {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
}

.badge-gold {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
}

.badge-sky {
    background: rgba(14, 165, 233, 0.15);
    color: #0ea5e9;
}

.bento-item h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.bento-item p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.bento-stats-pills {
    display: flex;
    gap: 16px;
}

.bento-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.bento-tahfidz h3, .bento-ptn h3 {
    color: var(--primary-color);
}

.bento-tahfidz p, .bento-ptn p {
    color: var(--text-muted);
}

/* DUAL COLUMN MAIN LAYOUT */
.main-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 36px;
    margin-bottom: 80px;
}

/* NEWS GRID */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.card-title a:hover {
    color: var(--accent-teal);
}

.card-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

.card-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* SIDEBAR WIDGETS */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.widget-box {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 12px;
}

.widget-title i {
    color: var(--accent-teal);
}

.widget-principal {
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.principal-img-frame {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
    box-shadow: var(--shadow-glow);
}

.principal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.principal-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-color);
}

.principal-title {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.principal-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.5;
}

/* Agenda Mini Timeline */
.agenda-mini-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.agenda-mini-item {
    display: flex;
    gap: 14px;
    align-items: center;
}

.agenda-mini-date {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-teal);
    padding: 8px 14px;
    border-radius: 10px;
    text-align: center;
    min-width: 55px;
}

.agenda-mini-date .day {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
}

.agenda-mini-date .month {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.agenda-mini-details h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
}

.agenda-mini-details small {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Search Form Widget */
.search-form {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.search-form input {
    flex-grow: 1;
    padding: 10px 16px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    outline: none;
    font-size: 0.88rem;
}

.search-form button {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.widget-news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.widget-news-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.widget-news-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.widget-news-info h5 {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
}

.widget-news-info small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ALUMNI DASHBOARD CARD */
.alumni-compact-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.donut-wrapper {
    position: relative;
    width: 220px;
    margin: 0 auto;
}

.donut-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.donut-center-text .total-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #0284c7 !important;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.donut-center-text .total-label {
    display: block;
    font-size: 0.82rem;
    color: #334155 !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 2px;
}

.chart-right h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    margin-bottom: 4px;
    color: #cbd5e1;
}

.bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 10px;
}

.chart-note {
    display: block;
    margin-top: 20px;
    font-size: 0.75rem;
    color: #64748b;
}

/* ==========================================================================
   SOCIAL ECOSYSTEM GRID - EQUAL HEIGHT & BALANCED
   ========================================================================== */

.social-ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: stretch;
}

.social-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.social-card-header {
    padding: 18px 24px;
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.fb-header {
    background: linear-gradient(135deg, #1877f2, #0056b3);
}

.yt-header {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.fb-body-scroll {
    padding: 16px;
    height: 380px;
    overflow-y: auto;
    flex-grow: 1;
}

.fb-body-scroll::-webkit-scrollbar {
    width: 6px;
}
.fb-body-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}
.fb-body-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.fb-body-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--accent-teal);
}

.yt-body-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 380px;
    flex-grow: 1;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.yt-info-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fafc;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-top: 12px;
}

.yt-info-box i {
    font-size: 1.8rem;
    color: #ef4444;
}

.yt-info-box h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
}

.yt-info-box small {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* TESTIMONIAL GRID */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: #ffffff;
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-quote i {
    font-size: 1.5rem;
    color: var(--accent-teal);
    margin-bottom: 12px;
}

.testimonial-quote p {
    font-size: 0.92rem;
    color: var(--text-dark);
    font-style: italic;
}

.testimonial-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-profile img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h5 {
    font-size: 0.95rem;
    font-weight: 800;
}

.testimonial-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* RESPONSIVE DESIGN & MOBILE MENU DROPDOWN FIX */
@media (max-width: 992px) {
    .quick-info-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .main-layout {
        grid-template-columns: 1fr;
    }

    .alumni-compact-card {
        grid-template-columns: 1fr;
    }

    .social-ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-container {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        transition: var(--transition);
        overflow-y: auto;
    }

    .nav-container.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .nav-links li {
        width: 100%;
    }

    /* Penyesuaian Dropdown di HP agar Tampil Vertikal Normal */
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background: #f8fafc !important;
        padding-left: 15px;
        margin-top: 8px;
        display: none; /* Bisa dikontrol via JS atau dibuka otomatis di mobile */
    }

    /* Tampilkan dropdown secara otomatis di mode mobile jika parent di-hover/aktif */
    .has-dropdown:hover .dropdown-menu {
        display: block;
    }
}

@media (max-width: 600px) {
    .quick-info-bar {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   CUSTOM FACEBOOK FEED STYLING (SERASI & SEIMBANG)
   ========================================================================== */

.custom-fb-container {
    padding: 16px;
    height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.custom-fb-container::-webkit-scrollbar {
    width: 6px;
}
.custom-fb-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}
.custom-fb-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.custom-fb-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent-teal);
}

.custom-fb-item {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px;
    display: flex;
    gap: 12px;
    transition: var(--transition);
}

.custom-fb-item:hover {
    border-color: #1877f2;
    box-shadow: var(--shadow-sm);
}

.fb-item-img img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.fb-item-content {
    flex-grow: 1;
}

.fb-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.fb-badge-official {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

.custom-fb-item p {
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 8px;
}

.fb-read-more {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1877f2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fb-read-more:hover {
    text-decoration: underline;
}

/* ==========================================================================
   SECTION MARKETING SPMB (HIGH-CONVERSION CTA BANNER)
   ========================================================================== */
.spmb-card {
    background: linear-gradient(135deg, #0f172a 0%, #0284c7 100%);
    border-radius: var(--radius-lg, 16px);
    padding: 40px;
    color: var(--white, #ffffff);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(2, 132, 199, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.spmb-glow-overlay {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.spmb-content-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 35px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.spmb-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #f0f9ff;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.spmb-badge i { color: #f59e0b; }

.spmb-text-side h2 {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--white, #ffffff);
}

.spmb-text-side p {
    font-size: 0.95rem;
    color: #e0f2fe;
    margin-bottom: 20px;
    line-height: 1.6;
}

.spmb-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.spmb-h-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

.spmb-h-item i { color: #38bdf8; }

.spmb-action-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-spmb-primary {
    background: #ffffff;
    color: #0f172a;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-spmb-primary:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-spmb-outline {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-spmb-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-3px);
}

.spmb-info-box {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md, 12px);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.spmb-status-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #10b981;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spmb-info-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.spmb-steps-list {
    list-style: none;
    margin-bottom: 20px;
}

.spmb-steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.step-num {
    background: var(--primary-color, #0284c7);
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.spmb-steps-list small { color: #94a3b8; }

.spmb-contact-mini {
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    padding-top: 12px;
    font-size: 0.85rem;
    color: #e0f2fe;
}

.spmb-contact-mini i { color: #22c55e; font-size: 1.1rem; }

@media (max-width: 992px) {
    .spmb-content-grid {
        grid-template-columns: 1fr;
    }
    .spmb-card {
        padding: 25px;
    }
    .spmb-text-side h2 {
        font-size: 1.5rem;
    }
}

/* Styling Footer & Kotak Iklan */
footer {
    background: #0f172a;
    color: #f8fafc;
    padding: 40px 20px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer-socials a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: #2563eb;
    transform: translateY(-3px);
}

.footer-ad-col {
    position: relative;
}

.ad-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    display: block;
    margin-bottom: 8px;
}

.footer-ad-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px;
    min-height: 80px;
    max-height: 150px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #64748b;
    font-size: 0.85rem;
    width: 100%;
}