.elementor-10631 .elementor-element.elementor-element-5a7f5baa{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-10631 .elementor-element.elementor-element-10a998cf .portfolio .entry-title{font-family:"Inter", Sans-serif;font-size:17px;font-weight:600;text-transform:uppercase;line-height:1.8em;}.elementor-10631 .elementor-element.elementor-element-10a998cf .portfolio .entry-locations{font-family:"Inter", Sans-serif;font-size:14px;font-weight:400;line-height:1.8em;}.elementor-10631 .elementor-element.elementor-element-10a998cf .portfolio-post-thumbnail img{width:100%;}.elementor-10631 .elementor-element.elementor-element-10a998cf  .portfolio-post-thumbnail, .elementor-10631 .elementor-element.elementor-element-10a998cf  .portfolio-post-thumbnail img{height:330px;object-fit:cover;}@media(max-width:767px){.elementor-10631 .elementor-element.elementor-element-10a998cf .portfolio-content{padding:0px 0px 0px 0px;}.elementor-10631 .elementor-element.elementor-element-10a998cf .portfolio .entry-title{font-size:14px;line-height:1.5em;margin-bottom:10px;}.elementor-10631 .elementor-element.elementor-element-10a998cf .portfolio .entry-locations{font-size:14px;line-height:1.5em;}}/* Start custom CSS *//* Keep inactive tab content structured instead of crushing it to 0px width */
.elementor-tabs-content .elementor-tab-content:not(.elementor-active) {
    display: block !important;
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    padding: 0 !important;
}



.elementor-portfolio__filter[data-filter=".__all"] {
    display: none !important;
}
.portfolio-list li:first-child {
    display: none !important;
}
.entry-locations::before {
    content: "\f3c5"; /* FontAwesome Location Pin code */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px; /* Space between icon and text */
    color: #000; /* You can change this to your theme color */
    font-size: 14px;
}

/* Ensure the container aligns properly */
.entry-locations {
    display: inline-flex;
    align-items: center;
}


/* Add building icon before the 'Type' label */
.portfolio-list li:nth-child(2) label::before {
    content: "\f1ad"; /* FontAwesome Building Icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    color: #C5A059; /* Your premium brand gold color */
    font-size: 14px;
}

/* Ensure the text aligns correctly with the icon */
.portfolio-list li label {
    display: flex;
    align-items: center;
}


.osf_portfolio:nth-child(1) { animation-delay: 0.1s; }
.osf_portfolio:nth-child(2) { animation-delay: 0.2s; }
.osf_portfolio:nth-child(3) { animation-delay: 0.3s; }
.osf_portfolio:nth-child(4) { animation-delay: 0.4s; }
.osf_portfolio:nth-child(5) { animation-delay: 0.5s; }
.osf_portfolio:nth-child(6) { animation-delay: 0.6s; }


/* 1. On-Load Animation (Fade & Slide Up) */
.osf_portfolio {
    opacity: 0;
    transform: translateY(30px);
    animation: portfolioFadeUp 0.8s ease forwards;
}

@keyframes portfolioFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2. Hover Interaction */
.portfolio-inner {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth easing */
    background: #fff;
    border-radius: 8px; /* Optional: adds a modern rounded look */
    overflow: hidden;
    position: relative;
    border: 1px solid transparent;
}

.portfolio-inner:hover {
    transform: translateY(-10px) scale(1.02); /* Slight lift and grow */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); /* Premium soft shadow */
    border-color: #eee;
    z-index: 10;
}

/* 3. Image Zoom Effect */
.portfolio-post-thumbnail img {
    transition: transform 0.6s ease;
}

.portfolio-inner:hover .portfolio-post-thumbnail img {
    transform: scale(1.1); /* Zooms the image inside the card */
}

/* 4. Text Contrast Improvement */
.portfolio-content {
    transition: background 0.3s ease;
}

.portfolio-inner:hover .entry-title a {
    color: #C5A059; /* Changes title to your brand gold on hover */
}

/* Add Divider Line below Title */
.nilbox .elementor-image-box-title::after {
    content: "";
    display: block;
    width: 50px; /* Length of the line */
    height: 3px; /* Thickness of the line */
    background-color: #d4a017; /* Gold color to match your theme */
    margin-top: 10px; /* Space between text and line */
    margin-bottom: 15px; /* Space between line and description */
    border-radius: 2px;
    transition: width 0.3s ease; /* Animation effect */
}

/* Optional: Make the line grow when you hover over the card */
.nilbox:hover .elementor-image-box-title::after {
    width: 80px;
}
    /* Style for Nilbox Image Box */
.nilbox.elementor-widget-image-box {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease-in-out;
    border: 1px solid #f0f0f0;
    height: 100%;
}

.nilbox.elementor-widget-image-box:hover {
    transform: translateY(-8px);
    border: 1px solid #f0f0f0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
     /* Your primary blue */
}

/* Image Styling */
.nilbox .elementor-image-box-img {
    margin-bottom: 0 !important;
    border-bottom: 4px solid #0056b3;
}

.nilbox .elementor-image-box-img img {
    transition: transform 0.5s ease;
    object-fit: cover;
}

.nilbox:hover .elementor-image-box-img img {
    transform: scale(1.05);
}

/* Content Area */
.nilbox .elementor-image-box-content {
    padding: 25px;
    text-align: left;
}

/* Title Styling (Blue & Gold) */
.nilbox .elementor-image-box-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0056b3 !important; /* Blue part */
    text-transform: uppercase;
    margin-bottom: 5px !important;
}

/* Description Styling */
.nilbox .elementor-image-box-description {
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #666 !important;
}/* End custom CSS */