﻿/* Basic CSS for the slider functionality */
.cards-wrapper {
    display: flex; /* Arrange cards in a row */
    transition: transform 0.8s ease-in-out; /* Smooth transition for sliding, adjusted for auto-play */
}

.slider-container {
    overflow: hidden; /* Hide cards that are out of view */
    position: relative; /* For button positioning if needed */
    cursor: grab; /* Add cursor styling to indicate interactivity */
}

    .slider-container:active {
        cursor: grabbing;
    }

/* Important: Override grid-row behavior for the slider functionality */
/* Ensure flex for sliding and prevent wrapping */
.fr-grid-row.cards-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

/* Card Item Styling */
.card-item {
    flex-shrink: 0; /* Prevent cards from shrinking */
    padding: 20px;
    box-sizing: border-box; /* Include padding in the element's total width */
    transition: all 0.3s ease-in-out; /* Smooth transitions for hover effects */
}

.fr-card {
    overflow: hidden; /* Ensures content respects border-radius */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    height: 100%; /* Ensure cards take full height of their container */
    display: flex; /* Use flexbox for internal alignment */
    flex-direction: column; /* Stack content vertically */
    /* --- NEW BORDER STYLES --- */
    /* Ensure transition also applies to border-color if you change it on hover */
    transition: all 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.useful-link-fr-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* More pronounced shadow on hover */
    border-color: #c0c0c0; /* Slightly darker border on hover for subtle feedback */
}

.fr-card__body {
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    min-height: 100px; /* Minimum height for the card body to accommodate images */
    padding: 1.5rem; /* More generous padding */
}

    .fr-card__body img {
        display: block; /* Remove extra space below image */
        max-width: 100%; /* Ensure image fits within its container */
        height: auto; /* Maintain aspect ratio */
        max-height: 70px; /* Slightly increase max-height for logos */
        object-fit: contain; /* Ensure the image fits without cropping */
    }

/* Responsive Card Widths */
/* Mobile: 2 cards per view */

.card-item {
    flex: 0 0 calc(100% / 2);
    max-width: calc(100% / 2);
}



.home-welcome-readmore {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.countdown-background-img {
    background: #f7f7f7;
    max-width: 100vw;
}

.countdown-container {
    margin: 0 auto;
    padding: 2rem 0rem ;
    text-align: center;
}

    .countdown-container h3 {
        font-weight: 600;
        margin-bottom: 1rem;
        color: var(--fr-dark);
        letter-spacing:.5px;
    }



.count-text {
    color: #4e6173 !important;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.event-time-local {
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.5rem;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.counter-content .countdown {
    text-align: center;
    display: flex;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

    .counter-content .countdown li {
        list-style: none;
        flex-basis: 150px;
    }




        .counter-content .countdown li:nth-child(2) span {
            background: var(--fr-purple);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .counter-content .countdown li:nth-child(3) span {
            background: var(--fr-purple);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .counter-content .countdown li:nth-child(4) span {
            background: var(--fr-purple);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

.text-small {
    font-size: .85em;
    border-bottom: 2px solid transparent !important;
    padding: 0 2px;
    font-weight:600!important;
}

    .text-small:hover {
        border-bottom: 2px solid var(--fr-purple) !important;
    }
.menu-items {
    min-width: 55px;
}

/* Tablet/Medium screens: 3 cards per view */

/* Laptop/Large screens: 4 cards per view */

/* Desktop/Extra Large screens: 5 cards per view */


/*.home-hero {
    position: relative;
    background-image: url('/images/Kbach-1.png'), url('/images/Kbach-2.png');
    background-position: 1% 5%, 99% 5%;
    background-repeat: no-repeat, no-repeat;
    background-size: auto 90%, auto 90%;
    background-color: #fff;
    z-index: 1;
}*/
.more-btn {
    border: 1px solid var(--fr-purple);
    border-radius: 2px!important;
    color: var(--fr-purple);
    font-size:.8em;
}
    .more-btn:hover {
        background-color: rgba(var(--fr-purple-rgb), 0.06);
        border-color: var(--fr-purple);
        color: var(--fr-purple);
    }
#moreText.fade-text-container,
#moreText.fade-text-container * {
    color: #2f3742 !important;
}

.home-welcome-title {
    width: 100%;
}

.home-welcome-title p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--fr-dark);
    line-height: 1.65;
    letter-spacing: 0;
}

.home-welcome-copy {
    max-width: 1080px;
    padding-top: 0.35rem;
}

.fade-text-container.expanded {
    overflow: visible !important;
}

.font-moul {
    font-family: 'Moul', sans-serif;
    letter-spacing: 1.5px;
    font-size: 1.3em;
}

.font-moul p {
    line-height: 1.8;
}

.font-default p {
    line-height: 1.7;
}

.home-welcome-copy .fade-text-container {
    max-width: 940px;
    max-height: 3.45em;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.72;
    opacity: 1;
    transform: translateY(0);
    transition: max-height 0.35s ease, color 0.25s ease;
}

.home-welcome-copy .fade-text-container p {
    margin: 0 auto;
}

.home-welcome-copy .fade-text-container::after {
    height: 1.6rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 82%);
}

.home-welcome-actions {
    margin-top: 1.2rem !important;
}

#readMoreBtn.more-btn {
    min-width: 128px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    padding: 0.48rem 1.05rem;
    border: 1px solid rgba(var(--fr-purple-rgb), 0.58);
    border-radius: 4px;
    background: #fff;
    color: var(--fr-purple);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1;
    box-shadow: none;
    transition: none;
}

#readMoreBtn.more-btn i {
    font-size: 0.75em;
    line-height: 1;
}

#readMoreBtn.more-btn:hover,
#readMoreBtn.more-btn:focus {
    background-color: rgba(var(--fr-purple-rgb), 0.07);
    border-color: var(--fr-purple);
    color: var(--fr-purple);
    box-shadow: none;
}

#moreText.fade-text-container.expanded,
#moreText.fade-text-container.expanded * {
    max-height: 2000px !important;
    opacity: 1 !important;
    color: #2f3742 !important;
    transform: translateY(0);
}

.meeting-background {
    background-color: transparent;
}

.event-section .nav-tabs {
    border: 0;
}

.event-section .nav-tabs.flat-tabs .nav-link:focus,
.event-section .nav-tabs.flat-tabs .nav-link:focus-visible {
    box-shadow: none;
    outline: 0;
}

.event-section .tab-content .tab-pane {
    padding-top: 1.5rem;
}

.event-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f7f7f7 100%);
    position: relative;
    padding: 50px 0 100px;
}

.event-section::before {
    content: " ";
    width: 100%;
    height: 70px;
    position: absolute;
    bottom: 0;
    background-image: url(/images/event-bottom.svg);
    background-size: cover;
    background-position: center;
}

.event-tab-panel {
    background: #f7f7f7;
    padding: 5px 25px !important;
}

.meeting-list-container {
    max-width: 100% !important;
}

.meeting-box {
    margin: 6px 0;
}

.meeting-box .card {
    border-width: 2px;
    border-radius: 5px !important;
    margin: 0 !important;
}

.row-title-news {
    font-weight: bold;
    margin: 5px 10px 0 !important;
    color: var(--fr-purple);
    overflow: hidden;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-align: left;
    font-size: 1em;
    line-height: 2.2em;
}

.meeting-box:hover .card * {
    cursor: pointer;
    background: #f5f5fe;
}

.meeting-element-icon {
    color: var(--fr-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    height: 26px !important;
    line-height: 1;
    width: 26px !important;
}

.summit-section {
    background: white;
    position: relative;
    z-index: 1;
}

.summit-card {
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    transition: all 0.35s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    padding: 35px 20px;
}

.summit-cards > div {
    --card-accent: var(--fr-yellow);
}

.summit-cards > div:nth-child(2) {
    --card-accent: var(--fr-green);
}

.summit-cards > div:nth-child(3) {
    --card-accent: var(--fr-cyan);
}

.summit-cards > div:nth-child(4) {
    --card-accent: var(--fr-red);
}

.summit-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--card-accent);
    opacity: 0.9;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    margin-bottom: 16px;
}

.summit-icon {
    font-size: 2.3rem;
    color: var(--fr-purple);
    transition: transform 0.3s ease, color 0.3s ease;
}

.summit-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.3rem;
}

.summit-card h6 {
    font-size: 0.90rem;
    color: #666;
    line-height: 1.4;
}

.partner-card {
    min-width: 220px;
    height: 160px;
    border: 0;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.partner-card img {
    max-height: 80px;
    transition: transform 0.3s;
}

.partner-card:hover img {
    transform: scale(1.05);
}

.single-card {
    max-width: 220px;
}

.transition-transform {
    transition: transform 0.6s ease;
    will-change: transform;
}

.brand-title {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.brand-title::before,
.brand-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 36%;
    height: 1px;
    background-color: #ddd;
    transform: translateY(-50%);
}

.brand-title::before {
    left: 0;
}

.brand-title::after {
    right: 0;
}

#sliderContainer {
    overflow-x: hidden;
}

#cardsWrapper {
    max-width: 100vw;
}
