/* 
 * Footer Fix CSS - Blue Theme
 * Ensures footer has proper blue theme colors and text visibility
 */

/* ===== FOOTER BLUE THEME OVERRIDE ===== */
footer,
.footer {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%) !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    position: relative;
    overflow: hidden;
    padding: 3rem 0 0.5rem;
    margin-top: 4rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

/* Footer overlay for better text contrast */
footer::before,
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 1;
}

/* Ensure all footer content is above overlay */
footer > *,
.footer > * {
    position: relative;
    z-index: 2;
}

/* ===== FOOTER TEXT COLORS ===== */
footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
footer .footer-title,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6,
.footer .footer-title {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

footer p,
footer li,
footer span,
footer div,
.footer p,
.footer li,
.footer span,
.footer div {
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer p {
    line-height: 1.7;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

footer a,
.footer a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover,
footer a:focus,
.footer a:hover,
.footer a:focus {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

/* ===== FOOTER SECTIONS ===== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.25rem 0;
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.15);
    text-align: center;
    width: 100%;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.875rem;
    margin-bottom: 0;
    line-height: 1.6;
    padding: 0 1rem;
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.social-link {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ===== CONTACT INFO ===== */
.contact-info i,
.footer-contact i {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-right: 0.5rem;
}

/* ===== FOOTER LINKS STYLING ===== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    text-decoration: none;
    padding-left: 0.5rem;
}

/* ===== CONTACT INFO ENHANCEMENT ===== */
.footer-contact {
    line-height: 1.8;
}

.footer-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
}

.footer-contact i {
    min-width: 20px;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 768px) {
    footer,
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .footer .row > div {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer .row > div:last-child {
        margin-bottom: 1rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 0.5rem;
    }
    
    .footer-links li {
        margin-bottom: 0.4rem;
    }
    
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact p {
        text-align: center;
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-bottom {
        text-align: center;
        padding: 1rem 0;
        margin-top: 1.5rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }
}

/* ===== OVERRIDE ANY CONFLICTING STYLES ===== */
footer ul,
.footer ul {
    list-style: none;
    padding: 0;
}

footer ul li,
.footer ul li {
    margin-bottom: 0.5rem;
}

/* Ensure footer text is always visible */
footer *,
.footer * {
    text-shadow: none !important;
}

/* Remove any background image or pattern that might interfere */
footer,
.footer {
    background-image: none !important;
    background-attachment: initial !important;
    background-size: initial !important;
    background-repeat: initial !important;
    background-position: initial !important;
}

/* Force footer to use blue theme even with other CSS loaded */
body footer,
body .footer {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%) !important;
    color: #ffffff !important;
}

/* ===== YOUTUBE BUTTON FIX ===== */
/* Fix YouTube button visibility issues */
.btn-danger,
.youtube-btn,
a.btn-danger,
button.btn-danger {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
    font-weight: 500;
    text-decoration: none;
}

.btn-danger:hover,
.youtube-btn:hover,
a.btn-danger:hover,
button.btn-danger:hover {
    background-color: #c82333 !important;
    border-color: #bd2130 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
    text-decoration: none;
}

.btn-danger:focus,
.youtube-btn:focus,
a.btn-danger:focus,
button.btn-danger:focus {
    background-color: #c82333 !important;
    border-color: #bd2130 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    text-decoration: none;
}

.btn-danger:active,
.youtube-btn:active,
a.btn-danger:active,
button.btn-danger:active {
    background-color: #bd2130 !important;
    border-color: #b21f2d !important;
    color: #ffffff !important;
    text-decoration: none;
}

/* Ensure YouTube icon is visible */
.btn-danger i,
.youtube-btn i,
a.btn-danger i,
button.btn-danger i {
    color: #ffffff !important;
}

/* Fix any white text on white background issues */
.btn-light,
.btn-white {
    background-color: #f8f9fa !important;
    border-color: #f8f9fa !important;
    color: #212529 !important;
}

.btn-light:hover,
.btn-white:hover {
    background-color: #e9ecef !important;
    border-color: #dae0e5 !important;
    color: #212529 !important;
}

/* ===== QUICK ACCESS SECTION ENHANCEMENT ===== */
/* Enhanced Quick Access Cards with Beautiful Colors */
.quick-access-section {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern overlay - REDUCED FOR BACKGROUND VISIBILITY */
.quick-access-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Ensure content is above overlay */
.quick-access-section .container {
    position: relative;
    z-index: 2;
}

/* Enhanced Quick Access Cards */
.quick-access-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 1rem !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    transition: all 0.4s ease !important;
    min-height: 200px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    color: #212529 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    position: relative;
    overflow: hidden;
}

/* Individual card color themes - Each card has unique beautiful colors */

/* Card 1: Permohonan Informasi - Emerald Green Gradient */
.quick-access-item:nth-child(1) .quick-access-card {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

.quick-access-item:nth-child(1) .quick-access-card:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.4) !important;
}

/* Card 2: Pengajuan Keberatan - Vibrant Orange Gradient */
.quick-access-item:nth-child(2) .quick-access-card {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(249, 115, 22, 0.3) !important;
}

.quick-access-item:nth-child(2) .quick-access-card:hover {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%) !important;
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.4) !important;
}

/* Card 3: Lapor - Rose Red Gradient */
.quick-access-item:nth-child(3) .quick-access-card {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(225, 29, 72, 0.3) !important;
}

.quick-access-item:nth-child(3) .quick-access-card:hover {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%) !important;
    box-shadow: 0 20px 40px rgba(225, 29, 72, 0.4) !important;
}

/* Card 4: Survey Kepuasan - Indigo Purple Gradient */
.quick-access-item:nth-child(4) .quick-access-card {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
}

.quick-access-item:nth-child(4) .quick-access-card:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4) !important;
}

/* Hover effects */
.quick-access-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Icon styling */
.quick-access-card i {
    opacity: 0.9 !important;
    transition: all 0.4s ease !important;
    margin-bottom: 1rem !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.quick-access-card:hover i {
    opacity: 1 !important;
    transform: scale(1.1) rotate(5deg) !important;
}

/* Text styling */
.quick-access-card h5 {
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
    font-size: 1.2rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.quick-access-card p {
    margin-bottom: 0 !important;
    opacity: 0.95 !important;
    line-height: 1.5 !important;
    font-size: 0.95rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

/* Section title styling */
.quick-access-section .section-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 0.5rem !important;
}

.quick-access-section .section-subtitle {
    font-size: 1.1rem !important;
    opacity: 0.9 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* ===== RESPONSIVE QUICK ACCESS ===== */
@media (max-width: 992px) {
    .quick-access-card {
        min-height: 180px !important;
        padding: 1.5rem !important;
    }

    .quick-access-card i {
        font-size: 2.5rem !important;
    }

    .quick-access-card h5 {
        font-size: 1.1rem !important;
    }

    .quick-access-card p {
        font-size: 0.9rem !important;
    }

    .quick-access-section .section-title {
        font-size: 2rem !important;
    }
}

@media (max-width: 768px) {
    .quick-access-section {
        padding: 3rem 0 !important;
    }

    .quick-access-card {
        min-height: 160px !important;
        padding: 1.25rem !important;
    }

    .quick-access-card i {
        font-size: 2.2rem !important;
        margin-bottom: 0.75rem !important;
    }

    .quick-access-card h5 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }

    .quick-access-card p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    .quick-access-section .section-title {
        font-size: 1.8rem !important;
    }

    .quick-access-section .section-subtitle {
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .quick-access-section .row.g-4 {
        gap: 1rem !important;
    }

    .quick-access-section .col-lg-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .quick-access-card {
        min-height: 140px !important;
        padding: 1rem !important;
    }

    .quick-access-card i {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }

    .quick-access-card h5 {
        font-size: 0.95rem !important;
        margin-bottom: 0.4rem !important;
    }

    .quick-access-card p {
        font-size: 0.8rem !important;
    }

    .quick-access-section .section-title {
        font-size: 1.6rem !important;
    }

    .quick-access-section .section-subtitle {
        font-size: 0.95rem !important;
    }
}

/* ===== ANIMATION ENHANCEMENTS ===== */
@keyframes quickAccessFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.quick-access-card {
    animation: quickAccessFloat 6s ease-in-out infinite;
}

.quick-access-item:nth-child(1) .quick-access-card {
    animation-delay: 0s;
}

.quick-access-item:nth-child(2) .quick-access-card {
    animation-delay: 1.5s;
}

.quick-access-item:nth-child(3) .quick-access-card {
    animation-delay: 3s;
}

.quick-access-item:nth-child(4) .quick-access-card {
    animation-delay: 4.5s;
}

/* Pause animation on hover */
.quick-access-card:hover {
    animation-play-state: paused;
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
/* Focus states for better keyboard navigation */
.quick-access-card:focus {
    outline: 3px solid rgba(255, 255, 255, 0.8) !important;
    outline-offset: 2px !important;
    transform: translateY(-5px) !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .quick-access-card {
        border: 2px solid rgba(255, 255, 255, 0.8) !important;
    }

    .quick-access-card h5,
    .quick-access-card p {
        text-shadow: none !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .quick-access-card {
        animation: none !important;
        transition: none !important;
    }

    .quick-access-card:hover {
        transform: none !important;
    }

    .quick-access-card:hover i {
        transform: none !important;
    }
}

/* ===== ADDITIONAL VISUAL ENHANCEMENTS ===== */
/* Add subtle glow effect */
.quick-access-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.quick-access-card:hover::after {
    opacity: 1;
}

/* ===== SPECIAL EFFECTS FOR EACH CARD ===== */

/* Card 1: Emerald - Add subtle shine effect */
.quick-access-item:nth-child(1) .quick-access-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.quick-access-item:nth-child(1) .quick-access-card:hover::before {
    opacity: 1;
    animation: shine 1.5s ease-in-out;
}

/* Card 2: Orange - Add pulse glow */
.quick-access-item:nth-child(2) .quick-access-card {
    position: relative;
}

.quick-access-item:nth-child(2) .quick-access-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.quick-access-item:nth-child(2) .quick-access-card:hover::before {
    opacity: 0.3;
    animation: pulse 2s infinite;
}

/* Card 3: Rose Red - Add ripple effect */
.quick-access-item:nth-child(3) .quick-access-card {
    overflow: hidden;
}

.quick-access-item:nth-child(3) .quick-access-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.quick-access-item:nth-child(3) .quick-access-card:hover::after {
    width: 300px;
    height: 300px;
}

/* Card 4: Indigo - Add gradient shift */
.quick-access-item:nth-child(4) .quick-access-card {
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.5; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== ICON STYLING FOR EACH CARD ===== */

/* Card 1: Emerald - File icon with bounce */
.quick-access-item:nth-child(1) .quick-access-card i {
    color: #ffffff !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.quick-access-item:nth-child(1) .quick-access-card:hover i {
    animation: bounce 0.6s ease;
}

/* Card 2: Orange - Exclamation with shake */
.quick-access-item:nth-child(2) .quick-access-card i {
    color: #ffffff !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.quick-access-item:nth-child(2) .quick-access-card:hover i {
    animation: shake 0.5s ease;
}

/* Card 3: Rose Red - Bullhorn with pulse */
.quick-access-item:nth-child(3) .quick-access-card i {
    color: #ffffff !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.quick-access-item:nth-child(3) .quick-access-card:hover i {
    animation: iconPulse 0.8s ease;
}

/* Card 4: Indigo - Smile with wiggle */
.quick-access-item:nth-child(4) .quick-access-card i {
    color: #ffffff !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.quick-access-item:nth-child(4) .quick-access-card:hover i {
    animation: wiggle 0.7s ease;
}

/* Icon animations */
@keyframes bounce {
    0%, 20%, 60%, 100% { transform: translateY(0) scale(1); }
    40% { transform: translateY(-10px) scale(1.1); }
    80% { transform: translateY(-5px) scale(1.05); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

/* ===== BACKGROUND IMAGE VISIBILITY ENHANCEMENT ===== */
/* Ensure background image is visible throughout the site */
body {
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Reduce card opacity to show background */
.card,
.card-body {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

/* Navbar transparency */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* Main content areas */
.container,
.main-content {
    background: transparent !important;
}

/* Section backgrounds */
section:not(.quick-access-section):not(.footer) {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    border-radius: 1rem !important;
    margin: 1rem 0 !important;
    padding: 2rem !important;
}

/* Hero section transparency */
.hero-section {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

/* News and content sections */
.news-section,
.stats-section,
.gallery-youtube-section {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

/* Ensure text readability on transparent backgrounds */
.card h1, .card h2, .card h3, .card h4, .card h5, .card h6,
section h1, section h2, section h3, section h4, section h5, section h6 {
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8) !important;
}

.card p, .card span, .card div,
section p, section span, section div {
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6) !important;
}

/* Mobile adjustments for background visibility */
@media (max-width: 768px) {
    .card,
    .card-body {
        background: rgba(255, 255, 255, 0.95) !important;
    }

    section:not(.quick-access-section):not(.footer) {
        background: rgba(255, 255, 255, 0.9) !important;
        margin: 0.5rem 0 !important;
        padding: 1rem !important;
    }
}

/* ===== FORCE BACKGROUND IMAGE VISIBILITY ===== */
/* Override any CSS that might hide the background */
html, body {
    background-color: transparent !important;
}

/* Ensure body background image is always visible */
body {
    background-image: url('../images/default-background.svg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    min-height: 100vh !important;
}

/* Reduce all overlay opacities */
body::before {
    background: rgba(255, 255, 255, 0.25) !important;
    z-index: -1 !important;
}

body::after {
    opacity: 0.3 !important;
    z-index: -1 !important;
}

/* Make sure content is readable but background is visible */
.container-fluid,
.container {
    background: transparent !important;
}

/* Page wrapper transparency */
#page-wrapper,
.page-wrapper,
.main-wrapper {
    background: transparent !important;
}

/* Content sections with subtle transparency */
.content-section,
.main-content,
.page-content {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    border-radius: 1rem !important;
    margin: 1rem 0 !important;
    padding: 1.5rem !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

/* Ensure background image loads properly */
@media (min-width: 1px) {
    body {
        background-image: url('../images/default-background.svg') !important;
    }
}

/* Add loading state for better UX */
.quick-access-card {
    opacity: 0;
    animation: quickAccessFadeIn 0.6s ease-out forwards, quickAccessFloat 6s ease-in-out infinite;
}

@keyframes quickAccessFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
