.carousel-container {
    position: relative;
    width: 100%;
    max-width:100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 10px 0;
    max-height:750px;
}

.carousel-track-container {
    width: 100%;
    overflow: hidden;   
    margin: 20px 10px; 
}

.carousel-track {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    transition: transform 0.4s ease-in-out;
}


.carousel-slide {
    flex: 0 0 100%; 
    padding: 0 10px;
    box-sizing: border-box;
    height: 450px;
    margin-bottom: 20px;
}

.carousel-slide a 
{text-decoration: none;
color: #000000;}



@media (min-width: 600px) {
    .carousel-slide {
        flex: 0 0 50%; 
    }
}

@media (min-width: 900px) {
    .carousel-slide {
        flex: 0 0 25%; 
    }
}


.carousel-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.carousel-card img {
    width: 100%;
    height:336px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 15px;
    text-align: center;
}

.card-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.card-content p {
    margin: 0;
    color: #666;
    font-size:20px;
    position: relative;
}

.card-content p::after 
{display: block;
content: "";
position: relative;
border-bottom: 2px solid #0055AC;
text-align: center;
width: 70px;
margin:5px auto;}


.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 2rem;
    width: 45px;
    height: 45px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.carousel-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-button--left {
    left: 5px;
}

.carousel-button--right {
    right: 5px;
}


.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.carousel-indicator {
    border: none;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
}

.carousel-indicator.active {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.2);
}