:root {
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --secondary: #6c757d;
  --accent: #0d6efd;
  /* Blue */
  --accent-2: #6610f2;
  /* Indigo/Purple */
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #212529;
  --footer-bg: #111827;
  --footer-text: #9ca3af;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

/* Typography & Utilities */
.text-accent {
  color: var(--accent) !important;
}

.text-accent-2 {
  color: var(--accent-2) !important;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--secondary);
}

/* Animations */
.entrance {
  opacity: 0;
  transform: translateY(20px);
  animation: entranceAnim 0.5s ease forwards;
}

@keyframes entranceAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 0.5s ease-out forwards;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}



/* Glassmorphism Styles */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* Safari support */
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 1rem;
  padding: 2rem;
}

.glass-lg {
  padding: 3rem;
}

/* Button Styles */
.btn-ghost {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.btn-primary {
  background-color: var(--primary);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary .btn-secondary :hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 52, 196, 0.3);
}

/* Feature Icons */
.icon-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.hover-lift:hover .icon-btn {
  transform: scale(1.1);
}




/* ===== carousel section ===== */

/* carousel.css */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 600px;
  /* Adjust height as needed */
  overflow: hidden;
  background-color: #000;
}

.carousel-track {
  position: relative;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.carousel-slide.current-slide {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  /* Darken image slightly for text readability */
}

.carousel-content {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  width: 80%;
  max-width: 800px;
  max-height: fit-content;
  z-index: 10;
}

.carousel-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: .5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards 0.3s;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
  font-size: 1.2rem;
  margin-bottom: .5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards 0.6s;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

.carousel-indicators {
  position: relative;
  bottom: 20px;
  left: 35%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Glassmorphism Card for Content (Optional, if we want a box behind text) */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  .toppers-track {
    animation-duration: 20s;
  }

  .topper-card {
    width: 240px;
  }

  .toppers-marquee-container {
    max-height: 500px;
  }
}

/* ==========================
    Download Page CSS
================================ */




/* =========================================
   Footer
========================================= */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);

}

.text-footer-muted {
  color: var(--footer-text);
}

.footer-title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* =========================================
   Cards & Hover Effects
========================================= */
.card-hover {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}



/* =========================================
   Forms
========================================= */
/* Skip to Main Content Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px;
  z-index: 9999;
  transition: top 0.3s;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* =========================================
   Notices Page Styling
========================================= */

/* Table Styling */
.noticesTable {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.noticesTable thead {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}

.noticesTable thead th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  padding: 1rem;
  border: none;
}

.noticesTable tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid #e5e7eb;
}

.noticesTable tbody tr:hover {
  background-color: #f3f4f6;
  transform: scale(1.01);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.noticesTable tbody td {
  padding: 1rem;
  vertical-align: middle;
}

.table-danger {
  background-color: #fee2e2 !important;
}

.table-danger:hover {
  background-color: #fecaca !important;
}

/* Modal Styling */
.modal-content {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-header {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  padding: 1.5rem;
  border-bottom: none;
}

.modal-title {
  font-weight: 700;
  font-size: 1.5rem;
}

.modal-body {
  padding: 2rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #374151;
}

.notice-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.notice-detail-item:last-child {
  border-bottom: none;
}

.notice-detail-label {
  font-weight: 600;
  color: #6b7280;
}

.notice-detail-value {
  font-weight: 500;
  color: #111827;
}

/* Notice Button Styling */
.viewNoticeBtn {
  transition: all 0.3s ease;
  font-weight: 600;
}

.viewNoticeBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Badge Styling */
.badge {
  padding: 0.375rem 0.75rem;
  font-weight: 600;
  font-size: 0.75rem;
}

/* Responsive Table */
.table-responsive {
  border-radius: 12px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .noticesTable thead th,
  .noticesTable tbody td {
    padding: 0.75rem 0.5rem;
    font-size: 0.875rem;
  }
}