/* become-customer.css */
/* Page Header Image Style */
.page-header-image {
    position: relative;
    height: 295px;
    width: 100%;
    background-size: cover;
    background-position: center;
    margin-bottom: 0;
}

.page-header-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(22, 36, 65, 0.7);
}

.page-header-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 30px;
}

.page-header-content h1 {
    color: #fff;
    margin: 0;
    font-size: 2.5rem;
    line-height: 2.5rem;
}

.page-header-content .breadcrumbs {
    color: #fff;
    font-size: 14px;
}

.page-header-content .breadcrumbs a {
    color: #fff;
    text-decoration: none;
}

.page-header-content .breadcrumbs a:hover {
    text-decoration: underline;
}

/* Customer intro section */
.customer-intro {
    background-color: #fff;
    padding: 100px 0;
    position: relative;
}

.customer-intro-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

.customer-intro-text {
    flex: 1;
}

.customer-intro-text h2 {
    font-size: 28px;
    color: var(--color-heading);
    margin-bottom: 20px;
    line-height: 1.2;
}

.customer-intro-text p {
    font-size: 1.1rem;
    color: #666;
}

.customer-intro-image {
    flex: 1;
}

.customer-intro-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* CTA Button */
.cta-button {
    background-color: #1e3c7b;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-block;
    text-decoration: none;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #162756;
}

/* Features section */
.features-section {
    position: relative;
    margin-top: -40px; /* Pull up the entire section */
    padding: 0 20px; /* Side padding for container */
}

.features-holder {
    max-width: 100%;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.features-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.feature {
    flex: 1;
    text-align: center;
}

.feature-icon {
    margin-bottom: 15px;
    color: var(--color-medium-blue);
}

.feature-icon img {
    width: 50px;
    height: auto;
}

.feature p {
    font-size: 1rem;
    color: var(--color-heading);
}

/* Form container */
.page-content {
    background-color: #f0f0f0;
}

.application-form {
    margin: 0 auto 60px;
    padding: 40px;
    background-color: #fff;
    border-radius: 16px;
    margin-top: 40px;
}

form {
    max-width: 800px;
    margin: 0 auto;
}

.application-form h2 {
    color: var(--color-heading);
    font-size: 28px;
    margin: 40px 0 30px;
    text-align: center;
}

.application-form h2:first-child {
    margin-top: 0;
}

.form-row {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 4px; /* Closer to the input */
    color: var(--color-heading);
    font-weight: 400;
    font-size: 0.85rem; /* Smaller text */
}

.form-group input {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border: none;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-medium-blue);
}

/* Checkbox styles */
.form-checkboxes {
    margin: 30px 0;
}

.form-check {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 2px 0 0 0;
}

.form-check label {
    color: var(--color-heading);
    font-size: 0.95rem;
}

.form-check a {
    color: var(--color-medium-blue);
    text-decoration: none;
}

.form-check a:hover {
    text-decoration: underline;
}

/* Submit button */
.submit-button {
    background-color: #1e3c7b;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background-color: #162756;
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-header-content h1 {
        font-size: 2rem;
    }

    .header-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .customer-intro {
        padding-top: 40px;
        padding-bottom: 80px;
    }

    .customer-intro-content {
        flex-direction: column;
    }

    .features-container {
        flex-direction: column;
        margin-top: -20px;
        padding: 20px;
        gap: 15px;
    }
    
    .feature {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 15px;
    }
    
    .feature-icon {
        margin-bottom: 0;
    }
    
    .feature-icon img {
        width: 24px; /* Much smaller icons on mobile */
        height: auto;
    }
    
    .feature p {
        margin: 0;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .customer-intro-text h2 {
        font-size: 24px;
    }

    .application-form {
        padding: 20px;
        margin: 30px auto;
    }
    
    .application-form h2 {
        font-size: 24px;
    }
}