* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left side - Slider */
.left-side {
    flex: 1 1 50%;
    padding: 10px;
    position: relative; /* Added for absolute positioning of the slider */
    overflow: hidden; /* Hide overflow */
}

.slider-container {
    width: 100%;
    transition: transform 1s ease-in-out; /* Smooth transition */
}

.slider {
    display: flex;
    width: calc(100% * 4); /* Update based on number of slides */
}

.slide {
    width: 100%;
    flex: 1;
    position: relative;
}

.slide img {
    width: 100%;
    height: 300px; /* Adjusted height for rectangle shape */
    object-fit: cover;
    /* Removed border-radius for a rectangular shape */
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #FFC107;
    padding: 15px;
    color: white;
    border-radius: 10px;
}

.experience-badge h1 {
    font-size: 2.5rem;
    margin: 0;
}

.experience-badge p {
    margin: 0;
    font-size: 1rem;
}

/* Right side - Text */
.right-side {
    flex: 1 1 45%;
    padding: 10px;
    text-align: left;
}

.right-side h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.right-side p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .section {
        flex-direction: column;
    }

    .left-side, .right-side {
        flex: 1 1 100%;
        text-align: center;
    }

    .right-side h1 {
        font-size: 2rem;
    }

    .right-side p {
        font-size: 1rem;
    }
}