/* Base Styles and Variables */
:root {
  /* Color Palette */
  --primary-color: #2a3356;
  --primary-dark: #2c4760;
  --primary-light: #4d6d8c;
  --secondary-color: #e67e22;
  --secondary-dark: #f35b25;
  --secondary-light: #f39c12;
  --accent-color: #1abc9c;
  --text-dark: #2a3356;
  --text-light: #ecf0f1;
  --text-muted: #8f8d8d;
  --bg-light: #ffffff;
  --bg-gray: #f5f7fa;
  --bg-dark: #2a3356;
  --border-color: #e0e6ed;
  --shadow-color: rgba(0, 0, 0, 0.1);

  /* Typography */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-round: 50%;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Admin Dashboard */
.admin-nav {
  box-shadow: var(--elevation-100);
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
}

.admin-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}

.admin-nav-actions {
  display: flex;
  gap: 0.75rem;
}

.admin-dashboard {
  max-width: 1200px;
  margin: 0.75rem auto 2rem;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0; /* no gap between sections */
}

.admin-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 10px; /* minimal space below summary */
  padding-bottom: 0px;
}

.summary-card {
  background: var(--surface);
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
  box-shadow: var(--elevation-100);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1 1 200px; /* flex grow/shrink with min 200px */
}

.summary-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.summary-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-700);
}

.admin-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: stretch;
  padding-top: 0px;
}

.admin-feed {
  background: var(--surface);
  border-radius: 0.75rem;
  box-shadow: var(--elevation-100);
  display: flex;
  flex-direction: column;
  padding: 0;
  flex: 1 1 0; /* take remaining space */
  min-width: 0; /* prevent overflow */
}

.admin-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px; /* tighten header padding */
  border-bottom: 1px solid var(--border-light);
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.filter-group input,
.filter-group select {
  min-width: 220px;
}

.admin-pagination {
  font-size: 0.9rem;
  color: var(--muted);
}

.admin-table-container {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table thead {
  background: var(--neutral-50);
}

.admin-table th,
.admin-table td {
  padding: 0.85rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.admin-table tbody tr {
  cursor: pointer;
  transition: background 0.2s ease;
}

.admin-table tbody tr:hover {
  background: rgba(77, 68, 243, 0.06);
}

.admin-table tbody tr.selected {
  background: rgba(77, 68, 243, 0.12);
}

.admin-table .empty-row td {
  text-align: center;
  color: var(--muted);
  padding: 0.75rem 1rem; /* smaller empty row padding */
}

.admin-table tbody.loading {
  opacity: 0.5;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-approved {
  background: rgba(38, 166, 91, 0.12);
  color: #2e7d32;
}

.status-pending {
  background: rgba(255, 193, 7, 0.18);
  color: #af6d00;
}

.status-rejected {
  background: rgba(239, 83, 80, 0.15);
  color: #c62828;
}

.admin-detail {
  background: var(--surface);
  border-radius: 0.75rem;
  box-shadow: var(--elevation-100);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 auto; /* full width */
  max-width: 100%;
}

.detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.detail-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.detail-status-pill {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  background: var(--neutral-100);
  color: var(--muted);
}

.detail-empty {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border-light);
  border-radius: 0.75rem;
}

.detail-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.detail-message {
  min-height: 1.25rem;
  font-size: 0.9rem;
}

.detail-message.success {
  color: #2e7d32;
}

.detail-message.error {
  color: #c62828;
}

.detail-message.info {
  color: var(--muted);
}

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

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.detail-meta {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.detail-actions .spacer {
  flex: 1;
}

@media (max-width: 992px) {
  /* .admin-content already column */

  .admin-detail {
    /* order: -1; removed so it stays below table if desired, or keep if mobile needs it on top. User said 'under'. */
    /* keeping order default (0) means it will be below admin-feed (index 0 or default) */
    flex: 1 1 auto;
  }
}

@media (max-width: 600px) {
  .admin-nav-actions {
    gap: 0.5rem;
  }

  .admin-nav-actions .btn {
    padding: 0.5rem 0.75rem;
  }

  .filter-group input,
  .filter-group select {
    min-width: 160px;
  }
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--shadow-color);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-light);
  border: none;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--shadow-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-outline.light {
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn-outline.light:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

.center-button {
  text-align: center;
  margin-top: var(--spacing-md);
}

/* Section Styles */
section {
  padding: var(--spacing-xl) 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: var(--spacing-sm);
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: var(--radius-sm);
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.section-header.light h2,
.section-header.light p {
  color: var(--text-light);
}

.section-header.light h2::after {
  background-color: var(--text-light);
}

/* Navigation */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-light);
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: all var(--transition-normal);
}

#navbar.scrolled {
  padding: 0.5rem 0;
  background-color: var(--primary-color);
}

#navbar.scrolled .logo-text,
#navbar.scrolled .nav-link,
#navbar.scrolled a {
  color: var(--text-light);
}

#navbar.scrolled .nav-link:hover,
#navbar.scrolled a:hover {
  color: var(--secondary-light);
}

#navbar.scrolled .btn-outline {
  border-color: var(--text-light);
  color: var(--text-light);
}

#navbar.scrolled .btn-outline:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

#navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--spacing-md);
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
}

.logo-link:hover,
.logo-link:focus {
  color: inherit;
}

.logo-text {
  display: inline-block;
}

/* Tagline beneath site title in navbars (small, responsive) */
.logo-text {
  position: relative;
}

.logo-text::after {
  content: "Connecting past with present, to shape a better future";
  display: block;
  font-size: 0.9rem; /* small font */
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.1;
  max-width: 280px; /* constrain width so it wraps nicely */
  white-space: normal;
  opacity: 0.95;
}

/* When navbar is scrolled / dark background, make tagline light */
#navbar.scrolled .logo-text::after {
  color: var(--text-light);
  opacity: 0.95;
}

/* Tighter layout on small screens */
@media (max-width: 576px) {
  .logo-text::after {
    font-size: 0.6rem;
    max-width: 160px;
  }
}

.logo-image {
  width: 60px;
  height: auto;
  padding-right: 10px;
  vertical-align: middle;
}

.logo-icon {
  margin-right: 0.5rem;
  font-size: 1.75rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nav-link {
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 10px;
  transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: block; /* allow absolute-positioned caption at bottom */
  background: none; /* remove any prior background image to let slides show */
  color: var(--text-light);
  text-align: center;
  overflow: hidden;
}

/* Full-width bottom gradient overlay for readability */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  z-index: 10; /* above slides, below text */
  pointer-events: none;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--text-light);
  border: none;
  padding: 15px;
  font-size: 24px;
  cursor: pointer;
  z-index: 30; /* above overlay and slides */
  transition: background-color 0.3s ease;
}

.slider-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

/* Position caption at bottom center with gradient background */
.hero .container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 1200px;
  padding: 0 var(--spacing-md) var(--spacing-lg);
  z-index: 20; /* above slides & overlay */
}

.hero-content {
  margin: 0 auto;
  max-width: 900px;
  background: transparent; /* gradient handled by ::after overlay */
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-md);
}

.hero-content h1,
.hero-content p {
  color: var(--text-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Tagline highlight */
.tagline {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 999px; /* pill */
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #e9f6ff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-align: center;
  max-width: fit-content;
  margin: 0 auto;
}

/* On light sections, invert the scheme automatically */
.about .tagline,
.section-header:not(.light) .tagline {
  background: rgba(58, 90, 120, 0.08); /* primary with alpha */
  color: var(--primary-dark);
  border-color: rgba(58, 90, 120, 0.25);
  text-shadow: none;
}

@media (max-width: 576px) {
  .tagline {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background-color: var(--bg-light);
  margin: 5% auto;
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  width: 90%;
  max-width: 800px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close {
  color: var(--text-muted);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: var(--spacing-md);
  top: var(--spacing-md);
}

.close:hover,
.close:focus {
  color: var(--text-dark);
}

.flier-content {
  display: flex;
  gap: var(--spacing-lg);
  align-items: flex-start;
}

.flier-image {
  flex: 1;
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.flier-details {
  flex: 1;
}

.flier-details h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.flier-details p {
  margin-bottom: var(--spacing-sm);
}

.flier-details p strong {
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .modal-content {
    margin: 10% auto;
    padding: var(--spacing-md);
    width: 95%;
  }

  .flier-content {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .flier-image {
    max-width: 100%;
  }
}

.hero-buttons {
  margin-top: var(--spacing-sm);
}

@media (max-width: 768px) {
  .hero .container {
    padding-bottom: var(--spacing-md);
  }
  .hero-content {
    max-width: 100%;
    padding: var(--spacing-md);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
}

/* About Section */
.about {
  background-color: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.about-card {
  background-color: var(--bg-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform var(--transition-normal);
}

.about-card:hover {
  transform: translateY(-10px);
}

.about-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.about-card h3 {
  margin-bottom: var(--spacing-sm);
}

/* Leadership Team Section */
.leadership {
  background-color: var(--bg-gray);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.team-member {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform var(--transition-normal);
}

.team-member:hover {
  transform: translateY(-10px);
}

.member-image {
  height: 250px;
  overflow: hidden;
}

/* Placeholder styles for leadership cards */
.member-image.placeholder {
  background: linear-gradient(135deg, #e9eef5, #d8e0ea);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

.placeholder-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
  text-align: center;
  padding: 0 var(--spacing-md);
}

.small-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-member:hover .member-image img {
  transform: scale(1.1);
}

.member-info {
  padding: var(--spacing-md);
  text-align: center;
}

.member-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.member-class {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: var(--spacing-sm);
}

.member-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--bg-gray);
  color: var(--primary-color);
  border-radius: var(--radius-round);
  transition: all var(--transition-fast);
}

.member-social a:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* News Section */
.news {
  background-color: var(--bg-light);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
}

.news-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform var(--transition-normal);
}

.news-card:hover {
  transform: translateY(-10px);
}

.news-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-date {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: var(--radius-sm);
  text-align: center;
}

.news-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.news-date .month {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.news-content {
  padding: var(--spacing-md);
}

.news-content h3 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

.read-more {
  display: inline-block;
  margin-top: var(--spacing-sm);
  font-weight: 600;
  color: var(--primary-color);
}

.read-more i {
  margin-left: 5px;
  transition: transform var(--transition-fast);
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Alumni Spotlight Section */
.alumni-spotlight {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: var(--text-light);
}

.spotlight-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  align-items: center;
}

.spotlight-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.spotlight-image img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-round);
  border: 5px solid rgba(255, 255, 255, 0.3);
  margin: 0 auto;
}

.spotlight-info {
  flex: 2;
  min-width: 300px;
}

.spotlight-header {
  margin-bottom: var(--spacing-sm);
}

.spotlight-header h3 {
  color: var(--text-light);
  display: inline-block;
  margin-right: var(--spacing-sm);
  margin-bottom: 0;
}

.spotlight-class {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--secondary-color);
  color: var(--text-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.spotlight-bio {
  margin-bottom: var(--spacing-md);
}

blockquote {
  position: relative;
  font-style: italic;
  padding-left: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  border-left: 4px solid var(--secondary-color);
}

.spotlight-achievements {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.achievement {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

.achievement i {
  color: var(--secondary-color);
}

/* Events Section */
.events {
  background-color: var(--bg-gray);
}

.events-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.event-card {
  display: flex;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: var(--spacing-md);
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

.event-date .month {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.event-date .day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-content {
  padding: var(--spacing-md);
  flex: 1;
}

.event-details {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.event-details span {
  display: flex;
  align-items: center;
}

.event-details i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

/* Gallery Section */
.gallery {
  background-color: var(--bg-light);
  padding-top: 100px;
  scroll-margin-top: 100px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-md);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

/* .gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
} */

.gallery-info {
  color: var(--text-light);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  padding: var(--spacing-lg);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(90vw, 1200px);
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  background: rgba(0, 0, 0, 0.6);
  color: var(--text-light);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox-close:hover,
.lightbox-close:focus {
  background: rgba(0, 0, 0, 0.8);
}

.gallery-info h3 {
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.gallery-info p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/placeholder.svg?height=1080&width=1920") no-repeat center center/cover;
  color: var(--text-light);
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
}

.cta-content p {
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

.footer-column h3 {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-xs);
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
}

.footer-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.footer-logo i {
  margin-right: 0.5rem;
  font-size: 1.75rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: var(--spacing-md);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border-radius: var(--radius-round);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  opacity: 0.8;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary-color);
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-info i {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  color: var(--secondary-color);
}

.newsletter h4 {
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  outline: none;
}

.newsletter-form button {
  padding: 0 1rem;
  background-color: var(--secondary-color);
  color: var(--text-light);
  border: none;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.newsletter-form button:hover {
  background-color: var(--secondary-dark);
}

.footer-qr {
  display: block;
  margin-top: var(--spacing-md);
  max-width: 120px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
}

.footer-qr:hover {
  transform: scale(1.05);
  border-color: var(--secondary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: var(--spacing-md);
}

.footer-bottom-links a {
  color: var(--text-light);
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-bottom-links a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .spotlight-content {
    flex-direction: column;
    text-align: center;
  }

  .spotlight-image {
    margin-bottom: var(--spacing-md);
  }

  blockquote {
    padding-left: var(--spacing-sm);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    width: 100%;
    background-color: var(--bg-light);
    box-shadow: 0 10px 15px var(--shadow-color);
    padding: var(--spacing-md) 0;
    transition: left var(--transition-normal);
  }

  .nav-menu.active {
    left: 0;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .event-card {
    flex-direction: column;
  }

  .event-date {
    flex-direction: row;
    padding: var(--spacing-sm);
  }

  .event-date .month {
    margin-right: 0.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
  }
}

@media (max-width: 576px) {
  section {
    padding: var(--spacing-lg) 0;
  }

  .section-header {
    margin-bottom: var(--spacing-md);
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1rem;
  }

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

  .footer-content {
    gap: var(--spacing-md);
  }
}

/* Chapters Grid */
.chapters-grid {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-gray);
}

.chapters-grid .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.chapter-card {
  background-color: var(--bg-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform var(--transition-normal);
  text-align: center;
}

.chapter-card:hover {
  transform: translateY(-10px);
}

.chapter-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background-color: var(--bg-gray);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.chapter-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.chapter-card p {
  margin-bottom: var(--spacing-md);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.chapter-card .btn {
  width: 100%;
  text-align: center;
}

/* Chapter Detail Page */
.chapter-detail {
  padding: var(--spacing-xl) 0;
}

.chapter-header {
  text-align: center;
  margin-top: 10vw;
  margin-bottom: var(--spacing-xl);
}

.chapter-header h1 {
  margin-bottom: var(--spacing-sm);
}

.chapter-header p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-muted);
}

.chapter-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.stat-card {
  background-color: var(--bg-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  color: var(--text-muted);
  font-size: 1rem;
}

.chapter-members {
  margin-top: var(--spacing-xl);
}

.member-search {
  margin-bottom: var(--spacing-lg);
}

.search-form {
  display: flex;
  gap: var(--spacing-sm);
  max-width: 600px;
  margin: 0 auto;
}

.search-form input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
}

.search-form button {
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.search-form button:hover {
  background-color: var(--primary-dark);
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.member-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform var(--transition-normal);
}

.member-card:hover {
  transform: translateY(-5px);
}

.member-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.member-card:hover .member-image img {
  transform: scale(1.1);
}

.member-info {
  padding: var(--spacing-md);
}

.member-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.member-details {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

.member-intro {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive Styles for Chapters */
@media (max-width: 768px) {
  .chapters-grid .grid {
    grid-template-columns: 1fr;
  }

  .search-form {
    flex-direction: column;
  }

  .search-form button {
    width: 100%;
  }

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

@media (max-width: 576px) {
  .chapter-stats {
    grid-template-columns: 1fr;
  }

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

/* Chapter Coordinator */
.coordinator-info {
  margin: var(--spacing-xl) 0;
}

.coordinator-info h2 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.coordinator-card {
  display: flex;
  gap: var(--spacing-lg);
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.coordinator-image {
  flex: 0 0 300px;
  overflow: hidden;
}

.coordinator-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Coordinator placeholder styles */
.coordinator-image:not(:has(img)) {
  background: linear-gradient(135deg, #e9eef5, #d8e0ea);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  height: 300px;
}

.coordinator-image .placeholder-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
  text-align: center;
  padding: 0 var(--spacing-md);
}

.coordinator-details {
  flex: 1;
  padding: var(--spacing-lg);
}

.coordinator-details h3 {
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
}

.coordinator-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.coordinator-bio {
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.coordinator-contact {
  margin-top: var(--spacing-md);
}

/* Responsive Styles for Coordinator */
@media (max-width: 768px) {
  .coordinator-card {
    flex-direction: column;
  }

  .coordinator-image {
    flex: 0 0 200px;
  }

  .coordinator-details {
    padding: var(--spacing-md);
  }
}

/* Temporary Coming Soon Section */
.coming-soon-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(
    135deg,
    rgba(42, 51, 86, 0.05),
    rgba(26, 188, 156, 0.05)
  );
}

.coming-soon-card {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  background-color: var(--bg-light);
  box-shadow: 0 15px 35px rgba(42, 51, 86, 0.15);
  text-align: center;
}

.coming-soon-card h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.coming-soon-card p {
  margin-bottom: var(--spacing-md);
  color: var(--text-muted);
  font-size: 1.05rem;
}

.coming-soon-card .btn {
  margin-top: var(--spacing-sm);
}

/* Classes Grid */
.classes-grid {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-gray);
}

.classes-grid .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.class-card {
  background-color: var(--bg-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform var(--transition-normal);
  text-align: center;
}

.class-card:hover {
  transform: translateY(-10px);
}

.class-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background-color: var(--bg-gray);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.class-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.class-card p {
  margin-bottom: var(--spacing-md);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.class-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* WhatsApp Section */
.whatsapp-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-light);
}

.whatsapp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.whatsapp-card {
  background-color: var(--bg-light);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: 0 5px 15px var(--shadow-color);
  text-align: center;
}

.whatsapp-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background-color: #25d366;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-icon i {
  font-size: 2.5rem;
  color: var(--text-light);
}

.whatsapp-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.whatsapp-card p {
  margin-bottom: var(--spacing-md);
  color: var(--text-muted);
}

.whatsapp-list {
  text-align: left;
  margin-bottom: var(--spacing-md);
}

.whatsapp-list li {
  margin-bottom: var(--spacing-sm);
  padding-left: var(--spacing-md);
  position: relative;
}

.whatsapp-list li::before {
  content: "•";
  color: #25d366;
  position: absolute;
  left: 0;
}

.btn-success {
  background-color: #25d366;
  color: var(--text-light);
  border: none;
}

.btn-success:hover {
  background-color: #128c7e;
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--shadow-color);
}

/* Responsive Styles for Classes */
@media (max-width: 768px) {
  .classes-grid .grid {
    grid-template-columns: 1fr;
  }

  .class-stats {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

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

/* Class Detail Page */
.class-detail {
  padding: var(--spacing-xl) 0;
}

.class-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.class-header h1 {
  margin-bottom: var(--spacing-sm);
}

.class-header p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Year Groups */
.year-groups {
  margin: var(--spacing-xl) 0;
}

.year-groups h2 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.year-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.year-card {
  background-color: var(--bg-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: 0 5px 15px var(--shadow-color);
  text-align: center;
  transition: transform var(--transition-normal);
}

.year-card:hover {
  transform: translateY(-5px);
}

.year-card h3 {
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
}

.year-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

/* Class Representatives */
.class-representatives {
  margin: var(--spacing-xl) 0;
}

.class-representatives h2 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.representatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.representative-card {
  display: flex;
  gap: var(--spacing-md);
  background-color: var(--bg-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.representative-image {
  flex: 0 0 120px;
  height: 120px;
  border-radius: var(--radius-round);
  overflow: hidden;
}

.representative-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.representative-info {
  flex: 1;
}

.representative-info h3 {
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
}

.representative-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.representative-bio {
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
  line-height: 1.6;
}

.representative-contact {
  margin-top: var(--spacing-md);
}

/* Responsive Styles for Class Detail */
@media (max-width: 768px) {
  .year-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .representative-card {
    flex-direction: column;
    text-align: center;
  }

  .representative-image {
    margin: 0 auto;
  }

  .year-stats {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
}

/* Authentication Pages */
.auth-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.auth-container {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h1 {
  color: #333;
  margin-bottom: 10px;
}

.auth-header p {
  color: #666;
}

.auth-form {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #007bff;
  outline: none;
}

.form-group i {
  position: absolute;
  right: 15px;
  top: 40px;
  color: #666;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.remember-me,
.terms {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
}

.remember-me input,
.terms input {
  width: auto;
  margin: 0;
}

.forgot-password {
  color: #007bff;
  text-decoration: none;
}

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

.btn-block {
  width: 100%;
  padding: 12px;
  font-size: 16px;
}

.auth-footer {
  text-align: center;
  color: #666;
}

.auth-footer a {
  color: #007bff;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Responsive Styles for Auth Pages */
@media (max-width: 768px) {
  .auth-container {
    padding: 30px 20px;
    margin: 0 20px;
  }

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

/* Dashboard Styles */
.dashboard-container {
  display: flex;
  min-height: calc(100vh - 80px);
  margin-top: 80px;
  background-color: var(--bg-gray);
}

.dashboard-sidebar {
  width: 280px;
  background-color: var(--bg-light);
  padding: var(--spacing-md);
  box-shadow: 2px 0 5px var(--shadow-color);
  position: fixed;
  height: calc(100vh - 80px);
  overflow-y: auto;
}

.member-profile {
  text-align: center;
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--spacing-md);
}

.profile-image {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-round);
  margin-bottom: var(--spacing-sm);
}

.member-profile h3 {
  margin-bottom: var(--spacing-xs);
}

.member-profile p {
  color: var(--text-muted);
  margin-bottom: var(--spacing-xs);
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.dashboard-nav a {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.dashboard-nav a i {
  width: 20px;
  text-align: center;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.dashboard-main {
  flex: 1;
  margin-left: 280px;
  padding: var(--spacing-lg);
}

.dashboard-section {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.dashboard-section h2 {
  margin-bottom: var(--spacing-lg);
  color: var(--text-dark);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.info-card {
  background-color: var(--bg-gray);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
}

.info-card h3 {
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
}

.info-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-status {
  font-size: 0.9rem;
  margin: 0;
}

.form-status-success {
  color: var(--accent-color);
}

.form-status-error {
  color: #c0392b;
}

.form-status-pending {
  color: var(--primary-color);
}

.circle-search {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.search-filters {
  display: flex;
  gap: var(--spacing-sm);
  flex: 1;
}

.search-input,
.search-select {
  padding: var(--spacing-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}

.search-input {
  flex: 1;
}

.circle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

.circle-card {
  background-color: var(--bg-gray);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  text-align: center;
}

.circle-card img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-round);
  margin-bottom: var(--spacing-sm);
}

.circle-card h3 {
  margin-bottom: var(--spacing-xs);
}

.circle-card p {
  color: var(--text-muted);
  margin-bottom: var(--spacing-xs);
  font-size: 0.9rem;
}

.events-filters {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.filter-select {
  width: 200px;
  padding: var(--spacing-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.calendar-container {
  background-color: var(--bg-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
}

.coordinator-info {
  margin-top: var(--spacing-md);
}

.coordinator-info h4 {
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color);
}

.coordinator-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  align-items: flex-start;
}

.coordinator-details img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-round);
}

.coordinator-details h5 {
  margin-bottom: var(--spacing-xs);
}

.coordinator-details p {
  color: var(--text-muted);
  margin-bottom: var(--spacing-xs);
}

.coordinator-name {
  font-weight: 600;
  color: var(--text-dark);
}

.coordinator-email {
  color: var(--primary-color);
  text-decoration: none;
}

.coordinator-email:hover {
  text-decoration: underline;
}

.member-contact {
  word-break: break-word;
}

.member-email-link {
  color: var(--primary-color);
  text-decoration: none;
}

.member-email-link:hover {
  text-decoration: underline;
}

.member-card {
  margin-top: var(--spacing-md);
}

.member-list-container {
  margin-top: var(--spacing-sm);
}

.member-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.member-list-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-light);
}

.member-name {
  font-weight: 600;
  color: var(--text-dark);
}

.member-email {
  color: var(--primary-color);
  text-decoration: none;
  word-break: break-all;
}

.member-email:hover {
  text-decoration: underline;
}

.empty-state {
  color: var(--text-muted);
  font-style: italic;
}

/* Responsive Styles for Dashboard */
@media (max-width: 992px) {
  .dashboard-sidebar {
    width: 240px;
  }

  .dashboard-main {
    margin-left: 240px;
  }
}

@media (max-width: 768px) {
  .dashboard-container {
    flex-direction: column;
  }

  .dashboard-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    margin-top: 80px;
  }

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

  .search-filters {
    flex-direction: column;
  }

  .search-input,
  .search-select {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .dashboard-section {
    padding: var(--spacing-md);
  }

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

  .coordinator-details {
    flex-direction: column;
    text-align: center;
  }
}

.error-message,
.success-message {
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 15px;
  display: none;
}

.error-message {
  color: #dc3545;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}

.success-message {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}

.error-message:not(:empty),
.success-message:not(:empty) {
  display: block;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form h3 {
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

.auth-form h4 {
  color: var(--primary-dark);
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.child-info {
  background-color: var(--bg-gray);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.education-entry {
  background-color: var(--bg-gray);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  position: relative;
}

.education-entry .btn-sm {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 10px;
  font-size: 0.8rem;
}

.character-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 5px;
}

.auth-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
}

.auth-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(58, 90, 120, 0.1);
}

.btn-block {
  width: 100%;
  margin-top: 20px;
}

.auth-form label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.auth-form input,
.auth-form select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.auth-form input:focus,
.auth-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1);
}

.auth-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.auth-form .checkbox-label input[type="checkbox"] {
  width: auto;
}

.auth-form .forgot-password {
  float: right;
  color: var(--primary);
  text-decoration: none;
}

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

.auth-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.auth-footer a {
  color: var(--primary);
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.password-strength {
  margin-top: 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
  padding: 10px;
}

.strength-bar {
  height: 4px;
  width: 0;
  background-color: #dc3545;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.strength-text {
  margin-top: 5px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.password-requirements {
  display: block;
  margin-top: 5px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Events Section */
.events-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.event-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-date {
  background: var(--primary);
  color: var(--white);
  padding: 15px;
  text-align: center;
}

.event-date .day {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.event-date .month {
  font-size: 1.2rem;
  text-transform: uppercase;
}

.event-content {
  padding: 20px;
}

.event-content h3 {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.event-location {
  color: var(--text-muted);
  margin-bottom: 15px;
}

.event-location i {
  margin-right: 5px;
  color: var(--primary);
}

.event-description {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.event-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.event-meta span i {
  margin-right: 5px;
  color: var(--primary);
}

/* Gallery Section */
.gallery-section {
  padding: 140px 0 80px;
  background-color: var(--bg-light);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--primary);
  border-radius: 25px;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 20px;
  color: var(--white);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.gallery-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.section-footer {
  text-align: center;
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .events-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-filters {
    flex-wrap: wrap;
  }

  .filter-btn {
    padding: 6px 15px;
    font-size: 0.9rem;
  }
}

/* Admin Coordinators & Modal */
.admin-nav-tabs {
    display: flex;
    gap: 1rem;
    margin-right: auto;
    margin-left: 1rem;
}
.btn-link {
    background: none;
    border: none;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-bottom: 2px solid transparent;
}
.btn-link:hover, .btn-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
.modal {
    padding: 0;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background: white;
    max-width: 500px;
    width: 90%;
}
.modal::backdrop {
    background: rgba(0, 0, 0, 0.5);
}
.modal-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.modal-content h3 {
    margin: 0;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
}
.form-group input, .form-group select {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    width: 100%;
}
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}
.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    list-style: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.autocomplete-results li {
    padding: 0.5rem;
    cursor: pointer;
}
.autocomplete-results li:hover {
    background: var(--bg-gray);
}

[hidden] {
    display: none !important;
}

/* School Song Section */
.school-song {
  background-color: var(--bg-gray);
  padding: var(--spacing-xl) 0;
}

.player-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px var(--shadow-color);
  max-width: 600px;
  margin: 0 auto;
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition-normal);
}

.player-card:hover {
  transform: translateY(-5px);
}

.player-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(42, 51, 86, 0.1); /* primary-color with opacity */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
  font-size: 2.5rem;
}

.player-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.player-info p {
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.audio-controls {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.progress-container {
  width: 100%;
  height: 6px;
  background-color: var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: var(--secondary-color);
  border-radius: 10px;
  transition: width 0.1s linear;
}

.time-display {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: monospace;
}

.buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.control-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(42, 51, 86, 0.05);
}

.control-btn:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: scale(1.1);
}

.play-btn {
  width: 60px;
  height: 60px;
  font-size: 2rem;
  background-color: rgba(230, 126, 34, 0.1); /* secondary-color with opacity */
  color: var(--secondary-color);
}

.play-btn:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
}
