/* Common styles Starts */
.w-full {
    width: 100%;
}
.h-full {
    height: 100%;
}
.bg-white {
    background-color: white;
}
.flex {
    display: flex;
}
.flex-col {
    flex-direction: column;
}
.flex-row {
    flex-direction: row;
}
.grid {
    display: grid;
}
.grid-cols-1 {
    grid-template-columns: 1fr;
}
.grid-cols-2 {
    grid-template-columns: 1fr 1fr;
}
.grid-cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
}
.justify-center {
    justify-content: center;
}
.items-center {
    align-items: center;
}
.gap-8 {
    gap: 2rem;
}
.gap-12 {
    gap: 3rem;
}
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.rounded-2xl {
    border-radius: 1rem;
}
.rounded-t-2xl {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
}
/* Common styles Ends */
/* Card Design */
.card {
    width: 100%;
    max-width: 100%;
    background-color: white;
    padding: 0;
    border-radius: 1rem;
    margin: 0;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
        0 4px 6px -4px rgb(0 0 0 / 0.1);
    transition-property: all;
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
    transform: scale(1.05) translateY(-12px);
}
.card-img-container {
    height: 12rem;
}
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}
.image-gradient {
    background: linear-gradient(to right bottom, #604132, #a855f7);
    opacity: 0.2;
    transition: opacity 0.5s ease;
}
.card:hover .image-gradient {
    opacity: 0.3;
}
.image-overlay {
    background-color: #00000033;
}
.card:hover .image-overlay {
    background-color: #0000001a;
}
.card-body {
    padding: 2rem;
}
.card-title {
    color: #111827;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    letter-spacing: -0.6px;
    transition-property: color;
    transition-duration: 300ms;
}
.card:hover .card-title {
    color: #2563eb;
}
.card-desc {
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.625;
    margin-top: 1rem;
}
.fill-btn {
    background-color: #2563eb;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 999px;
    border: none;
    outline: none;
    margin-top: 2rem;
    cursor: pointer;
    transition: transform 300ms;
}
.card:hover .fill-btn {
    transform: scale(1.05);
}
.text-btn {
    background-color: transparent;
    color: #2563eb;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    outline: none;
    margin-top: 2rem;
    cursor: pointer;
    transition: transform 300ms;
}
.btn-icon {
    width: 20px;
    height: 20px;
    transition: all 300ms;
}
.card:hover .btn-icon {
    transform: translateX(8px);
}
.card-gradient {
    background-image: linear-gradient(
        to right,
        #60a5fa00,
        #c084fc00,
        #60a5fa00
    );
    pointer-events: none;
    transition-property: all;
    transition-duration: 500ms;
}
.card:hover .card-gradient {
    background-image: linear-gradient(
        to right,
        #60a5fa1a,
        #c084fc1a,
        #60a5fa1a
    );
}
.card_scale-up-img {
    transition: transform 700ms;
}
.card:hover .card_scale-up-img {
    transform: scale(1.1);
}
html body div .view-all-btn {
    background-color: rgb(17, 24, 39);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.75rem;
    transition-property: all;
    transition-duration: 300ms;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
        0 4px 6px -4px rgb(0 0 0 / 0.1);
    transform: scale(1);
}
html body div .view-all-btn:hover {
    cursor: pointer;
    color: white;
    background-color: rgb(31, 41, 55);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    transform: scale(1.05);
}

/* Slider Starts */
.swiper {
    width: 100%;
    margin: auto;
    position: relative;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.custom-prev,
.custom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
}
.custom-prev {
    left: 10px;
}
.custom-next {
    right: 10px;
}
.swiper-pagination {
    position: static !important;
    display: flex !important;
    justify-content: center !important;
    gap: 0.75rem !important;
}
.swiper-pagination .swiper-pagination-bullet {
    background: #d1d5db;
    opacity: 0.5;
    width: 1rem;
    height: 1rem;
    margin: 0 !important;
    border-radius: 50%;
    transition: all 0.3s;
}
.swiper-pagination .swiper-pagination-bullet-active {
    background: #2563eb;
    opacity: 1;
    transform: scale(1.2);
}

.swiper-slide.slider-card {
    position: relative;
    background: linear-gradient(
        135deg,
        #bfdbfe,
        #c7d2fe
    ); /* from blue-100 to indigo-200 */
    border-radius: 1rem;
    padding: 2rem;
    width: 350px;
    color: #1f2937; /* gray-800 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.5s ease;
    transform-origin: center;
}
.slider-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    transform: scale(1.05) translateY(-8px);
}
.slider-card .symbol-bg {
    position: absolute;
    top: 0.25rem;
    right: 1rem;
    font-size: 3.75rem;
    color: rgba(0, 0, 0, 0.1);
}
.slider-card .top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    z-index: 10;
    position: relative;
}
.top-row .trending {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #4b5563; /* gray-600 */
}
.trending .dot {
    width: 0.75rem;
    height: 0.75rem;
    background-color: #374151; /* gray-700 */
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: pulse 1.5s infinite;
}
.slider-button-container {
    text-align: center;
    margin-top: 4rem;
}
.pagination-container {
    margin-top: 3rem;
}
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}
.top-row .currency {
    display: flex;
    align-items: center;
    background-color: rgba(55, 55, 55, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.top-row .currency:hover {
    background-color: rgba(55, 55, 55, 0.2);
}
.top-row .currency span {
    margin-right: 0.25rem;
    font-size: 18px;
}
.slider-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}
.slider-card .bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bottom-row div p:first-child {
    font-size: 0.875rem;
    color: #4b5563; /* gray-600 */
    margin: 0;
}
.bottom-row div p:last-child {
    font-size: 1.875rem;
    font-weight: bold;
    margin: 0;
}
.bottom-row .current-value p:last-child {
    color: #047857; /* green-700 */
}

button:not(:disabled).nav-button {
    border: none;
    outline: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1f2937;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    z-index: 10;
}
.nav-button-prev {
    left: 1rem;
}
.nav-button-next {
    right: 1rem;
}

button:not(:disabled).nav-button:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-50%) scale(1.1);
}

.nav-button svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}
html body div .simulation-btn {
    background-color: #2563eb; /* blue-600 */
    color: #ffffff;
    padding: 1.25rem 2.5rem; /* py-5 px-10 */
    border-radius: 9999px; /* fully rounded */
    font-weight: bold;
    font-size: 1.125rem; /* text-lg */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    transform: scale(1);
}
html body div .simulation-btn:hover {
    background-color: #1d4ed8; /* blue-700 */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-2xl */
    transform: scale(1.05);
}
/* Slider ends */
/******************************
      old css ends
******************************/
/***********************
*      Offcanvas
*************************/
.offcanvas .flex-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.offcanvas {
    position: fixed;
    height: 100%;
    width: 350px;
    top: 0;
    right: -350px;
    transition: 0.3s;
    padding: 0 25px 20px;
    z-index: 99999;
    background-color: #000000f8;
    max-width: 100%;
}

a.header-logo svg {
    width: 90px;
}

.offcanvas__nav a {
    font-size: 21px;
    line-height: 1;
    font-weight: 500;
    color: #feffff;
    transition: 0.3s;
    display: block;
    padding: 5px 0;
}

.offcanvas__nav ul li {
    margin-bottom: 20px;
}

.offcanvas__nav ul {
    list-style: none;
    padding-left: 0;
}

@media (max-width: 1023px) {
    .offcanvas.active {
        right: 0;
    }
}

.header__logo {
    max-width: 185px;
}

.offcanvas-open {
    display: none;
}

@media (max-width: 1023px) {
    .offcanvas-open {
        display: block;
    }
}

.offcanvas-open,
.offcanvas__close {
    cursor: pointer;
}

.offcanvas__nav {
    padding: 30px 10px 0;
}

.offcanvas__nav a:hover,
.offcanvas__nav .current-menu-item {
    color: #e11b22;
}

.offcanvas__nav li:last-child a {
    margin: 0;
}

a.choose-country__block-item.countey-block {
    text-decoration: none;
}
/*****************************************
            main css
*******************************************/

/* ********Main Styles******** */
.cs-calculator {
    position: relative;
}

.cs-calculator .cs-container {
    max-width: 1100px;
    margin: auto;
}

.cs-calculator__inner {
    color: white;
    padding: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: scale(1);
    transition: transform 0.5s ease;
    animation: slide-up 0.8s ease-out forwards;
}

.cs-form {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

.cs-form__field {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.cs-form__label {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 16px;
    display: block;
}

.cs-form__select,
.cs-form__input,
.cs-calculator .select2-container--default .select2-selection--single,
input[type="number"].cs-form__input,
input[type="date"].cs-form__input {
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    font-size: 16px;
    background: transparent;
    color: #ffffff;
    width: 100%;
    outline: none;
    transition: 0.3s ease;
}
.cs-calculator
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 17px;
    right: 17px;
    width: 20px;
}
.cs-calculator .select2-container--default .select2-selection--single {
    height: auto;
}
.cs-form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    cursor: pointer;
}
body
    div
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: #ffffff;
}
.cs-form__select:focus,
.cs-form__input:focus {
    border-color: #3f51b5;
}

.cs-form__input[type="date"] {
    cursor: pointer;
}

.cs-calculator__inner [type="button"].cs-calculate-btn {
    width: 100%;
    background: linear-gradient(
        to right,
        #facc15,
        #f97316
    ); /* yellow-400 → orange-500 */
    color: #111827; /* text-gray-900 */
    padding: 1rem 2rem;
    border-radius: 0.75rem; /* rounded-xl */
    font-weight: 700;
    font-size: 1.125rem; /* text-lg */
    transition: all 0.2s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
}

.cs-calculate-btn:hover {
    background: linear-gradient(
        to right,
        #facc15,
        #ea580c
    ); /* yellow-500 → orange-600 */
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.cs-calculate-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05); /* keep original */
}
.cs-results {
    margin-top: 30px;
    /* padding: 30px; */
    background: linear-gradient(
        90deg,
        rgb(0 230 118 / 0.05) 0%,
        rgb(63 81 181 / 0.05) 100%
    );
    border-radius: 12px;
    display: none;
}

.cs-results__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.cs-results__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(90deg, #00e676 0%, #3f51b5 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-results__title {
    font-size: 24px;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

.cs-results__content {
    text-align: center;
}

.cs-results__investment-text {
    font-size: 18px;
    color: #4b5563;
    margin: 0 0 12px;
}

.cs-results__amount {
    font-size: 48px;
    font-weight: 300;
    color: #00e676;
    margin: 0 0 12px;
}

.cs-results__profit {
    font-size: 20px;
    font-weight: 500;
    color: #00e676;
}

@media (max-width: 1023px) {
    .cs-calculator__inner {
        border-radius: 20px;
        padding: 24px;
    }
    .cs-form {
        gap: 16px;
        margin-bottom: 24px;
    }

    .cs-form__input,
    .cs-form__select {
        padding: 12px;
        border-radius: 8px;
    }

    .cs-form__input[type="date"] {
        padding: 10px 12px;
    }

    .cs-calculate-btn {
        padding: 12px 20px;
        border-radius: 8px;
    }
}

@media (max-width: 991px) {
    .cs-form {
        flex-direction: column;
    }

    .cs-form__label {
        margin-bottom: 8px;
    }

    .cs-results__title {
        font-size: 22px;
    }

    .cs-results__icon {
        height: 40px;
        width: 40px;
        border-radius: 8px;
    }
    .cs-calculator .select2-container {
        width: 100% !important;
    }

    .cs-results__amount {
        font-size: 44px;
    }
    .cs-results__profit {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .cs-calculator__inner {
        padding: 24px 20px;
    }
    .cs-results__title {
        font-size: 20px;
    }

    .cs-results__icon {
        height: 36px;
        width: 36px;
    }

    .cs-results__investment-text {
        font-size: 16px;
    }
    .cs-results__amount {
        font-size: 40px;
    }

    .cs-results__profit {
        font-size: 16px;
    }

    .cs-results {
        margin-top: 24px;
        padding: 24px 20px;
    }
}
@media (max-width: 575px) {
    .cs-calculator__inner,
    .cs-results {
        padding: 20px 16px;
    }

    .cs-results__icon {
        display: none;
    }
}
.cs-crypto-item {
    animation: fadeIn 0.3s ease-out;
}

/* Additional CSS for interactive states */
.cs-crypto-item--selected {
    background-color: #ebf8ff !important;
    transform: scale(0.98);
    border-color: #3182ce !important; /* Highlight selected item */
}

.cs-crypto-item--hover {
    background-color: #f7fafc;
}

.cs-cryptos__compare-btn--active {
    background-color: #3182ce !important;
    color: white !important;
}

.cs-crypto-item--compare-mode {
    border: 2px dashed #cbd5e0;
    margin: 2px;
}

.cs-crypto-item--compare-mode:hover {
    border-color: #3182ce;
    background-color: #ebf8ff;
}
.crypto-price {
    display: flex;
    gap: 5px;
}
/* Popup Overlay */
.cs-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.cs-popup-overlay.cs-active {
    display: flex;
}

/* Popup Modal */
.cs-popup-modal {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 420px;
    padding: 40px 32px;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
    text-align: center;
}

.cs-popup-overlay.cs-active .cs-popup-modal {
    transform: scale(1);
    opacity: 1;
}

/* Close Button */
.page button.cs-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    padding: 0;
}

.page button.cs-close-btn:hover {
    background: #f5f5f5;
    color: #666;
}

/* Email Icon */
.cs-email-icon {
    width: 48px;
    height: 48px;
    background: #f0f0f0;
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 20px;
    color: #666;
}

/* Title */
.page h2.cs-popup-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Subtitle */
.cs-popup-subtitle {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 32px;
}

/* Email Input Container */
.cs-email-container {
    position: relative;
    margin-bottom: 24px;
}

input[type="email"].cs-email-input {
    width: 100%;
    padding: 16px 50px 16px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s ease;
    background: #fff;
}

input[type="email"].cs-email-input:focus {
    border-color: #4caf50;
}

input[type="email"].cs-email-input::placeholder {
    color: #999;
}

.cs-at-symbol {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff4444;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

/* Submit Button */

/* Mobile Responsive */
@media (max-width: 480px) {
    .cs-popup-modal {
        padding: 32px 24px;
        margin: 20px;
        max-width: none;
    }

    .cs-popup-title {
        font-size: 20px;
    }

    .cs-popup-subtitle {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .cs-email-input {
        padding: 14px 45px 14px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .cs-submit-btn {
        padding: 14px;
        font-size: 15px;
    }

    .cs-at-symbol {
        width: 20px;
        height: 20px;
        font-size: 12px;
        right: 14px;
    }
}

@media (max-width: 360px) {
    .cs-popup-modal {
        padding: 24px 20px;
    }

    .cs-popup-title {
        font-size: 18px;
    }
}

/* Animation for mobile */
@media (max-width: 768px) {
    .cs-popup-modal {
        transform: translateY(100px) scale(0.9);
    }

    .cs-popup-overlay.cs-active .cs-popup-modal {
        transform: translateY(0) scale(1);
    }

    .swiper-slide.slider-card {
        width: 300px;
    }
}
.select2.error {
    border: 2px solid red;
    border-radius: 17px;
}
/* .select2-container--focus{
    border: 1px solid rgb(0, 255, 30) !important;
    border-radius: 17px;

} */

/* Media Queries 640px (Small) */
@media screen and (min-width: 640px) {
    .container {
        max-width: 640px;
    }

    .sm-grid-cols-2 {
        grid-template-columns: 1fr 1fr;
    }
    .sm-grid-cols-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Media Queries 768px (Medium) */
@media screen and (min-width: 768px) {
    .container {
        max-width: 768px;
    }

    .md-grid-cols-2 {
        grid-template-columns: 1fr 1fr;
    }
    .md-grid-cols-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Media Queries 1024px (Large) */
@media screen and (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
    .lg-gap-8 {
        gap: 2rem;
    }
    .lg-gap-12 {
        gap: 3rem;
    }
}

/* Media Queries 1280px (Extra Large) */
@media screen and (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/*single post style*/
.ifihadinvested-post-card .ifihadinvested-post-card-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.ifihadinvested-post-card .ifihadinvested-post-card-meta {
    padding: 32px 32px 0 32px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.ifihadinvested-post-card .ifihadinvested-category {
    font-size: 14px;
    background: #dbeafe;
    color: #0693e3;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: capitalize;
}

.ifihadinvested-post-card .ifihadinvested-date,
.ifihadinvested-post-card .ifihadinvested-author,
.ifihadinvested-post-card .ifihadinvested-readtime {
    color: #6b7280;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/*media query*/

@media (max-width: 767px) {
    .ifihadinvested-post-card .ifihadinvested-post-card-meta {
        padding: 15px 15px 0 15px;
    }
}

@media (max-width: 575px) {
    .ifihadinvested-post-card .ifihadinvested-date,
    .ifihadinvested-post-card .ifihadinvested-author,
    .ifihadinvested-post-card .ifihadinvested-readtime {
        font-size: 12px;
    }
    .ifihadinvested-post-card .ifihadinvested-date svg,
    .ifihadinvested-post-card .ifihadinvested-author svg,
    .ifihadinvested-post-card .ifihadinvested-readtime svg {
        width: 12px;
        height: 12px;
    }
    .ifihadinvested-post-card .ifihadinvested-post-card-meta {
        gap: 8px;
    }
    .ifihadinvested-post-card .ifihadinvested-category {
        font-size: 12px;
        padding: 3px 8px;
    }
}
.cs-results__content {
    display: flex;
    justify-content: space-between;
}
/* Grid container */
.cs-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    animation: fade-in 1s ease-out forwards;
}

@media (min-width: 768px) {
    .cs-results {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Base card */
.cs-results__content .cs-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: scale(1);
    transition: transform 0.5s ease;
    animation: slide-up 0.8s ease-out forwards;
    text-align: left;
}
/* .cs-results__content .card-2 {
    transition: transform 0.4s ease;
    animation: slide-up 2s ease-out forwards;
}.cs-results__content .card-3 {
    transition: transform 1s ease;
    animation: slide-up 2.8s ease-out forwards;
} */

.cs-results__content .cs-card:hover {
    transform: scale(1.05);
}

/* Card header */
.cs-results__content .cs-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.cs-results__content .cs-card-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgb(219, 234, 254);
}

/* Icon wrapper */
.cs-results__content .cs-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.cs-results__content .cs-icon--blue {
    background: rgba(255, 255, 255, 0.50);
    /*background: rgba(59, 130, 246, 0.3);*/
}

.cs-results__content .cs-icon--green {
    background: rgba(255, 255, 255, 0.50);
    /*background: rgba(34, 197, 94, 0.3);*/
}

.cs-results__content .cs-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #325581;
    /*color: rgb(191, 219, 254);*/
}

/* Values */
.cs-results__content .cs-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.cs-results__content .cs-card-value--profit {
    color: #4ade80; /* green-400 */
}

/* Description */
.cs-results__content .cs-card-description {
    font-size: 0.875rem;
    color: rgb(191, 219, 254);
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slide-up {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
