
html {
  background: #f8f9fa;
}

.demo-card {
    text-align: center;
    color: #4a4a4a;
    text-transform: capitalize;
}

.demo-card img {
    border-radius: 8px;
    box-shadow: 0px 2px 14px -3px #00000026;
}

.demo-card:hover.demo-card img , .demo-card:hover span.new{
    transition: 0.4s ease all;
    transform: translateY(-10px);
    box-shadow: rgba(34, 48, 102, 0.1) 0px 18px 27.2px -5px;
}

.demo-card span.new {
    color: white;
    background-color: red;
    padding: 2px 9px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    right: -12px;
    top: -13px;
    box-shadow: 2px 2px 3px 0px #cecece;
}

.demo-card p {
    margin-top: 15px;
}

.my-list {
    margin: 0;
    padding: 0;
}

.my-list li {
    list-style: none;
    display: inline-block;
    padding: 8px 23px;
    background: #f4fff7f0;
    margin-bottom: 8px;
    margin-left: 5px;
    border-radius: 100px;
}

.my-list li:hover {
    background: #f4fff7;
    transition: 0.4s ease all;
    transform: translateY(-2px);
}

.my-list li a {
    color: #7b7b7b;
}

.my-list li a:hover {
    color: #132763;
}


.main-header {
    z-index: 1000 !important;
    position: relative;
    background: white;
    box-shadow: 0 1px 10px rgba(151, 164, 175, 0.1);
}

.header-transparent {
    background: transparent !important;
    box-shadow: none !important;
    position: absolute;
    width: 100%;
}

.main-header #logo {
    font-size: 21px;
    font-weight: 600;
}

.main-header #logo i {
    font-size: 28px;
}
.uk-navbar-nav>li {
    padding: 1.8rem 0.2rem;
}
.uk-navbar-nav>li>a {
    font-weight: bolder;
    font-size: 16px;
    padding: 2px 6px;
    text-transform: inherit;
}

.demo-nav>li>a:after {
    background-color: #FFA500;
    border-radius: 4px;
    content: "";
    margin-top: 30px;
    height: 2px;
    position: absolute;
    transform: scaleX(0);
    transition: transform 0.1s;
    width: 30px;
}

.uk-light .demo-nav>li>a:after {
    background-color: rgb(255, 241, 227);
}

.demo-nav>.uk-active a:after {
    transform: scaleX(1);
}

.uk-navbar-nav>li.uk-active>a {
    color: #FFA500;
}

.demo-hero {
    background: linear-gradient( 90deg , #ff9500 0, #ff6200 100%) !important;
    padding-bottom: 0px;
}

.demo-hero .uk-container {
    padding: 100px 0;
    margin-bottom: -208px;
}

.demo-hero .img-hero {
    /* z-index: 19999; */
    position: relative;
}

.demo-hero h1,
.demo-hero p {
    color: white;
}

.demo-hero .curve {
    width: 100%;
}



#logo {
    position: absolute;
    left: 65px;
}

#logo img {
    width: 105px;
}

#logo .logo-inverse {
    display: none;
}

.uk-light #logo img {
    display: none;
}

.uk-light #logo .logo-inverse {
    display: inline;
}

.uk-light .button.warning {
    background-color: white;
    color: orange;
    border-color: white;
}

.mobi-head {
    display: none;
    height: 54px;
    padding: 10px;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1;
    justify-content: flex-end;
}

@media (max-width: 960px) {
    .demo-hero {
        border-radius: 0;
        margin-bottom: 0;
        margin-top: -30px;
        padding-top: 42px;
        text-align: center;
    }

    .mobi-head {
        display: flex;
    }

    .demo-hero .uk-container {
        padding: 50px 20px !important;
    }

    .demo-hero .img-hero,
    .demo-hero .curve {
        display: none;
    }

    .uk-container {
        padding: 0 30px;
    }
}



.effect-btn {
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.effect-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.effect-btn:hover::before {
    left: 100%;
}
.animate.effect-btn::before {
    animation: BounceEffect 0.7s ease;
}

@keyframes BounceEffect
{
    0% {
        left: -100%
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%
    }
}


.accent-btn{
    background: linear-gradient(80deg, #ff9500 0, #ff6200  100%) !important;
    color: white;
}
.accent-btn:hover {
    background: linear-gradient(80deg, #ff9500 20, #ff6200  100%) !important;
}

.zoomup-btn {
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: scale(1);
}

.zoomup-btn:hover {
    transform: scale(1.02);
}

.zoomup-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}


.zoomup-btn:hover::before {
    left: 100%;
}
.animate.zoomup-btn::before {
    animation: BounceEffect 0.7s ease;
}


.btn-orange {
    background: linear-gradient(80deg, #ff9500 0, #ff6200  100%) !important;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-orange:hover {
    background: linear-gradient(80deg, #ff9500 20, #ff6200  100%) !important;
    transform: translateY(-3px);
}
.btn-info {
    background: linear-gradient(80deg, #24b7fa 0, #24e2fa 100%) !important;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-info:hover {
    background: linear-gradient(80deg, #24b7fa 20, #24e2fa 100%) !important;
    transform: translateY(-3px);
}
.btn-dark {
    background: linear-gradient(80deg, #05172a  0, #051e2a  100%) !important;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-dark:hover {
    background: linear-gradient(80deg, #05172a 20, #051e2a  100%) !important;
    transform: translateY(-3px);
}

.btn-soft {
    background: linear-gradient(80deg, #24b7fa11  0, #051e2a11  100%) !important;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-soft:hover {
    background: linear-gradient(80deg, #24b7fa 20, #051e2a  100%) !important;
    transform: translateY(-3px);
}


.demo-nav li a {
    transform: translateX(0px);
    transform: scale(1);
    transition: all 0.2s ease;
    border-radius: 15px;
}

.demo-nav li a:hover {
    transform: translateX(-5px);
    transform: scale(1.02);
    color: #222!important;
    background: rgba(255, 255, 255, 0.8);
}

.text-hover {
    transform: translateX(0px);
    transform: scale(1);
    transition: all 0.2s ease;
}

.text-hover:hover {
    transform: translateX(-5px);
    transform: scale(1.02);
}
.text-hover.animate {
    animation: BounceText 0.7s ease;
    transform: translateX(0px);
    transform: scale(1);
}

@keyframes BounceText {
    0% {
        transform: translateX(0px);
        transform: scale(1);
    }
    50% {
        transform: translateX(-5px);
        transform: scale(1.02);
    }
    100% {
        transform: translateX(0px);
        transform: scale(1);
    }
}


.card-hover {
    transform: translateX(0px);
    transform: scale(1);
    transition: all 0.2s ease;
    border-radius: 8px;
}

.card-hover:hover {
    transform: translateX(-3px);
    transform: scale(1.02);
    background: #fff!important;
    box-shadow: 4px 3px 13px 0px rgba(0, 0, 0, .3)!important;
    border: solid 1px #ff6200!important;
    border-radius: 8px;
}
.card-hover.animate {
    animation: BounceCard 0.7s ease;
}

@keyframes BounceCard {
    0% {
        transform: translateX(0px);
        transform: scale(1);
        box-shadow: none;
        border: none;
    }
    50% {
        transform: translateX(-3px);
        transform: scale(1.02);
        background: #fff;
        box-shadow: 4px 3px 13px 0px rgba(0, 0, 0, .3);
        border: solid 1px #ff6200;
        border-radius: 8px;
    }
    100% {
        transform: translateX(0px);
        transform: scale(1);
        box-shadow: none;
        border: none;
    }
}

.floating-elements {
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 3px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-element.element-1 {
    top: 20%;
    right: -10%;
}

.floating-element.element-2 {
    bottom: 30%;
    left: -5%;
    animation-delay: 2s;
}

.floating-element.element-3 {
    top: 75%;
    right: 2%;
    animation-delay: 4s;
}

@media (max-width: 600px) {
    .floating-element.element-1 {
        top: 10%;
        right: 1%;
    }

    .floating-element.element-2 {
        bottom: 20%;
        left: -2%;
        animation-delay: 2s;
    }

    .floating-element.element-3 {
        top: 70%;
        right: -2%;
        animation-delay: 4s;
    }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.badge {
    padding: 10px 15px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 600;
}

.badge-primary {
    background: #FF8C00;
    color: white;
}

.badge-secondary {
    background: #FFD93D;
    color: #2C3E50;
}

.badge-dark {
    background: #2C3E50;
    color: white;
}

/* Stats Section */


.stat-item {
    padding: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
    animation: statBounce 0.5s ease;
}

@keyframes statBounce {
    0% { transform: translateY(30px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.stat-item:hover {
    transform: scale(1.1);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}


.shape {
    animation: morph 8s ease-in-out infinite;
    border: 5px solid #fff;
    box-shadow: 0 4px  4px  rgba(0, 0, 0, .1),
    0 1px  6px  rgba(0, 0, 0, .05),
    0 8px  8px  rgba(0, 0, 0, .1),
    0 16px 16px rgba(0, 0, 0, .1),
    8px 32px 32px rgba(0, 0, 0, .15),
    8px 64px 64px rgba(0, 0, 0, .15);
    border-radius: 30% 70% 60% 40% / 50% 51% 49% 50%;
    transition: all 1s ease-in-out;
    z-index: 5;
}

@keyframes morph {
    0% {
        border-radius:  30% 70% 60% 40% / 50% 51% 49% 50%;
    }

    25% {
        border-radius:  44% 56% 55% 45% / 62% 57% 43% 38%;
        box-shadow: 0 2.5rem 2rem -2rem hsl(200 50% 20% / 40%);
    }
    75% {
        border-radius:  41% 59% 34% 66% / 50% 40% 60% 50%;
        box-shadow: 0 2.5rem 2rem -2rem hsl(400 50% 20% / 40%);
    }
    100% {
        border-radius:  30% 70% 60% 40% / 50% 51% 49% 50%;
    }
}


.s1{
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.s1w{
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
.s2{
    text-shadow:
            3px 3px 0 #000,
            -1px -1px 0 #000,
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000;
}
.s2w{
    text-shadow:
            3px 3px 0 #fff,
            -1px -1px 0 #fff,
            1px -1px 0 #fff,
            -1px 1px 0 #fff,
            1px 1px 0 #fff;
}

#parallax {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url(https://www.Tadris.TN/themes/img/bg/4.png), url(https://www.Tadris.TN/themes/img/bg/3.png),  url(https://www.Tadris.TN/themes/img/bg/2.png), url(https://www.Tadris.TN/themes/img/bg/1.png), url(https://www.Tadris.TN/themes/img/bg/0.png);
    background-repeat: no-repeat;
    background-position: center;
    background-position: 50% 50%;
}
@media only screen and (max-width: 600px) {
    #parallax {
        width: 100%;
        height: 40vh;
        background-size: contain;
    }
}

.review-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 15px;
    height: 80%;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
    border-radius: 8px;
    align-items: flex-start;
    align-content: center;
    flex-wrap: nowrap;
    border: solid 1px transparent;
}

.review-card:hover {
    background: #fff!important;
    box-shadow: 2px 1px 5px 0px rgba(0, 0, 0, .3)!important;
    border: solid 1px #ff6200!important;
}
.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.review-info {
    display: flex;
    flex-direction: column;
}
.review-name-source {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #555;
}
.review-name {
    font-weight: bold;
    font-size: 1rem;
    color: #222;
}
.review-text {
    position: relative;
    padding: 10px 20px;
    line-height: 1.5;
    background: rgb(0 0 0 / 7%);
    border-radius: 8px;
    height: 80px;
    overflow: auto;
    display: flex;
    align-items: center;   /* aligne verticalement */
    justify-content: center;
}
.review-text p {
    color: #222;
    font-size: 1rem;
    text-align: center;
    margin: 0px;
}
.review-card::before {
    content: "“";
    font-size: 2.5rem;
    color: orange;
    position: absolute;
    left: 35px;
    top: 63px;
}
.review-card::after {
    content: "”";
    font-size: 2.5rem;
    color: orange;
    position: absolute;
    right: 20px;
    bottom: -17px;
}
.review-title {
    color: orange;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.uk-slider-container-gradient {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    padding: 5px 30px;
}



.o-silver .pricing-header {
    background-color: #f3cd01;
}
.o-silver .price-circle {
    border: 5px solid #f3cd01;
    transition: all 0.4s;
}
.o-silver:hover .price-circle {
    border-width: 3px;
}
.o-silver .buy-now:hover {
    background-image: none !important;
    background-color: #f3cd01 !important;
    box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.4);
}

.o-golden .pricing-header {
    background-color: #e87d18;
}
.o-golden .price-circle {
    border: 5px solid #e87d18;
    transition: all 0.4s;
}
.o-golden:hover .price-circle {
    border-width: 3px;
}
.o-golden .buy-now:hover {
    background-image: none !important;
    background-color: #e87d18 !important;
    box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.4);
}

.o-platinum .pricing-header {
    background-color: #f63b52;
}
.o-platinum .price-circle {
    border: 5px solid #f63b52;
    transition: all 0.4s;
}
.o-platinum hover .price-circle {
    border-width: 3px;
}
.o-platinum .buy-now:hover {
    background-image: none !important;
    background-color: #f63b52 !important;
    box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.4);
}

.o-max .pricing-header {
    background-color: #00d3ff;
}
.o-max .price-circle {
    border: 5px solid #00d3ff;
    transition: all 0.4s;
}
.o-max:hover .price-circle {
    border-width: 3px;
}
.o-max .buy-now:hover {
    background-image: none !important;
    background-color: #00d3ff !important;
    box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.4);
}

.o-doc .pricing-header {
    background: linear-gradient(0deg, #00d3ff 0, #0db21a 100%)
}
.o-doc .price-circle {
    border: 5px solid #0db21a;
    transition: all 0.4s;
}
.o-doc:hover .price-circle {
    border-width: 3px;
}
.o-doc .buy-now:hover {
    background-image: none !important;
    background-color: #0db21a !important;
    box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.4);
}

.o-rec .pricing-header {
    background: linear-gradient(0deg, #d90c5d 0, #e87d18 100%)
}
.o-rec .price-circle {
    border: 5px solid #d90c5d;
    transition: all 0.4s;
}
.o-rec:hover .price-circle {
    border-width: 3px;
}
.o-rec .buy-now:hover {
    background-image: none !important;
    background-color: #d90c5d !important;
    box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.4);
}

.o-duo .pricing-header {
    background: linear-gradient(60deg, #00d3ff 0, #f39609 50%, #d90c5d 100%);
}
.o-duo .price-circle {
    border: 5px solid #ff5722;
    transition: all 0.4s;
}
.o-duo:hover .price-circle {
    border-width: 3px;
}
.o-duo .buy-now:hover {
    background-image: none !important;
    background-color: #ff5722 !important;
    box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.4);
}


.pricing-card {
    -webkit-transition: 0.4s background-color ease;
    -ms-transition: 0.4s background-color ease;
    transition: 0.4s background-color ease;
    background-color: white;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    overflow: hidden;
}
.pricing-card:hover {
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.4);
    border: 1px solid #888;
}
.pricing-card .popular {
    position: absolute;
    top: 0;
    right: 4%;
    width: auto;
    padding: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color: #0f0f0f;
    color: white;
    font-size: 12px;
    z-index: 1;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}
.pricing-card .badge-box {
    padding: 0 10px;
    margin-top: 80px;
}
.pricing-card .badge-box span {
    display: inline-block;
    border: 2px solid #05264e;
    padding: 4px 12px;
    font-weight: 500px;
    border-radius: 25px;
    overflow: hidden;
    color: #05264e;
}
.pricing-card .pricing-header {
    width: 100%;
    height: 120px;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    -webkit-border-radius: 8px 8px 0 0;
    -moz-border-radius: 8px 8px 0 0;
}

.pricing-card .pricing-header .plan-title{
    font-size: 24px;
    color: white;
    position: relative;
    top: 15%;
    margin: 0px 8px;
}



.pricing-card .pricing-header .price-circle {
    width: calc(33.3% - 30px);
    width: 120px;
    height: 120px;
    border-radius: 100%;
    left: calc(50% - 60px);
    top: 45%;
    background-color: white;
    position: absolute;
}
.pricing-card .pricing-header .price-circle .info {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: gray;
}
.pricing-card .pricing-header .price-circle .price-title {
    display: block;
    font-size: 28px;
    padding: 28px 0 0;
    font-weight: bold;
}
.pricing-card .pricing-header .price-circle .price-title small {
    font-size: 18px;
}
.pricing-card .pricing-header h2 {
    position: relative;
    top: 40%;
    color: #fff;
}



.pricing-card .pricing-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.pricing-card:hover .pricing-header::before {
    left: 100%;
}
.animate.pricing-card .pricing-header::before {
    animation: BounceEffect 0.7s ease;
}

.pricing-card ul {
    margin: 15px 0px;
    padding: 0;
    text-align: right;
    font-size: 14px;
    padding-right: 20px;
}
.pricing-card ul li {
    list-style-type: none;
    display: block;
    padding: 6px 0 6px 0;
    margin: 0;
    border-bottom: 1px solid #f2f2f2;
    text-indent: -20px;
    padding: 5px;
}
.pricing-card .buy-button-box {
}
.pricing-card .buy-button-box .buy-now {
    text-decoration: none;
    color: white;
    padding: 5px 15px;
    border: 1px solid #888;
    border-radius: 8px;
    margin: 0px 15px 15px;
}
.uk-subnav a{
    padding: 7px 10px;
    color : #222!important;
    font-size: 18px!important;
    background: #ddd;
    border-radius: 8px!important;
    border:1px solid #888!important;
}
.uk-subnav a:hover{
    background: linear-gradient(80deg, #ff950088 0, #ff620088 100%) !important;
    color : #000!important;
}

.uk-subnav .uk-active a{
    background: linear-gradient(80deg, #ff9500 0, #ff6200 100%) !important;
    color : #eee!important;
}
.uk-subnav .uk-active a:hover{
    background: linear-gradient(40deg, #ff9500 10%, #ff6200 100%) !important;
    color : #fff!important;
}



@keyframes gradientShift {
    0% {
        border: 2px solid #f97316;
    }
    50% {
        border: 2px solid #703804;
    }
    100% {
        border: 2px solid #f97316;
    }
}

.input-hover {
    transition: all 0.3s ease, color 0.3s ease;
    color: #222;
}
.input-hover input,.input-hover select {
    border: 1px solid rgba(93, 93, 93, 0.92);
    outline: none;
    color: #222;
    transition: all 0.3s ease, color 0.3s ease;
}

.input-hover input:not(:placeholder-shown) {
    border-color: #e87d18;
    background: #ffeca1;
}

.input-hover select:has(option:checked:not(:first-child)) {
    border-color: #e87d18;
    background: #ffeca1;
}

/* Animation dégradé sur hover */
.input-hover:hover {
    transform: scale(1.01);
    color: #000;
}
.input-hover:hover input,.input-hover:hover select{
    border: 2px solid #f97316;
    color: #000;
    background: linear-gradient(270deg, rgba(251, 146, 60, 0.25), rgba(249, 115, 22, 0.2), rgba(251, 146, 60, 0.16));
    animation: gradientShift 1s ease infinite;
}
/* Même animation au focus */


.input-hover:has(input:focus),.input-hover:has(select:focus){
    transform: scale(1.03);
    font-size: 20px;
    color: #000;
}