:root {
    --tonv-primary: #4a0849;
    --tonv-primary-light: #6e126d;
    --tonv-primary-soft: rgba(74, 8, 73, 0.08);
    --tonv-accent: #9c27b0;
}

.hoverTitle {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    transition: color 0.25s ease, transform 0.25s ease;
    transform-origin: left center;
    will-change: transform, color;
}

.hoverTitle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 7px;
    background: linear-gradient(
        90deg,
        currentColor 0%,
        var(--tonv-primary-light, currentColor) 50%,
        currentColor 100%
    );
    background-size: 220% 100%;

    /* Çoklu ritmik nabız atımları (dar tepeler + aralıklar) */
    clip-path: polygon(
        0% 60%,
        10% 60%, 13% 45%, 16% 80%, 19% 12%, 22% 94%, 25% 52%, 28% 60%,
        42% 60%,
        52% 60%, 55% 45%, 58% 80%, 61% 12%, 64% 94%, 67% 52%, 70% 60%,
        84% 60%,
        90% 60%, 92% 48%, 94% 82%, 96% 20%, 98% 90%, 100% 60%,
        100% 74%,
        98% 98%, 96% 32%, 94% 90%, 92% 60%, 90% 74%,
        84% 74%,
        70% 74%, 67% 64%, 64% 100%, 61% 24%, 58% 88%, 55% 58%, 52% 74%,
        42% 74%,
        28% 74%, 25% 64%, 22% 100%, 19% 24%, 16% 88%, 13% 58%, 10% 74%,
        0% 74%
    );

    /* Başlangıçta tamamen gizli */
    opacity: 0;
    transform: scaleX(0.92);
    transform-origin: left center;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.25s ease;
}

.hoverTitle:hover {
    color: var(--tonv-primary-light);
    transform: scale(1.05);
}

.hoverTitle:hover::after,
.item:hover .hoverTitle::after,
.card:hover .hoverTitle::after {
    opacity: 0.95;
    transform: scaleX(1);
    animation: ecgRhythmFlow 1.1s linear infinite;
}

@keyframes ecgRhythmFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.logo-responsive {
    height: 110px!important;
}


.nav-right-content .btn-wrapper a {
    background-color: #471146!important;
    border: none!important;
    padding: 12px 20px!important;
    border-radius: 25px!important;
    font-size: 16px!important;
}

@media (max-width: 767px) {
    .logo-responsive {
        height: 80px!important;
    }
}

@media (max-width: 992px) {
    .logo-responsive {
        height: 90px!important;
    }
}

@media (max-width: 768px) {

    .news-header-img {
        width: 25% !important;
    }

    .news-header-content {
        width: 75% !important;
    }
}

@media (max-width: 768px) {
    .dynamic-button {
        font-size: 8px!important;
        padding: 8px 12px!important;
    }
}

@media (max-width: 992px) {
    .nav-right-content {
        margin: 10px 0 0 0  !important;
        padding: 0 !important;
        margin-left:auto!important;
        margin-right:auto!important;
    }

    .btn-wrapper {
        margin: 0 !important;
        padding: 0 !important;
        display: flex;
        justify-content: center;
    }

    .boxed-btn,
    .btn-sanatory {
        margin: 0;
        padding: 0;
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .icon-part {
        position: absolute;
        right: 0;
        top:100px;
    }
}

@media (min-width: 769px) {
    .icon-part {
        position: relative;
    }
}


.president-text {
    transition: color 0.3s ease;
}

.president-text:hover {
    color: #DD131A;
    cursor: pointer;
}

.president-img {
    transition: transform 0.3s ease;
}

.president-img:hover {
    transform: scale(1.1);
}

.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-size: contain;
}

.carousel-control-prev-icon {
    width: 40px;
    height: 40px;
    background-size: contain;
}
.sr-only {
    font-size: 18px;
}

@media (max-width: 768px) {
    .boxed-btn {
        padding: 10px 15px;
        font-size: 14px;
        width: 111px;

    }

    .carousel-item .video-play {
        padding: 8px;
        font-size: 14px;
        left:-55%;
    }

    .carousel-item .video-play i{
        border:solid 1px #FFFFFF!important;
    }
}


.dark-text{
    color: #04072E!important;
}

.white-text{
    color: #FFFFFF!important;
}


@media (max-width: 768px) {
    .big-menu {
        display: none!important
    }
}


.mobile-menu {
    display: none!important
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block!important
    }
}

/* 2260 x 1664 çözünürlük ve altındaki ekranlar için */
@media (max-width: 2260px) and (max-height: 1664px) {
    .navbar-area .nav-container .navbar-collapse .navbar-nav li {
        font-size: 15px!important; /* Biraz küçültülmüş yazı boyutu */
    }


}

@media screen and (min-width: 2000px) and (-webkit-min-device-pixel-ratio: 2) {
    .navbar-area .nav-container .navbar-collapse .navbar-nav li {
        font-size: 15px!important; /* Retina ekranlar için optimize */
    }
}


/* 1920 x 1080 çözünürlük ve altındaki ekranlar için */
@media (max-width: 1920px) and (max-height: 1080px) {
    .navbar-area .nav-container .navbar-collapse .navbar-nav li {
        font-size: 14px!important; /* Daha küçük yazı boyutu */
    }
}


/* 1440px ve altındaki ekranlar için */
@media (max-width: 1440px) {
    .navbar-area .nav-container .navbar-collapse .navbar-nav li {
        font-size: 15px!important;
    }
}


/* 1366px genişlik ve altındaki ekranlar için */
@media (max-width: 1366px) {
    .navbar-area .nav-container .navbar-collapse .navbar-nav li {
        font-size: 13px!important; /* Daha küçük yazı boyutu */
    }
}


/* 1024px ve altındaki ekranlar için */
@media (max-width: 1024px) {
    .navbar-area .nav-container .navbar-collapse .navbar-nav li {
        font-size: 14px!important;
    }
}

/* 768px ve altındaki ekranlar için */
@media (max-width: 768px) {
    .navbar-area .nav-container .navbar-collapse .navbar-nav li {
        font-size: 12px!important;
    }
}

.underline-link {
    text-decoration: underline;
}

.referens-owl .owl-nav .owl-prev {
    display: none!important;
}
.referens-owl .owl-nav .owl-next {
    display: none!important;
}

.search-area {
    display: none;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 10;
}

.search-area.visible {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.top-menu-header {
    transition: opacity 0.5s ease;
}

.search-inline-big.active {
    color: #017bc2!important;
}

.search-inline-big {
    cursor: pointer;
    color: #04072E!important;
    transition: color 0.3s ease;
}

.accordion .card {
    border: none;
    background-color: transparent;
    border: 1px solid rgba(204, 204, 204, 0.5)!important;
    border-radius: 0!important;
    -webkit-transition: 0.5s all ease!important;
    transition: 0.5s all ease;
}
.accordion .card + .card {
    margin-top: 20px;
}
.accordion .card .card-header {
    background-color: transparent;
    padding: 0;
    border: none;
}

.accordion .card .card-header button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    width: 100%;
    text-align: left;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    font-family: var(--heading-font);
    background-color: #fff;
    color: #292929;
    border-radius: 0px;
    padding: 15px 65px 15px 30px;
    cursor: pointer;
    position: relative;
    -webkit-transition: 0.5s all ease;
    transition: 0.5s all ease;
}
.accordion .card .card-header button i {
    font-size: 13px;
    margin-right: 10px;
    position: relative;
    top: -3px;
}
.accordion .card .card-header button:not(.collapsed),
.accordion .card .card-header button[aria-expanded="true"] {
    background: var(--main-color-one);
    color: #fff!important;
    border-radius: 0px;
}
.accordion .card .card-header button:after {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 16px;
    content: "\f067";
    font-family: "fontawesome";
}
.accordion .card .card-header button::before {
    content: "";
    position: absolute;
    right: 60px;
    top: 0px;
    width: 1px;
    height: 100%;
    background: rgba(204, 204, 204, 0.5);
}
.accordion .card .card-header button[aria-expanded="true"]:after {
    content: "\f068";
}
.accordion .card .card-header button[aria-expanded="true"]::before {
    background: #fff;
}
.accordion .card .card-body {
    background-color: #fff;
    padding: 20px 30px;
    border-top: 0;
    border-radius: 0px;
    font-size: 16px;
    line-height: 28px;
    font-family: var(--body-font);
    font-weight: 400;
    color: #6B6B6B;
    -webkit-transition: 0.5s alternate;
    transition: 0.5s alternate;
}

.edevlet-btn {
    background: linear-gradient(135deg, #4a0849, #7a1578);
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.edevlet-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0.75rem 1.75rem rgba(74, 8, 73, 0.3) !important;
    filter: brightness(1.05);
}

/* carousel lines */

.carousel-indicators.custom-pulse-indicators li .ecg-path {
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.carousel-indicators.custom-pulse-indicators li.active .ecg-path {
    stroke-width: 3.2;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    animation: ecgSweepReappear 1.8s ease-in-out infinite;
}

.carousel-indicators.custom-pulse-indicators {
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.carousel-indicators.custom-pulse-indicators li {
    box-sizing: content-box;
    width: 36px;
    height: 14px;
    margin: 0;
    padding: 4px 2px;
    text-indent: 0;
    background-color: transparent;
    border: 0;
    opacity: 0.75;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4a0849;
    transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

/* Bootstrap'in varsayılan büyük tıklama alanını temizler */
.carousel-indicators.custom-pulse-indicators li::before,
.carousel-indicators.custom-pulse-indicators li::after {
    display: none;
}

.carousel-indicators.custom-pulse-indicators li svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.carousel-indicators.custom-pulse-indicators li:hover {
    opacity: 1;
    color: #8b2388;
}

.carousel-indicators.custom-pulse-indicators li.active {
    opacity: 1;
    color: var(--main-color-one, #8b2388);
    transform: scale(1.12);
}

.carousel-indicators.custom-pulse-indicators li.active:hover {
    color: var(--main-color-one, #a832a6);
}

@keyframes ecgSweepReappear {
    0% {
        stroke-dashoffset: 220;
        clip-path: inset(0 100% 0 0);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    65% {
        stroke-dashoffset: 0;
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
    85% {
        opacity: 0;
        clip-path: inset(0 0 0 0);
    }
    100% {
        stroke-dashoffset: 220;
        clip-path: inset(0 100% 0 0);
        opacity: 0;
    }
}

/* carousel lines */

/* HOME EVENTS */
@media (max-width: 767.98px) {
    .campaign-bg {
        overflow: hidden !important;
        padding-inline: 12px !important;
    }

    #mycountdown {
        width: 100% !important;
        max-width: 100% !important;
        padding-inline: 0 !important;
    }

    .counter-single-item ul {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .counter-single-item .counter-item {
        flex: 0 0 calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        min-width: 0 !important;
        margin: 4px !important;
        padding: 10px 4px !important;
        box-sizing: border-box !important;
        float: none !important;
    }

    .counter-single-item .counter-item span {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
        white-space: nowrap;
    }

    .counter-single-item .counter-item h6 {
        font-size: 0.8rem !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        text-align: center !important;
        white-space: nowrap;
        border-top: 1px solid #fff;
    }

    .campaign-bg .title {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
        max-width: 100% !important;
    }
}
/* HOME EVENTS */


/* MOBILE SEARCH BUTTON */
@media (max-width: 991.98px) {
    .responsive-mobile-menu {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .mobile-menu-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .mobile-menu-actions .navbar-toggler {
        position: static !important;
        margin: 0 !important;
    }

    .mobile-search-trigger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #4a0849;
        font-size: 18px;
        text-decoration: none;
        line-height: 1;
    }
}
/* MOBILE SEARCH BUTTON */

/* home statictics */

#yearScrollViewport {
    cursor: grab;
    user-select: none;
}

#yearScrollViewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto !important; /* Sürüklerken gecikme olmasın */
}

#yearScrollViewport.is-dragging .year-btn {
    pointer-events: none; /* Sürükleme anında buton hover/tıklama karışmasın */
}

.year-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid rgba(74, 8, 73, 0.12);
    border-radius: 50px;
    padding: 6px 10px;
}

.year-selector-viewport {
    position: relative;
    flex: 1 1 auto;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.year-selector-viewport::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.year-selector-wrap {
    display: inline-flex;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 6px;
    padding: 2px 6px;
    min-width: max-content;
}

.year-selector-wrap .year-btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    border: none;
    background: transparent;
    color: #4a0849;
    font-weight: 600;
    font-size: 13px;
    padding: 7px 15px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.22s ease;
}

.year-selector-wrap .year-btn:hover {
    background: rgba(74, 8, 73, 0.08);
}

.year-selector-wrap .year-btn.active {
    background: linear-gradient(135deg, #4a0849, #7a1578);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(74, 8, 73, 0.25);
}

.year-nav-btn {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(74, 8, 73, 0.16);
    background: #ffffff;
    color: #4a0849;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(74, 8, 73, 0.08);
    transition: all 0.2s ease;
}

.year-nav-btn:hover:not(:disabled) {
    background: #4a0849;
    color: #ffffff;
    border-color: #4a0849;
}

.year-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 575.98px) {
    .year-carousel-wrapper {
        padding: 5px 6px;
        border-radius: 28px;
    }

    .year-nav-btn {
        width: 30px;
        height: 30px;
    }

    .year-selector-wrap .year-btn {
        padding: 6px 12px;
        font-size: 12.5px;
    }
}
/* home statictics */


/* menü header */
.navbar-nav.political > li.current-menu-item > .ecg-line,
.navbar-nav.political > li.active > .ecg-line {
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    transform: scaleX(1) !important;
}
.navbar-nav.political > li.current-menu-item > .ecg-line .ecg-path,
.navbar-nav.political > li.active > .ecg-line .ecg-path {
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    animation: ecgMove 1.4s linear infinite;
}

@keyframes ecgMove {
    0% {
        stroke-dashoffset: 220;
    }
    50% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -220;
    }
}


/* menü header */
