/* ========== STATS BAR ========== */
.stats-bar {
    background: var(--b4);
    padding: 15px 0;    
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stats-grid .stat-item {
    border-right: 1px solid rgba(255, 255, 255, .18);
}

.stats-grid .stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-family: var(--font-secondary);
    /*font-size: 32px;*/
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
}

.stat-label {
    /*font-size: 12px;*/
    font-size: 16px;
    color: rgba(255, 255, 255, .8);
    letter-spacing: .03em;
    text-transform: uppercase;
    font-weight: 600;
}


@media (max-width: 880px) {
    .stats-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:600px) {
    .stats-grid{
        grid-template-columns: 1fr;
    }

    .stats-grid .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
        padding-bottom: 16px;
    }

    .stats-grid .stat-item:last-child {
        border-bottom: none;
    }        
}


@media (min-width:991px) {
    .stats-bar{
        position: sticky;
        bottom: 0;
        z-index: 50;       
    }
}






















/* ========== BLOG FEATURED SECTION ========== */
.blog-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 32px;
}

.blog-featured-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--b2);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
    box-shadow: 0 4px 16px rgba(26, 124, 212, 0.04);
    display: flex;
    flex-direction: column;
}

.blog-featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -16px rgba(26, 124, 212, 0.2);
    border-color: var(--b3);
}

.blog-featured-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: var(--b1);
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1);
}

.blog-featured-card:hover .blog-featured-image img {
    transform: scale(1.05);
}

.blog-featured-image .blog-category-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--b4);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 5px 14px;
    border-radius: 3px;
    z-index: 2;
}

.blog-featured-image .blog-date-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    color: var(--text-mid);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.blog-featured-image .blog-date-badge svg {
    width: 14px;
    height: 14px;
    stroke: var(--b4);
    stroke-width: 2;
    fill: none;
}

.blog-featured-body {
    padding: 24px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-featured-body .blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-light);
}

.blog-featured-body .blog-meta .blog-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-featured-body .blog-meta .blog-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-featured-body h3 {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-featured-card:hover .blog-featured-body h3 {
    color: var(--b4);
}

.blog-featured-body p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-featured-body .blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--b4);
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    margin: 0px auto;
}

.blog-featured-body .blog-read-more:hover {
    color: var(--text-dark);
    border-bottom-color: var(--b3);
    gap: 14px;
}

.blog-featured-body .blog-read-more svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    transition: transform 0.3s ease;
}

.blog-featured-body .blog-read-more:hover svg {
    transform: translateX(4px);
}

/* Featured post (first card larger) */
.blog-featured-card.featured-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 320px;
}

.blog-featured-card.featured-large .blog-featured-image {
    height: 100%;
    min-height: 320px;
}

.blog-featured-card.featured-large .blog-featured-body {
    padding: 32px 32px 28px;
    justify-content: center;
}

.blog-featured-card.featured-large .blog-featured-body h3 {
    font-size: 20px;
    -webkit-line-clamp: 3;
}

.blog-featured-card.featured-large .blog-featured-body p {
    -webkit-line-clamp: 4;
}


.blog-featured-body .blog-date-badge {
    /*position: absolute;
    bottom: 16px;
    left: 16px;
    */
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    color: var(--text-mid);
    font-size: 11px;
    font-weight: 600;
    padding: 1px 0px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);*/
}

.blog-featured-body .blog-date-badge svg {
    width: 14px;
    height: 14px;
    stroke: var(--b4);
    stroke-width: 2;
    fill: none;
}


/* Responsive */
@media (max-width: 880px) {
    .blog-featured-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .blog-featured-card.featured-large {
        grid-column: span 2;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .blog-featured-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-featured-card.featured-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .blog-featured-card.featured-large .blog-featured-image {
        min-height: 200px;
        height: 200px;
    }
    
    .blog-featured-card.featured-large .blog-featured-body h3 {
        font-size: 20px;
    }
}








/* ========== ========================== ========== */
/* ========== OUR PROCESS & TECHNOLOGIES ========== */
        
/* Process Steps Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 40px 0 48px;
}

.process-step {
    background: var(--white);
    border-radius: 12px;
    padding: 32px 24px 28px;
    border: 1px solid var(--b2);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
    position: relative;
    text-align: center;
}

.process-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -16px rgba(26, 124, 212, 0.25);
    border-color: var(--b3);
}

.process-step .step-number {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 42px;
    font-weight: 800;
    color: var(--b2);
    line-height: 1;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.process-step:hover .step-number {
    color: var(--b4);
}

.process-step h3 {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.7;
    margin: 0;
}

.process-step .step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--b1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--b2);
}

.process-step:hover .step-icon {
    background: var(--b4);
    border-color: var(--b4);
}

.process-step .step-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--b4);
    stroke-width: 2;
    fill: none;
    transition: stroke 0.3s ease;
}

.process-step:hover .step-icon svg {
    stroke: var(--white);
}

/* Section Divider */
.section-divider {
    margin: 40px 0 48px;
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--b2), var(--b3), var(--b2), transparent);
    border-radius: 2px;
}

/* Divider with text (alternative) */
.divider-with-text {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0 48px;
}

.divider-with-text::before,
.divider-with-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--b2));
}

.divider-with-text::after {
    background: linear-gradient(90deg, var(--b2), transparent);
}

.divider-with-text span {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .15em;
    white-space: nowrap;
    padding: 0 8px;
}

/* Process link styling */
.process-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--b4);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.process-link:hover {
    color: var(--text-dark);
    border-bottom-color: var(--b3);
    gap: 12px;
}

.process-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    transition: transform 0.3s ease;
}

.process-link:hover svg {
    transform: translateX(4px);
}

/* ========== PROCESS SECTION WITH ARROWS ========== */
.process-wrapper {
    position: relative;
    padding: 10px 0;
}

.process-grid-with-arrows {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: stretch;
    position: relative;
    margin: 40px 0 20px;
}

.process-step-arrow {
    background: var(--white);
    border-radius: 4px;
    padding: 32px 20px 28px;
    border: 1px solid var(--b2);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
    position: relative;
    text-align: center;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(26, 124, 212, 0.06);
}

.process-step-arrow:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -16px rgba(26, 124, 212, 0.25);
    border-color: var(--b3);
}

.process-step-arrow .step-number {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 38px;
    font-weight: 800;
    color: var(--b2);
    line-height: 1;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.process-step-arrow:hover .step-number {
    color: var(--b4);
}

.process-step-arrow .step-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--b1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
    border: 2px solid var(--b2);
    position: relative;
}

.process-step-arrow:hover .step-icon-wrap {
    background: var(--b4);
    border-color: var(--b4);
    transform: scale(1.05);
}

.process-step-arrow .step-icon-wrap svg {
    width: 28px;
    height: 28px;
    stroke: var(--b4);
    stroke-width: 2;
    fill: none;
    transition: stroke 0.3s ease;
}

.process-step-arrow:hover .step-icon-wrap svg {
    stroke: var(--white);
}

.process-step-arrow h3 {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.process-step-arrow:hover h3 {
    color: var(--b4);
}

.process-step-arrow p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.7;
    margin: 0;
}

/* ===== ARROW BETWEEN STEPS ===== */
.process-arrow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 0 0px;
    flex-shrink: 0;
}

.process-arrow-connector .arrow-line {
    position: relative;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--b2), var(--b3));
    border-radius: 2px;
}

.process-arrow-connector .arrow-line::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid var(--b3);
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
}

/* Arrow with animation on hover */
.process-step-arrow:hover ~ .process-arrow-connector .arrow-line,
.process-arrow-connector:hover .arrow-line {
    background: linear-gradient(90deg, var(--b3), var(--b4));
    width: 50px;
    transition: all 0.4s ease;
}

.process-step-arrow:hover ~ .process-arrow-connector .arrow-line::after,
.process-arrow-connector:hover .arrow-line::after {
    border-left-color: var(--b4);
    transition: all 0.4s ease;
}

/* ===== ALTERNATIVE: DOTTED ARROW WITH CIRCLE ===== */
.process-arrow-dotted {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.process-arrow-dotted .arrow-dash {
    width: 32px;
    height: 0;
    border-top: 2px dashed var(--b2);
    position: relative;
}

.process-arrow-dotted .arrow-dash::after {
    content: '▶';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--b3);
}

/* ===== ALTERNATIVE: CURVED ARROW ===== */
.process-arrow-curved {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    padding: 0 4px;
    color: var(--b4);
}

.process-arrow-curved svg {
    width: 44px;
    height: 24px;
    stroke: var(--b3);
    stroke-width: 2.5;
    fill: none;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

.process-step-arrow:hover ~ .process-arrow-curved svg,
.process-arrow-curved:hover svg {
    stroke: var(--b3);
    transform: translateX(4px);
}

/* ===== SECTION DIVIDER ===== */
.process-tech-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 48px 0;
}

.process-tech-divider::before,
.process-tech-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--b2));
}

.process-tech-divider::after {
    background: linear-gradient(90deg, var(--b2), transparent);
}

.process-tech-divider span {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .15em;
    white-space: nowrap;
    padding: 0 8px;
    background: var(--b1);
    padding: 10px 16px;
    border-radius: 20px;
    border: 1px solid var(--b2);
}

/* ===== SIMPLE SIDEWAYS ARROW ===== */
.process-arrow-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    padding: 0 4px;
}

.process-arrow-simple svg {
    width: 52px;
    /*height: 24px;*/
    height: 35px;
    stroke: var(--b3);
    stroke-width: 3;
    fill: none;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

.process-step-arrow:hover ~ .process-arrow-simple svg,
.process-arrow-simple:hover svg {
    stroke: var(--b4);
    transform: translateX(4px);
}


/* Responsive */
@media (max-width: 880px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        padding: 24px 20px;
    }
}


/* ===== RESPONSIVE ===== */
@media (min-width: 881px) {
    .process-grid-with-arrows {
        display: grid;
        grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
        align-items: stretch;
    }
    
    .process-step-arrow {
        min-height: 280px;
    }
    
    .process-arrow-connector {
        padding: 0 4px;
        min-width: 44px;
    }
    
    .process-arrow-curved {
        min-width: 44px;
    }
}

@media (max-width: 880px) {
    .process-grid-with-arrows {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .process-arrow-connector,
    .process-arrow-dotted,
    .process-arrow-curved {
        display: none;
    }
    
    .process-step-arrow {
        min-height: auto;
        padding: 24px 18px 22px;
    }
}

@media (max-width: 600px) {
    .process-grid-with-arrows {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-step-arrow {
        padding: 20px 16px 18px;
    }
}

        



/* ========== TECHNOLOGIES SLIDER ========== */
.tech-slider-wrap {
    position: relative;
    margin-top: 32px;
}

.tech-slider-track {
    /* display:flex removed — Slick manages this */
    overflow: hidden;
}

.tech-slider-track .tech-card {           
    
}

.tech-card {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 10px;            
    flex-direction: column;
    text-align: center;

}

.tech-card .tech-logo {
    width: 80px;
    height: 80px;
    /*border-radius:50%;*/
    overflow: hidden;
    /*border:1.5px solid var(--b2);*/
    /*background:var(--white);*/
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tech-card:hover .tech-logo {
    transform: translateY(-4px);
    /*box-shadow:0 16px 32px -16px rgba(26,124,212,.3);*/
    border-color: var(--b3);
}

.tech-card .tech-logo img {
    width: 95%;
    height: 95%;
    object-fit: contain;
}

.tech-card .tech-name {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-mid);
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    opacity: 0;
    transform: translateY(-5px);
}

.tech-card:hover .tech-name {
    opacity: 1;
    transform: translateY(0);
    color: var(--b4);
}


/* Enhanced slick dots styling for technologies section */
.tech-slider-wrap .slick-dots {
    bottom: -40px;
    position: absolute;
    display: flex !important;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

.tech-slider-wrap .slick-dots li {
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
}

.tech-slider-wrap .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    background: var(--b2);
    border-radius: 50%;
    border: none;
    font-size: 0;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.tech-slider-wrap .slick-dots li button:before {
    display: none;
    /* hide default dots */
}

.tech-slider-wrap .slick-dots li.slick-active button {
    background: var(--b4);
    opacity: 1;
    width: 24px;
    border-radius: 20px;
}

.tech-slider-wrap .slick-dots li button:hover {
    opacity: 1;
    background: var(--b3);
}        

.tech-slider-wrap .slick-dots {
    bottom: -20px;
}

@media (max-width:600px) {
    .tech-card{
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 880px) {
    .tech-card{
        flex: 0 0 calc((100% - 40px) / 3);
    }           
}









/* ========== ========================== ========== */
/* ========== FAQ styles =========================== */

.faq-list {
    /*max-width:760px;*/
    margin-top: 32px;
}

.faq-item {
    border: 1.5px solid var(--b2);
    border-radius: 4px;
    margin-bottom: 14px;
    overflow: hidden;
    background: var(--white);
}

.faq-question {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    /*padding:20px 24px;*/
    padding: 12px 15px;
}

.faq-question .faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--b1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .25s ease, background .15s ease;
}

.faq-question .faq-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--b4);
    stroke-width: 2.5;
    fill: none;
}

.faq-item.open .faq-question .faq-icon {
    transform: rotate(45deg);
    background: var(--b4);
}

.faq-item.open .faq-question .faq-icon svg {
    stroke: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
}







/* ========== ========================== ========== */
/* ========== Portfolio Flipster styles ========== */

.portfolio-flipster-wrap {
    position: relative;
    margin-top: 30px;
}

.portfolio-flipster.flipster {
    padding: 10px 0 30px;
}

.portfolio-flipster .flipster__item {
    margin: 0 14px;
}

/* Card */
.port-flip-card {
    width: 420px;
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid var(--b2);
    box-shadow: 0 18px 40px -20px rgba(13, 42, 69, .22);
    transition: box-shadow .35s ease, border-color .35s ease, transform .35s ease;
}

.portfolio-flipster .flipster__item--current .port-flip-card {
    border-color: var(--b3);
    box-shadow: 0 26px 56px -18px rgba(26, 124, 212, .4);
    transform: translateY(-6px);
}

.port-flip-img {
    position: relative;
    background: var(--white);
    overflow: hidden;
    border-bottom: 1px solid rgba(189, 224, 254, .65);
}

.port-flip-img img {
    width: 100%;
    /*height: 300px;*/
    display: block;
    object-fit: contain;
    background: var(--white);
    padding: 10px;
    transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-flipster .flipster__item--current .port-flip-img img {
    transform: scale(1.04);
}

.port-flip-body {
    position: relative;
    padding: 20px 24px 26px;
    text-align: center;
    background: linear-gradient(180deg, var(--white) 0%, var(--b1) 100%);
}

.port-flip-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--b3), transparent);
    opacity: 0;
    transition: opacity .3s ease;
}

.portfolio-flipster .flipster__item--current .port-flip-body::before {
    opacity: 1;
}

.port-flip-tag {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(189, 224, 254, .5);
    color: var(--b4);
    border: 1px solid rgba(90, 171, 245, .3);
}

.port-flip-body h3 {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 19px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.35;
    letter-spacing: -.01em;
    transition: color .25s ease;
}

.portfolio-flipster .flipster__item--current .port-flip-body h3 {
    color: var(--b4);
}

.port-flip-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: var(--b4);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .02em;
    border-bottom: 1.5px solid transparent;
    transition: color .2s ease, gap .2s ease, border-color .2s ease;
}

.port-flip-link::after {
    content: '→';
    font-size: 13px;
    line-height: 1;
    transition: transform .2s ease;
}

.port-flip-link:hover {
    color: var(--text-dark);
    border-bottom-color: var(--b3);
    gap: 9px;
}

.port-flip-link:hover::after {
    transform: translateX(3px);
}

/* Non-active items dim slightly for depth */
.portfolio-flipster .flipster__item {
    opacity: .55;
    transition: opacity .35s ease;
}

.portfolio-flipster .flipster__item--current {
    opacity: 1;
}

/* Dots bar, centered below the carousel */
.portfolio-flipster-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 26px;
}

/* Arrow buttons — restored to the sides, vertically centered on the carousel */
.portfolio-flipster .flipster__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    margin: 0;
    flex-shrink: 0;
    background: var(--white);
    color: var(--b4);
    border: 3px solid var(--b4);
    border-radius: 50%;
    box-shadow: 0 10px 24px -10px rgba(26, 124, 212, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    opacity: 1;
    transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.portfolio-flipster .flipster__button:hover {
    background: var(--b4);
    color: var(--white);
    border-color: var(--b4);
    transform: translateY(-53%);
    box-shadow: 0 16px 32px -10px rgba(26, 124, 212, .55);
}

.portfolio-flipster .flipster__button svg {
    width: 1em;
}

.portfolio-flipster .flipster__button--prev {
    left: 0;
}

.portfolio-flipster .flipster__button--next {
    right: 0;
}

/* Dots, centered in their own bar below the carousel */
.portfolio-flipster .flipster__nav {
    position: static;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.portfolio-flipster .flipster__nav__item {
    margin: 0 !important;
}

.portfolio-flipster .flipster__nav__link {
    display: block !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: var(--b2) !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    border: none !important;
    padding: 0 !important;
    transition: all .3s ease !important;
}

.portfolio-flipster .flipster__nav__link:hover {
    background: var(--b3) !important;
    transform: scale(1.2);
}

.portfolio-flipster .flipster__nav__item.flipster__nav__item--current .flipster__nav__link{
    background: var(--b4) !important;
    width: 30px !important;
    border-radius: 10px !important;
}

@media (min-width: 992px) {
    .portfolio-flipster .flipster__button--prev {
        left: 10px;
    }

    .portfolio-flipster .flipster__button--next {
        right: 10px;
    }
}

@media (max-width: 767px) {
    .port-flip-card {
        width: 260px;
    }

    .port-flip-img img {
        height: 190px;
    }

    .port-flip-body {
        padding: 16px 18px 20px;
    }

    .portfolio-flipster .flipster__button {
        width: 40px;
        height: 40px;
    }

    .portfolio-flipster-controls {
        gap: 14px;
    }
}




/* ========== ABOUT ========== */

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.about-visual {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 420px;
    margin: 0 auto;
}

.about-bubbles {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-bubble {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: 0 14px 36px -12px rgba(26, 124, 212, .35);
    background: var(--b2);
    transition: transform .35s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow .35s ease;
}

.about-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-bubble:hover {
    transform: scale(1.04);
    box-shadow: 0 18px 44px -10px rgba(26, 124, 212, .45);
    z-index: 5;
}

/* Largest — top right */
.about-bubble--1 {
    top: 0;
    right: 0;
    width: 93%;
    aspect-ratio: 1 / 1;
}

/* Medium — middle left */
.about-bubble--2 {
    top: 65%;
    left: 2;
    width: 45%;
    aspect-ratio: 1 / 1;
}

/* Medium — lower right */
.about-bubble--3 {
    top: 78%;
    right: 4%;
    width: 38%;
    aspect-ratio: 1 / 1;
}

/* Accent dot — bottom center-left */
.about-bubble--accent {
    top: 98%;
    left: 45%;
    width: 20%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--b3) 0%, var(--b4) 100%);
    border-color: var(--white);
    pointer-events: none;
}

.about-bubbles::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 78%;
    height: 78%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(189, 224, 254, .55) 0%, rgba(240, 248, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.about-bubble--1,
.about-bubble--2,
.about-bubble--3,
.about-bubble--accent {
    z-index: 1;
}

.about-text p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.8;
    margin: 0 0 16px;
    text-align: justify;
    text-justify: inter-word;
}

.about-text .about-lead {
    margin-bottom: 28px;
}

.about-block {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(189, 224, 254, .65);
}

.about-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.about-subtitle {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 12px;
    line-height: 1.3;
}

.about-contact {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
    padding: 14px 18px;
    background: var(--b1);
    border: 1px solid var(--b2);
    border-radius: 6px;
    font-size: 14px !important;
    text-align: left !important;
}

.about-contact a {
    color: var(--b4);
    font-weight: 700;
    text-decoration: none;
    transition: color .15s ease;
}

.about-contact a:hover {
    color: var(--text-dark);
}

.about-locations {
    margin-top: 18px;
}

.about-text .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-text .tag-pill {
    background: var(--white);
    border: 1px solid var(--b2);
    color: var(--b4);
    font-size: 12px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 4px;
}



@media (max-width: 880px) {
    .about-grid{
        grid-template-columns: 1fr;
    }

    .about-visual {
        max-width: 340px;
        height: 340px;
        margin-bottom: 12px;
    }
}

















/* ========== TESTIMONIALS ========== */
.testi-card {
    background: var(--b1);
    border-radius: 5px;
    padding: 28px;
    border: 1px solid var(--b2);
}

.testi-stars {
    color: var(--b3);
    font-size: 14px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testi-card p {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 18px;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 24px;
}

.testi-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testi-person strong {
    font-size: 14px;
    color: var(--text-dark);
    display: block;
}

.testi-person span {
    font-size: 12px;
    color: var(--text-light);
}

/* Testimonial slider: each slide fills full width */
.testi-slider-track .testi-slide {
    padding: 0 8px;
}


/* ========== TESTIMONIALS SLIDER ========== */
.testi-slider-wrap {
    /*max-width: 768px;*/
    margin: 32px auto 0;
    position: relative;
}

.testi-slider-track {
    overflow: hidden;
}

.testi-slide {
    flex: 0 0 100%;
    width: 100%;
}

.testi-card {
    background: var(--b1);
    border-radius: 5px;
    padding: 32px;
    border: 1px solid var(--b2);
    text-align: center;
}

.testi-card .testi-stars {
    justify-content: center;
    display: flex;
}

.testi-card .testi-person {
    justify-content: center;
}


.testi-slider-wrap .slick-dots{
    bottom: -40px;
    position: absolute;
    display: flex !important;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

.testi-slider-wrap .slick-dots li{
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
}

.testi-slider-wrap .slick-dots li button{
    width: 10px;
    height: 10px;
    padding: 0;
    background: var(--b2);
    border-radius: 50%;
    border: none;
    font-size: 0;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.testi-slider-wrap .slick-dots li button:before{
    display: none;
    /* hide default dots */
}

.testi-slider-wrap .slick-dots li.slick-active button{
    background: var(--b4);
    opacity: 1;
    width: 24px;
    border-radius: 20px;
}

.testi-slider-wrap .slick-dots li button:hover{
    opacity: 1;
    background: var(--b3);
}










/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 14px;
    padding: 13px 16px;
    border: 1.5px solid var(--b2);
    border-radius: 12px;
    background: var(--b1);
    color: var(--text-dark);
    font-family: inherit;
    font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--b3);
    background: var(--white);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-light);
}

.contact-form-row {
    display: flex;
    gap: 14px;
}

.contact-form-row input {
    flex: 1;
}

.contact-form .submit-btn {
    background: var(--b3);
    color: var(--white);
    padding: 14px;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    width: 100%;
    font-size: 14px;
    cursor: pointer;
    margin-top: 6px;
    transition: background .15s ease;
}

.contact-form .submit-btn:hover {
    background: var(--b4);
}

.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    background: var(--b4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item .label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--b3);
    margin-bottom: 6px;
}

.contact-info-item .value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}




.contact-follow-row {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.contact-follow-row .follow-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--b1);
    border: 1px solid var(--b2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.contact-follow-row .follow-btn:hover {
    background: var(--b4);
    border-color: var(--b4);
}

.contact-follow-row .follow-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--b4);
    stroke-width: 2;
    fill: none;
    transition: stroke .15s ease;
}

.contact-follow-row .follow-btn:hover svg {
    stroke: var(--white);
}

@media (max-width: 880px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-row {
        flex-direction: column;
    }
}






/* ========== OUR CLIENTS SLIDER ========== */

.clients-slider-wrap {
    position: relative;
    margin-top: 32px;
}

.clients-slider-track {
    overflow: hidden;
}

.client-card {
    flex: 0 0 calc((100% - 80px) / 5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo {
    /* width: 96px; */
    height: 96px;
    /* border-radius: 50%; */
    overflow: hidden;
    border: 1px solid var(--b2);
    background: var(--white);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    border-radius: 6px;
}

.client-card:hover .client-logo {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -16px rgba(26, 124, 212, .3);
    border-color: var(--b3);
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 880px) {
    .client-card {
        flex: 0 0 calc((100% - 40px) / 3);
    }          
}


@media (max-width:600px) {
    .client-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }            
}


/* Clients slider: center logos inside each slide */
.clients-slider-track .client-card {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}


.clients-slider-wrap .slick-dots{
    bottom: -40px;
    position: absolute;
    display: flex !important;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

.clients-slider-wrap .slick-dots li{
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
}

.clients-slider-wrap .slick-dots li button{
    width: 10px;
    height: 10px;
    padding: 0;
    background: var(--b2);
    border-radius: 50%;
    border: none;
    font-size: 0;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.clients-slider-wrap .slick-dots li button:before{
    display: none;
    /* hide default dots */
}

.clients-slider-wrap .slick-dots li.slick-active button{
    background: var(--b4);
    opacity: 1;
    width: 24px;
    border-radius: 20px;
}

.clients-slider-wrap .slick-dots li button:hover{
    opacity: 1;
    background: var(--b3);
}










/* ========== SERVICES ========== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.service-card {
    background: var(--b1);
    border-radius: 4px;
    padding: 28px 24px;
    border: 1px solid var(--b2);
    /*transition: transform .2s ease, box-shadow .2s ease;*/
    transition: .25s ease;

    display: flex;
    flex-direction: column;
}

.service-card.compact-service-card {
    padding: 18px 18px 20px 18px;
}

.service-card:hover {
    /*transform: translateY(-4px);*/
    box-shadow: 0 16px 32px -16px rgba(26, 124, 212, .3);

    transform: translateY(-5px);
    border-color: var(--b3);
}

.service-card h3 {
    /*font-family: 'Playfair Display', serif;
    font-size: 24px;*/
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0 0;
    /* background: linear-gradient(135deg, var(--text-dark) 0%, var(--b4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px; */
    /*font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);*/

    font-size: 20px;
    text-align: center;
    margin-bottom: 5px;
    color: var(--b4);
}


.service-card-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--b4), var(--b3), transparent);
    margin: 14px 0 16px;
    border: none;
    border-radius: 2px;
}

.compact-service-card-divider{
    margin: 10px 0 10px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--b4), var(--b3), transparent);
    border: none;
    border-radius: 2px;     
}

.service-card p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.8;
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
}

/*    
.service-card img {
    filter: grayscale(55%);
    transition: filter 0.4s ease-in-out;
}

.service-card img:hover {
    filter: grayscale(0%);
}
*/

.service-card img {
    /*filter: grayscale(35%) sepia(1%);*/
    transition: all 0.6s ease;
    /*transform: rotate(0deg) scale(1);*/
    transform: scale(1);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover img {
    /*filter: grayscale(0%) sepia(0%);*/
    /*transform: rotate(1.5deg) scale(1.04);*/
    transform: scale(1.01);
}

/* ----- modern elegant "visit service" link (pill) ----- */
.service-visit-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 20px 7px 10px;
    background: var(--b1);
    border: 1px solid var(--b2);
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    color: var(--b4);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
    box-shadow: 0 2px 8px rgba(26, 124, 212, 0.04);
    letter-spacing: 0.3px;
    margin-top: 2px;
    position: relative;
    overflow: hidden;
    cursor: pointer;

    align-self: flex-end;  /* change from flex-start to flex-end */
    /* 
    OR use margin-left: auto 
    margin-left: auto;
    */
}

/* gradient overlay on hover */
.service-visit-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--b4), var(--b3));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-visit-link:hover {
    color: var(--white);
    border-color: var(--b3);
    /*transform: translateX(6px) scale(1.02);*/
    box-shadow: 0 12px 24px -10px rgba(26, 124, 212, 0.3);
}

.service-visit-link:hover::before {
    opacity: 1;
}

.service-visit-link span,
.service-visit-link svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.service-visit-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
}

.service-visit-link:hover svg {
    transform: translateX(4px) rotate(-4deg);
}

/* subtle shimmer effect */
.service-visit-link::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    transform: rotate(25deg);
    opacity: 0;
    transition: opacity 0.4s ease, left 0.6s ease;
    pointer-events: none;
    z-index: 2;
}

.service-visit-link:hover::after {
    opacity: 1;
    left: 120%;
}

@media (max-width: 880px) {
    .service-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:600px) {
    .service-grid{
        grid-template-columns: 1fr;
    }            
}











/* ========== PRE-FOOTER ========== */
.prefooter-wrap {
    background: var(--b2);
    padding: 64px 0;
}

.prefooter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.prefooter-text h2 {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 52px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -.5px;
}

.prefooter-text p {
    font-size: 16px;
    color: var(--text-mid);
    margin-top: 14px;
    max-width: 560px;
}

.prefooter-inner .badge-circle {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--b4);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.prefooter-inner .badge-circle svg.badge-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    animation: spin 18s linear infinite;
}

.prefooter-inner .badge-circle .badge-arrow {
    width: 75px;
    height: 75px;
    background: var(--b4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.prefooter-inner .badge-circle .badge-arrow svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
    stroke-width: 2.5;
    fill: none;
}

@media (max-width: 880px) {
    .prefooter-inner {
        flex-direction: column;
        text-align: center;
    }

    .prefooter-text h2 {
        font-size: 38px;
    }            
}













/* ===== PORTFOLIO PAGE - Portfolio MixItUp styles ==== */
.port-filter {
    display: flex;
    gap: 10px;
    margin: 28px 0 32px;
    flex-wrap: wrap;
}

.port-filter button {
    padding: 5px 20px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid var(--b2);
    background: var(--white);
    color: var(--text-mid);
    transition: .15s;
    font-family: inherit;
}

.port-filter button.active,
.port-filter button:hover {
    background: var(--b4);
    color: var(--white);
    border-color: var(--b4);
}


.port-card {
    border-radius: 5px;
    overflow: hidden;
    background: var(--white);
    border: 1.5px solid var(--b2);
    transition: transform .2s ease, box-shadow .2s ease;
}

.port-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -16px rgba(26, 124, 212, .3);
}

.port-card:hover .port-thumb img {
    transform: scale(1.06);
}

.port-info {
    padding: 18px;
}

.port-tag {
    background: var(--b2);
    color: var(--b4);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
    letter-spacing: .02em;
}

.port-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.port-info p {
    font-size: 12px;
    color: var(--text-light);
}    

.port-card:hover .port-overlay {
    opacity: 1;
    transform: translateY(0);
}




/* MixItUp requires hidden state before init */
#portfolio-grid .mix {
    opacity: 0;
    display: none;
}

.portfolio-mix-grid {
    margin: 0;
    padding: 0;
}

.portfolio-mix-grid>li {
    list-style: none;
}

.portfolio-card {
    border-radius: 4px;
    overflow: hidden;
    background: var(--white);
    border: 2px solid var(--b3);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
    padding: 0px;    
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -16px rgba(26, 124, 212, .3);
}

.portfolio-card-img {
    position: relative;
    overflow: hidden;
    background: var(--text-dark);
}

.portfolio-card-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1);

    padding: 5px;
    background: #fff;
    border-radius: 0px;
}

.portfolio-card:hover .portfolio-card-img img {
    transform: scale(1.08);
}

/* Mask slides up from bottom — like index.php */
.portfolio-card-mask {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(26, 124, 212, .88) 0%, rgba(13, 42, 69, .92) 100%);
    opacity: .92;
    z-index: 2;
    pointer-events: none;
    transition: top .35s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-card-mask {
    top: 0;
}

/* Plus button drops in smoothly from above */
.portfolio-card-more {
    position: absolute;
    top: -100px;
    left: 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-left: -36px;
    border-radius: 50%;
    background: var(--white);
    color: var(--b4);
    text-decoration: none;
    border: 3px solid rgba(255, 255, 255, .35);
    box-shadow: 0 12px 32px rgba(13, 42, 69, .35);
    opacity: 0;
    transition:
        top .4s cubic-bezier(0.34, 1.4, 0.64, 1),
        opacity .3s ease,
        background .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.portfolio-card:hover .portfolio-card-more {
    top: 50%;
    margin-top: -36px;
    opacity: 1;
}

.portfolio-card-more svg {
    transition: transform .25s ease;
}

.portfolio-card-more:hover {
    background: var(--b4);
    color: var(--white);
    border-color: var(--white);
    box-shadow: 0 16px 40px rgba(26, 124, 212, .45);
    transform: scale(1.08);
}

.portfolio-card-more:hover svg {
    transform: rotate(90deg);
}

.portfolio-card-info {
    position: relative;
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--white) 0%, rgba(240, 248, 255, .45) 100%);
    border-top: 1px solid rgba(189, 224, 254, .65);
    transition: background .3s ease;
}

.portfolio-card:hover .portfolio-card-info {
    background: linear-gradient(180deg, var(--white) 0%, var(--b1) 100%);
}

.portfolio-card-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--b4), var(--b3), transparent);
    opacity: 0;
    transition: opacity .3s ease;
}

.portfolio-card:hover .portfolio-card-info::before {
    opacity: 1;
}

.portfolio-card-info .port-tag {
    align-self: flex-start;
    margin-bottom: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 12px;
    background: rgba(189, 224, 254, .45);
    color: var(--b4);
    border: 1px solid rgba(90, 171, 245, .25);
}

.portfolio-card-info h3 {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px;
    line-height: 1.35;
    letter-spacing: -.01em;
    transition: color .25s ease;
    border-top: 1px solid rgba(189, 224, 254, .55);
    padding-top: 10px;
}

.portfolio-card:hover .portfolio-card-info h3 {
    color: var(--b4);
}

.portfolio-card-info p {
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(189, 224, 254, .55);
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
}

.portfolio-card-info a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--b4);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .02em;
    border-bottom: 1.5px solid transparent;
    padding-bottom: 2px;
    transition: color .2s ease, gap .2s ease, border-color .2s ease;
}

.portfolio-card-info a::after {
    content: '→';
    font-size: 13px;
    line-height: 1;
    transition: transform .2s ease;
}

.portfolio-card-info a:hover {
    color: var(--text-dark);
    border-bottom-color: var(--b3);
    gap: 10px;
}

.portfolio-card-info a:hover::after {
    transform: translateX(3px);
}

.portfolio-card-info p:not(:has(a)) {
    font-style: italic;
    color: var(--text-mid);
}

/* Expandable project detail panel */
.portfolio-detail {
    display: none;
    margin-bottom: 28px;
    padding: 28px;
    background: var(--white);
    border: 1.5px solid var(--b2);
    border-radius: 8px;
    box-shadow: 0 20px 48px -24px rgba(26, 124, 212, .25);
}

.portfolio-detail img {
    width: 100%;
    border-radius: 6px;
    border: 1px solid var(--b2);
}

.portfolio-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--b2);
}

.portfolio-detail-head h3 {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 22px;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.portfolio-detail-close {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--b2);
    border-radius: 50%;
    background: var(--b1);
    color: var(--text-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}

.portfolio-detail-close:hover {
    background: var(--b4);
    border-color: var(--b4);
    color: var(--white);
}

.portfolio-detail-meta {
    margin-bottom: 14px;
}

.portfolio-detail-meta div {
    font-size: 14px;
    color: var(--text-mid);
    margin-bottom: 6px;
}

.portfolio-detail-meta span {
    display: inline-block;
    min-width: 72px;
    font-weight: 700;
    color: var(--b4);
}

.portfolio-detail-meta a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
}

.portfolio-detail-meta a:hover {
    color: var(--b4);
}

.portfolio-detail-body p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-mid);
    margin: 0;
}

#portfolio-filters .filter.active {
    background: var(--b4);
    color: var(--white);
    border-color: var(--b4);
}

@media (max-width: 767px) {
    .portfolio-detail {
        padding: 20px;
    }

    .portfolio-detail-head h3 {
        font-size: 18px;
    }

    .portfolio-card-img {
        height: 450px;
    }

    .portfolio-card-info {
        padding: 18px 18px 20px;
    }

    .portfolio-card-info h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .portfolio-card-info::before {
        left: 18px;
        right: 18px;
    }
}












/* ===== CONTENT PAGE STYLES (STRUCTURAL) ===== */

.page-content-body {
    margin-top: 30px;
}

.page-content-body p {
    padding: 0;
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.8;
    margin: 0 0 16px;
    text-align: justify;
    text-justify: inter-word;
}

.page-content-body .page-intro {
    margin-bottom: 28px;
}

.page-content-body .content-block {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(189, 224, 254, .65);
}

.page-content-body .content-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.page-content-body .content-subtitle {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 12px;
    line-height: 1.3;
}

.page-content-body .content-alert-msg {
    margin-top: 0px !important;
    margin-bottom: 20px !important;
    padding: 16px 20px;
    background: var(--b1);
    border: 1px solid var(--b2);
    border-radius: 6px;
    font-size: 14px !important;
    text-align: left !important;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--text-dark);
}


.page-content-body .content-alert-msg.error {
    margin-top: 0px !important;
    padding: 16px 20px;
    background: var(--error-soft);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 8px;
    font-size: 14px !important;
    text-align: left !important;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--text-dark);
}


.page-content-body .content-alert-msg.success {
    margin-bottom: 20px !important;
    padding: 16px 20px;
    background: var(--success-soft);
    border: 1px solid rgba(39, 174, 96, 0.2);
    border-radius: 8px;
    font-size: 14px !important;
    text-align: left !important;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--text-dark);
}


.content-alert-msg strong{color: var(--text-mid);}
.content-alert-msg.error strong{color: var(--error-red);}
.content-alert-msg.success strong{color: var(--success-dark);}







.page-content-body .content-alert-msg a {
    color: var(--b4);
    font-weight: 700;
    text-decoration: none;
    transition: color .15s ease;
}

.page-content-body .content-alert-msg a:hover {
    color: var(--text-dark);
}

.page-content-body .tag-group {
    margin-top: 18px;
}

.page-content-body .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.page-content-body .tag-pill {
    background: var(--white);
    border: 1px solid var(--b2);
    color: var(--b4);
    font-size: 12px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 4px;
}

/* ===== RICH CONTENT STYLES (WYSIWYG CONTENT) ===== */

/* Headings */
.page-content-body h1,
.page-content-body h2,
.page-content-body h3,
.page-content-body h4,
.page-content-body h5,
.page-content-body h6 {
    /*font-family: 'Playfair Display', serif;*/
    font-weight: 700;
    color: var(--text-dark);
    margin: 1.8em 0 0.5em 0;
    line-height: 1.3;
}

.page-content-body h1 {
    font-size: 36px;
    color: var(--b4);
    margin-top: 0;
    border-bottom: 2px solid var(--b2);
    padding-bottom: 12px;
}

.page-content-body h2 {
    font-size: 34px;
    margin-top: 1.5em;
}

.page-content-body h3 {
    font-size: 24px;
    color: var(--b4);
    margin-top: 1.2em;
}

.page-content-body h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-top: 1em;
}

.page-content-body h5 {
    font-size: 17px;
    color: var(--text-mid);
    margin-top: 0.8em;
}

.page-content-body h6 {
    font-size: 15px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.6em;
}

/* Images */
.page-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--b2);
    padding: 4px;
    background: var(--white);
    transition: all 0.3s ease;
    display: block;
    margin: 20px 0;
}

.page-content-body img:hover {
    border-color: var(--b3);
    box-shadow: 0 8px 24px -8px rgba(26, 124, 212, 0.15);
}

.page-content-body .wp-caption,
.page-content-body .image-with-caption {
    max-width: 100%;
    margin: 20px 0;
    background: var(--b1);
    border: 1px solid var(--b2);
    border-radius: 8px;
    padding: 8px 8px 4px 8px;
}

.page-content-body .wp-caption img,
.page-content-body .image-with-caption img {
    margin: 0;
    border: none;
    border-radius: 4px;
    padding: 0;
}

.page-content-body .wp-caption-text,
.page-content-body .image-caption {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    padding: 8px 4px 4px 4px;
    margin: 0;
    font-style: italic;
}

.page-content-body .alignleft {
    float: left;
    margin: 4px 20px 12px 0;
    max-width: 45%;
}

.page-content-body .alignright {
    float: right;
    margin: 4px 0 12px 20px;
    max-width: 45%;
}

.page-content-body .aligncenter {
    display: block;
    margin: 20px auto;
    text-align: center;
}

.page-content-body .aligncenter img {
    display: inline-block;
    margin: 0 auto;
}

/* Lists */
.page-content-body ul,
.page-content-body ol {
    padding-left: 28px;
    margin: 12px 0 20px 0;
    color: var(--text-mid);
    font-size: 15px;
    line-height: 1.8;
}

.page-content-body ul {
    list-style-type: none;
}

.page-content-body ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 6px;
}

.page-content-body ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--b4);
    font-weight: 700;
    font-size: 16px;
}

.page-content-body ul ul {
    list-style-type: none;
    padding-left: 28px;
    margin-top: 4px;
}

.page-content-body ul ul li::before {
    content: "◦";
    color: var(--b3);
}

.page-content-body ul ul ul li::before {
    content: "▪";
    color: var(--b2);
}

.page-content-body ol {
    list-style-type: none;
    counter-reset: item;
}

.page-content-body ol li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 6px;
    counter-increment: item;
}

.page-content-body ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--b4);
    font-weight: 700;
    font-size: 15px;
    min-width: 22px;
}

.page-content-body ol ol {
    list-style-type: none;
    counter-reset: sub-item;
    padding-left: 28px;
    margin-top: 4px;
}

.page-content-body ol ol li {
    counter-increment: sub-item;
}

.page-content-body ol ol li::before {
    content: counter(item) "." counter(sub-item) ".";
    color: var(--b3);
}

/* Tables */
.page-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(26, 124, 212, 0.06);
}

.page-content-body table thead th {
    background: var(--b4);
    color: var(--white);
    padding: 14px 18px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.page-content-body table tbody td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--b2);
    color: var(--text-mid);
    line-height: 1.6;
}

.page-content-body table tbody tr:last-child td {
    border-bottom: none;
}

.page-content-body table tbody tr:nth-child(even) {
    background: var(--b1);
}

.page-content-body table tbody tr:hover {
    background: rgba(189, 224, 254, 0.4);
    transition: background 0.2s ease;
}

.page-content-body table tfoot td {
    padding: 12px 18px;
    background: var(--b1);
    border-top: 2px solid var(--b2);
    font-weight: 600;
    color: var(--text-dark);
}

/* Blockquotes */
.page-content-body blockquote {
    position: relative;
    background: var(--b1);
    border-left: 4px solid var(--b4);
    padding: 20px 28px 20px 36px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    /*font-family: 'Playfair Display', serif;*/
    font-style: italic;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
}

.page-content-body blockquote::before {
    content: '"';
    position: absolute;
    left: 12px;
    top: 12px;
    font-size: 32px;
    color: var(--b3);
    /*font-family: 'Playfair Display', serif;*/
    line-height: 1;
}

.page-content-body blockquote p {
    margin-bottom: 4px;
    font-size: 18px;
    color: var(--text-dark);
    text-align: left;
}

.page-content-body blockquote cite,
.page-content-body blockquote .blockquote-source {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
}

.page-content-body blockquote cite::before,
.page-content-body blockquote .blockquote-source::before {
    content: "— ";
}

/* Horizontal Rule */
.page-content-body hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--b2), var(--b3), var(--b2), transparent);
    margin: 32px 0;
    border-radius: 2px;
}

/* Links */
.page-content-body a {
    color: var(--b4);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1.5px solid var(--b2);
    transition: all 0.2s ease;
}

.page-content-body a:hover {
    color: var(--text-dark);
    border-bottom-color: var(--b4);
}

/* Code & Preformatted */
.page-content-body code {
    background: var(--b1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--b4);
    font-family: 'Courier New', monospace;
    border: 1px solid var(--b2);
}

.page-content-body pre {
    background: var(--text-dark);
    color: #e8f4fd;
    padding: 20px 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    font-size: 13px;
    line-height: 1.7;
    border: 1px solid rgba(189, 224, 254, 0.15);
}

.page-content-body pre code {
    background: transparent;
    border: none;
    padding: 0;
    color: inherit;
    font-size: 13px;
}

/* Pull Quotes */
.page-content-body .pullquote {
    /*float: right;
    width: 40%;*/
    margin: 4px 0 12px 24px;
    /*font-family: 'Playfair Display', serif;*/
    font-size: 22px;
    font-weight: 700;
    color: var(--b4);
    line-height: 1.4;
    padding: 12px 20px;
    border-top: 3px solid var(--b3);
    border-bottom: 3px solid var(--b3);
}

.page-content-body .pullquote-left {
    float: left;
    margin: 4px 24px 12px 0;
}

/* Dropcap */
.page-content-body .dropcap::first-letter {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 56px;
    font-weight: 800;
    color: var(--b4);
    float: left;
    line-height: 1;
    margin-right: 8px;
    margin-top: 2px;
}

.page-content-body .content-block .content-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
    margin-bottom: 20px;
}

.page-content-body .page-content-btn-link {
    background: var(--white);
    border: 1px solid var(--b2);
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-mid);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.page-content-body .page-content-btn-link:hover {
    background: var(--b4);
    border-color: var(--b4);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px rgba(26, 124, 212, 0.25);
}

.page-content-body .page-content-btn-link svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}








/* Responsive */
@media (max-width: 768px) {
    .page-content-body .alignleft,
    .page-content-body .alignright {
        float: none;
        max-width: 100%;
        margin: 12px 0;
    }

    .page-content-body .pullquote {
        float: none;
        width: 100%;
        margin: 20px 0;
    }

    .page-content-body table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .page-content-body blockquote {
        padding: 16px 20px 16px 32px;
        font-size: 16px;
    }

    .page-content-body blockquote p {
        font-size: 16px;
    }

    .page-content-body h1 {
        font-size: 28px;
    }

    .page-content-body h2 {
        font-size: 24px;
    }

    .page-content-body h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .page-content-body .dropcap::first-letter {
        font-size: 40px;
    }

    .page-content-body blockquote {
        padding: 14px 16px 14px 28px;
        font-size: 15px;
    }

    .page-content-body blockquote p {
        font-size: 15px;
    }

    .page-content-body pre {
        padding: 14px 16px;
        font-size: 12px;
    }
}














/* ===== HERO TEXT SECTION ===== */
.hero-text-section{
    position: relative;
    overflow: hidden;
    background: linear-gradient(-45deg, #e8f4fd, #ffffff, #d0eaff, #ffffff, #bde0fe, #eaf5ff, #ffffff, #cce8ff);
    background-size: 400% 400%;
    animation: hero-gradient-shift 14s ease infinite;
    /* padding: 64px 0 56px; */
    padding: 44px 0 36px;
    min-height: calc(100vh - 75px - 110px);
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* All animated content starts hidden */
.hero-text-section .slide-content [data-anim] {
    opacity: 0;
    visibility: hidden;
}


.hero-text-section .container {
    width: 100%;
}


.hero-text-section .slide-centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 32px;
    max-width: var(--max-w);
    margin: 0 auto;
}


.hero-text-section .slide-centered .hero-eyebrow-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
}

.hero-text-section .slide-centered .eyebrow-line-bar {
    width: 48px;
    height: 2px;
    background: var(--b3);
    display: inline-block;
}

.hero-text-section .slide-centered .eyebrow-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--b4);
}

.hero-text-section .slide-centered .eyebrow-line-bar {
    width: 48px;
    height: 2px;
    background: var(--b3);
    display: inline-block;
}

.hero-text-section .slide-centered .hero-title {
    font-size: 62px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-text-section .hero-title span {
    color: var(--b4);
}

.hero-text-section .slide-centered .hero-desc {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.7;
    /* max-width: 520px; */
    margin-bottom: 32px;
    max-width: unset;
}











/* ===== Service Feature Area In HOME  ===== */
.service-feature-area{
    margin-top: 30px;
}

.service-feature-area .service-feature-items {
    display: grid;
    gap: 0;
    margin: 0;
    overflow: visible;
}

/* Every direct child cell (these keep their original col-md-4 col-sm-6 classes in the HTML,
   we just stop relying on Bootstrap floats and drive layout with grid instead) */
.service-feature-area .service-feature-items > div {
    float: none;
    width: auto;
    max-width: none;
    flex: none;
    position: relative;
    border-right: none;
    border-bottom: 3px solid var(--b2, #e2c9c2);
}

/* ===== BASE (Mobile First) — 0px to 767px : 1 column ===== */
.service-feature-area .service-feature-items {
    grid-template-columns: 1fr;
}

.service-feature-area .service-feature-card{
    padding: 15px 15px 25px 15px;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures all cards are equal height */

}

.service-feature-area .service-feature-card:not(.empty):hover {
    /* transform: translateY(-4px); */
    box-shadow: 0 16px 32px -16px rgba(26, 124, 212, .3);
}

.service-feature-area .service-feature-card .service-img-container{
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid #86b7fe7d;
    padding: 1px;
    flex-shrink: 0; /* Prevents image from shrinking */
}

.service-feature-area .service-feature-card img {
    /*filter: grayscale(35%) sepia(1%);*/
    transition: all 0.6s ease;
    /*transform: rotate(0deg) scale(1);*/
    transform: scale(1);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-feature-area .service-feature-card:hover img {
    /*filter: grayscale(0%) sepia(0%);*/
    /*transform: rotate(1.5deg) scale(1.04);*/
    transform: scale(1.04);
    transform: ;
}

.service-feature-area .service-feature-card h3 {
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0 0;
    font-size: 20px;
    text-align: center;
    margin-bottom: 5px;
    color: var(--b4);
    flex-shrink: 0; /* Prevents heading from shrinking */

}

.service-feature-area .service-feature-card p {
    /*font-family: 'Inter', sans-serif;*/
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.8;
    margin: 0;
    margin-bottom: 10px;
    text-align: justify;
    text-justify: inter-word;
    font-weight: 400;
    padding: 1px;
    flex: 1; /* Allows paragraph to take available space */
    margin-bottom: 0;
}


.service-feature-card > div:last-child {
    margin-top: auto; /* Pushes the button container to the bottom */
    flex-shrink: 0; /* Prevents button container from shrinking */
}



.service-feature-area .service-feature-card .services-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--b4);
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    border-bottom: 3px solid transparent;
    padding-bottom: 3px;
    margin: 0px auto;
}

.service-feature-area .service-feature-card .services-read-more:hover {
    color: var(--text-dark);
    border-bottom-color: var(--b3);
    gap: 14px;
}

.service-feature-area .service-feature-card .services-read-more svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    transition: transform 0.3s ease;
}

.service-feature-area .service-feature-items > div.empty{
    /**/display: none;
    opacity: 0;
}

.service-feature-area .service-feature-items > div:nth-last-child(1 of :not(.empty)) {
    border-bottom: none;
}

/* ===== TABLET — 768px to 991px : 1 column ===== */
@media (min-width: 768px) {
    .service-feature-area .service-feature-items {
        grid-template-columns: 1fr;
    }
    .service-feature-area .service-feature-items > div {
        border-right: none;
        border-bottom: 3px solid var(--b2, #e2c9c2);
    }
    .service-feature-area .service-feature-items > div:last-child {
        border-bottom: none;
    }
}

/* ===== DESKTOP — 992px to 1199px : 2 columns ===== */
@media (min-width: 992px) {
    .service-feature-area .service-feature-items {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-feature-area .service-feature-items > div {
        border-right: 3px solid var(--b2, #e2c9c2);
        border-bottom: 3px solid var(--b2, #e2c9c2);
    }
    .service-feature-area .service-feature-items > div:nth-child(2n) {
        border-right: none;
    }
    


    /*.service-feature-area .service-feature-items > div:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .service-feature-area .service-feature-items > div:nth-last-child(2 of :not(.empty)) {
        border-bottom: none;
    }*/


    /*.service-feature-area .service-feature-items > div:nth-last-child(2 of :not(.empty)) {
        border-bottom: none;
    }*/






}

/* ===== LARGE DESKTOP — 1200px and above : 3 columns ===== */
@media (min-width: 1200px) {
    .service-feature-area .service-feature-items {
        grid-template-columns: repeat(3, 1fr);
    }
    .service-feature-area .service-feature-items > div {
        border-right: 3px solid var(--b2, #e2c9c2);
        border-bottom: 3px solid var(--b2, #e2c9c2);
    }
    .service-feature-area .service-feature-items > div:nth-child(2n) {
        border-right: 3px solid var(--b2, #e2c9c2);
    }
    .service-feature-area .service-feature-items > div:nth-last-child(-n+2) {
        border-bottom: 3px solid var(--b2, #e2c9c2);
    }
    .service-feature-area .service-feature-items > div:nth-child(3n) {
        border-right: none;
    }
    .service-feature-area .service-feature-items > div:nth-last-child(-n+3) {
        border-bottom: none;
    }
}
