﻿body, html {
    overflow-x: hidden;
}

a,
div,
p,
span,
h1,
h2,
h3,
h4,
h5,
h6,
label,
li,
button,
input {
    font-family: nyt-cheltenham, cheltenham-fallback-georgia, cheltenham-fallback-noto, georgia, 'times new roman', times, serif !important;
}

.btn-primary:hover {
    color: #fff;
    background-color: #ff7a00;
    border-color: #ff7a00;
}

.btn-primary {
    color: #fff;
    background-color: #F26522;
    border-color: #F26522;
}


.wrapper {
    padding: 50px 0px;
}

.finsmart-orange-btn {
    background-image: linear-gradient(to bottom right, #EB6434, #EC9373);
    color: #fff !important;
    width: 150px;
    height: 40px;
    border-radius: 80px;
    margin-bottom: 25px;
    cursor: default !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .finsmart-orange-btn:focus {
        box-shadow: none !important;
    }

.articles-page-section {
    background-color: #F7F7F9;
}

.article-section p {
    font-family: nyt-cheltenham, cheltenham-fallback-georgia, cheltenham-fallback-noto, georgia, 'times new roman', times, serif !important;
}

.articles-photo {
    height: 225px !important;
}

.articles-page-section h1 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 25px;
}

.articles-page-section h2 {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    padding: 0px 20px;
}

.articles-page-section p {
    font-size: 18px;
    line-height: 24px;
    padding: 0px 20px;
}

.articles-page-section a {
    text-decoration: none;
    margin-bottom: 30px;
    margin-left: 20px;
    font-weight: 700;
    color: #0046D1;
}

    .articles-page-section a:hover {
        color: #0055FF !important;
    }

.articles-page-section img {
    padding: 20px;
    border-radius: 30px;
}

.articles-section div {
    border-radius: 20px;
    height: 600px;
}


/*ARTİCLE DETAİLS SECTİON START*/

.article-details-section {
    background-color: #F7F7F9;
}

    .article-details-section h1 {
        font-size: 30px !important;
        line-height: 35px;
        font-weight: 500;
        color: #0046D1;
    }

    .article-details-section h2 {
        font-size: 20px;
    }

    .article-details-section h3 {
        font-size: 20px;
    }

    .article-details-section p {
        font-size: 18px;
        line-height: 27px;
    }

    .article-details-section img {
        border-radius: 10px;
    }

    .article-details-section .col-lg-8 img {
        object-fit: cover !important;
        width: 100% !important;
    }

    .article-details-section .article-content h1 {
        color: unset;
    }

.dropdown.dropup {
    position: absolute;
    top: 55%;
    right: 20px;
}

.details-header {
    border-radius: 20px;
}

.find-part {
    background-color: #EAF1FF;
    border-radius: 20px;
    padding: 20px 25px;
}

    .find-part h2 {
        font-size: 24px;
        line-height: 32px;
        font-weight: 500;
    }

    .find-part p {
        font-weight: 400;
        font-size: 20px;
        margin-top: 10px;
        margin-bottom: 0px;
    }

.article-details-section a {
    text-decoration: none;
    font-size: 18px;
    line-height: 26px;
    color: #585F6A;
}

#add-comment-form {
    border: 0px;
}

    #add-comment-form textarea::placeholder,
    #add-comment-form input::placeholder {
        padding-left: 10px;
    }

    #add-comment-form input {
        height: 40px;
        border-radius: 5px !important;
        margin-bottom: 10px;
        border: 1px solid #66666666 !important;
    }

    #add-comment-form label {
        font-size: 16px;
    }

    #add-comment-form textarea {
        height: 200px;
        border-radius: 5px !important;
        margin-bottom: 10px;
        border: 1px solid #66666666 !important;
    }

        #add-comment-form textarea::placeholder {
            padding-bottom: 20px !important;
        }

    #add-comment-form label {
        padding: 0;
    }

#add-comment-form {
    border-radius: 5px !important;
}

.card-body {
    border-radius: 7px !important;
    min-height: 165px !important;
}

.blog-card .youtube-player {
    margin: 0 0 10px 0;
}

.youtube-player .play {
    width: 4.5em;
    height: 3em;
}


.explore-part {
    padding: 20px 20px;
    border-radius: 20px;
}

    .explore-part a {
        text-decoration: none;
    }

    .explore-part > a:last-child {
        color: #0046D1;
        font-weight: 700;
    }

.article-content {
    padding-left: 20px;
    box-shadow: 4px 0 16px 2px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.explore-part h2 {
    margin-bottom: 20px;
}

.explore-part div {
    margin-bottom: 25px;
}

.explore-part img {
    height: 100px;
}

#commentText,
#authorName {
    border: 1px solid #DFDFDF !important;
}

#add-comment-form-btn {
    background-color: #F26522;
    width: 160px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 20px;
    padding: 5px;
    border: 0;
}

/*ARTİCLE DETAİLS SECTİON END*/

@media only screen and (min-width: 768px) and (max-width: 1024px) {

    .masthead .position-absolute {
        top: 5% !important;
        right: 15% !important;
    }
}



@media only screen and (min-width: 0px) and (max-width: 560px) {

    .wrapper {
        padding: 40px 20px;
    }

    .articles-page-section a {
        margin-bottom: 10px;
    }

    .articles-page-section p {
        font-size: 16px;
    }

    .articles-page-section h2 {
        font-size: 18px;
    }

    /*article-details-start*/
    .article-details-section .col-lg-7 img {
        height: 300px !important;
    }

    .articles-page-section a {
        margin-bottom: 15px;
    }

    .articles-page-section p {
        font-size: 16px;
    }

    .articles-page-section h2 {
        font-size: 18px;
    }

    .explore-part img {
        width: 100%;
        height: 150px;
        border-radius: 10px;
    }

    .details-header {
        padding-left: 20px;
        padding-right: 20px;
    }

    .article-content {
        margin-bottom: 30px;
    }
    /*article-details-end*/
    .site-heading h1 {
        font-size: 30px !important;
        margin-bottom: 20px;
    }

    .subheading {
        font-size: 18px !important;
    }

    .main-video-description {
        font-size: 20px !important;
        text-align: start;
        font-weight: 700;
    }

    .register-background {
        padding: 20px !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 700px !important;
    }

    input#newsletter-email::placeholder {
        position: absolute;
        padding-right: 10px;
        padding-top: 3px;
    }
}

body {
    color: #212529;
}

a {
    text-decoration: none;
    color: #212529;
    display: block;
}

textarea {
    height: 200px;
}

iframe {
}

input, textarea {
    font-size: 14px !important;
    border-radius: 10px !important;
    border: 1px solid #1b4962 !important;
    color: #212529;
    font-weight: 500
}

    input::placeholder, textarea::placeholder {
        color: #212529 !important;
        font-weight: 500
    }


footer {
    padding-top: 75px;
    padding-bottom: 75px;
}

    footer h5 {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 15px;
    }

    footer li {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 10px;
    }

.footer-bottom {
    padding: 25px;
    color: #000;
    font-weight: 500;
}

    .footer-bottom p {
        margin: 0 0 0 10px;
    }


.product-row {
    gap: 30px;
}

    .product-row h2 {
        font-size: 36px;
        font-weight: 700;
    }

.product-card {
    margin-bottom: 60px;
    box-shadow: 4px 0 16px 2px rgba(0, 0, 0, 0.05);
    --border-width: 1px;
    --radius: 12px;
    position: relative;
    border-radius: var(--radius);
    border: var(--border-width) solid transparent;
    width: calc(33% - 30px);
    padding: 25px;
    height: 450px;
}

    .product-card::before, .product-page-card::before {
        content: " ";
        position: absolute;
        inset: calc(var(--border-width) * -1);
        z-index: -1;
        border: inherit;
        border-radius: inherit;
        background-image: conic-gradient(from var(--angle), #b3d9f2 80%, #5a8faf 88%, #1b4962 92%, #0f2c3f 100%);
        background-origin: border-box;
        -webkit-mask: linear-gradient(black, black) content-box, linear-gradient(black, black);
        mask: linear-gradient(black, black), linear-gradient(black, black);
        -webkit-mask-clip: content-box, border-box;
        mask-clip: content-box, border-box;
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        animation: spin 3s linear infinite;
    }

    .product-card img {
        margin-bottom: 10px;
        padding: 15px;
        height: 200px;
    }

    .product-card h3 {
        font-size: 18px;
        font-weight: 500;
        line-height: 24px;
    }

    .product-card p {
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-card a, .product-card a:hover {
        background: #1b4962;
        font-size: 14px;
        font-weight: 500;
        color: #fff;
        width: 120px;
        height: 35px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 4px;
        position: absolute;
        bottom: 20px;
    }

#offCanvasGeneral {
    top: 100px;
    height: max-content;
    border: none;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

    #offCanvasGeneral h5 {
        color: #000;
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 0;
    }

    #offCanvasGeneral p {
        font-size: 14px
    }

    #offCanvasGeneral .offcanvas-body {
        overflow: hidden !important;
    }

.buisness-card h3 {
    font-size: 24px;
    height: 100px;
}

.buisness-title {
    margin-bottom: 0;
    position: relative;
    bottom: 45px;
    width: 90px;
    background-color: #FFF;
    height: 45px;
}

.main-videos h1 {
    font-size: 28px;
}

.videos-description h3 {
    font-size: 24px;
}

.diary-card h1 {
    font-size: 24px !important;
}

.diary-btn {
    gap: 40px;
}


    .diary-btn a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
    }

        .diary-btn a:hover {
            box-sizing: border-box;
            background-color: #03A9F4;
            border-radius: 5px;
            color: #FFF;
        }

.register-background {
    background-color: #F26522;
    height: 500px;
    padding: 110px;
}

    .register-background h1 {
        color: #FFF;
        font-size: 65px;
        font-weight: 600;
    }

.register-btn {
    height: 60px;
}

    .register-btn a {
        background-color: #0084FF;
        width: 100px;
        color: #FFF;
        border-radius: 10px;
    }

        .register-btn a:hover {
            background-color: #2177db !important;
        }

.register-background p {
    color: #FFF;
    font-size: 22px;
    margin: 0 0 20px 0;
}

.register-btn input::placeholder {
    padding-left: 20px !important;
    color: #C0C0C0 !important;
}

.header-search h1 {
    font-size: 30px;
}

.header-diary-search {
    margin-bottom: 30px;
}

    .header-diary-search h1 {
        font-size: 30px;
    }

.buisness-title {
    font-size: 14px;
    font-weight: 500;
    color: #C0C0C0;
    margin: 0;
}

.videos-description p {
    font-size: 14px;
    font-weight: 500;
    color: #C0C0C0;
}

.diary-info {
    font-size: 14px;
    font-weight: 500;
    color: #C0C0C0;
}

.buisness-card {
    margin-bottom: 30px;
}

.publication-date {
    font-size: 14px;
    font-weight: 500;
}

    .publication-date p {
        margin-top: 10px !important;
        margin-bottom: 10px !important
    }

@supports not (background: paint(something)) {
    .product-card::before, .product-page-card::before {
        background-image: conic-gradient(#b3d9f2 80%, #5a8faf 88%, #1b4962 92%, #0f2c3f 100%);
    }
}

.product-card:hover::before, .product-page-card:hover::before {
    animation-play-state: paused;
}

@property --angle {
    syntax: "<angle>";
    inherits: true;
    initial-value: 0turn;
}

@keyframes spin {
    to {
        --angle: 1turn;
    }
}

#references .content {
    padding: 0 20px;
}

#references .item {
    box-shadow: 4px 0 16px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #b3d9f2;
}

#references h2 {
    width: max-content;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
}

#references h3 {
    margin: 15px 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: #1b4962;
}

#references p {
    font-size: 20px;
}

#references .owl-references .item, #references .owl-references .item img {
    border-radius: 12px;
}

    #references .owl-references .item img {
        height: 220px;
    }

.to-top {
    background-color: #1b4962;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#brands h2 {
    width: max-content;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
}

.owl-brands {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

    .owl-brands .owl-nav {
        width: 105%;
        display: flex;
        justify-content: space-between;
        position: absolute;
        top: 0;
    }

        .owl-brands .owl-nav span {
            font-size: 48px;
            display: flex;
            align-items: center;
            height: 48px;
        }

.header-search {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.carousel-caption {
    position: static;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #000;
    text-align: center;
}

.article-categories {
    justify-content: center;
    background-color: #BFBFBF;
    padding: 4px 10px;
    position: fixed;
    top: 62%;
    font-size: 14px;
    height: 46px;
    display: flex;
    align-items: center;
    width: 90px;
    margin: 0 !important;
}

.carousel-control-prev {
    justify-content: start;
    position: absolute;
    bottom: 25%;
}

.carousel-control-next {
    justify-content: end;
    position: absolute;
    bottom: 25%;
}

.blog-card {
    border-radius: 10px !important;
    padding: 10px 10px 5px 10px;
}

    .blog-card img {
        width: 300px !important;
        height: 200px !important;
    }

    .blog-card h5 {
        font-weight: 500 !important;
        font-size: 20px !important;
    }

.video-description {
    margin: 0 !important;
    width: 100%;
    text-align: start !important;
    font-size: 18px;
    text-align: start;
    font-weight: 700;
    line-height: 22px;
}

.video-article-row .youtube-player {
    border-radius: 0;
    margin-top: 0 !important;
}

.video-article-row p,
.video-article-row h5 {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 3 satırdan sonra kes */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-article-row .youtube-player img {
    margin-top: 0 !important
}

.main-video-description {
    font-size: 28px;
    text-align: start;
    font-weight: 700;
}

.video-left-side .play {
    width: 70px;
    height: 50px
}

.read-more {
    font-size: 16px;
}

.caption {
    font-style: unset !important;
}

.post-meta {
    font-style: unset !important;
}

#languageButtonWeb, #languageButtonMobile {
    background-color: #F26522;
    color: #fff;
    border: none;
    position: relative;
    font-size: 0.8rem;
    padding: 10px 20px 10px 10px;
    border-radius: 4px;
    line-height: 1.2;
}

    #languageButtonWeb:hover, #languageButtonMobile:hover {
        background-color: #ff7a00;
    }

    #languageButtonWeb::after, #languageButtonMobile::after {
        display: none;
    }

    #languageButtonWeb::before, #languageButtonMobile::before {
        content: "";
        position: absolute;
        right: 0.5rem;
        top: 45%;
        transform: translateY(-50%) rotate(45deg);
        border: solid white;
        border-width: 0 1.5px 1.5px 0;
        padding: 2px;
        display: inline-block;
    }

.dropdown-menu {
    border: 1px solid #ff7a00;
    font-size: 0.85rem;
    min-width: auto;
    padding: 0.25rem 0;
}

.dropdown-item:hover {
    background-color: #ff7a00;
    color: white;
}

.masthead {
    max-height: 50vh;
}

.video-home .youtube-player {
    cursor: none !important;
}

#main-youtube-player {
    margin-top: 0 !important;
}

.video-row-section .splide__arrow--prev {
    top: -50px !important;
}

.video-row-section .splide__arrow--next {
    bottom: -1em !important;
    top: auto;
}

.video-thumbnail-item.active {
    border: 1px solid #DDDD !important;
    background: #DDDD !important;
    border-radius: 10px !important;
}

.comment-card p {
    margin-top: 1rem !important;
}

@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar-nav .dropdown .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/*Contact Section Start*/

.contact-card {
    padding-bottom: 35px;
    padding-top: 35px;
    border-radius: 10px;
}

    .contact-card a,
    .contact-part p {
        font-size: 15px;
        font-weight: 500;
        margin-bottom: 10px;
    }

    .contact-card p {
        line-height: 23px;
    }

    .contact-card img {
        margin-bottom: 25px;
        width: 40px;
        height: auto;
    }

    .contact-card:hover {
        background-color: transparent;
        cursor: pointer;
        transition: all 300ms ease-in-out;
        -webkit-transition: all 300ms ease-in-out;
        box-shadow: 0px 0px 30px 5px rgba(0, 0, 0, 0.05);
    }

#contact-page-form .btn {
    height: 40px;
    width: 150px;
    border-radius: 10px;
    background: #1b4962;
    color: #fff;
}

.contact-form-box {
    box-shadow: 4px 0px 16px 2px rgba(0,0,0,0.08);
    border-radius: 12px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card p {
    font-weight: 600 !important;
    font-size: 24px;
}

.form-floating:last-of-type {
    margin-bottom: unset !important;
}

.form-floating {
    margin-bottom: 20px;
}

    .form-floating input {
        height: 45px !important;
    }

    .form-floating > .form-control {
        padding: 0.375rem 0.75rem !important;
    }

/*Contact Section End*/


/*Image Carousel Start*/
.custom-carousel-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

    .custom-carousel-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0px 10px rgba(242, 101, 34);
    }

.custom-carousel-link {
    color: inherit;
    text-decoration: none;
    display: block;
    height: 100%;
}

.custom-carousel-img-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.custom-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 0;
}

.custom-carousel-card:hover .custom-carousel-img {
    transform: scale(1.05);
}

.custom-carousel-info {
    padding: 16px;
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .custom-carousel-info h5 {
        font-size: 18px;
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 8px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 50px;
    }

    .custom-carousel-info .article-categories {
        font-size: 13px;
        color: #6c757d;
        margin-top: 0;
    }

    .custom-carousel-info .publication-date {
        font-size: 13px;
        color: #888;
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
    }

.image-carousel-row .splide__slide {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.splide__arrow {
    background: #F26522 !important;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

    .splide__arrow svg {
        width: 20px;
        height: 20px;
        fill: #333;
        transform: rotate(0deg);
        transition: transform 0.3s ease;
    }

.splide__arrow--prev {
    left: -20px;
}

.splide__arrow--next {
    right: -20px;
    transform: translateY(-50%) rotate(180deg);
}

.splide__arrow:hover {
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

    .splide__arrow:hover svg {
        fill: #fff;
    }

.category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(242, 101, 34, 1); /* Arka plan */
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    font-weight: 500;
}


#newsletter-form-btn {
    background-color: #0055ff !important;
    border-radius: 10px;
}

    #newsletter-form-btn:hover {
        background-color: #2251af !important;
    }

/*Image Carousel End*/

.video-thumbnail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0px 10px rgba(242, 101, 34);
    border-radius: 10px !important;
}

.rounded-pill {
    background: #f26522ad !important;
    color: #fff !important;
}

.blog-card .post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* gösterilecek satır sayısı */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* ... koyar */
}

@media only screen and (min-width: 819px) and (max-width: 1181px) {

    .register-section {
        padding: 50px 30px !important;
    }

    .register-background {
        padding: 70px !important;
    }
}
