@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
    --primary-color: #044732; /* Deep Emerald Green */
    --primary-light: #0d7053;
    --accent-color: #D4AF37; /* Gold */
    --accent-light: #f5d871;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-main: #f9fafb;
    --bg-white: #ffffff;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease-in-out;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Glassmorphism Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(4, 71, 50, 0.65); /* Further reduced opacity */


    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(4, 71, 50, 0.85);


    box-shadow: var(--shadow-md);
    padding: 0.8rem 5%;
}


.nav-brand {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    background: white;
    padding: 6px 12px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    gap: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.nav-brand:hover .logo-container {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.nav-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-logo.logo-secondary {
    height: 52px;
}

.footer-logo .logo-secondary {
    height: 46px;
}




.logo-divider {
    width: 1px;
    height: 30px;
    background: #e2e8f0;
    margin: 0 2px;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.nav-brand-text .title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}


.nav-brand-text .subtitle {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}


.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}


.nav-links a {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    white-space: nowrap;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
}



.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}


/* ===== Dropdown Berita ===== */
/* Li dropdown persis sama seperti li lain - tidak ada display:flex tambahan */
.dropdown {
    position: relative;
}

/* Sub-menu: hidden by default, melayang absolute di bawah navbar */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.5rem;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.18);
    border-radius: 12px;
    z-index: 99999;
    padding: 0.4rem 0;
    list-style: none !important;
    border-top: 3px solid #D4AF37;
}

/* Panah kecil di atas sub-menu */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 6px 7px 6px;
    border-style: solid;
    border-color: transparent transparent #D4AF37 transparent;
}

.dropdown-menu li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    color: #1f2937;
    padding: 0.7rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
    transition: background 0.2s, padding-left 0.2s;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu a::after {
    display: none !important;
    content: none !important;
}

.dropdown-menu a:hover {
    background-color: #f0fdf4;
    color: #044732;
    padding-left: 1.8rem;
}


.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(4, 71, 50, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 71, 50, 0.4);
    color: white;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background-color: var(--primary-color);
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(4, 71, 50, 0.7), rgba(4, 71, 50, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 5%;
    max-width: 1200px;
    animation: fadeInUp 1s ease-out;
}


.hero-subtitle {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    display: block;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    white-space: nowrap;
}


.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.slider-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-control.prev { left: 30px; }
.slider-control.next { right: 30px; }

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--accent-color);
    border-color: rgba(255,255,255,0.5);
    transform: scale(1.2);
}

/* Sections */
.section {
    padding: 5rem 5%;
}

.section-bg {
    background-color: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features/Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 280px));
    justify-content: center;
    gap: 1.5rem;
    margin-top: -4rem;
    position: relative;
    z-index: 10;
    padding: 0 5%;
}

@media (max-width: 768px) {
    .stats-grid {
        margin-top: 2rem;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        padding: 0 1rem;
        gap: 1rem;
    }
    .stat-card {
        padding: 1.5rem 1rem;
    }
    .stat-number {
        font-size: 2rem;
    }
}

/* Welcome Section Responsive */
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

@media (max-width: 991px) {
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .welcome-grid h3 div {
        left: 50% !important;
        transform: translateX(-50%);
    }
}



.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
}

/* Recap Grid for Achievement Page */
.recap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    gap: 3rem;
    text-align: center;
}

@media (max-width: 768px) {
    .recap-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .recap-grid h2 {
        font-size: 2.5rem !important;
    }
}


/* Programs & Achievements */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
    justify-content: center;
    gap: 1.5rem;
}

.program-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--accent-light);
}

.program-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.program-card:hover .program-image {
    transform: scale(1.08);
}


.program-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-title {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

.program-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.6;
    flex: 1;
}


/* News & Article Cards - Compact & Proportional */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}

@media (min-width: 1280px) {
    .news-grid {
        gap: 2rem;
    }
}


.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}


.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--accent-light);
}

.news-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3f4f6;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image {
    transform: scale(1.1);
}

.news-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-title {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
    line-height: 1.4;
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

.news-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    flex: 1;
}

.news-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
}

.news-link i {
    transition: transform 0.3s ease;
}

.news-card:hover .news-link i {
    transform: translateX(5px);
}


/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 6rem 5% 3rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light), var(--accent-color));
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    padding: 8px 15px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-brand-text h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
    font-family: var(--font-heading);
}

.footer-subtitle {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(8px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

.footer-contact span,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.6;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utilities */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }

/* Mobile Menu & Navbar Adjustments */
@media (max-width: 1100px) {
    .nav-brand-text {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: 1rem;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.15); 
        color: white;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle:hover {
        background: var(--primary-color);
        color: white;
    }

    .navbar .btn {
        display: none; 
    }

    .nav-links { 
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 1rem 1.5rem 2rem 1.5rem;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease-in-out;
        border-top: 1px solid #f1f5f9;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        width: 100%;
        font-size: 1rem;
        color: var(--primary-color) !important;
    }

    .nav-links a::after {
        display: none !important;
    }

    .dropdown {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-content h1 { 
        font-size: 2.2rem; 
        white-space: normal;
    }
}


/* ==========================================================================
   Jadwal Sholat Component
   ========================================================================== */
.sholat-container {
    background: #ffffff;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 24px;
    margin: 3rem auto 2rem;
    max-width: 1100px;
    border: 1px solid rgba(4, 71, 50, 0.06);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 
                0 10px 15px -3px rgba(0, 0, 0, 0.02), 
                0 20px 40px -10px rgba(4, 71, 50, 0.06);
}

.sholat-header {
    margin-bottom: 2rem;
}

.sholat-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.sholat-header p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.sholat-select {
    padding: 0.6rem 1.25rem;
    border: 2px solid #f1f5f9;
    border-radius: 50px;
    background: #f8fafc;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-main);
    cursor: pointer;
    margin-top: 1rem;
    outline: none;
    min-width: 240px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    font-weight: 500;
}

.sholat-select:focus {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(4, 71, 50, 0.08);
}

.sholat-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    width: 100%;
}

.sholat-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.25rem 0.4rem;
    flex: 1;
    max-width: 120px;
    min-width: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.sholat-card:hover:not(.active) {
    transform: translateY(-5px);
    background: #ffffff;
    border-color: var(--primary-light);
    box-shadow: 0 6px 18px -5px rgba(4, 71, 50, 0.1);
}

.sholat-name {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.sholat-card:hover:not(.active) .sholat-name {
    color: var(--primary-light);
}

.sholat-time {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary-light, #0d7053);
    transition: all 0.3s ease;
}

/* Active/Next Prayer Card Highlighted in a Stunning Gradient & Breath Animation */
.sholat-card.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    box-shadow: 0 10px 25px rgba(4, 71, 50, 0.3), 0 0 0 4px rgba(4, 71, 50, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-6px) scale(1.05);
    z-index: 2;
    animation: sholatPulse 2.5s infinite ease-in-out;
}

.sholat-card.active::before {
    content: 'BERIKUTNYA';
    position: absolute;
    top: 4px;
    font-size: 0.52rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.15);
    padding: 0.12rem 0.4rem;
    border-radius: 50px;
    letter-spacing: 0.08em;
}

.sholat-card.active .sholat-name {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.4rem;
    margin-bottom: 0.2rem;
}

.sholat-card.active .sholat-time {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
    font-size: 1.55rem;
}

.sholat-card.active:hover {
    transform: translateY(-8px) scale(1.07);
    box-shadow: 0 12px 30px rgba(4, 71, 50, 0.4), 0 0 0 5px rgba(4, 71, 50, 0.12);
}

@keyframes sholatPulse {
    0% {
        box-shadow: 0 10px 25px rgba(4, 71, 50, 0.3), 0 0 0 4px rgba(4, 71, 50, 0.08);
    }
    50% {
        box-shadow: 0 12px 30px rgba(4, 71, 50, 0.4), 0 0 0 6px rgba(4, 71, 50, 0.15);
    }
    100% {
        box-shadow: 0 10px 25px rgba(4, 71, 50, 0.3), 0 0 0 4px rgba(4, 71, 50, 0.08);
    }
}

@media (max-width: 768px) {
    .sholat-container {
        padding: 2rem 1rem;
        margin: 2rem auto;
        border-radius: 20px;
    }
    
    .sholat-grid {
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .sholat-card {
        min-width: calc(50% - 0.375rem);
        max-width: none;
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .sholat-card.active {
        transform: translateY(-4px) scale(1.03);
    }

    .sholat-card.active:hover {
        transform: translateY(-6px) scale(1.05);
    }
    
    .sholat-time {
        font-size: 1.4rem;
    }

    .sholat-card.active .sholat-time {
        font-size: 1.5rem;
    }
    
    .sholat-header h2 {
        font-size: 2rem;
    }
}

/* Floating PSB CTA Card */
.floating-psb-card {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    z-index: 9999;
    display: flex;
    align-items: center;
    background: white;
    padding: 12px 20px;
    border-radius: 100px 20px 20px 100px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-decoration: none !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    opacity: 0.4; /* Redup secara default */
    filter: grayscale(100%); /* Tambahkan efek grayscale agar lebih tidak mencolok */
}

.floating-psb-card:hover {
    transform: translateY(-50%) translateX(0);
    opacity: 1; /* Muncul seutuhnya */
    filter: grayscale(0%);
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    background: white;
}


.psb-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(4, 71, 50, 0.3);
}

.psb-content {
    display: flex;
    flex-direction: column;
}

.psb-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 2px;
}

.psb-action {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .floating-psb-card {
        right: 15px;
        bottom: 30px;
        top: auto;
        transform: none;
        padding: 10px;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
    }
    .floating-psb-card:hover { transform: scale(1.1); }
    .psb-icon { margin-right: 0; width: 45px; height: 45px; }
    .psb-content { display: none; }
}
