@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

.main-container {
  max-width: 1740px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

a
{
    text-decoration: none;
    color: #000;
}

.about-a
{
  color: #fff;
}

img
{
    object-fit: cover;
}

body
{
    background-color: #f1f1f1;
}

nav
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    color: #0f2182;
    font-weight: 600;
    font-weight: bold;
    font-size: 32px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.logo:hover {
    color: #1a34b8;
    transform: translateY(-2px);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0f2182, #1a34b8);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.logo span {
    color: white; 
    -webkit-text-stroke: 1.5px #0f2182; 
    padding: 0 2px;
    transition: all 0.3s ease;
}

.logo:hover span {
    -webkit-text-stroke: 1.5px #1a34b8;
    color: #f0f0f0;
}

nav .links a:not(:last-child)
{
    margin-right: 20px;
}

nav .login {
    position: relative;
}

nav .login button
{
     padding: 8px 14px;
    border: none;
    cursor: pointer;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

nav .login button.main-btn {
    font-weight: 400;
    font-size: 15px;
    background-color: #000;
    color: #fff;
    border-radius: 4px;
    margin-right: 14px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid #000;
}

/* Эффект при наведении - основной */
nav .login button.main-btn:hover {
    background-color: #0f2182;
    color: white;
    transform: translateY(-3px) scale(1.05);
    border-color: #0f2182;
    box-shadow: 0 10px 20px rgba(15, 33, 130, 0.3);
}

/* Блестящий эффект при наведении */
nav .login button.main-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

nav .login button.main-btn:hover::before {
    left: 100%;
}

/* Эффект пульсации после наведения */
nav .login button.main-btn:hover {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 33, 130, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(15, 33, 130, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(15, 33, 130, 0);
    }
}

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

        .terms-header {
            text-align: center;
            margin-bottom: 50px;
            padding-bottom: 30px;
            border-bottom: 2px solid #e0e0e0;
        }

        .terms-header h1 {
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .terms-header .subtitle {
            font-size: 1.2rem;
            color: #7f8c8d;
            margin-bottom: 10px;
        }

        .terms-content {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            padding: 50px;
            line-height: 1.7;
        }

        .section {
            margin-bottom: 40px;
        }

        .section:last-child {
            margin-bottom: 0;
        }

        .section-header {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid #ecf0f1;
        }

        .section-number {
            background: #3498db;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-right: 15px;
            font-size: 1.1rem;
        }

        .section-title {
            font-size: 1.5rem;
            color: #2c3e50;
            font-weight: 600;
        }

        .subsection {
            margin-bottom: 25px;
            padding-left: 55px;
        }

        .subsection-header {
            display: flex;
            align-items: flex-start;
            margin-bottom: 15px;
        }

        .subsection-number {
            font-weight: 700;
            color: #3498db;
            min-width: 30px;
            margin-right: 10px;
        }

        .subsection-title {
            font-weight: 600;
            color: #2c3e50;
            font-size: 1.1rem;
        }

        .subsection-content {
            color: #555;
            margin-bottom: 15px;
        }

        .contact-info {
            background: #f8f9fa;
            padding: 25px;
            border-radius: 8px;
            border-left: 4px solid #3498db;
            margin: 20px 0;
        }

        .contact-info h4 {
            color: #2c3e50;
            margin-bottom: 15px;
            font-size: 1.2rem;
        }

        .contact-detail {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
            color: #555;
        }

        .contact-detail i {
            color: #3498db;
            margin-right: 10px;
            width: 20px;
        }

        .highlight-box {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 30px;
            border-radius: 10px;
            margin: 30px 0;
            text-align: center;
        }

        .highlight-box h3 {
            margin-bottom: 15px;
            font-size: 1.4rem;
        }

        .legal-reference {
            background: #e8f4fd;
            border: 1px solid #b3e0ff;
            border-radius: 6px;
            padding: 15px;
            margin: 15px 0;
            font-style: italic;
        }

        .warning-note {
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 6px;
            padding: 15px;
            margin: 15px 0;
            color: #856404;
        }

        .info-box {
            background: #d1ecf1;
            border: 1px solid #bee5eb;
            border-radius: 6px;
            padding: 15px;
            margin: 15px 0;
            color: #0c5460;
        }

        .transport-list {
            margin: 10px 0 10px 20px;
        }

        .transport-list li {
            margin-bottom: 5px;
            position: relative;
            padding-left: 20px;
        }

        .transport-list li:before {
            content: "•";
            color: #3498db;
            font-weight: bold;
            position: absolute;
            left: 0;
        }




footer {
  background-color: #0f2182;
  color: #fff;
  padding: 60px 0 20px;
  margin-top: 80px;
  width: 100%; 
}

.footer-content {
  max-width: 1700px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* Равномерное распределение */
  padding: 0 20px;
}

.footer-section {
  min-width: 0; /* Позволяет блокам сжиматься */
  padding: 10px;
  box-sizing: border-box;
}


.logo2 {
    color: #fff;
    font-weight: 600;
    font-weight: bold;
    font-size: 28px;
  margin-bottom: 20px;
  display: inline-block;

}

.logo2 span {
    color: #0f2182; 
    -webkit-text-stroke: 1.1px #fff; 
    padding: 0 2px; 
}

.footer-description {
  color: #c9d1f8;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #fff;
  color: #0f2182;
  transform: translateY(-3px);
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: #fff;
}

.footer-links,
.footer-contacts {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #c9d1f8;
  transition: all 0.3s ease;
  font-size: 15px;
   display: block;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-contacts li {
  display: flex;
align-items: center;
  margin-bottom: 15px;
  color: #c9d1f8;
  font-size: 15px;
}

.footer-contacts i {
  margin-right: 12px;
  font-size: 18px;
  min-width: 20px;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-bottom p {
  color: #c9d1f8;
  font-size: 14px;
}

.payment-methods {
  display: flex;
  gap: 15px;
}

.payment-methods i {
  font-size: 28px;
  color: #c9d1f8;
  transition: color 0.3s ease;
}

.payment-methods i:hover {
  color: #fff;
}

@media (max-width: 768px) {
            .terms-content {
                padding: 30px 20px;
            }
            
            .terms-header h1 {
                font-size: 2rem;
            }
            
            .subsection {
                padding-left: 20px;
            }
            
            .section-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .section-number {
                margin-bottom: 10px;
            }
        }

@media (max-width: 768px) {
   .main-container {
        padding: 0 15px;
    }

      nav {
        flex-direction: column;
        height: auto;
        padding: 20px;
        text-align: center;
    }

    nav .links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    nav .about-btn-block {
        margin-top: 10px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px;
    }

    .footer-section {
        flex: 1 1 100%;
        place-items: center;
        padding: 20px 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}