.hero {
    background-color: var(--dark-slate-gray);
    min-height: calc(100vh - 76px);
    padding: 3rem 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-title {
    color: var(--mint-cream);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero-image {
    margin-top: 10%;
    height: 85%;
    width: 100%;
    object-fit: cover;
    border-radius: 30px 0 0 30px;
}

/* Update the text container to ensure proper spacing */
.hero .col-lg-6:first-child {
    z-index: 1;
    padding-right: 2rem; /* Add some spacing between text and image */
}

.illustration-container {
    position: absolute;
    right: -25%;  /* This will hide only 10% of the image */
    top: 0;
    height: 100%;
    width: 75%;   /* Increase width to show more of the image */
}





.message-item {
    transition: all 0.3s ease;
}




.upload-options .option-list {
    border-left: 4px solid var(--cambridge-green);
    padding-left: 2rem;
    margin-left: 1rem;
}

.upload-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    font-size: 1.2rem;
}

.upload-option i {
    font-size: 1.5rem;
}

.upload-box {
    border: 3px dashed #2c2c2c;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.upload-box:hover {
    border-color: var(--old-gold);;
    background-color: var(--nyanza);
    cursor: pointer;
}

/* Make text in options more visible */
.upload-option span {
    color: #333;
    font-weight: 500;
}

/* Update these styles */
.spinner-large {
    width: 5rem;
    height: 5rem;
    opacity: 0.4;
}

.spinner-wrapper {
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    animation: none;
    transition: none;
}

.processing-content {
    position: relative;
}

.messages-container {
    padding-right: 8rem;
}

/* Reset any inherited animations for the spinner itself */
.spinner-border {
    animation: spinner-border 0.75s linear infinite;
}



@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .illustration-container {
        position: relative;
        right: 0;
        width: 100%;
        height: 300px;
        margin-top: 2rem;
    }

    .how-it-works h2 {
        font-size: 2rem;
    }

    .card {
        margin-bottom: 1rem;
    }
}