/* ===================================
   Hero Carousel Background Images
   Company Environment Slides
   =================================== */

/* Override hero section for carousel */
.hero {
    min-height: 100vh;
    padding-top: 0 !important;
    background: none !important;
}

.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
    min-height: 100vh;
    height: 100vh;
}

.hero .carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

/* Overlay for better text readability */
.hero .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.65) 0%, rgba(26, 61, 13, 0.75) 100%);
    z-index: 0;
}

.hero .hero-content {
    position: relative;
    z-index: 10 !important;
    padding-top: 80px;
}

.hero .hero-content h1,
.hero .hero-content p,
.hero .hero-content .hero-buttons {
    position: relative;
    z-index: 10;
}

/* Slide 1 - Modern Office Environment */
.hero .carousel-item:nth-child(1) {
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&h=1080&fit=crop');
}

/* Slide 2 - Team Collaboration / Meeting Room */
.hero .carousel-item:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&h=1080&fit=crop');
}

/* Slide 3 - Technology Workspace / Computers */
.hero .carousel-item:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1531973576160-7125cd663d86?w=1920&h=1080&fit=crop');
}

/* Animation for background images */
@keyframes kenburns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero .carousel-item.active {
    animation: kenburns 10s ease-out;
}

/* Carousel Controls Styling */
.hero .carousel-indicators {
    z-index: 11;
    margin-bottom: 2rem;
    position: absolute;
    bottom: 20px;
}

.hero .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: transparent;
    opacity: 0.7;
}

.hero .carousel-indicators button.active {
    background-color: #fff;
    opacity: 1;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
    z-index: 11;
    width: 60px;
    opacity: 0.8;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
    opacity: 1;
}

.hero .carousel-control-prev-icon,
.hero .carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(45, 80, 22, 0.5);
    border-radius: 50%;
    padding: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero .carousel-item::before {
        background: linear-gradient(135deg, rgba(45, 80, 22, 0.75) 0%, rgba(26, 61, 13, 0.85) 100%);
    }

    .hero .carousel,
    .hero .carousel-inner,
    .hero .carousel-item {
        min-height: 100vh;
    }

    .hero .hero-content {
        padding-top: 100px;
    }
}
