.logo-limited {
    max-width: 350px; /* Limit the maximum width */
    max-height: 150px; /* Limit the maximum height */
    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 */
}
.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: inherit; /* Inherit color from parent (set to primary color) */
    transition: color 0.3s; /* Add a transition effect for hover */
}

.social-icons i:hover {
    color: #333; /* Change color on hover (you can adjust this) */
}

.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;
    }
}

