/* Reset and Base Styles */
* {
  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;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: #64748b;
}

/* Colors */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #64748b;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --light: #f8fafc;
  --dark: #1e293b;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
}

.text-primary {
  color: var(--primary);
}
.text-secondary {
  color: var(--secondary);
}
.text-success {
  color: var(--success);
}
.text-warning {
  color: var(--warning);
}
.text-danger {
  color: var(--danger);
}
.text-info {
  color: var(--info);
}
.text-accent {
  color: #fbbf24;
}

/* Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 0.5rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}
.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--gray-300);
}

.btn-outline:hover {
  background: var(--gray-50);
  color: var(--gray-700);
  border-color: var(--gray-400);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
}

.btn-light:hover {
  background: var(--gray-100);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* Form Components */
.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--gray-700);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Badge Components */
/* .badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
} */

.badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.705);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.badge.primary {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
}
.badge.secondary {
  background: var(--gray-100);
  color: var(--gray-700);
}
.badge.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}
.badge.warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}
.badge.danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}
.badge.info {
  background: rgba(59, 130, 246, 0.1);
  color: var(--info);
}

/* Header */
.header {
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}

.logo i {
  color: var(--primary);
  font-size: 2rem;
}

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

.nav a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--white);
  padding: 5rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}



.features-list {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.feature-item i {
  background: var(--success);
  color: var(--white);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-image {
  position: relative;
}

.dashboard-preview {
  /* background: var(--white); */
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.dashboard-preview img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: var(--white);
}

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

.section-header h2 {
  color: var(--dark);
  margin-bottom: 1rem;
}

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

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

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--gray-200);
}

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

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--white);
}

.feature-icon.blue {
  background: var(--primary);
}
.feature-icon.green {
  background: var(--success);
}
.feature-icon.purple {
  background: #8b5cf6;
}
.feature-icon.orange {
  background: var(--warning);
}
.feature-icon.red {
  background: var(--danger);
}
.feature-icon.indigo {
  background: var(--info);
}

.feature-card h3 {
  color: var(--dark);
  margin-bottom: 1rem;
}

/* Plans Section */
.plans {
  padding: 5rem 0;
  background: var(--gray-50);
}
.plan-card .btn {
  display: block;
  margin: 1rem auto;
  max-width: 150px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.plan-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
  position: relative;
}

.plan-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.plan-badge {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.plan-header {
  padding: 2rem;
  text-align: center;
}

.featured-header {
  background: var(--primary);
  color: var(--white);
}

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

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

.plan-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
}

.plan-price .amount {
  font-size: 3rem;
  font-weight: 700;
}

.plan-price .period {
  font-size: 1rem;
  opacity: 0.8;
}

.plan-price .contact-text {
  font-size: 1.5rem;
  font-weight: 600;
}

.featured-header .plan-billing {
  color: var(--white);
}
.plan-billing {
  font-weight: 500;
  opacity: 0.8;
}

.plan-features {
  padding: 0 2rem 2rem;
}

.feature-badge {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1rem;
}

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

.feature i {
  color: var(--success);
  font-size: 0.875rem;
}

.feature span {
  font-size: 0.875rem;
  color: var(--gray-700);
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  color: var(--dark);
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h3 {
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: var(--gray-600);
  margin: 0;
}

.contact-form-container {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 1rem 0;
}

.footer-content {
  text-align: center;
}

.footer .logo {
  color: var(--white);
  margin-bottom: 0.5rem;
  justify-content: center;
}

.footer .logo i {
  color: var(--primary);
}

.footer p {
  color: var(--gray-400);
  margin: 0;
}

/* Login Page Styles */
.login-page {
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.login-header {
  padding: 1rem 2rem;
}


.login-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  max-width: 900px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.login-illustration {
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
  padding: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.login-content {
  text-align: center;
}

.login-content img {
  width: 100%;
  max-width: 300px;
  margin-bottom: 2rem;
}

.login-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.login-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

.login-form-section {
  padding: 3rem;
}

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

.login-form-header h1 {
  color: var(--gray-900);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.login-form-header p {
  color: var(--gray-600);
  font-size: 1rem;
}

.login-form .form-group {
  margin-bottom: 1.5rem;
}

.login-form input,
.login-form select {
  height: 3rem;
  font-size: 1rem;
}

.login-links {
  text-align: center;
  margin-top: 1.5rem;
}

.forgot-password {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.forgot-password:hover {
  text-decoration: underline;
}

.login-links p {
  margin-top: 1rem;
  color: var(--gray-600);
}

.login-links a {
  color: var(--primary);
  text-decoration: none;
}

.login-links a:hover {
  text-decoration: underline;
}

.login-footer {
  text-align: center;
  padding: 1rem;
  color: var(--white);
}

/* Dashboard Styles */
.dashboard-page {
  background: var(--gray-50);
  min-height: 100vh;
  display: flex;
}

.sidebar {
  width: 250px;
  background: var(--gray-900);
  color: var(--white);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: auto;
}

.sidebar-header {
  padding: 1rem;
  background: var(--gray-800);
  border-bottom: 1px solid var(--gray-700);
}

.sidebar-header .logo {
  color: var(--white);
  font-size: 1.25rem;
}

.sidebar-header .logo i {
  color: var(--primary);
}

.sidebar-nav {
  padding: 1rem 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--gray-300);
  text-decoration: none;
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.nav-item:hover,
.nav-item.active {
  background: var(--gray-800);
  color: var(--white);
  border-left-color: var(--primary);
}

.nav-item i {
  width: 1.25rem;
  text-align: center;
}

.sidebar-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  border-top: 1px solid var(--gray-700);
}

.logout {
  color: var(--gray-400) !important;
}

.logout:hover {
  color: var(--danger) !important;
  background: rgba(239, 68, 68, 0.1) !important;
  border-left-color: var(--danger) !important;
}

.main-content {
  /*margin-left: 250px;*/
  flex: 1;
  min-height: 100vh;
}

.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left h1 {
  color: var(--gray-900);
  margin: 0;
  font-size: 1.75rem;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar {
  width: 2rem;
  height: 2rem;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
  font-size: 0.875rem;
}

.user-role {
  color: var(--gray-500);
  margin: 0;
  font-size: 0.75rem;
}

.logout-btn {
  background: none;
  border: none;
  color: var(--gray-600);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  text-decoration: none;
}

.logout-btn:hover {
  background: var(--gray-100);
  color: var(--danger);
}

.dashboard-main {
  padding: 2rem;
}

.dashboard-header {
  margin-bottom: 2rem;
}

.dashboard-header p {
  color: var(--gray-600);
  margin: 0;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--white);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.stat-info h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.stat-info p {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.25rem;
}

.stat-info span {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
}

.stat-card.blue .stat-icon {
  background: var(--info);
}
.stat-card.orange .stat-icon {
  background: var(--warning);
}
.stat-card.green .stat-icon {
  background: var(--success);
}
.stat-card.red .stat-icon {
  background: var(--danger);
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.dashboard-card {
  background: var(--white);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.card-header h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: 1.25rem;
}

.card-header p {
  margin: 0.5rem 0 0 0;
  color: var(--gray-600);
  font-size: 0.875rem;
}

.card-content {
  padding: 1.5rem;
}

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

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--gray-700);
}

.action-btn:hover {
  background: var(--gray-50);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.action-btn i {
  font-size: 1.5rem;
}

.action-btn span {
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.activity-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.activity-dot.success {
  background: var(--success);
}
.activity-dot.info {
  background: var(--info);
}
.activity-dot.warning {
  background: var(--warning);
}
.activity-dot.danger {
  background: var(--danger);
}

.activity-content p {
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.activity-content span {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Overview Grid */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.metrics-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

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

.metric-item span {
  font-weight: 500;
  color: var(--gray-700);
}

/* School Landing Page Styles */
.school-header {
  background: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

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

.school-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.school-logo {
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.school-details h1 {
  color: var(--gray-900);
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}

.school-details p {
  color: var(--gray-600);
  margin: 0;
  font-size: 0.875rem;
}

.school-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
  color: var(--white);
  padding: 4rem 0;
}

.school-hero .hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.school-hero .hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.school-hero .hero-text p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.school-hero .hero-actions {
  display: flex;
  gap: 1rem;
}

.school-hero .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.quick-links {
  padding: 2rem 0;
  background: var(--white);
}

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

.link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--gray-700);
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.link-card i {
  font-size: 2rem;
  color: inherit;
}

.link-card span {
  font-weight: 500;
  font-size: 0.875rem;
  text-align: center;
}

.school-content {
  padding: 3rem 0;
  background: var(--gray-50);
}

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

.main-content,
.sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.content-card {
  background: var(--white);
  border-radius: 0.75rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.content-card .card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.content-card .card-header h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-900);
  margin: 0;
  font-size: 1.25rem;
}

.content-card .card-header i {
  color: var(--primary);
}

.content-card .card-content {
  padding: 1.5rem;
}

.principal-message {
  display: flex;
  gap: 1rem;
}

.principal-photo {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  object-fit: cover;
  flex-shrink: 0;
}

.message-content h4 {
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.message-content p {
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.event-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: 0.5rem;
}

.event-name {
  font-weight: 500;
  color: var(--gray-900);
}

.performance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.performance-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 0.75rem;
}

.performance-item.success {
  background: rgba(16, 185, 129, 0.1);
}
.performance-item.info {
  background: rgba(59, 130, 246, 0.1);
}
.performance-item.primary {
  background: rgba(99, 102, 241, 0.1);
}

.performance-value {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.performance-item.success .performance-value {
  color: var(--success);
}
.performance-item.info .performance-value {
  color: var(--info);
}
.performance-item.primary .performance-value {
  color: var(--primary);
}

.performance-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
}

.announcements-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.announcement-item {
  padding: 1rem;
  border-left: 4px solid var(--primary);
  background: var(--gray-50);
  border-radius: 0 0.5rem 0.5rem 0;
}

.announcement-item h4 {
  color: var(--gray-900);
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.announcement-item p {
  color: var(--gray-500);
  margin: 0;
  font-size: 0.75rem;
}

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

.link-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s;
}

.link-item:hover {
  background: var(--gray-50);
  color: var(--primary);
}

.link-item i {
  color: var(--gray-400);
  width: 1rem;
  text-align: center;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-item i {
  color: var(--gray-400);
  margin-top: 0.25rem;
  width: 1rem;
  text-align: center;
}

.contact-item p {
  margin: 0;
  font-size: 0.875rem;
}

.contact-item p:first-child {
  font-weight: 600;
  color: var(--gray-900);
}

.contact-item p:last-child {
  color: var(--gray-600);
}

.school-footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: var(--white);
}

.footer-section .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-section .logo i {
  color: var(--primary);
}

.footer-section p {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-400);
  margin: 0;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .plan-card.featured {
    transform: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .login-card {
    grid-template-columns: 1fr;
  }

  .login-illustration {
    display: none;
  }

  .sidebar {
    display: none;
  }

  .main-content {
    margin-left: 0;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .school-hero .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .school-hero .hero-text h2 {
    font-size: 2rem;
  }

  .school-hero .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .links-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .principal-message {
    flex-direction: column;
    text-align: center;
  }
}

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

  .hero {
    padding: 3rem 0;
  }

  .features,
  .plans,
  .contact {
    padding: 3rem 0;
  }

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

  .hero-actions {
    width: 100%;
  }

  .btn-lg {
    width: 100%;
  }

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

  .dashboard-main {
    padding: 1rem;
  }

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

  .school-header .school-details h1 {
    font-size: 1.25rem;
  }

  .school-hero {
    padding: 2rem 0;
  }

  .school-hero .hero-text h2 {
    font-size: 1.75rem;
  }

  .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .school-hero .hero-actions {
    width: 100%;
  }

  .school-hero .btn-lg {
    width: 100%;
  }

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


/* Core Layout */
.header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.container {
    /*max-width: 1200px;*/
    margin: 0 auto;
    /*padding: 0 1rem;*/
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.logo i {
    margin-right: 0.5rem;
}

.text-primary {
    color: var(--primary, #6366f1);
}

/* Nav */
.nav {
    display: flex;
    gap: 1.5rem;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* Button */
.login-btn {
    margin-left: 1rem;
}

/* Hamburger Icon */
.main-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .main-menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }

    .nav.show {
        display: flex;
    }

    .login-btn {
        width: 100%;
        margin-top: 1rem;
        text-align: center;
    }
}

.mini-flex {
    display: flex;
}

.tab-list {
    display: flex;
    justify-content: space-between;
    margin-left: 20px;
}

.tabOpt {
    display: flex;
    justify-content: space-between;
    gap: 5px;      
}

/*.uploadBtn {
    display: flex;
    justify-content: end;
    margin-right: 20px;
}*/
.uploadBtn {
    display: flex;
    justify-content: flex-end;
    /* margin-right: 20px; */
    width: 100%;
    margin: 10px;
}

.custom-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: flex-start; /* like Bootstrap modal top */
    z-index: 1050;
    overflow-y: auto;
    padding: 1rem;
}

.custom-modal.show {
    display: flex;
}

.modal-dialog {
    background: white;
    border-radius: 0.3rem;
    max-width: 500px;
    width: 90%;
    margin: 0 auto;
    box-shadow: 0 3px 9px rgba(0,0,0,0.5);
    position: relative;
}

.modal-content {
    padding: 1rem;
}

.btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

button {
    padding: 0.5rem 1rem;
    cursor: pointer;
    border: 1px solid #007bff;
    background-color: #007bff;
    color: white;
    border-radius: 0.25rem;
    font-size: 1rem;
}

button.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

p {
    color: black;
}