.bank-container {
            border: 1px solid #ddd;
            border-radius: 5px;
            margin-bottom: 15px;
            
        }
        
        .bank-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            background-color: #f5f5f5;
            cursor: pointer;
        }
        
        .bank-name {
            font-weight: bold;
            color: #566d6a;
        }
        
        .bank-category {
            color: #777;
            font-size: 0.9em;
        }
        
        .toggle-btn {
            font-size: 1.5em;
            color: #566d6a;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0 10px;
        }
        
        .bank-details {
            display: none;
            padding: 15px;
            background-color: #fff;
        }
        
        .bank-details.is-active {
            display: block;
        }
        
        .bank-info {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 15px;
        }
        
        .bank-info-head {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 15px;
            margin-bottom: 15px;
        }
        
        .info-item {
            text-align: center;
            margin-bottom: 10px;
        }
        
        .info-label {
            font-weight: bold;
            color: #555;
        }
        
        .requirements {
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid #eee;
            line-height: 1.5;
        }
        
        .requirements h3 {
            color: #566d6a;
            margin-bottom: 10px;
        }
        .requirements  {
            margin-bottom: 15px;
        }
        
        .docs-list {
            margin-left: 20px;
        }
        
        .apply-btn {
            display: block;
            width: 100%;
            padding: 15px;
            background-color: #566d6a;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 1.1em;
            cursor: pointer;
            margin-top: 30px;
            text-align: center;
            text-decoration: none;
        }
        
        
        /* Стили для кредитного блока */
        .credit-block {
            position: sticky;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            gap: 10px;
            width: 20%;
            height: 400px;
            top: 0;
            
        }

        .credit-item {
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 0 15px;
            flex: 1;
            background: #fff;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            font-family: 'Arial', sans-serif;
            margin: 0 auto;
            width: 100%;
            max-height: 122px;
            min-width: 230px;
        }

        .credit-value {
            font-size: 18px;
            font-weight: bold;
            color: #333;
            margin-bottom: 8px;
        }

        .credit-label {
            font-size: 14px;
            color: #666;
        }
        
        .credit-container {
            display: flex;
            justify-content: space-between;
        }
        
        .credit-container-two {
            width: 75%;
        }
        
        /* Стили для табов */
        .credit-tabs {
            display: flex;
            margin-bottom: 20px;
            border-bottom: 1px solid #ddd;
        }
        
        .credit-tab {
            padding: 10px 20px;
            cursor: pointer;
            background: #f5f5f5;
            border: 1px solid #ddd;
            border-bottom: none;
            border-radius: 5px 5px 0 0;
            margin-right: 5px;
            font-weight: bold;
        }
        
        .credit-tab.is-active {
            background: #fff;
            border-bottom: 1px solid #fff;
            margin-bottom: -1px;
            color: #566d6a;
        }
        
        .tab-content {
            display: none;
        }
        .requirements ul {
            margin-bottom: 12px;
        }
        .requirements h2{
            text-align: center;
            color: #566d6a;
        }
        .tab-content.is-active {
            display: block;
        }
                table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
        }
        
        table td {
            padding: 12px 15px;
            border-bottom: 1px solid #e0e0e0;
        }
        
        table tr:last-child td {
            border-bottom: none;
        }
        
        table td:first-child {
            font-weight: bold;
            width: 40%;
            color: #555;
        }
        .bank-contact{
            line-height: 1.5;
            display: inline-block;
            margin-top: 15px;
            vertical-align: top;
            border: 1px solid #E6E6E6;
            background-color: #f5f5f5;
            border-radius: 10px;
            
            padding: 30px 30px 10px;
            font-size: 14px;
        }
         .benefits ul {
            padding-left: 20px;
            margin: 15px 0;
        }
        .bank-contact a{
            color: #28313d;
            text-decoration: none;
        }
        .bank-contact a:hover{
            color: #bcdcb4;
            text-decoration: none; 
        }
        .benefits li {
            margin-bottom: 10px;
            position: relative;
            padding-left: 15px;
        }
        
        .benefits li:before {
            content: "•";
            color: #bcdcb4;
            font-weight: bold;
            position: absolute;
            left: 0;
        }
        
        .ipoteka-footer a {
            color: #28313d;
            text-decoration: none;
        }
            .ipoteka-footer a:hover {
            color: #bcdcb4;
            text-decoration: none;
        }
        .header-block {
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: column;
        background: #fff;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        height: 350px;
        text-align: center;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid #eee;
    }
    
    .timeframe {
        font-size: 20px;
        font-weight: bold;
    }
    
    .content-block h2 {
        font-size: 22px;
        color: #2c3e50;
        margin-bottom: 15px;
    }
    
    .content-block p {
        margin-bottom: 15px;
    }
    .mather-capital-grid{
        margin: 0 -10px;
        padding: 0 0 0px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px 0px;
        margin-bottom: 15px;
    }
    
    .mather-capital-grid-item{
        text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 48%;
    height: 200px;
    }

.mather-capital-number{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    height: 45px;
    width: 45px;
    background: #bcdcb4;
    font-size: 30px;
    color: #566d6a;
    font-weight: bold;
}
@media(max-width:1024px){
    .credit-container{
        flex-direction: column;
    }
    .credit-block{
        position: unset;
        flex-direction: row;
        height: auto;
        margin-bottom: 30px;
    }
    .credit-container-two{
        width: 100%;
    }
    .credit-block{
        flex-wrap: wrap;
        width: 100%;
    }
}
@media(max-width:590px){
        .bank-info-head{
            grid-template-columns: repeat(1, minmax(290px, 400px));
    }
        .bank-name{
            text-align: center;
    }
        .bank-info-head img{
            margin:auto;
    }
}
@media(max-width:400px){
        .bank-info-head{
        grid-template-columns: repeat(1, minmax(240px, 400px));
    }
    .credit-tab{
        padding: 5px 2px;
    }
    .bank-info{
        grid-template-columns: repeat(1, 1fr);
    }
    .mather-capital-grid{
        font-size: 12px;
    }
    .mather-capital-grid-item{
        height: 300px;
    }
}
