/* ============================================
   ORGANISM SHOW PAGE - CLEANED & MERGED CSS
   ============================================ */

/* Page Background Colors */
.bg-light {
    background-color: #f8f9fa !important;
}

.bg-white {
    background-color: #ffffff !important;
}

.bg-primary {
    background-color: #886ab5 !important;
}

.bg-primary-dark {
    background-color: #6d4e9d !important;
}

/* Gradient Backgrounds */
.bg-gradient-to-br {
    background: linear-gradient(to bottom right, var(--tw-gradient-stops)) !important;
}

.from-primary {
    --tw-gradient-from: #886ab5 !important;
    --tw-gradient-to: rgb(136 106 181 / 0) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.to-primary-dark {
    --tw-gradient-to: #6d4e9d !important;
}

/* Text Colors */
.text-primary {
    color: #886ab5 !important;
}

.text-white {
    color: #ffffff !important;
}

.text-gray-600 {
    color: #6b7280 !important;
}

/* Layout Spacing */
.py-16 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.py-20 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.mb-12 {
    margin-bottom: 3rem !important;
}

.mb-4 {
    margin-bottom: 1rem !important;
}

.mb-6 {
    margin-bottom: 1.5rem !important;
}

.mb-8 {
    margin-bottom: 2rem !important;
}

.mb-3 {
    margin-bottom: 0.75rem !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.w-24 {
    width: 6rem !important;
}

.h-1 {
    height: 0.25rem !important;
}

.opacity-80 {
    opacity: 0.8 !important;
}

.max-w-2xl {
    max-width: 42rem !important;
}

.g-4 {
    --bs-gutter-x: 1.5rem !important;
    --bs-gutter-y: 1.5rem !important;
}

.mt-12 {
    margin-top: 3rem !important;
}

/* ============================================
   HERO SECTION STYLES
   ============================================ */

.hero-section {
    padding: 4rem 0;
    background: #ffffff;
}

.hero-section .logo-container {
    position: relative;
    display: inline-block;
}

.logo-limited {
    max-width: 400px;
    height: auto;
    object-fit: contain;
}

/* Hero section specific logo styling */
.hero-section .logo-limited {
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
    border: 3px solid rgba(255,255,255,0.8);
}

.hero-section .logo-limited:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.hero-section .display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #886ab5;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.hero-section .social-icons-section {
    margin-top: 1.5rem;
}

.hero-section .social-title {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #495057;
    margin-bottom: 1.5rem;
}

.hero-section .social-icons {
    justify-content: center;
}

.hero-section .social-icon-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0 6px;
    border-radius: 50%;
    border: 2px solid transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.hero-section a[target].social-icon-link {
    text-decoration: none !important;
}

/* Social Media Brand Colors */
.hero-section .social-icon-link.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
    color: white;
    border-color: #1877f2;
}

.hero-section .social-icon-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: #e4405f;
}

.hero-section .social-icon-link.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #e60000 100%);
    color: white;
    border-color: #ff0000;
}

.hero-section .social-icon-link.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #1991db 100%);
    color: white;
    border-color: #1da1f2;
}

.hero-section .social-icon-link.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
    color: white;
    border-color: #0077b5;
}

.hero-section .social-icon-link.google {
    background: linear-gradient(135deg, #4285f4 0%, #357ae8 100%);
    color: white;
    border-color: #4285f4;
}

/* Hover Effects */
.hero-section .social-icon-link:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.hero-section .social-icon-link.facebook:hover {
    box-shadow: 0 16px 40px rgba(24, 119, 242, 0.5);
}

.hero-section .social-icon-link.instagram:hover {
    box-shadow: 0 16px 40px rgba(228, 64, 95, 0.5);
}

.hero-section .social-icon-link.youtube:hover {
    box-shadow: 0 16px 40px rgba(255, 0, 0, 0.5);
}

.hero-section .social-icon-link.twitter:hover {
    box-shadow: 0 16px 40px rgba(29, 161, 242, 0.5);
}

.hero-section .social-icon-link.linkedin:hover {
    box-shadow: 0 16px 40px rgba(0, 119, 181, 0.5);
}

.hero-section .social-icon-link.google:hover {
    box-shadow: 0 16px 40px rgba(66, 133, 244, 0.5);
}

.hero-section .social-icon-link i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.hero-section .social-icon-link:hover i {
    transform: scale(1.15);
}

.hero-section .content-section {
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   OTHER COMPONENT STYLES
   ============================================ */

.certification-limited {
    max-width: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 25px;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.social-icons i {
    font-size: 30px;
    margin: 0 10px;
    color: #ffffff;
    transition: color 0.3s;
    opacity: 0.9;
}

.social-icons i:hover {
    color: #f8f9fa;
    opacity: 1;
    transform: translateY(-3px) scale(1.15);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
}

.intro h1,h2,h3,h4,h5,h6,ol,ul,li{
    font-size: initial;
}

.intro ol {
    list-style-type: decimal;
    margin-left: 0;
    list-style-position: inside;
}

.intro ul {
    list-style-type: disc;
    margin-left: 0;
    list-style-position: inside;
}

li {
    position: relative;
}

.card-img-top {
    width: 80%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius:25px;
}

.card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.image-container{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
    background: transparent !important;
    top: 40px;
    transform: translateY(-50%);
    opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    color: black;
    font-size: 2rem;
}

.carousel-control-prev-icon::after {
    content: '‹';
}

.carousel-control-next-icon::after {
    content: '›';
}

.logo-box {
    height: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-wrapper {
    flex: 0 0 auto;
    margin: 2px;
}

/* Trusted Clients Styles */
.trusted-clients-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trusted-clients-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.trusted-clients-scroll::-webkit-scrollbar {
    display: none;
}

.scroll-btn {
    background: #886AB5;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
}

.scroll-btn:hover {
    background: #6d4e9d;
    transform: scale(1.1);
}

.scroll-btn:active {
    transform: scale(0.95);
}

.scroll-btn i {
    font-size: 1.2rem;
}

.trusted-clients-logo-wrapper {
    display: inline-block;
    vertical-align: middle;
}

.trusted-clients-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 80px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.trusted-clients-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Qualiopi Display Styles */
.qualiopi-display-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    display: block;
}

.qualiopi-display-img {
    width: 100%;
    height: auto;
    display: block;
}

.qualiopi-display-img-standalone {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
}

.qualiopi-display-container img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.qualiopi-display-container .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(135deg, rgba(136, 106, 181, 0.85) 0%, rgba(103, 77, 154, 0.85) 100%);
    color: #fff;
    text-align: center;
    padding: 0;
    font-weight: 600;
    font-size: 1.1rem;
    user-select: none;
    opacity: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.qualiopi-display-container:hover .overlay {
    opacity: 1;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(136, 106, 181, 0.3);
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.overlay-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.overlay-icon {
    font-size: 1.5rem;
    animation: bounce-infinite 2s infinite;
}

@keyframes bounce-infinite {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* ============================================
   QUALIOPI CERTIFICATE HOVER FIXES
   ============================================ */

/* Ensure Qualiopi overlay is properly positioned */
.qualiopi-display-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.qualiopi-display-container .overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(136, 106, 181, 0.85) 0%, rgba(103, 77, 154, 0.85) 100%) !important;
    color: #fff !important;
    text-align: center !important;
    padding: 0 !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    user-select: none !important;
    opacity: 0 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.qualiopi-display-container:hover .overlay {
    opacity: 1 !important;
    transform: scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(136, 106, 181, 0.3) !important;
}

.overlay-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
}

.overlay-text {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 5px !important;
}

.overlay-icon {
    font-size: 1.5rem !important;
    animation: bounce-infinite 2s infinite !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }

    .hero-section .display-4 {
        font-size: 2.2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .hero-section .logo-limited {
        max-width: 280px !important;
    }

    .hero-section .social-icon-link {
        width: 45px;
        height: 45px;
        margin: 0 3px;
    }

    .hero-section .social-icon-link:hover {
        transform: translateY(-6px) scale(1.05);
    }

    .hero-section .social-icon-link i {
        font-size: 1.2rem;
    }

    .scroll-btn {
        width: 35px;
        height: 35px;
    }

    .trusted-clients-logo-box {
        min-width: 120px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 1.5rem 0;
    }

    .hero-section .display-4 {
        font-size: 1.8rem;
    }

    .hero-section .logo-limited {
        max-width: 220px !important;
    }

    .hero-section .social-icon-link {
        width: 40px;
        height: 40px;
        margin: 0 2px;
    }

    .hero-section .social-icon-link:hover {
        transform: translateY(-4px) scale(1.05);
    }

    .hero-section .social-icon-link i {
        font-size: 1.1rem;
    }
}
.certification-limited {
    max-width: 300px; /* Limit the maximum width */
    width: auto; /* Allow the browser to adjust the width based on height */
    height: auto; /* Allow the browser to adjust the height based on width */
    object-fit: contain; /* Maintain the aspect ratio of the logo */
    display: block; /* Make the image a block element */
    margin: 0 auto; /* Center the image horizontally */
    border-radius: 25px;
}
.social-icons {
    display: flex; /* Use flexbox to align items in a row */
    justify-content: center; /* Center the icons horizontally */
    margin-top: 20px; /* Add some space above the icons */
    flex-wrap: wrap; /* Allow items to wrap onto the next line */
    gap: 15px; /* Optional: Add space between items */
}

    .social-icons i {
        font-size: 30px; /* Set the size of the icons */
        margin: 0 10px; /* Add space between the icons */
        color: #ffffff; /* White color for hero section */
        transition: color 0.3s; /* Add a transition effect for hover */
        opacity: 0.9; /* Slight transparency by default */
    }

.social-icons i:hover {
    color: #f8f9fa; /* Near white on hover */
    opacity: 1; /* Full opacity on hover */
    transform: translateY(-3px) scale(1.15); /* Lift and enlarge effect */
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); /* Add depth with shadow */
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3)); /* Glowing effect */
}


/* Mobile responsive for social icons */
@media (max-width: 768px) {
    .social-icons {
        margin-top: 15px;
        gap: 15px !important;
        justify-content: center !important;
    }

    .social-icons i {
        font-size: 24px;
        margin: 0 8px;
    }

    .social-icons i:hover {
        color: #f8f9fa; /* Near white on hover for mobile */
        opacity: 1;
        transform: translateY(-2px) scale(1.1); /* Reduced effect for mobile */
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow for mobile */
    }
}

.intro h1,h2,h3,h4,h5,h6,ol,ul,li{
    font-size: initial; /* Resets to the default size */
}
/* Add styles for ordered and unordered lists */
.intro ol {
    list-style-type: decimal; /* Use decimal numbers for ordered lists */
    margin-left: 0;
    list-style-position: inside;
}

.intro ul {
    list-style-type: disc; /* Use bullet points for unordered lists */
    margin-left: 0;
    list-style-position: inside;
}

li {
    position: relative; /* Position relative for absolute positioning of markers */
}
.card-img-top {
    width: 80%; /* Make it responsive to the parent container */
    aspect-ratio: 1 / 1; /* Enforce a square shape */
    overflow: hidden; /* Hide overflow */
    display: flex; /* Enable flexbox for alignment */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    border-radius:25px;
}

.card-img-top img {
    width: 100%; /* Stretch image to fill container */
    height: 100%; /* Stretch height */
    object-fit: cover; /* Cover the entire container */
    object-position: center; /* Center the image */
    display: block; /* Remove any extra spacing */
}
.image-container{
    position: relative;
    display: flex;
    align-items: center; /* vertical centering */
    justify-content: center; /* horizontal centering if needed */
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
    background: transparent !important;
    top: 40px;
    transform: translateY(-50%);
    opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    color: black;
    font-size: 2rem;
}

.carousel-control-prev-icon::after {
    content: '‹';
}

.carousel-control-next-icon::after {
    content: '›';
}

.logo-box {
    height: 100px; /* fixed height */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* maintain aspect ratio without cropping */
}

.logo-wrapper {
    flex: 0 0 auto;
    margin: 2px;
}

/* Trusted Clients Styles - Moved from component */
.trusted-clients-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trusted-clients-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.trusted-clients-scroll::-webkit-scrollbar {
    display: none;
}

.scroll-btn {
    background: #886AB5;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
}

.scroll-btn:hover {
    background: #6d4e9d;
    transform: scale(1.1);
}

.scroll-btn:active {
    transform: scale(0.95);
}

.scroll-btn i {
    font-size: 1.2rem;
}

.trusted-clients-logo-wrapper {
    display: inline-block;
    vertical-align: middle;
}

.trusted-clients-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 80px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.trusted-clients-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Qualiopi Display Styles - Moved from component */
.qualiopi-display-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    display: block;
}

.qualiopi-display-img {
    width: 100%;
    height: auto;
    display: block;
}

.qualiopi-display-img-standalone {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
}

.qualiopi-display-container img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.qualiopi-display-container .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0; /* Cover the entire image */
    background: linear-gradient(135deg, rgba(136, 106, 181, 0.85) 0%, rgba(103, 77, 154, 0.85) 100%); /* Theme gradient background */
    color: #fff;
    text-align: center;
    padding: 0; /* Remove padding */
    font-weight: 600;
    font-size: 1.1rem; /* Slightly larger text */
    user-select: none;
    opacity: 0;
    border-radius: 8px; /* Match image border radius */
    transition: all 0.3s ease;
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    cursor: pointer;
}

.qualiopi-display-container:hover .overlay {
    opacity: 1;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(136, 106, 181, 0.3);
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.overlay-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.overlay-icon {
    font-size: 1.5rem;
    animation: bounce-infinite 2s infinite;
}

@keyframes bounce-infinite {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@media (max-width: 768px) {
    .scroll-btn {
        width: 35px;
        height: 35px;
    }
    
    .trusted-clients-logo-box {
        min-width: 120px;
        height: 60px;
    }
}

/* Trusted Clients Styles - Moved from component */
.trusted-clients-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trusted-clients-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.trusted-clients-scroll::-webkit-scrollbar {
    display: none;
}

.scroll-btn {
    background: #886AB5;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
}

.scroll-btn:hover {
    background: #6d4e9d;
    transform: scale(1.1);
}

.scroll-btn:active {
    transform: scale(0.95);
}

.scroll-btn i {
    font-size: 1.2rem;
}

.trusted-clients-logo-wrapper {
    display: inline-block;
    vertical-align: middle;
}

.trusted-clients-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 80px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.trusted-clients-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Qualiopi Display Styles - Moved from component */
.qualiopi-display-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    display: block;
}

.qualiopi-display-img {
    width: 100%;
    height: auto;
    display: block;
}

.qualiopi-display-img-standalone {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
}

.qualiopi-display-container img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.qualiopi-display-container .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0; /* Cover the entire image */
    background: linear-gradient(135deg, rgba(136, 106, 181, 0.85) 0%, rgba(103, 77, 154, 0.85) 100%); /* Theme gradient background */
    color: #fff;
    text-align: center;
    padding: 0; /* Remove padding */
    font-weight: 600;
    font-size: 1.1rem; /* Slightly larger text */
    user-select: none;
    opacity: 0;
    border-radius: 8px; /* Match image border radius */
    transition: all 0.3s ease;
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    cursor: pointer;
}

.qualiopi-display-container:hover .overlay {
    opacity: 1;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(136, 106, 181, 0.3);
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.overlay-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.overlay-icon {
    font-size: 1.5rem;
    animation: bounce-infinite 2s infinite;
}

@keyframes bounce-infinite {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@media (max-width: 768px) {
    .scroll-btn {
        width: 35px;
        height: 35px;
    }
    
    .trusted-clients-logo-box {
        min-width: 120px;
        height: 60px;
    }
}

/* ============================================
   QUALIOPI STANDALONE HOVER FIXES
   ============================================ */
/* ============================================
   QUALIOPI DISPLAY FIXES
   ============================================ */

.qualiopi-display-container-clickable {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    display: block;
    cursor: pointer;
}

.qualiopi-display-container-standalone {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    display: block;
}

.qualiopi-display-container-standalone .overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(136, 106, 181, 0.85) 0%, rgba(103, 77, 154, 0.85) 100%) !important;
    color: #fff !important;
    text-align: center !important;
    padding: 0 !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    user-select: none !important;
    opacity: 0 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.qualiopi-display-container-standalone:hover .overlay {
    opacity: 1 !important;
    transform: scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(136, 106, 181, 0.3) !important;
}
