:root {
    --primary: #0066cc;
    --secondary: #ff6600;
    --light: #f8f9fa;
    --dark: #343a40;
    --success: #28a745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Альтернативное решение для навбара */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center; /* Центрируем все содержимое по вертикали */
    height: 70px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 15px;
}

.nav-brand, .nav-menu, .nav-actions {
    display: flex;
    align-items: center; /* Центрируем содержимое по вертикали */
}

.nav-brand h2 {
    color: var(--primary);
    margin: 0;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

/* Специальный контейнер для кнопки */
.nav-actions {
    margin-left: 20px;
}

.nav-actions .btn-primary {
    white-space: nowrap;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 2px 0;
    transition: 0.3s;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-large {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #0055aa;
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
    border: none;
}

.btn-secondary:hover {
    background-color: #e55500;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/kids.jpg') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .lead {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta {
    margin-top: 30px;
}

.cta p {
    margin-top: 15px;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Special button for hero section */
.hero .btn-large {
    background-color: var(--secondary); /* Используем оранжевый вместо синего */
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-shadow: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero .btn-large:hover {
    background-color: #e55500;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Альтернативный вариант с белой кнопкой */
/*
.hero .btn-large {
    background-color: white;
    color: var(--primary);
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero .btn-large:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}
*/

/* Tariffs Section */
.tariffs {
    padding: 80px 0;
    background-color: white;
}

.tariffs h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark);
}

.tariff-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.card {
    background-color: var(--light);
    border-radius: 10px;
    padding: 30px;
    width: 300px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card.featured {
    border: 2px solid var(--primary);
    position: relative;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--dark);
}

.card ul {
    list-style: none;
    margin-bottom: 25px;
}

.card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark);
}

/* Services Section - Updated */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f8ff;
    border-radius: 50%;
    padding: 15px;
}

.service-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--secondary);
    font-weight: 600;
    margin-top: auto;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.service-details {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.detail-content h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-info {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--light);
    border-radius: 5px;
}

/* Payment Form */
.payment {
    padding: 80px 0;
}

.payment h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark);
}

.payment-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}




/*

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 320px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 120px; 
    height: 120px; 
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f8ff;
    border-radius: 50%;
    padding: 20px; 
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: #e1f0ff;
    transform: scale(1.05);
}

.service-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.1); 
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: auto;
    padding: 8px 16px;
    background-color: #fff4e6;
    border-radius: 20px;
    display: inline-block;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        min-height: 280px;
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 100px;
        height: 100px;
        padding: 15px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .service-icon {
        width: 90px;
        height: 90px;
        padding: 12px;
    }
}

*/






/* Offer Section */
.offer {
    padding: 80px 0;
}

.offer h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: var(--dark);
}

.offer-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.offer-content h3 {
    color: var(--primary);
    margin: 20px 0 10px;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-section p, .footer-section a {
    margin-bottom: 10px;
    color: #ddd;
}

.footer-section a:hover {
    color: white;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}



/* Hero Section for Offer Page */
.hero-offer {
    background: linear-gradient(rgba(0, 50, 80, 0.7), rgba(0, 50, 80, 0.7)), url('../images/pic1.jpg') no-repeat center center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-offer h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-offer .lead {
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

/* Offer Section Styles */
.offer-content {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: -40px;
    position: relative;
    z-index: 1;
}

.offer-content h2 {
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 15px;
}

.offer-content h3 {
    color: var(--primary);
    margin: 30px 0 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.company-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary);
}

.company-info p {
    margin-bottom: 8px;
}

.signature {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px dashed #ccc;
    text-align: right;
    font-style: italic;
}

/* Адаптивность для страницы оферты */
@media (max-width: 768px) {
    .hero-offer {
        padding: 60px 0;
    }
    
    .hero-offer h1 {
        font-size: 2.2rem;
    }
    
    .hero-offer .lead {
        font-size: 1.2rem;
    }
    
    .offer-content {
        padding: 25px;
        margin-top: -30px;
    }
}

@media (max-width: 480px) {
    .offer-content {
        padding: 20px 15px;
    }
    
    .company-info {
        padding: 15px;
    }
}



/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: var(--primary);
    text-decoration: none;
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-right: 30px;
}

.modal-info {
    margin-bottom: 25px;
}

.modal-info ul {
    margin: 15px 0;
    padding-left: 20px;
}

.modal-info li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.modal-contact {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid var(--primary);
}

.modal-contact p {
    margin-bottom: 8px;
}

.modal-contact a {
    color: var(--primary);
    font-weight: 600;
}

.modal-btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
}

/* Адаптивность модальных окон */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 25px 20px;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 15% auto;
        padding: 20px 15px;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
}