/*

Base font size

*/

:root {
    font-size: 18px;
}

/*

Variables

*/

* {
    --bs-card-title-color: #10520e;
    --bs-heading-color: #10520e;
}

/*

Styles

*/

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

ul li {
    margin-bottom: 2rem;
}
ul li:last-child {
    margin-bottom: 0;
}

p {
    font-weight: 400;
    font-family: 'Lato', sans-serif !important;
}

i {
  text-decoration-style: initial;
}

img {
    max-width: 100%;
    height: auto;
}

.text-wrap > *:last-child{
    margin-bottom: 0;
}

.container {
    max-width: 992px;
}

.hero {
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.jarallax-hero {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: -1;
}
.jarallax-hero .jarallax {
    height: 100%;
}

.hero:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #2b61a1 50%, rgba(12, 23, 31, 0.0001) 100%);
    z-index: -1;
}

.bg-light {
    background-color:  rgb(43 97 161 / 5%) !important;
}

.opacity-15 {
    opacity: .15!important;
}
.opacity-9 {
    opacity: .9!important;
}

footer {
    background-color: var(--bs-card-title-color);
}

.img-side {
    height: 110px;
    margin: auto;
    display: block;
    object-fit: contain;
    object-position: left;
    width: 100%;
    min-width: 100px;
}
.img-bonus {
    height: 220px;
    width: auto;
    margin: auto;
    display: block;
    object-fit: contain;
}

@media screen and (max-width: 992px) {
    .img-side {
        max-width: 170px;
        margin: initial;
    }
}

@media screen and (max-width: 767px) {
    .img-bonus {
        height: initial;
    }
}

.w-sm-75 {
    width: 75%;
}
.w-sm-25 {
    width: 25%;
}

@media screen and (max-width: 576px) {
    .w-sm-75, .w-sm-25 {
        width: 100% !important;
    }
}

/* animation */

.bg-warning {
    background-color: transparent !important;
    position: relative;
    z-index: 1;
    transition: ease-in .2s;
}

.bg-warning-animated {
    background-color: rgb(253,243,154) !important;
}

.jarallax {
    position: relative;
    z-index: 0;
}
.jarallax > .jarallax-img {
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.hi {   
    padding: 0 0.2em;
    line-height: 1;
    margin: 0 -0.1em;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: url(../img/hi1.png);
}
.hi-2 {   
    padding: 2 0.2em;
    line-height: 1;
    margin: 2 -0.1em;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: url(../img/hi1.png);
}
.special-headline {   
    font-family: 'Fira Sans Condensed', sans-serif !important;
}
h2.special-headline {
    font-family: 'Fira Sans Condensed', sans-serif !important;
}

.fancybox__backdrop {
    opacity: .5 !important;
}
.fancybox__content {
    background: transparent !important;
    max-width: 992px !important;
}

.card-male {
    background-color: #3484d9;
    background-image: linear-gradient(to bottom, #3484d9, #2c33b8);
}
.card-female {
    background-color: #9734d9;
    background-image: linear-gradient(to bottom, #9734d9, #742bb8);
}
.btn-cursor {
    position: relative;
    &:after {
        position: absolute;
        content: '';
        width: 2.25rem;
        height: 2.25rem;
        bottom: -1.5rem;
        right: 3rem;
        background-image: url(../img/cursor.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 1;
    }
}
@media screen and (max-width: 767px) {
    .btn-cursor {
        &:after {
            background-image: url(../img/cursor_hand.png);
        }
    }
}
.f-button.is-close-btn {
    background-color: rgba(0,0,0, .75) !important;
    border-radius: 50%;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Darken Fancybox backdrop */
.fancybox__backdrop {
    background-color: rgba(0, 0, 0, 0.92) !important;
    opacity: 1 !important;
}

/* Ensure close button always visible */
.fancybox__toolbar {
    opacity: 1 !important;
}

/* Testimonials - Show More/Less functionality */
.testimonial-hidden {
    display: none !important;
}

.testimonial-visible {
    display: block !important;
}

.show-more-link {
    display: inline-block;
    background: #10520e;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 8px;
    cursor: pointer;
}

.show-more-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 82, 14, 0.4);
    background: linear-gradient(135deg, #0d4009 0%, #228a1e 100%);
}

/* Make testimonial cards in the same row have equal height */
[data-group="1"] .bg-white,
[data-group="2"] .bg-white {
    height: 100%;
}

/* Testimonial reveal animation */
.testimonial-visible {
    display: block !important;
}

.slide-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonial Image Lift Effect */
[data-fancybox] img {
    transition: all 0.3s ease;
}

[data-fancybox]:hover img {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Fancybox Lightbox Styles for Testimonials */
.fancybox__slide img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

/* Fancybox caption styling */
.fancybox__caption {
    margin: 0px 2% !important;
    padding: 15px !important;
    max-height: 260px !important;
    overflow-y: auto !important;
    max-width: fit-content !important;
}

@media screen and (min-width:900px) {
    .fancybox__caption {
        max-width:900px !important;
    }
    
}



.text-green{
    color: #10520e !important;
}


/* Mobile tap indicator for testimonial images */
@media screen and (max-width: 767px) {
    [data-fancybox] {
        position: relative;
        display: inline-block;
    }
    
    [data-fancybox] img {
        cursor: pointer;
    }
}

@keyframes tap-icon-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Mobile caption styling - shown below image on mobile only */
.fancybox-mobile-caption {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    max-width: 90vw;
    max-height: 250px;
    overflow-y: auto;
    color: #222;
}

.fancybox-mobile-caption p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
    font-family: 'Lato', sans-serif;
}

/*  pulse css animation  */

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Adjust Fancybox footer based on viewport height on mobile */
@media screen and (max-width: 767px) and (min-height: 600px) {
    .is-compact .fancybox__footer {
        bottom: 1rem!important;
    }
    .fancybox__caption {
        max-height: 240px!important;
    }   
}

@media screen and (max-width: 767px) and (min-height: 720px) {
    .is-compact .fancybox__footer {
        bottom: 2rem!important;
    }
    .fancybox__caption {
        max-height: 260px !important;
    }   
}

@media screen and (max-width: 767px) and (min-height: 800px) {
    .is-compact .fancybox__footer {
        bottom: 3rem!important;
    }
    .fancybox__caption {
        max-height: 320px !important;
    }   
}


