:root {
    --light-pink: #f8e8e9;
    --dark-brown: #3d6b2e;
    --cream: #e9e5e0;
}

body {
    background-color: var(--light-pink);
    font-family: 'Roboto', sans-serif;
    color: var(--dark-brown);
    overflow-x: hidden;
}

.container-fluid.main-container.hero2 {
    background-color: var(--color-primary-light);
    padding: 2.5rem;
    border-radius: 1.5rem;
    margin: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow-x: hidden;
    /* Added to prevent horizontal scrolling within the container */
}

/* Mobile-first adjustments for the main container */
@media (max-width: 767.98px) {
    .container-fluid.main-container.hero2 {
        margin: 1rem;
        padding: 1rem;
    }
}

.hero-2-section {
    padding-top: 4rem;
}

.hero-2-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--color-text-light);
    /* Responsive font size */
    font-size: 3rem;
}

/* Adjust hero title font size for larger screens */
@media (min-width: 992px) {
    .hero-2-title {
        font-size: 5rem;
    }
}

.hero-2-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
}

.card-custom {
    background-color: var(--dark-brown);
    color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-custom-cream {
    background-color: var(--cream);
    color: var(--dark-brown);
}

.card-text-light {
    font-weight: 300;
    line-height: 1.4;
}

.card-title-small {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 700;
}

.card-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.arrow-icon {
    font-size: 1.5rem;
}

.get-started {
    position: absolute;
    top: 50%;
    left: -3rem;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--dark-brown);
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.get-started-text {
    transform: rotate(-90deg);
}

/* Adjust get-started button for smaller screens */
@media (max-width: 991.98px) {
    .get-started {
        width: 120px;
        height: 120px;
        font-size: 0.8rem;
        left: -2rem;
    }
}

/* Adjust for even smaller screens to keep the button visible */
@media (max-width: 767.98px) {
    .get-started {
        width: 100px;
        height: 100px;
        font-size: 0.7rem;
        left: -1.5rem;
        top: 30%;
        /* Raised to 30% for mobile */
    }
}

.image-container {
    background-color: var(--cream);
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
}

.hero-2-image {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
}

.image-caption {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background-color: white;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    line-height: 1.4;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .image-caption {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }
}