.main-content {
    text-align: center;
    padding: 0px;
}
.main-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
}
.main-content p {
    font-size: 18px;
    margin-bottom: 40px;
}


/* Image and Text Section */
#image-text {
    padding: 2em;
    background-color: #fff;
}

.image-text-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 5px;
}

.image-text-container img {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1em;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    margin-bottom: 0.5em;
}

.text-content p {
    margin-bottom: 1em;
}

.cta-button {
    display: inline-block;
    background: #e8491d;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.cta-button:hover {
    background: #cf3d13;
    color: #fff; /* keep text white on hover */
}


   .slider {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    height: 300px; /* Adjust height as needed */
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background-color: #000;
    padding: 20px;
    border-radius: 8px;
  width: 80%;
}

/* ---------- Responsive Mobile Layout ---------- */
@media (max-width: 768px) {
    .image-text-container {
        flex-direction: column;
        text-align: center;
    }

    .image-text-container img {
        width: 100%;
        margin: 0 0 1em 0;
    }

    .text-content {
        width: 100%;
    }
}