:root {
    --primary-color: #f5f5f5; /* Light gray background */
    --secondary-color: #333333; /* Dark gray for title and text */
    --accent-color: #888888; /* Medium gray for subtle highlights */
    --text-color: #2d2d2d; /* Dark text color */
    --subtext-color: #7a7a7a; /* Softer gray for subtext */
    --btn-hover-bg: #444444; /* Slightly darker gray for button hover */
}

header {
    text-align: center;
    padding: 40px 20px;
    width: 100%;
}

header h1 {
    font-size: 2.5rem;
    color:gray; /* Dark gray for header */
}

header p {
    font-size: 1.2rem;
    color:gray; /* Soft gray for subheader */
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    width: 100%;
    overflow: hidden;
    margin: 50px auto;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    padding: 20px;
    background-color:rgb(190, 188, 188); /* White background for carousel */
    color: #fff; /* Dark text for carousel content */
    display: flex;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1); /* Lighter shadow */
}

.carousel-slide img {
    width: 50%;
    height: auto;
    border-radius: 8px;
    margin-right: 20px;
}

.carousel-text {
    flex: 1;
}

.carousel-text h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.carousel-text p {
    font-size: 1rem;
    line-height: 1.6;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for buttons */
    border: none;
    color: var(--subtext-color); /* Soft gray for button text */
    font-size: 2rem;
    cursor: pointer;
    padding: 10px 20px;
    transition: background-color 0.3s;
}

.carousel-btn:hover {
    background-color: var(--btn-hover-bg); /* Darker gray on hover */
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Responsive Styling */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    .carousel-slide {
        flex-direction: column;
        text-align: center;
    }

    .carousel-slide img {
        width: 80%;
        margin: 0 0 20px 0;
    }

    .carousel-text h2 {
        font-size: 1.5rem;
    }

    .carousel-text p {
        font-size: 0.9rem;
    }

    .carousel-btn {
        font-size: 1.5rem;
    }
}
