/* ============================================
   SECTIONS REDESIGN CSS
   - Why Choose CREFIN Section
   - How It Works Section
   ============================================ */

/* ============================================
   WHY CHOOSE CREFIN SECTION
   ============================================ */

.why-choose-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.why-choose-section .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.why-choose-section .section-title h3 {
    font-size: 45px;
    line-height: 50px;
    font-weight: 700;
    color: #232323;
    margin-bottom: 0;
}

/* Mobile Phone Mockup Column */
.phone-mockup-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.phone-mockup-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Feature Cards Grid */
.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 20px 0;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-card .card-number {
    font-size: 18px;
    font-weight: 700;
    color: #232323;
    margin-bottom: 12px;
    display: block;
}

.feature-card .card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card .card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Icon placeholders with colors */
.feature-card .card-icon.icon-bank {
    background: #fff3e6;
    border-radius: 12px;
    padding: 12px;
}

.feature-card .card-icon.icon-ai {
    background: #ffe6e0;
    border-radius: 12px;
    padding: 12px;
}

.feature-card .card-icon.icon-options {
    background: #f0f0f0;
    border-radius: 12px;
    padding: 12px;
}

.feature-card .card-icon.icon-transparent {
    background: #fff3e6;
    border-radius: 12px;
    padding: 12px;
}

.feature-card .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #232323;
    margin-bottom: 10px;
    line-height: 1.4;
}

.feature-card .card-description {
    font-size: 14px;
    color: #232323;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-it-works-section {
    padding: 80px 0;
    background: #ffffff;
}

.how-it-works-section .section-header {
    margin-bottom: 50px;
}

.how-it-works-section .section-title-wrapper {
   /* margin-bottom: 30px;*/
}

.how-it-works-section .section-title-wrapper h3 {
    font-size: 48px;
    font-weight: 700;
    color: #232323;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

/* Teal underline accent */
 

.how-it-works-section .section-description {
    font-size: 16px;
    line-height: 1.8;
    color: #232323;
    max-width: 900px;
    margin: 0 auto;
}

.how-it-works-section .section-description strong {
    color: #232323;
    font-weight: 600;
}

/* Process Cards */
.process-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.process-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.process-card:hover {
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.process-card .card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
}

.process-card .card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Icon colors */
.process-card .card-icon.icon-blue {
    background: #e3f2fd;
}

.process-card .card-icon.icon-cyan {
    background: #e0f7fa;
}

.process-card .card-icon.icon-light-blue {
    background: #e1f5fe;
}

.process-card .card-icon.icon-teal {
    background: #e0f2f1;
}

.process-card .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #232323;
    margin-bottom: 12px;
    line-height: 1.4;
}

.process-card .card-description {
    font-size: 14px;
    color: #232323;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets (992px - 1199px) */
@media (max-width: 1199px) {
    .why-choose-section .section-title h3,
    .how-it-works-section .section-title-wrapper h3 {
        font-size: 38px;
        line-height: 44px;
    }

    .feature-cards-grid {
        gap: 20px;
    }

    .process-cards-wrapper {
        gap: 20px;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    .why-choose-section,
    .how-it-works-section {
        padding: 60px 0;
    }

    .why-choose-section .section-title h3 {
        font-size: 32px;
        line-height: 38px;
    }

    .how-it-works-section .section-title-wrapper h3 {
        font-size: 36px;
        line-height: 42px;
    }

    /* Stack phone mockup on top */
    .phone-mockup-wrapper {
        margin-bottom: 40px;
    }

    /* 2 column grid on tablets */
    .process-cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-cards-grid {
        gap: 18px;
    }

    .feature-card {
        padding: 25px 20px;
    }
}

/* Mobile (576px - 767px) */
@media (max-width: 767px) {
    .why-choose-section,
    .how-it-works-section {
        padding: 50px 0;
    }

    .why-choose-section .section-title {
        margin-bottom: 40px;
    }

    .why-choose-section .section-title h3 {
        font-size: 28px;
        line-height: 34px;
    }

    .how-it-works-section .section-title-wrapper h3 {
        font-size: 32px;
        line-height: 38px;
    }

    .how-it-works-section .section-description {
        font-size: 15px;
    }

    /* Hide phone mockup on mobile to save space */
    .phone-mockup-wrapper {
        display: none;
    }

    /* Single column for feature cards */
    .feature-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        padding: 20px 18px;
    }

    .feature-card .card-icon {
        width: 50px;
        height: 50px;
    }

    /* Single column for process cards */
    .process-cards-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .process-card {
        padding: 30px 20px;
    }
}

/* Small Mobile (<576px) */
@media (max-width: 575px) {
    .why-choose-section,
    .how-it-works-section {
        padding: 40px 0;
    }

    .why-choose-section .section-title h3 {
        font-size: 24px;
        line-height: 30px;
    }

    .how-it-works-section .section-title-wrapper h3 {
        font-size: 28px;
        line-height: 34px;
    }

    .how-it-works-section .section-title-wrapper h3::after {
        width: 60px;
        height: 3px;
    }

    .feature-card .card-title,
    .process-card .card-title {
        font-size: 16px;
    }

    .feature-card .card-description,
    .process-card .card-description {
        font-size: 13px;
    }

    .how-it-works-section .section-description {
        font-size: 14px;
    }
}

/* ============================================
   ICON STYLING (Simple icon placeholders)
   ============================================ */

.card-icon i {
    font-size: 32px;
    color: #144362;
}

.card-icon.icon-bank i {
    color: #ff8c42;
}

.card-icon.icon-ai i {
    color: #ff6b4a;
}

.card-icon.icon-options i {
    color: #232323;
}

.card-icon.icon-transparent i {
    color: #d4a373;
}

.card-icon.icon-blue i {
    color: #2196F3;
}

.card-icon.icon-cyan i {
    color: #00BCD4;
}

.card-icon.icon-light-blue i {
    color: #03A9F4;
}

.card-icon.icon-teal i {
    color: #009688;
}
