body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #111;
    margin-bottom: 1rem;
    line-height: 1.2;
}

 p.card-text{
     margin-bottom: 0px !important;
     padding-bottom: 0px !important;
 }

h1 {
    font-size: 3rem;
    margin-top: 2rem;
}

h2 {
    font-size: 2.5rem;
    margin-top: 1.5rem;
}

h3 {
    font-size: 2rem;
    margin-top: 1.5rem;
}

h4 {
    font-size: 1.5rem;
    margin-top: 1rem;
}

p {
    font-size: 1.125rem;
    color: #555;
}

.container {
    margin: 0 auto;
}

.highlight {
    color: #007aff; /* Цвет, аналогичный цвету ссылок на сайте Apple */
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.footer {
    background-color: #343a40; /* Темный фон */
    color: #ffffff; /* Белый текст для лучшего контраста */
    padding-top: 30px !important;
    padding-bottom: 20px;
}

.footer h5 {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #ffffff; /* Белый цвет текста */
}

.footer p, .footer ul, .footer li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 1rem;
    color: #f8f9fa; /* Очень светло-серый для текста */
}
[id]:target {
    padding-top: 70px;
    margin-top: -70px;
}

.footer ul {
    padding-left: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: 5px;
}

.footer a {
    color: #ffc107; /* Цвет ссылок */
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer i {
    margin-right: 8px;
    color: #ffc107; /* Цвет иконок */
}
.carousel-item img {
    max-height: 230px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    min-height: 228px;
}
h2{
    text-align: left;
}
.carousel-item img:hover {
    transform: scale(1.05);
}

.modal img {
    width: 100%;
    height: auto;
}

/* Кастомные стили для стрелок */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.carousel-control-prev-icon::after {
    transform: translate(-50%, -50%) rotate(-135deg);
}

.carousel-control-next-icon::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

.slider img{
    width: 300px;
}
/* Адаптация для мобильных устройств */
@media (max-width: 768px) {


    .col-lg-3 .card {
        width: 100% !important;
    }
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.75rem;
    }
    p {
        font-size: 1rem;
    }

    .carousel-item img {
        max-height: 200px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 40px;
        height: 40px;
    }
}
a{
    text-decoration: none;
}
