/* styles.scss */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background: #35424a;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

nav {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s;
}

nav ul li a:hover {
    background: #2c3e50;
    transform: scale(1.1);
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #35424a;
    text-align: center;
}

.course-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.course-card:hover {
    transform: scale(1.05);
}

img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

footer {
    text-align: center;
    padding: 20px 0;
    background: #35424a;
    color: #ffffff;
    position: relative;
    bottom: 0;
    width: 100%;
}

.social-icon {
    margin: 0 10px;
    color: #ffffff;
    text-decoration: none;
}

.tab-content {
    display: none;
}

.active {
    display: block;
}

.testimonial {
    background: #f9f9f9;
    border-left: 5px solid #35424a;
    padding: 10px 20px;
    margin: 20px 0;
}

.advantages {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.advantage {
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 30%;
    transition: background 0.3s;
}

.advantage:hover {
    background: #f0f0f0;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #35424a;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    display: none;
    transition: background 0.3s;
}

.scroll-to-top:hover {
    background: #2c3e50;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.feedback-form {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

.feedback-form input,
.feedback-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.feedback-form button {
    background: #35424a;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.feedback-form button:hover {
    background: #2c3e50;
}

footer {
    background-color: #2c3e50;
    /* Темный фон */
    color: #ecf0f1;
    /* Светлый текст */
    padding: 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    flex: 1;
}

.footer-links,
.footer-contact,
.footer-newsletter {
    flex: 1;
    margin: 0 20px;
}

.footer-links h3,
.footer-contact h3,
.footer-newsletter h3 {
    color: #1abc9c;
    /* Цвет заголовков */
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact p {
    margin: 10px 0;
}

.footer-links a,
.footer-contact a {
    color: #ecf0f1;
    /* Цвет ссылок */
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
    text-decoration: underline;
    /* Подчеркивание при наведении */
}

.footer-bottom {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid #34495e;
    /* Разделительная линия */
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    color: #ffffff;
    margin: 0 10px;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #e8491d;
    /* Цвет при наведении */
}

.subscribe-button {
    background-color: #1abc9c;
    /* Цвет кнопки */
    color: #fff;
    /* Цвет текста кнопки */
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.subscribe-button:hover {
    background-color: #16a085;
    /* Цвет кнопки при наведении */
}