/* NOTICEBOARD SECTION */
.notices-section {
  padding: 4rem 1.5rem;
  background: linear-gradient(180deg, #fef8e7 0%, #fdf1ff 70%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.notices-section::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10%;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, #ffb800 40%, transparent);
  border-radius: 50%;
  opacity: 0.3;
  animation: dot-bob 7s ease-in-out infinite;
}

.notices-section::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 10%;
  width: 35px;
  height: 35px;
  background: radial-gradient(circle, #41c4a9 40%, transparent);
  border-radius: 50%;
  opacity: 0.25;
  animation: dot-bob 8s ease-in-out infinite reverse;
}

.section-title {
  font-size: 2.4rem;
  color: #294d9b;
  text-align: center;
  margin-bottom: 2rem;
  font-family: 'Cause', sans-serif;
  position: relative;
  z-index: 2;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ffb800, #ff7b9b, #41c4a9);
  margin: 0.5rem auto 0;
  border-radius: 999px;
}

/* Filter Controls */
.filter-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.filter-btn {
  background: #ffffff;
  border: 2px solid rgba(255, 184, 0, 0.3);
  color: #4b5563;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Google Sans', sans-serif;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, #ffb800, #ff7b9b);
  opacity: 0;
  border-radius: 50%;
  transition: all 0.5s ease;
}

.filter-btn:hover {
  border-color: #ffb800;
  color: #294d9b;
  transform: translateY(-2px);
}

.filter-btn:hover::before {
  opacity: 0.15;
  transform: scale(2);
}

.filter-btn.active {
  background: linear-gradient(135deg, #ffb800, #ff7b9b);
  border-color: transparent;
  color: #1e293b;
  box-shadow: 0 5px 12px rgba(255, 184, 0, 0.3);
}

.filter-btn.active::before {
  display: none;
}

/* Loading State */
.loading-state {
  text-align: center;
  padding: 3rem;
  display: none;
  position: relative;
}

.loading-state::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20%;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #ffb800 40%, transparent);
  border-radius: 50%;
  opacity: 0.2;
  animation: dot-bob 5s ease-in-out infinite;
}

.loading-state::after {
  content: "";
  position: absolute;
  bottom: 20px;
  right: 20%;
  width: 15px;
  height: 15px;
  background: radial-gradient(circle, #41c4a9 40%, transparent);
  border-radius: 50%;
  opacity: 0.2;
  animation: dot-bob 6s ease-in-out infinite reverse;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #ffb800;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Error State */
.error-state {
  text-align: center;
  padding: 3rem;
  background: #fee2e2;
  border-radius: 18px;
  max-width: 400px;
  margin: 0 auto;
  display: none;
  position: relative;
  overflow: hidden;
}

.error-state::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #dc2626, #991b1b);
  opacity: 0.1;
  border-radius: 50%;
  transition: all 0.5s ease;
}

.error-state:hover::before {
  transform: scale(1.5);
}

.error-state i {
  font-size: 3rem;
  color: #dc2626;
  margin-bottom: 1rem;
}

.error-state h3 {
  color: #991b1b;
  margin-bottom: 0.5rem;
  font-family: 'Cause', sans-serif;
}

.error-state p {
  color: #b91c1c;
  margin-bottom: 1.5rem;
  font-family: 'Google Sans', sans-serif;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem;
  background: #ffffff;
  border-radius: 18px;
  max-width: 400px;
  margin: 0 auto;
  display: none;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.empty-state::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #ffb800, #ff7b9b);
  opacity: 0.1;
  border-radius: 50%;
  transition: all 0.5s ease;
}

.empty-state::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #41c4a9, #7dd3fc);
  opacity: 0.1;
  border-radius: 50%;
  transition: all 0.5s ease;
}

.empty-state:hover::before {
  transform: scale(1.8) rotate(180deg);
  opacity: 0.15;
}

.empty-state:hover::after {
  transform: scale(1.8) rotate(-180deg);
  opacity: 0.15;
}

.empty-state i {
  font-size: 3rem;
  color: #ffb800;
  margin-bottom: 1rem;
}

.empty-state h3 {
  color: #294d9b;
  margin-bottom: 0.5rem;
  font-family: 'Cause', sans-serif;
}

.empty-state p {
  color: #4b5563;
  font-family: 'Google Sans', sans-serif;
}

/* Notices Grid */
.notices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.notice-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 184, 0, 0.1);
}

.notice-card::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #ffb800, #ff7b9b);
  opacity: 0.1;
  border-radius: 50%;
  transition: all 0.5s ease;
  z-index: 0;
}

.notice-card::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #41c4a9, #7dd3fc);
  opacity: 0.1;
  border-radius: 50%;
  transition: all 0.5s ease;
  z-index: 0;
}

.notice-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px rgba(255, 184, 0, 0.2);
  border-color: #ffb800;
}

.notice-card:hover::before {
  opacity: 0.2;
  transform: scale(1.8) rotate(180deg);
  top: -25px;
  right: -25px;
}

.notice-card:hover::after {
  opacity: 0.15;
  transform: scale(1.8) rotate(-180deg);
  bottom: -25px;
  left: -25px;
}

.notice-card-content {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 2;
}

.item-type-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.item-type-badge::before {
  content: "";
  position: absolute;
  top: -5px;
  right: -5px;
  width: 15px;
  height: 15px;
  background: radial-gradient(circle, currentColor 40%, transparent);
  opacity: 0.2;
  border-radius: 50%;
}

.notice-badge {
  background: rgba(255, 184, 0, 0.15);
  color: #ff7b9b;
  border: 1px solid rgba(255, 184, 0, 0.3);
}

.event-badge {
  background: rgba(65, 196, 169, 0.15);
  color: #0d9488;
  border: 1px solid rgba(65, 196, 169, 0.3);
}

.notice-title {
  font-size: 1.3rem;
  color: #294d9b;
  margin-bottom: 0.75rem;
  font-family: 'Cause', sans-serif;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.notice-card:hover .notice-title {
  color: #ff7b9b;
}

.notice-message {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex: 1;
  font-family: 'Google Sans', sans-serif;
}

.notice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  color: #64748b;
  align-items: center;
}

.notice-date, .notice-audience, .event-countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  position: relative;
}

.notice-date i, .notice-audience i, .event-countdown i {
  font-size: 0.7rem;
}

.event-countdown {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
}

.countdown-normal {
  background: #e8f5e8;
  color: #166534;
}

.countdown-soon {
  background: #fff3cd;
  color: #856404;
}

.countdown-urgent {
  background: #ffebee;
  color: #c62828;
}

.countdown-passed {
  background: #e0e0e0;
  color: #424242;
}

.read-more-btn {
  background: transparent;
  border: 2px solid #ffb800;
  color: #294d9b;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'Google Sans', sans-serif;
  position: relative;
  overflow: hidden;
}

.read-more-btn::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, #ffb800, #ff7b9b);
  opacity: 0;
  border-radius: 50%;
  transition: all 0.5s ease;
}

.read-more-btn:hover {
  background: #ffb800;
  color: #1e293b;
  transform: translateX(3px);
}

.read-more-btn:hover::before {
  opacity: 0.3;
  transform: scale(2);
}

.read-more-btn i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.read-more-btn:hover i {
  transform: translateX(3px);
}

/* Modal - NO SCROLLBAR */
.notice-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.notice-modal.active {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: 14px;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: modalSlideIn 0.3s ease;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.modal-content::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #ffb800, #ff7b9b);
  opacity: 0.1;
  border-radius: 50%;
  transition: all 0.6s ease;
  z-index: 0;
}

.modal-content::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #41c4a9, #7dd3fc);
  opacity: 0.1;
  border-radius: 50%;
  transition: all 0.6s ease;
  z-index: 0;
}

.modal-content:hover::before {
  transform: scale(1.5) rotate(180deg);
  opacity: 0.15;
}

.modal-content:hover::after {
  transform: scale(1.5) rotate(-180deg);
  opacity: 0.15;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #64748b;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.close-modal:hover {
  background: #fee2e2;
  color: #dc2626;
  transform: rotate(90deg);
}

.modal-header {
  padding: 1.5rem 1.5rem 0.75rem;
  border-bottom: 1px solid rgba(255, 184, 0, 0.2);
  position: relative;
  z-index: 2;
}

.modal-title {
  font-size: 1.6rem;
  color: #294d9b;
  margin-bottom: 0.5rem;
  font-family: 'Cause', sans-serif;
  padding-right: 2rem;
  position: relative;
  display: inline-block;
}

.modal-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #ffb800, #ff7b9b);
  border-radius: 999px;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: #64748b;
  font-size: 0.8rem;
  margin-top: 0.75rem;
}

.modal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #f8fafc;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 184, 0, 0.1);
}

.modal-body {
  padding: 1.5rem;
  line-height: 1.6;
  color: #4b5563;
  font-family: 'Google Sans', sans-serif;
  position: relative;
  z-index: 2;
  max-height: none;
  overflow: visible;
}

.modal-footer {
  padding: 0.75rem 1.5rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.event-details {
  background: linear-gradient(135deg, #f8fafc 0%, #fdf1ff 100%);
  border-radius: 16px;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  border-left: 4px solid #ffb800;
}

.event-details::before {
  content: "";
  position: absolute;
  top: -15px;
  right: -15px;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #ffb800, #ff7b9b);
  opacity: 0.1;
  border-radius: 50%;
  transition: all 0.5s ease;
}

.event-details:hover::before {
  transform: scale(1.8);
  opacity: 0.15;
}

.event-date-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #e0f2fe;
  color: #0369a1;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  position: relative;
  overflow: hidden;
}

.event-date-badge::before {
  content: "";
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #0369a1 40%, transparent);
  opacity: 0.2;
  border-radius: 50%;
}

.event-countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  position: relative;
}

.event-description {
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 990px) {
  .notices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .notices-section {
    padding: 3rem 1.25rem;
  }
  
  .notices-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .filter-controls {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .notice-title {
    font-size: 1.2rem;
  }
  
  .notice-card-content {
    padding: 1.5rem 1.25rem;
  }
  
  .modal-title {
    font-size: 1.4rem;
  }
  
  .modal-header {
    padding: 1.25rem 1.25rem 0.5rem;
  }
  
  .modal-body {
    padding: 1.25rem;
  }
  
  .modal-footer {
    padding: 0.5rem 1.25rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .notices-section {
    padding: 2.5rem 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .filter-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
  
  .notice-card-content {
    padding: 1.25rem 1rem;
  }
  
  .notice-title {
    font-size: 1.1rem;
  }
  
  .notice-message {
    font-size: 0.85rem;
  }
  
  .read-more-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .modal-content {
    max-width: 95%;
  }
}




/* =================NOTICES SECTION ON HOME PAGE ================ */

/* HOME NOTICES SECTION */
.home-notices-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 3rem 1.5rem;
}

.home-notices-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/8.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform: scale(1.04);
  filter: saturate(1.05);
  transition: transform 8s ease;
}

.home-notices-section:hover .home-notices-bg {
  transform: scale(1.08);
}

.home-notices-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(41, 77, 155, 0.9) 0%,
    rgba(155, 41, 153, 0.85) 100%
  );
  z-index: 2;
  opacity: 0.9;
  transition: opacity 0.5s ease;
}

.home-notices-section:hover .home-notices-overlay {
  opacity: 0.85;
}

.home-notices-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

.home-notices-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  padding: 2.5rem 2rem;
  max-width: 480px;
  width: 100%;
  animation: fadeInRight 0.8s ease;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.home-notices-card::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #ffb800, #ff7b9b);
  opacity: 0.1;
  border-radius: 50%;
  transition: all 0.6s ease;
  z-index: 0;
}

.home-notices-card::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #41c4a9, #7dd3fc);
  opacity: 0.1;
  border-radius: 50%;
  transition: all 0.6s ease;
  z-index: 0;
}

.home-notices-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 40px 80px rgba(255, 184, 0, 0.3);
}

.home-notices-card:hover::before {
  transform: scale(1.5) rotate(180deg);
  opacity: 0.15;
  top: -20px;
  right: -20px;
}

.home-notices-card:hover::after {
  transform: scale(1.5) rotate(-180deg);
  opacity: 0.15;
  bottom: -20px;
  left: -20px;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.home-notices-header {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.home-notices-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 184, 0, 0.1);
  color: #ff7b9b;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(255, 184, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Google Sans', sans-serif;
  width: fit-content;
}

.home-notices-title {
  font-size: 2.2rem;
  color: #294d9b;
  font-family: 'Cause', sans-serif;
  line-height: 1.2;
  position: relative;
  width: 100%;
  margin: 0;
}

.home-notices-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ffb800, #ff7b9b, #41c4a9);
  border-radius: 999px;
}

/* Loading State */
.home-loading-state {
  text-align: center;
  padding: 2rem;
  display: block;
}

.home-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #ffb800;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

/* Error State */
.home-error-state {
  text-align: center;
  padding: 2rem;
  background: #fee2e2;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: none;
}

.home-error-state i {
  font-size: 2rem;
  color: #dc2626;
  margin-bottom: 0.5rem;
}

.home-error-state p {
  color: #b91c1c;
  margin-bottom: 1rem;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.9rem;
}

.home-retry-btn {
  background: #ffffff;
  border: 2px solid #dc2626;
  color: #b91c1c;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Google Sans', sans-serif;
}

.home-retry-btn:hover {
  background: #dc2626;
  color: #ffffff;
}

/* Empty State */
.home-empty-state {
  text-align: center;
  padding: 2rem;
  display: none;
}

.home-empty-state i {
  font-size: 2.5rem;
  color: #ffb800;
  margin-bottom: 0.5rem;
}

.home-empty-state p {
  color: #4b5563;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.9rem;
}

/* Slider */
.home-notices-slider {
  position: relative;
  min-height: 180px;
  margin-bottom: 1.5rem;
  z-index: 2;
}

.home-notice-slide {
  display: none;
  animation: fadeSlide 0.5s ease;
}

.home-notice-slide.active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-notice-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #ffb800, #ff7b9b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.home-notice-slide:hover .home-notice-icon {
  transform: scale(1.1) rotate(5deg);
}

.home-notice-heading {
  font-size: 1.2rem;
  color: #294d9b;
  margin-bottom: 0.5rem;
  font-family: 'Cause', sans-serif;
  line-height: 1.3;
}

.home-notice-text {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  font-family: 'Google Sans', sans-serif;
}

.home-notice-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.5rem;
}

.home-notice-meta i {
  font-size: 0.65rem;
  color: #ff7b9b;
}

.home-notice-date, 
.home-notice-type, 
.home-notice-countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.home-notice-type {
  background: rgba(255, 184, 0, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  color: #ff7b9b;
  font-weight: 600;
}

.home-notice-countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: #e8f5e8;
  color: #166534;
  border-radius: 999px;
}

.home-notice-countdown i {
  font-size: 0.6rem;
}

/* Footer */
.home-notices-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}

.home-notices-btn {
  background: linear-gradient(135deg, #ffb800, #ff7b9b);
  color: #1e293b;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'Google Sans', sans-serif;
  box-shadow: 0 5px 12px rgba(255, 184, 0, 0.2);
}

.home-notices-btn i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.home-notices-btn:hover {
  background: linear-gradient(135deg, #ffa000, #ff5f8a);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 184, 0, 0.3);
}

.home-notices-btn:hover i {
  transform: translateX(3px);
}

.home-notices-dots {
  display: flex;
  gap: 0.5rem;
}

.notice-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 184, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.notice-dot:hover {
  background: rgba(255, 184, 0, 0.6);
  transform: scale(1.2);
}

.notice-dot.active {
  background: #ffb800;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255, 184, 0, 0.5);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .home-notices-section {
    min-height: 450px;
    padding: 2.5rem 1.25rem;
  }
  
  .home-notices-card {
    max-width: 400px;
    padding: 2rem 1.5rem;
  }
  
  .home-notices-title {
    font-size: 1.8rem;
  }
  
  .home-notice-heading {
    font-size: 1.1rem;
  }
  
  .home-notice-text {
    font-size: 0.85rem;
  }
  
  .home-notice-meta {
    gap: 0.4rem;
  }
}

@media (max-width: 480px) {
  .home-notices-section {
    min-height: 400px;
    padding: 2rem 1rem;
  }
  
  .home-notices-container {
    justify-content: center;
  }
  
  .home-notices-card {
    max-width: 100%;
    padding: 1.5rem 1.25rem;
  }
  
  .home-notices-title {
    font-size: 1.6rem;
  }
  
  .home-notice-heading {
    font-size: 1rem;
  }
  
  .home-notice-text {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  
  .home-notice-meta {
    flex-wrap: wrap;
  }
  
  .home-notices-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .home-notices-dots {
    align-self: center;
  }
}