:root {
    --primary-color: #162642;
    --primary-secondary: #131D33;
    --light-blue: #1B2D4D;
    --main-blue: #1B2D4D;
    --white-100: #EDEDED;
    --primary-gold: #B08A52;
}

@layer utilities {
    .bg-primary-gold-gradient {
        background: linear-gradient(0deg, #B08A52 -2.49%, #D4A865 50%, #F4D895 102.49%);
    }

    .bg-gold-gradient {
        background: linear-gradient(0deg,
                rgba(176, 138, 82, 0.15) -2.49%,
                rgba(212, 168, 101, 0.15) 50%,
                rgba(244, 216, 149, 0.15) 102.49%);
    }

    .bg-gold-gradient-100 {
        background: linear-gradient(0deg, rgba(176, 138, 82, 0.25) 0%, rgba(176, 138, 82, 0.25) 100%);
    }

    .bg-modal-gradient {
        background: linear-gradient(0deg, rgba(22, 38, 66, 0.50) 0%, rgba(22, 38, 66, 0.50) 100%), rgba(255, 255, 255, 0.15);
    }

    .bg-lightblue-gradient {
        background: linear-gradient(0deg, rgba(176, 138, 82, 0.08) -2.49%, rgba(212, 168, 101, 0.08) 50%, rgba(244, 216, 149, 0.08) 102.49%);
    }

    .bg-lightblue-gradient-100 {
        background: linear-gradient(0deg, rgba(22, 38, 66, 0.50) 0%, rgba(22, 38, 66, 0.50) 100%), rgba(255, 255, 255, 0.15);
    }

    .bg-lightblue-gradient-200 {
        background: linear-gradient(180deg, rgba(22, 38, 66, 0.10) 0%, rgba(19, 29, 51, 0.95) 80%);
    }

    .bg-green-gradient {
        background: linear-gradient(180deg, #008B5D 0%, #005E3F 100%);
    }

    .text-gold-gradient {
        background: linear-gradient(0deg, #B08A52 -2.49%, #D4A865 50%, #F4D895 102.49%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}
body {
    font-family: "Open Sans", sans-serif;
}
/* Default slide */
.testimonial-slider .slide {
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.4;
    transform: scale(1);
}

/* Center (active) slide */
.testimonial-slider .slick-center {
    /* transform: scale(1.4) translateY(-10px); */
    opacity: 1;
    z-index: 2;
}

/* Slick padding */
/* .testimonial-slider .slick-list {
    padding: 30px 0 !important;
} */


.prev-btn {
    position: absolute;
    left: -43%;
    top: 30%;
    cursor: pointer;
}

.next-btn {
    position: absolute;
    right: -43%;
    top: 30%;
    cursor: pointer;
}

.categories-slider .slick-slide {
    padding: 0 12px;
}

.slick-initialized {
    visibility: visible !important;
}

.categories-slider {
    visibility: hidden;
}

.mobile-menu {
    @apply hidden flex-col gap-6 py-6 opacity-0 invisible transform -translate-y-4 transition-all duration-500;
}

.mobile-menu.active {
    @apply opacity-100 visible translate-y-0 block;
}

.tab-btn {
    @apply bg-[#131D33] text-[#B1C2D9] transition-all duration-300;
}

.tab-btn.active {
    background: linear-gradient(0deg, #B08A52 -2.49%, #D4A865 50%, #F4D895 102.49%);
    color: var(--primary-color);
}

.location-map-arrows:after {
    content: "";
    position: absolute;
    left: 0;
    top: -5px;
    right: 0;
    background-image: url(../images/legal-security/tabs-arrow.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 60%;
    height: 120px;
    margin: 0 auto;
}

/* Loan Calculator Modal Styles */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.40);
    backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-container.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-container.active .modal-content {
    transform: translateY(0);
}

.bg-earning-after {
    background-image: url(../images/leader/earning-after.png);
}

.slick-preload {
    visibility: hidden;
    height: 0;
}

.slick-initialized {
    visibility: visible;
    height: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        transform: rotate(360deg);
    }
}

@keyframes overlayBounce {
    0% {
        opacity: 0;
        /* transform: scale(0.8) translateX(-20px); */
    }

    60% {
        opacity: 1;
        /* transform: scale(1.05) translateX(5px); */
    }

    100% {
        opacity: 1;
        /* transform: scale(1) translateX(0); */
    }
}

@keyframes zoomPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(176, 138, 82, 0.45);
    }

    50% {
        transform: scale(1.06);
        box-shadow: 0 10px 26px rgba(176, 138, 82, 0.60);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(176, 138, 82, 0.45);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

.spin {
    animation: spin 1s linear infinite;
}

.gold-gradient-text {
    background: linear-gradient(135deg, #E5C76B 0%, #C9A962 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom gold gradient for buttons */
.gold-gradient-bg {
    background: linear-gradient(135deg, #E5C76B 0%, #C9A962 40%, #B8954F 100%);
}

/* Dark blue gradient for card */
.dark-gradient-bg {
    background: linear-gradient(145deg, #1E3A5F 0%, #152238 50%, #0D1829 100%);
}

/* Custom styles for calculator inputs */
.calculator-select option {
    background-color: #152238;
    color: #FFFFFF;
    padding: 12px;
}

.calculator-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

#how-it-works,
#services {
    scroll-margin-top: 60px;
    /* header height */
}

.doc-active {
    color: var(--primary-gold);
}

.doc-active svg {
    transform: rotate(180deg);
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: #ffffff; /* text color */
    -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.05) inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Firefox */
input:-moz-autofill {
    box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.05) inset;
    -moz-text-fill-color: #ffffff;
}
.fundloan-slider .slick-slide {
    margin: 0 12px; /* adjust space here */
}

.fundloan-slider .slick-list {
    margin: 0 -12px; /* same value as above */
}
.slick-prev:before {
    content: unset !important;
}
.slick-next:before {
    content: unset !important;
}
.custom-arrow.slick-disabled {
    opacity: 0;
    pointer-events: none;
}


.custom-scroll::-webkit-scrollbar {
  width: 8px;
}
.custom-scroll::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px transparent; 
  border-radius: 10px;
}
.custom-scroll::-webkit-scrollbar-thumb {
  background: #B08A52; 
  border-radius: 10px;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: transparent; 
}

@media (max-width:1280px) {
    .prev-btn {
        left: -20%;
    }

    .next-btn {
        right: -20%;
    }
}

@media (max-width:1199px) {
    .prev-btn {
        left: -20%;
    }

    .next-btn {
        right: -20%;
    }
}

@media (max-width:1024px) {
    .prev-btn {
        display: none !important;
        left: -15%;
    }

    .next-btn {
        display: none !important;
        right: -15%;
    }

    .testimonial-slider .slick-active+.slick-active {
        transform: scale(1.4);
        opacity: 1;
    }

    /* .testimonial-slider .slick-list.draggable {
        padding: 30px 0 !important;
    } */

    .testimonial-slider .slick-active+.slick-active+.slick-active {
        transform: unset;
        opacity: 0.4;
    }
    .slick-prev {
        left: -14px !important;
        z-index: 1;
    }
    .slick-next {
        right: 7px !important;
    }
}

@media (max-width:767px) {
    .location-map-arrows:after {
        content: unset;
    }
}

@media (max-width:600px) {
    .testimonial-slider .slick-active {
        transform: scale(1.1);
        opacity: 1;
    }
}

@media (max-width:480px) {
    .categories-slider .slick-slide {
        padding: 0;
    }
}