/* Container styling */
.shop-by-category .row {
    display: flex;
    flex-wrap: wrap;
}

/* Individual product styling */
.category-item {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background-color: #fff;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.category-item:hover {
    transform: scale(1.05);
}

/* Image styling */
.product-image {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

/* Product title styling */
.product-title {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 10px;
}

/* Product price styling */
.product-price {
    font-size: 0.9rem;
    color: #333;
    margin-top: 5px;
}

/* Button styling */
.earn-points-btn {
    background-color: #b6f758;
    color: #333;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.earn-points-btn:hover {
    background-color: #a0e53c;
}

/* Overlay styling */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-item:hover .overlay {
    opacity: 1;
}

/* View Product button styling */
.view-product-btn {
    background-color: #fff;
    color: #333;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

.view-product-btn:hover {
    background-color: #e0e0e0;
}

.custom-bg {
    background-color: #2B2D41 !important;
}
.button-bg1 {
    background-color: #D80027 !important;
}
.topic-color{
    color:#D80027 !important;
}

.site-section {
    padding: 20px;
}

.topic-color {
    color: #e63946; /* Adjust color as needed */
    font-weight: bold;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-right: 20px;
}

.contact-info h2 {
    color: #e63946;
    font-weight: bold;
}

.contact-info p {
    margin: 0;
    margin-bottom: 10px;
    color: #555;
}

.form-control {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 5px;
}

textarea.form-control {
    height: 150px;
}

.btn-danger {
    background-color: #e63946;
    border: none;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}

.btn-danger:hover {
    background-color: #d32f2f;
}

@media (max-width: 768px) {
    .contact-info {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .text-right {
        text-align: center;
    }
}

/* FAQ Section Styling */
.faq-section {
    width: 80%;
    max-width: 600px;
    margin: 20px auto;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 15px;
    font-weight: bold;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: background 0.3s;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-icon {
    font-size: 18px;
    transition: transform 0.3s;
    color: #e63946;
}

.faq-answer {
    display: none;
    padding: 10px 15px;
    color: #666;
    font-size: 14px;
}

.faq-question.active + .faq-answer {
    display: block;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg); /* Rotates '+' to '×' when expanded */
}
