/*
Theme Name: Custom Flectine
Author: KLLS
Description: Custom Version of Flectine
Version: 1.0
Text Domain: flectine
Slug: flectine
Template: flixita
*/

/* Make all blog post cards the same height and align content */
.blog-inner .post-details-outer {
    display: flex;
    flex-direction: column;
    min-height: 500px; /* Adjust as needed for your layout */
    height: 100%;
}
.blog-inner .post-excerpt {
    margin-top: auto;
}



/* Modern Archives Widget: Hide months by default, show on expand */
.modern-archives-month-list {
    display: none !important;
}
.modern-archives-month-list[style*="display: block"] {
    display: block !important;
}
/* Modern dark footer styles to match screenshot */
footer.footer-main {
    background: #15152a !important;
    color: #fff !important;
    padding: 40px 0 0 0;
    margin-top: 40px;
}
.footer-main, .footer-main * {
    color: #fff !important;
}
.footer-main .widget-title,
.footer-main h5.widget-title {
    color: #2ecc40;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-left: 4px solid #2ecc40;
    padding-left: 0.75rem;
    letter-spacing: 0.5px;
    background: none;
}
.footer-main ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-main li {
    margin-bottom: 0.5rem;
}
.footer-main a {
    color: #fff !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-main a:hover {
    color: #2ecc40 !important;
}
.footer-main .footer-contact-list li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}
.footer-main .footer-contact-icon {
    margin-right: 8px;
}
.footer-main .footer-search-form {
    display: flex;
    align-items: center;
    background: #232344;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #2ecc40;
    margin-top: 10px;
}
.footer-main .footer-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #fff;
    outline: none;
}
.footer-main .footer-search-btn {
    background: #2ecc40;
    color: #fff;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 0 6px 6px 0;
}
.footer-main .footer-search-btn:hover {
    background: #1a8314;
}
/* Footer: consolidated interactive transitions and input focus color for search */
.footer-main a,
.footer-main .footer-search-btn,
.footer-main .footer-search-input {
    transition: color .20s ease, background .20s ease, border-color .18s ease, box-shadow .16s ease;
    will-change: color, background, border-color, box-shadow;
}

.footer-main .footer-search-input,
.flectine-theme .footer-main .footer-search-input {
    /* default unfocused color stays white to match dark footer */
    color: #fff;
    background: transparent;
    caret-color: #000; /* keep caret visible */
}

.footer-main .footer-search-input::placeholder,
.flectine-theme .footer-main .footer-search-input::placeholder,
.footer-main .footer-search-input::-webkit-input-placeholder,
.footer-main .footer-search-input::-moz-placeholder,
.footer-main .footer-search-input:-ms-input-placeholder,
.flectine-theme .footer-main .footer-search-input::-webkit-input-placeholder,
.flectine-theme .footer-main .footer-search-input::-moz-placeholder,
.flectine-theme .footer-main .footer-search-input:-ms-input-placeholder {
    color: #d6d6d6 !important;
    opacity: 1;
}

/* On focus, make the footer search input background white and text/caret black for readability */
.footer-main .footer-search-input:focus,
.flectine-theme .footer-main .footer-search-input:focus,
.footer-main .footer-search-input:focus-visible,
.flectine-theme .footer-main .footer-search-input:focus-visible,
.footer-main input.footer-search-input:focus,
.flectine-theme input.footer-search-input:focus {
    color: #000 !important;
    background: #ffffff !important;
    caret-color: #000 !important;
    outline: none !important;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

/* When input has white background, placeholder should be subtle but readable */
.footer-main .footer-search-input:focus::placeholder,
.flectine-theme .footer-main .footer-search-input:focus::placeholder {
    color: #8a8a8a !important;
}
.footer-main .modern-archives-list li a:after,
.footer-main .footer-categories-list li a:after,
.footer-main .fcl-archive-link::after {
    /* circular chevron to match archive widget look */
    content: '\2192';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 1.05rem;
    opacity: 1;
    transition: background .18s ease, transform .18s ease, right .18s ease;
}
.footer-main .modern-archives-list li a,
.footer-main .footer-categories-list li a {
    display: flex;
    align-items: center;
    padding: 0.5rem 2.5rem 0.5rem 0.75rem;
    border-radius: 6px;
    color: #fff;
    font-weight: 500;
    position: relative;
    gap: 0.5rem;
}

/* Add circular chevron at the right, matching archive list */

/* Consolidated: Only one arrow rule for footer categories, placed after all others for max specificity */

/* Footer category arrow: match archive style (bold >, no circle) */
.footer-main .footer-categories-list li a::after {
    content: '\203A'; /* Unicode for single right-pointing angle quotation mark (›) */
    font-family: inherit;
    font-weight: bold;
    font-size: 3em;
    color: #fff;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.85;
    transition: color .18s;
}
.footer-main .footer-categories-list li a:hover::after {
    color: #2ecc40;
}

/* Add white separator line between footer category items, except last */
.footer-main .footer-categories-list li.footer-category-item {
    border-bottom: 1px solid rgba(255,255,255,0.18);
    margin-bottom: 0;
}
.footer-main .footer-categories-list li.footer-category-item:last-child {
    border-bottom: none;
}
   
.footer-main .footer-categories-list li a:hover::after {
    right: 0.5rem;
    background: rgba(255,255,255,0.12);
}
.footer-main .modern-archives-list li a:hover,
.footer-main .footer-categories-list li a:hover {
    background: #232344;
    color: #2ecc40;
}
.footer-main .footer-archives-year-list > li {
    margin-bottom: 0.5rem;
}
.footer-main .footer-archives-month-list {
    margin-left: 1.2rem;
    margin-top: 0.2rem;
}
/* Styles for server-side footer categories widget (Flectine) */
.footer-main .widget_fcl_archive {
    padding: 0.25rem 0 0 0;
}
.footer-main .fcl-archives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-main .fcl-archive-item {
    margin-bottom: 0.5rem;
}
.footer-main .fcl-archive-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}
.footer-main .fcl-archive-link .archive-count {
    color: #2ecc40;
    font-weight: 600;
    margin-left: 0.5rem;
}
.footer-main .fcl-archive-link:hover {
    background: #232344;
    color: #2ecc40;
}
.footer-main .fcl-archive-link { position: relative; }
/* Ensure sidebar is on the right for single post pages on large screens, matching archive proportions */
@media (min-width: 992px) {
    .single .container > .row {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
    }
    .single .col-lg-8 {
        max-width: 73%;
        flex: 0 0 73%;
    }
    .single .col-lg-4 {
        max-width: 27%;
        flex: 0 0 27%;
    }
    .single .sidebar {
        position: relative;
        margin-left: 0;
        width: 100%;
    }
}
/* Modern Sidebar Styles for Blog Archive */
.modern-sidebar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
}
.archive .sidebar,
.single .sidebar,
.modern-sidebar,
.sidebar .widget,
.sidebar .widget a {
    /* unified, subtle transitions for right sidebar interactions */
    transition: background .22s ease, color .18s ease, transform .16s ease, box-shadow .16s ease, opacity .18s ease;
    will-change: transform, opacity;
}

/* Neutralize any leftover arrow-specific transitions for sidebar (kept for safety) */
.sidebar .widget ul li a::after,
.sidebar .widget ul li a:hover::after,
.sidebar .widget ul li a:focus::after {
    transition: none !important;
}
.modern-widget {
    margin-bottom: 2rem;
}
.modern-widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bs-primary, #1a8314);
    margin-bottom: 1rem;
    border-left: 4px solid var(--bs-primary, #1a8314);
    padding-left: 0.75rem;
    letter-spacing: 0.5px;
}
.modern-search-form {
    display: flex;
    align-items: center;
    background: #f7f7f7;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}
.modern-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    outline: none;
}
.modern-search-btn {
    background: var(--bs-primary, #1a8314);
    color: #fff;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.modern-search-btn:hover {
    background: var(--bs-primary-dark, #043601);
}
.modern-subcat-list,
.modern-archives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.modern-subcat-list li,
.modern-archives-list li {
    margin-bottom: 0.5rem;
}
.modern-subcat-list li a,
.modern-archives-list li a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    color: var(--bs-secondary, #0d0d23);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    position: relative;
}
.modern-subcat-list li a:hover,
.modern-archives-list li a:hover {
    background: var(--bs-primary-light, #d7e7d6);
    color: var(--bs-primary, #1a8314);
}
.modern-subcat-list li a::after {
    /* match circular chevron used in footer archives */
    content: '\2192';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 1.05rem;
    opacity: 1;
    transition: background .18s ease, transform .18s ease, right .18s ease;
}
.modern-subcat-list li a:hover::after {
    right: 0.5rem;
    background: rgba(255,255,255,0.12);
}

/* Completely remove all arrow animation for sidebar subcategory links, override all sources */
.sidebar .widget ul li a::after,
.sidebar .widget ul li a:hover::after,
.sidebar .widget ul li a:focus::after,
.widget ul li a::after,
.widget ul li a:hover::after,
.widget ul li a:focus::after,
ul li a::after,
ul li a:hover::after,
ul li a:focus::after {
    transition: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    animation: none !important;
    will-change: auto !important;
}

/* Ensure sidebar is on the right for archive pages on large screens */
@media (min-width: 992px) {
    .archive .container > .row {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
    }
        .archive .col-lg-8 {
            max-width: 73%;
            flex: 0 0 73%;
        }
        .archive .col-lg-4 {
            max-width: 27%;
            flex: 0 0 27%;
        }
    .archive .sidebar {
        position: relative;
        margin-left: 0;
        width: 100%;
    }
}
/* Remove underline from blog section titles, match news section style */
.blogs-section .news-title a {
    text-decoration: none !important;
}
.blogs-section .news-title {
    text-decoration: none !important;
}

:root {
    --bs-primary: #1a8314;
    --bs-primary-dark:#043601;
    --bs-primary-light: #d7e7d6;
    --bs-primary-shadow:rgb(0 123 255 / 0.5);
    --bs-secondary:#0d0d23;
    --bs-secondary-dark: #060707; 
}

/* Consolidated interactive transitions
   Applies to most links and non-primary buttons so hover timing is consistent.
   Primary buttons (`.btn.btn-primary`) are intentionally excluded to keep their custom behaviour. */
.flectine-theme a:not(.btn),
.flectine-theme .btn,
.flectine-theme .modern-search-btn,
.flectine-theme .footer-main a,
.flectine-theme .modern-subcat-list li a,
.flectine-theme .modern-archives-list li a,
.sidebar .widget ul li a {
    transition: color .20s ease, background .20s ease, transform .16s ease, box-shadow .16s ease, opacity .20s ease, right .20s ease;
    will-change: transform, opacity;
}

/* Forms: unified transitions and subtle focus state for inputs, textareas and selects */
.flectine-theme input[type="text"],
.flectine-theme input[type="email"],
.flectine-theme input[type="search"],
.flectine-theme input[type="tel"],
.flectine-theme textarea,
.flectine-theme select,
.flectine-theme .modern-search-input,
.flectine-theme .footer-main .footer-search-input,
.flectine-theme .cts-contact-form input[type="text"],
.flectine-theme .cts-contact-form input[type="email"],
.flectine-theme .cts-contact-form textarea {
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    will-change: border-color, box-shadow;
}
.flectine-theme input[type="text"]:focus,
.flectine-theme input[type="email"]:focus,
.flectine-theme input[type="search"]:focus,
.flectine-theme input[type="tel"]:focus,
.flectine-theme textarea:focus,
.flectine-theme select:focus,
.flectine-theme .modern-search-input:focus,
.flectine-theme .footer-main .footer-search-input:focus,
.flectine-theme .cts-contact-form input[type="text"]:focus,
.flectine-theme .cts-contact-form input[type="email"]:focus,
.flectine-theme .cts-contact-form textarea:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 8px 24px rgba(26,131,20,0.06);
    outline: none;
}

.flectine-theme .above-header .widget-left {
	padding-left: 390px;
}

.flectine-theme .above-header .widget-right .widget-contact a:hover,
.flectine-theme .above-header .widget-right .widget-contact a:focus {
    color: var(--bs-white);
}

.flectine-theme .main-header .header-search-toggle:hover, 
.flectine-theme .main-header .header-search-toggle:focus {
    color: var(--bs-primary);
    background-color: var(--bs-white);
}

.flectine-theme .above-header {
    border-bottom: none;
}

.flectine-theme .above-header:before,
.flectine-theme .above-header:after {
	display:none;
}

.flectine-theme .navbar-area {
    justify-content: space-between;
}

.flectine-theme .main-navigation .logo-box {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-width: 360px;
    height: 145px;
    margin-top: -46px;
    padding-left: 60px;
    padding-right: 100px;
    margin-right: 60px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
	z-index: 0;
}

.flectine-theme .main-navigation.is-sticky-menu .logo-box {
    height: 101px;
    margin-top: 0;
}

.flectine-theme .main-navigation .logo-box:before {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--bs-white);
    clip-path: polygon(0 0, 100% 0%, 84% 100%, 0% 100%);
    content: "";
    z-index: -1;
}


.flectine-theme .main-navbar .main-menu > li.menu-item:not(.focus):not(.active):not(:hover) > a:not(:focus):not(:hover) {
    color: var(--bs-white);
}


.flectine-theme .main-navbar {
    padding-left: 3rem;
}

.flectine-theme .menu-right-list .button-area {
    position: relative;
    background-color: var(--bs-white);
    width: 250px;
    height: 100%;
    padding: 19px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    clip-path: polygon(15% 0, 100% 0%, 100% 100%, 0% 100%);
}


.flectine-theme .info-section .info-inner {
    position: relative;
    padding: 30px 30px 35px;
    background-color: var(--bs-white);
    text-align: center;
    box-shadow: rgb(2 2 2 / 6%) 0 0 50px;
	overflow: hidden;
}

.flectine-theme .info-section .feature-bg-img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.flectine-theme .info-section .feature-bg-img:before {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    top: auto;
    bottom: 0;
    background-color: var(--bs-white);
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
    content: "";
}

.flectine-theme .info-section .feature-bg-img:after {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    top: auto;
    bottom: 0;
    height: 0;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(24, 40, 56, 0.68)), color-stop(35%, rgba(24, 40, 56, 0.68)), to(var(--bs-primary)));
    background: linear-gradient(to bottom, rgba(24, 40, 56, 0.68) 0%, rgba(24, 40, 56, 0.68) 35%, var(--bs-primary) 100%);
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
    content: "";
}

.flectine-theme .info-section .feature-bg-shape {
    position: absolute;
    top: 0;
    left: 14px;
	width: 264px;
    height: 273px;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

.flectine-theme .info-section .info-icon {
    position: relative;
    width: 78px;
    height: 78px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 42px;
    color: var(--bs-primary);
    background-color: #ebf1f5;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

.flectine-theme .info-section .info-icon:after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 21px;
    width: 0;
    height: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-top: 12px solid #ebf1f5;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

.flectine-theme .info-section .feature-box-title a {
    position: relative;
    color: var(--bs-secondary);
    font-weight: 700;
    margin-bottom: 20px;
    text-decoration: none;
}

.flectine-theme .info-section .read-more {
    position: relative;
    width: 38px;
    height: 38px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--bs-white);
    background-color: var(--bs-primary);
	text-decoration: none;
}

.flectine-theme .info-section .info-inner:hover .read-more {
    border: 1px solid var(--bs-white);
}

.flectine-theme .info-section .info-inner:hover .feature-bg-img:before {
    height: 0;
}

.flectine-theme .info-section .info-inner:hover .feature-bg-img:after {
    height:100%;
}

.flectine-theme .info-section .info-inner .fbox-content {
    color: var(--bs-secondary);
    position: relative;
    margin-bottom: 20px;
    transition: .5s;
}

.flectine-theme .info-section .info-inner:hover .feature-box-title a,
.flectine-theme .info-section .info-inner:hover .fbox-content{
	color: var(--bs-white);
}

.flectine-theme .info-section .info-inner:hover .info-icon {
    color: var(--bs-white);
    background-color: var(--bs-primary);
    -webkit-transform: scale(-1) rotate(180deg);
    transform: scale(-1) rotate(180deg);
}

.flectine-theme .info-section .info-inner:hover .info-icon:after {
     border-top-color: var(--bs-primary);
}


.flectine-theme .info-section .info-inner:hover .feature-bg-shape {
   opacity:0;
}

/* end of info-section */

/* start of service-section */

.flectine-theme .service-section .bg-shape1 {
    display: none;
}

.flectine-theme .service-section .service-inner {
    border-radius: 5px;
    border: 1px solid rgba(96, 94, 94, 0.12);
}

.flectine-theme .service-section .image-box {
    position: relative;
    overflow: hidden;
}

.flectine-theme .service-section .image-box:before {
    bottom: 0;
    content: "";
    background-color: #0f0f0f66;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    z-index: 1;
}

.flectine-theme .service-section .image-box:after {
    background: var(--bs-primary);
    bottom: 0;
    content: "";
    height: 5px;
    left: 0;
    position: absolute;
    right: 0;
    width: 100%;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    z-index: 1;
}

.flectine-theme .service-section .image-box img {
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

.flectine-theme .service-section .service-content {
    padding: 60px 30px 30px;
    position: relative;
    text-align: center;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}
.flectine-theme .service-section .service-content .icon {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #fff;
    border: 6px solid #fff;
    border-radius: 50%;
    -webkit-box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.07);
    box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.07);
    color: var(--bs-primary);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 38px;
    height: 90px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    top: -55px;
    text-align: center;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    width: 90px;
    z-index: 1;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

.flectine-theme .service-section .service-content .icon:after {
    background: var(--bs-primary);
    border-radius: 50%;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all 0.5s cubic-bezier(0.62, 0.21, 0.45, 1.52);
    transition: all 0.5s cubic-bezier(0.62, 0.21, 0.45, 1.52);
}
.flectine-theme .service-section .service-inner:hover .icon{
	color: var(--bs-white);
}
.flectine-theme .service-section .service-inner:hover .icon:after {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.flectine-theme .service-section .service-inner:hover .image-box:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.flectine-theme .service-section .service-inner:hover .image-box:after {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}
.flectine-theme .service-section .service-inner .service-title a::before {
    display:none;
}

.flectine-theme .service-section .service-inner .service-title {
    margin-bottom: 1rem !important;
    text-align: center;
}

/* end of service-section */

/* start of news-section */
.news-section .bg-shape1 {
    display: none;
}

.news-section .news-inner {
    border-radius: 20px !important;
    border: 1px solid rgba(180, 65, 12, 0.12);
}

.news-section .image-box {
    position: relative;
    overflow: hidden;
}

.news-section .image-box:before {
    bottom: 0;
    content: "";
    background-color: #0f0f0f66;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    z-index: 1;
}

.news-section .image-box:after {
    background: var(--bs-primary);
    bottom: 0;
    content: "";
    height: 5px;
    left: 0;
    position: absolute;
    right: 0;
    width: 100%;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    z-index: 1;
}

.news-section .image-box img {
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

/* Force consistent featured image size for news cards */
.news-section .image-box,
.news-section .image-box img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block !important;
}

.news-section .news-content {
    padding: 20px 10px 20px 10px;
    position: relative;
    text-align: center;
    background-color: #fff;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
    display: flex;
    flex-direction: column;
    min-height: 300px !important; /* Adjust as needed for your layout */
}

.news-section .news-content .post-more {
    margin-top: auto;
}
/* .news-section .news-content .icon {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #fff;
    border: 6px solid #fff;
    border-radius: 50%;
    -webkit-box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.07);
    box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.07);
    color: var(--bs-primary);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 38px;
    height: 90px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    top: -55px;
    text-align: center;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    width: 90px;
    z-index: 1;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

.news-section .news-content .icon:after {
    background: var(--bs-primary);
    border-radius: 50%;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all 0.5s cubic-bezier(0.62, 0.21, 0.45, 1.52);
    transition: all 0.5s cubic-bezier(0.62, 0.21, 0.45, 1.52);
}

.news-section .news-inner:hover .icon{
	color: var(--bs-white);
}
.news-section .news-inner:hover .icon:after {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.news-section .news-inner:hover .image-box:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
} */

.news-section .news-inner:hover .image-box:after {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}
.news-section .news-inner .news-title a::before {
    display:none;
    
}

.news-section .news-inner .news-title a {
    text-decoration: none !important;
}

.news-section .news-inner .news-title {
    margin-bottom: 1rem !important;
    text-align: center;
    
}

.news-inner {
    position: relative;
}
.news-inner .news-date-ribbon-placeholder {
    display: none;
}
.news-inner[data-date]:after {
    content: '\f073  ' attr(data-date); /* fa-calendar unicode + date */
    font-family: 'FontAwesome', Arial, sans-serif;
    position: absolute;
    top: 0;
    right: 0;
    background: #219a1a;
    color: #fff;
    font-weight: bold;
    padding: 4px 12px 4px 24px;
    border-radius: 0 0 0 6px;
    font-size: 0.92rem;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 28px;
    letter-spacing: 0.5px;
}

/* end of news-section */

/* Sticky Top Bar */
/* #above-header {
    position: fixed;
    width: 100%;
    z-index: 9999;
   
} */

/* Original Code */
.flectine-theme .main-content h4 {    border: none;
	padding: 5px 15px;
}

.flectine-theme .main-content h1 .primary {
    color: var(--bs-white);
    -webkit-text-fill-color: var(--bs-primary);
    -webkit-text-stroke-width: 1px;
}

.flectine-theme .main-content h4:before {
   display:none;
}

.flectine-theme .main-content h4:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bs-primary);
    transform: skewX(-20deg);
    z-index: -1;
}

.flectine-theme .btn {
    border-radius: 0 !important;
}

/* Removed complex fill animations for .btn-style-three (pseudo-elements and RTL/from-right variants).
   Keep primary button design intact. Provide a simple, attractive hover for non-primary buttons. */
.btn-style-three .btn:not(.btn-primary) {
    position: relative;
    transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease;
}
.btn-style-three .btn:not(.btn-primary):hover,
.btn-style-three .btn:not(.btn-primary):focus {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    color: var(--bs-primary);
}
.btn-style-three .btn:not(.btn-primary):active { transform: translateY(0); }

.flectine-theme .flixita-call-action-section .call-content h2 {
    color: var(--bs-white);
}

.marquee-section {
    position: relative;
    padding: 12px 0;
    margin-top: 6.75rem;
}

.marquee-section:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 90px;
    width: 100%;
    background-color: var(--bs-primary);
    pointer-events: none;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.marquee-box {
    position: relative;
    --duration: 30s;
    --gap: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    gap: var(--gap);
    background: var(--bs-white);
    padding: 30px 0;
    -webkit-transform: rotate(-1.33deg);
    transform: rotate(-1.33deg);
    -webkit-box-shadow: 0 10px 60px 0 rgba(171, 171, 171, .25);
    box-shadow: 0 10px 60px 0 rgba(171, 171, 171, .25);
}

.marquee-box .marquee-group {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: var(--gap);
    min-width: 100%;
    -webkit-animation: scroll var(--duration) linear infinite;
    animation: scroll var(--duration) linear infinite;
}

.marquee-box .icon {
    margin-right: 20px;
    font-size: 35px;
	color: var(--bs-primary);
}

.marquee-box .text {
    position: relative;
    color: var(--bs-secondary);
    font-size: 35px;
    font-weight: 500;
    line-height: 1;
    padding-right: 105px;
}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    100% {
        -webkit-transform: translateX(calc(-100% - var(--gap)));
        transform: translateX(calc(-100% - var(--gap)))
    }
}

@media only screen and (max-width: 1699px) {
    .flectine-theme .above-header .widget-left  {
        padding-left: 330px;
    }
	.flectine-theme .main-navigation .logo-box {
		padding-left: 0;
		padding-right: 0;
		min-width: 300px;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		margin-right: 30px;
	  }
}



@media only screen and (max-width: 1400px) {
    .flectine-theme .above-header .widget-left  {
        padding-left: 230px;
    }
	.flectine-theme .main-navigation .logo-box {
        min-width: 230px;
    }
}

@media (max-width: 1199.98px) {
  .flectine-theme .main-navigation .logo-box {
    min-width: 220px;
  }
}

@media (min-width: 992px) {
	.flectine-theme .main-header .container {
		padding: 0;
		max-width: 100%;
	}
	.flectine-theme .above-header .widget-right {
        padding-right: 32px;
    }
	.flectine-theme .above-header {
		background: var(--bs-primary);
	}
	.flectine-theme .main-navigation-area,
	.flectine-theme .is-sticky-menu {
		background-color: var(--bs-secondary);
	}
}

@media (max-width: 991px) {
	.flectine-theme .above-header .widget-left  {
        padding-left: 0;
    }
}

.wp-block-latest-comments a {
    text-decoration: none;
}

.wp-block-latest-comments {
    padding: 0;
}

.wp-block-latest-comments.has-background {
    padding: 10px;
}

a.wp-block-latest-posts__post-title:hover, 
a.wp-block-latest-posts__post-title:focus {
    color: var(--bs-primary);
}

.wp-block-latest-posts.wp-block-latest-posts__list.has-background li {
    padding: 1rem;
}

.wp-block-latest-comments {
    padding: 0;
}

.wp-block-categories li a {
    color: var(--bs-secondary);
}

.wp-block-categories li a:hover, 
.wp-block-categories li a:focus {
    color: var(--bs-primary);
}

.footer-main .wp-block-calendar td {
    color: var(--bs-secondary);
}

.wp-block-loginout.has-background {
    padding: 1rem;
}

.wp-block-loginout a {
    text-decoration: none;
}

.post-details-outer .post-title-head {
	margin-top: 2.5rem;
}

.wp-block-post-author.has-background {
    padding: 1rem;
}

.wp-block-image figcaption {
    text-align: center;
}

.wp-block-post-author img {
    border-radius: 100%;
}

.wp-block-site-title a {
    text-decoration: none;
}

.wp-block-page-list {
	padding: 0;
}

.wp-block-image .alignleft figcaption {
	text-align: left;
}

.wp-block-image figcaption {
	text-align: center;
}

.wp-block-embed figcaption {
    text-align: center;
}

.wp-block-site-title.has-background {
    padding: 1rem;
}

.wp-block-site-tagline.has-background {
    padding: 1rem;
}

/* KLLS */
/* News Section Styles */
.news-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.news-section .section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}

.news-section .news-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.news-section .news-item {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.news-section .news-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-decoration: none !important;
}

.news-section .news-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.news-section .read-more {
    font-size: 0.9rem;
    color: #0073aa;
    text-decoration: none;
}

.news-section .read-more:hover {
    text-decoration: underline;
}

/* Language Switcher */

.widget-language-switcher ul {
    list-style: none; /* Remove bullets */
    padding: 0;
    margin: 0;
    display: flex; /* Align flags side by side */
    gap: 10px; /* Add spacing between flags */
}

.widget-language-switcher li {
    display: inline-block; /* Ensure flags are inline */
}

.widget-language-switcher img {
    width: 26px !important; /* Adjust flag width */
    height: 17px !important; /* Adjust flag height */
    margin-right: 20px; /* Add spacing between flag and text */
}

.widget-language-switcher a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Use default text color */
}

.widget-language-switcher a:hover {
    color: var(--bs-primary); /* Change color on hover */
}

/* Force consistent featured image size for news cards, override all conflicting styles */
.news-section .image-box,
.news-section .image-box img,
.news-section .image-box img.img-fluid {
    width: 100% !important;
    height: 150px !important;
    object-fit: cover !important;
    display: block !important;
    max-width: 100% !important;
}

/* Contact form (cts) styles */
.cts-contact-form { max-width: 720px; margin: 0 auto; }
.cts-contact-form .cts-title { font-size: 1.6rem; margin-bottom: 2rem; color: var(--bs-secondary); }
.cts-contact-form .cts-row { margin-bottom: 0.75rem; }
.cts-contact-form .cts-row label { display:block; margin-bottom:0.35rem; font-weight:600; }
.cts-contact-form .cts-row input[type="text"],
.cts-contact-form .cts-row input[type="email"],
.cts-contact-form .cts-row textarea { width:100%; padding:0.6rem; border:1px solid #ddd; border-radius:6px; }
.cts-contact-form .cts-row button.btn { background:var(--bs-primary); color:#fff; border:none; padding:0.6rem 1rem; border-radius:6px; }

/* Style only primary buttons (.btn.btn-primary) with an attractive green look */
.flectine-theme .btn.btn-primary {
    background: linear-gradient(180deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    color: #fff;
    border: none;
    padding: 0.65rem 1.15rem;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
    text-align: center;
    min-height: 44px;
    line-height: 1;
    box-shadow: 0 6px 20px rgba(26,131,20,0.18), inset 0 -3px 0 rgba(0,0,0,0.06);
    transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}
.flectine-theme .btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26,131,20,0.22);
}
.flectine-theme .btn.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(26,131,20,0.14);
    filter: brightness(.98);
}
.flectine-theme .btn.btn-primary:focus-visible {
    outline: 3px solid rgba(26,131,20,0.16);
    outline-offset: 3px;
}
