/* 
 * LoanBazzar Products Page Stylesheet
 */

/* Page Header */
.page-header {
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Products Catalogue */
.products-catalogue {
    padding: 60px 0;
    background-color: var(--light-grey);
}

/* Filters */
.products-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--white);
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 30px;
    font-family: var(--body-font);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.search-box {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 10px 45px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-family: var(--body-font);
    margin: 0;
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--secondary-blue);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 40px;
}

.product-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Product card accent - adds visual interest without images */
.product-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 30%;
    background: linear-gradient(to bottom, var(--primary-blue), var(--secondary-blue));
    border-radius: 12px 0 0 0;
    transition: height 0.3s ease;
}

.product-card:hover:before {
    height: 50%;
}

.product-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    padding-bottom: 14px;
}

.product-content h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
    opacity: 0.7;
}

.product-content p {
    margin-bottom: 30px;
    color: var(--dark-grey);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
    opacity: 0.85;
}

.product-action {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.product-action .btn {
    flex: 1;
    padding: 14px 20px;
    font-size: 0.9rem;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.product-action .btn-secondary {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #dee2e6;
}

.product-action .btn-primary {
    background-color: #F97316; /* Orange */
    color: #fff;
    border: none;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.product-action .btn:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.product-action .btn-secondary:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: var(--primary-blue);
}

.product-action .btn-primary:hover {
    background-color: #F05D05; /* Slightly darker orange */
    box-shadow: 0 6px 14px rgba(249, 115, 22, 0.4);
}

/* No Products Message */
.no-products {
    text-align: center;
    padding: 40px 0;
}

.no-products p {
    font-size: 1.1rem;
    color: var(--dark-grey);
}

/* Products CTA */
.products-cta {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.products-cta h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 20px;
}

.products-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Individual Product Page Styles */
.product-hero {
    background: var(--primary-blue); /* Solid Royal Blue background */
    color: var(--white);
    padding: 80px 0 140px;
    position: relative;
    overflow: hidden;
}

.product-category {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-summary {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.product-highlights-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.highlight-item i {
    color: var(--secondary-orange); /* Warm Orange */
    margin-right: 8px;
}

.image-wrapper {
    position: relative;
    z-index: 1;
}

.image-wrapper img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 400px;
}

.image-shape {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary-orange); /* Warm Orange */
    border-radius: 12px;
    z-index: -1;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: var(--white);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.badge-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-orange); /* Warm Orange */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.badge-text {
    color: var(--warm-dark);
    font-weight: 600;
    line-height: 1.3;
}

/* Criteria Section */
.criteria-section {
    background-color: var(--white);
    padding: 80px 0;
}

.criteria-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.criteria-card {
    background-color: var(--warm-gray);
    border-radius: 12px;
    padding: 25px;
    position: relative;
    border-left: 4px solid var(--secondary-orange); /* Warm Orange */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.criteria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.criteria-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--secondary-orange); /* Warm Orange */
    font-size: 1.2rem;
    opacity: 0.5;
}

.criteria-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: var(--secondary-orange); /* Warm Orange */
    border-radius: 50%;
    color: var(--white);
    text-align: center;
    line-height: 30px;
    font-weight: 700;
    margin-bottom: 15px;
}

.criteria-note {
    background-color: rgba(255, 193, 7, 0.1); /* #ffc107 Yellow with opacity */
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.note-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-yellow); /* #fd7e14 Orange */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.product-hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.product-hero-text {
    flex: 1;
}

.product-hero-text h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.product-hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.product-hero-image {
    flex: 1;
    text-align: center;
}

.product-hero-image img {
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.product-section {
    padding: 60px 0;
}

.product-section:nth-child(even) {
    background-color: var(--light-grey);
}

.key-criteria {
    margin-bottom: 40px;
}

.criteria-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.criteria-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.criteria-item i {
    color: var(--accent-orange);
    font-size: 1.5rem;
}

/* Process Section */
.process-section {
    background-color: var(--warm-gray);
    padding: 80px 0;
}

.modern-process {
    max-width: 900px;
    margin: 0 auto 50px;
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-item {
    background-color: var(--white);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    display: flex;
    padding: 25px;
    gap: 20px;
}

.step-indicator {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-orange); /* Warm Orange */
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(255, 122, 0, 0.3);
}

.step-line {
    width: 2px;
    height: 100%;
    background-color: var(--secondary-yellow); /* #fd7e14 Orange */
    opacity: 0.3;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--secondary-yellow); /* #fd7e14 Orange */
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.step-action {
    margin-top: 15px;
}

.cta-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(253, 126, 20, 0.1); /* #fd7e14 Orange with opacity */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-yellow); /* #fd7e14 Orange */
    font-size: 1.8rem;
}

.cta-text {
    flex: 1;
}

.cta-text h3 {
    margin-bottom: 5px;
}

.cta-text p {
    margin: 0;
    opacity: 0.8;
}

/* Documents Section */
.documents-section {
    padding: 80px 0;
    background-color: var(--white);
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.document-card {
    background-color: var(--warm-gray);
    border-radius: 12px;
    padding: 25px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.document-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 193, 7, 0.1); /* #ffc107 Yellow with opacity */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.document-icon i {
    font-size: 1.8rem;
    color: var(--secondary-yellow); /* #fd7e14 Orange */
}

.document-content {
    flex: 1;
}

.document-content h4 {
    color: var(--warm-dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.document-format {
    margin-top: 15px;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--warm-dark);
}

.documents-note {
    background-color: rgba(0, 0, 0, 0.03);
    border-left: 4px solid var(--secondary-yellow); /* #fd7e14 Orange */
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.documents-note .note-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--warm-gray);
    padding: 80px 0;
}

.modern-faq {
    max-width: 900px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question-text {
    display: flex;
    align-items: center;
    gap: 15px;
}

.question-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 193, 7, 0.1); /* #ffc107 Yellow with opacity */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-yellow); /* #fd7e14 Orange */
    font-size: 1.2rem;
    flex-shrink: 0;
}

.question-text h3 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.toggle-icon {
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 25px 0 80px;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 25px 25px 80px;
}

.faq-question.active .toggle-icon {
    background-color: var(--secondary-yellow); /* #fd7e14 Orange */
    color: var(--white);
    transform: rotate(180deg);
}

.faq-cta {
    text-align: center;
    margin-top: 40px;
}

.faq-cta p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Required Documents */
.document-list {
    margin-top: 30px;
}

.document-item {
    background-color: var(--white);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}

.document-item i {
    color: var(--accent-orange);
    font-size: 1.3rem;
}

/* FAQs */
.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    font-family: var(--heading-font);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--white);
    border-radius: 8px;
}

.faq-question:hover {
    background-color: var(--light-grey);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* Call-to-Action Section */
.cta-section {
    background-color: var(--white);
    padding: 80px 0;
}

.final-cta-wrapper {
    background: var(--primary-blue); /* Solid Royal Blue background */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    color: var(--white);
}

.final-cta-content {
    flex: 1;
    padding: 50px;
}

.cta-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-badge i {
    margin-right: 5px;
}

.final-cta-content h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.final-cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 500px;
}

.cta-features {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-item i {
    width: 24px;
    height: 24px;
    background-color: var(--light-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--warm-dark);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.final-cta-image {
    flex: 1;
    height: 400px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.final-cta-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.cta-stats {
    position: absolute;
    bottom: 50px;
    right: 50px;
}

.stat-bubble {
    width: 90px;
    height: 90px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(253, 126, 20, 0.4); /* #fd7e14 Orange */
    }
    70% {
        box-shadow: 0 0 0 15px rgba(253, 126, 20, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(253, 126, 20, 0);
    }
}

.bubble-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-yellow); /* #fd7e14 Orange */
    line-height: 1;
}

.bubble-label {
    font-size: 0.7rem;
    color: var(--warm-dark);
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .product-hero-content {
        flex-direction: column;
    }
    
    .product-hero-image {
        order: -1;
    }
    
    .product-hero-image img {
        max-width: 300px;
    }
    
    .process-steps {
        justify-content: center;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .final-cta-wrapper {
        flex-direction: column;
    }
    
    .final-cta-content,
    .final-cta-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .products-filter {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .product-content {
        padding: 25px;
    }
    
    .product-content h3 {
        font-size: 1.3rem;
    }
    
    .product-action {
        flex-direction: column;
        gap: 10px;
    }
    
    .product-action .btn {
        padding: 12px 15px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2rem;
    }
}
