/* Base Styling */
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #000000;
}

/* Header Styling */
header {
    background-color: #785ef0;
    padding: 20px;
    text-align: center;
}

header h1 {
    color: #ffffff;
    font-size: 2em;
    margin: 0;
}

.logo {
    width: 50em;
    height: auto;
}

/* Carousel Styling */
.carousel-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #648fff;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.carousel-slide {
    display: none;
    min-height: 100px; /* Ensures consistent height */
    max-height: 100px; /* Ensures consistent height */
    padding-bottom: 30px; /* Adds space above the dots */
}

.carousel-slide.active {
    display: block;
}

.carousel-slide h2 {
    color: #ffffff;
    margin-top: 0;
}

.carousel-slide p {
    font-size: 1.1em;
    color: #f0f0f0;
    padding: 0 20px;
}

/* Language Selection */
.language-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    background-color: #dc267f;
}

.language-selection a {
    display: flex;
    align-items: center;
    background-color: #785ef0;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.2em;
    transition: background-color 0.3s;
}

.language-selection a:hover {
    background-color: #fe6100;
    color: #ffffff;
}

.language-selection img {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #785ef0;
}

@media (max-width: 480px) {
    .logo {
        width: 20em;
        height: auto;
    }
    .carousel-slide {
        display: none;
        min-height: 170px; /* Ensures consistent height */
        max-height: 170px; /* Ensures consistent height */
        padding-bottom: 30px; /* Adds space above the dots */
    }
    .carousel-slide p {
        font-size: 1em;
        padding: 0 10px;
    }
    .carousel-container {
        padding: 10px;
    }
    .language-selection {
        flex-direction: column;
    }
    .dot {
        height: 8px;
        width: 8px;
    }
}




