/* ОБЩИЕ СТИЛИ ДЛЯ ВСЕХ СТРАНИЦ КЕЙСОВ */
/* .cases-container {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    padding: 20px;
} */

.banner_text_cases_page {
    margin-bottom: 100px !important;
}

.zapustit_service_on_cases_page {
    margin: 270px 3% 250px 3% !important;
}

.zapustit_service_on_cases_page #text_zapustit_service {
    margin: 0;
}

/* СТИЛИ ДЛЯ ГРИДА КЕЙСОВ (content_on_cases_page.php) */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 275px);
    gap: 25px;
    margin: 20px 0;
    justify-content: center;
}

.case-card {
    background-color: #EEEEEE;
    transition: all 0.3s ease;
    min-height: 509px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    max-width: 275px;
}

.case-card #buttons_on_black {
    margin: 120px 0 30px 0;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.case-card-image {
    /* width: 100%;
    height: 160px; */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.case-card-name {
    font-weight: 700;
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.case-card-description {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* .case-card-btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    border: none;
    cursor: pointer;
} */

.case-card-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
}

/* СТИЛИ ДЛЯ ДЕТАЛЬНОЙ СТРАНИЦЫ (detail_cases_page.php) */
#text_with_logo, #title_clients_desire {
    font-family: Montserrat;
    font-weight: 200;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
}

#logo_company_detail_cases_page {
    text-align: center;
    margin-top: 20px;
}

#macbook_with_purpose_text {
    display: flex;
    margin: 250px 0;
}

#macbook_with_image {
    position: relative;
    margin: 0 -20px;
    order: 1;
}

#iphone_with_image {
    position: relative;
    order: 1;
}

#macbook_cases_detail_page {
    max-width: 100%;
    height: auto;
}

#iphone_cases_detail_page {
    max-width: 100%;
    height: auto;
}

#image_in_macbook_cases_detail_page {
    position: absolute;
    transform: translate(0, -113%);
}

#image_in_iphone_cases_detail_page {
    position: absolute;
    transform: translate(13%, -115%);
}

#image_in_macbook_cases_detail_page img {
    width: 580px;
    height: 505px;
}

#image_in_iphone_cases_detail_page img {
    width: 230px;
    height: 494px;
}

#middle_purpose_text {
    font-family: Montserrat;
    text-align: center;
    margin: auto 0;
    order: 2;
}

#text_above_purpose {
    font-weight: 200;
    font-size: 16px;
    line-height: 26px;
}

#purpose {
    font-weight: 300;
    font-size: 32px;
    line-height: 29px;
    margin: 10px 0 30px 0;
}

#purpose_list  {
    font-weight: 300;
    font-size: 14px;
    line-height: 28px;
    text-align: left;
    margin-right: 20px;
}

#purpose_list ul {
    margin: 0;
}

#purpose_list li {
    margin: -10px;
}

li::marker {
    font-weight: 300;
    font-size: 8px;
    line-height: 28px;
}

#clients_desire {
    font-family: Montserrat;
    font-weight: 300;
    font-size: 42px;
    line-height: 52px;
    text-align: center;
    margin: 0 20% 250px 20%;    
}

#title_steps {
    font-family: Montserrat;
    font-weight: 300;
    font-size: 42px;
    line-height: 52px;
    margin-left: 10%;
}

#steps_blocks {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin: 100px 3% 250px 3%;
    flex-wrap: wrap;
}

#step_blocks {
    padding: 20px;
    text-align: center;
    background-color: #EEEEEE;
    max-width: 362px;
    display: flex;
    flex-direction: column;
}

#step_number {
    font-family: Montserrat;
    font-weight: 300;
    font-size: 42px;
    line-height: 52px;
    margin-top: 40px;
}

#step_text_name {
    min-height: 64px;
}

#step_text_name, #result {
    font-family: Montserrat;
    font-weight: 300;
    font-size: 20px;
    line-height: 32px;
}

#step_image {
    text-align: center;
    margin: 35px 0;
}

#step_description {
    margin-bottom: 50px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

#step_description, #result_text {
    font-family: Montserrat;
    font-weight: 300;
    font-size: 14px;
    line-height: 28px;
    text-align: left;
    /* display: flex;
    align-items: center; */
}

#step_description ul {
    margin: 0;
}

#step_description li {
    margin-left: -20px;
}

#step_result {
    margin-top: auto;
}

#result  {
    text-align: left;
}

#result_text {

}

#text_little {
    font-family: Montserrat;
    font-weight: 300;
    font-size: 20px;
    line-height: 32px;
}

#table_detail_cases_page {
    margin: 0 18% 230px 10%;
}

#title_project_results_detail_cases_page {
    font-family: Montserrat;
    font-weight: 300;
    font-size: 42px;
    line-height: 52px;
}

#table_project_results_detail_cases_page {
    font-family: Montserrat;
    font-weight: 300;
    font-size: 20px;
    line-height: 32px;
    min-height: 125px;
    border-bottom: 1px solid #EEEEEE;
    display: flex;
    align-items: center;
}

#title_technology_stack {
    font-family: Montserrat;
    font-weight: 300;
    font-size: 42px;
    line-height: 52px;
    margin: 0 0 100px 10%;   
}

#images_for_technology_stack {
    display: flex;
    align-items: center;
    gap: 50px 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 140px;
}

.zapustit_service_on_detail_cases_page {
    margin: 200px 10% 100px 10% !important;
}

#images_for_technology_stack img {
    max-height: 200px;
}

