.container {
    margin: auto;
}

.accordion-content {
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}


.carousel-container {
    width: 100%;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 500px;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.logo-text {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 5px;
    color: #e94560;
    text-shadow: 0 0 10px rgba(233, 69, 96, 0.7);
}

.envelope-text {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 8px;
    margin: 10px 0;
    color: #f0f0f0;
}

.invitation-text {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 3px;
    margin: 5px 0;
    color: #e94560;
}

.static-text {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 5px;
    margin: 15px 0;
    color: #8d8da1;
}

.clock-nav {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 30px auto;
}

.clock-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(233, 69, 96, 0.3);
    border-radius: 50%;
}

.clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #e94560;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 0 15px rgba(233, 69, 96, 0.8);
}

.clock-item {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #16213e;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #8d8da1;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(233, 69, 96, 0.5);
}

.clock-item.active {
    background: #e94560;
    color: white;
    box-shadow: 0 0 15px rgba(233, 69, 96, 0.8);
    transform: scale(1.1);
}

.clock-item:hover {
    background: #1a1a2e;
    color: #e94560;
}

.names {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.name {
    font-size: 18px;
    font-weight: 500;
    color: #8d8da1;
    letter-spacing: 2px;
}

.name.active {
    color: #e94560;
    font-weight: 700;
}

.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.category {
    padding: 10px 20px;
    background: rgba(233, 69, 96, 0.2);
    border-radius: 30px;
    font-size: 14px;
    color: #8d8da1;
    transition: all 0.3s ease;
}

.category.active {
    background: #e94560;
    color: white;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.control-btn {
    padding: 12px 25px;
    background: rgba(233, 69, 96, 0.2);
    border: none;
    border-radius: 30px;
    color: #8d8da1;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: #e94560;
    color: white;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
}

@media (max-width: 768px) {
    .carousel-item {
        padding: 20px;
    }

    .clock-nav {
        width: 250px;
        height: 250px;
    }

    .logo-text {
        font-size: 32px;
    }

    .invitation-text {
        font-size: 24px;
    }
}


.carousel-container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    background: white;
    padding: 30px 50px;
}

.carousel-title {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 600;
}

.carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    padding-block: 10px;
    margin: 0 -10px;
}

.card {
    flex: 0 0 calc(25% - 20px);
    margin: 0 10px;
    background: white;
    overflow: hidden;
    box-shadow: none !important;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img {
    height: 160px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 40px;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.card-text {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.5;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #3498db;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.control-btn:hover {
    background: #2980b9;
    transform: scale(1.05);
}

.control-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: scale(1);
    /* box-shadow: none; */
}

.indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #3498db;
    transform: scale(1.2);
}

.carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.card {
    flex: 0 0 auto;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

@media (max-width: 1024px) {
    .card {
        width: 33.333%;
    }
}

@media (max-width: 768px) {
    .card {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .card {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .card {
        flex: 0 0 calc(100% - 20px);
    }

    .carousel-container {
        padding: 20px;
    }
}