@font-face {
    font-family: "Etna-Etna";
    src: url("../fonts/etna-free-font.otf") format("opentype");
}

body {
    font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
}

.font-unbounded {
    font-family: "Unbounded", sans-serif;
}

.font-etna {
    font-family: "Etna-Etna", sans-serif;
}

.font-montserrat {
    font-family: "Montserrat", sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #bff102;
    border-radius: 5px;
}

/* Animations */
@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Partner logos carousel */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll 20s linear infinite;
}

.menu-items a:hover {
    color: #72bf01;
}

.menu-items a.active {
    color: #72bf01;
}

#mobile-nav a:hover p {
    text-decoration: underline;
    color: #72bf01;
}

#mobile-nav a.active p {
    text-decoration: underline;
    color: #72bf01;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(85deg, #94f102 0%, rgb(243 243 243 / 40%) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#main-background {
    opacity: 1;
    animation: FadeIn 2.5s ease-in-out;
}

#main-content {
    opacity: 1;
    animation: FadeIn 1.5s ease-in-out;
}

@keyframes FadeIn {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.ultra-line {
    position: absolute;
    top: 50px;
    left: 50%;
    width: 3px;
    height: 2600px;
    transform: rotate(0deg);
    background: linear-gradient(
        0deg,
        rgba(235, 245, 229, 0) 0%,
        rgba(235, 245, 229, 1) 100%
    );
}

@media (max-width: 1024px) {
    .ultra-line {
        height: 3000px;
    }
}

.ultra-logo-title {
    display: none;
}

@media (min-width: 1124px) {
    .ultra-logo-title {
        display: block;
    }
}

.ultra-line-dot {
    display: inline-block;
}

.ultra-benefit-title {
    display: inline-block;
    padding-left: 4rem;
}

@media (max-width: 687px) {
    .ultra-line-dot {
        display: none;
    }

    .ultra-benefit-title {
        padding-left: 0rem;
    }
}

.make-deal-btn:hover svg path {
    fill: white;
}

#partners {
    background-color: #f5f5f5;
    padding-top: 40px;
    padding-bottom: 40px;
}

#partners img {
    width: 50%;
}

.partners-logo-row {
    padding: 25px 70px 0;
    background-image: url("../images/new/partners/partners-logo-frame.png");
    background-size: 100%;
}

@media (max-width: 512px) {
    .partners-logo-row {
        padding: 25px 25px 0;
    }
}

#contact-info a:hover svg path {
    fill: #bff102;
}

.square {
    height: 0;
}

.scan {
    width: 100%;
    height: 60px;
    background: linear-gradient(#b7c77c, transparent);
    animation: scanning 1.5s linear alternate infinite;
}

@keyframes scanning {
    0% {
        transform: translatey(0px);
    }

    100% {
        transform: translatey(300px);
    }
}

#mobile-nav {
    position: fixed;
    bottom: -60px;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

a .font-etna span {
    vertical-align: text-bottom;
}

@media (max-width: 768px) {
    #mobile-nav {
        display: block;
    }

    header nav {
        display: none !important;
    }

    header {
        position: relative !important;
    }

    footer {
        margin-bottom: 70px;
    }

    #hero {
        padding-top: 10px !important;
    }

    #mobile-header {
        display: block;
    }

    a .font-etna span {
        vertical-align: text-top;
    }
}

header {
    position: fixed;
    z-index: 1;
}

#hero {
    padding-top: 150px;
}

#about-us {
    padding-top: 11rem;
}

@media (max-width: 768px) {
    #about-us {
        padding-top: 1rem;
    }
}

.owl-theme .owl-controls .owl-page span {
    background: #ffffff;
}

#pricing {
    padding-top: 11rem;
}

@media (max-width: 768px) {
    #pricing {
        padding-top: 1rem;
    }
}

/* Pricing card styling */
.pricing-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.standard-price.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px #9dbf1c;
}

.advanced-price.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px #72bf01;
}

.custom-price.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px #3b793a;
}

.images-box {
    position: relative;
    min-height: 300vh;
    padding-bottom: 100px;
}

.our-product-title {
    position: sticky;
    top: 100px;
}

.images-box img {
    position: sticky;
    width: 100%;
    max-width: 800px;
    height: 500px;
    object-fit: cover;
    border: 2px solid #72bf01;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.images-box a:nth-child(1) img {
    z-index: 1;
    top: 100px;
}

.images-box a:nth-child(2) img {
    z-index: 2;
    top: 130px;
}

.images-box a:nth-child(3) img {
    z-index: 3;
    top: 160px;
}

.images-box a:nth-child(4) img {
    z-index: 4;
    top: 190px;
}

.images-box a:nth-child(5) img {
    z-index: 5;
    top: 220px;
}

.images-box a:nth-child(6) img {
    z-index: 6;
    top: 250px;
}

.images-box a:nth-child(7) img {
    z-index: 7;
    top: 280px;
}

.images-box a:nth-child(8) img {
    z-index: 8;
    top: 310px;
}

/* Responsive design */
@media (max-width: 768px) {
    .images-box img {
        height: 350px;
        max-width: 90%;
    }
}

@media (max-width: 1023px) {
    .images-box img {
        height: 350px;
        max-width: 90%;
    }

    .our-product-title {
        position: relative;
        top: 0px;
    }
}

.standard-price:hover h3 {
    background-color: #9dbf1c;
    border-radius: 10px;
    transition: background-color 500ms linear;
}

.advanced-price:hover h3 {
    background-color: #72bf01;
    border-radius: 10px;
    transition: background-color 500ms linear;
}

.custom-price:hover h3 {
    background-color: #3b793a;
    border-radius: 10px;
    transition: background-color 500ms linear;
}

.pswp__icn {
    fill: #72bf01 !important;
    color: var(--pswp-icon-color-secondary);
}

#rules {
    padding-top: 11rem;
}

@media (max-width: 768px) {
    #rules {
        padding-top: 1rem;
    }
}

#news {
    padding-top: 11rem;
}

@media (max-width: 768px) {
    #news {
        padding-top: 1rem;
    }
}

/* News card hover effect */
.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(191, 241, 2, 0.2);
}

.news-card:hover img {
    opacity: 0.25;
}

.news-card:hover .news-title {
    color: rgb(191 241 2 / var(--tw-text-opacity, 1));
}

.brief-content {
    opacity: 0;
}

.learn-more {
    text-transform: uppercase;
    opacity: 0;
}

.news-card:hover .brief-content {
    opacity: 1;
    animation: FadeIn 1s ease-in-out;
}

.news-card:hover .learn-more {
    opacity: 1;
    color: rgb(191 241 2 / var(--tw-text-opacity, 1));
    animation: FadeIn 1s ease-in-out;
}

/* Pagination button hover effect */
.pagination-btn {
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    color: #bff102;
    transform: scale(1.1);
}

.pagination-btn.active {
    border: 4px solid #bff102;
    color: #bff102;
}

.content-modal {
    border: 1px solid #e5fd87;
    animation: FadeIn 1s ease-in-out;
}

.dialog-backdrop {
    opacity: 1;
    animation: FadeIn 0.8s ease-in-out;
}

#post-content {
    color: white;
}

.news-loader {
    display: block;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    position: relative;
    animation: rotate 1s linear infinite;
}

.news-loader::before,
.news-loader::after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 5px solid #bff102;
    animation: prixClipFix 2s linear infinite;
}

.news-loader::after {
    border-color: #fff;
    animation: prixClipFix 2s linear infinite,
        rotate 0.5s linear infinite reverse;
    inset: 6px;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes prixClipFix {
    0% {
        clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
    }

    25% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
    }

    50% {
        clip-path: polygon(
            50% 50%,
            0 0,
            100% 0,
            100% 100%,
            100% 100%,
            100% 100%
        );
    }

    75% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
    }

    100% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
    }
}

.news-image {
    display: inline-block;
}

#post-content {
    text-align: left;
}

.supporter {
    cursor: pointer;
    position: fixed;
    bottom: 60px;
    right: 10px;
    -webkit-animation: Shake-effect 2s infinite;
    -webkit-animation-iteration-count: infinite;
}

@-webkit-keyframes Shake-effect {
    0% {
    }
    10% {
        -webkit-transform: rotate(5deg);
        -moz-transform: rotate(5deg);
        -o-transform: rotate(5deg);
    }
    20% {
        -webkit-transform: rotate(-5deg);
        -moz-transform: rotate(-5deg);
        -o-transform: rotate(-5deg);
    }
    30% {
        -webkit-transform: rotate(5deg);
        -moz-transform: rotate(5deg);
        -o-transform: rotate(5deg);
    }
    40% {
        -webkit-transform: rotate(-5deg);
        -moz-transform: rotate(-5deg);
        -o-transform: rotate(-5deg);
    }
    50% {
        -webkit-transform: rotate(5deg);
        -moz-transform: rotate(5deg);
        -o-transform: rotate(5deg);
    }
    60% {
        -webkit-transform: rotate(-5deg);
        -moz-transform: rotate(-5deg);
        -o-transform: rotate(-5deg);
    }
    70% {
        -webkit-transform: rotate(5deg);
        -moz-transform: rotate(5deg);
        -o-transform: rotate(5deg);
    }
    80% {
        -webkit-transform: rotate(-5deg);
        -moz-transform: rotate(-5deg);
        -o-transform: rotate(-5deg);
    }
    90% {
        -webkit-transform: rotate(5deg);
        -moz-transform: rotate(5deg);
        -o-transform: rotate(5deg);
    }
    100% {
        -webkit-transform: rotate(-5deg);
        -moz-transform: rotate(-5deg);
        -o-transform: rotate(-5deg);
    }
}

.supporter p {
    position: relative;
    z-index: -1;
}

.supporter-effect {
    position: relative;
    bottom: 70px;
    left: 25px;
    background: #bff102;
    width: 20px;
    height: 20px;
    padding: 20px;
    border-radius: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-animation: supporter-effect 0.6s linear infinite;
    animation: supporter-effect 0.6s linear infinite;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
}
@-webkit-keyframes supporter-effect {
    0% {
        -webkit-box-shadow: 0 12px 30px rgba(59, 236, 88, 0.2),
            0 0 0 0 rgba(19, 58, 9, 0.2), 0 0 0 10px rgba(15, 46, 14, 0.2),
            0 0 0 20px rgba(59, 236, 88, 0.2);
        box-shadow: 0 12px 30px rgba(59, 236, 88, 0.2),
            0 0 0 0 rgba(59, 236, 88, 0.2), 0 0 0 10px rgba(59, 236, 88, 0.2),
            0 0 0 20px rgba(59, 236, 88, 0.2);
    }
    100% {
        -webkit-box-shadow: 0 12px 30px rgba(59, 236, 88, 0.2),
            0 0 0 10px rgba(59, 236, 88, 0.2), 0 0 0 20px rgba(59, 236, 88, 0.2),
            0 0 0 20px rgba(236, 139, 0, 0);
        box-shadow: 0 12px 30px rgba(59, 236, 88, 0.2),
            0 0 0 10px rgba(59, 236, 88, 0.2), 0 0 0 20px rgba(59, 236, 88, 0.2),
            0 0 0 20px rgba(236, 139, 0, 0);
    }
}

@keyframes supporter-effect {
    0% {
        -webkit-box-shadow: 0 12px 30px rgba(59, 236, 88, 0.2),
            0 0 0 0 rgba(59, 236, 88, 0.2), 0 0 0 10px rgba(59, 236, 88, 0.2),
            0 0 0 20px rgba(59, 236, 88, 0.2);
        box-shadow: 0 12px 30px rgba(59, 236, 88, 0.2),
            0 0 0 0 rgba(59, 236, 88, 0.2), 0 0 0 10px rgba(59, 236, 88, 0.2),
            0 0 0 20px rgba(59, 236, 88, 0.2);
    }
    100% {
        -webkit-box-shadow: 0 12px 30px rgba(59, 236, 88, 0.2),
            0 0 0 10px rgba(59, 236, 88, 0.2), 0 0 0 20px rgba(59, 236, 88, 0.2),
            0 0 0 20px rgba(236, 139, 0, 0);
        box-shadow: 0 12px 30px rgba(59, 236, 88, 0.2),
            0 0 0 10px rgba(59, 236, 88, 0.2), 0 0 0 20px rgba(59, 236, 88, 0.2),
            0 0 0 20px rgba(236, 139, 0, 0);
    }
}
