* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 60, 114, 0.4) 0%,
        rgba(42, 82, 152, 0.3) 50%,
        rgba(74, 144, 226, 0.2) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 6rem 0;
}

.hero-text {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
    font-weight: bold;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    color: white;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: normal;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    z-index: 1;
}

.hero-slide.loading::before {
    opacity: 1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.main-content {
    padding: 4rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr 320px; 
    gap: 3rem;
    align-items: start;
    max-width: 1600px;
    margin: 0 auto;
}

.left-sidebar {
    position: sticky;
    top: 2rem;
    width: 100%;
    min-width: 340px;
}
.right-sidebar {
    position: sticky;
    top: 2rem;
    width: 100%;
    min-width: 320px;
}

.widget {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    width: 100%;
    box-sizing: border-box;
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e3c72;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.main-section {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    min-height: 100vh;
}

.section {
    margin-bottom: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.calendar-widget {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.calendar-container {
    overflow: hidden;
    width: 100%;
    margin-bottom: 1.5rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.calendar-nav {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #1e3c72;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.calendar-nav:hover {
    background-color: #f8f9fa;
    transform: scale(1.1);
    color: #2a5298;
}

.calendar-month {
    font-weight: 700;
    color: #1e3c72;
    font-size: 1.2rem;
    text-align: center;
    flex: 1;
    margin: 0 1rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2px;
    overflow: hidden;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 35px;
    background: white;
    border: 1px solid transparent;
    font-weight: 500;
}

.calendar-day.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    font-weight: 700;
    cursor: default;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 32px;
}

.calendar-day:not(.header):hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    transform: scale(1.05);
    border-color: #1e3c72;
    color: #1e3c72;
    font-weight: 600;
}

.calendar-day.today {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    color: white;
    font-weight: 700;
    transform: scale(1.05);
    border-color: #ff6b6b;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

.calendar-day.other-month {
    color: #ccc;
    background: #fafafa;
}

.calendar-day.other-month:hover {
    background: #f0f0f0;
    color: #999;
}

.calendar-events {
    border-top: 2px solid #e9ecef;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.calendar-events h4 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: #1e3c72;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calendar-events h4::before {
    content: "📅";
    font-size: 1rem;
}

.event-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    border-left: 4px solid #1e3c72;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.event-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left-color: #ff6b6b;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.event-item:last-child {
    margin-bottom: 0;
}

.event-date {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    margin-right: 1rem;
    min-width: 50px;
    max-width: 55px;
    text-align: center;
    font-weight: 700;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(30, 60, 114, 0.3);
}

.event-title {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
    font-weight: 600;
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.event-item.no-events {
    text-align: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-left: 2px dashed #dee2e6;
    color: #6c757d;
}

.event-item.no-events .event-title {
    font-style: italic;
    color: #6c757d;
    font-weight: 500;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

@media (max-width: 1400px) {
    .event-item {
        padding: 0.875rem;
    }
    
    .event-date {
        min-width: 48px;
        max-width: 52px;
        padding: 0.4rem 0.6rem;
        margin-right: 0.875rem;
    }
    
    .event-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 1200px) {
    .calendar-events h4 {
        font-size: 1rem;
    }
    
    .event-item {
        padding: 0.75rem;
        margin-bottom: 0.875rem;
    }
    
    .event-date {
        min-width: 45px;
        max-width: 50px;
        padding: 0.4rem 0.5rem;
        margin-right: 0.75rem;
        font-size: 0.7rem;
    }
    
    .event-title {
        font-size: 0.875rem;
    }
}

@media (max-width: 1024px) {
    .calendar-widget {
        padding: 1.5rem;
    }
    
    .event-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .event-date {
        margin-right: 0;
        margin-bottom: 0.75rem;
        min-width: 60px;
        max-width: 65px;
        align-self: flex-start;
    }
    
    .event-title {
        width: 100%;
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 768px) {
    .calendar-widget {
        padding: 1.25rem;
    }
    
    .calendar-grid {
        gap: 1px;
    }
    
    .calendar-day {
        min-height: 30px;
        font-size: 0.8rem;
    }
    
    .calendar-day.header {
        min-height: 28px;
        font-size: 0.7rem;
    }
    
    .calendar-events h4 {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .event-item {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        border-radius: 8px;
    }
    
    .event-date {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
        min-width: 55px;
        max-width: 60px;
        margin-bottom: 0.5rem;
    }
    
    .event-title {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .calendar-widget {
        padding: 1rem;
    }
    
    .calendar-header {
        margin-bottom: 1rem;
        padding: 0;
    }
    
    .calendar-nav {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    
    .calendar-month {
        font-size: 1rem;
        margin: 0 0.5rem;
    }
    
    .calendar-day {
        min-height: 28px;
        font-size: 0.75rem;
    }
    
    .calendar-day.header {
        min-height: 26px;
        font-size: 0.65rem;
    }
    
    .calendar-events {
        padding-top: 1rem;
        margin-top: 1rem;
    }
    
    .calendar-events h4 {
        font-size: 0.9rem;
        margin-bottom: 0.875rem;
    }
    
    .event-item {
        padding: 0.625rem;
        margin-bottom: 0.625rem;
    }
    
    .event-date {
        padding: 0.35rem 0.5rem;
        font-size: 0.65rem;
        min-width: 50px;
        max-width: 55px;
        margin-bottom: 0.5rem;
    }
    
    .event-title {
        font-size: 0.8rem;
        line-height: 1.25;
        -webkit-line-clamp: 2;
    }
}

.calendar-loading {
    position: relative;
    opacity: 0.7;
}

.calendar-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.calendar-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(30, 60, 114, 0.3);
    border-top: 3px solid #1e3c72;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-item {
    animation: slideInUp 0.3s ease-out;
}

.event-item:nth-child(1) { animation-delay: 0.1s; }
.event-item:nth-child(2) { animation-delay: 0.2s; }
.event-item:nth-child(3) { animation-delay: 0.3s; }
.event-item:nth-child(4) { animation-delay: 0.4s; }

.event-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.05) 0%, rgba(255, 107, 107, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
    pointer-events: none;
}

.event-item:hover::before {
    opacity: 1;
}

.news-list {
    max-height: 400px;
    overflow-y: auto;
}

.news-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-image {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content h4 {
    font-size: 1.1rem;
    color: #1e3c72;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.news-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.news-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.read-more {
    font-size: 0.85rem;
    color: #1e3c72;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
    color: #ff6b6b;
}

.widget-footer {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.profil-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.profil-card {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.profil-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.profil-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.profil-card h3 {
    font-size: 1.7rem;
    color: #1e3c72;
    margin-bottom: 1.5rem;
}

.profil-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

.stats-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 4rem 3rem;
    border-radius: 15px;
    margin: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffa500;
    display: block;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

.visitor-stats-section {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.visitor-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    background-size: 300% 100%;
    animation: gradientFlow 4s ease-in-out infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.visitor-stats-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.visitor-stats-header h3 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.stats-subtitle {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 400;
}

.visitor-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.visitor-stat-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.visitor-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(102, 126, 234, 0.02) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.visitor-stat-card:hover::before {
    transform: translateX(0);
}

.visitor-stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.visitor-stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.visitor-stat-card:nth-child(1) .visitor-stat-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.visitor-stat-card:nth-child(2) .visitor-stat-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.visitor-stat-card:nth-child(3) .visitor-stat-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.visitor-stat-card:nth-child(4) .visitor-stat-icon {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.visitor-stat-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.visitor-stat-card:hover .visitor-stat-icon::before {
    left: 100%;
}

.visitor-stat-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.visitor-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.visitor-stat-label {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-counter-widget {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(31, 41, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.live-counter-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    animation: rotate 8s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.live-counter-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.live-indicator {
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px #10b981;
    position: relative;
}

.live-indicator::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #10b981;
    border-radius: 50%;
    animation: ripple 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes ripple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.live-text {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-counter-display {
    position: relative;
    z-index: 1;
}

.live-counter-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #10b981;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
}

.live-counter-unit {
    font-size: 1rem;
    opacity: 0.7;
    font-weight: 400;
}

.facilities-section {
    margin-bottom: 4rem;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.facility-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.facility-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

.facility-card:hover .facility-image img {
    transform: scale(1.05);
}

.facility-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.facility-content h3 {
    font-size: 1.4rem;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-weight: 600;
}

.facility-content p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    flex: 1;
}

.youtube-section {
    margin: 4rem 0;
    padding: 0;
}

.youtube-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.youtube-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.youtube-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.main-video {
    grid-column: 1;
}

.main-video .video-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.main-video iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px 12px 0 0;
}

.main-video .video-info {
    padding: 1.5rem;
}

.main-video .video-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.main-video .video-info p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.video-date {
    color: #718096;
    font-size: 0.875rem;
}

.watch-on-youtube {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.watch-on-youtube::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.watch-on-youtube:hover::before {
    left: 100%;
}

.watch-on-youtube:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
    text-decoration: none;
    color: #fff;
}

.watch-on-youtube:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.3);
}

.watch-on-youtube::after {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.watch-on-youtube:hover::after {
    transform: scale(1.1);
}

.youtube-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-video {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-video:hover {
    background-color: #f7fafc;
}

.video-thumbnail {
    position: relative;
    width: 120px;
    height: 68px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
    opacity: 1;
}

.play-button {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e53e3e;
    font-size: 12px;
    font-weight: bold;
}

.sidebar-video .video-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar-video .video-info h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.sidebar-video .video-date {
    color: #718096;
    font-size: 0.75rem;
}

.youtube-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.youtube-channel-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #fff;
    border: 2px solid #e53e3e;
    color: #e53e3e;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.youtube-channel-btn:hover {
    background: #e53e3e;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.youtube-channel-btn svg {
    transition: transform 0.3s ease;
}

.youtube-channel-btn:hover svg {
    transform: scale(1.1);
}

.youtube-fallback {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    background: #f7fafc;
    border-radius: 12px;
    border: 2px dashed #cbd5e0;
}

.fallback-content {
    text-align: center;
    padding: 2rem;
}

.fallback-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.fallback-content h3 {
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.fallback-content p {
    color: #718096;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.program-section {
    margin-bottom: 4rem;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.program-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.program-card h3 {
    font-size: 1.5rem;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.program-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.program-features {
    list-style: none;
    text-align: left;
    max-width: 280px;
    margin: 0 auto;
}

.program-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.dokumentasi-section {
    margin-bottom: 4rem;
}

.dokumentasi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.dok-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    aspect-ratio: 16/9;
}

.dok-item:hover {
    transform: scale(1.02);
}

.dok-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dok-item:hover img {
    transform: scale(1.05);
}

.dok-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.dok-item:hover .dok-overlay {
    transform: translateY(0);
}

.dok-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.dok-overlay p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dok-date {
    font-size: 0.8rem;
    opacity: 0.7;
}

.maps-widget {
    background: white;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.maps-widget .widget-title {
    padding: 1.5rem 2rem 1rem 2rem;
    margin-bottom: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3c72;
    border-bottom: 2px solid #e9ecef;
}

.maps-container {
    display: flex;
    flex-direction: column;
}

.maps-frame {
    position: relative;
    width: 100%;
    height: 250px;
    background: #f8f9fa;
    border-radius: 0;
    overflow: hidden;
}

.maps-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    transition: filter 0.3s ease;
}

.maps-frame:hover iframe {
    filter: brightness(1.05);
}

.maps-frame.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(30, 60, 114, 0.3);
    border-top: 3px solid rgba(30, 60, 114, 0.8);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 1;
    z-index: 1;
}

.maps-info {
    padding: 1.5rem 2rem;
    background: white;
}

.address-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.3s ease;
}

.address-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.address-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    margin: 0 -1rem 1.2rem -1rem;
}

.address-item:last-child:hover {
    margin-bottom: -1rem;
}

.address-icon {
    font-size: 1.2rem;
    margin-right: 1rem;
    min-width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.address-text {
    flex: 1;
    min-width: 0;
}

.address-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.address-text p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.address-text a {
    color: #1e3c72;
    text-decoration: none;
    transition: color 0.3s ease;
}

.address-text a:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

.maps-actions {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 2rem 1.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.btn-directions,
.btn-view-map {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid transparent;
}

.btn-directions {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    box-shadow: 0 2px 8px rgba(30, 60, 114, 0.3);
}

.btn-directions:hover {
    background: linear-gradient(135deg, #2a5298, #1e3c72);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.4);
    color: white;
    text-decoration: none;
}

.btn-view-map {
    background: white;
    color: #1e3c72;
    border: 1px solid #1e3c72;
}

.btn-view-map:hover {
    background: #1e3c72;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
    text-decoration: none;
}

.announcement-item {
    display: flex;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #1e3c72;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.announcement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #f0f1f3;
}

.announcement-item:last-child {
    margin-bottom: 0;
}

.announcement-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.announcement-content {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.announcement-content h4 {
    font-size: 1rem;
    color: #1e3c72;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.announcement-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.announcement-date {
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
    word-wrap: break-word;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    flex: 1;
    padding-right: 1rem;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
    padding: 0;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 2rem;
}

.modal-icon-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-icon-container span {
    font-size: 3rem;
    color: #1e3c72;
    display: inline-block;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-content-text {
    margin-bottom: 2rem;
}

.modal-content-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
    text-align: justify;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.modal-date-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.modal-date-info small {
    color: #6c757d;
    font-size: 0.875rem;
}

.cta-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-outline {
    border-color: white;
    color: white;
}

.cta-section .btn-outline:hover {
    background: white;
    color: #1e3c72;
}

#wa-floating-container {
    position: fixed;
    bottom: 120px;
    right: 30px;
    z-index: 100000;
    user-select: none;
}

.wa-floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: move;
    animation: pulse 2s infinite;
}

.wa-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: white;
    text-decoration: none;
}

.wa-floating-btn:active {
    transform: scale(0.95);
}

.wa-floating-btn.dragging {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
    cursor: grabbing;
}

.wa-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    padding: 12px 18px;
    border-radius: 25px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    max-width: 280px;
    white-space: normal;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.3px;
    border: 2px solid rgba(37, 211, 102, 0.3);
}

.wa-tooltip.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: tooltipBounce 0.6s ease-out;
}

@keyframes tooltipBounce {
    0% { 
        opacity: 0; 
        transform: translateY(15px) scale(0.8); 
    }
    50% { 
        opacity: 0.8; 
        transform: translateY(-5px) scale(1.05); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem 0;
}

.pagination-wrapper .pagination {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pagination-wrapper .page-item {
    margin: 0;
}

.pagination-wrapper .page-link {
    display: block;
    padding: 0.75rem 1rem;
    margin: 0;
    color: #2c3e50;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-right: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.pagination-wrapper .page-item:last-child .page-link {
    border-right: 1px solid #dee2e6;
}

.pagination-wrapper .page-link:hover {
    background-color: #f8f9fa;
    color: #0056b3;
    transform: translateY(-1px);
}

.pagination-wrapper .page-item.active .page-link {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.pagination-wrapper .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.pagination-wrapper .page-item:first-child .page-link {
    border-radius: 8px 0 0 8px;
}

.pagination-wrapper .page-item:last-child .page-link {
    border-radius: 0 8px 8px 0;
}

.news-list::-webkit-scrollbar {
    width: 4px;
}

.news-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.news-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.news-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1e3c72;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.visitor-stat-number.counting {
    animation: countUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.visitor-stat-card {
    animation: fadeInUp 0.6s ease forwards;
}

.visitor-stat-card:nth-child(1) { animation-delay: 0.1s; }
.visitor-stat-card:nth-child(2) { animation-delay: 0.2s; }
.visitor-stat-card:nth-child(3) { animation-delay: 0.3s; }
.visitor-stat-card:nth-child(4) { animation-delay: 0.4s; }

.live-counter-widget {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.5s;
}

.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@media (max-width: 1400px) {
    .content-wrapper {
        grid-template-columns: 280px 1fr 300px; 
        gap: 2.5rem;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
    
    .content-wrapper {
        grid-template-columns: 260px 1fr 280px;
        gap: 2rem;
    }
    
    .widget {
        padding: 1.5rem;
    }
    
    .maps-widget .widget-title {
        padding: 1.2rem 1.5rem 0.8rem 1.5rem;
        font-size: 1.2rem;
    }
    
    .maps-info {
        padding: 1.2rem 1.5rem;
    }
    
    .maps-actions {
        padding: 0.8rem 1.5rem 1.2rem 1.5rem;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding: 4rem 0;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .left-sidebar,
    .right-sidebar {
        position: static;
        order: 2;
        min-width: auto;
    }
    
    .main-section {
        order: 1;
        padding: 2rem;
    }
    
    .left-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .right-sidebar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .youtube-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .youtube-sidebar {
        grid-row: 2;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
    }
    
    .sidebar-video {
        flex-direction: column;
    }
    
    .video-thumbnail {
        width: 100%;
        height: 150px;
    }
    
    .profil-grid {
        grid-template-columns: 1fr;
    }
    
    .visitor-stats-header h3 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .visitor-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        min-width: 200px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slider-arrow.prev {
        left: 15px;
    }
    
    .slider-arrow.next {
        right: 15px;
    }
    
    .slider-dots {
        bottom: 20px;
        gap: 8px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .left-sidebar {
        display: block;
    }
    
    .widget {
        padding: 1.5rem;
    }
    
    .calendar-grid {
        gap: 2px;
    }
    
    .calendar-day {
        font-size: 0.85rem;
        min-height: 28px;
    }
    
    .event-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-date {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .event-title {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .program-grid {
        grid-template-columns: 1fr;
    }
    
    .program-card {
        padding: 2rem;
    }
    
    .facility-content {
        padding: 1.5rem;
    }
    
    .dokumentasi-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .dok-overlay {
        padding: 1rem;
    }
    
    .dok-overlay h4 {
        font-size: 1rem;
    }
    
    .dok-overlay p {
        font-size: 0.8rem;
    }
    
    .main-video .video-container {
        height: 250px;
    }
    
    .main-video .video-info {
        padding: 1rem;
    }
    
    .main-video .video-info h4 {
        font-size: 1.125rem;
    }
    
    .youtube-sidebar {
        grid-template-columns: 1fr;
    }
    
    .sidebar-video {
        flex-direction: row;
    }
    
    .video-thumbnail {
        width: 100px;
        height: 56px;
    }
    
    .sidebar-video .video-info h4 {
        font-size: 0.8rem;
    }
    
    .youtube-channel-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .watch-on-youtube {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .visitor-stat-card {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .visitor-stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .visitor-stat-number {
        font-size: 2rem;
    }
    
    .visitor-stat-label {
        font-size: 0.9rem;
    }
    
    .live-counter-widget {
        padding: 2rem;
    }
    
    .live-counter-number {
        font-size: 2.8rem;
    }
    
    .maps-frame {
        height: 220px;
    }
    
    .address-item {
        padding: 0.6rem 0;
        margin-bottom: 1rem;
    }
    
    .address-icon {
        font-size: 1.1rem;
        margin-right: 0.8rem;
        min-width: 25px;
    }
    
    .address-text h4 {
        font-size: 0.9rem;
    }
    
    .address-text p {
        font-size: 0.85rem;
    }
    
    .maps-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-directions,
    .btn-view-map {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-icon-container span {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
        line-height: 60px;
    }
    
    .modal-date-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .announcement-content h4 {
        font-size: 0.9rem;
    }
    
    .announcement-content p {
        font-size: 0.8rem;
    }
    
    .announcement-date {
        font-size: 0.7rem;
    }
    
    .pagination-wrapper .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .pagination-wrapper .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination-wrapper .page-item {
        margin: 0.1rem;
    }
    
    .pagination-wrapper .page-item .page-link {
        border-radius: 4px;
        border: 1px solid #dee2e6;
    }
    
    #wa-floating-container {
        bottom: 100px;
        right: 20px;
    }
    
    .wa-floating-btn {
        width: 50px;
        height: 50px;
    }
    
    .wa-tooltip {
        max-width: 220px;
        font-size: 12px;
        padding: 10px 15px;
        bottom: 60px;
        right: -20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .hero-content {
        padding: 3rem 0;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .slider-arrow.prev {
        left: 10px;
    }
    
    .slider-arrow.next {
        right: 10px;
    }
    
    .slider-dots {
        bottom: 15px;
        gap: 6px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .main-section {
        padding: 1.5rem;
    }
    
    .widget {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .widget-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .calendar-day {
        font-size: 0.8rem;
        min-height: 24px;
    }
    
    .calendar-nav {
        font-size: 1.3rem;
        min-width: 35px;
        height: 35px;
    }
    
    .event-item {
        padding: 0.6rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-date {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .facility-image {
        height: 220px;
    }
    
    .facility-content {
        padding: 1.25rem;
    }
    
    .facility-content h3 {
        font-size: 1.2rem;
    }
    
    .program-card {
        padding: 1.5rem;
    }
    
    .program-icon {
        font-size: 2.5rem;
    }
    
    .main-video .video-container {
        height: 200px;
    }
    
    .sidebar-video {
        padding: 0.75rem;
    }
    
    .video-thumbnail {
        width: 80px;
        height: 45px;
    }
    
    .video-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .watch-on-youtube {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
    }
    
    .visitor-stat-card {
        padding: 1.2rem;
        text-align: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .visitor-stat-number {
        font-size: 1.8rem;
    }
    
    .live-counter-number {
        font-size: 2.4rem;
    }
    
    .maps-widget .widget-title {
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .maps-frame {
        height: 200px;
    }
    
    .maps-info {
        padding: 1rem;
    }
    
    .maps-actions {
        padding: 0.8rem 1rem;
    }
    
    .address-item {
        padding: 0.5rem 0;
        margin-bottom: 0.8rem;
    }
    
    .address-text h4 {
        font-size: 0.85rem;
    }
    
    .address-text p {
        font-size: 0.8rem;
    }
    
    .btn-directions,
    .btn-view-map {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .modal-content {
        margin: 15% auto;
        width: 98%;
        max-height: 80vh;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h2 {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-icon-container span {
        font-size: 2rem;
        width: 50px;
        height: 50px;
        line-height: 50px;
    }
    
    .announcement-item {
        padding: 0.75rem;
    }
    
    .announcement-icon {
        font-size: 1.2rem;
        margin-right: 0.75rem;
    }
    
    .announcement-content h4 {
        font-size: 0.85rem;
    }
    
    .announcement-content p {
        font-size: 0.75rem;
    }
    
    .announcement-date {
        font-size: 0.65rem;
    }
}


@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .maps-frame iframe {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}


@media (max-width: 768px) and (orientation: landscape) {
    .maps-frame {
        height: 180px;
    }
    
    .hero-section {
        min-height: 60vh;
    }
}


.wa-floating-btn.dragging * {
    pointer-events: none;
}