/* nigeria-loans.css */

.counsellor-section {
    padding: 60px 0;
    background: #f8f9fb;
}

.hero-text {
    transform: translateX(-38px);
}

.counsellor-card {
    background: white;
    border-radius: 30px;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: 0 auto;
}

.counsellor-image {
    width: 200px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #096F71;
}

.counsellor-content {
    flex: 1;
}

.counsellor-content h3 {
    font-size: 2rem;
    color: #042048;
    margin-bottom: 0.5rem;
}

.counsellor-tagLine {
    color: #096F71;
    font-weight: 600;
    margin-bottom: 1rem;
}

.counsellor-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 1.5rem;
    border-left: 4px solid #fec64f;
    padding-left: 1rem;
}

.counsellor-actions {
    display: flex;
    gap: 1rem;
}

.lender-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.lender-card {
    background: white;
    border: 2px solid #94a3b8;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.lender-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #096F71;
}

.lender-card img {
    height: 40px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1rem;
}

.sanction-snapshots {
    padding: 60px 0;
    background: #042048;
    color: white;
    text-align: center;
}

.sanction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.sanction-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.sanction-item img {
    width: 100%;
    border-radius: 8px;
    filter: blur(4px);
    transition: filter 0.3s;
}

/* Substantial Eligibility Section */
.eligibility-standard {
    padding: 20px 0 60px;
    background: #f8fafc;
    /* Light slate background */
}

.eligibility-standard h1,
.why-choose-premium h2,
.options h2,
.lending-partners-premium h2,
.pathway-comparison h2,
.faq h2,
.application h2 {
    color: #042048;
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
}

.doc-grid-premium {
    margin-top: 30px;
}

.doc-card-elite {
    background: #ffffff;
    border: 4px solid #ffffff;
    border-radius: 30px;
    padding: 2rem !important;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.doc-card-elite .icon-box {
    width: 50px;
    height: 50px;
    background: rgba(9, 111, 113, 0.1);
    color: #096F71;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.doc-card-elite:hover .icon-box {
    background: #096F71;
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.doc-card-elite h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #042048;
    margin: 0;
}

.doc-card-elite p {
    font-size: 1.2rem;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

.disclaimer-box {
    margin-top: 40px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: rgba(254, 198, 79, 0.1);
    /* Brand Gold Tint */
    border: 1px solid rgba(254, 198, 79, 0.3);
    border-radius: 50px;
    color: #042048;
    font-weight: 700;
}

/* Review Slider Styles */
.review-slider-section {
    padding: 60px 0;
    background: #fff;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    width: fit-content;
    gap: 10px;
    animation: scroll 30s linear infinite;
}

.slider-wrapper:hover {
    animation-play-state: paused;
}

.review-card {
    flex: 0 0 auto;
}

.review-card img {
    height: 390px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Sanction Snapshots Section */
.sanction-snapshots-section {
    padding: 60px 0;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
}

/* White Gradient Masks */
.slider-container::before,
.slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slider-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.slider-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.sanction-wrapper {
    display: flex;
    width: fit-content;
    gap: 20px;
    animation: scroll-reverse 40s linear infinite;
}

.sanction-wrapper:hover {
    animation-play-state: paused;
}

.sanction-card {
    flex: 0 0 auto;
}

.sanction-card img {
    height: 440px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Application Section & Form Styling */
.application {
    /* background: linear-gradient(135deg, #042048 0%, #063c8a 100%); */
    position: relative;
    overflow: hidden;
}

.application::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(254, 198, 79, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.premium-form-card {
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 3.5rem;
    position: relative;
    z-index: 1;
    border: 2px solid #cbd5e1;
}

.form-floating-custom {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-floating-custom input,
.form-floating-custom select {
    height: 60px;
    padding: 10px 20px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.form-floating-custom input:focus,
.form-floating-custom select:focus {
    border-color: #096F71;
    box-shadow: 0 0 0 4px rgba(9, 111, 113, 0.1);
    background-color: #fff;
    outline: none;
}

.btn-premium-primary {
    background: #fec64f;
    color: #042048;
    font-weight: 700;
    font-size: 1.35rem;
    padding: 1.20rem 2rem;
    border-radius: 14px;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(254, 198, 79, 0.3);
    width: 100%;
    margin-bottom: 1rem;
}

.btn-premium-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(254, 198, 79, 0.4);
    background: #ffd06b;
    color: #042048;
}

.btn-link-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    color: #475569;
}

.btn-link-action:hover {
    border-color: #096F71;
    color: #096F71;
    background: rgba(9, 111, 113, 0.05);
}

.form-row-custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Why Choose Section Upgrades */
.why-choose-premium {
    padding: 60px 0 20px;
    background: #f8f9fb;
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.why-card-premium {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    border: 2px solid #cbd5e1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-card-premium:hover {
    transform: translateY(-10px);
    border-color: #096F71;
    box-shadow: 0 20px 40px rgba(9, 111, 113, 0.1);
}

.why-card-premium .icon-box {
    width: 70px;
    height: 70px;
    background: rgba(9, 111, 113, 0.05);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #096F71;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.why-card-premium:hover .icon-box {
    background: #096F71;
    color: white;
    transform: rotate(10deg);
}

.why-card-premium h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #042048;
    margin-bottom: 1rem;
}

.why-card-premium p {
    font-size: 1.2rem;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.6;
}

.infrastructure-badge {
    display: inline-block;
    background: rgba(4, 32, 72, 0.05);
    border: 1px solid #042048;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: #042048;
    margin-top: 1rem;
}

/* Hero Counselor Card */
.hero-counselor-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-counselor-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fec64f;
}

.hero-counselor-info h4 {
    font-size: 1.1rem;
    margin: 0;
    color: #042048;
    font-weight: 700;
}

.hero-counselor-info p {
    font-size: 0.85rem;
    margin: 2px 0 10px;
    color: #64748b;
}

.hero-counselor-btns {
    display: flex;
    gap: 10px;
}

.hero-counselor-btns .btn-tiny {
    padding: 8px 15px;
    font-size: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-whatsapp-tiny {
    background: #25D366;
    color: white !important;
}

.btn-apply-tiny {
    background: #042048;
    color: white !important;
}

.hero-counselor-btns .btn-tiny:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Modal Styling */
.assessment-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content-custom {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideInDown 0.4s ease;
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #042048;
}

@keyframes slideInDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Hero Feature Cards */
.hero-feature-grid {
    display: flex;
    grid-template-columns: repeat(2, 1fr);
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 15px;
    margin: 25px 0;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-feature-card:nth-child(3) {
    grid-column: 1 / span 2;
    justify-self: center;
}

.hero-feature-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 22px;
    border-radius: 12px;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    width: fit-content !important;
    flex: 0 0 auto !important;
}

.hero-feature-card i {
    color: #fec64f;
    font-size: 1.1rem;
}

.hero-feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fec64f;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-feature-grid {
        align-items: center;
        margin: 20px auto;
        width: 100%;
    }

    .hero-feature-card {
        justify-content: center;
        width: 100%;
        max-width: 280px;
        font-size: 1rem;
        padding: 12px;
    }

    .hero-counselor-card {
        flex-direction: column;
        text-align: center;
        max-width: 100%;
        padding: 20px 15px;
    }

    .hero-counselor-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-counselor-btns .btn-tiny {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .hero-badge {
        font-size: 1.1rem !important;
        margin-bottom: 10px !important;
    }

    .hero h1 {
        font-size: 1.85rem !important;
        line-height: 1.2 !important;
    }

    .hero h1 br {
        display: none;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }

    .hero-text {
        transform: none !important;
        padding: 0 10px;
    }

    .hero-image {
        margin-top: 2rem !important;
        display: block !important;
    }

    .modal-content-custom {
        margin: 10% auto;
        padding: 30px 20px;
        width: 95%;
    }
}

/* Lending Partners Section Premium */
.lending-partners-premium {
    padding: 70px 0 30px;
    background: #ffffff;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.criteria-card {
    background: #f8fafc;
    border: 2px solid #cbd5e1;
    padding: 20px 15px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.criteria-card:hover {
    background: #ffffff;
    border-color: #096F71;
    box-shadow: 0 10px 20px rgba(9, 111, 113, 0.05);
    transform: translateY(-5px);
}

.criteria-card i {
    font-size: 1.5rem;
    color: #096F71;
    margin-bottom: 12px;
    display: block;
}

.criteria-card span {
    font-weight: 700;
    color: #042048;
    font-size: 1.25rem;
    display: block;
}

.logo-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
}

.logo-item {
    flex: 0 0 auto;
    width: 150px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.3);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.match-notice {
    background: #042048;
    color: white;
    padding: 22px 45px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 30px;
    font-weight: 600;
    font-size: 1.2rem;
}

.match-notice strong {
    color: #fec64f;
}

@media (max-width: 991px) {
    .criteria-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .criteria-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-item {
        width: 120px;
    }
}

/* Pyramid Grid Layout (3-2) */
.pyramid-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 30px;
}

.card-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.card-row .card,
.card-row .doc-card-elite {
    flex: 1 1 260px;
    max-width: 320px;
    min-height: 160px;
    /* Reduced from 200px */
    padding: 1.5rem !important;
    /* Reduced from 2rem */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 4px solid #ffffff !important;
    text-align: center;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.card-row .card.card-alt {
    min-height: 280px;
    /* Reduced from 350px */
    justify-content: flex-start;
    padding-top: 2rem !important;
    /* Reduced from 3rem */
}

.card-row .card .icon,
.card-row .doc-card-elite .icon-box {
    margin-bottom: 12px;
    flex-shrink: 0;
}

.card-row .card h3,
.card-row .doc-card-elite h4 {
    min-height: 2em;
    /* Reduced from 3em */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 1.5rem;
    /* Standardized small heading */
}

.card.card-alt {
    background: #ede9de !important;
}

.card.card-alt:nth-child(even) {
    background: #dae3e2 !important;
}

@media (max-width: 991px) {

    .card-row .card,
    .card-row .doc-card-elite {
        flex: 0 1 calc(50% - 16px);
        min-height: 160px;
    }
}

@media (max-width: 768px) {

    .card-row .card,
    .card-row .doc-card-elite {
        flex: 1 1 100%;
        max-width: 100%;
        min-height: auto;
    }
}


/* Pathway Comparison Section */
.pathway-comparison {
    padding: 30px 0 70px;
    background: #f8fafc;
}

.pathway-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.pathway-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 45px;
    border: 2px solid #cbd5e1;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.pathway-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -12px rgba(4, 32, 72, 0.15);
}

.pathway-card.featured {
    border-color: #042048;
}

.pathway-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-blue {
    background: rgba(4, 32, 72, 0.1);
    color: #042048;
}

.badge-teal {
    background: rgba(9, 111, 113, 0.1);
    color: #096F71;
}

.pathway-card i.main-icon {
    font-size: 3rem;
    margin-bottom: 25px;
}

.pathway-card.featured i.main-icon {
    color: #042048;
}

.pathway-card:not(.featured) i.main-icon {
    color: #096F71;
}

.pathway-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #042048;
}

.pathway-card p.lead-text {
    font-size: 1.35rem;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
}

/* Partner Strip in Pathway Card */
.partner-strip-compact {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    background: rgba(9, 111, 113, 0.05);
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(9, 111, 113, 0.1);
}

.p-brand {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-align: center;
}

.p-brand img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}



.pathway-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex-grow: 1;
}

.pathway-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 700;
    color: #0f172a;
    font-size: 1.1rem;
}

.pathway-list li:last-child {
    border-bottom: none;
}

.pathway-list li i {
    font-size: 1.1rem;
}

.pathway-card.featured li i {
    color: #042048;
}

.pathway-card:not(.featured) li i {
    color: #096F71;
}

.pathway-footer {
    background: #f8fafc;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
}

.pathway-footer h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 15px;
}

.pathway-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pathway-footer ul li {
    font-weight: 700;
    color: #042048;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    gap: 8px;
}

.pathway-card .btn-pathway {
    width: 100%;
    padding: 20px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-pathway-primary {
    background: #042048;
    color: #ffffff !important;
}

.btn-pathway-primary:hover {
    background: #0a3674;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(4, 32, 72, 0.2);
}

.btn-pathway-secondary {
    background: #096F71;
    color: #ffffff !important;
}

.btn-pathway-secondary:hover {
    background: #0c8a8c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(9, 111, 113, 0.2);
}

@media (max-width: 991px) {
    .pathway-grid {
        grid-template-columns: 1fr;
    }

    .pathway-card {
        padding: 30px;
    }
}