body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
}
a {
    text-decoration: none !important;
}

.nav-logo {
    border: 4px solid #212529;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: inline-block;
}

.nav-logo span {
    font-size: 1.875rem;
    font-weight: 900;
}

.btn-outline-nav {
    border: 2px solid #212529;
    color: #212529;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.btn-outline-nav:hover {
    background-color: #f8f9fa;
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

.badge-custom {
    background-color: #212529;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.feature-box {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-box .icon {
    background-color: #212529;
    border-radius: 0.5rem;
    padding: 0.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.emi-input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.emi-input-group input {
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-weight: 500;
}

.emi-input-group input:focus {
    border-color: #212529;
    box-shadow: 0 0 0 0.2rem rgba(33, 37, 41, 0.25);
    outline: none;
}

.currency-symbol {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-weight: 500;
    pointer-events: none;
}

.result-box {
    padding: 1rem;
    border-radius: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
}

.result-value {
    font-size: 1.25rem;
    font-weight: bold;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #212529;
    margin-bottom: 1rem;
}

.service-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 2px solid;
    position: relative;
}

.service-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: #212529;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: bold;
}

.calculation-box {
    background-color: #f0f5ff;
    border: 1px solid #a8c5ff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.calculation-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.benefit-card {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 1.5rem;
    text-align: center;
}

.faq-item {
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.faq-button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.25rem;
    font-weight: 600;
    color: #212529;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-button:hover {
    background-color: #f8f9fa;
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid #dee2e6;
    display: none;
    font-size: 0.95rem;
    color: #6c757d;
}

.faq-answer.show {
    display: block;
}

.stat-box {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #212529;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6c757d;
}

.green-bg {
    background-color: #f0f8f1;
}

.blue-bg {
    background-color: #f0f5ff;
}

.orange-bg {
    background-color: #fff7f0;
}

.green-calc {
    background-color: #f0f8f1;
    border-color: #9dd4a8 !important;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background-color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 1.5rem;
    font-weight: bold;
    color: #212529;
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    animation: scroll 15s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.carousel-item-slide {
    min-width: 33.333%;
    padding: 0 1rem;
    flex-shrink: 0;
}

.carousel-item-slide:hover .carousel-track {
    animation-play-state: paused;
}

.testimonial-carousel {
    overflow: hidden;
    background-color: #f9fafb;
}

.testimonial-carousel .carousel-track {
    animation: scrollTestimonials 15s linear infinite;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-item-slide {
    width: 33.333%;
    padding: 0 1rem;
    flex-shrink: 0;
}

.testimonial-carousel .star {
    color: #facc15;
    font-size: 25px;
}

@media (max-width: 768px) {
    .testimonial-item-slide {
        width: 100%;
    }
}

.partners-carousel {
    overflow: hidden;
}

.partners-carousel .carousel-track {
    animation: scrollPartners 15s linear infinite;
}

@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-item-slide {
    min-width: 16.666%;
    padding: 0 0.75rem;
    flex-shrink: 0;
}

.published-section .carousel-item-slide {
    background: white;
    min-width: 20%;
    border-radius: 0.5rem;
    padding: 2rem;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .carousel-item-slide {
        min-width: 33.333%;
        padding: 0 1rem;
        flex-shrink: 0;
      } */

.debt-loan-section .timeline-step::before {
    content: "";
    position: absolute;
    left: 0.75rem;
    /* top: 1.5rem; */
    height: 30%;
    width: 2px;
    background-color: #c7c7c7;
    z-index: 0;
}

.bg-blue-400 {
    background-color: #60a5fa;
}
.bg-purple-400 {
    background-color: #a78bfa;
}
.bg-pink-400 {
    background-color: #f472b6;
}
.insight-section .insight-carousel {
    overflow: hidden;
    position: relative;
}

.insight-section .carousel-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scrollInsights 30s linear infinite;
}

.insight-section .insight-card {
    flex: 0 0 auto;
    width: 340px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.insight-section .insight-card:hover {
    transform: translateY(-5px);
}

.insight-section .insight-img {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    font-size: 2rem;
    color: #333;
}

@keyframes scrollInsights {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
