/* Hero Image Wrapper Styles */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-image-wrapper .floating-card {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.hero-image-wrapper .floating-card i {
    font-size: 1.2rem;
    color: #667eea;
}

.hero-image-wrapper .card-1 {
    top: 3%;
    right: 1%;
    animation-delay: 0s;
}

.hero-image-wrapper .card-2 {
    bottom: 27%;
    left: 1%;
    animation-delay: 1s;
}

.hero-image-wrapper .card-3 {
    bottom: 2%;
    right: 1%;
    animation-delay: 2s;
}

/* About Image Wrapper Styles */
.about-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.about-image-wrapper .about-experience {
    position: absolute;
    bottom: -10px;
    right: -10px;
    z-index: 2;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    min-width: 140px;
}

.about-image-wrapper .experience-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.about-image-wrapper .experience-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-image-wrapper {
        min-height: 300px;
    }
    
    .hero-image-wrapper .floating-card {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .hero-image-wrapper .floating-card i {
        font-size: 1rem;
    }
    
    .about-image-wrapper {
        height: 350px;
    }
    
    .about-image-wrapper .about-experience {
        padding: 1.5rem;
        bottom: -20px;
        right: -20px;
        min-width: 120px;
    }
    
    .about-image-wrapper .experience-number {
        font-size: 2rem;
    }
}

/* Placeholder styles when no image is set */
.hero-image-wrapper:not(:has(img)),
.about-image-wrapper:not(:has(img)) {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-image-wrapper:not(:has(img))::before,
.about-image-wrapper:not(:has(img))::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.1;
}

.hero-image-wrapper:not(:has(img))::after {
    content: 'Hero Image';
    font-size: 2rem;
    color: rgba(102, 126, 234, 0.3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}

.about-image-wrapper:not(:has(img))::after {
    content: 'About Image';
    font-size: 2rem;
    color: rgba(102, 126, 234, 0.3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}