.elementor-23679 .elementor-element.elementor-element-0e83f1f{--display:flex;}.elementor-23679 .elementor-element.elementor-element-0e83f1f .wcf-image-hover{background-image:url( https://eventumexhibitions.com/wp-content/plugins/elementor/assets/images/placeholder.png );}.elementor-23679 .elementor-element.elementor-element-5c6ae41 > .elementor-widget-container{margin:200px 0px 0px 50px;}@media(max-width:767px){.elementor-23679 .elementor-element.elementor-element-0e83f1f{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-23679 .elementor-element.elementor-element-5c6ae41 > .elementor-widget-container{margin:100px 0px 0px 0px;}}@media(min-width:768px){.elementor-23679 .elementor-element.elementor-element-0e83f1f{--width:100%;}}/* Start custom CSS for html, class: .elementor-element-5c6ae41 *//* --- GLOBAL & SECTION SETUP --- */
#projects-section {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    padding: 80px 20px; /* Default padding for larger screens */
    overflow: hidden;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 48px;
    color: #f2c75c;
    font-weight: 700;
    margin-bottom: 40px;
}

/* --- MAIN PROJECT DISPLAY --- */
.project-display-area {
    display: flex;
    flex-direction: column; /* Stacks items vertically */
    align-items: center;   /* Centers items horizontally */
    text-align: center;    /* Centers text inside elements */
    margin-bottom: 40px;
}

.project-large-image {
    max-width: 800px; /* Prevents image from becoming too wide */
    width: 100%;      /* Ensures it's responsive */
    margin-bottom: 30px; /* Space between image and button */
    position: relative;
    display: inline-block;
    padding: 0 30px; /* Default padding for desktop to ensure arrows have space */
    box-sizing: border-box; /* Include padding in the width calculation */
}

.project-large-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 4px solid #f2c75c; /* Default border for desktop */
}

/* Style for titles */
#project-sub-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 25px 0; /* Space between sub-title and image */
}

/* --- NAVIGATION ARROWS FOR MAIN IMAGE --- */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(242, 199, 84, 0.9);
    color: #000;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

/* Desktop arrow positioning: centered on the yellow border, relative to the padding */
.left-arrow {
    left: 0px; /* Position at the start of the padding */
}

.right-arrow {
    right: 0px; /* Position at the end of the padding */
}

.nav-arrow:hover {
    background-color: #ffffff;
}

.nav-arrow:active,
.nav-arrow:focus {
    background-color: #d4ac4e;
    outline: none;
}

/* --- CENTERED PROJECT NAVIGATION (MODIFIED) --- */
.project-navigation-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Increased space between buttons and text */
    margin-top: 20px;
    margin-bottom: 40px;
}

.cta-button.project-nav-btn {
    background-color: transparent; /* No background */
    color: #f2c75c; /* Gold text */
    text-decoration: none;
    padding: 15px 30px; /* Bigger padding */
    border-radius: 5px; /* Less rounded corners for a rectangular look */
    font-weight: 700; /* Bolder text */
    font-size: 18px; /* Bigger font size */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.2s ease; /* Transition for color */
    border: 2px solid #f2c75c; /* Gold border */
}

.cta-button.project-nav-btn:hover {
    background-color: #f2c75c; /* Gold background on hover */
    color: #000000; /* Black text on hover */
    transform: scale(1.05);
}

.projects-text {
    font-size: 24px;
    font-weight: 700;
    color: #f2c75c;
    letter-spacing: 2px;
}

/* --- THUMBNAIL SLIDER --- */
.project-slider-wrapper {
    background-color: #333333;
    border-radius: 20px;
    padding: 0; /* No padding on wrapper itself, track will handle inner spacing */
    display: flex;
    align-items: center;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    /* Explicit height for the wrapper to contain the track */
    height: 140px; /* Adjust this height as needed to fit thumbnails + desired top/bottom space */
}

.project-slider-track-container {
    flex-grow: 1;
    overflow: hidden; /* This keeps the slider track content within its bounds */
    height: 100%; /* Make track container take full height of wrapper */
    display: flex; /* Make it a flex container to center the track */
    align-items: center; /* Vertically center the track */
}

.project-slider-track {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease-in-out;
    padding: 0 10px; /* Horizontal padding for the track */
    height: 100%; /* Make track take full height of its container */
    align-items: center; /* Vertically center the thumbnail items within the track */
}

.thumbnail-item {
    cursor: pointer;
    flex: 0 0 auto; /* Prevent items from growing/shrinking */
    /* Define fixed dimensions for the thumbnail item container */
    width: 150px;
    height: 100px; /* Height for the actual image area */
    
    /* Center the image within this item */
    display: flex;
    align-items: center;
    justify-content: center;

    /* To correctly highlight the active state, we need to consider the border */
    position: relative; /* For the pseudo-element border */
    box-sizing: border-box; /* Ensure padding/border are included in width/height */
}

.thumbnail-item img {
    width: 100%; /* Image fills its container */
    height: 100%; /* Image fills its container */
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #666; /* Default gray border */
    transition: border-color 0.3s ease, transform 0.3s ease;
}

/* Hover effect for inactive items */
.thumbnail-item:not(.active):hover img {
    border-color: #ffffff; /* White border on hover for inactive items */
    transform: scale(1.05); /* Slightly scale up on hover */
}

/* Active thumbnail styling: use a pseudo-element for the gold border */
.thumbnail-item.active {
    position: relative; /* Needed for absolute positioning of pseudo-element */
    transform: scale(1.1); /* Scale up the active item */
    transition: transform 0.3s ease;
}

.thumbnail-item.active::before {
    content: '';
    position: absolute;
    top: 0px;    /* Adjusted value */
    left: 0px;   /* Adjusted value */
    right: 0px;  /* Adjusted value */
    bottom: 0px; /* Adjusted value */
    border: 4px solid #f2c75c; /* Gold border */
    border-radius: 15px; /* Match image border-radius, adjust as needed */
    z-index: 1; /* Ensure border is above image but below other elements if any */
    pointer-events: none; /* Allows clicks to pass through to the image */
}

/* Ensure the image within the active item still has its own styling but not a direct border */
.thumbnail-item.active img {
    border-color: transparent; /* No direct border on the image when active, let pseudo-element handle it */
    transform: none; /* Reset individual image transform if parent is scaled */
}


/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 991px) {
    #projects-section {
        padding: 60px 15px;
    }
    #project-sub-title {
        font-size: 16px;
    }
    .project-slider-wrapper {
        height: 110px; /* Adjusted height for tablet */
    }
    .thumbnail-item {
        width: 120px;
        height: 80px;
    }
    .thumbnail-item.active::before {
        top: 0px; /* Adjusted */
        left: 0px; /* Adjusted */
        right: 0px; /* Adjusted */
        bottom: 0px; /* Adjusted */
        border-width: 3px;
    }
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .left-arrow { left: 0px; }
    .right-arrow { right: 0px; }
    .project-large-image {
        padding: 0 20px;
    }
    .project-navigation-center {
        gap: 20px;
    }
    .cta-button.project-nav-btn {
        padding: 12px 25px;
        font-size: 16px;
    }
    .projects-text {
        font-size: 20px;
    }
    .project-large-image img {
        border-width: 3px;
    }
}

@media (max-width: 768px) {
    #projects-section {
        padding: 40px 10px;
    }
    .project-display-area {
        margin-bottom: 25px;
    }
    .project-large-image {
        padding: 0 25px;
        margin-bottom: 20px;
    }
    .left-arrow { left: 0px; }
    .right-arrow { right: 0px; }
    .nav-arrow {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .cta-button.project-nav-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    .projects-text {
        font-size: 18px;
    }
    .project-slider-wrapper {
        height: 100px; /* Adjusted height for smaller tablet */
    }
    .project-slider-track {
        gap: 10px;
        padding: 0 10px;
    }
    .thumbnail-item {
        width: 120px;
        height: 70px; /* Adjusted thumbnail height */
    }
    .thumbnail-item.active::before {
        top: 0px; /* Adjusted */
        left: 0px; /* Adjusted */
        right: 0px; /* Adjusted */
        bottom: 0px; /* Adjusted */
        border-width: 2px;
    }
    .project-large-image img {
        border-width: 2px;
    }
}

@media (max-width: 576px) {
    #projects-section {
        padding: 25px 5px;
    }
    .projects-container {
        margin-top: 0;
        margin-bottom: 0;
    }
    .project-display-area {
        margin-bottom: 20px;
    }
    .project-large-image {
        padding: 0 20px;
        margin-bottom: 15px;
    }
    #project-sub-title {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .project-slider-wrapper {
        height: 80px; /* Adjusted height for mobile */
    }
    .thumbnail-item {
        width: 90px;
        height: 50px; /* Adjusted thumbnail height */
    }
    .thumbnail-item img {
        border-width: 1px;
    }
    .thumbnail-item.active::before {
        top: -1px; /* Adjusted */
        left: 0px; /* Adjusted */
        right: 0px; /* Adjusted */
        bottom: 0px; /* Adjusted */
        border-width: 1px;
    }
    .projects-text {
        font-size: 16px;
    }
    .project-navigation-center {
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }
    .cta-button.project-nav-btn {
        padding: 8px 15px;
        font-size: 12px;
        border-width: 1px;
    }
    .project-slider-track {
        padding: 0 5px;
        gap: 8px;
    }
    .nav-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    .left-arrow { left: 0px; }
    .right-arrow { right: 0px; }
    .project-large-image img {
        border-width: 2px;
    }
}/* End custom CSS */