* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f5f5f5;
}

.lang-switch {
    background: white;
    color:#1e3c72;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    font-size: 14px;
    border: 1px solid #ddd;
}

header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-top {
    background: rgba(0,0,0,0.2);
    padding: 10px 0;
    font-size: 13px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 25px;
}

.header-main {
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.extra-info{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

.logo-icon {
    width: 155px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    background-image: url('../assets/logo.svg');
    background-repeat: no-repeat; 
    background-position: center;
    background-size: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    color: white;
    text-decoration: none;
}

.logo-text small {
    font-size: 12px;
    font-weight: normal;
    opacity: 0.9;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: opacity 0.3s;
    cursor: pointer;
}

nav a:hover {
    opacity: 0.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    background: linear-gradient(rgba(30, 60, 114, 0.8), rgba(42, 82, 152, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23e0e0e0" width="1200" height="400"/><path fill="%23bbb" d="M0 300 L300 280 L600 320 L900 290 L1200 310 L1200 400 L0 400 Z"/></svg>');
    background-size: cover;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}
.contact-info span {
    color: white; 
    opacity: 0.9;
    text-decoration: none;
}

.contact-info .tel, .contact-info .email {
    color: white; 
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info .tel:hover, .contact-info .email:hover {
    color: #ff6b35; 
}
.contact-info .tel::before{
    content: '✆';
    color: white;
    font-size: 16px;
    padding-right: 5px;
}
.contact-info .email::before{
    content: '✉';
    color: white;
    font-size: 16px;
    padding-right: 5px;
}
.lang-switch {
    background: white;
    color: #1e3c72;
    padding: 6px 12px;
    border-radius: 20px; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    border: none; 
    transition: background 0.3s, color 0.3s;
}

.lang-switch:hover,
.lang-switch[data-lang="ru"][style*="border-color: #ff6b35"], 
.lang-switch[data-lang="en"][style*="border-color: #ff6b35"] {
    background: #ff6b35; 
    color: white;
    border: none !important; 
}

.logo {
    color: white; 
    transition: opacity 0.3s;
}
.logo:hover {
    opacity: 0.8;
}




nav a {
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
    cursor: pointer;
    padding-bottom: 5px; 
    opacity: 1; 
}

nav a:hover {
    color: #ff6b35; 
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px; 
    background: #ff6b35; 
    transition: width 0.3s ease-in-out;
}

nav a:hover::after {
    width: 100%;
}

.btn {
    background: #ff6b35;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: #e55a2b;
}

.section {
    padding: 60px 0;
    background: white;
    margin-bottom: 2px;
}

.section:nth-child(even) {
    background: #fafafa;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1e3c72;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
    background-repeat: no-repeat; 
    background-position: center;
    background-size: contain;
}
.service-icon.truck{
    background-image: url('../assets/icons/truck.svg');
}
.service-icon.airplane{
    background-image: url('../assets/icons/airplane.svg');
}
.service-icon.ship{
    background-image: url('../assets/icons/passenger-ship.svg');
}
.service-icon.train{
    background-image: url('../assets/icons/train.svg');
}
.service-icon.box{
    background-image: url('../assets/icons/warehouse-inventory-stock-merchandise.svg');
}
.service-icon.list{
    background-image: url('../assets/icons/report.svg');
}
.service-card h3 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 22px;
}
.reliability-block {
    background: #f8f9fa;
}

.reliability-grid {
    display: flex;
    gap: 40px;
}

.advantages-list {
    flex: 1;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.reliability-factors {
    flex: 1;
}

.advantages-list h3,
.reliability-factors h3 {
    font-size: 24px;
    color: #1e3c72;
    margin-bottom: 25px;
    border-bottom: 2px solid #ff6b35; 
    padding-bottom: 10px;
}


.advantages-list ul {
    list-style: none;
    padding: 0;
}

.advantages-list li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    line-height: 1.4;
}

.advantages-list strong {
    display: block;
    font-size: 18px;
    color: #ff6b35; 
    margin-bottom: 5px;
}

.icon-checkmark {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    color: #1e3c72;
    font-weight: bold;
}

.factor-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.3s;
    border-left: 5px solid #1e3c72;
    cursor: pointer;
}

.factor-card:hover {
    transform: translateY(-3px);
}

.factor-card h4 {
    color: #1e3c72;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 5px;
}
.factor-card p {
    font-size: 15px;
    color: #555;
    flex-grow: 1;
}


.factor-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background-color: #ff6b35;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.factor-clock::before { 
    width: 40px;
    height: 40px;
    content: ' ';
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background-repeat: no-repeat; 
    background-position: center;
    background-size: contain;
    background-image: url('../assets/icons/clock.svg');
    
} 
.factor-lock::before { 
    width: 40px;
    height: 40px;
    content: ' ';
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background-repeat: no-repeat; 
    background-position: center;
    background-size: contain;
    background-image: url('../assets/icons/lock.svg');
}
@media (max-width: 992px) {
    .reliability-grid {
        flex-direction: column;
    }
    .advantages-list {
        order: 2; 
    }
    .reliability-factors {
        order: 1;
    }
}
@media (max-width: 600px) {
    .factor-card {
        flex-direction: column;
        text-align: center;
    }
    .factor-icon {
        margin: 0 auto 10px;
    }
}
.calculator {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
}

.result-box {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-top: 25px;
    border-left: 4px solid #1e3c72;
    display: none;
}

.result-box.active {
    display: block;
}

.result-box h3 {
    color: #1e3c72;
    margin-bottom: 15px;
}

.map-container {
    height: 450px;
    background: #e9ecef;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}
.stat-number {
    font-size: 42px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 15px;
    color:#333
;
}
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-year {
    font-size: 24px;
    font-weight: bold;
    color: #1e3c72;
    min-width: 80px;
}

.timeline-content {
    flex: 1;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

footer {
    background: #1e3c72;
    color: white;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    opacity: 0.8;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }
}
.social-icon{
    border-radius: 50%;
    background-color: #ff6b35;
    color: #1e3c72; 
    font-weight: bold;
    width: 35px;
    height: 35px;
    display: flex;
    font-size: 24px;
    background-repeat: no-repeat; 
    background-position: center;
    background-size: contain;
}
.social-icon.vk { 
    background-image: url('../assets/icons/vk.svg');
}
.social-icon.telegram { 
    background-image: url('../assets/icons/telegram.svg');
}
.social-icon.facebook { 
    background-image: url('../assets/icons/facebook.svg');
}