.hero-container {
    background-color: #fff;
    display: flex; /* Using flex to ensure panels fill height if content is short */
    width: 100%;

    height: auto;
    min-height: min(85vh, 1200px); /* vh on most monitors, absolute value for very large monitors (Z. Mikovec :]) */
}

.left-panel {
    background-color: var(--dark-green); 
    color: #ffffff;
    padding: 3rem; /* Generous padding */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */

    align-items: flex-end;
    text-align: right;
}

.left-panel h1 {
    font-size: clamp(2rem, 3.0vw, 3.2rem); /* Responsive font size */
    letter-spacing: 0.2rem;
    margin-bottom: 3rem;
    margin-top: 2.5rem;
    line-height: 1.2;
    font-weight: 400;
}

.left-panel p {
    font-size: clamp(1.1rem, 2vw, 1.25rem); /* Responsive font size */
    line-height: 1.6;
    margin-bottom: 4rem;
    opacity: 0.9; /* Slightly less opaque for body text */
    max-width: 30rem;
    font-weight: 200;
}

.btn-custom-login {
    background-color: transparent; /* Slightly lighter shade for login button */
    border-color: var(--light-green);
    color: var(--light-green);
    padding: 0.8rem 2rem;
    font-size: 1rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    border-radius: 0;
    font-weight: 400;
}

.btn-custom-login:hover {
    /* background-color: #f7f7f7; */
    border-color: var(--light-darker-green);
    color: var(--light-darker-green);
    /* color: black; */
}

.btn-custom-register {
    background-color: var(--light-green);
    border-color: var(--light-green);
    color: #333333; /* Dark text for contrast */
    padding: 0.8rem 2.3rem;
    font-size: 1rem;
    border-radius: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    font-weight: 400;
}
.btn-custom-register:hover {
    background-color: #f7f7f7; /* #78b988 */
    background-color: #91e1a5; /*  */
    border-color: #91e1a5;
    /* color: black; */
    color: #333333;
}


.right-panel {
    background-color: #F0F0F0; /* Light grey background for the image section */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.right-panel-image-container {
    position: absolute; /* Nasty temporary workaround */

    max-width: 90%;
    width: max(50%, 35rem);
    height: 100%;
    display: flex;
    justify-content: center;
    flex-flow: column;
    align-items: center;
    font-size: clamp(1rem, 3vw, 1.1rem);
    color: #939393; /* Bootstrap's muted text color */
}

.right-panel-image {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1); /* Light border */

    max-width: 40rem;
    object-fit: contain;
}

.right-panel-image-description {
    margin-top: 1rem;
}


.carousel-inner .carousel-item {
  /* transition: transform 0.5s ease-in-out; */
  /* transition: transform 2s ease, opacity .5s ease-out; */
}

.carousel-caption{
    position: initial;
    padding-bottom: 0;
    color: #acabab;
}

.carousel-indicators{
    position: initial;    
}

.carousel-indicators li{
    background-color: #acabab;
}

.carousel-indicators .active{
    background-color: #91e1a5;
}


@media (max-width: 1024px) {

}

/* Responsive adjustments for smaller screens (Bootstrap handles column stacking automatically) */
@media (max-width: 767.98px) {
    .hero-container {
        flex-direction: column; /* Stacks panels on mobile */
        width: 100%; /* Full width on mobile */
        box-shadow: none; /* Remove shadow on full-width mobile */
        min-height: auto; /* Allow height to adjust based on content */
        height: auto;
    }

    .left-panel {
        padding: 2rem; /* Reduce padding on mobile */
        text-align: center; /* Center text on mobile */
        align-items: center; /* Center items on mobile */
    }

    .left-panel h1{
        color: var(--light-green);
    }

    .right-panel {
        min-height: 300px; /* Ensure some height for the image panel on mobile */
        padding: 1.5rem;
        background: #25292d;
        opacity: 0.9;          
    }

    #descImage1{
        display: none;
    }

    .carousel-indicator-active{
        color: var(--light-green);
    }

    .btn-group-custom {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 1rem; /* Space between stacked buttons */
        width: 100%; /* Make buttons full width */
    }

    .btn-group-custom .btn {
        width: 80%; /* Limit button width on mobile */
        margin: 0 auto; /* Center buttons */
    }
}


@media (max-width: 575.98px) { /* Extra small devices */
    .left-panel h1 {
        font-size: 2rem;
    }
    .left-panel p {
        font-size: 1.1rem;
    }
}