/* Terms of Use Page Styles */

section.termsPage {
    padding: 70px 0 50px;
    background-color: #f8f9fa;
}

.termsWrapper {
    display: flex;
    justify-content: center;
}

.termsContent {
    max-width: 1100px;
    width: 100%;
    background-color: #fff;
    padding: 40px 60px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Header Styles */
.terms-header {
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 40px;
}
.terms-header img{
   display: inline-block;
}
.terms-main-icon {
    color: #367fd3;
    margin-bottom: 20px;
}

.termsPage h1 {
color: #464860;
    font-weight: 500;
    line-height: 130%;
    padding-bottom: 5px;
        max-width: 130%;
    font-size: 35px;
}

.company-name {
    font-size: 20px;
    color: #0654E6;
    font-weight: 600;
    margin-bottom: 10px;
    text-decoration: underline;
    display: block;
}

.company-name:hover {
    text-decoration: none;
}

.last-updated {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
    margin-top: 10px;
}

.last-updated svg {
    color: #0554E6;
}

/* Section Styles */
.terms-section {
    margin: 50px 0;
}

.terms-section h2 {
    margin-bottom: 24px;
color: #464860;
    font-weight: 500;
    line-height: 130%;
    font-size: 26px;
}


.terms-section h3 {
    font-size: 17px;
    line-height: 1.3;
    color: #464860;
    margin: 25px 0 8px;
    font-weight: 500;
}

.terms-section h4 {
    font-size: 18px;
    line-height: 1.3;
    color: #464860;
    margin: 15px 0 10px;
    font-weight: 600;
}

.termsContent p {
    font-size: 15px;
    line-height: 1.7;
    color: #60738A;
        margin-bottom: 12px;
}

.termsContent p a,
.termsContent ul li a {
    color: #0554E6;
    text-decoration: none;
    font-weight: 500;
}

.termsContent p a:hover,
.termsContent ul li a:hover {
    text-decoration: underline;
}

.termsContent ul {
    padding-left: 30px;
    margin-bottom: 20px;
}

.termsContent ul li {
    font-size: 15px;
    line-height: 1.7;
    color: #575E62;
    margin-bottom: 5px;
    list-style-type: disc;
}

.termsContent ul li strong {
    color: #0554E6;
}

.termsContent ol {
    padding-left: 30px;
    margin-bottom: 20px;
}

.termsContent ol li {
    font-size: 17px;
    line-height: 1.7;
    color: #575E62;
    margin-bottom: 10px;
}

/* Info Box */
.info-box {
border-left: 4px solid #0554E6;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 6px;
background: #f4f9ff;
}

.info-box h3 {
    color: #575E62;
    margin-top: 0;
    margin-bottom: 15px;
}

.info-box ul {
    margin-bottom: 0;
}

.info-box p {
    margin-bottom: 0;
}

/* Important Note */
.important-note {
    background-color: #fffaea;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.important-note svg {
    color: #856404;
    flex-shrink: 0;
    margin-top: 2px;
}

.important-note span {
    font-size: 15px;
    color: #856404;
    line-height: 1.6;
}

/* Eligibility Grid */
.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.eligibility-card {
    background: #fff;
        border-radius: 30px;
        border: 1px solid #cfdef0;
        padding: 49px 26px 27px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        transition: all .3s ease;
            box-shadow: 0 0 16px 0 #469fdf33;
            /* min-height: 300px; */
            max-width: 330px;
            width: 100%;
            position: relative;
        }


.eligibility-card:hover {
    box-shadow: 0 4px 15px rgba(54, 127, 211, 0.15);
    border-color: #0554E6;
    transform: translateY(-2px);
}

.eligibility-icon {
    color: #28a745;
    margin-bottom: 15px;
}

.eligibility-card h4 {
    font-size: 17px;
    color: #464860;
    margin: 0 0 8px 0;
        font-weight: 500;
}

.eligibility-card p {
    font-size: 14px;
    margin: 0;
    line-height: 130%;
    /* color: #575E62; */
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.service-card {
    background-color: #f8f9fa;
    border-left: 4px solid #0554E6;
    padding: 20px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-icon {
    color: #0554E6;
    margin-bottom: 15px;
}

.service-card h4 {
    font-size: 15px;
        font-weight: 400;
    margin: 0;
}

/* Payment Cards */
.payment-card {
    background-color: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.payment-card:hover {
    box-shadow: 0 4px 15px rgba(54, 127, 211, 0.15);
    border-color: #0554E6;
}

.payment-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.payment-icon {
    color: #0554E6;
    flex-shrink: 0;
}

.payment-card h3 {
    /* color: #01305C; */
    margin: 0;
    /* font-size: 22px; */
}

.payment-card p {
    margin: 0;
    color: #575E62;
}

/* Responsibility List */
.responsibility-list {
    list-style-type: none !important;
    padding-left: 0 !important;
}

.responsibility-list li {
    padding-left: 35px;
    position: relative;
    margin-bottom: 15px;
    list-style: none !important;
}

.responsibility-list li:before {
    content: "✓";
    position: absolute;
    left: 5px;
    color: #28a745;
    font-weight: bold;
    font-size: 17px;
}

/* Prohibited Grid */
.prohibited-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.prohibited-card {
    background-color: #fffcfc;
        border: 1px solid #ffe5e5;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.prohibited-card:hover {
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.15);
    border-color: #dc2626;
}

.prohibited-icon {
    color: #dc2626;
    flex-shrink: 0;
    margin-top: 2px;
}

.prohibited-card p {
    margin: 0;
    font-size: 14px;
        color: #464860;
}

/* Chargeback Section */
.chargeback-section {
    background-color: #ffffff;
        border: 1px solid #cfdef0;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.chargeback-section h3 {
    color: #464860;
    margin-top: 0;
}

.chargeback-section ul {
    list-style-type: disc;
}

.chargeback-section ul li {
color: #60738A;
}

/* Commitment Banner */
.commitment-banner {
    background: #f4f9ff;
        border: 1px solid #d1e6ff;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 25px 0;
}

.commitment-banner svg {
    color: #0554E6;
    flex-shrink: 0;
}

.commitment-banner h3 {
    color: #0554E6;
    margin-top: 0;
    margin-bottom: 10px;
}

.commitment-banner p {
    margin: 0;
    /* color: #213970; */
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 25px 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: #f7faff;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #0554E6;
}

.step-number {
    background-color: #0554E6;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
        font-weight: 500;
    flex-shrink: 0;
}

.step-content h4 {
    /* color: #01305C; */
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 500;
}

.step-content p {
    margin: 0;
    color: #575E62;
}

.step-content ul {
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    background-color: #f5fbff;
    padding: 40px;
    border-radius: 12px;
    margin-top: 50px;
}

.contact-section h2 {
    border-left: none;
    color: #464860;
    padding-left: 0;
    text-align: center;
    margin-bottom: 30px;
}
.contact-section .termsContent p {
    text-align: center;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.contact-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 4px 12px rgba(54, 127, 211, 0.15);
    border-color: #0554E6;
    transform: translateY(-2px);
}

.contact-icon-main {
    color: #0554E6;
        /* margin-bottom: 15px; */
}

.contact-card h4 {
    font-size: 18px;
    /* color: #01305C; */
    margin-bottom: 10px;
}

.contact-card p {
    margin-bottom: 0;
    font-size: 16px;
}
.terms-section .contact-card a {
    color: #60738A;
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
    color: #0554E6;
}

/* Company Info */
.company-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #dee2e6;
}

.company-info h3 {
    color: #01305C;
    font-size: 22px;
    margin-bottom: 20px;
}

.company-info h4 {
    color: #213970;
    font-size: 18px;
    margin: 25px 0 15px;
}

.location-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.location-item svg {
    color: #367fd3;
    flex-shrink: 0;
    margin-top: 3px;
}

.location-item strong {
    display: block;
    color: #01305C;
    margin-bottom: 8px;
    font-size: 16px;
}

.location-item p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.legal-entity {
    margin-top: 25px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.legal-entity p {
    margin: 0;
    color: #575E62;
}

/* Related Links */
.related-links {
    background-color: #f5fbff;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.related-links ul {
    margin-bottom: 0;
}

.related-links ul li {
    margin-bottom: 10px;
}

/* Footer Note */
.terms-footer-note {
background: linear-gradient(180deg, #1176CA 0%, #064377 100%);
    color: #fff;
    padding: 40px;
    border-radius: 12px;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.terms-footer-note svg {
    color: #fff;
}

.terms-footer-note p {
    color: #fff;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    max-width: 66ch;
}

.terms-footer-note strong {
    font-size: 18px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .termsContent {
        padding: 40px 50px;
    }
}

@media (max-width: 991px) {
    .termsContent {
        padding: 35px 40px;
    }

    .termsPage h1 {
        font-size: 36px;
    }

    .terms-section h2 {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    section.termsPage {
        padding: 50px 0 40px;
    }

    .termsWrapper {
        flex-direction: column;
    }

    .termsContent {
        padding: 30px 25px;
        border-radius: 8px;
    }

    .termsPage h1 {
        font-size: 30px;
    }

    .terms-section h2 {
        font-size: 22px;
    }

    .terms-section h3 {
        font-size: 20px;
    }

    .termsContent p,
    .termsContent ul li {
        font-size: 15px;
    }

 .eligibility-grid,
    .service-grid,
    .prohibited-grid,
    .contact-grid {
        grid-template-columns: 1fr;

    }
                                 .eligibility-grid {
                                     justify-items: center;
                                     align-items: center;
                                 }
    .commitment-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-section {
        padding: 30px 20px;
    }
}

@media (max-width: 575px) {
    section.termsPage {
        padding: 40px 0 30px;
    }

    .termsContent {
        padding: 25px 20px;
    }

    .termsPage h1 {
        font-size: 26px;
    }

    .company-name {
        font-size: 18px;
    }

    .terms-header {
        padding-bottom: 30px;
    }

    .terms-main-icon {
        width: 40px;
        height: 40px;
    }

    .terms-section h2 {
        font-size: 20px;
    }

    .terms-section h3 {
        font-size: 18px;
    }

    .termsContent p,
    .termsContent ul li {
        font-size: 14px;
    }

    .payment-card {
        padding: 20px;
    }

    .chargeback-section {
        padding: 20px;
    }

    .commitment-banner {
        padding: 20px;
    }

    .process-step {
        padding: 20px;
    }

    .terms-footer-note {
        padding: 25px 20px;
    }
}
