/* Загальні стилі */
body.kontakty-body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}

.kontakty-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Заголовки */
h1 {
    text-align: center;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
}

h2 {
    font-size: 22px;
    color: #34495e;
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #ddd;
}

/* Інформаційний блок */
.info-box {
    text-align: center;
    padding: 20px;
    background: #ecf0f1;
    border-radius: 8px;
    margin-bottom: 20px;
}

.college-name, .college-name-en {
    font-weight: bold;
    font-size: 18px;
    color: #2980b9;
    margin: 10px auto;
    max-width: 90%;
    line-height: 1.4;
}

.campus-name, .campus-name-en {
    font-style: italic;
    font-size: 16px;
    color: #7f8c8d;
    margin: 0 auto 10px;
    max-width: 90%;
}

.short-name, .short-name-en {
    font-size: 18px;
    font-weight: bold;
    color: #27ae60;
    margin-top: 5px;
}

/* Блок акредитації */
.accreditation {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #e67e22;
    margin: 20px 0;
    padding: 10px;
    background: #fdf2e9;
    border-radius: 8px;
}

/* Контактні картки */
/* Контактні картки */
.kontakty-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.contact-card {
    flex: 1;
    min-width: 280px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.contact-card:hover {
    transform: scale(1.05);
}

.contact-card i {
    font-size: 35px;
    color: #3498db;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.contact-card p {
    font-size: 18px;
    color: #555;
}

.contact-card a {
    text-decoration: none;
    color: #f50909;
    font-weight: bold;
}


/* Вирівнювання телефонів по центру */
.phone-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.phone-list a {
    color: #2980b9;
}

.phone-list p {
    margin: 3px 0;
}


.phone-item a {
    text-decoration: none;
    font-weight: bold;
    flex: 1;
    text-align: right;
}

.phone-item a:hover {
    text-decoration: underline;
}

/* Адаптивність */
@media (max-width: 768px) {
    .kontakty-container {
        padding: 15px;
    }

    .kontakty-details {
        flex-direction: column;
        align-items: center;
    }

    .college-name, .college-name-en {
        font-size: 16px;
    }

    .contact-card {
        width: 90%;
        max-width: 400px;
    }

    .phone-list {
        text-align: center;
        gap: 5px;
    }

    .phone-list p {
        font-size: 16px;
        margin: 3px 0;
    }

    .phone-list a {
        color: #2980b9;
        padding: 5px;
        display: block;
    }
}