/********** Template CSS **********/
:root {
    --warning: #f05a1a;
    --primary: #498cb7;
    --secondary: #999999;
    --light: #F2F8FE;
    --dark: #111111;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 60px;
    z-index: 99;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 500 !important;
}


/*** 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;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 48px;
    height: 48px;
}

.btn-lg-square {
    width: 64px;
    height: 64px;
}

.btn-xl-square {
    width: 72px;
    height: 72px;
}


.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.sticky-top {
    position: sticky;
    top: 0;
    transition: all 0.3s ease;
}

.navbar .navbar-brand {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .btn:hover {
    color: #FFFFFF !important;
    background: var(--primary) !important;
}


/*** Header ***/
.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}


/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -80px;
    right: -80px;
    border: 80px solid;
    transform: rotate(45deg);
    opacity: 1;
    transition: .5s;
}

.service-item.bg-white::after {
    border-color: transparent transparent var(--light) transparent;
}

.service-item.bg-light::after {
    border-color: transparent transparent #FFFFFF transparent;
}

.service-item:hover::after {
    opacity: 0;
}



/*** FAQs ***/
.accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
}

.accordion .accordion-button {
    background: var(--light);
    border-radius: 2px;
}

.accordion .accordion-button:not(.collapsed) {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: none;
}

.accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion .accordion-body {
    padding: 15px 0 0 0;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: var(--primary);
    border: 1px solid var(--primary);
}

.footer .btn.btn-square:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(17, 17, 17, .1);
}

.footer .copyright a {
    color: var(--primary);
}

.footer .copyright a:hover {
    color: var(--dark);
}





/* make hero relative */
.hero-header {
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
}

.hero-header-wave{
    padding-bottom: 180px; /* 👈 more space for big curve */
}

.hero-wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 200%;
    height: 280px; /* 👈 bigger wave height */
    animation: waveMove 10s linear infinite;
}

.hero-wave path {
  fill: #ffffff; /* or your color */
}

/* smooth animation */
@keyframes waveMove {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.testimonial-item img {
    width: auto !important;
    margin: auto;
    display: block;
}

.testimonial-item{
    padding: 0 100px;
}


.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}



.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}


.logo-carousel .item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px; /* control row height */
    transition: 0.3s;
}

.logo-carousel .item img {
    max-width: 100%;
    max-height: 80px; /* keeps logos uniform */
    width: auto !important;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.logo-carousel .item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
    cursor: pointer;
}




.img-box {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 6px 1px rgba(0,0,0,0.15);
    border: 3px solid #ddebfc;
    margin-bottom: 20px;
}

/* Image */
.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.4s ease;
}

/* Black overlay */
.img-box .overlay {
    position: absolute;
    inset: 0; /* matches padding */
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2); /* opacity here */
    opacity: 0;

    transition: opacity 0.4s ease;
}

/* Hover effects */
.img-box:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.img-box:hover .overlay {
    opacity: 1;
}


.terms-card h2{
    margin-top:40px;
    margin-bottom:20px;
    font-size:1.2rem;
    color: var(--primary); 
}

.terms-card h2:first-child{
    margin-top:0;
}

.terms-card p{
    color:#555;
    line-height:1.5;
    font-size:14px;
}

.terms-card ul{
    padding-left:20px;
}

.terms-card li{
    margin-bottom:12px;
    color:#555;
}





.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 30px;
}

.pricing-box {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  padding: 30px 25px;
  border-radius: 20px;
  text-align: center;

  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);

  transition: all 0.35s ease;
  position: relative;
}

/* Hover */
.pricing-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

/* Badge */
.badge {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: #eee;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
}

/* Price */
.pricing-box h2 {
  font-size: 36px;
  margin: 30px 0 10px;
}

.pricing-box h2 span {
  font-size: 14px;
  color: #777;
}

/* Description */
.desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

/* Features */
.pricing-box ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.pricing-box ul li {
  margin: 10px 0;
  color: #333;
}

/* Button */
.pricing-box button {
  margin-top: 15px;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  background: #111;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.pricing-box button:hover {
  background: #333;
}

/* Featured */
.pricing-box.featured {
  border: 2px solid #007bff;
  transform: scale(1.05);
}

.pricing-box.featured .badge {
  background: #007bff;
  color: #fff;
}




.free-trial-content.bg-color {
    background-color: var(--primary)
}

.free-trial-content.bg-color:before {
    display: none
}

.free-trial-content.bg-color form .input-newsletter,.free-trial-content.bg-color form .default-btn,.free-trial-content.bg-color form .default-btn:before {
    border-radius: 30px
}


.free-trial-content {
    text-align: center;
    z-index: 1;
    padding: 100px;
    position: relative
}

.free-trial-content:before {
    content: "";
    z-index: -1;
    background: linear-gradient(279.99deg,#9f5ff1 -1.19%,#ff54b0 50.99%,#ff9f5a 100%);
    border-radius: 5px;
    position: absolute;
    inset: 0;
    transform: matrix(-1,0,0,1,0,0)
}

.free-trial-content .sub-title {
    letter-spacing: .1em;
    color: var(--bs-light);
    margin-bottom: 12px;
    font-weight: 600;
    display: block
}

.free-trial-content h2 {
    max-width: 500px;
    color: var(--bs-light);
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    font-size: 36px;
    line-height: 1.4
}

.free-trial-content form {
    max-width: 700px;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    position: relative
}

.free-trial-content form .input-newsletter {
    background-color: var(--bs-light);
    width: 100%;
    height: 70px;
    color: var(--primary); 
    border: none;   
    border-radius: 5px;
    padding-left: 25px;
    display: block;
    outline: 0;
}

.free-trial-content form .input-newsletter::-moz-placeholder {
    color: var(--primary);
}

.free-trial-content form .input-newsletter::placeholder {
    color: var(--primary);
}

.free-trial-content form .input-newsletter:focus::placeholder {
    color: var(--light);
}

.free-trial-content form .default-btn {
    border-radius: 5px;
    height: 60px;
    position: absolute;
    top: 5px;
    right: 5px;
    outline: 0;
    border: 1px solid transparent;
    padding: 0 20px;
}

.free-trial-content form .default-btn:before {
    border-radius: 5px
}


.default-btn {
    z-index: 1;
    color: var(--whiteColor);
    transition: var(--transition);
    font-size: var(--fontSize);
    border: none;
    border-radius: 30px;
    padding: 15px 35px;
    font-weight: 600;
    display: inline-block;
    position: relative;
    box-shadow: 0 12px 35px #ed277540
}

.default-btn:before {
    content: "";
    transition: var(--transition);
    z-index: -1;
    background: var(--gradientColor);
    border-radius: 30px;
    position: absolute;
    inset: 0
}

.default-btn:hover {
    background-color: var(--mainColor);
    color: var(--whiteColor)
}

.default-btn:hover:before {
    opacity: 0;
    visibility: hidden
}


.lines {
    z-index: -1;
    width: 100%;
    height: 100%;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0
}

.lines .line {
    background: #ffffff1a;
    width: 1px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    overflow: hidden
}

.lines .line:after {
    content: "";
    background: linear-gradient(to bottom,#fff0 0%,var(--bs-white)75%,var(--bs-white)100%);
    width: 100%;
    height: 15vh;
    animation: 7s cubic-bezier(.4,.26,0,.97) infinite forwards run;
    display: block;
    position: absolute;
    top: -50%;
    left: 0
}

.lines .line:first-child {
    margin-left: -35%
}

.lines .line:first-child:after {
    animation-delay: 2s
}

.lines .line:nth-child(3) {
    margin-left: -17.5%
}

.lines .line:nth-child(3):after {
    animation-delay: 2.5s
}

.lines .line:nth-child(4) {
    margin-left: 17.5%
}

.lines .line:nth-child(4):after {
    animation-delay: 3s
}

.lines .line:nth-child(5) {
    margin-left: 35%
}

.lines .line:nth-child(5):after {
    animation-delay: 3.5s
}

@keyframes run {
    0% {
        top: -50%
    }

    to {
        top: 110%
    }
}

:root {
    --fontSize: 14px;
    --transition: .5s;
    --mainColor: #FFA02E;
    --whiteColor: #fff;
    --blackColor: #262a37;
    --gradientColor: linear-gradient(44.44deg,#FFC85C 7.79%,#FFA02E 94.18%);
    --paragraphColor: #716c80;
}