:root,
[data-bs-theme=light] {
    --tyn-font-sans-serif: "Quicksand", sans-serif !important;
    --tyn-primary: #222651;
    --tyn-primary-rgb: 34, 38, 81;
    --tyn-primary-text-emphasis: #090d38;
    --tyn-primary-bg-subtle: #e9e9ee;
    --tyn-primary-border-subtle: #d3d4dc;
    --tyn-whitesmoke-bg-rgb: 249, 249, 249;
}

[data-bs-theme="dark"] {
    --tyn-primary-text-emphasis: #151944;
    --tyn-primary-bg-subtle: #191e29;
    --tyn-primary-border-subtle: #1a1f2e;
}

:root,
[data-bs-theme="light"] {
    --tyn-secondary: #1FA888;
    --tyn-secondary-rgb: 31, 168, 136;
    --tyn-secondary-text-emphasis: #157a63;
    --tyn-secondary-bg-subtle: #e6f6f2;
    --tyn-secondary-border-subtle: #cceee6;
}

[data-bs-theme="dark"] {
    --tyn-secondary-text-emphasis: #1c8f73;
    --tyn-secondary-bg-subtle: #1a2a27;
    --tyn-secondary-border-subtle: #24423c;
}

.bg-white-smoke {
    --tyn-bg-opacity: 1;
    background-color: rgba(var(--tyn-whitesmoke-bg-rgb), var(--tyn-bg-opacity)) !important;
}


.btn-primary {
    --tyn-btn-bg: #222651;
    --tyn-btn-border-color: #222651;
    --tyn-btn-hover-bg: #090d38;
    --tyn-btn-hover-border-color: #090d38;
    --tyn-btn-active-bg: #090d38;
    --tyn-btn-active-border-color: #090d38;
    --tyn-btn-disabled-bg: #222651;
    --tyn-btn-disabled-border-color: #222651;
}

.btn-outline-primary {
    --tyn-btn-color: #222651;
    --tyn-btn-border-color: #222651;
    --tyn-btn-hover-bg: #222651;
    --tyn-btn-hover-border-color: #222651;
    --tyn-btn-active-bg: #222651;
    --tyn-btn-active-border-color: #222651;
    --tyn-btn-disabled-color: #222651;
    --tyn-btn-disabled-border-color: #222651;
}

.btn-secondary {
    --tyn-btn-color: #fff;
    --tyn-btn-bg: #1FA888;
    --tyn-btn-border-color: #1FA888;
    --tyn-btn-hover-bg: #157a63;
    --tyn-btn-hover-border-color: #157a63;
    --tyn-btn-active-bg: #126a55;
    --tyn-btn-active-border-color: #126a55;
    --tyn-btn-disabled-bg: #1FA888;
    --tyn-btn-disabled-border-color: #1FA888;
}

.btn-outline-secondary {
    --tyn-btn-color: #1FA888;
    --tyn-btn-border-color: #1FA888;
    --tyn-btn-hover-bg: #1FA888;
    --tyn-btn-hover-border-color: #1FA888;
    --tyn-btn-active-bg: #157a63;
    --tyn-btn-active-border-color: #157a63;
    --tyn-btn-disabled-color: #1FA888;
    --tyn-btn-disabled-border-color: #1FA888;
}


.navbar-sticky.navbar-stuck.navbar {
    background: transparent;
    box-shadow: none;
}

.navbar-sticky.navbar-stuck.navbar .nav-item a {
    color: var(--tyn-dropdown-link-color) !important;
}

.navbar-sticky.navbar-stuck.navbar a[href="/3d-kartela"] svg path[fill="#fff"] {
    fill: #000 !important;
}

.navbar-sticky.navbar-stuck.navbar [data-dark-logo] {
    display: block;
}

.navbar-sticky [data-dark-logo] {
    display: none;
}

.navbar-sticky [data-light-logo] {
    display: block;
}

.navbar-sticky.navbar-stuck.navbar [data-light-logo] {
    display: none;
}

.navbar-sticky.navbar-stuck.navbar a.btn-light {
    --tyn-btn-color: #fff !important;
    --tyn-btn-bg: #222934 !important;
    --tyn-btn-border-color: #222934 !important;
    --tyn-btn-hover-color: #fff !important;
    --tyn-btn-hover-bg: #434952 !important;
    --tyn-btn-hover-border-color: #383e48 !important;
}

@media(max-width: 992px) {
    .navbar-sticky .nav-item a {
        color: var(--tyn-dropdown-link-color) !important;
    }
}


.about-left-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 190px;
    background: #e0e5eb;
}


.home-slide {
    height: calc(67vh - 40px);
}

.home-slide .swiper {
    height: calc(67vh - 40px);
}

@media(min-width: 1200px) {
    .home-slide .swiper .container {
        padding-top: 7rem !important;
    }
}

.home-slide .swiper-pagination-bullet-active {
    width: 36px !important;
}

.home-slide .swiper-pagination-bullet {
    width: 18px;
    height: 10px;
    border-radius: 100px;
    transition: width .3s ease-in-out, background-color 0.2s ease-in-out !important;
}


.breadcrumb-section .container {
    padding-top: 7rem !important;
}

.home-product {
    white-space-collapse: preserve-breaks;
    height: 320px;
    object-fit: cover;
    background: #0000007a;
    display: flex;
    justify-content: flex-end;
}


.line {
    width: 20%;
    height: 2px;
    background-color: var(--tyn-primary);
    margin-top: 5px;
}

.fade-lr {
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.fade-l {
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0%, #000 20%);
}

.fade-r {
    position: relative;
    mask-image: linear-gradient(90deg, #000 80%, transparent 100%);
}

.tyn-higlight {
    font-weight: 700;
    color: var(--tyn-primary);
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.footer-contact-icon {
    color: white;
    padding: 4px;
    display: inline-flex;
    width: 20px !important;
    height: 20px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 5px;
}

.bg-grey {
    background: #f5f5f5;
    border-radius: 10px;
}

.pulse i {
    position: relative;
    z-index: 20;
    font-size: 23px;
}

.pulse {
    position: fixed;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px !important;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: rgba(0, 200, 0, 1);
    color: white;
    border-radius: 50px;
    text-align: center;
    transition-duration: 0.5s;
    animation: pulse-btn 3s infinite;
    z-index: 9000;
}

.pulse:hover {
    background-color: rgba(0, 150, 0, 1);
    color: white;
}


@-webkit-keyframes pulse-btn {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(0, 200, 0, 1);
    }

    70% {
        -webkit-box-shadow: 0 0 0 20px rgba(0, 200, 0, 0);
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(0, 200, 0, 0);
    }
}

.pulse a {
    color: #fff;
}


.tyn-service-box {
    background-color: #fff;
    transition: transform .3s, box-shadow .3s;
    transform: translateY(0);
    position: relative;
}

.tyn-service-box:hover img {
    transform: scale(1.05);
}

.tyn-service-box:hover .service-btn {
    background-color: #000;
    color: #fff;
}

.tyn-service-box img {
    transition: transform .3s;
    transform: scale(1);
}

.tyn-service-box .card-body .card-title {
    padding-right: 50px !important;
}

header {
    z-index: 1031 !important;
}

@media(max-width: 768px) {
    header .navbar-brand img {
        width: 130px !important;
    }

    .home-slide {
        height: 80vh !important;
    }


    .breadcrumb-section .container {
        padding-bottom: 2rem !important;
    }

    .home-slide .swiper {
        height: 80vh !important;
    }

    .logo-wrap::before,
    .hero-slider-wrap::after {
        display: none;
    }
}


.service-detail  h1, .service-detail  h2, .service-detail  h3, .service-detail  h4, .service-detail  h5, .service-detail  h6 {
    font-size: 21px;
    font-weight: 600;
}

.section-why-us {
    --why-us-accent: var(--tyn-secondary);
    --why-us-accent-hover: var(--tyn-secondary-hover);
    background-color: var(--tyn-body-bg);
}

.section-why-us .why-us-feature-card {
    background-color: rgba(var(--tyn-whitesmoke-bg-rgb), 1);
    border: 1px solid var(--bs-border-color-translucent);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.section-why-us .why-us-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.25rem rgba(var(--tyn-primary-rgb), 0.08);
}

.section-why-us .why-us-feature-card--highlight {
    background: var(--why-us-accent);
    border-color: transparent;
    color: #fff;
}

.section-why-us .why-us-feature-card--highlight .why-us-feature-desc {
    color: rgba(255, 255, 255, 0.92);
}

.section-why-us .why-us-cta-btn {
    background-color: var(--why-us-accent);
    border-color: var(--why-us-accent);
}

.section-why-us .why-us-cta-btn:hover {
    background-color: var(--why-us-accent-hover);
    border-color: var(--why-us-accent-hover);
    color: #fff;
}

.section-why-us .why-us-photo-wrap img {
    object-position: center;
}

[data-bs-theme="dark"] .section-why-us .why-us-feature-card:not(.why-us-feature-card--highlight) {
    background-color: var(--bs-tertiary-bg);
}

/* Nasıl Çalışır / How it works — dikey zaman çizelgesi */
.section-how-it-works {
    background-color: rgba(var(--tyn-whitesmoke-bg-rgb), 1);
}

.hiw-timeline {
    max-width: 920px;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

@media (min-width: 992px) {
    .hiw-timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        margin-left: -1px;
        background-color: var(--tyn-border-color);
        z-index: 0;
    }
}

.hiw-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem 1.25rem;
    align-items: start;
    position: relative;
    z-index: 1;
    margin-bottom: 2.5rem;
}

.hiw-item:last-child {
    margin-bottom: 0;
}

.hiw-item--left .hiw-item__content {
    grid-column: 1;
    text-align: right;
}

.hiw-item--left .hiw-item__rail {
    grid-column: 2;
}

.hiw-item--left .hiw-item__spacer {
    grid-column: 3;
}

.hiw-item--right .hiw-item__spacer {
    grid-column: 1;
}

.hiw-item--right .hiw-item__rail {
    grid-column: 2;
}

.hiw-item--right .hiw-item__content {
    grid-column: 3;
    text-align: left;
}

.hiw-item__rail {
    display: flex;
    justify-content: center;
    padding-top: 0.25rem;
    min-width: 1.5rem;
}

.hiw-item__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--tyn-dark);
    border: 3px solid rgba(var(--tyn-whitesmoke-bg-rgb), 1);
    box-shadow: 0 0 0 2px var(--tyn-border-color);
    flex-shrink: 0;
}

.hiw-item__spacer {
    min-height: 1px;
}

@media (max-width: 991.98px) {
    .hiw-timeline {
        padding-left: 1.5rem;
        border-left: 2px solid var(--bs-border-color);
        margin-left: 0.5rem;
    }

    .hiw-timeline::before {
        display: none !important;
    }

    .hiw-item {
        display: block;
        margin-bottom: 2rem;
        position: relative;
    }

    .hiw-item__spacer {
        display: none !important;
    }

    .hiw-item__rail {
        position: absolute;
        left: calc(-1.5rem - 9px);
        top: 0.2rem;
        padding-top: 0;
    }

    .hiw-item__content {
        text-align: left !important;
        padding-left: 0.25rem;
    }

    .hiw-item__dot {
        border-color: rgba(var(--tyn-whitesmoke-bg-rgb), 1);
    }
}

[data-bs-theme="dark"] .section-how-it-works {
    background-color: var(--bs-tertiary-bg);
}

[data-bs-theme="dark"] .hiw-item__dot {
    border-color: var(--bs-tertiary-bg);
}
