/********** Template CSS **********/
:root {
    --primary: #04BECD;
    --secondary: #7D2AE7;
    --light: #F0F6FF;
    --dark: #262B47;
}


/*** 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;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    border: none;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}


/*** 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: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid;
    border-color: var(--light) transparent transparent transparent;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover::before,
.navbar-light .navbar-nav .nav-link.active::before {
    top: 0;
}

.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 .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::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 top right, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-bottom: 6rem;
    padding: 18rem 0 0 0;
    background:
        url(../img/bg-circle.png),
        url(../img/bg-bottom.png),
        linear-gradient(to top right, var(--primary), var(--secondary));
    background-position:
        left top,
        left bottom;
    background-size:
        auto auto, /* Adjust bg-circle size */
        100% 50%; /* Adjust bg-bottom size */
    background-repeat: no-repeat;
}

/* Large screens */
@media (max-width: 1200px) {
    .hero-header {
        background-size:
            auto auto,
            100% 40%;
        padding: 16rem 0 0 0;
    }
}

/* Medium screens */
@media (max-width: 991.98px) {
    .hero-header {
        background-size:
            40% auto,
            100% 35%;
        padding: 6rem 0 9rem 0;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .hero-header {
        background-position: left top, right bottom;
        background-size:
            auto auto,
            100% 56%;
        padding: 4rem 0 0rem 0;
    }
}

/* Mobile screens */
@media (max-width: 576px) {
    .hero-header {
        background-position: left top, center bottom;
        background-size:
            auto auto,
            100% 44%;
        padding: 3rem 0 0rem 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));
}

/* .slider-photo{
    margin-top: -60px !important;
} */
/*** Screenshot ***/
.screenshot-carousel {
    position: relative;
    width: 320px;
    height: 600px;
    padding: 19px 19px 0px 6px;
    margin-right: 180px;
    top: -110px;
}
@media (max-width:575px) {
    .screenshot-carousel{
        margin-right: 0;
        top: -35px;
        height: 450px;
    }
}
@media (max-width: 1200px) {
    .screenshot-carousel-heroheader {
    position: relative;
    width: 253px;
    height: 500px;
    padding: 19px 19px 0px 6px;
    margin-right: 30px;
    }
}

/* Medium screens */
@media (max-width: 991.98px) {
    .screenshot-carousel-heroheader {
    position: relative;
    width: 253px;
    height: 500px;
    padding: 19px 19px 0px 6px;
    margin-right: 30px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .screenshot-carousel-heroheader {
    position: relative;
    width: 253px;
    height: 500px;
    padding: 19px 19px 0px 6px;
    margin-right: -375px;
    }
}

/* Mobile screens */
@media (max-width: 576px) {
    .screenshot-carousel-heroheader {
    position: relative;
    width: 330px;
    height: 500px;
    padding: 19px 19px 0px 6px;
   left: 0;
   right: 0;
   margin: 0 auto;
    }
}

@media (max-width: 375px) {
    .screenshot-carousel-heroheader {
    position: relative;
    width: 290px;
    height: 500px;
    padding: 19px 19px 0px 6px;
    }
}

/* @media (max-width: 320px) {
    .screenshot-carousel-heroheader {
    position: relative;
    width: 253px;
    height: 500px;
    padding: 19px 19px 0px 6px;
    margin-right: 16px;
    }
} */


.screenshot-carousel::before {
    position: absolute;
    content: "";
    width: 105%;
    height: 106%;
    top: -3px;
    left: -15px;
    bottom: -3px;
    background: url(../img/Group-4537652.png) center center no-repeat;
    background-size: 320px 600px;
    z-index: 1;


}
@media (max-width:575px) {
    .screenshot-carousel::before {
    width: 105%;
height: 126%;
    }
}

@media (max-width:375px) {
    .screenshot-carousel::before {
        width: 100%;
    height: 100%;
    background-size: 285px 468px;
    left: -5px;

        }
}
.owl-stage-outer{
    border-radius: 27px;
}
.screenshot-carousel .owl-item img {
    position: relative;
    width: 294px;
    height: 593px;
}
@media (max-width:575px) {
    .screenshot-carousel .owl-item img{
    height: 587px;
    width: 480px;
}
}
@media (max-width:375px) {
    .screenshot-carousel .owl-item img{
    height: 465px;
    width: 277px;
}
}
.screenshot-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.screenshot-carousel .owl-dot {
    position: relative;
    display:none;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    background: #D9D8D8; /* Gray color for inactive dots */
    border-radius: 15px;
    transition: .5s;
}
.screenshot-carousel .owl-dot.active {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary)); /* Gradient for active dot */
}
/*** Testimonial ***/


/* Testimonial Section */
#testimonial-section {
  background-color: #0CA3FE12;
  margin: 0 auto;
  border-radius: 32px;
  height: 350px;
  width: 90%;
  padding: 20px 20px 70px;
  position: relative;
}

.testimonial-carousel {
    position: relative;
}

/* Testimonial Name styling */
#testimonial-name {
  font-weight: bold;
  font-size: 1.2em;
  margin: 10px 0;
  text-align: center;
}

/* Testimonial Image styling */
#testimonial-image {
    width: 207px !important;
    height: 207px !important;
    border-radius: 50% !important;
}

/* Space between text and dots */
.testimonial-carousel .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

/* Dots style */
.testimonial-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    margin: 5px;
    background: #A4A4A4;
    border-radius: 50%;
    display: inline-block;
    transition: 0.3s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    width: 58px;
    border-radius: 10px;
}

/* Navigation buttons container */
.testimonial-carousel .owl-nav {
    position: absolute;
    bottom: 30px;
    right: 20px;
    display: flex;
    gap: 10px;
}

/* Navigation button styles */
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    color: white;
    border-radius: 60px;
    font-size: 18px;
    transition: 0.5s;
    border: 3px solid linear-gradient(to bottom right, var(--primary), var(--secondary));
}

/* When the button is clicked */
.testimonial-carousel .owl-nav .owl-prev.white-bg,
.testimonial-carousel .owl-nav .owl-next.white-bg {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    background: transparent;
    border: 2px solid #2476D7;
    border-radius: 50%;
}

.testimonial-carousel .owl-nav .white-bg i {
    background: linear-gradient(to top left, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive Adjustments */

/* 1200px screens */
@media (max-width: 1200px) {
    #testimonial-section {
        height: 360px;
        width: 85%;
        padding: 20px 15px 65px;
    }

    #testimonial-image {
        width: 120px !important;
        height: 150px !important;
    }

    #testimonial-name {
        font-size: 1.1em;
    }

    #testimonial-content {
        font-size: 1.15em;
    }
}

/* 1024px screens */
@media (max-width: 1024px) {
    #testimonial-section {
        height: 100%;
        width: 100%;
        padding: 20px 15px 60px;
    }

    .testimonial-item {
        padding: 18px;
    }

    #testimonial-image {
        width: 180px !important;
        height: 135px !important;
    }

    #testimonial-name {
        font-size: 1.1em;
        /* margin-left: -48px !important; */
    }

    #testimonial-rating{
        /* margin-left: -48px !important; */
    }

    .testimonial-content-padding{
        padding-top: 2.5rem !important;
    }

    #testimonial-content {
        font-size: 1.15em;
    }

    .testimonial-carousel .owl-dots {
        bottom: -30px;
    }

    .testimonial-carousel .owl-nav {
        bottom: -30px;
        right: 15px;
    }

    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
}

/* Tablet screens - 768px */
@media (max-width: 768px) {
    #testimonial-section {
        height: 100%;
        padding: 20px 10px 50px;
    }

    .testimonial-item {
        padding: 15px;
    }

    .testimonial-heading-section{
        display: grid;
        justify-content: center;
    }

    .ms-7{
        margin-left: 5.5rem !important;
    }

    .testimonial-carousel .owl-dots {
        bottom: -30px;
    }

    .testimonial-carousel .owl-nav {
        bottom: -30px;
        right: 10px;
    }

    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        width: 50px !important;
        height: 50px !important;
        font-size: 16px;
    }

    #testimonial-image {
        width: 170px !important;
        height: 170px !important;
    }

    #testimonial-name {
        font-size: 1em;
        margin-left: -48px !important;
    }

    #testimonial-rating{
        margin-left: -48px !important;
    }

    #testimonial-content {
        font-size: 1.1em;
    }
}

/* Mobile screens - 576px */
@media (max-width: 576px) {
    .testimonial-item {
        padding: 10px;
        height: 102%;
    }

    .testimonial-carousel .owl-dots {
        bottom: -40px !important;
        left: 34% !important;
    }

    .testimonial-carousel .owl-nav {
        bottom: -17px !important;
        right: 5px;
    }

    .testimonial-carousel .owl-dots .owl-dot.active{
        width: 20px !important;
    }

    #testimonial-image {
        width: 120px;
        height: 120px;
    }

    #testimonial-name {
        font-size: 0.9em;
    }

    #testimonial-content {
        font-size: 1em;
    }
}


/*** Footer ***/
.footer {
    padding-top: 20rem;
    background:
        url(../img/bg-top.png),
        linear-gradient(to bottom left, var(--primary), var(--secondary));
    background-size: cover;
    background-repeat: no-repeat;
}

.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;
}
/* Remove any top margin or padding at the start of the footer */
.footer {
    margin-top: 0;
    padding-top: 0;
}

/* Default padding for large screens down to 768px */
.container-fluid.bg-primary.text-light.footer {
    padding-top: 153px !important;
    margin-top: 0;
}

/* Adjust padding for screens 768px and below */
@media (max-width: 768px) {
    .container-fluid.bg-primary.text-light.footer {
        padding-top: 153px !important;
    }
}

/* Adjust padding for screens 425px and below */
@media (max-width: 425px) {
    .container-fluid.bg-primary.text-light.footer {
        padding-top: 250px !important;
    }
    .footer{
       background-size: cover;
    }
}
