* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a4d4d 0%, #2d6666 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    min-height: 500px;
}

/* Left side - Image section */
.image-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f3ff 0%, #e8f4f8 100%);
    padding: 40px;
    position: relative;
}

.scaffold-illustration {
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 400px;
}

/* Animations for workers */
@keyframes carryingBricks {
    0%, 100% {
        transform: translateX(-5px);
    }
    25% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(0px);
    }
}

@keyframes hammering {
    0%, 100% {
        transform: translateX(-4px);
    }
    25% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(4px);
    }
    75% {
        transform: translateX(0px);
    }
}

@keyframes carryingPlank {
    0%, 100% {
        transform: translateX(-6px);
    }
    25% {
        transform: translateX(-2px);
    }
    50% {
        transform: translateX(6px);
    }
    75% {
        transform: translateX(2px);
    }
}

.worker-1 {
    animation: carryingBricks 3s ease-in-out infinite;
    transform-origin: 90px 298px;
}

.worker-2 {
    animation: hammering 2s ease-in-out infinite;
    transform-origin: 200px 298px;
}

.worker-3 {
    animation: carryingPlank 2.5s ease-in-out infinite;
    transform-origin: 310px 298px;
}

/* Right side - Content section */
.content-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
    background: white;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.main-text {
    font-size: 42px;
    font-weight: 700;
    color: #1a4d4d;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.sub-text {
    font-size: 18px;
    color: #4B5563;
    line-height: 1.6;
}

.sub-text a {
    color: #FF8C42;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sub-text a:hover {
    color: #1a4d4d;
    text-decoration: underline;
}

/* Loading animation */
.loading-dots {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #FF8C42;
    animation: pulse 1.5s ease-in-out infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        min-height: auto;
    }

    .image-section {
        padding: 30px 20px;
        min-height: 300px;
    }

    .content-section {
        padding: 40px 30px;
    }

    .main-text {
        font-size: 32px;
    }

    .sub-text {
        font-size: 16px;
    }

    .scaffold-illustration {
        max-width: 300px;
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        border-radius: 0;
    }

    .image-section {
        min-height: 250px;
        padding: 20px;
    }

    .content-section {
        padding: 30px 20px;
    }

    .main-text {
        font-size: 24px;
    }

    .sub-text {
        font-size: 14px;
    }

    .content-wrapper {
        gap: 20px;
    }
}
