/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
    --primary-blue: #2998FF;
    --dark-blue: #1b64a7;
    --white: #ffffff;
    --text-dark: #333333;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #ABD7FF;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация */
.full-width-nav {
    background-color: var(--white);
    box-shadow: var(--shadow);
    margin: 15px;
    border-radius: var(--border-radius);
}

.content-container {
    background-color: var(--white);
    box-shadow: var(--shadow);
    margin: 15px;
    padding: 15px;
    border-radius: var(--border-radius);
}
    
nav {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2px; 
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 10px 10px;
    width: 100%;
}

.nav-list li {
    flex: 0 0 auto;
    margin: 8px; 
}

.nav-btn {
    display: inline-block;
    padding: 12px 5px;
    width: 215px;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.nav-btn:hover {
    background-color: var(--dark-blue);
}

/* Герой блок */
.hero-section {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 10px 0 10px;
    margin: 15px auto;
    width: 100%;
    height: 300px;
    max-width: 1160px;
    border-radius: var(--border-radius);
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-content {
    text-align: left;
    margin: 10px;
}

.hero-content h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 5px;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 20px;
}

.hero-button {
    padding: 15px 30px;
    background-color: var(--white);
    color: var(--primary-blue);
    border: none;
    margin: 15px 0 0 0;
    border-radius: var(--border-radius);
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.hero-button:hover {
    background-color: #e6f2ff;
    transform: scale(1.05);
}

/* Программы */
.programs-section {
    padding: 60px 0;
}

.section-title-white {
    color: var(--primary-blue);
    font-size: 54px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

.section-title-blue {
    color: var(--white);
    font-size: 54px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 300px;
}

.card-content {
    flex: 1;
    text-align: left;
}

.card-content h4 {
    font-size: 24px;
    margin-bottom: 20px;
}

.card-content p {
    font-size: 16px;
    line-height: 1.6;
}

.card-icon {
    position: absolute;
    right: 30px;
    top: 30px;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.program-button {
    align-self: flex-start;
    padding: 12px 24px;
    background-color: var(--white);
    color: var(--primary-blue);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}

.program-button:hover {
    background-color: #e6f2ff;
    transform: scale(1.05);
}

/* Футер */
.footer {
    background-color: var(--white);
    padding: 50px 0 20px;
    color: var(--text-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-block {
    margin-bottom: 30px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-dark);
}

.copyright {
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 10px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-list li:hover {
    opacity: 1;
    color: var(--primary-blue);
}

.footer-divider {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin: 30px 0;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-section {
        width: 90%;
    }
    
    .nav-list {
        flex-wrap: wrap;
    }
    
    .nav-btn {
        flex: 0 0 calc(25% - 10px);
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 36px;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }
    
    .section-title-white, .section-title-blue {
        font-size: 42px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-title-white, .section-title-blue {
        font-size: 36px;
    }
    
    .nav-btn {
        flex: 0 0 calc(50% - 10px);
        font-size: 14px;
    }
    
    .program-card {
        min-height: 280px;
        padding: 20px;
    }
    
    .card-content h4 {
        font-size: 20px;
    }
}
