/* Unique Agenda Section Styles */
.unique-agenda-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f5f0 100%);
    position: relative;
    overflow: hidden;
}

.unique-agenda-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill-opacity="0.03" fill="%235A2F2F" x="0" y="0" width="100" height="100"/></svg>');
    z-index: 0;
}

.unique-agenda-nav .nav-link {
    color: #5A2F2F;
    border-radius: 30px;
    padding: 10px 25px;
    margin: 0 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.unique-agenda-nav .nav-link.active,
.unique-agenda-nav .nav-link:hover {
    background-color: #5A2F2F;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(90, 47, 47, 0.2);
}

/* Agenda Carousel */
.unique-agenda-carousel {
    position: relative;
    z-index: 1;
}

.unique-agenda-item {
    padding: 15px;
}

.agenda-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
}

.agenda-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.agenda-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.date-day {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #5A2F2F;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 14px;
    color: #5A2F2F;
    text-transform: uppercase;
}

.date-year {
    display: block;
    font-size: 12px;
    color: #888;
}

.agenda-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.agenda-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.agenda-card:hover .agenda-image img {
    transform: scale(1.05);
}

.agenda-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #5A2F2F;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
}

.agenda-content {
    padding: 20px;
}

.agenda-content h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    min-height: 54px;
}

.agenda-meta {
    margin-bottom: 15px;
}

.agenda-meta span {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.agenda-meta i {
    color: #5A2F2F;
    width: 20px;
}

.agenda-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    min-height: 66px;
}

.agenda-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 15px;
}

.agenda-status.ongoing {
    background-color: #ffecc7;
    color: #c28a02;
}

.agenda-status.upcoming {
    background-color: #d1ecf1;
    color: #0c5460;
}

.agenda-status.announcement {
    background-color: #d4edda;
    color: #155724;
}

.agenda-btn {
    display: inline-block;
    background: #5A2F2F;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.agenda-btn:hover {
    background: #4a2525;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 47, 47, 0.3);
}

/* Calendar View Toggle */
.calendar-view-toggle .btn {
    border-radius: 30px;
    margin: 0 5px;
    padding: 10px 20px;
}

.calendar-view-toggle .btn.active {
    background: #5A2F2F;
    color: white;
    border-color: #5A2F2F;
}

/* Owl Carousel Customization */
.unique-agenda-carousel .owl-stage {
    padding: 20px 0;
}

.unique-agenda-carousel .owl-nav {
    position: absolute;
    top: -70px;
    right: 0;
}

.unique-agenda-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    background: #5A2F2F !important;
    color: white !important;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.unique-agenda-carousel .owl-nav button:hover {
    background: #4a2525 !important;
    transform: scale(1.1);
}

.unique-agenda-carousel .owl-dots {
    margin-top: 20px;
}

.unique-agenda-carousel .owl-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd !important;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.unique-agenda-carousel .owl-dots button.active {
    background: #5A2F2F !important;
    transform: scale(1.2);
}

/* Grid View untuk Tab Lainnya */
#upcoming .agenda-card,
#ongoing .agenda-card,
#announcement .agenda-card {
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .unique-agenda-nav .nav-link {
        padding: 8px 15px;
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .agenda-content h4 {
        min-height: auto;
    }
    
    .agenda-content p {
        min-height: auto;
    }
    
    .calendar-view-toggle .btn {
        padding: 8px 15px;
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .unique-agenda-carousel .owl-nav {
        position: relative;
        top: 0;
        text-align: center;
        margin-top: 20px;
    }
    
    #upcoming .col-lg-4,
    #ongoing .col-lg-6,
    #announcement .col-lg-6 {
        padding: 0 15px;
    }
}

.btn-primary {
    background: linear-gradient(135deg, #7b4c06ff 0%, #5e3107d0 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 76, 6, 0.3);
    background: linear-gradient(135deg, #5e3107d0 0%, #7b4c06ff 100%);
}

/* Styles untuk section berita */
.LOGBERITA {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../img/pattern.png');
    background-size: cover;
    background-position: center;
}

.LOGBERITA-list {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.LOGBERITA-item {
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 8px;
}

.LOGBERITA-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.LOGBERITA-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.LOGBERITA-item a:hover {
    color: #8B4513;
}

.text-brown {
    color: #8B4513 !important;
}

.btn-outline-brown {
    color: #8B4513;
    border-color: #8B4513;
}

.btn-outline-brown:hover {
    background-color: #8B4513;
    color: white;
}

.service-item {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-img {
    position: relative;
}

.service-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(139, 69, 19, 0.9);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.berita-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #555;
}

.berita-content p {
    margin-bottom: 1.5rem;
}

/* Styles untuk Agenda Cards */
.unique-agenda-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.unique-agenda-nav .nav-link {
    color: #8B4513;
    border: 2px solid #8B4513;
    margin: 0 10px;
    border-radius: 25px;
    font-weight: 600;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.unique-agenda-nav .nav-link.active {
    background: #8B4513;
    color: white;
}

.unique-agenda-nav .nav-link:hover:not(.active) {
    background: rgba(139, 69, 19, 0.1);
}

.agenda-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    border: 3px solid transparent;
}

.agenda-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.agenda-card.upcoming {
    border-color: #28a745;
}

.agenda-card.ongoing {
    border-color: #ffc107;
}

.agenda-card.completed {
    border-color: #6c757d;
    opacity: 0.8;
}

.agenda-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    z-index: 2;
    min-width: 60px;
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #8B4513;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
}

.date-year {
    display: block;
    font-size: 0.7rem;
    color: #6c757d;
}

.agenda-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.agenda-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.agenda-card:hover .agenda-image img {
    transform: scale(1.05);
}

.agenda-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(139, 69, 19, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.agenda-content {
    padding: 20px;
}

.agenda-content h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 3.2em;
}

.agenda-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.agenda-meta span {
    color: #6c757d;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.agenda-content p {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    min-height: 4.5em;
}

.agenda-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.agenda-status.upcoming {
    background: #d4edda;
    color: #155724;
}

.agenda-status.ongoing {
    background: #fff3cd;
    color: #856404;
}

.agenda-status.completed {
    background: #e2e3e5;
    color: #383d41;
}

.agenda-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #8B4513;
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #8B4513;
}

.agenda-btn:hover {
    background: transparent;
    color: #8B4513;
}

/* Responsive */
@media (max-width: 768px) {
    .unique-agenda-nav .nav-link {
        margin: 5px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .agenda-content h4 {
        font-size: 1.1rem;
    }
}

/* ===== FTYAGENDANYA STYLES ===== */
.FTYAGENDANYA-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.FTYAGENDANYA-title {
    color: #8B4513;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.FTYAGENDANYA-subtitle {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.FTYAGENDANYA-description {
    color: #6c757d;
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

.FTYAGENDANYA-nav {
    margin-bottom: 2rem;
}

.FTYAGENDANYA-nav .nav-link {
    color: #8B4513;
    border: 2px solid #8B4513;
    margin: 0 6px;
    border-radius: 20px;
    font-weight: 600;
    padding: 8px 20px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.FTYAGENDANYA-nav .nav-link.active {
    background: #8B4513;
    color: white;
    box-shadow: 0 4px 8px rgba(139, 69, 19, 0.3);
}

.FTYAGENDANYA-nav .nav-link:hover:not(.active) {
    background: rgba(139, 69, 19, 0.1);
    transform: translateY(-2px);
}

/* Cards Container */
.FTYAGENDANYA-cards-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 5px 20px;
}

.FTYAGENDANYA-cards-container::-webkit-scrollbar {
    height: 6px;
}

.FTYAGENDANYA-cards-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.FTYAGENDANYA-cards-container::-webkit-scrollbar-thumb {
    background: #8B4513;
    border-radius: 3px;
}

/* Card Styles */
.FTYAGENDANYA-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    overflow: hidden;
    width: 220px;
    min-width: 220px;
    border: 1px solid #e9ecef;
    position: relative;
}

.FTYAGENDANYA-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.FTYAGENDANYA-card-upcoming {
    border-top: 3px solid #28a745;
}

.FTYAGENDANYA-card-ongoing {
    border-top: 3px solid #ffc107;
}

.FTYAGENDANYA-card-completed {
    border-top: 3px solid #6c757d;
    opacity: 0.8;
}

.FTYAGENDANYA-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 12px 0;
    position: relative;
    z-index: 2;
}

.FTYAGENDANYA-date {
    background: white;
    border-radius: 6px;
    padding: 6px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    min-width: 40px;
}

.FTYAGENDANYA-date-day {
    display: block;
    font-size: 1rem;
    font-weight: bold;
    color: #8B4513;
    line-height: 1;
}

.FTYAGENDANYA-date-month {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
}

.FTYAGENDANYA-status {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
}

.FTYAGENDANYA-status-upcoming {
    background: #d4edda;
    color: #155724;
}

.FTYAGENDANYA-status-ongoing {
    background: #fff3cd;
    color: #856404;
}

.FTYAGENDANYA-status-completed {
    background: #e2e3e5;
    color: #383d41;
}

.FTYAGENDANYA-card-image {
    height: 110px;
    overflow: hidden;
    position: relative;
}

.FTYAGENDANYA-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.FTYAGENDANYA-card:hover .FTYAGENDANYA-card-image img {
    transform: scale(1.05);
}

.FTYAGENDANYA-card-body {
    padding: 12px;
}

.FTYAGENDANYA-category {
    background: #8B4513;
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
}

.FTYAGENDANYA-card-title {
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
    height: 2.3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.FTYAGENDANYA-meta {
    margin-bottom: 8px;
}

.FTYAGENDANYA-meta-item {
    color: #6c757d;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 3px;
}

.FTYAGENDANYA-meta-item i {
    width: 12px;
    text-align: center;
    font-size: 0.65rem;
}

.FTYAGENDANYA-card-desc {
    color: #495057;
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 0;
    height: 3.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.FTYAGENDANYA-card-footer {
    padding: 10px 12px 12px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.FTYAGENDANYA-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #8B4513;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #8B4513;
}

.FTYAGENDANYA-btn:hover {
    background: transparent;
    color: #8B4513;
    transform: translateX(2px);
}

.FTYAGENDANYA-btn-register {
    background: #28a745;
    border-color: #28a745;
}

.FTYAGENDANYA-btn-register:hover {
    background: transparent;
    color: #28a745;
}

.FTYAGENDANYA-empty {
    color: #6c757d;
    font-style: italic;
    padding: 2rem;
    text-align: center;
    width: 100%;
}

/* Responsive */
@media (max-width: 1200px) {
    .FTYAGENDANYA-card {
        width: 200px;
        min-width: 200px;
    }
}

@media (max-width: 992px) {
    .FTYAGENDANYA-cards-container {
        justify-content: flex-start;
    }
    
    .FTYAGENDANYA-card {
        width: 190px;
        min-width: 190px;
    }
}

@media (max-width: 768px) {
    .FTYAGENDANYA-nav .nav-link {
        margin: 3px;
        padding: 6px 15px;
        font-size: 0.8rem;
    }
    
    .FTYAGENDANYA-subtitle {
        font-size: 1.5rem;
    }
    
    .FTYAGENDANYA-card {
        width: 180px;
        min-width: 180px;
    }
}

@media (max-width: 576px) {
    .FTYAGENDANYA-cards-container {
        gap: 10px;
    }
    
    .FTYAGENDANYA-card {
        width: 160px;
        min-width: 160px;
    }
    
    .FTYAGENDANYA-card-image {
        height: 90px;
    }
    
    .FTYAGENDANYA-card-body {
        padding: 10px;
    }
    
    .FTYAGENDANYA-card-title {
        font-size: 0.85rem;
    }
    
    .FTYAGENDANYA-card-desc {
        font-size: 0.75rem;
    }
}