* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2e4053;
    margin-right: 20px;
}

.logo span {
    color: #8e44ad;
}

nav {
    flex-grow: 1;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #2e4053;
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 0;
    display: inline-block;
}

nav ul li a:hover {
    color: #8e44ad;
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icons a {
    margin-left: 15px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.social-icons img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #2e4053;
}

/* Hero section */
.hero {
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #2e4053, #8e44ad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #2e4053, #8e44ad);
    border-radius: 2px;
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #7f8c8d;
    line-height: 1.8;
}

.contact-info {
    margin-top: 40px;
    color: #7f8c8d;
}

/* Locations */
.locations {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.location-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 12px 25px;
    margin: 0 5px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.location-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, #2e4053, #8e44ad);
    transition: width 0.4s ease;
    z-index: -1;
}

.location-btn:hover::before,
.location-btn.active::before {
    width: 100%;
}

.location-btn:hover,
.location-btn.active {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(142, 68, 173, 0.3);
}

/* Featured section */
.featured {
    padding: 60px 0;
}

.featured-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-card {
    width: calc(33.333% - 20px);
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(142, 68, 173, 0.2);
}

.feature-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.8s ease;
    display: block;
}

.feature-card:hover img {
    transform: scale(1.05);
}

.feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    opacity: 0;
}

.feature-card:hover .feature-overlay {
    transform: translateY(0);
    opacity: 1;
}

.feature-overlay h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.feature-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

.city-tag {
    display: inline-block;
    padding: 5px 10px;
    background: linear-gradient(45deg, #2e4053, #8e44ad);
    border-radius: 20px;
    font-size: 12px;
    margin-top: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Services section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #eef2f7 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.services-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.service-box {
    width: calc(33.333% - 20px);
    padding: 40px 30px;
    text-align: center;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2e4053, #8e44ad);
    z-index: -1;
    transition: height 0.4s ease;
}

.service-box:hover::before {
    height: 100%;
    opacity: 0.05;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-box h3 {
    margin: 20px 0;
    color: #2e4053;
    font-size: 22px;
    position: relative;
    padding-bottom: 15px;
}

.service-box h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #2e4053, #8e44ad);
}

.service-box p {
    color: #7f8c8d;
    line-height: 1.8;
}

/* Footer */
footer {
    padding: 80px 0 30px;
    text-align: center;
    color: #7f8c8d;
    border-top: 1px solid #f0f0f0;
    background-color: #fafafa;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2e4053, #8e44ad);
}

.footer-logo {
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: bold;
    color: #2e4053;
}

.footer-logo span {
    color: #8e44ad;
}

.footer-social {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-social a {
    margin: 10px;
    color: #2e4053;
    text-decoration: none;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(142, 68, 173, 0.2);
}

.footer-text {
    margin: 30px 0;
    font-size: 14px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.company-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.company-info p {
    margin-bottom: 10px;
}

/* Добавление медиа-запросов для адаптивности */
@media screen and (max-width: 1024px) {
    .feature-card,
    .service-box {
        width: calc(50% - 15px);
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .header-content {
        justify-content: space-between;
    }
    
    .mobile-menu-btn {
        display: block;
        order: 3;
    }

    .logo {
        order: 1;
    }

    .social-icons {
        order: 2;
    }

    nav {
        flex-basis: 100%;
        order: 4;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        margin-top: 20px;
    }

    nav.open {
        max-height: 300px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 30px;
    }

    .locations {
        flex-wrap: wrap;
    }

    .location-btn {
        margin-bottom: 10px;
        flex: 1 0 45%;
    }

    .services-container {
        flex-direction: column;
    }

    .service-box {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-social {
        gap: 10px;
    }
    
    .footer-social a {
        width: 45px;
        height: 45px;
        margin: 5px;
    }
    
    .company-info {
        padding: 20px 10px;
    }
}

@media screen and (max-width: 576px) {
    .header-content {
        padding: 10px 0;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .social-icons img {
        width: 25px;
        height: 25px;
    }
    
    .feature-card {
        width: 100%;
    }

    .hero h1 {
        font-size: 26px;
    }
    
    .hero h1::after {
        width: 80px;
    }

    .location-btn {
        width: 100%;
        margin: 5px 0;
        padding: 10px 15px;
    }
    
    .footer-logo {
        font-size: 24px;
    }
    
    .footer-text {
        padding: 0 10px;
    }
    
    .footer-social {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .company-info {
        font-size: 12px;
    }
}

@media screen and (max-width: 380px) {
    .container {
        padding: 0 10px;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .logo {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .hero h1 {
        font-size: 22px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .feature-card img {
        height: 350px;
    }
    
    .service-box {
        padding: 30px 20px;
    }
    
    .service-box h3 {
        font-size: 18px;
    }
}