:root {
            --carousel-width: 800px;
            --carousel-height: 500px;
            --transition-speed: 0.5s;
            --indicator-size: 12px;
            --nav-button-size: 40px;
            --primary-color: #4a6fa5;
            --secondary-color: #e6e6e6;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background-color: #f5f5f5;
            padding: 20px;
        }

        .carousel-container {
            position: relative;
            width: 100%;
            max-width: var(--carousel-width);
            height: var(--carousel-height);
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .carousel-slides {
            display: flex;
            width: 100%;
            height: 100%;
            transition: transform var(--transition-speed) ease-in-out;
        }

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

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

        .slide-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            color: white;
            padding: 30px;
            text-align: center;
        }

        .slide h2 {
            font-size: 1.8rem;
            margin-bottom: 10px;
        }

        .slide p {
            font-size: 1rem;
            opacity: 0.9;
        }

        .carousel-nav {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            z-index: 10;
        }

        .nav-button {
            width: var(--nav-button-size);
            height: var(--nav-button-size);
            margin: 0 15px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.7);
            color: var(--primary-color);
            border: none;
            cursor: pointer;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .nav-button:hover {
            background-color: white;
            transform: scale(1.1);
        }

        .carousel-indicators {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
        }

        .indicator {
            width: var(--indicator-size);
            height: var(--indicator-size);
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator.active {
            background-color: white;
            transform: scale(1.2);
        }

        @media (max-width: 768px) {
            :root {
                --carousel-width: 100%;
                --carousel-height: 400px;
            }

            .slide h2 {
                font-size: 1.4rem;
            }

            .slide p {
                font-size: 0.9rem;
            }

            .nav-button {
                margin: 0 5px;
            }
        }
