/********** Template CSS **********/
:root {
    --primary: #4294E3;
    --secondary: #8F12FD;
    --light: #F0F6FF;
    --dark: #262B47;
}

html, body {
    overflow-x: hidden;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Gradient Text & BG ***/
.text-primary-gradient {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-secondary-gradient {
    background: linear-gradient(to bottom right, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-primary-gradient {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

.bg-secondary-gradient {
    background: linear-gradient(to bottom right, var(--secondary), var(--primary));
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary-gradient,
.btn.btn-secondary-gradient {
    position: relative;
    overflow: hidden;
    border: none;
    color: #FFFFFF;
    z-index: 1;
}

.btn.btn-primary-gradient::after,
.btn.btn-secondary-gradient::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .5s;
    z-index: -1;
    opacity: 0;
}

.btn.btn-primary-gradient,
.btn.btn-secondary-gradient::after {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

.btn.btn-secondary-gradient,
.btn.btn-primary-gradient::after {
    background: linear-gradient(to bottom right, var(--secondary), var(--primary));
}

.btn.btn-primary-gradient:hover::after,
.btn.btn-secondary-gradient:hover::after {
    opacity: 1;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

.back-to-top {
    position: fixed;
    display: none;
    z-index: 99;
    border: none;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

.iconStyle222 {
    font-size: 24px;
    color: #fff;
    line-height: 0
}


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 45px 0;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--light) !important;
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid;
    border-color: var(--light) transparent transparent transparent;
    transition: .5s;
    opacity: 0;
    visibility: hidden; /* Tamamen gizle */
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.sticky-top.navbar-light .navbar-nav .nav-link::before {
    top: -20px; /* Sticky durumda padding değiştiği için konumu güncelle */
}

.navbar-light .navbar-nav .nav-link:hover::before,
.navbar-light .navbar-nav .nav-link.active::before {
    opacity: 1;
    visibility: visible; /* Sadece görünür yap, konumla oynama */
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav {
        align-items: flex-end;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-nav .nav-link[href*="login"] {
        border: 2px solid var(--primary);
        padding: 8px 20px !important;
        border-radius: 30px;
        margin-top: 10px;
        margin-bottom: 10px;
        color: var(--primary) !important;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link[href*="login"]:hover {
        background: var(--primary);
        color: #FFFFFF !important;
    }

    .navbar-light .navbar-nav .nav-link::before {
        display: none;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: var(--primary) !important;
    }

    .navbar-light .navbar-brand h1 {
        background: linear-gradient(to bottom right, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .sticky-top.navbar-light .navbar-nav .nav-link::before {
        border-top-color: var(--primary);
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        background: linear-gradient(to bottom right, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}


/*** Hero Header ***/
.hero-header {
    padding: 5rem 0 0 0;
    background: url(../img/bg-bottom.png),
    linear-gradient(to bottom right, var(--primary), var(--secondary));
    background-position: left 0px bottom 0px,
    right 0px top 50%,
    center bottom;
    background-repeat: repeat-x;
}

@media (max-width: 991.98px) {
    .hero-header {
        padding: 1rem 0 0 0;
    }
}

/*** Feature ***/
.feature-item {
    transition: .5s;
}

.feature-item:hover {
    margin-top: -15px;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08);
}


/*** Pricing ***/
.pricing .nav {
    padding: 2px;
}

.pricing .nav-link {
    padding: 12px 30px;
    font-weight: 500;
    color: var(--dark);
    background: #FFFFFF;
}

.pricing .nav-item:first-child .nav-link {
    border-radius: 30px 0 0 30px;
}

.pricing .nav-item:last-child .nav-link {
    border-radius: 0 30px 30px 0;
}

.pricing .nav-link.active {
    color: #FFFFFF;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}


/*** Screenshot ***/
.screenshot-carousel {
    position: relative;
    padding: 15px;
}
.screenshot-carousel-mobile {
    position: relative;
    width: 263px;
    padding: 15px;
}

.screenshot-carousel::before, .screenshot-carousel-mobile:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: center center no-repeat;
    background-size: 253px 500px;
    z-index: 1;
}

.screenshot-carousel .owl-item img {
    position: relative;
    width: auto;
    height: 500px;
}


.screenshot-carousel-mobile .owl-item img {
    position: relative;
    width: 222px;
    height: 470px;
}

.screenshot-carousel .owl-dots,.screenshot-carousel-mobile .owl-dots {
    position: relative;
    bottom: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.screenshot-carousel .owl-dot, .screenshot-carousel-mobile .owl-dot {
    position: relative;
    margin: 15px 10px;
    width: 15px;
    height: 15px;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    border-radius: 15px;
    transition: .5s;
}

.screenshot-carousel .owl-dot::after,.screenshot-carousel-mobile .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 5px;
    left: 5px;
    background: #FFFFFF;
    border-radius: 5px;
}

.screenshot-carousel .owl-dot.active,.screenshot-carousel-mobile .owl-dot.active {
    box-shadow: 0 0 10px var(--dark);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

.testimonial-carousel .owl-item.center .testimonial-item h5,
.testimonial-carousel .owl-item.center .testimonial-item p {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    border-radius: 60px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: linear-gradient(to bottom right, var(--secondary), var(--primary));
}


/*** Footer ***/
.footer {
    margin-top: 2rem;
    padding-top: 2rem;

}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.activeStyle {
    transition: background-color 0.3s ease; /* Geçiş efekti */
    background-color: #f6f6f6 !important; /* Pasif buton rengi */
}

/* Aktif buton için stil */
.activeStyle.active {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary)) !important; /* Aktif buton rengi */
    color: #FFFFFF !important;
}

/* Hover durumu için stil */
.activeStyle:hover {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary)) !important; /* Hover rengi */
    color: #FFFFFF !important;
}

.footer {
    font-size: 14px;
    background-color: #f4f6f9;
    padding: 50px 0 10px 0
}

.footer .footer-info .logo {
    line-height: 0;
    margin-bottom: 25px
}

.footer .footer-info .logo img {
    max-height: 40px;
    margin-right: 6px
}

.sidebar-dark-primary {
    background-color: #3485fd !important
}

.footer .footer-info .logo span {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    font-family: var(--font-primary)
}

.footer .footer-info p {
    font-size: 14px;
    font-family: var(--font-primary)
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgb(255 255 255 / .2);
    font-size: 16px;
    margin-right: 10px;
    transition: 0.3s
}

.footer h4 {
    font-size: 16px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px
}

.footer .footer-links {
    margin-bottom: 30px
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer .footer-links ul i {
    padding-right: 2px;
    color: rgb(0 131 116 / .8);
    font-size: 12px;
    line-height: 0
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center
}

.footer .footer-links ul li:first-child {
    padding-top: 0
}

.footer .footer-links ul a {
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
    color: #333;
}

.footer .footer-contact p {
    line-height: 26px
}

.footer .copyright {
    text-align: center
}

.footer .credits {
    padding-top: 4px;
    text-align: center;
    font-size: 13px
}

.footer .credits a {
    color: #fff
}

.topbar {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
(to bottom right, var(--primary), var(--secondary));
    height: 25px;
    font-size: 12px;
    transition: all 0.5s;
    color: #fff;
    padding: 0;
    position: relative;
    z-index: 1000;
}


.stats-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat {
    position: relative;
    width: 220px;
    height: 150px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.stat:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 6px 12px rgba(0, 0, 0, 0.3);
}

.stat::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -100%;
    left: -100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 80%);
    animation: shine 3s infinite linear;
}

@keyframes shine {
    0% {
        transform: translate(0, 0) rotate(45deg);
    }
    100% {
        transform: translate(100%, 100%) rotate(45deg);
    }
}

.number {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #dcdcdc;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.rs-home-head-image{
    max-width: 400px;
}
/* Responsive Tasarım */
@media (max-width: 768px) {
    .stat {
        width: 180px;
        height: 130px;
        margin: auto;
    }

    .number {
        font-size: 2rem;
    }

    .label {
        font-size: 0.8rem;
    }

    .accordion-button::after {
        width: 1.7rem;
        height: 1.7rem;
        background-size: 1.7rem;
        position: absolute;
        right: 30px;
    }
    .accordion-body-bg{
        background-color: #f6f6f6 !important;
    }

    .rs-home-head-image{
        max-width: 260px;
    }
}

@media (max-width: 480px) {
    .stats-container {
        flex-direction: column;
        gap: 15px;
    }

    .stat {
        width: 90%;
    }
}

@media (min-width: 992px) and (max-width: 1280px) {
    /* Reduce font size and spacing for menu items */
    .navbar-light .navbar-nav .nav-link {
        font-size: 15px;
        margin-right: 12px; /* Replaces gap/padding approach */
        padding-top: 45px; /* keep vertical padding consistent */
        padding-bottom: 45px;
        padding-left: 0;
        padding-right: 0;
        white-space: nowrap; /* Prevent ugly wrapping */
    }

    /* Reduce padding on the button inside the nav */
    .navbar-light .navbar-nav .nav-link .btn {
        padding-left: 1rem !important;  /* Equivalent to px-3 */
        padding-right: 1rem !important; /* Equivalent to px-3 */
        font-size: 15px; /* Match link font size */
    }

    /* Remove margin from the last link to avoid extra space on the right */
    .navbar-light .navbar-nav .nav-link:last-child {
        margin-right: 0;
    }
}

