/* Recent Notices Carousel Styling */
.notices-carousel-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    position: relative;
}

.notices-carousel-section .section-header h2 {
    font-size: 2.5rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notices-carousel-section .section-header p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

.notice-card {
    background: white;
    border-left: 5px solid #ff6b6b;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.notice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-left-color: #ff4757;
}

.notice-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-date {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-date i {
    font-size: 0.9rem;
}

.notice-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.notice-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.notice-card:hover .notice-title {
    color: #ff6b6b;
}

.notice-content {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.btn-outline-primary {
    color: #ff6b6b;
    border-color: #ff6b6b;
    font-size: 0.9rem;
    padding: 6px 12px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
    color: white;
}

.btn-outline-primary i {
    font-size: 0.8rem;
    margin-left: 5px;
}

/* Owl Carousel Controls */
.notices-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

.notices-carousel .owl-nav button {
    position: absolute;
    width: 45px;
    height: 45px;
    background: rgba(255, 107, 107, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.notices-carousel .owl-nav button:hover {
    background: rgba(255, 107, 107, 1);
    transform: translateY(-50%) scale(1.1);
}

.notices-carousel .owl-prev {
    left: -25px;
}

.notices-carousel .owl-next {
    right: -25px;
}

.notices-carousel .owl-prev span,
.notices-carousel .owl-next span {
    display: block;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .notices-carousel .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .notices-carousel .owl-prev {
        left: 0;
    }

    .notices-carousel .owl-next {
        right: 0;
    }
}

@media (max-width: 768px) {
    .notices-carousel-section {
        padding: 30px 0;
    }

    .notices-carousel-section .section-header h2 {
        font-size: 2rem;
    }

    .notice-title {
        font-size: 1rem;
    }

    .notice-content {
        font-size: 0.9rem;
    }

    .notice-date {
        font-size: 0.8rem;
    }

    .notices-carousel .owl-nav button {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .notice-card {
        margin: 0 5px;
    }
}

@media (max-width: 480px) {
    .notices-carousel-section .section-header h2 {
        font-size: 1.5rem;
    }

    .notices-carousel-section .section-header p {
        font-size: 0.9rem;
    }

    .notice-title {
        font-size: 0.95rem;
    }

    .notice-content {
        font-size: 0.85rem;
    }

    .notice-body {
        padding: 15px !important;
    }

    .notice-header {
        padding: 10px 12px;
    }

    .notices-carousel .owl-nav {
        display: none;
    }

    .notice-card {
        border-radius: 6px;
    }
}

/* Animation */
@keyframes slideInNotice {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notice-card {
    animation: slideInNotice 0.5s ease-out forwards;
}

.notice-card:nth-child(1) {
    animation-delay: 0.1s;
}

.notice-card:nth-child(2) {
    animation-delay: 0.2s;
}

.notice-card:nth-child(3) {
    animation-delay: 0.3s;
}
