:root {
    --primary-blue: #2e3842;
    --text-dark: #333333;
    --text-muted: #666666;
    --bg-gray: #f9f9f9;
    --card-bg: #ffffff;
    --transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}



.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0px 30px;
}

.carousel-header {
    text-align: center;
    margin-bottom: 50px;
}

.carousel-header h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.carousel-header p {
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Carousel Layout */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-viewport {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform var(--transition);
}

/* Responsive Card Logic */
.carousel-card {
    flex: 0 0 50%; /* Mobile: 2 items */
    padding: 10px;
}

@media (min-width: 768px) {
    .carousel-card {
        flex: 0 0 33.333%; /* Tablet: 3 items */
    }
}

@media (min-width: 1024px) {
    .carousel-card {
        flex: 0 0 25%; /* Desktop: 4 items */
    }
}

@media (min-width: 1440px) {
    .carousel-card {
        flex: 0 0 20%; /* Large Desktop: 5 items */
    }
}

/* Card Styling */
.card-inner {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
    
}

.card-inner:hover {
    transform: translateY(-5px);
}

.card-inner img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 800;
		letter-spacing: 0.1em;
		line-height: 1.2em;
		margin: 0 0 1em 0;
}

.card-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.nav-arrow:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.nav-arrow.prev { left: -22px; }
.nav-arrow.next { right: -22px; }

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Dots */
.dots-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-blue);
    width: 24px;
    border-radius: 4px;
}