/* Image Placeholders with CSS Gradients */

/* About Section Images */
.about-item:nth-child(1) .about-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.about-item:nth-child(1) .about-image::after {
    content: 'GREETINGS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.about-item:nth-child(2) .about-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    position: relative;
}

.about-item:nth-child(2) .about-image::after {
    content: 'BUSINESS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.about-item:nth-child(3) .about-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    position: relative;
}

.about-item:nth-child(3) .about-image::after {
    content: 'COMPANY';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.about-item:nth-child(4) .about-image {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    position: relative;
}

.about-item:nth-child(4) .about-image::after {
    content: 'PHILOSOPHY';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.about-item:nth-child(5) .about-image {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    position: relative;
}

.about-item:nth-child(5) .about-image::after {
    content: 'HISTORY';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Solutions Section Images */
.solution-item:nth-child(1) .solution-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.solution-item:nth-child(1) .solution-image::after {
    content: '☁️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
}

.solution-item:nth-child(2) .solution-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    position: relative;
}

.solution-item:nth-child(2) .solution-image::after {
    content: '🏭';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
}

.solution-item:nth-child(3) .solution-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    position: relative;
}

.solution-item:nth-child(3) .solution-image::after {
    content: '🤖';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
}

.solution-item:nth-child(4) .solution-image {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    position: relative;
}

.solution-item:nth-child(4) .solution-image::after {
    content: '📡';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
}

/* CTA Background Images */
.cta-recruit .cta-background {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-contact .cta-background {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Hero Background */
.hero-fallback-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.hero-fallback-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* Remove img tags since we're using CSS backgrounds */
.about-image img,
.solution-image img,
.cta-background img {
    display: none;
}

/* Add hover effects for gradient backgrounds */
.about-item:hover .about-image,
.solution-item:hover .solution-image {
    background-size: 110% 110%;
    transition: background-size 0.3s ease;
}

/* Animated gradient backgrounds */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-fallback-image {
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* Icon styles for better visual appeal */
.about-image::after,
.solution-image::after {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.about-item:hover .about-image::after,
.solution-item:hover .solution-image::after {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Additional visual enhancements */
.about-image,
.solution-image {
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
}

.about-item:hover .about-image,
.solution-item:hover .solution-image {
    filter: brightness(1.1);
}

/* Responsive adjustments for images */
@media (max-width: 768px) {
    .about-image::after,
    .solution-image::after {
        font-size: 1rem;
    }
    
    .solution-image::after {
        font-size: 2rem;
    }
}
