:root {
    --primary-accent: #00dfeb;
    --secondary-accent: #00c7e0;
    --text: #2b2b2b;
    --light-bg: #f9f9f9;
    --card-bg: #ffffff;
    --primary-peach: #FF9A8B;
    --secondary-peach: #FF6A88;
    --cta: linear-gradient(135deg, #FF9A8B, #FF6A88);
    --cta-hover: linear-gradient(135deg, #FF6A88, #FF9A8B);
    --footerbg: linear-gradient(135deg, #00c3da, #1273ae);
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Header Styles */
.navbar {
    background-color: var(--card-bg) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: var(--cta) !important;
}

.nav-link {
    font-weight: 600;
    color: var(--text) !important;
    margin: 0 8px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown-item {
    padding: 8px 20px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(0, 223, 235, 0.1);
    color: var(--cta);
}

.dropdown-divider {
    margin: 5px 0;
}

.btn-login {
    border: 1px solid var(--cta);
    color: var(--cta);
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 20px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: var(--secondary-accent);
    color: white !important;
    border-color: var(--secondary-accent);
}

.btn-apply {
    background: var(--cta);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 20px;
    border: none;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 106, 136, 0.3);
}

/* Mobile Menu */
.offcanvas {
    max-width: 300px;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.offcanvas-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: var(--cta);
}

.mobile-menu .nav-link {
    padding: 12px 20px;
    margin: 0;
}

.mobile-menu .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    padding: 0;
}

.mobile-menu .dropdown-item {
    padding: 10px 30px;
}

.mobile-menu-buttons {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    background-color: var(--light-bg);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -300px;
    right: -300px;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.hero-label {
    color: var(--cta);
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-accent);
}

.hero-subtext {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text);
    max-width: 500px;
}

.form-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 28px;
    position: relative;
    z-index: 1;
}

.form-title {
    color: #484848;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-subtitle {
    color: #484848;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.form-divider {
    height: 1px;
    background-color: #e6e6e6;
    margin: 20px 0;
}

.form-label {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0px;
    display: block;
}

.btn-pill {
    border-radius: 5px;
    padding: 8px 5px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #ccc;
    background-color: white;
    color: var(--text);
    flex: 1;
    text-align: center;
}

.btn-pill:hover {
    background: var(--cta);
    color: white;
    border-color: transparent;
}

.btn-pill.active {
    background: var(--cta);
    color: white;
    border-color: transparent;
}

.btn-pill-group {
    display: flex;
    gap: 10px;
    margin-bottom: 0px;
}

.form-control {
    padding: 8px 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--cta);
    box-shadow: 0 0 0 0.25rem rgba(24, 140, 210, 0.25);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.input-with-icon input {
    padding-left: 40px;
}

.btn-submit {
    width: 100%;
    height: 48px;
    border-radius: 50px;
    background: var(--cta);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: var(--secondary-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 106, 136, 0.3);
}

.btn-submit-link {
    display: inline-block; /* Esto es crucial para que funcione como botón */
    width: 100%;
    height: 48px;
    line-height: 48px; /* Centrar texto verticalmente */
    text-align: center;
    border-radius: 50px;
    background: var(--cta);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none; /* Quitar subrayado de enlace */
    border: none;
    transition: all 0.3s ease;
    margin-top: 10px;
    cursor: pointer; /* Mostrar cursor de mano como en los botones */
}

.btn-submit-link:hover {
    background-color: var(--secondary-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 106, 136, 0.3);
    color: white; /* Mantener color blanco en hover */
    text-decoration: none; /* Evitar subrayado en hover */
}

.form-footer {
    text-align: center;
    color: #777;
    margin-top: 20px;
    font-size: 14px;
}

.form-footer a {
    color: var(--cta);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    color: var(--secondary-accent);
}

.form-disclaimer {
    font-size: 0.75rem;
    color: #777;
    font-style: italic;
    margin-top: 20px;
    text-align: left;
}

/* Stats Section */
/* Stats Section - Glass Design */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 199, 224, 0.1) 0%, rgba(0, 223, 235, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    z-index: 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-accent), var(--primary-accent));
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 199, 224, 0.15);
    background: rgba(255, 255, 255, 0.85);
}

.stat-card:hover::before {
    height: 8px;
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 199, 224, 0.1) 0%, rgba(0, 223, 235, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--cta);
    font-size: 30px;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 223, 235, 0.2);
    position: relative;
    overflow: hidden;
}

.stat-icon::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 223, 235, 0.1) 0%, transparent 70%);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--cta);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 106, 136, 0.3);
    cursor: pointer;

}

.stat-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
    position: relative;
    display: inline-block;
}

.stat-title:hover {
    color: #FF6A88;
    cursor: pointer;
}

.stat-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-accent), var(--primary-accent));
    transition: all 0.4s ease;
}

.stat-card:hover .stat-title::after {
    width: 100%;

}

.stat-description {
    color: #666;
    font-size: 16px;
    transition: all 0.4s ease;
}

.stat-card:hover .stat-description {
    color: #444;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats {
        padding: 60px 0;
    }

    .stat-card {
        margin-bottom: 20px;
    }





}



/* Añadimos estilos para el nuevo orden en móvil */
@media (max-width: 992px) {
    .hero-mobile-order {
        display: flex;
        flex-direction: column;
    }

    .hero-content-mobile {
        order: 2;
    }

    .hero-form-mobile {
        order: 1;
        margin-bottom: 40px;
    }
}


/* Loans Section */
.loans {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text);
}

.loan-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.loan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.loan-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.loan-card:hover .loan-icon {
    background: var(--cta);
    color: white;

    transform: rotate(10deg) scale(1.1);
}

.loan-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text);
}

.loan-description {
    color: #666;
    margin-bottom: 20px;
}

.loan-link {
    color: #FF6A88;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

a.loan-link:hover {
    color: #FF6A88;
    text-decoration: none;
}

a {
    text-decoration: none;
}

.loan-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

a.loan-link:hover {
    color: #FF6A88;
    text-decoration: none;
}

.loan-link:hover i {
    transform: translateX(5px);
}

/* Process Section */
.process {
    padding: 80px 0;
    background-color: var(--card-bg);
}

.process-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-accent), var(--primary-accent));
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.step-description {
    color: #666;
    max-width: 250px;
    margin: 0 auto;
}

/* Trust Section */
.trust {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    color: white;
}

.trust-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.trust-description {
    margin-bottom: 30px;
    font-size: 18px;
}

.trust-button {
    background-color: var(--cta);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.trust-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.trust-image {
    text-align: center;
}

.trust-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Promise Section */
.promise {
    padding: 100px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
}

.promise-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.promise-description {
    font-size: 18px;
    margin-bottom: 30px;
}

.promise-badge {
    background-color: var(--cta);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
    font-size: 18px;
    margin-top: 30px;
}

/* CTA Section */
.final-cta {
    padding: 100px 0;
    background-color: var(--light-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: "";
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    border-radius: 50%;
    opacity: 0.1;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text);
}

.cta-button-large {
    background-color: var(--cta);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button-large:hover {
    background-color: var(--secondary-accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 199, 224, 0.3);
}

.cta-image {
    margin-top: 50px;
}

.cta-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background-color: var(--card-bg);
    position: relative;
}

.newsletter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background-color: var(--secondary-accent);
}

.newsletter-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.newsletter-description {
    color: #666;
    margin-bottom: 30px;
}

.newsletter-form input {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--cta);
    box-shadow: 0 0 0 0.25rem rgba(24, 140, 210, 0.25);
}

.newsletter-button {
    background-color: var(--cta);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background-color: var(--secondary-accent);
    transform: translateY(-2px);
}

.newsletter-note {
    font-size: 12px;
    color: #999;
}

/* Footer */
footer {
    background: var(--footerbg);
    color: white;
    padding: 60px 0 0;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 20px;
    display: block;
    color: white !important;
    text-decoration: none;
}

.footer-about {
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact i {
    width: 20px;
    text-align: center;
}

.footer-bottom {
    background-color: #0f6193;
    padding: 20px 0;
    margin-top: 60px;
    text-align: center;
    font-size: 12px;
}

/* Step Process Section */
.step-process-section {
    background-color: var(--card-bg);
    padding: 80px 0;
    position: relative;
}

.process-image-container {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 16px 0 0 16px;
}

.step-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    min-height: 500px;
}

.step-image.active {
    opacity: 1;
}

.watermark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/logo.png') center center no-repeat;
    background-size: 30%;
    opacity: 0.05;
    pointer-events: none;
}

.process-content-container {
    padding: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
    border-radius: 0 16px 16px 0;
}

.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 15px;
}

.step-nav-item {
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #666;
    padding: 8px 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.step-nav-item::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--cta);
    transition: all 0.3s ease;
}

.step-nav-item.active,
.step-nav-item:hover {
    color: var(--text);
}

.step-nav-item.active::after {
    width: 100%;
}

.process-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.process-description {
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.process-disclaimer {
    color: #999;
    font-size: 12px;
    margin-bottom: 40px;
    font-style: italic;
}

.step-visual {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.step-number-icon {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    filter: hue-rotate(0deg) saturate(2) brightness(0.9);
}

.step-current-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.process-cta {
    margin-bottom: 40px;
}

.btn-apply-now {
    background: var(--cta);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    border: none;
    cursor: pointer;
}

.btn-apply-now:hover {
    background: var(--cta-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 106, 136, 0.3);
}

.process-phone {
    color: #666;
    font-size: 14px;
}

.process-phone span {
    font-weight: 600;
    color: var(--text);
}

.step-arrows {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.arrow-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.arrow-btn:hover {
    color: var(--cta);
    background-color: rgba(0, 223, 235, 0.1);
}

/* Testimonial Slider Section */
.testimonial-slider-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.testimonial-image-container {
    position: relative;
    height: 100%;
    min-height: 600px;
    overflow: hidden;
}

.testimonial-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.testimonial-image.active {
    opacity: 1;
}

.testimonial-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) blur(5px);
    opacity: 0.3;
    z-index: 0;
}

.testimonial-content-container {
    padding: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
}

.testimonial-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 36px;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.3;
}

.highlight-text {
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #FFB703;
}

.testimonial-subtitle {
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
}

.testimonial-box {
    background-color: #188cd2;
    color: white;
    padding: 40px;
    border-radius: 0 16px 16px 0;
    position: relative;
    margin-bottom: 30px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 25px;
    position: relative;
    color: #333;
    z-index: 1;
}

.testimonial-text2 {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 25px;
    position: relative;
    color: #FFF;
    z-index: 1;
}

.testimonial-author {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-position {
    font-size: 14px;
    opacity: 0.9;
}

.testimonial-disclaimer {
    color: #999;
    font-size: 12px;
    margin-top: 30px;
}

.testimonial-pagination {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 2;
}

.pagination-number {
    background: none;
    border: none;
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    position: relative;
    transition: all 0.3s ease;
}

.pagination-number::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #188cd2;
    transition: all 0.3s ease;
}

.pagination-number.active,
.pagination-number:hover {
    color: #188cd2;
}

.pagination-number.active::after {
    width: 100%;
}

.testimonial-arrows {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* CPA Collaboration Section */
.cpa-collaboration-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.cpa-content {
    padding-right: 40px;
}

.cpa-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 36px;
    color: #1A1A1A;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cpa-subheading {
    color: #555555;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cpa-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #555555;
    font-size: 16px;
}

.benefit-icon {
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;

}

.benefit-item svg {
    transform: rotate(45deg);
}

.btn-signup {
    display: inline-block;
    background-color: #188cd2;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-signup:hover {
    background-color: #E6A500;
    box-shadow: 0 4px 12px rgba(255, 183, 3, 0.3);
    transform: translateY(-2px);
}

.testimonial-card {
    background-color: white;
    border-radius: 0 45px 0 0;
    padding: 40px;
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.cpa-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background-color: #00c7dd;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
}

.badge-text {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.badge-number {
    font-size: 18px;
    font-weight: 800;
}

.partner-logo {
    margin-bottom: 30px;
    max-width: 200px;
    margin-left: 100px;
}

.author-info {
    position: relative;
    z-index: 1;
}

.author-name {
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 5px;
}

.author-title {
    color: #555555;
    font-size: 14px;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(#EEEEEE 1px, transparent 1px),
        linear-gradient(90deg, #EEEEEE 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
    z-index: 0;
}

.reviews-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
}

.reviews-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
    /* width: 100%;
    padding: 0 15px; */
}

.review-group {
    display: flex;
    flex: 0 0 100%;
    gap: 0px;
    /* padding: 0 10px; */
    min-width: 0;
}

.review-item {
    flex: 0 0 23%;
    margin: 0 1%;
    text-align: center;
}

.review-img {
    /* width: 100%; */
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.review-img:hover {
    transform: scale(1.03);
}

.review-card {
    flex: 0 0 calc(25% - 15px);
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    height: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}


.review-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--text);
}

.review-text {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.time-ago {
    font-size: 13px;
}

.star-icon {
    color: #FFB703;
    margin-right: 3px;
    font-size: 16px;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cta);
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: #ccc;
    margin: 0 4px;
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--cta);
    transform: scale(1.2);
}

@media (max-width: 992px) {

    .review-item {
        flex: 0 0 48%;
        margin-bottom: 15px;
    }

    .review-card {
        flex: 0 0 calc(50% - 10px);
        min-height: 220px;
    }

    .review-group {
        padding: 0 5px;
    }
}

@media (max-width: 768px) {

    .review-item {
        flex: 0 0 98%;
    }


    .review-card {
        flex: 0 0 100%;
        min-height: auto;
    }

    .reviews-section {
        padding: 60px 0;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }
}

.reviews-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 24px;
    /* width: 100%; */
}

/* .review-group {
    display: flex;
    flex: 0 0 100%;
    gap: 24px;
    padding: 0 12px;
} */
.review-group {
    display: flex;
    flex: 0 0 100%;
    justify-content: space-around;
    /* padding: 10px; */
    width: 100%;
    padding: 0 15px;
}

.review-card {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: #ccc;
    margin: 0 4px;
    padding: 0;
}

.carousel-indicators button.active {
    background-color: #00dfeb;
}

/* Floating Animation */
@keyframes floatRotate {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.floating-image {
    animation: floatRotate 8s ease-in-out infinite;
}

/* Hero Overlay */
.hero {
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.hero::before {
    background: rgba(0, 0, 0, 0.5);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title,
.hero-subtext,
.hero-label {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 50px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtext {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-form {
        max-width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .loans-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-steps {
        flex-direction: column;
        gap: 50px;
    }

    .process-steps::before {
        display: none;
    }

    .trust-container {
        flex-direction: column;
        text-align: center;
    }

    .process-image-container {
        border-radius: 16px 16px 0 0;
        height: 300px;
    }

    .step-image {
        min-height: 300px;
    }

    .process-content-container {
        border-radius: 0 0 16px 16px;
        padding: 30px;
    }

    .testimonial-image-container {
        min-height: 400px;
        border-radius: 16px 16px 0 0;
    }

    .testimonial-content-container {
        border-radius: 0 0 16px 16px;
        padding: 40px;
    }

    .testimonial-title {
        font-size: 28px;
    }

    .testimonial-box {
        min-height: 250px;
        border-radius: 0 8px 8px 0;
    }

    .testimonial-text {
        font-size: 18px;
    }

    .cpa-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .cpa-heading {
        font-size: 28px;
    }

    .testimonial-card {
        min-height: 350px;
        border-radius: 0 30px 0 0;
    }

    .review-group {
        flex-wrap: wrap;
    }

    .review-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 32px;
    }

    .loans-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        margin-top: 30px;
    }

    .testimonial-title {
        font-size: 24px;
    }

    .testimonial-subtitle {
        font-size: 16px;
    }

    .testimonial-box {
        padding: 30px;
    }

    .cpa-heading {
        font-size: 24px;
    }

    .cpa-subheading {
        font-size: 16px;
    }

    .testimonial-card {
        padding: 30px;
    }

    .cpa-badge {
        width: 100px;
        height: 100px;
        left: -15px;
    }

    .badge-text {
        font-size: 8px;
    }

    .badge-number {
        font-size: 16px;
    }

    .review-group {
        flex-wrap: nowrap;
        gap: 16px;
    }

    .review-card {
        flex: 0 0 100%;
        scroll-snap-align: start;
    }

    .reviews-section {
        padding: 40px 16px;
    }

    .carousel-control-prev {
        left: 0;
    }

    .carousel-control-next {
        right: 0;
    }

    .step-navigation {
        flex-wrap: wrap;
        gap: 10px;
    }

    .step-nav-item {
        font-size: 14px;
        padding: 5px 0;
    }

    .process-title {
        font-size: 24px;
    }

    .btn-apply-now {
        width: 100%;
        text-align: center;
    }
}


/* Brands Slider Styles */
.brands-section {
    overflow: hidden;
    position: relative;
}

.brands-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.brands-track {
    display: flex;
    width: calc(200%);
    /* Double width for seamless looping */
    animation: slide 30s linear infinite;
}

.brand-item {
    flex: 0 0 10%;
    /* 5 logos visible on desktop */
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.brand-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.brand-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move half the width (duplicated content) */
    }
}

/* Pause animation on hover */
.brands-track:hover {
    animation-play-state: paused;
}

/* Responsive styles */
@media (max-width: 992px) {
    .brand-item {
        flex: 0 0 25%;
        /* 4 logos on tablet */
    }
}

@media (max-width: 768px) {
    .brand-item {
        flex: 0 0 33.333%;
        /* 3 logos on mobile */
    }
}

@media (max-width: 576px) {
    .brand-item {
        flex: 0 0 50%;
        /* 2 logos on small mobile */
    }

    .brand-logo {
        height: 80px;
        padding: 15px;
    }

    .brand-logo img {
        max-height: 50px;
    }
}