* {
  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: #f8fafc;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav-brand h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.nav-brand .tagline {
  font-size: 0.875rem;
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #60a5fa;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: white;
  font-size: 1.25rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #60a5fa;
}

/* Virtual Campus */
.virtual-campus {
  background: linear-gradient(135deg, #1e293b, #1e40af, #1e293b);
  color: white;
  padding: 3rem 0;
}

.campus-header {
  text-align: center;
  margin-bottom: 2rem;
}

.campus-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #ef4444;
}

.live-indicator i {
  animation: pulse 2s infinite;
}

.campus-header p {
  font-size: 1.125rem;
  color: #bfdbfe;
  max-width: 600px;
  margin: 0 auto 1rem;
}

.live-activity,
.live-notification {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin: 0.5rem auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  max-width: 600px;
}

.live-activity {
  color: #fbbf24;
}

.live-notification {
  background: rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.live-activity i,
.live-notification i {
  animation: bounce 2s infinite;
}

.campus-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.campus-main {
  background: #374151;
  border-radius: 0.5rem;
  padding: 1rem;
  border: 1px solid #4b5563;
}

.campus-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.campus-info h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.status-indicators {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
}

.online-count {
  color: #10b981;
}

.online-count i {
  animation: pulse 2s infinite;
}

.current-time {
  color: #60a5fa;
}

.zoom-controls {
  display: flex;
  gap: 0.25rem;
}

.zoom-btn {
  background: #4b5563;
  border: 1px solid #6b7280;
  color: white;
  padding: 0.25rem;
  border-radius: 0.25rem;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.zoom-btn:hover {
  background: #6b7280;
}

.campus-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid #10b981;
  transition: transform 0.3s ease;
}

.campus-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.student-indicators,
.pulse-indicators {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.student-indicator {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #60a5fa;
  border-radius: 50%;
  opacity: 0.8;
  animation: bounce 3s infinite;
}

.pulse-indicator {
  position: absolute;
  width: 16px;
  height: 16px;
  background: rgba(251, 191, 36, 0.6);
  border-radius: 50%;
 display: flex;  animation: ping 2s infinite;
}

.campus-area {
  position: absolute;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.campus-area:hover {
  transform: translate(-50%, -50%) scal (1.1);
}

.campus-area.selected .area-hotspot {
  ring: 2px solid #fbbf24;
}

.area-hotspot {
  width: 48px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid white;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.area-hotspot:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

.area-badge {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: pulse 2s infinite;
  white-space: nowrap;
}

.campus-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.area-details,
.leaderboard,
.campus-status {
  background: #374151;
  border: 1px solid #4b5563;
  border-radius: 0.5rem;
  padding: 1rem;
}

.area-details h3,
.leaderboard h3,
.campus-status h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.area-header {
  margin-bottom: 1rem;
}

.area-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.student-count {
  color: #10b981;
  font-size: 0.875rem;
  animation: pulse 2s infinite;
}

.live-indicator {
  color: #fbbf24;
  font-size: 0.75rem;
}

.instructors-info {
  margin: 1rem 0;
  padding: 0.5rem;
  background: rgba(75, 85, 99, 0.5);
  border-radius: 0.25rem;
}

.instructors-info h4 {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.instructors-info p {
  font-size: 0.75rem;
  color: #10b981;
}

.enter-btn {
  width: 100%;
  background: #2563eb;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-weight: 600;
  animation: pulse 2s infinite;
  transition: background-color 0.3s;
}

.enter-btn:hover {
  background: #1d4ed8;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.leaderboard-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.student-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rank {
  color: #fbbf24;
  font-weight: bold;
}

.name {
  color: white;
}

.student-info i {
  color: #fbbf24;
  animation: pulse 2s infinite;
}

.points {
  color: #10b981;
  font-weight: 600;
}

.campus-status .status-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.status-value {
  font-weight: 600;
}

.status-value:nth-child(2n) {
  color: #10b981;
  animation: pulse 2s infinite;
}

.status-value:nth-child(2n + 1) {
  color: #a855f7;
  animation: pulse 2s infinite;
}

.status-value:nth-child(3n) {
  color: #60a5fa;
}

.active-courses,
.campus-events {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #4b5563;
}

.active-courses h4,
.campus-events h4 {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.course-item {
  font-size: 0.75rem;
  color: #d1d5db;
  background: rgba(75, 85, 99, 0.5);
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.course-item i {
  color: #10b981;
  animation: pulse 2s infinite;
  font-size: 0.375rem;
}

.event-item {
  font-size: 0.75rem;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.2);
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  animation: pulse 2s infinite;
}

.live-dot {
  color: #ef4444;
  animation: pulse 2s infinite;
}

/* Login Section */
.login-section {
  padding: 3rem 0;
  background: #f1f5f9;
}

.login-container {
  max-width: 400px;
  margin: 0 auto;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.login-tabs {
  display: flex;
  background: #e2e8f0;
}

.tab-btn {
  flex: 1;
  padding: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.tab-btn.active {
  background: white;
  color: #2563eb;
}

.tab-content {
  display: none;
  padding: 2rem;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #1e293b;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-form input {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.login-form input:focus {
  outline: none;
  border-color: #2563eb;
}

.login-btn {
  background: #2563eb;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-btn:hover {
  background: #1d4ed8;
}

/* Courses Section */
.courses-section {
  padding: 5rem 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.special-offer {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: white;
  border-radius: 0.5rem;
  padding: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.offer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.offer-title {
  font-weight: bold;
  font-size: 1.125rem;
}

.special-offer p {
  font-size: 0.875rem;
  text-align: center;
  margin: 0;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.course-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.course-card.discount-active {
  border: 2px solid #ef4444;
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.2);
  background: linear-gradient(135deg, #fef2f2, #fff7ed);
}

.course-card.discount-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ef4444, #f97316, #ef4444);
  animation: pulse 2s infinite;
}

.course-card.discount-upcoming {
  border: 2px solid #2563eb;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
  background: linear-gradient(135deg, #eff6ff, #f3e8ff);
}

.course-timer {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  padding: 0.5rem;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: bold;
  animation: bounce 2s infinite;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.timer-display {
  font-family: "Courier New", monospace;
  font-size: 0.875rem;
}

.timer-label {
  font-size: 0.625rem;
  margin-top: 0.25rem;
}

.discount-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: bold;
  animation: pulse 2s infinite;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.course-header {
  margin-bottom: 1rem;
}

.course-badges {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.status-badge,
.level-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge.starting-soon {
  background: #2563eb;
  color: white;
}

.status-badge.enrolling {
  background: #e2e8f0;
  color: #64748b;
}

.level-badge {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.course-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.discount-active .course-title {
  color: #dc2626;
}

.course-description {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.5;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: #64748b;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.meta-item i {
  font-size: 1rem;
}

.pricing {
  text-align: center;
  padding: 1rem;
  border-radius: 0.5rem;
  background: #f8fafc;
  margin-bottom: 1rem;
}

.discount-pricing {
  background: linear-gradient(135deg, #fef2f2, #fff7ed);
}

.price-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.discount-price {
  font-size: 2rem;
  font-weight: bold;
  color: #dc2626;
  animation: pulse 2s infinite;
}

.original-price {
  font-size: 1.125rem;
  color: #64748b;
  text-decoration: line-through;
}

.savings-badge {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: bold;
  display: inline-block;
  animation: pulse 2s infinite;
}

.upcoming-pricing {
  background: linear-gradient(135deg, #eff6ff, #f3e8ff);
}

.current-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.upcoming-badge {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: bold;
  display: inline-block;
  animation: bounce 2s infinite;
}

.regular-pricing .regular-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1e293b;
}

.enroll-btn {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.discount-btn {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: pulse 2s infinite;
}

.discount-btn:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.upcoming-btn {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.upcoming-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #6d28d9);
}

.regular-btn {
  background: #2563eb;
  color: white;
}

.regular-btn:hover {
  background: #1d4ed8;
}

/* Footer */
.footer {
  background: #1e293b;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #60a5fa;
}

.footer-section .social-links {
  display: flex;
  gap: 1rem;
}

.footer-section .social-links a {
  display: inline-block;
  margin-bottom: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #94a3b8;
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes bounce {
  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  40%,
  43% {
    transform: translate3d(0, -30px, 0);
  }
  70% {
    transform: translate3d(0, -15px, 0);
  }
  90% {
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Campus Access Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, #1e293b, #1e40af);
  margin: 5% auto;
  padding: 2rem;
  border-radius: 1rem;
  width: 90%;
  max-width: 800px;
  position: relative;
  color: white;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  color: #94a3b8;
  transition: color 0.3s;
}

.close:hover {
  color: white;
}

.campus-access-header {
  text-align: center;
  margin-bottom: 2rem;
}

.campus-access-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.campus-access-header p {
  color: #bfdbfe;
  font-size: 1.125rem;
}

.access-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.plan-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  border-color: #10b981;
  box-shadow: 0 20px 40px -12px rgba(16, 185, 129, 0.3);
}

.plan-card.popular {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #f59e0b;
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.plan-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.5rem;
  color: #10b981;
}

.amount {
  font-size: 3rem;
  font-weight: bold;
  color: #10b981;
}

.period {
  font-size: 1rem;
  color: #94a3b8;
  margin-left: 0.25rem;
}

.savings {
  color: #f59e0b;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.plan-features {
  margin: 1.5rem 0;
  text-align: left;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.feature i {
  color: #10b981;
  font-size: 0.75rem;
}

.plan-btn {
  width: 100%;
  background: #10b981;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.plan-btn:hover {
  background: #059669;
  transform: translateY(-2px);
}

.plan-card.popular .plan-btn {
  background: #f59e0b;
}

.plan-card.popular .plan-btn:hover {
  background: #d97706;
}

.access-granted {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid #10b981;
  color: #10b981;
  padding: 0.75rem;
  border-radius: 0.5rem;
  text-align: center;
  margin-top: 1rem;
  animation: pulse 2s infinite;
}

/* AI Bot Styles */
.ai-bot {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.bot-toggle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.4);
  transition: all 0.3s ease;
  position: relative;
}

.bot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px -5px rgba(139, 92, 246, 0.6);
}

.bot-toggle i {
  color: white;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

.bot-notification {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  animation: pulse 2s infinite;
}

.bot-chat {
  display: none;
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  flex-direction: column;
  overflow: hidden;
}

.bot-header {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bot-header h4 {
  font-size: 1rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bot-header button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1rem;
}

.bot-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  background: #f8fafc;
}

.bot-message,
.user-message {
  margin-bottom: 1rem;
}

.message-content {
  background: #e2e8f0;
  padding: 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  max-width: 80%;
}

.user-msg {
  background: #8b5cf6;
  color: white;
  margin-left: auto;
}

.bot-input {
  padding: 1rem;
  display: flex;
  gap: 0.5rem;
  border-top: 1px solid #e2e8f0;
}

.bot-input input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.bot-input button {
  background: #8b5cf6;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.bot-input button:hover {
  background: #7c3aed;
}

/* Admin Panel Styles */
.admin-panel {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 400px;
  background: linear-gradient(135deg, #1f2937, #374151);
  border: 2px solid #4b5563;
  border-radius: 1rem;
  color: white;
  z-index: 998;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.admin-header {
  background: rgba(239, 68, 68, 0.1);
  border-bottom: 1px solid #4b5563;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 1rem 1rem 0 0;
}

.admin-header h3 {
  margin: 0;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ef4444;
}

.admin-header button {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.3s;
}

.admin-header button:hover {
  color: white;
}

.admin-content {
  padding: 1.5rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: rgba(75, 85, 99, 0.5);
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
}

.stat-card h4 {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.stat-card span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #10b981;
}

.admin-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.admin-actions button {
  background: #374151;
  border: 1px solid #4b5563;
  color: white;
  padding: 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.admin-actions button:hover {
  background: #4b5563;
  border-color: #6b7280;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-menu {
    gap: 1rem;
  }

  .campus-grid {
    grid-template-columns: 1fr;
  }

  .campus-container {
    height: 300px;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .course-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .price-display {
    flex-direction: column;
    gap: 0.5rem;
  }

  .access-plans {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .modal-content {
    width: 95%;
    margin: 10% auto;
    padding: 1.5rem;
  }

  .bot-chat {
    width: 300px;
    height: 400px;
  }

  .admin-panel {
    width: 350px;
    right: 1rem;
    top: 1rem;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .campus-header h2 {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .course-card {
    padding: 1rem;
  }

  .course-timer,
  .discount-badge {
    position: static;
    margin-bottom: 1rem;
    display: inline-block;
  }
}

