/* Active Nav Link Override */
.nav-link.active {
    color: var(--primary, #820000) !important;
}

.nav-link.active::after {
    width: 100% !important;
}

/* Support Page Specific Styles */
.support-options {
    padding: 80px 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.support-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--primary, #820000);
}

.support-card .card-icon {
    background-color: #f8f9fa;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.support-card:hover .card-icon {
    background-color: var(--primary, #820000);
    transform: scale(1.1);
}

.support-card .card-icon i {
    font-size: 2rem;
    color: var(--primary, #820000);
    transition: color 0.3s ease;
}

.support-card:hover .card-icon i {
    color: white;
}

.support-card h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
}

.support-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.faq-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--primary, #820000);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary, #820000);
    background-color: #f8f9fa;
}

.faq-question i {
    transition: all 0.3s ease;
    color: var(--primary, #820000);
    font-size: 1.2rem;
}

.faq-question.active {
    color: var(--primary, #820000);
    background-color: #f8f9fa;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #666;
    line-height: 1.7;
}

.faq-answer.show {
    padding: 0 25px 25px;
    max-height: 500px;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.resources-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.resource-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--primary, #820000);
}

.resource-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.resource-card:hover img {
    transform: scale(1.05);
}

.resource-content {
    padding: 25px;
}

.resource-content h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}

.resource-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Support Page Responsive Adjustments */
@media (max-width: 992px) {
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .support-options {
        margin-top: 50px;
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    .support-options {
        margin-top: 50px;
    }
    .support-options,
    .faq-section,
    .resources-section {
        padding: 60px 0;
    }
    
    .support-card {
        padding: 30px 20px;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }
    
    .faq-answer.show {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .support-card {
        padding: 25px 15px;
    }
    
    .support-card .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .support-card .card-icon i {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 0.95rem;
    }
    
    .faq-answer.show {
        padding: 0 15px 15px;
    }
    
    .resource-content {
        padding: 20px;
    }
}
/* Popup Styles */
.popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .popup-overlay.active {
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 1;
        }

        .popup-content {
            background: rgba(255, 255, 255, 0);
            border-radius: 15px;
            max-width: 90%;
            max-height: 90%;
            position: relative;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }

        .popup-overlay.active .popup-content {
            transform: scale(1);
        }

        .popup-header {
            padding: 20px 25px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background:#820000;
            color: white;
            border-radius: 15px 15px 0 0;
        }

        .popup-header h2 {
            margin: 0;
            font-size: 20px;
            font-weight: 600;
        }

        .close-btn {
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s ease;
        }

        .close-btn:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

        .popup-body {
            padding: 0;
            max-height: 70vh;
            overflow-y: auto;
            border-radius: 0 0 15px 15px;
        }

        .popup-body::-webkit-scrollbar {
            width: 8px;
        }

        .popup-body::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .popup-body::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 10px;
        }

        .popup-body::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #5a6fd8, #6a4296);
        }

        .guide-image {
            width: 100%;
            max-width: 800px;
            height: auto;
            display: block;
            margin: 20px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .image-caption {
            text-align: center;
            color: #ffffff;
            font-size: 14px;
            margin: 10px 20px 20px;
            font-style: italic;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .popup-content {
                max-width: 95%;
                max-height: 95%;
            }
            
            .popup-header {
                padding: 15px 20px;
            }
            
            .popup-header h2 {
                font-size: 18px;
            }
        }