 header{
    position: sticky !important;
    top: 0 !important;
    z-index: 99;
 }

/* @media screen and (max-width:768px){
    selector h5{
        font-size: 9px !important;
    }
    selector strong {
        font-size: 11px !important;
    }
}
    */
/* @media screen and (max-width:1366px) { */

body {
    margin: 0 !important;
    background: transparent !important;
}

/* } */

.elementor-widget-container *p {
    font-family: "Barlow", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.elementor *p {
    font-family: "Barlow", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

/* .elementor *h2{
    font-family: "Gilda Display";
    font-size: 46px;
    fo
    } */
.fixed-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    /* background-color: #25D366; */
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /* box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease;
}

.fixed-whatsapp:hover {
    transform: scale(1.1);
}

.heart-effect {
    animation: heartbeat 3.5s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.rank-math-breadcrumb a {
    color: #666666 !important;
    font-family: "Barlow", Sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 26px !important;
}

.rank-math-breadcrumb .last {
    color: #001e6e !important;
    font-family: "Barlow", Sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 26px !important;
}

.rank-math-breadcrumb .separator {
    font-family: "Barlow", Sans-serif !important;
}

.custom-text-edit {
    color: #666666;
    font-family: "Barlow", Sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 26px;
}

.custom-header-edit {
    color: #464646;
    font-family: "Gilda Display", Sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 30px;
}

#custom-popup-form {
    padding-right: 1rem;
    transition-timing-function: ease-in-out;
    transition-duration: 300ms;
    transition-property: opacity;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    display: flex;
    backdrop-filter: blur(8px);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    position: fixed;
    padding-left: 1rem;
    display: none;
}

.popup-form-area {
    border-radius: 3px;
    width: 400px;
    height: auto;
    background: #fff;
    padding: 20px;
    padding-bottom: 3rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

[data-target="close-window-form"] {
    float: right;
    cursor: pointer;
    font-size: 21px;
}

/* Buton CSS */
.custom-button-wrapper {
    bottom: -0.5rem;
    position: fixed;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    font-family: 'Barlow', sans-serif;
    z-index: 50;
    transition: opacity 0.3s ease-in-out;
    transform: translateY(200%);
}

.close-button:hover {
    background-color: rgb(0, 30, 110, 0.8) !important;
}

.custom-button:hover {
    background-color: rgb(0, 30, 110, 0.8) !important;
}

.submit-button-r:hover {
    background-color: rgb(0, 30, 110, 0.8) !important;
}

@media (max-width: 768px) {
    [data-target="hidden-form-button"] {
        margin-right: 0.5rem !important;
        justify-content: start;
        left: 10px;
        bottom: 20px;
        width: 60%;
    }

    [data-target="hidden-form-button"] #submit-button-r {
        border-radius: 40px !important;
    }

    [data-target="hidden-form-button"] .rotating-border {
        border-radius: 40px !important;
    }

    [data-target="hidden-form-button"] .rotating-border::before {
        border-radius: 40px !important;
    }

    [data-target="hidden-form-button"] .rotating-border::after {
        border-radius: 40px !important;
    }

    [data-target="hidden-form-button"] button {
        height: 3rem;
        align-items: center;
        justify-content: center;
        display: flex;
    }

    [data-target="hidden-form-button"] button {
        font-size: 15px;
    }
}

@media (min-width: 768px) {
    .wp-button-left {
        display: block;
    }

    .custom-button-wrapper {
        left: auto;
        right: 24px;
        justify-content: flex-end;
    }
}

.custom-button-border {
    position: relative;
    width: 360px;
}

@media (min-width: 768px) {
    .wp-button-left {
        display: none;
    }

    .custom-button-border {
        width: 300px;
    }
}

.custom-button {
    width: 100%;
    background-color: rgb(0, 30, 110, 1);
    /* Tailwind'deki custom-primary yerine mavi ton */
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 24px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 0px !important;
}

.custom-button:hover {
    opacity: 0.8;
}

.rotating-border {
    --border-radius: 0.1rem;
    --border-size: 0.22rem;
    --border-bg: conic-gradient(#f8f9fa 0% 25%,
            #a3c6e6 25% 50%,
            rgb(0, 30, 110) 50% 75%,
            white 75% 100%);
    --padding: 0.01rem;

    position: relative;
    overflow: hidden;
    font-size: 1rem;
    padding: calc(var(--padding) + var(--border-size));
    border-radius: var(--border-radius);
    display: inline-block;
}

.rotating-border::before {
    content: "";
    display: block;
    background: var(--border-bg);
    width: calc(100% * 1.41421356237);
    padding-bottom: calc(100% * 1.41421356237);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 100%;
    z-index: -2;
    animation: spin 5s linear infinite;
}

.rotating-border::after {
    content: "";
    position: absolute;
    inset: var(--border-size);
    background: #fff;
    z-index: -1;
    border-radius: calc(var(--border-radius) - var(--border-size));
}

/* Opsiyonel reverse animasyon */
.rotating-border--reverse::before {
    animation-direction: reverse;
}

/* Ana animasyon tanımı */
@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.rotating-border-wp {
    --border-radius: 0.1rem;
    /* --border-size: 0.3rem; */
    --border-size: 0.22rem;
    --border-bg: conic-gradient(#f8f9fa 0% 25%,
            #a3e6b5 25% 50%,
            rgb(22, 163, 74, 1) 50% 75%,
            white 75% 100%);
    --padding: 0.01rem;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    padding: calc(var(--padding) + var(--border-size));
    border-radius: var(--border-radius);
    display: inline-block;

    &--reverse::before {
        animation-direction: reverse;
    }
}

.rotating-border-wp:before {
    content: "";
    display: block;
    background: var(--border-bg);
    width: calc(100% * 1.41421356237);
    padding-bottom: calc(100% * 1.41421356237);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 100%;
    z-index: -2;
    animation: spin 5s linear infinite;
}

.rotating-border-wp:after {
    content: "";
    position: absolute;
    inset: var(--border-size);
    background: #fff;
    z-index: -1;
    border-radius: calc(var(--border-radius) - var(--border-size));
}

[data-target="wp-button-bottom"] .rotating-border-wp {
    border-radius: 40px !important;
}

[data-target="wp-button-bottom"] .rotating-border-wp::before {
    border-radius: 40px !important;
}

[data-target="wp-button-bottom"] .rotating-border-wp::after {
    border-radius: 40px !important;
}

[data-target="wp-button-bottom"] {
    font-family: Barlow, sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.75rem;
    width: fit-content;
    justify-content: end;
}

[data-target="wp-button-bottom"] a {
    border-radius: 40px !important;
    height: 3.4rem !important;
}

.wp-button-left {
    align-items: center;
    position: fixed;
    bottom: 11px;
    left: auto;
    right: 7px;
    z-index: 99999;
    transform: translateY(200%);
}

.wp-button-left a {
    display: flex;
    align-items: center;
    font-size: 16px;
    height: 3rem !important;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
    background-color: rgb(22, 163, 74, 1);
    color: rgba(255, 255, 255, 1) !important;
    padding: .5rem !important;
}

.wp-button-left a:hover {
    background-color: #45a049;
}

.modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* bg-black + bg-opacity-50 */
    backdrop-filter: blur(12px);
    /* backdrop-blur-md */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
    transition: opacity 300ms ease-in-out;
    /* transition-opacity duration-300 ease-in-out */
    padding-left: 1rem;
    /* px-4 */
    padding-right: 1rem;
}

.modal-content {
    background-color: white;
    /* bg-white */
    width: 100%;
    /* w-full */
    max-width: 28rem;
    /* max-w-md -> 448px (default Tailwind ölçüsü) */
    padding: 1.5rem;
    /* p-6 */
    border-radius: 0.375rem;
    /* rounded-md -> 6px */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* shadow-lg */
    position: relative;
    /* relative */
}

.close-button {
    color: black;
    /* text-black */
    position: absolute;
    /* absolute */
    top: 0.5rem;
    /* top-2 -> 8px */
    right: 0.5rem;
    /* right-2 -> 8px */
    font-size: 1.5rem;
    /* text-2xl -> 24px */
    font-weight: 700;
    /* font-bold */
    padding: 0.5rem;
    /* p-2 -> 8px */
    z-index: 50;
    /* z-50 */
    background-color: transparent;
    border: none;
    cursor: pointer;
}

/* Buton CSS */

/* Preload CSS*/


#global-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff; /* Artık tamamen beyaz */
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s ease, visibility .6s ease;
    overflow: hidden;
    pointer-events: all;
}

#global-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(1, 30, 110, 0.3); /* dış çember daha soft mavi */
    border-top-color: rgb(1, 30, 110); /* üst çember ana renk */
    border-radius: 50%;
    animation: spin2 1s linear infinite;
}

@keyframes spin2 {
    to { transform: rotate(360deg); }
}

/* Preloader açıkken scroll ve tıklamayı engelle */
body.preloader-active {
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Preload CSS*/