:root {
    --primary-blue: #1a3a5c;
    --dark-blue: #0f1f33;
    --darker-blue: #0a1624;
    --orange: #ff6b00;
    --orange-hover: #e65100;
}

body {
    background-color: var(--dark-blue);
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px;
}

.bg-dark-blue {
    background-color: var(--primary-blue) !important;
}

.bg-darker {
    background-color: var(--darker-blue) !important;
}

.text-orange {
    color: var(--orange) !important;
}

.bg-orange {
    background-color: var(--orange) !important;
    color: #fff !important;
}

.btn-orange {
    background-color: var(--orange);
    border-color: var(--orange);
    color: #fff;
    transition: all 0.3s;
}

.btn-orange:hover {
    background-color: var(--orange-hover);
    border-color: var(--orange-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 0, 0.3);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    background-color: var(--primary-blue) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    padding-top: 10px;
    padding-bottom: 10px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff !important;
    line-height: 1.2;
}

.navbar-brand small {
    font-size: 0.65rem;
    color: #aaa;
    line-height: 1.2;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    transition: color 0.3s;
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--orange) !important;
}

/* Кнопка телефона — фикс для Brave */
.navbar .btn-orange {
    white-space: nowrap;
    min-width: 180px;
    padding: 8px 16px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dropdown-menu {
    background-color: var(--primary-blue);
    border: none;
}

.dropdown-item {
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
}

.dropdown-item:hover {
    background-color: var(--orange);
    color: #fff;
}

/* Промежуточный брейкпоинт */
@media (min-width: 992px) and (max-width: 1200px) {
    .nav-link {
        font-size: 0.8rem !important;
        padding: 0.5rem 0.5rem !important;
    }
    
    .navbar .btn-orange {
        font-size: 0.8rem !important;
        min-width: 160px;
        padding: 6px 10px;
    }
    
    .brand-text {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 1050px) {
    .navbar-brand small {
        display: none !important;
    }
}

/* Hero Section */
.hero-section {
    min-height: 600px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    padding: 80px 0;
}

/* Stats */
.stat-number {
    font-size: 3rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
}

/* Cards */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Social Links */
.social-links a {
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--orange) !important;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    padding: 60px 0 40px;
}

/* News Cards */
.news-card {
    background-color: var(--primary-blue);
    border: none;
    margin-bottom: 30px;
}

.news-date {
    color: var(--orange);
    font-size: 0.9rem;
}

/* Contact Info */
.contact-item {
    padding: 20px;
    background-color: var(--primary-blue);
    border-radius: 8px;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 2rem;
    color: var(--orange);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Dropdown hover effect */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    
    .nav-item.dropdown:hover .nav-link {
        color: var(--orange) !important;
    }
}

.card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* Хлебные крошки */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item {
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: #ff6b00;
}

.breadcrumb-item.active {
    color: #ff6b00;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* Sticky Footer */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}