.fours-container-wrapper {
    background-color: #000;
    opacity: 0.8;
    border: 2px solid #000;
    padding: 20px;
    margin: 0 150px;
}

.fours-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.fours-hero {
    color: #fff;
    padding: 100px 0;
    text-align: center;
    background-image: url('https://yusarch.ru/wp-content/uploads/2019/07/Shkola-825-LST-3D-1-of-4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.fours-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.fours-hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.fours-hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Buttons */
.fours-btn {
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.fours-btn-primary {
    background-color: #F6851D;
    color: #fff;
}

.fours-btn-primary:hover {
    background-color: #e6750d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(246, 133, 29, 0.3);
}

/* Sections */
.fours-services,
.fours-features,
.fours-projects {
    padding: 80px 0;
}

.fours-services {
    background-color: #f8f9fa;
}

.fours-section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: #fff;
    font-weight: bold;
}

/* Services Grid */
.fours-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.fours-service-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.fours-service-card:hover {
    transform: translateY(-5px);
}

.fours-service-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.fours-service-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: #fff;
}

.fours-service-text {
    color: #fff;
    line-height: 1.8;
}

.fours-services .fours-service-title {
    color: #000;
}

.fours-services .fours-service-text {
    color: #000;
}

/* Text Block */
.fours-text-block {
    padding: 80px 0;
    background-color: #fff;
}

.fours-text-content {
    max-width: 1200px;
    margin: 0 auto;
}

.fours-text-content p {
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.fours-text-content p:last-child {
    margin-bottom: 0;
}

/* Features */
.fours-features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.fours-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

.fours-feature-number {
    font-size: 48px;
    font-weight: bold;
    color: #F6851D;
    min-width: 80px;
}

.fours-feature-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.fours-feature-text {
    color: #fff;
    line-height: 1.8;
}

.fours-features .fours-feature-title {
    color: #000;
}

.fours-features .fours-feature-text {
    color: #000;
}

/* Projects */
.fours-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.fours-project-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    opacity: 1 !important;
}

.fours-project-card:hover {
    transform: translateY(-5px);
}

.fours-project-image {
    width: 100%;
    height: 200px;
    background-color: #f8f9fa;
    background-image: linear-gradient(135deg, #122538 0%, #1a3a52 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fours-project-title {
    font-size: 22px;
    padding: 20px;
    color: #fff;
}

.fours-project-info {
    padding: 0 20px 20px;
    color: #fff;
}

.fours-projects .fours-project-title {
    color: #000;
}

.fours-projects .fours-project-info {
    color: #000;
}

/* Footer */
.fours-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    color: #fff;
    padding: 70px 0 50px;
    border-top: 2px solid rgba(246, 133, 29, 0.3);
    position: relative;
}

.fours-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #F6851D, transparent);
}

.fours-footer-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 50px;
}

.fours-footer-section {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    text-align: center;
}

.fours-footer-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 35px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

.fours-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #F6851D;
}

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

.fours-footer-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fours-footer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(246, 133, 29, 0.2), transparent);
    transition: left 0.5s ease;
}

.fours-footer-link:hover::before {
    left: 100%;
}

.fours-footer-link:hover {
    color: #F6851D;
    background: rgba(246, 133, 29, 0.1);
    border-color: #F6851D;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(246, 133, 29, 0.3);
}

.fours-footer-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(246, 133, 29, 0.2);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.fours-footer-link:hover .fours-footer-icon {
    background: #F6851D;
    transform: scale(1.1);
}

/* WhatsApp Icon */
.fours-footer-link-whatsapp .fours-footer-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: absolute;
    box-sizing: border-box;
}

.fours-footer-link-whatsapp .fours-footer-icon::after {
    content: '';
    width: 10px;
    height: 2px;
    background: #fff;
    position: absolute;
    bottom: 7px;
    right: 7px;
    transform: rotate(45deg);
}

/* Email Icon */
.fours-footer-link-email .fours-footer-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #fff;
    position: absolute;
    top: 8px;
}

.fours-footer-link-email .fours-footer-icon::after {
    content: '';
    width: 16px;
    height: 12px;
    border: 2px solid #fff;
    border-top: none;
    position: absolute;
    top: 12px;
    box-sizing: border-box;
}

/* Phone Icon */
.fours-footer-link-phone .fours-footer-icon::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 4px;
    position: absolute;
    box-sizing: border-box;
}

.fours-footer-link-phone .fours-footer-icon::after {
    content: '';
    width: 8px;
    height: 8px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    position: absolute;
    top: 2px;
    right: 2px;
    border-radius: 0 0 4px 0;
    box-sizing: border-box;
}

.fours-footer-text {
    flex: 1;
    text-align: left;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .fours-hero-title {
        font-size: 32px;
    }

    .fours-hero-subtitle {
        font-size: 18px;
    }

    .fours-feature-item {
        flex-direction: column;
        text-align: center;
    }

    .fours-feature-number {
        min-width: auto;
    }

    .fours-footer {
        padding: 50px 0 35px;
    }

    .fours-footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .fours-footer-section {
        max-width: 100%;
    }

    .fours-footer-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .fours-footer-contacts {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .fours-footer-link {
        font-size: 15px;
        padding: 15px 18px;
    }

    .fours-footer-icon {
        width: 35px;
        height: 35px;
        min-width: 35px;
    }

    .fours-footer-text {
        font-size: 14px;
    }
}