* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    text-decoration: none;
}

body {
    background-color: #f0f2f5;
    color: #333;
    min-width: 800px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: #FFFFFF;
    color: white;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
a {
    color: #004080;
}

.logo {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1rem 0 0 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #004080;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffcc00;
}

.banner {
    position: relative;
    height: 480px;
    background: url('banner.jpg') no-repeat;
    background-size: cover;
    margin-top: 70px;
    overflow: hidden;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
}

.banner h2 {
    color: white;
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
}

section {
    margin-bottom: 2rem;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

h2 {
    color: #004080;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

.card-container, .news-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-around;
}

.card, .news-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    width: calc(50% - 1rem);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover, .news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.news-item img {
    max-width: 128px;
}

.card-icon, .service-icon {
    font-size: 2rem;
    color: #0073e6;
    margin-bottom: 1rem;
}

.card h3, .news-item h3 {
    margin-top: 0;
    color: #004080;
}

.card p, .news-item p {
    margin: 0.5rem 0;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-item {
    background: #f9f9f9;
    border-left: 5px solid #004080;
    padding: 1.5rem;
    transition: background 0.3s;
}

.service-item:hover {
    background: #e9e9e9;
}

.service-item h3 {
    color: #0073e6;
}

.members-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.member-item {
    background: #f9f9f9;
    padding: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.member-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.member-item h3 {
    color: #0073e6;
}

.member-item img {
    max-width: 128px;
}

.education-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.timeline-item {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid #004080;
    position: relative;
    transition: background 0.3s;
}

.timeline-item:hover {
    background: #e9e9e9;
}

.timeline-item img {
    max-width: 128px;
}

.timeline-item h3 {
    color: #0073e6;
}

/* .timeline-item::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 20px;
    width: 15px;
    height: 15px;
    background: #0073e6;
    border-radius: 50%;
} */

.contact-info {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.contact-info i {
    color: #0073e6;
    margin-right: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form label {
    font-weight: bold;
}

.contact-form input, .contact-form textarea, .login-form input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button, .login-form button {
    padding: 0.75rem;
    background: #0073e6;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover, .login-form button:hover {
    background: #004080;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

footer {
    _background-color: #004080;
    background: linear-gradient(135deg, #004080, #0073e6);
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 24px;
}

a[name] {
    position: relative;
    top: -72px;
}

.content {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* card-profile*/
_h1_ {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.card-profile-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card-profile {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    width: calc(33% - 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease;
}

.card-profile:hover {
    transform: translateY(-5px);
}

.card-profilelogo {
    width: 80px;
    background-color: #ddd;
    border-radius: 50%;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #666;
}

.card-profilelogo img {
    max-width: 80px;
    max-height: 80px;
    border-radius: 50px;
}

.card-profile h3 {
    color: #0073e6;
    margin-bottom: 10px;
}

.card-profile p {
    color: black;
    margin-bottom: 10px;
}

.card-profilecontact {
    margin-top: 15px;
}

.card-profilecontact-icon {
    margin-right: 8px;
    color: #555;
}

.card-profilecontact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    color: #555;
}

@media (max-width: 768px) {
    .card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .card {
        width: calc(100% - 20px);
    }
}

/* calc */

.calc {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    /* Белый фон */
    margin-top: 32px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
}

.calc_container {
    max-width: 500px;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #ddd;

}

_h1_{
    margin-bottom: 10px;
    font-size: 24px;
    color: #004080;
    /* Темно-синий для заголовка */
}


.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
    color: #004080;
    /* Темно-синий для текста */
}

input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #f4f4f4;
    color: #333;
    outline: none;
}

input::placeholder {
    color: #888;
}

button {
    padding: 12px;
    font-size: 18px;
    background-color: #0073e6;
    /* Ярко-синий */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

button:hover {
    background-color: #004080;
    /* Темно-синий при наведении */
}


.green_button{
    background-color: #28a745;
}
.green_button:hover{
    background-color: #82df97;
}
.yellow_button{
    background-color: #ffc107;
    color: white;
}
.yellow_button:hover{
    background-color: #e0a800;
}

.red_button{
    background-color: #f44336;
    color: white;
}
.red_button:hover{
    background-color: #d32f2f;
}
.result {
    margin-top: 20px;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    font-size: 18px;
    color: #333;
}

.result p {
    margin: 5px 0;
}

@media (max-width: 600px) {
    .calc_container {
        padding: 20px;
        width: 90%;
    }
}

/*consult*/
.consult {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    /* Белый фон */
    margin: 0;
    padding: 20px;
}

.consultcard-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.consult_card {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    /* Белый фон карточки */
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.consult_card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.consult_card img {
    width: 150px;
    max-height: 150px;
    object-fit: contain;
    border-right: 1px solid #ddd;
}

.consult_card-content {
    padding: 20px;
    flex: 1;
}

h3 {
    font-size: 20px;
    color: #004080;
    /* Темно-синий цвет заголовков */
    margin-bottom: 10px;
}



.consult_card-info {
    margin-top: 15px;
}

.consult_card-info p {
    font-size: 14px;
    margin: 5px 0;
}

.consult_card-info strong {
    color: #0073e6;
    /* Ярко-синий цвет для акцентов */
}

@media (max-width: 768px) {
    .consult_card-container {
        flex-direction: column;
        align-items: center;
    }

    .consult_card {
        flex-direction: column;
        max-width: 90%;
    }

    .consult_card img {
        width: 100%;
        height: auto;
        border-right: none;
    }
}


h2 {
    font-size: 24px;
    color: #004080;
    /* Темно-синий цвет заголовков */
    margin-bottom: 20px;
}

.resources {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.resource {
    background-color: #ffffff;
    /* Белый фон блока */
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 300px;
}

.resource h3 {
    font-size: 18px;
    color: #004080;
    /* Темно-синий цвет заголовков */
    margin-bottom: 15px;
}

.resource ul {
    list-style: none;
    padding: 0;
}

.resource ul li {
    margin-bottom: 10px;
}


@media (max-width: 768px) {
    .resources {
        flex-direction: column;
        align-items: center;
    }

    .resource {
        max-width: 90%;
    }
}

/*question*/

.section {
    margin-top: 20px;
}

h2 {
    font-size: 24px;
    color: #004080;
    /* Темно-синий цвет заголовков */
    margin-bottom: 20px;
}

.resource {
    background-color: #ffffff;
    /* Белый фон блока */
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 800px;
    margin: auto;
}

.resource h3 {
    font-size: 18px;
    color: #004080;
    /* Темно-синий цвет заголовков */
    margin-bottom: 15px;
}

.resource ul {
    list-style: none;
    padding: 0;
}

.resource ul li {
    margin-bottom: 10px;
}

.resource a {
    color: #0073e6;
    /* Ярко-синий цвет ссылок */
    text-decoration: none;
}

.resource a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .resource {
        padding: 15px;
    }
}

/**/


/* Breadcrumbs */
.breadcrumb {
    padding: 10px 20px;
    background-color: #0073e6;
    color: white;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #f4f4f9;
}

/* Секция с баннером */
.about-banner {
    background: linear-gradient(rgba(0, 115, 230, 0.9), rgba(0, 64, 128, 0.9)), url('banner.jpg') center/cover no-repeat;
    color: white;
    padding: 70px 20px;
    text-align: center;
    position: relative;
    line-height: 1.1;
}

.about-banner h1 {
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.about-banner p {
    font-size: 1.2em;
    margin-top: 10px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.about-banner-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Секция с историей */
.history-container {
    background-color: white;
    padding: 50px 25px;
    margin: 30px auto;
    max-width: 1200px;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    text-align: justify;
}

.history-container article {
    font-size: 1.2em;
    color: #333;
    line-height: 1.8;
    text-align: justify;
    /* Выравнивание по ширине */
}

.history-container article p {
    text-indent: 25px;
    /* Отступ первой строки абзаца */
}

.history-container article::before {
    content: url('aro-logo.jpg');
    display: block;
    margin-bottom: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 2.5em;
    }

    .banner p {
        font-size: 1.1em;
    }

    .history-container {
        padding: 30px 15px;
    }
}

.history-container ul {
    margin-top: 15px;
    padding-left: 20px;
    list-style-type: disc;
    /* Использование дисков для маркеров */
}

.history-container ul li {
    margin-bottom: 10px;
    /* Отступ между пунктами списка */
    line-height: 1.6;
}

.bio-container {
    background-color: white;
    padding: 50px 25px;
    margin: 30px auto;
    max-width: 900px;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    text-align: justify;
}

.bio-container h2 {
    font-size: 2.5em;
    color: #004080;
    text-align: center;
    margin-bottom: 20px;
}

.bio-container p {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 15px;
    text-indent: 25px;
}

.bio-container ul {
    padding-left: 20px;
    list-style-type: disc;
}

.bio-container ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.bio-container strong {
    font-weight: bold;
}

.bio-photo {
    text-align: center;
    margin-bottom: 20px;
}

.bio-photo img {
    width: 400px;
    height: auto;
    border-radius: 5%;
    border: 2px solid #0073e6;
}

/*News*/
.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.news-title {
    color: #0073e6;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.news-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 15px;
}

.news-content h2 {
    font-size: 20px;
    color: #004080;
    margin: 0 0 10px;
}

.news-content p {
    color: #333;
    margin: 5px 0;
}

.news-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

/*Annonce*/
.announcement-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Оставляем остальные стили как они есть */


.announcement-image{
    max-width: 128px;
    margin: 0 auto;
}


.subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-top: 10px;
}

.announcements-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.announcement-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 396px;
    min-width: 396px;
    display: flex;
    height: 720px;
    flex-direction: column;
    justify-content: space-between;
}

.announcement-category {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    background-color: #0073e6;
    color: white;
    border-radius: 5px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.announcement-category.course {
    background-color: #0073e6;
}

.announcement-category.event {
    background-color: #28a745;
}

.announcement-category.news {
    background-color: #ffcc00;
}

.announcement-card h3 {
    font-size: 1.5rem;
    color: #004080;
    margin-bottom: 10px;
}

.announcement-card p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.announcementscard-link {
    display: inline-block;
    padding: 10px 15px;
    background-color: #0073e6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    max-width: 128px;
    margin: 0 auto;
}

.announcementscard-link:hover {
    background-color: #004080;
}

/*partners*/
.partners-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-card {
    background: linear-gradient(1300deg, #f4f4f4, #252e36);
    border-radius: 25px;
    padding: 20px;
    width: 100%;
    min-height: 300px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.partner-logo-wrapper {
    min-width: 350px;
    max-width: 350px;
    background-color: #fff;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-right: 30px;
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Подгоняем логотипы под контейнер */
}

.partner-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.partner-name {
    font-size: 1.8em;
    margin: 0;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1.2;
}

.partner-description {
    font-size: 1em;
    margin: 10px 0;
}

.learn-more {
    max-width: 128px;
    text-align: center;
    font-size: 1em;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 15px;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.learn-more:hover {
    background-color: rgba(255, 255, 255, 0.4);
}
/*org-list*/
.org-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #004080;
}



.organization-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.organization-item {
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
    font-size: 18px;
    transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.organization-item a {
    color: #333;
    text-decoration: none;
    display: block;
    padding-left: 10px;
}

.organization-item:hover {
    background-color: #f1f1f1;
    padding-left: 15px;
}

.organization-item:hover a {
    color: #004080;
}
/*study*/

.center-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}
.center-card:hover {
    transform: translateY(-5px);
}
.center-card img {
    width: 100px;
    height: 100px;
    margin-right: 20px;
    border-radius: 50%;
}
.center-details {
    flex: 1;
}
.center-name {
    font-size: 1.5em;
    color: #004080;
}
.study_contact-info {
    margin-top: 10px;
}
.study_contact-info p {
    margin: 5px 0;
}
@media (max-width: 768px) {
    .center-card {
        flex-direction: column;
        text-align: center;
    }
    .center-card img {
        margin-bottom: 15px;
    }
}

/*material*/
.videos, .literature {
    margin-bottom: 40px;
}
.videos ul, .literature ul {
    list-style-type: none;
    padding-left: 0;
}
.videos li, .literature li {
    background-color: white;
    margin: 10px 0;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.videos a {
    color: #0073e6;
    text-decoration: none;
}
.videos a:hover {
    text-decoration: underline;
}