/* =========================================================
   KAS HELAL - FULL CLEAN CORRECTED CSS
   ========================================================= */

/* =========================
   ROOT
   ========================= */
:root{
    --kas-primary: #123d57;
    --kas-primary-dark: #0d2f44;
    --kas-primary-soft: #35586b;
    --kas-accent: #18a36d;
    --kas-accent-dark: #12865a;
    --kas-text: #2d4654;
    --kas-muted: #6b7b86;
    --kas-bg: #f4f7fa;
    --kas-white: #ffffff;
    --kas-border: #e2e9ee;
    --kas-border-dark: #d5e0e7;
    --kas-shadow-soft: 0 8px 24px rgba(0,0,0,0.05);
    --kas-shadow-medium: 0 12px 30px rgba(0,0,0,0.08);
    --kas-shadow-menu: 0 16px 35px rgba(0,0,0,0.10);
    --kas-radius-lg: 20px;
    --kas-radius-md: 16px;
    --kas-radius-sm: 12px;
    --kas-radius-xs: 8px;
    --kas-transition: all .28s ease;
}

/* =========================
   RESET / BASE
   ========================= */
html,
body{
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 16px;
    line-height: 1.7;
    color: var(--kas-text);
    background: var(--kas-bg);
}

body,
p,
span,
li,
a,
input,
button,
textarea,
select{
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
}

a{
    color: var(--kas-primary);
    text-decoration: none;
    transition: var(--kas-transition);
}

a:hover,
a:focus{
    color: var(--kas-accent);
    text-decoration: none;
}

img{
    max-width: 100%;
    height: auto;
    display: block;
}

p{
    font-size: 15px;
    line-height: 1.8;
    color: #5c6d78;
    margin: 0 0 16px;
}

h1, h2, h3, h4, h5, h6{
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    color: var(--kas-primary);
    font-weight: 700;
    line-height: 1.35;
    margin-top: 0;
}

h1{ font-size: 38px; }
h2{ font-size: 32px; }
h3{ font-size: 26px; }
h4{ font-size: 22px; }
h5{ font-size: 18px; }
h6{ font-size: 16px; }

small,
.text-muted,
.post-meta,
.simple-post-list .post-meta{
    font-size: 13px;
    color: #7a8892 !important;
}

/* =========================
   LAYOUT
   ========================= */
.container{
    max-width: 1170px;
    position: relative;
}

.row{
    margin-left: -15px;
    margin-right: -15px;
}

[class*="col-"]{
    padding-left: 15px;
    padding-right: 15px;
}

section,
.main-section,
.page-section,
.home-section{
    padding-top: 50px;
    padding-bottom: 50px;
}

/* =========================
   HEADER
   ========================= */
#header{
    background: #f8fafc;
    border-bottom: 1px solid var(--kas-border);
    box-shadow: none;
    position: relative;
    z-index: 999;
}

#header .header-body{
    background: #f8fafc;
    border: none;
    box-shadow: none;
}

.custom-header-container.container{
    width: 100%;
    max-width: 1170px;
    padding-left: 15px;
    padding-right: 15px;
}

/* top area */
.custom-header-top{
    padding: 20px 0 6px;
    background: transparent;
}

.logoVerseRow{
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) 170px;
    align-items: stretch;
    column-gap: 0;
}

.header-logo-box,
.top-image-box{
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.header-logo-card,
.header-image-card{
    width: 100%;
    height: 170px;
    background: #ffffff;
    border: 1px solid #d9e3e9;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

.header-logo-link{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo-image,
.top-right-image{
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* verse */
.verse-box{
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-width: 0;
}

.verse-card{
    width: 100%;
    height: 170px;
    min-height: 170px;
    background: #ffffff;
    border-top: 1px solid #d9e3e9;
    border-bottom: 1px solid #d9e3e9;
    border-left: none;
    border-right: none;
    border-radius: 0;
    box-shadow: none;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.verse-image{
    margin: 0 auto;
    max-width: 100%;
    max-height: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logoVerseRow .header-logo-card{
    border-right: none;
    border-radius: 18px 0 0 18px;
}

.logoVerseRow .verse-card{
    border-radius: 0;
}

.logoVerseRow .header-image-card{
    border-left: none;
    border-radius: 0 18px 18px 0;
}

/* social row */
.custom-social-row{
    padding: 10px 0 8px;
}

.custom-social-wrap{
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.custom-social-icons{
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-social-icons li{
    display: inline-block;
    margin-left: 6px;
}

.custom-social-icons li:first-child{
    margin-left: 0;
}

.custom-social-icons li a{
    width: 28px;
    height: 28px;
    border: 1px solid #dce5ea;
    border-radius: 50%;
    background: #ffffff;
    color: #35586b !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--kas-transition);
}

.custom-social-icons li a:hover{
    background: var(--kas-accent);
    border-color: var(--kas-accent);
    color: #fff !important;
}

/* =========================
   MENU AREA
   ========================= */
.custom-menu-row{
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 6px;
}

.custom-header-nav{
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    border-top: 2px solid var(--kas-accent);
    padding-top: 2px;
    position: relative;
    text-align: center;
}

.header-btn-collapse-nav{
    display: none;
    margin: 10px 0;
    border-radius: 10px !important;
    border: 1px solid var(--kas-border);
    background: #fff;
    color: var(--kas-primary);
    padding: 10px 14px !important;
    box-shadow: none;
}

/* desktop nav container */
.custom-header-nav .header-nav-main,
.custom-header-nav .header-nav-main.collapse,
#header .header-nav-main{
    display: block !important;
    width: 100% !important;
    float: none !important;
    min-height: auto !important;
    background: transparent !important;
    margin: 0 auto !important;
    border: none !important;
    text-align: center !important;
}

#header .header-nav-main nav{
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* main ul */
#mainNav{
    width: 100% !important;
    max-width: 1170px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
}

#mainNav > li,
#header .header-nav-main nav > ul > li{
    float: none !important;
    position: relative !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* main links */
#header .header-nav-main nav > ul > li > a{
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    min-height: 50px !important;
    padding: 0 8px !important;
    color: var(--kas-primary) !important;
    text-transform: uppercase !important;
    letter-spacing: .12px;
    border-radius: 8px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    transition: var(--kas-transition) !important;
    background: transparent !important;
    overflow: hidden !important;
}

#header .header-nav-main nav > ul > li > a:hover,
#header .header-nav-main nav > ul > li:hover > a,
#header .header-nav-main nav > ul > li.active > a,
#header .header-nav-main nav > ul > li.open > a{
    color: var(--kas-accent) !important;
    background: rgba(24,163,109,.08) !important;
}

/* dropdown */
#header .header-nav-main nav > ul > li.dropdown{
    position: relative !important;
}

#header .header-nav-main nav > ul > li.dropdown > .dropdown-menu{
    display: none;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    min-width: 250px !important;
    background: #fff !important;
    border: 1px solid var(--kas-border) !important;
    border-radius: 14px !important;
    box-shadow: var(--kas-shadow-menu) !important;
    padding: 8px 0 !important;
    z-index: 99999 !important;
    margin-top: 0 !important;
    text-align: left !important;
}

#header .header-nav-main nav > ul > li.dropdown:hover > .dropdown-menu{
    display: block !important;
}

#header .dropdown-menu li{
    display: block !important;
    width: 100% !important;
}

#header .dropdown-menu li a{
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    display: block !important;
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    color: var(--kas-text) !important;
    white-space: normal !important;
    transition: var(--kas-transition) !important;
    background: transparent !important;
    text-align: left !important;
}

#header .dropdown-menu li a:hover{
    background: #f4fbf7 !important;
    color: var(--kas-accent) !important;
    padding-left: 20px !important;
}

/* =========================
   HERO / SLIDER
   ========================= */
.home-slider,
.main-slider,
.owl-carousel,
.rev_slider_wrapper{
    margin-top: 0;
}

.hero-slider-wrapper,
.slider-wrapper,
.hero-wrapper,
.rev_slider_wrapper{
    position: relative;
    overflow: hidden;
    box-shadow: var(--kas-shadow-medium);
    background: #fff;
    border-radius: 0 0 18px 18px;
    margin-bottom: 30px;
}

.rev_slider_wrapper::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.28);
    pointer-events: none;
}

.home-slider img,
.main-slider img,
.rev_slider_wrapper img{
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 0 0 18px 18px;
}

.hero-main-title{
    text-shadow: 0 4px 18px rgba(0,0,0,0.25);
    letter-spacing: 0.2px;
}

.hero-sub-title{
    text-shadow: 0 3px 10px rgba(0,0,0,0.22);
}

.hero-btn{
    display: inline-block;
    min-width: 180px;
    text-align: center;
    text-decoration: none !important;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    transition: var(--kas-transition);
    box-shadow: 0 8px 25px rgba(0,0,0,0.16);
}

.hero-btn-primary{
    background: var(--kas-accent);
    color: #fff !important;
    border: 2px solid var(--kas-accent);
}

.hero-btn-primary:hover{
    background: var(--kas-accent-dark);
    border-color: var(--kas-accent-dark);
    color: #fff !important;
}

.hero-btn-secondary{
    background: rgba(255,255,255,0.12);
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.95);
    backdrop-filter: blur(2px);
}

.hero-btn-secondary:hover{
    background: #fff;
    color: var(--kas-primary) !important;
}

/* =========================
   SECTION TITLES
   ========================= */
.section-title,
.sectionHeading,
.main-title,
.services-title-wrap{
    text-align: center;
    margin-bottom: 34px;
}

.section-title h2,
.sectionHeading h2,
.main-title h2,
.services-title-wrap h2,
#services h2,
.home-services h2{
    font-size: 36px;
    font-weight: 700;
    color: var(--kas-primary);
    margin-bottom: 10px;
}

.section-title p,
.sectionHeading p,
.main-title p{
    max-width: 720px;
    margin: 0 auto;
    color: var(--kas-muted);
}

/* =========================
   SERVICE CARDS
   ========================= */
.services-section,
#services,
.home-services{
    padding: 70px 0;
    background: transparent;
}

.services-row{
    display: flex;
    flex-wrap: wrap;
}

.services-row > [class*="col-"]{
    display: flex;
    margin-bottom: 30px;
}

.service-card,
.service-box,
.feature-box,
.service-card-custom{
    width: 100%;
    background: #fff;
    border: 1px solid #e7edf2;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    padding: 20px;
    text-align: center;
    transition: var(--kas-transition);
    overflow: hidden;
}

.service-card:hover,
.service-box:hover,
.feature-box:hover,
.service-card-custom:hover{
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.10);
}

.service-card-image{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 210px;
    overflow: hidden;
    margin-bottom: 18px;
}

.service-card img,
.service-box img,
.feature-box img,
.service-card-image img{
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.service-card-image img{
    transition: transform .4s ease;
}

.service-card-custom:hover .service-card-image img{
    transform: scale(1.05);
}

.service-card-body{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
}

.service-card h3,
.service-box h3,
.feature-box h3,
.service-card-body h4{
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: #314b5c;
}

.service-card-body h4 a{
    color: #314b5c;
    text-decoration: none !important;
}

.service-card-body h4 a:hover{
    color: var(--kas-accent);
}

/* =========================
   NEWS / POSTS
   ========================= */
.news-item,
.blog-post,
.post,
.haber-item,
.post.post-medium{
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    padding: 24px;
    margin-bottom: 30px;
    transition: var(--kas-transition);
}

.news-item:hover,
.blog-post:hover,
.post:hover,
.haber-item:hover{
    box-shadow: 0 16px 34px rgba(0,0,0,0.08);
}

.news-item img,
.blog-post img,
.post img,
.haber-item img,
.post.post-medium .img-thumbnail img{
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.post.post-medium .img-thumbnail{
    border: none;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 0;
    padding: 0;
}

.post.post-medium .post-content{
    text-align: left;
}

.news-item h2,
.blog-post h2,
.post h2,
.haber-item h2,
.post.post-medium .post-content h2,
.post.post-medium .post-content h4{
    font-size: 22px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 14px;
    color: #314b5c;
}

.news-item p,
.blog-post p,
.post p,
.haber-item p,
.post.post-medium .post-content p{
    font-size: 15px;
    line-height: 1.8;
    color: #5f6f7a;
    margin-bottom: 14px;
}

.news-meta,
.post-meta,
.haber-meta,
.post.post-medium .post-meta{
    font-size: 13px;
    line-height: 1.5;
    color: #7c8891;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 14px;
}

/* =========================
   CUSTOM SIDEBAR NEWS - FINAL WORKING
   ========================= */

.custom-news-sidebar{
    width: 100%;
}

.custom-news-sidebar .heading-primary{
    font-size: 22px;
    font-weight: 700;
    color: #314b5c;
    margin: 0 0 16px 0;
}

/* tabs card */
.custom-sidebar-tabs-box{
    background: #ffffff !important;
    border: 1px solid #e7edf2 !important;
    border-radius: 22px !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04) !important;
    padding: 18px !important;
    margin-bottom: 24px !important;
    overflow: hidden !important;
}

/* tabs */
.custom-sidebar-tabs{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border-bottom: none !important;
}

.custom-sidebar-tabs > li{
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.custom-sidebar-tabs > li > a{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 50px !important;
    padding: 10px 8px !important;
    margin: 0 !important;
    border: 1px solid #dfe7ed !important;
    border-radius: 14px !important;
    background: #f7f9fb !important;
    color: #173d5a !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

.custom-sidebar-tabs > li.active > a,
.custom-sidebar-tabs > li.active > a:hover,
.custom-sidebar-tabs > li.active > a:focus{
    background: #ffffff !important;
    color: #18a36d !important;
    border-color: #dfe7ed !important;
    box-shadow: inset 0 -2px 0 #18a36d !important;
}

.custom-sidebar-tab-content{
    background: #ffffff !important;
    border: 1px solid #e7edf2 !important;
    border-radius: 18px !important;
    padding: 16px !important;
    overflow: hidden !important;
}

/* news list */
.custom-aside-news-list{
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.custom-aside-news-item{
    display: block !important;
    width: 100% !important;
    margin: 0 0 18px 0 !important;
    padding: 0 0 18px 0 !important;
    border-bottom: 1px solid #ebf0f4 !important;
    background: transparent !important;
}

.custom-aside-news-item:last-child{
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.custom-aside-news-image{
    width: 100% !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
}

.custom-aside-news-image a{
    display: block !important;
    width: 100% !important;
}

.custom-aside-news-image img{
    display: block !important;
    width: 100% !important;
    height: 145px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
    border: 1px solid #e4eaf0 !important;
}

.custom-aside-news-text{
    display: block !important;
    width: 100% !important;
}

.custom-aside-news-title{
    display: block !important;
    width: 100% !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    color: #314b5c !important;
    text-decoration: none !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-align: left !important;
}

.custom-aside-news-title:hover{
    color: #18a36d !important;
}

.custom-aside-news-date{
    margin-top: 8px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #7a8892 !important;
    text-align: left !important;
}

/* documentation list */
.custom-news-sidebar .nav.nav-list{
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.custom-news-sidebar .nav.nav-list li{
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #e9eef2 !important;
}

.custom-news-sidebar .nav.nav-list li:last-child{
    border-bottom: none !important;
}

.custom-news-sidebar .nav.nav-list li a{
    display: block !important;
    padding: 12px 0 !important;
    color: #314b5c !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
}

.custom-news-sidebar .nav.nav-list li a:hover{
    color: #18a36d !important;
}

/* mobile */
@media (max-width: 1199px){
    .custom-aside-news-image img{
        height: 130px !important;
    }

    .custom-aside-news-title{
        font-size: 15px !important;
    }

    .custom-sidebar-tabs > li > a{
        font-size: 11px !important;
    }
}

@media (max-width: 767px){
    .custom-aside-news-image img{
        height: 180px !important;
    }

    .custom-aside-news-title{
        font-size: 16px !important;
    }

    .custom-sidebar-tabs{
        grid-template-columns: 1fr !important;
    }
}
/* =========================
   REFERENCES / LOGOS
   ========================= */
.references-section,
.logo-carousel,
.client-logos{
    padding: 60px 0;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    margin: 40px 0;
}

.references-section img,
.logo-carousel img,
.client-logos img{
    max-height: 90px;
    width: auto;
    object-fit: contain;
    filter: grayscale(8%);
    opacity: 0.95;
    transition: var(--kas-transition);
}

.references-section img:hover,
.logo-carousel img:hover,
.client-logos img:hover{
    transform: scale(1.05);
    opacity: 1;
}

/* =========================
   BUTTONS
   ========================= */
.btn,
button,
input[type="submit"],
.post .btn,
.hero-btn,
.read-more,
.more-link{
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    padding: 12px 24px;
    border-radius: 999px;
    border: none;
    box-shadow: none;
    transition: var(--kas-transition);
}

.btn-primary,
button.btn-primary,
.post .btn,
input[type="submit"]{
    background: #36586a;
    border-color: #36586a;
    color: #fff !important;
}

.btn-primary:hover,
button.btn-primary:hover,
.post .btn:hover,
input[type="submit"]:hover{
    background: var(--kas-accent);
    border-color: var(--kas-accent);
    color: #fff !important;
}

/* =========================
   FLOATING BUTTONS
   ========================= */
.floating-call,
.floating-whatsapp,
.call-button,
.whatsapp-button{
    position: fixed;
    right: 18px;
    z-index: 9999;
    width: 140px;
    height: 50px;
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
}

.floating-call,
.call-button{
    bottom: 110px;
    background: #082f87;
    color: #fff;
}

.floating-whatsapp,
.whatsapp-button{
    bottom: 40px;
    background: #25d366;
    color: #fff;
}

.floating-call:hover,
.call-button:hover,
.floating-whatsapp:hover,
.whatsapp-button:hover{
    transform: translateY(-2px);
    color: #fff;
}

/* =========================
   FOOTER
   ========================= */
footer,
#footer{
    background: #f9fbfc;
    border-top: 1px solid var(--kas-border);
    padding-top: 60px;
    margin-top: 60px;
}

footer h4,
#footer h4{
    color: var(--kas-primary);
    font-size: 28px;
    margin-bottom: 18px;
    font-weight: 700;
}

footer p,
footer li,
#footer p,
#footer li{
    color: #60707a;
    font-size: 15px;
    line-height: 1.8;
}

footer ul,
#footer ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li,
#footer ul li{
    margin-bottom: 10px;
}

footer a,
#footer a{
    color: var(--kas-text);
}

footer a:hover,
#footer a:hover{
    color: var(--kas-accent);
}

#footer .col-md-3{
    border-right: 1px solid #eef2f5;
}

#footer .col-md-3:last-child{
    border-right: none;
}

footer input[type="email"],
footer input[type="text"],
#footer input[type="email"],
#footer input[type="text"]{
    width: 100%;
    height: 50px;
    border-radius: 999px;
    border: 1px solid var(--kas-border);
    padding: 0 18px;
    background: #f8fafc;
    margin-bottom: 10px;
}

footer button,
#footer button{
    border-radius: 999px;
    padding: 11px 22px;
    background: var(--kas-primary);
    color: #fff;
    border: none;
}

footer button:hover,
#footer button:hover{
    background: var(--kas-accent);
}

.footer-bottom,
#footer .footer-copyright{
    border-top: 1px solid var(--kas-border);
    margin-top: 35px;
    padding: 20px 0;
    text-align: center;
    color: #7a8790;
    font-size: 14px;
}

/* =========================
   GENERIC CARD CONSISTENCY
   ========================= */
.card-like,
.feature-box,
.post,
.sidebar-widget,
.service-card-custom{
    border-radius: 18px;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1199px){
    .custom-header-container.container{
        max-width: 1000px;
    }

    #header .header-nav-main nav > ul > li > a{
        font-size: 12px !important;
        padding: 0 8px !important;
    }
}

@media (max-width: 991px){
    .home-slider img,
    .main-slider img,
    .rev_slider_wrapper img{
        height: 340px;
    }

    .section-title h2,
    .sectionHeading h2,
    .main-title h2,
    #services h2,
    .home-services h2,
    .services-title-wrap h2{
        font-size: 30px;
    }

    .logoVerseRow{
        max-width: 100%;
        grid-template-columns: 120px minmax(0, 1fr) 120px;
        column-gap: 0;
        align-items: stretch;
    }

    .header-logo-card,
    .header-image-card{
        width: 100%;
        height: 120px;
        padding: 8px;
    }

    .verse-card{
        height: 120px;
        min-height: 120px;
        padding: 10px 12px;
    }

    .verse-image{
        max-height: 88px;
    }

    .custom-social-wrap,
    .custom-header-nav{
        max-width: 100%;
    }

    #mainNav{
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
    }

    #header .header-nav-main nav > ul > li > a{
        font-size: 12px !important;
        padding: 0 6px !important;
    }

    .service-card-image img{
        height: 180px;
    }

    .service-card-body h4{
        font-size: 18px;
    }

    .floating-call,
    .floating-whatsapp,
    .call-button,
    .whatsapp-button{
        width: 130px;
        height: 52px;
        font-size: 15px;
        right: 12px;
    }
}

@media (max-width: 767px){
    .custom-header-top{
        padding: 16px 0 10px;
    }

    .logoVerseRow{
        grid-template-columns: 1fr;
        row-gap: 12px;
        text-align: center;
    }

    .header-logo-box,
    .top-image-box,
    .verse-box{
        max-width: 100%;
        width: 100%;
        margin-bottom: 0;
    }

    .header-logo-card,
    .header-image-card{
        width: 84px;
        height: 84px;
        margin: 0 auto;
    }

    .verse-card{
        max-width: 100%;
        min-height: auto;
        padding: 10px 12px;
    }

    .verse-image{
        max-height: 60px;
    }

    .custom-social-row{
        display: none !important;
    }

    .custom-header-nav{
        border-top: none;
        display: block;
        max-width: 100%;
    }

    .header-btn-collapse-nav{
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    #header .header-nav-main nav{
        display: block !important;
    }

    #mainNav{
        display: block !important;
        width: 100% !important;
    }

    #mainNav > li{
        display: block !important;
        width: 100% !important;
        float: none !important;
        position: relative !important;
        flex: none !important;
    }

    #header .header-nav-main nav > ul > li > a{
        width: 100% !important;
        justify-content: flex-start !important;
        min-height: 44px !important;
        padding: 12px 14px !important;
        font-size: 14px !important;
        text-transform: none !important;
        border-radius: 0 !important;
        white-space: normal !important;
    }

    #header .header-nav-main nav > ul > li.dropdown > .dropdown-menu{
        position: static !important;
        display: block !important;
        width: 100% !important;
        min-width: 100% !important;
        left: auto !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-top: 1px solid #edf1f4 !important;
        border-radius: 0 !important;
        padding: 4px 0 !important;
    }

    .home-slider img,
    .main-slider img,
    .rev_slider_wrapper img{
        height: 240px;
        border-radius: 0 0 16px 16px;
    }

    .hero-btn{
        min-width: 150px;
        padding: 12px 18px;
        font-size: 13px;
    }

    .service-card img,
    .service-box img,
    .feature-box img,
    .news-item img,
    .blog-post img,
    .post img,
    .haber-item img,
    .post.post-medium .img-thumbnail img,
    .service-card-image img{
        height: 200px;
    }

    .services-title-wrap h2{
        font-size: 28px;
        text-align: center;
    }

    .service-card-custom{
        padding: 16px;
    }

    #footer .col-md-3{
        border-right: none;
    }

    aside .nav-tabs,
    .news-sidebar .nav-tabs,
    .sidebar-widget .nav-tabs{
        flex-wrap: wrap !important;
    }

    aside .nav-tabs > li,
    .news-sidebar .nav-tabs > li,
    .sidebar-widget .nav-tabs > li{
        margin-bottom: 6px !important;
    }

    aside .tab-content,
    .news-sidebar .tab-content,
    .sidebar-widget .tab-content{
        border-radius: 14px !important;
    }
}
/* =========================================
   ASIDE / HABERLER SIDEBAR FINAL FIX
   ========================================= */

aside.sidebar{
    width: 100%;
}

aside.sidebar .tabs{
    background: #ffffff;
    border: 1px solid #e7edf2;
    border-radius: 22px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    padding: 24px;
    overflow: hidden;
}

aside.sidebar .heading-primary{
    font-size: 22px;
    font-weight: 700;
    color: #314b5c;
    margin: 0 0 18px 0;
}

aside.sidebar .nav-tabs{
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border-bottom: 1px solid #e7edf2 !important;
    background: transparent !important;
}

aside.sidebar .nav-tabs > li{
    float: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

aside.sidebar .nav-tabs > li > a{
    display: block !important;
    padding: 12px 22px !important;
    margin: 0 !important;
    border: 1px solid #dfe7ed !important;
    border-bottom: none !important;
    border-radius: 14px 14px 0 0 !important;
    background: #f7f9fb !important;
    color: #173d5a !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    text-align: center !important;
}

aside.sidebar .nav-tabs > li.active > a,
aside.sidebar .nav-tabs > li.active > a:hover,
aside.sidebar .nav-tabs > li.active > a:focus{
    background: #ffffff !important;
    color: #18a36d !important;
    border-color: #dfe7ed !important;
    border-bottom: 1px solid #ffffff !important;
    position: relative !important;
    top: 1px !important;
    z-index: 2 !important;
}

aside.sidebar .tab-content{
    background: #ffffff !important;
    border: 1px solid #e7edf2 !important;
    border-radius: 0 18px 18px 18px !important;
    padding: 18px !important;
    margin-top: -1px !important;
    overflow: hidden !important;
}

/* IMPORTANT */
aside.sidebar .simple-post-list{
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

aside.sidebar .simple-post-list li{
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    width: 100% !important;
    padding: 14px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #ebf0f4 !important;
    background: transparent !important;
    overflow: hidden !important;
}

aside.sidebar .simple-post-list li:last-child{
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

aside.sidebar .simple-post-list li:first-child{
    padding-top: 0 !important;
}

aside.sidebar .simple-post-list .post-image{
    flex: 0 0 110px !important;
    width: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
    margin: 0 !important;
    padding: 0 !important;
}

aside.sidebar .simple-post-list .post-image .img-thumbnail{
    display: block !important;
    width: 110px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e4eaf0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: none !important;
}

aside.sidebar .simple-post-list .post-image img{
    display: block !important;
    width: 110px !important;
    height: 82px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}

aside.sidebar .simple-post-list .post-info{
    flex: 1 1 auto !important;
    width: calc(100% - 124px) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

aside.sidebar .simple-post-list .post-info a{
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
    color: #314b5c !important;
    text-decoration: none !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    writing-mode: horizontal-tb !important;
}

aside.sidebar .simple-post-list .post-info a:hover{
    color: #18a36d !important;
}

aside.sidebar .simple-post-list .post-meta{
    display: block !important;
    width: 100% !important;
    margin-top: 8px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #7a8892 !important;
    white-space: normal !important;
    writing-mode: horizontal-tb !important;
}

/* documentation list */
aside.sidebar .nav.nav-list li a{
    display: block;
    padding: 8px 0;
    color: #314b5c;
    font-weight: 600;
    line-height: 1.5;
}

aside.sidebar .nav.nav-list li a:hover{
    color: #18a36d;
}

/* responsive */
@media (max-width: 1199px){
    aside.sidebar .simple-post-list .post-image{
        flex: 0 0 95px !important;
        width: 95px !important;
        min-width: 95px !important;
        max-width: 95px !important;
    }

    aside.sidebar .simple-post-list .post-image .img-thumbnail{
        width: 95px !important;
    }

    aside.sidebar .simple-post-list .post-image img{
        width: 95px !important;
        height: 74px !important;
    }

    aside.sidebar .simple-post-list .post-info{
        width: calc(100% - 109px) !important;
    }

    aside.sidebar .simple-post-list .post-info a{
        font-size: 15px !important;
    }
}

@media (max-width: 991px){
    aside.sidebar .nav-tabs{
        flex-wrap: wrap !important;
    }

    aside.sidebar .tab-content{
        padding: 16px !important;
    }
}

@media (max-width: 767px){
    aside.sidebar .tabs{
        padding: 18px !important;
    }

    aside.sidebar .simple-post-list li{
        gap: 12px !important;
    }

    aside.sidebar .simple-post-list .post-image{
        flex: 0 0 90px !important;
        width: 90px !important;
        min-width: 90px !important;
        max-width: 90px !important;
    }

    aside.sidebar .simple-post-list .post-image .img-thumbnail{
        width: 90px !important;
    }

    aside.sidebar .simple-post-list .post-image img{
        width: 90px !important;
        height: 68px !important;
    }

    aside.sidebar .simple-post-list .post-info{
        width: calc(100% - 102px) !important;
    }

    aside.sidebar .simple-post-list .post-info a{
        font-size: 15px !important;
        line-height: 1.45 !important;
    }
}
/* =========================================================
   FINAL OVERRIDE - SIDEBAR HABERLER
   put this at the VERY END of the css file
   ========================================================= */

/* sidebar tabs */
.custom-news-sidebar .custom-sidebar-tabs,
aside.sidebar .custom-sidebar-tabs,
aside.sidebar .nav.nav-tabs{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border-bottom: none !important;
}

.custom-news-sidebar .custom-sidebar-tabs > li,
aside.sidebar .custom-sidebar-tabs > li,
aside.sidebar .nav.nav-tabs > li{
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.custom-news-sidebar .custom-sidebar-tabs > li > a,
aside.sidebar .custom-sidebar-tabs > li > a,
aside.sidebar .nav.nav-tabs > li > a{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 46px !important;
    padding: 8px 6px !important;
    margin: 0 !important;
    border: 1px solid #dfe7ed !important;
    border-radius: 12px !important;
    background: #f7f9fb !important;
    color: #173d5a !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}

.custom-news-sidebar .custom-sidebar-tabs > li.active > a,
.custom-news-sidebar .custom-sidebar-tabs > li.active > a:hover,
.custom-news-sidebar .custom-sidebar-tabs > li.active > a:focus,
aside.sidebar .custom-sidebar-tabs > li.active > a,
aside.sidebar .custom-sidebar-tabs > li.active > a:hover,
aside.sidebar .custom-sidebar-tabs > li.active > a:focus,
aside.sidebar .nav.nav-tabs > li.active > a,
aside.sidebar .nav.nav-tabs > li.active > a:hover,
aside.sidebar .nav.nav-tabs > li.active > a:focus{
    color: #18a36d !important;
    background: #ffffff !important;
    border-color: #dfe7ed !important;
    box-shadow: inset 0 -2px 0 #18a36d !important;
}

/* force sidebar news items to vertical layout */
.custom-aside-news-list,
aside.sidebar .custom-aside-news-list,
aside.sidebar .simple-post-list{
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.custom-aside-news-item,
aside.sidebar .custom-aside-news-item,
aside.sidebar .simple-post-list li{
    display: block !important;
    width: 100% !important;
    margin: 0 0 16px 0 !important;
    padding: 0 0 16px 0 !important;
    border-bottom: 1px solid #ebf0f4 !important;
    background: transparent !important;
}

.custom-aside-news-item:last-child,
aside.sidebar .custom-aside-news-item:last-child,
aside.sidebar .simple-post-list li:last-child{
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

/* same image box for all */
.custom-aside-news-image,
aside.sidebar .custom-aside-news-image,
aside.sidebar .simple-post-list .post-image{
    display: block !important;
    width: 100% !important;
    height: 140px !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    min-width: 100% !important;
}

.custom-aside-news-image a,
aside.sidebar .custom-aside-news-image a,
aside.sidebar .simple-post-list .post-image a{
    display: block !important;
    width: 100% !important;
    height: 140px !important;
}

.custom-aside-news-image img,
aside.sidebar .custom-aside-news-image img,
aside.sidebar .simple-post-list .post-image img{
    display: block !important;
    width: 100% !important;
    height: 140px !important;
    min-width: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    border: 1px solid #e4eaf0 !important;
}

/* text under image */
.custom-aside-news-text,
aside.sidebar .custom-aside-news-text,
aside.sidebar .simple-post-list .post-info{
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

.custom-aside-news-title,
aside.sidebar .custom-aside-news-title,
aside.sidebar .simple-post-list .post-info a{
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    color: #314b5c !important;
    text-decoration: none !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-align: left !important;
}

.custom-aside-news-date,
aside.sidebar .custom-aside-news-date,
aside.sidebar .simple-post-list .post-meta{
    display: block !important;
    margin-top: 6px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: #7a8892 !important;
    text-align: left !important;
}

/* tab content spacing */
.custom-sidebar-tab-content,
aside.sidebar .custom-sidebar-tab-content,
aside.sidebar .tab-content{
    padding: 14px !important;
    border-radius: 16px !important;
}

/* on smaller screens stack the two tabs */
@media (max-width: 1199px){
    .custom-news-sidebar .custom-sidebar-tabs,
    aside.sidebar .custom-sidebar-tabs,
    aside.sidebar .nav.nav-tabs{
        grid-template-columns: 1fr !important;
    }

    .custom-aside-news-image,
    aside.sidebar .custom-aside-news-image,
    aside.sidebar .simple-post-list .post-image,
    .custom-aside-news-image a,
    aside.sidebar .custom-aside-news-image a,
    aside.sidebar .simple-post-list .post-image a,
    .custom-aside-news-image img,
    aside.sidebar .custom-aside-news-image img,
    aside.sidebar .simple-post-list .post-image img{
        height: 160px !important;
    }
}
/* =========================
   FIX SIDEBAR TABS ALIGNMENT
   ========================= */

aside.sidebar .nav.nav-tabs,
.custom-sidebar-tabs{
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border-bottom: none !important;
}

/* each tab = same width */
aside.sidebar .nav.nav-tabs > li,
.custom-sidebar-tabs > li{
    flex: 1 1 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* button style */
aside.sidebar .nav.nav-tabs > li > a,
.custom-sidebar-tabs > li > a{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;

    padding: 8px !important;
    border-radius: 14px !important;
    border: 1px solid #dfe7ed !important;

    background: #f7f9fb !important;
    color: #173d5a !important;

    font-size: 13px !important;
    font-weight: 600 !important;

    text-align: center !important;
    line-height: 1.2 !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* active tab */
aside.sidebar .nav.nav-tabs > li.active > a,
aside.sidebar .nav.nav-tabs > li.active > a:hover,
aside.sidebar .nav.nav-tabs > li.active > a:focus{
    background: #ffffff !important;
    color: #18a36d !important;
    border-color: #dfe7ed !important;

    box-shadow: inset 0 -3px 0 #18a36d !important;
}
/* =========================================================
   UNIFIED NEWS CARD TYPOGRAPHY
   ========================================================= */

/* whole news card */
.custom-news-post{
    padding: 22px !important;
}

/* title */
.custom-news-post .post-content h2,
.custom-news-post .post-content h2 a{
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #23465b !important;
    margin: 0 0 12px 0 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.custom-news-post .post-content h2 a:hover{
    color: #18a36d !important;
}

/* excerpt / details text */
.custom-news-post .post-content p{
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    color: #5c6d78 !important;
    margin: 0 !important;
    text-align: left !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 98px !important;
}

/* image area */
.custom-news-post .post-image{
    margin-bottom: 0 !important;
}

.custom-news-post .post-image .img-thumbnail{
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.custom-news-post .post-image img{
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    border-radius: 16px !important;
}

/* force equal vertical alignment of image/text row */
.custom-news-post > .row:first-child{
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
}

.custom-news-post > .row:first-child > [class*="col-"]{
    float: none !important;
}

/* text column layout */
.custom-news-post .post-content{
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

/* meta row */
.custom-news-post .post-meta{
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 16px !important;
    padding-top: 12px !important;
    border-top: 1px solid #edf2f5 !important;

    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: #7a8892 !important;
}

/* meta items */
.custom-news-post .post-meta span,
.custom-news-post .post-meta i,
.custom-news-post .post-meta a{
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: #7a8892 !important;
    text-decoration: none !important;
}

.custom-news-post .post-meta a:hover{
    color: #18a36d !important;
}

/* button */
.custom-news-post .post-meta .btn,
.custom-news-post .btn.btn-xs.btn-primary{
    margin-left: auto !important;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    background: #36586a !important;
    border: 1px solid #36586a !important;
    color: #fff !important;
    box-shadow: none !important;
}

.custom-news-post .post-meta .btn:hover,
.custom-news-post .btn.btn-xs.btn-primary:hover{
    background: #18a36d !important;
    border-color: #18a36d !important;
    color: #fff !important;
}

/* remove random margins from nested elements */
.custom-news-post .post-content *{
    max-width: 100%;
}

/* responsive */
@media (max-width: 991px){
    .custom-news-post > .row:first-child{
        display: block !important;
    }

    .custom-news-post .post-image img{
        height: 260px !important;
        margin-bottom: 16px !important;
    }

    .custom-news-post .post-content h2,
    .custom-news-post .post-content h2 a{
        font-size: 17px !important;
    }

    .custom-news-post .post-content p{
        min-height: auto !important;
        -webkit-line-clamp: 5 !important;
    }
}

@media (max-width: 767px){
    .custom-news-post{
        padding: 18px !important;
    }

    .custom-news-post .post-image img{
        height: 220px !important;
    }

    .custom-news-post .post-content h2,
    .custom-news-post .post-content h2 a{
        font-size: 16px !important;
    }

    .custom-news-post .post-content p{
        font-size: 13px !important;
        line-height: 1.7 !important;
    }

    .custom-news-post .post-meta{
        gap: 8px !important;
    }

    .custom-news-post .post-meta .btn,
    .custom-news-post .btn.btn-xs.btn-primary{
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 8px !important;
        text-align: center !important;
    }
}
/* =========================================================
   FINAL UNIFIED NEWS CARDS
   ========================================================= */

.custom-news-card{
    display: flex;
    align-items: stretch;
    gap: 20px;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    padding: 18px;
    margin-bottom: 22px;
}

.custom-news-card-image{
    flex: 0 0 240px;
    max-width: 240px;
}

.custom-news-card-image a{
    display: block;
}

.custom-news-card-image img{
    width: 240px;
    height: 170px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.custom-news-card-body{
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.custom-news-card-title{
    margin: 0 0 12px 0;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #23465b !important;
}

.custom-news-card-title a{
    color: #23465b !important;
    text-decoration: none !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.custom-news-card-title a:hover{
    color: #18a36d !important;
}

.custom-news-card-excerpt{
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    color: #5c6d78 !important;
    margin: 0 0 16px 0 !important;
    min-height: 76px;
}

.custom-news-card-footer{
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid #edf2f5;
    padding-top: 12px;
}

.custom-news-card-meta{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: #7a8892 !important;
}

.custom-news-card-meta span{
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #7a8892 !important;
}

.custom-news-card-meta i{
    margin-right: 4px;
}

.custom-news-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 999px;
    background: #36586a;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.custom-news-btn:hover{
    background: #18a36d;
    color: #fff !important;
}

@media (max-width: 991px){
    .custom-news-card{
        flex-direction: column;
    }

    .custom-news-card-image{
        flex: none;
        max-width: 100%;
    }

    .custom-news-card-image img{
        width: 100%;
        height: 240px;
    }

    .custom-news-card-footer{
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px){
    .custom-news-card{
        padding: 16px;
    }

    .custom-news-card-image img{
        height: 210px;
    }

    .custom-news-card-title,
    .custom-news-card-title a{
        font-size: 16px !important;
    }

    .custom-news-card-excerpt{
        font-size: 13px !important;
    }

    .custom-news-btn{
        width: 100%;
    }
}
/* FINAL NEWS CARDS */
.custom-news-card{
    display:flex;
    gap:20px;
    background:#fff;
    border:1px solid #e8edf2;
    border-radius:20px;
    box-shadow:0 8px 24px rgba(0,0,0,0.05);
    padding:18px;
    margin-bottom:22px;
}

.custom-news-card-image{
    flex:0 0 240px;
    max-width:240px;
}

.custom-news-card-image a{
    display:block;
}

.custom-news-card-image img{
    width:240px;
    height:170px;
    object-fit:cover;
    border-radius:14px;
    display:block;
}

.custom-news-card-body{
    flex:1 1 auto;
    min-width:0;
    display:flex;
    flex-direction:column;
}

.custom-news-card-title{
    margin:0 0 12px 0;
    font-size:17px;
    font-weight:700;
    line-height:1.4;
    color:#23465b;
}

.custom-news-card-title a{
    color:#23465b;
    text-decoration:none;
    font-size:17px;
    font-weight:700;
    line-height:1.4;
}

.custom-news-card-title a:hover{
    color:#18a36d;
}

.custom-news-card-excerpt{
    font-size:14px;
    font-weight:400;
    line-height:1.75;
    color:#5c6d78;
    margin:0 0 16px 0;
    min-height:76px;
}

.custom-news-card-footer{
    margin-top:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    border-top:1px solid #edf2f5;
    padding-top:12px;
}

.custom-news-card-meta{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    align-items:center;
    font-size:11px;
    font-weight:400;
    line-height:1.4;
    color:#7a8892;
}

.custom-news-card-meta span{
    font-size:11px;
    font-weight:400;
    color:#7a8892;
}

.custom-news-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    padding:8px 16px;
    border-radius:999px;
    background:#36586a;
    color:#fff;
    text-decoration:none;
    font-size:12px;
    font-weight:600;
    line-height:1.2;
}

.custom-news-btn:hover{
    background:#18a36d;
    color:#fff;
}

@media (max-width:991px){
    .custom-news-card{
        flex-direction:column;
    }

    .custom-news-card-image{
        flex:none;
        max-width:100%;
    }

    .custom-news-card-image img{
        width:100%;
        height:240px;
    }

    .custom-news-card-footer{
        flex-direction:column;
        align-items:flex-start;
    }
}
.custom-news-card-excerpt{
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.9 !important;
    color: #5f6f7a !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
}
/* =========================================================
   REDESIGNED SIDEBAR HABERLER
   ========================================================= */

.custom-sidebar-news-box{
    background: #ffffff;
    border: 1px solid #e5edf2;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    margin-bottom: 24px;
}

.custom-sidebar-news-heading{
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #314b5c !important;
    margin: 0 0 14px 0 !important;
}

.custom-sidebar-tabs{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border-bottom: none !important;
}

.custom-sidebar-tabs > li{
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.custom-sidebar-tabs > li > a{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 8px 10px !important;
    border: 1px solid #d9e4ea !important;
    border-radius: 12px !important;
    background: #f7fafc !important;
    color: #35586b !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
}

.custom-sidebar-tabs > li.active > a,
.custom-sidebar-tabs > li.active > a:hover,
.custom-sidebar-tabs > li.active > a:focus{
    background: #ffffff !important;
    color: #18a36d !important;
    border-color: #cfe2d8 !important;
    box-shadow: inset 0 -2px 0 #18a36d !important;
}

.custom-sidebar-tab-content{
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

.custom-sidebar-news-list{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.custom-sidebar-news-item{
    display: block;
    border: 1px solid #ebf0f4;
    border-radius: 16px;
    padding: 10px;
    background: #ffffff;
}

.custom-sidebar-news-image{
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.custom-sidebar-news-image img{
    width: 100%;
    height: 105px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.custom-sidebar-news-body{
    display: block;
}

.custom-sidebar-news-title{
    display: block;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    color: #314b5c !important;
    text-decoration: none !important;
    margin: 0 0 6px 0 !important;
}

.custom-sidebar-news-title:hover{
    color: #18a36d !important;
}

.custom-sidebar-news-date{
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: #7a8892 !important;
}

@media (max-width: 1199px){
    .custom-sidebar-news-image img{
        height: 95px;
    }

    .custom-sidebar-news-title{
        font-size: 12px !important;
    }
}

@media (max-width: 767px){
    .custom-sidebar-tabs{
        grid-template-columns: 1fr !important;
    }

    .custom-sidebar-news-image img{
        height: 150px;
    }
}
/* =========================================================
   PROFESSIONAL CONTENT STYLES
   use for all long dynamic text/content areas
   ========================================================= */

.pro-content{
    font-size: 17px;
    line-height: 1.95;
    color: #4b5563;
    text-align: justify;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.pro-content p{
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.95;
    color: #4b5563;
}

.pro-content h1,
.pro-content h2,
.pro-content h3,
.pro-content h4,
.pro-content h5,
.pro-content h6{
    color: #12344d;
    font-weight: 700;
    line-height: 1.4;
    margin: 28px 0 14px;
}

.pro-content ul,
.pro-content ol{
    margin: 0 0 18px 22px;
    padding: 0;
}

.pro-content li{
    margin-bottom: 8px;
    color: #4b5563;
    line-height: 1.9;
}

.pro-content strong,
.pro-content b{
    color: #12344d;
    font-weight: 700;
}

.pro-content a{
    color: #0f766e;
    text-decoration: none;
}

.pro-content a:hover{
    text-decoration: underline;
}

.pro-content img{
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0 18px;
}

.pro-content blockquote{
    border-left: 4px solid #18a36d;
    padding: 12px 18px;
    background: #f8fbfa;
    color: #425466;
    margin: 20px 0;
    border-radius: 8px;
}

.pro-content table{
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.pro-content table th,
.pro-content table td{
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.pro-content hr{
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 24px 0;
}

.pro-content-wrap{
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

.pro-content-body{
    padding: 38px 42px;
}

@media (max-width: 768px){
    .pro-content{
        font-size: 16px;
        line-height: 1.85;
        text-align: left;
    }

    .pro-content p{
        font-size: 16px;
        line-height: 1.85;
    }

    .pro-content-body{
        padding: 24px 20px;
    }
}
.floating-contact-buttons{
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.floating-btn{
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    transition: all 0.25s ease;
    font-size: 30px;
}

.floating-btn:hover{
    transform: translateY(-3px) scale(1.03);
    text-decoration: none;
    color: #fff;
}

.floating-btn-form{
    background: #2247b8;
}

.floating-btn-call{
    background: #2247b8;
}

.floating-btn-whatsapp{
    background: #25D366;
}

@media (max-width: 768px){
    .floating-contact-buttons{
        right: 14px;
        bottom: 18px;
        top: auto;
        transform: none;
        gap: 12px;
    }

    .floating-btn{
        width: 58px;
        height: 58px;
        border-radius: 18px;
        font-size: 24px;
    }
}
.faq-wrapper .toggle > .toggle-content,
.faq-wrapper .toggle > .toggle-content p,
.faq-wrapper .toggle > .toggle-content span,
.faq-wrapper .toggle > .toggle-content div,
.faq-wrapper .toggle > .toggle-content li {
	font-size: 16px !important;
	line-height: 1.9 !important;
	color: #5f6f81;
	text-align: justify;
}
.ref-header{
    display: flex;
    align-items: center; /* ✅ THIS FIXES ALIGNMENT */
    gap: 12px;
    margin-bottom: 20px;
}

.ref-header h2{
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #12344d;
    line-height: 1; /* ✅ important */
}

/* Button fix */
.ref-btn{
    display: inline-flex;        /* ✅ key */
    align-items: center;         /* ✅ center text vertically */
    justify-content: center;

    height: 32px;                /* ✅ fixed height = perfect alignment */
    padding: 0 14px;

    font-size: 14px;
    font-weight: 600;

    border-radius: 20px;
    border: 1px solid #0ea672;
    color: #0ea672;
    text-decoration: none;
    background: transparent;

    transition: all 0.25s ease;
}

.ref-btn:hover{
    background: #0ea672;
    color: #fff;
}
.ref-header{
    margin-bottom: 18px;
}

.ref-title-link{
    display: inline-block;
    text-decoration: none;
}

.ref-title-link h2{
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #12344d;
    transition: color 0.25s ease;
}

.ref-title-link:hover,
.ref-title-link:focus{
    text-decoration: none;
}

.ref-title-link:hover h2,
.ref-title-link:focus h2{
    color: #0ea672;
}