/* Container for the carousel */
.carousel-container {
    margin-top: 150px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Flex container for slides */
.carousel-slides {
    display: flex;
    transition: transform 0.7s ease-in-out;
}

/* Individual slide */
.carousel-slide {
    width: 100%;
    height: 720px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Overlay */
.homehero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.227);
}

/* Content container */
.content-container {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem; /* Matches p-6 */
    max-width: 896px; /* Matches max-w-4xl (4xl = 896px in Tailwind) */
    margin-left: 1rem; /* Matches ml-4 */
    color: white;
}

.content-container {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem; /* Matches p-6 */
    max-width: 896px; /* Matches max-w-4xl (4xl = 896px in Tailwind) */
    margin-left: 1rem; /* Matches ml-4 */
    color: white;
}

/* Title */
.content-container h1 {
    font-size: 1.875rem; /* Matches text-3xl */
    font-weight: 700; /* Matches font-bold */
    margin-bottom: 1rem; /* Matches mb-4 */
}

/* Paragraph */
.content-container p {
    font-size: 15px; /* Matches text-[15px] */
    text-align: justify; /* Matches text-justify */
    margin-bottom: 1.5rem; /* Matches mb-6 */
}

/* Button container */
.button-container {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Matches gap-4 */
    position: relative;
    top: 120px; /* moves buttons 20px down */
}

/* First button (Contact Us) */
.button-contact {
    padding: 0.5rem 1.5rem; /* Matches px-6 py-2 */
    color: white;
    border: 1px solid #ffc107; /* Matches border-[#ffc107] */
    font-weight: 500; /* Matches font-medium */
    transition: all 0.3s; /* Matches transition */
    background: none;
    cursor: pointer;
}

/* Second button (Read More) */
.button-readmore {
    padding: 0.5rem 1.5rem; /* Matches px-6 py-2 */
    background-color: #facc15; /* Matches bg-yellow-400 */
    color: black;
    font-weight: 500; /* Matches font-medium */
    border: none;
    transition: all 0.3s; /* Matches transition */
    cursor: pointer;
}

.button-readmore:hover {
    background-color: white;
    border: 1px solid #facc15; /* Matches hover:border-yellow-400 */
}

/* Responsive styles */
@media (min-width: 768px) {
    .content-container {
        padding: 3rem; /* Matches md:p-12 */
        margin-left: 4rem; /* Matches md:ml-16 */
    }

    .content-container h1 {
        font-size: 3rem; /* Matches md:text-5xl */
    }

    .button-container {
        flex-direction: row; /* Matches md:flex-row */
    }
}

@media (min-width: 1140px) {
  .carousel-slide {
    width: 100%;
    height: 500px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

}

@media (min-width: 375px) {
    .carousel-container {
        padding-top:0; 
        margin-top: 0; 
    }
}


@media (min-width: 425px) {
    .carousel-container {
        padding-top:0; 
        margin-top: 0; 
    }
}


@media (min-width: 768px) {
    .carousel-container {
        padding-top:120px; 

    }
}

