@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');
body { font-family: 'Inter', Arial, sans-serif; background: #f8f9fa; }
header.navbar { box-shadow: 0 2px 8px rgba(0,0,0,0.07); margin-bottom: 2rem; }
.navbar-brand img { height: 40px; width: 40px; border-radius: 50%; }
.navbar-nav .nav-link { font-weight: 500; color: #222 !important; margin-right: 0.7rem; }
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { color: #0d6efd !important; }
.btn-primary { background: #0d6efd; border: none; }
.btn-primary:hover { background: #0b5ed7; }
main.container-fluid { background: #f8f9fa; min-height: 80vh; padding-top: 2rem; padding-bottom: 2rem; }
.card-news { border-radius: 18px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,0.08); margin-bottom: 2rem; transition: box-shadow 0.2s; padding: 1rem; }
.card-news:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.13); }
.card-news .card-img-top { height: 200px; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; }
.card-news .card-body { background: #fff; padding: 1rem 0.5rem 0.5rem 0.5rem; }
.card-news .card-title { font-size: 1.15rem; font-weight: 600; color: #222; margin-bottom: 0.5rem; }
.card-news .card-meta { font-size: 0.95rem; color: #888; }
.card-news .card-footer { background: #f1f3f6; font-size: 0.95rem; border-top: none; padding: 0.5rem 1rem; }
.sidebar-widget { background: #fff; border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); padding: 1.5rem 1.2rem; margin-bottom: 2rem; }
.faq-card { background: #0d6efd; color: #fff; border-radius: 14px; padding: 1.2rem; margin-bottom: 1rem; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.faq-card:hover { background: #0b5ed7; }
#news-list { margin-bottom: 2rem; }
#loading-spinner { margin-bottom: 2rem; }
#backToTopBtn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: fixed !important;
  bottom: 32px !important;
  right: 32px !important;
  z-index: 9999;
  background: rgba(255,255,255,0.7);
  color: #0d6efd;
  border: none;
  border-radius: 50% !important;
  width: 56px;
  height: 56px;
  font-size: 2rem;
  box-shadow: 0 4px 24px rgba(13,110,253,0.12), 0 1.5px 6px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(8px);
  outline: none;
  border: 1.5px solid #e3e6f0;
  margin-right: 8px;
  margin-bottom: 8px;
}
#backToTopBtn:hover {
  background: #0d6efd;
  color: #fff;
  box-shadow: 0 6px 32px rgba(13,110,253,0.18), 0 2px 8px rgba(0,0,0,0.10);
}
.news-card[data-aos] {
  transition: box-shadow 0.3s, transform 0.3s;
}

/* News Card Animations */
.card-news {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card-news:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(13,110,253,0.15);
}

.card-news img {
    transition: transform 0.3s ease-in-out;
}

.card-news:hover img {
    transform: scale(1.03);
}

/* Masonry Grid Layout */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 1.5rem;
    grid-auto-flow: dense;
}

@media (min-width: 768px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

/* Enhanced Card Styles */
.card-news {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: none;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.card-news:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(13,110,253,0.15);
}

.card-news img {
    transition: transform 0.3s ease-in-out;
    object-fit: cover;
    height: 200px;
    width: 100%;
}

.card-news:hover img {
    transform: scale(1.03);
}

.card-news .card-body {
    padding: 1.5rem;
}

.card-news .card-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.card-news .card-title a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 700;
}

.card-news .card-text {
    color: #6c757d;
    line-height: 1.6;
}

.card-news .card-footer {
    background: transparent;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 1.5rem;
}

/* Loading Animation */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.loading .card-news {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(to right, #f6f7f8 8%, #edeef1 18%, #f6f7f8 33%);
    background-size: 2000px 100%;
}

/* Notifications */
.notification-item {
    transition: background-color 0.3s ease;
}

.notification-item:hover {
    background-color: rgba(13,110,253,0.05) !important;
}

.notification-item.bg-light {
    position: relative;
}

.notification-item.bg-light::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #0d6efd;
}

@media (max-width: 991px) {
    .navbar .btn-primary.d-none.d-lg-inline { display: none !important; }
}
@media (max-width: 767px) {
  .navbar-brand span { font-size: 1.1rem; }
  .card-news .card-img-top { height: 120px; }
  .sidebar-widget, .faq-card { padding: 0.7rem; }
  .card-news { margin-bottom: 1.2rem; }
  main.container-fluid { padding-top: 1rem; padding-bottom: 1rem; }
} 