/* html */
h3 {
    font-size:20px;
    margin-top: 10px;
}

html {
    scroll-padding-top: 280px;
}

 /* Custom Button Styles */
 .btn-outline-brown {
    color: #7e2fda;
    border-color: #7e2fda;
}
.btn-outline-brown:hover {
    color: #fff;
    background-color: #7e2fda;
}

/* Enhanced Card Hover Effects */
.list-group-item-action:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Gallery Item Hover Effect */
.gallery-item .card-img-overlay {
    opacity: 0;
    background-color: rgba(0,0,0,0.5) !important;
    transition: all 0.3s ease;
}

.gallery-item:hover .card-img-overlay {
    opacity: 1;
}

.gallery-item:hover .text-white {
    opacity: 1 !important;
}

.gallery-item .card {
    transition: transform 0.3s ease;
}

.gallery-item:hover .card {
    transform: scale(1.03);
}

/* Rounded Elements */
.rounded-4 {
    border-radius: 0.5rem !important;
}

/* Improved Accordion Styling */
.faq-accordion .faq-item {
    border-radius: 6px;
    overflow: hidden;
}

.faq-button {
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.faq-button:focus {
    outline: none;
}

.transition-icon {
    transition: transform 0.3s ease;
}

.faq-button.collapsed .fa-chevron-up {
    transform: rotate(180deg);
}

/* Add animations for collapse */
.collapse {
    transition: height 0.3s ease;
}

/* Keep header and body connected visually */
.faq-header, .faq-body {
    margin: 0;
}

/* Social Button Styling */
.btn-like, .btn-circle {
    background-color: rgba(45, 92, 163, 0.8);
    color: white;
    transition: all 0.3s ease;
}
.btn-like:hover, .btn-circle:hover {
    background-color: #7e2fda;
    transform: translateY(-2px);
}

/* Tag Hover Effect */
.badge {
    transition: all 0.2s ease;
}
a.badge:hover {
    transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    width: 40px;
    height: 40px;
    background-color: #7e2fda;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    z-index: 99;
}
.back-to-top:hover {
    background-color: #7e2fda;
}

/* Alert Message Styling */
.alert-message {
    transition: all 0.3s ease;
}
.alert-message.show {
    opacity: 1;
    transform: translateY(0);
}
.alert-message.hide {
    opacity: 0;
    transform: translateY(-10px);
}

@media (max-width: 767px) {
    .titre-article-mobile {
        font-size: 12px !important;
    }
}