﻿body {
    margin: 0;
    padding-top: 80px; 
    background-color: #ffffff;
    overflow-x: hidden;
    color: #333;
    font-family: Arial, sans-serif;
}

hr {
    height: 2px;
    max-width: 1000px;
    width: 100%;
    background-color: #BFA315;
    margin: 0 auto;
    border: none;
}
.hr__margin-top {
    margin-top: 6vh;
}

h1 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #222;
}

h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #222;
}

/*  INFO PAGE  */

.info-page {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.info-page > div {
    flex: 1;
    max-width: 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-page img {
    width: 500px;
    height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.info-page img:hover {
    transform: translateY(-6px);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.15),
        0 35px 80px rgba(0, 0, 0, 0.18),
        0 60px 120px rgba(0, 0, 0, 0.15);
}

.info-page h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.info-page p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #666;
}

/*  SUPPORT  */

.support__main-text {
    font-style: italic;
    width: 100%;
}

.support__extra-text {
    margin-top: 40px;
    text-align: center;
    color: #666;
    padding: 10px 20px;
    border-radius: 20px;
    border: 2px #BFA315 solid;
    font-size: 20px;
}

.support__extra-light-text {
    margin-top: 40px;
    text-align: center;
    color: #666;
    padding: 10px 20px;
    border-radius: 20px;
    border-left: 4px solid #BFA315;
    border-right: 4px solid #BFA315;
    font-size: 20px;
}

.support__container {
    display: flex;
    max-width: 1200px;
    margin: 50px auto;
    gap: 40px;
}

.support__wrapper-links {
    padding-bottom: 20px;
}

.support__links {
    color: #0775AB;
}

.support__links:hover {
    text-decoration: underline;
}

.content {
    flex: 1;
    margin: 0;
}

/*  CARDS  */

.card {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    padding: 20px;
    font-size: 18px;
    background-color: #BFA315;
    color: #fff;
}

.card-body {
    padding: 20px;
    font-size: 16px;
    line-height: 1.6;
}

/*  SERVICES  */

.services-section {
    background-color: white;
    border-radius: 10px;
    margin: 50px auto;
    max-width: 1100px;
}

.services-title {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.services-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #BFA315;
}

.services-text {
    text-align: center;
}

.services-list {
    list-style: none;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.services-list li {
    padding: 15px 20px;
    margin-bottom: 15px;
    border-left: 4px solid #BFA315;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    font-size: 18px;
    transition: 0.3s;
}

.services-list li:hover {
    background-color: #fff9e6;
    transform: translateX(5px);
}

/*  ALSO  */

.also-container {
    max-width: 900px;
    margin: 50px auto;
}

.also-header {
    text-align: center;
}

.also-header h1 {
    font-size: 30px;
}

.also-header h2 {
    font-size: 20px;
    font-weight: bold;
}

.also-list {
    list-style: none;
    padding: 0;
}

.also-list li {
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid #BFA315;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    transition: 0.3s;
}

.also-list li:hover {
    background-color: #fff9e6;
    transform: translateX(5px);
}

/*  АДАПТИВ  */

@media (max-width: 992px) {

    .info-page {
        flex-direction: column;
        text-align: center;
    }

    .info-page > div {
        max-width: 100%;
        padding: 30px 20px;
    }

    .info-page img {
        display: none;
    }

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

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

    .services-title {
        font-size: 26px;
    }

    .services-list li {
        font-size: 16px;
    }

    .also-header h1 {
        font-size: 24px;
    }

    .also-header h2 {
        font-size: 18px;
    }
}

@media (max-width: 576px) {

    h1, h2 {
        font-size: 22px;
    }

    .support__extra-text,
    .support__extra-light-text {
        font-size: 16px;
    }

    .services-list li,
    .also-list li {
        font-size: 15px;
        padding: 10px 12px;
    }

    .card-header,
    .card-body {
        padding: 15px;
        font-size: 15px;
    }
}