/* Переменные проекта */
:root {
    /* Основной глубокий синий (вместо зеленого) */
    --primary-color: #0f172a; /* Deep Navy/Slate */
    --primary-light: #1e293b; 
    
    /* Акцентный голубой (вместо золотого) */
    --accent-color: #3b82f6;  /* Bright Blue (Azure) */
    --accent-hover: #2563eb;
    
    /* Текстовые цвета */
    --text-main: #1e293b;
    --text-light: #f8fafc;
    
    /* Стекло и фон */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --body-bg: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
}

h1, h2, h3, .navbar-brand {
    font-family: 'Playfair Display', serif;
}

/* Навигация */
.custom-nav-wrapper {
    /* background: var(--primary-color); */
    padding: 1rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.brand-accent {
    color: var(--accent-color);
}

.navbar-nav .nav-link {
    font-weight: 400;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero секция */
.hero-premium {
    /* Новый градиент: от темно-синего к насыщенному королевскому синему */
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    padding: 120px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Добавим мягкое свечение на фоне для "технологичного" эффекта */
.hero-premium::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Убедимся, что контент внутри Hero стоит выше свечения */
.hero-premium .container {
    position: relative;
    z-index: 2;
}

/* Обновим также градиентный текст для синей темы */
.text-gradient {
    background: linear-gradient(to right, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-premium::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    filter: blur(150px);
    opacity: 0.2;
    top: -50px;
    right: -50px;
}

.text-gradient {
    background: linear-gradient(to right, #fbbf24, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-new {
    background: var(--accent-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Кнопки */
.btn-main-gold {
    background: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    border: none;
    transition: transform 0.2s;
}

.btn-main-gold:hover {
    background: #b45309;
    color: white;
    transform: translateY(-3px);
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
}

/* Карточки программ */
.program-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tag {
    font-size: 0.7rem;
    background: #d1fae5;
    color: #065f46;
    padding: 4px 12px;
    border-radius: 10px;
    font-weight: bold;
}

.tag-new {
    background: #fef3c7;
    color: #92400e;
}

/* Контакты и Форма */
.contact-section-new {
    background: #111827;
    color: white;
}

.form-card-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 12px;
}

.form-control:focus {
    background: rgba(255,255,255,0.15);
    color: white;
    border-color: var(--accent-color);
    box-shadow: none;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* Футер */
.footer-dark {
    background: #000;
    color: #9ca3af;
}

/* Адаптивность */
@media (max-width: 768px) {
    .display-3 { font-size: 2.5rem; }
    .hero-premium { padding: 80px 0; }
}

/* Palette: Quetzal Green & Mayan Gold */
:root {
    --primary: #064e3b;
    --primary-light: #065f46;
    --accent: #d97706;
    --dark: #111827;
    --light: #f3f4f6;
    --white: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

/* Header & Nav */
.custom-nav-wrapper {
    background: #06194e;
    border-bottom: 2px solid var(--accent);
}

.brand-accent { color: var(--accent); }
.brand-accent-text { color: var(--accent); }


.text-gradient {
    background: linear-gradient(to right, #fbbf24, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-new {
    background: var(--accent);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Buttons */
.btn-main-gold {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-main-gold:hover {
    background: #b45309;
    transform: translateY(-2px);
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
}

/* Stats */
.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
}

/* Program Cards */
.program-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border-bottom: 4px solid var(--primary);
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.program-card:hover {
    transform: translateY(-10px);
}

.icon-box i {
    font-size: 2.5rem;
    color: var(--accent);
}

.tag {
    font-size: 0.7rem;
    background: #ecfdf5;
    color: #065f46;
    padding: 4px 10px;
    border-radius: 5px;
    font-weight: bold;
}

/* New Sections Custom UI */
.rounded-custom { border-radius: 30px; }
.ls-2 { letter-spacing: 2px; }
.grayscale img { 
    filter: grayscale(100%); 
    opacity: 0.6; 
    transition: 0.3s;
}
.grayscale img:hover { filter: grayscale(0%); opacity: 1; }

/* Contact Glassmorphism */
.contact-section-new { background: var(--dark); }
.form-card-glass {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-dark { background: #0a0e14; }

.info-item i { color: var(--accent); font-size: 1.2rem; }
.info-item p { margin: 0; padding-left: 10px; }

/* --- Секция Партнеров --- */
.partners-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.ls-2 {
    letter-spacing: 2px;
}

/* Эффект черно-белых логотипов с активацией при наведении */
.grayscale img {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease-in-out;
    max-height: 45px; /* Ограничиваем высоту для стройности ряда */
    object-fit: contain;
}

.grayscale img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* --- Секция Контактов и Формы --- */
.contact-section-new {
    background: linear-gradient(135deg, #064e3b 0%, #111827 100%);
    position: relative;
    overflow: hidden;
}

/* Декоративное свечение на фоне */
.contact-section-new::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
}

.info-item i {
    font-size: 1.5rem;
    color: #d97706; /* Золотой акцент */
    background: rgba(255, 255, 255, 0.05);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.info-item p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

/* Стеклянная карточка формы */
.form-card-glass {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    padding: 14px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #d97706;
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.2);
    outline: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Кнопка */
.btn-main-gold {
    background: linear-gradient(45deg, #d97706, #f59e0b);
    color: white;
    border: none;
    padding: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(217, 119, 6, 0.3);
}

.btn-main-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(217, 119, 6, 0.4);
    filter: brightness(1.1);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .form-card-glass {
        padding: 30px 20px;
    }
    
    .partners-section h4 {
        font-size: 0.9rem;
    }
    
    .info-item {
        margin-bottom: 25px;
    }
}