/* Financial Partners Page Styles */

/* Hero Section */
#financial-hero {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    /* min-height: 85vh; */
    display: flex;
    align-items: center;
}

#financial-hero .overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgb(101 68 0 / 70%) 100%);
    display: flex;
    align-items: center;
}

#financial-hero .inwrap {
    padding: 4em 1em;
    text-align: center;
    width: 90%;
    max-width: 80em;
    margin: 0 auto;
}

#financial-hero .hero-content {
    color: #FFF;
    max-width: 56em;
    margin: 0 auto;
}

#financial-hero .bank-logo {
    margin-bottom: 2em;
    animation: fadeInDown 1s ease-out;
}

#financial-hero .bank-logo img {
    max-width: 20em;
    height: auto;
    /* filter: brightness(0) invert(1); */
}

@media all and (min-width: 48em) {
    #financial-hero .bank-logo img {
        max-width: 25em;
    }
}

#financial-hero .main-title {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 1em;
    line-height: 1.3em;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@media all and (min-width: 48em) {
    #financial-hero .main-title {
        font-size: 3.2em;
    }
}

#financial-hero .subtitle {
    font-size: 1.1em;
    line-height: 1.8em;
    font-weight: 300;
    margin: 0;
    animation: fadeInUp 1s ease-out 0.6s both;
}

@media all and (min-width: 48em) {
    #financial-hero .subtitle {
        font-size: 1.3em;
    }
}

/* Intro Section */
#financial-intro {
    background: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 100%);
    padding: 5em 0;
}

#financial-intro .inwrap {
    width: 90%;
    max-width: 64em;
    margin: 0 auto;
    text-align: center;
}

#financial-intro h2 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 1.5em;
    color: #333;
    position: relative;
    display: inline-block;
}

@media all and (min-width: 48em) {
    #financial-intro h2 {
        font-size: 2.5em;
    }
}

#financial-intro h2::after {
    content: '';
    position: absolute;
    bottom: -0.3em;
    left: 50%;
    transform: translateX(-50%);
    width: 4em;
    height: 0.15em;
    background: linear-gradient(to right, #CA9F47, #d4af37);
}

#financial-intro p {
    font-size: 1.15em;
    line-height: 1.9em;
    color: #555;
    margin-bottom: 1.5em;
}

/* Why Scotiabank Section */
#why-scotiabank {
    background-color: #FFF;
    padding: 5em 0;
}

#why-scotiabank .inwrap {
    width: 90%;
    max-width: 80em;
    margin: 0 auto;
}

#why-scotiabank h2 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 2.5em;
    color: #333;
    text-align: center;
}

@media all and (min-width: 48em) {
    #why-scotiabank h2 {
        font-size: 2.5em;
    }
}

#why-scotiabank .content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3em;
    align-items: center;
}

@media all and (min-width: 64em) {
    #why-scotiabank .content-grid {
        grid-template-columns: 1fr 1fr;
    }
}

#why-scotiabank .content-text p {
    font-size: 1.1em;
    line-height: 1.8em;
    color: #555;
    margin-bottom: 1.5em;
}

#why-scotiabank .image-placeholder {
    width: 100%;
    height: 25em;
    background: linear-gradient(135deg, #CA9F47 0%, #d4af37 100%);
    border-radius: 1em;
    box-shadow: 0 10px 40px rgba(202, 159, 71, 0.3);
}

#why-scotiabank .image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mortgage Info Section */
#mortgage-info {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 5em 0;
    color: #FFF;
}

#mortgage-info .inwrap {
    width: 90%;
    max-width: 80em;
    margin: 0 auto;
}

#mortgage-info h2 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 1em;
    text-align: center;
}

@media all and (min-width: 48em) {
    #mortgage-info h2 {
        font-size: 2.5em;
    }
}

#mortgage-info .section-intro {
    font-size: 1.2em;
    line-height: 1.8em;
    text-align: center;
    margin-bottom: 3em;
    color: #ddd;
}

#mortgage-info .info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em;
    margin-bottom: 3em;
}

@media all and (min-width: 48em) {
    #mortgage-info .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media all and (min-width: 64em) {
    #mortgage-info .info-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

#mortgage-info .info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2em;
    border-radius: 1em;
    text-align: center;
    transition: all 0.4s ease;
}

#mortgage-info .info-card:hover {
    transform: translateY(-10px);
    background: rgba(202, 159, 71, 0.15);
    border-color: rgba(202, 159, 71, 0.3);
    box-shadow: 0 15px 40px rgba(202, 159, 71, 0.2);
}

#mortgage-info .card-icon {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    color: #CA9F47;
}

#mortgage-info .card-icon i {
    display: block;
}

#mortgage-info .info-card h3 {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 0.8em;
    color: #CA9F47;
}

#mortgage-info .info-card p {
    font-size: 1em;
    line-height: 1.6em;
    color: #ddd;
}

#mortgage-info .important-note {
    background: rgba(202, 159, 71, 0.1);
    border-left: 4px solid #CA9F47;
    padding: 1.5em 2em;
    border-radius: 0.5em;
    margin-top: 2em;
}

#mortgage-info .important-note p {
    font-size: 1.05em;
    line-height: 1.7em;
    color: #f0f0f0;
    margin: 0;
}

/* Requirements Section */
#requirements {
    background-color: #f9f9f9;
    padding: 5em 0;
}

#requirements .inwrap {
    width: 90%;
    max-width: 80em;
    margin: 0 auto;
}

#requirements h2 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 1em;
    color: #333;
    text-align: center;
}

@media all and (min-width: 48em) {
    #requirements h2 {
        font-size: 2.5em;
    }
}

#requirements .section-intro {
    font-size: 1.2em;
    line-height: 1.8em;
    text-align: center;
    margin-bottom: 3em;
    color: #555;
    max-width: 56em;
    margin-left: auto;
    margin-right: auto;
}

#requirements .requirements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5em;
    margin-bottom: 4em;
}

@media all and (min-width: 48em) {
    #requirements .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media all and (min-width: 64em) {
    #requirements .requirements-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

#requirements .requirement-item {
    background-color: #FFF;
    padding: 1.5em;
    border-radius: 0.8em;
    display: flex;
    align-items: flex-start;
    gap: 1em;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

#requirements .requirement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

#requirements .req-number {
    background: linear-gradient(135deg, #CA9F47 0%, #d4af37 100%);
    color: #FFF;
    width: 2.5em;
    height: 2.5em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2em;
    flex-shrink: 0;
}

#requirements .requirement-item p {
    font-size: 1.05em;
    line-height: 1.6em;
    color: #555;
    margin: 0;
    padding-top: 0.3em;
}

#requirements .income-docs {
    background-color: #FFF;
    padding: 3em 2em;
    border-radius: 1em;
    margin-bottom: 3em;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

#requirements .income-docs h3 {
    font-size: 1.6em;
    font-weight: 600;
    margin-bottom: 2em;
    color: #333;
    text-align: center;
}

#requirements .income-types {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em;
}

@media all and (min-width: 48em) {
    #requirements .income-types {
        grid-template-columns: repeat(2, 1fr);
    }
}

#requirements .income-type {
    padding: 2em 1em;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border-radius: 0.8em;
    border: 2px solid #e9e9e9;
    transition: all 0.3s ease;
}

@media all and (min-width: 48em) {
    #requirements .income-type {
        padding: 2em;
    }
}

#requirements .income-type:hover {
    border-color: #CA9F47;
    transform: translateY(-3px);
}

#requirements .income-type h4 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 1em;
    color: #CA9F47;
}

#requirements .income-type p {
    font-size: 1.05em;
    line-height: 1.7em;
    color: #555;
    margin: 0;
}

#requirements .download-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 3em 2em;
    border-radius: 1em;
    text-align: center;
}

#requirements .download-section h3 {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 2em;
    color: #FFF;
}

#requirements .download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    max-width: 40em;
    margin: 0 auto;
}

@media all and (min-width: 48em) {
    #requirements .download-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

#requirements .download-btn {
    background: linear-gradient(135deg, #CA9F47 0%, #d4af37 100%);
    color: #FFF;
    padding: 1.2em 2em;
    border-radius: 0.5em;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(202, 159, 71, 0.3);
    flex-direction: column;
}

@media all and (min-width: 48em) {
    #requirements .download-btn {
        flex-direction: row;
    }
}

#requirements .download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(202, 159, 71, 0.5);
    background: linear-gradient(135deg, #d4af37 0%, #CA9F47 100%);
}

#requirements .download-btn .icon {
    font-size: 1.5em;
}

#requirements .download-btn .icon i {
    color: #FFF;
    display: block;
}

#requirements .download-btn .text {
    flex: 1;
    text-align: center;
}

@media all and (min-width: 48em) {
    #requirements .download-btn .text {
        text-align: left;
    }
}

/* Insurance and Costs Section */
#insurance-costs {
    background-color: #FFF;
    padding: 5em 0;
}

#insurance-costs .inwrap {
    width: 90%;
    max-width: 80em;
    margin: 0 auto;
}

#insurance-costs .two-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3em;
}

@media all and (min-width: 64em) {
    #insurance-costs .two-column {
        grid-template-columns: repeat(2, 1fr);
    }
}

#insurance-costs .column {
    background-color: #f9f9f9;
    padding: 3em 1.5em;
    border-radius: 1em;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

@media all and (min-width: 48em) {
    #insurance-costs .column {
        padding: 3em 2.5em;
    }
}

#insurance-costs h2 {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 1.5em;
    color: #333;
}

#insurance-costs p {
    font-size: 1.1em;
    line-height: 1.8em;
    color: #555;
    margin-bottom: 1.5em;
}

#insurance-costs .costs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#insurance-costs .costs-list li {
    font-size: 1.1em;
    line-height: 1.8em;
    color: #555;
    margin-bottom: 1em;
    padding-left: 2em;
    position: relative;
}

#insurance-costs .costs-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #CA9F47;
    font-weight: 700;
    font-size: 1.3em;
}

/* How We Help Section */
#how-we-help {
    background: linear-gradient(to bottom, #f9f9f9 0%, #ffffff 100%);
    padding: 5em 0;
}

#how-we-help .inwrap {
    width: 90%;
    max-width: 80em;
    margin: 0 auto;
}

#how-we-help h2 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 1em;
    color: #333;
    text-align: center;
}

@media all and (min-width: 48em) {
    #how-we-help h2 {
        font-size: 2.5em;
    }
}

#how-we-help .section-intro {
    font-size: 1.2em;
    line-height: 1.8em;
    text-align: center;
    margin-bottom: 3em;
    color: #555;
    max-width: 56em;
    margin-left: auto;
    margin-right: auto;
}

#how-we-help .help-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em;
    margin-bottom: 3em;
}

@media all and (min-width: 48em) {
    #how-we-help .help-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media all and (min-width: 64em) {
    #how-we-help .help-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

#how-we-help .step-item {
    background-color: #FFF;
    padding: 2.5em 2em;
    border-radius: 1em;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

#how-we-help .step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.3em;
    background: linear-gradient(to right, #CA9F47, #d4af37);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

#how-we-help .step-item:hover::before {
    transform: scaleX(1);
}

#how-we-help .step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(202, 159, 71, 0.2);
}

#how-we-help .step-icon {
    background: linear-gradient(135deg, #CA9F47 0%, #d4af37 100%);
    color: #FFF;
    width: 3.5em;
    height: 3.5em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.8em;
    margin: 0 auto 1.5em;
    box-shadow: 0 5px 15px rgba(202, 159, 71, 0.3);
}

#how-we-help .step-item h3 {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 1em;
    color: #333;
}

#how-we-help .step-item p {
    font-size: 1.05em;
    line-height: 1.7em;
    color: #555;
    margin: 0;
}

#how-we-help .help-conclusion {
    background-color: #FFF;
    padding: 2.5em 3em;
    border-radius: 1em;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #CA9F47;
}

#how-we-help .help-conclusion p {
    font-size: 1.2em;
    line-height: 1.8em;
    color: #555;
    margin: 0;
    font-style: italic;
}

/* Contact Info Section */
#contact-info {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 5em 0;
    color: #FFF;
}

#contact-info .inwrap {
    width: 90%;
    max-width: 64em;
    margin: 0 auto;
}

#contact-info h2 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 1em;
    text-align: center;
}

@media all and (min-width: 48em) {
    #contact-info h2 {
        font-size: 2.5em;
    }
}

#contact-info .section-intro {
    font-size: 1.15em;
    line-height: 1.8em;
    text-align: center;
    margin-bottom: 3em;
    color: #ddd;
}

#contact-info .contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3em 1em;
    border-radius: 1.5em;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

#contact-info .bank-info {
    text-align: center;
    margin-bottom: 3em;
    padding-bottom: 2em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#contact-info .bank-logo-large {
    margin-bottom: 1.5em;
}

#contact-info .bank-logo-large img {
    max-width: 18em;
    height: auto;
    /* filter: brightness(0) invert(1); */
    width: 100%;
}

#contact-info .bank-info h3 {
    font-size: 1.8em;
    font-weight: 600;
    color: #CA9F47;
    margin: 0;
}

#contact-info .contact-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em;
    margin-bottom: 3em;
}

@media all and (min-width: 48em) {

    #contact-info .contact-card {
        padding: 3em;
    }

    #contact-info .contact-details {
        grid-template-columns: repeat(3, 1fr);
    }
}

#contact-info .contact-item {
    text-align: center;
}

#contact-info .contact-label {
    font-size: 0.9em;
    color: #999;
    margin-bottom: 0.5em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

#contact-info .contact-value {
    font-size: 1.2em;
    font-weight: 600;
    color: #FFF;
}

#contact-info .contact-value a {
    color: #CA9F47;
    text-decoration: none;
    transition: color 0.3s ease;
}

#contact-info .contact-value a:hover {
    color: #d4af37;
}

#contact-info .contact-description {
    text-align: center;
    padding-top: 2em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#contact-info .contact-description p {
    font-size: 1.1em;
    line-height: 1.8em;
    color: #ddd;
    margin: 0;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

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

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

/* Responsive adjustments */
@media all and (max-width: 48em) {

    #financial-intro,
    #why-scotiabank,
    #mortgage-info,
    #requirements,
    #insurance-costs,
    #how-we-help,
    #contact-info {
        padding: 3em 0;
    }
}