/* ===== ОБЩИЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, sans-serif;
    background: #f5f7fa;
    color: #2c3e50;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ШАПКА (ТВОЙ ОРИГИНАЛЬНЫЙ СТИЛЬ) ===== */
.header {
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
    z-index: 10;
}

.header__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 80px;
}

.header__title h1 {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.4;
    margin: 0;
}

/* ===== БАННЕР ===== */
.main-banner {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border: none !important;
    overflow: hidden !important;
    line-height: 0 !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

.banner-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: cover !important;
    max-width: 100% !important;
    vertical-align: top !important;
}

/* ===== СЕКЦИИ (ТВОЙ ОРИГИНАЛЬНЫЙ СТИЛЬ) ===== */
section {
    padding: 40px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

/* ===== О КОЛЛЕДЖЕ (ТВОЙ ОРИГИНАЛЬНЫЙ СТИЛЬ) ===== */
.about-college {
    padding: 60px 0;
    background: #fff;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a237e;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
    position: relative;
}

.about-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1a237e, #42a5f5);
    margin: 15px auto 0;
    border-radius: 2px;
}

.about-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.about-text strong {
    color: #1a237e;
}

.divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1a237e, transparent);
    margin: 30px 0;
}

/* ===== КНОПКИ (ТВОЙ ОРИГИНАЛЬНЫЙ СТИЛЬ) ===== */
.about-link {
    text-align: center;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn--blue {
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: #fff;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
}

.btn--blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 71, 161, 0.4);
    background: linear-gradient(135deg, #0d47a1, #1a237e);
}

.btn--large {
    padding: 18px 50px;
    font-size: 20px;
}

.arrow {
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn:hover .arrow {
    transform: translateX(8px);
}

/* ===== ПОДВАЛ (ТВОЙ ОРИГИНАЛЬНЫЙ СТИЛЬ) ===== */
.footer {
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: #fff;
    padding: 40px 0;
    margin-top: 30px;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer__map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.footer__map iframe {
    width: 100%;
    height: 250px;
    display: block;
}

.footer__social h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
}

.footer__social h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #42a5f5;
    margin-top: 10px;
    border-radius: 2px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.social-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
}

/* ======================================================== */
/* ===== АДАПТИВ (ТОЛЬКО ПРАВКИ БЕЗ ИЗМЕНЕНИЯ ЦВЕТОВ) ===== */

/* Планшеты */
@media (max-width: 992px) {
    .header__title h1 {
        font-size: 18px;
    }
    
    .about-title {
        font-size: 30px;
    }
    
    .about-text p {
        font-size: 16px;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Мобильные устройства и планшеты */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 15px 0;
        margin: 0;
    }
    
    .header__title h1 {
        font-size: 14px;
    }
    
    .header__inner {
        min-height: 60px;
    }
    
    .main-banner {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border: none !important;
        overflow: hidden !important;
        line-height: 0 !important;
        position: relative !important;
        margin-bottom: 0 !important;
    }
    
    .banner-image {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        vertical-align: top !important;
    }
    
    .about-title {
        font-size: 24px;
    }
    
    .about-title::after {
        width: 60px;
    }
    
    .about-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-text p {
        font-size: 15px;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .btn--large {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .footer {
        padding: 30px 0;
    }
    
    .footer__map iframe {
        height: 200px;
    }
    
    .social-link {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    section {
        padding: 30px 0;
        margin-bottom: 20px;
    }
    
    .about-college {
        padding: 30px 0;
    }
}

/* Телефоны 6.8 дюймов (390-430px) */
@media (max-width: 480px) {
    .header {
        padding: 10px 0;
    }
    
    .header__title h1 {
        font-size: 12px;
        line-height: 1.3;
    }
    
    .header__inner {
        min-height: 50px;
    }
    
    .main-banner {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
    }
    
    .banner-image {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }
    
    .about-title {
        font-size: 20px;
    }
    
    .about-text p {
        font-size: 14px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
    
    .btn--large {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
    }
    
    .footer__map iframe {
        height: 180px;
    }
    
    .footer__social h3 {
        font-size: 17px;
    }
    
    .social-link {
        font-size: 13px;
        padding: 8px 14px;
    }
}

/* Экраны меньше 425px - УМЕНЬШАЕМ ШАПКУ ЧТОБЫ НЕ ПЕРЕКРЫВАЛА БАННЕР */
@media (max-width: 425px) {
    .header {
        padding: 5px 0 !important;
    }
    
    .header__inner {
        min-height: 35px !important;
    }
    
    .header__title h1 {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }
    
    .main-banner {
        margin-top: 0px !important;
    }
}

/* Очень маленькие телефоны (до 360px) */
@media (max-width: 360px) {
    .header {
        padding: 3px 0 !important;
    }
    
    .header__title h1 {
        font-size: 9px !important;
    }
    
    .header__inner {
        min-height: 30px !important;
    }
    
    .main-banner {
        margin-top: 0px !important;
    }
    
    .about-title {
        font-size: 17px;
    }
    
    .about-text p {
        font-size: 13px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .btn {
        font-size: 12px;
        padding: 10px 16px;
        width: 100%;
    }
}