/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --primary-color: #1e3a8a;
  --secondary-color: #3b82f6;
  --accent-color: #f59e0b;
  --success-color: #10b981;
  --background-color: #f8fafc;
  --surface-color: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, #1e3a8a, #3b82f6);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-color);
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}



/* Section Styles */
.section {
  display: none;
  padding: 4rem 0;
}

.section.active {
  display: block;
}

/* Hero Section */
.hero {
  background: var(--gradient-primary);
  color: white;
  padding: 6rem 0;
}

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

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

.hero-image {
  text-align: center;
}

.hero-img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Features Section - Why Join KYP Organization */
.features {
    display: block !important;
    background: #ffffff;
    padding: 5rem 0;
    position: relative;
    z-index: 1;
    border: 1px solid #e2e8f0; /* Temporary border to ensure visibility */
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.features h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

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

.feature-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Stats Section */
.stats {
  background: var(--primary-color);
  color: white;
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 1.1rem;
  color: white;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.about-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}

/* Courses Section */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.course-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

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

.course-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.course-duration {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

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

.contact-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.contact-item h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.contact-item p {
  color: var(--text-secondary);
}

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

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

/* Auth Forms */
.auth-form {
  max-width: 500px;
  margin: 0 auto;
  background: var(--surface-color);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.auth-form h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

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

.auth-form input,
.auth-form select {
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
}

.auth-form p {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-secondary);
}

.auth-form a {
  color: var(--primary-color);
  font-weight: 600;
}

/* Footer Styles */
footer {
  background: var(--text-primary);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

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

.footer-section p {
  color: #cbd5e1;
  line-height: 1.6;
}

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

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

.footer-section a {
  color: #cbd5e1;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-color);
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #cbd5e1;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Constituency and Members Styles */
.constituency-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-color);
  background: white;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: #000000 !important;
}

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

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

.constituency-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.constituency-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.constituency-card h3 {
  color: #000000 !important;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.constituency-card p {
  color: #000000 !important;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.wards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.ward-tag {
  background: var(--background-color);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
}

.member-count {
  background: var(--gradient-primary);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-align: center;
  font-size: 1.1rem;
}

.members-list h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

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

.member-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.member-avatar {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.member-card h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 1.2rem;
}

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

.member-location {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Jobs Section Styles */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.job-card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

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

.job-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.25rem;
  flex: 1;
}

.job-type {
  background: var(--accent-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.job-company,
.job-location {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.job-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.salary {
  color: var(--success-color);
  font-weight: 600;
}

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

/* Leadership Section Styles */
.leadership-tier {
  margin-bottom: 4rem;
}

.leadership-tier h3 {
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-size: 1.5rem;
  text-align: center;
}

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

.leader-card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.leader-avatar {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.leader-card h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.leader-position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.leader-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.constituency-leaders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.constituency-leader-card {
  background: var(--surface-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--border-color);
}

.constituency-leader-card h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.ward-leadership-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.ward-leadership-list li {
  background: var(--background-color);
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {

  /* Container adjustments */
  .container {
    padding: 0 1rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

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

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

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

  .features-grid,
  .constituency-grid,
  .members-grid,
  .jobs-grid,
  .leadership-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .constituency-filter {
    flex-direction: column;
    align-items: center;
  }

  .wards-list {
    justify-content: center;
  }

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

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

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

  .auth-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background: var(--background-color);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Page Sections */
.page-section {
  display: none;
  min-height: 100vh;
  padding: 2rem 0;
}

.page-section.active {
  display: block;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-logo {
  margin-bottom: 2rem;
}

.loading-text {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, #ffffff, #e0f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loading-progress {
  height: 100%;
  background: white;
  border-radius: 2px;
  animation: loadingProgress 2s ease-in-out infinite;
}

@keyframes loadingProgress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}


.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle:hover .hamburger-line:nth-child(1) {
  transform: translateY(-1px);
}

.menu-toggle:hover .hamburger-line:nth-child(3) {
  transform: translateY(1px);
}

nav ul.nav-menu {
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

nav li {
  margin: 0.5rem 1rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

main {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  margin-bottom: 2rem;
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 600;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}

footer {
  text-align: center;
  padding: 3rem 0;
  background: var(--gradient-primary);
  color: #fff;
  margin-top: 3rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-secondary);
}

/* Card styles */
.member-card, .job-card, .leader-card, .stat-card {
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
  background-color: var(--surface-color);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.member-card:hover, .job-card:hover, .leader-card:hover, .stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.stat-card {
  text-align: center;
  padding: 2rem;
}

.stat-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Form styles */
form {
  display: grid;
  gap: 1.5rem;
  max-width: 600px;
}

/* Password input container */
.password-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-container input {
  flex: 1;
  padding-right: 50px; /* Space for the toggle button */
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    opacity: 1;
}

.password-toggle:hover {
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.4);
  opacity: 1;
}

.password-toggle:active {
  transform: translateY(-50%) scale(0.95);
}

.password-toggle .eye-icon,
.password-toggle .eye-slash-icon {
  color: white !important;
  font-size: 16px;
  display: inline-block;
  visibility: visible !important;
  opacity: 1 !important;
}

.password-toggle .eye-slash-icon {
  display: none;
}

.password-toggle.show-password .eye-icon {
  display: inline-block;
  visibility: visible !important;
  opacity: 1 !important;
}

.password-toggle.show-password .eye-slash-icon {
  display: none;
}

.password-toggle.hide-password .eye-icon {
  display: none;
}

.password-toggle.hide-password .eye-slash-icon {
  display: inline-block;
  visibility: visible !important;
  opacity: 1 !important;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

input, select, textarea, button {
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

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

button {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.filter-btn, .submit-btn {
  align-self: start;
  margin-top: 1rem;
}

.apply-btn {
  background: linear-gradient(135deg, var(--accent-color) 0%, #d97706 100%);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.apply-btn:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

#reset-data {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  margin: 2rem auto;
  display: block;
}

#reset-data:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

/* Dark mode styles */
body.dark-mode {
  --background-color: #0f172a;
  --surface-color: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --border-color: #334155;
}

body.dark-mode section {
  background-color: var(--surface-color);
  color: var(--text-primary);
}

body.dark-mode h2::after {
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

/* Notice bar */
#notice-bar {
  background: linear-gradient(135deg, var(--accent-color) 0%, #d97706 100%);
  color: #fff;
  padding: 0.75rem 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 500;
}

#notice-container {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-notices 20s linear infinite;
}

#notice-container span {
  margin-right: 2rem;
}

@keyframes scroll-notices {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

#add-notice {
  text-align: center;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

#add-notice input {
  flex: 1;
  max-width: 300px;
}

#add-notice button {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

#add-notice button:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* Clean Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: white;
  padding: 2rem;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero-title .highlight {
  background: linear-gradient(45deg, #ffffff, #e0f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 3rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 150px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  font-size: 2rem;
}

.stat-content {
  text-align: left;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button.primary {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 2px solid white;
}

.cta-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  background: var(--gradient-secondary);
  color: white;
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
  background: white;
  color: var(--primary-color);
  border-color: white;
}

/* Button loading animation */
.cta-button.loading, .apply-btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.cta-button.loading::after, .apply-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cta-button.large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.scroll-text {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.scroll-arrow {
  font-size: 1.5rem;
  animation: pulse 2s infinite;
}

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

/* Features Showcase */
.features-showcase {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--background-color) 0%, rgba(30, 58, 138, 0.02) 100%);
  position: relative;
}

.features-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(30, 58, 138, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(37, 99, 235, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

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

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.feature-card.interactive {
  background: var(--surface-color);
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.interactive[data-animation="fade-in-left"] {
  animation: fadeInLeft 0.8s ease-out 0.2s forwards;
}

.feature-card.interactive[data-animation="fade-in-up"] {
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.feature-card.interactive[data-animation="fade-in-right"] {
  animation: fadeInRight 0.8s ease-out 0.6s forwards;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px) translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px) translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

.feature-card.interactive:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(15, 81, 50, 0.15);
  border-color: var(--accent-color);
}

.card-visual {
  position: relative;
  margin-bottom: 2rem;
}

.card-icon {
  width: 90px;
  height: 90px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-size: 2.5rem;
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.card-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(30, 64, 175, 0.4);
}

.card-pattern {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.card-content h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.5rem;
  text-align: center;
}

.card-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
  margin-bottom: 1.5rem;
}

.card-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(15, 81, 50, 0.05), rgba(22, 163, 74, 0.05));
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 81, 50, 0.1);
}

.metric-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Clean Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background: var(--background-color);
}

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

.testimonial-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 3;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

.testimonial-info {
  flex: 1;
}

.testimonial-info h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  color: var(--text-primary);
  font-weight: 700;
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
}

.testimonial-rating {
  color: #fbbf24;
  font-size: 1rem;
}

.testimonial-content {
  position: relative;
  z-index: 3;
}

.testimonial-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
}

.testimonial-content p::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.1;
  position: absolute;
  top: -20px;
  left: -20px;
  font-family: serif;
}

.testimonial-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 3;
}

.program-tag {
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonial-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Clean Statistics Counter Section */
.stats-counter-section {
  padding: 5rem 0;
  background: var(--gradient-primary);
  color: white;
}

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

.stat-counter-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
}

.stat-counter-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-counter-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.stat-counter-card:hover .stat-counter-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.stat-counter-number {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.stat-counter-card:hover .stat-counter-number {
  transform: scale(1.1);
  color: #e0f2fe;
}

.stat-counter-label {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-counter-description {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.4;
}

/* Enhanced CTA Section */
.cta-section {
  padding: 5rem 0;
  background: var(--gradient-primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.cta-features {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.25rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.cta-feature span {
  font-weight: 500;
}

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

.cta-visual {
  position: relative;
}

.cta-illustration {
  position: relative;
  height: 300px;
}

.illustration-element {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  animation: float 4s ease-in-out infinite;
}

.element-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.element-2 {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 10%;
  animation-delay: 1.5s;
}

.element-3 {
  width: 60px;
  height: 60px;
  bottom: 10%;
  left: 40%;
  animation-delay: 3s;
}

/* Advanced Animation Classes */
.animate-in {
  animation: slideInUp 0.8s ease-out forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Simple Card Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Clean Card Hover Effects */
.feature-card.interactive {
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.feature-card.interactive:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.feature-card.interactive .card-icon {
  transition: all 0.3s ease;
}

.feature-card.interactive:hover .card-icon {
  transform: scale(1.1);
  color: var(--primary-color);
}


/* Enhanced Header Styles */
.site-header {
  background: var(--surface-color);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

/* Top Utility Bar */
.top-bar {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 0;
  font-size: 0.85rem;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.top-left, .top-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-left a {
  color: white;
  transition: color 0.3s ease;
}

.top-left a:hover {
  color: var(--accent-color);
}

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

.social-icons a {
  color: white;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: var(--accent-color);
}

/* Main Navigation Bar */
.main-nav-bar {
  padding: 1rem 0;
}

.main-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: rotate(-5deg);
}

/* Desktop Navigation */
.desktop-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.desktop-nav a {
  display: inline-block;
  color: var(--text-secondary);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: color 0.25s ease, transform 0.25s ease;
  position: relative;
}

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

.desktop-nav a.active {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

/* Modern underline indicator */
.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  opacity: 0.9;
}

.desktop-nav a:hover::after { transform: scaleX(1); }
.desktop-nav a.active::after { transform: scaleX(1); background: rgba(255,255,255,0.9); }

/* Notifications badge */
.notifications-link { position: relative; display: inline-flex; align-items: center; gap: 0.5rem; }
.notification-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #ef4444;
  color: #fff;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px var(--surface-color);
}

/* Auth Buttons */
.auth-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary, .btn-secondary {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

/* Mobile Navigation */
.hamburger, .close-btn {
  display: none;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 1002;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hamburger:hover, .close-btn:hover {
  background: rgba(0,0,0,0.06);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background: var(--surface-color);
  box-shadow: var(--shadow-lg);
  transition: left 0.3s ease;
  z-index: 1001;
  padding-top: 4rem;
}

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

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li a {
  display: block;
  padding: 1rem 2rem;
  color: var(--text-primary);
  font-weight: 600;
  transition: background 0.3s ease;
}

.mobile-nav li a:hover {
  background: var(--background-color);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1000;
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  border-top: 1px solid var(--border-color);
}

.bottom-bar-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.bottom-bar-btn:hover, .bottom-bar-btn.active {
  color: var(--primary-color);
}

.bottom-bar-btn i {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.bottom-bar-btn span {
  font-size: 0.75rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .desktop-nav, .auth-buttons {
    display: none;
  }
  
  .main-nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
  }
  
  .hamburger { order: 1; }
  .logo { order: 2; margin-left: auto !important; }
  .close-btn { order: 3; }

  .hamburger, .close-btn {
    display: block;
  }

  .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .mobile-bottom-bar {
    display: flex;
  }
}


/* Hero Section */
.hero {
  background: var(--gradient-primary);
  color: white;
  padding: 6rem 0;
}

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

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

.hero-image {
  text-align: center;
}

.hero-img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}



/* Stats Section */
.stats {
  background: var(--primary-color);
  color: white;
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.about-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}

/* Courses Section */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.course-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

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

.course-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.course-duration {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

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

.contact-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.contact-item h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.contact-item p {
  color: var(--text-secondary);
}

/* Registration Form Styles */
.registration-form {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.registration-form input,
.registration-form select {
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.registration-form input:focus,
.registration-form select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.registration-form input:invalid,
.registration-form select:invalid {
  border-color: #ef4444;
}

/* File Upload Styles */
.file-upload {
  position: relative;
}

.file-upload input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-area {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  background: var(--background-color);
  transition: all 0.3s ease;
  cursor: pointer;
}

.file-upload-area:hover {
  border-color: var(--primary-color);
  background: rgba(30, 58, 138, 0.02);
}

.file-upload-area i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: block;
}

.file-upload-area p {
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  color: var(--text-primary);
}

.file-upload-area span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Image Preview */
.image-preview {
  position: relative;
  display: inline-block;
  margin-top: 1rem;
}

.image-preview img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 3px solid var(--primary-color);
  box-shadow: var(--shadow);
}

.remove-image {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.remove-image:hover {
  background: #dc2626;
  transform: scale(1.1);
}

/* Password Strength */
.password-strength {
  margin-top: 0.5rem;
}

.strength-meter {
  width: 100%;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.strength-fill {
  height: 100%;
  width: 0%;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.strength-fill.weak {
  background: #ef4444;
  width: 33%;
}

.strength-fill.medium {
  background: #f59e0b;
  width: 66%;
}

.strength-fill.strong {
  background: #10b981;
  width: 100%;
}

#strengthText {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Terms Checkbox */
.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.terms-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  width: auto;
  accent-color: var(--primary-color);
}

.terms-checkbox label {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.terms-checkbox label a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.terms-checkbox label a:hover {
  text-decoration: underline;
}

/* Form Actions */
.form-actions {
  text-align: center;
  margin-top: 2rem;
}

.form-actions .btn-primary {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 200px;
  justify-content: center;
}

.login-link {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.login-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

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

/* Profile Page Styles */
.profile-header-section {
  background: var(--gradient-primary);
  color: white;
  padding: 4rem 0 2rem;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.profile-avatar-large {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.profile-info .profession {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.profile-info .location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.member-status .status-badge {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.profile-content-section {
  padding: 4rem 0;
  background: var(--background-color);
}

.profile-overview {
  max-width: 800px;
  margin: 0 auto;
}

.profile-overview h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
  font-size: 2rem;
}

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

.info-item {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.info-item label {
  display: block;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-item span {
  display: block;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Registration Page Styles */
.registration-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1e40af 100%);
  padding: 6rem 0 4rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.registration-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
}

.registration-hero .container {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.registration-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(45deg, #ffffff, #e0f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out;
}

.registration-hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  opacity: 0.95;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.feature-item span {
  font-weight: 600;
  font-size: 0.9rem;
}

.registration-section {
  padding: 4rem 0;
  background: var(--background-color);
}

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

.registration-header {
  text-align: center;
  margin-bottom: 3rem;
}

.registration-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.registration-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Benefits Section */
.benefits-section {
  padding: 4rem 0;
  background: white;
}

.benefits-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
  font-size: 2.5rem;
}

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

.benefit-card {
  background: var(--surface-color);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.benefit-card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.25rem;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Registration CTA */
.registration-cta {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: 2rem;
  border: 1px solid var(--border-color);
}

.registration-cta h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.registration-cta p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Responsive Design for Registration Form */
@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .registration-form {
    padding: 2rem 1.5rem;
  }

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

  .form-section h3 {
    font-size: 1.1rem;
  }

  .file-upload-area {
    padding: 1.5rem;
  }

  .file-upload-area i {
    font-size: 2.5rem;
  }

  /* Registration page responsive */
  .registration-hero h1 {
    font-size: 2.5rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit-card {
    padding: 2rem 1.5rem;
  }

  /* Profile responsive */
  .profile-header {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .profile-info h1 {
    font-size: 2rem;
  }

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

  .info-item {
    padding: 1.5rem;
  }
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

/* Auth Forms */
.auth-form {
  max-width: 500px;
  margin: 0 auto;
  background: var(--surface-color);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.auth-form h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

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

.auth-form input,
.auth-form select {
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
}

.auth-form p {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-secondary);
}

.auth-form a {
  color: var(--primary-color);
  font-weight: 600;
}

/* Card Layout Enhancements */

.feature-card.interactive {
  background: var(--surface-color);
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.interactive.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Card Content Layout */
.card-visual {
  text-align: center;
  margin-bottom: 2rem;
}

.card-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2.5rem;
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
  position: relative;
  transition: all 0.3s ease;
}

.card-pattern {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.card-content h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.card-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.card-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(37, 99, 235, 0.05));
  border-radius: 0.75rem;
  border: 1px solid rgba(30, 58, 138, 0.1);
  position: relative;
  z-index: 2;
}

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

.metric-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Loading Animation */
body {
  opacity: 1; /* Default to visible */
  transition: opacity 0.3s ease;
}

body.loaded {
  opacity: 1;
}

/* Hide body initially if JavaScript is enabled */
body.js-enabled {
  opacity: 0;
}

body.js-enabled.loaded {
  opacity: 1;
}

/* Enhanced hover effects */
.feature-card.interactive:hover .card-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover .quote-icon {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

/* Glassmorphism effects */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 1rem;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

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

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

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

  .cta-section .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .cta-visual {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-features {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-actions {
    flex-direction: column;
  }
}

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

.constituency-card {
  background: var(--surface-color);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.constituency-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.constituency-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.constituency-card ul {
  list-style: none;
  padding: 0;
}

.constituency-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.constituency-card li:last-child {
  border-bottom: none;
}

.initiatives-section {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
}

/* Jobs section */
.jobs-container {
  display: grid;
  gap: 2rem;
}

.filter-section, .job-listings, .submit-job-section {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
}

.filter-section h2, .job-listings h2, .submit-job-section h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.job-listings #job-listings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.job-card {
  background: var(--surface-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

.job-card p {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* Registration section */
.register-container {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.register-form-card {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.form-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.terms-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  width: auto;
}

.terms-checkbox label {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0;
}

.register-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* Members section */
.members-container {
  max-width: 1200px;
  margin: 0 auto;
}

.members-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

.member-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.member-avatar {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.member-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

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

.member-location {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.connect-btn {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.connect-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Authentication Forms */
.auth-container {
  max-width: 500px;
  margin: 0 auto;
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.auth-header {
  background: var(--gradient-primary);
  color: white;
  padding: 2rem;
  text-align: center;
}

.auth-header h2 {
  margin-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: 700;
}

.auth-form {
  padding: 2rem;
}

.auth-btn {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.auth-footer {
  text-align: center;
  padding: 1.5rem 2rem;
  background: var(--background-color);
  border-top: 1px solid var(--border-color);
}

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

/* Events Section */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.event-card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.event-date {
  background: var(--gradient-primary);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.day {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.month {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.event-content {
  padding: 1.5rem;
}

.event-content h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.25rem;
}

.event-location, .event-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.event-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Jobs Section */
.jobs-container {
  margin-top: 3rem;
}

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

.job-card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.job-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.25rem;
  flex: 1;
}

.job-type {
  background: var(--accent-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.job-company, .job-location {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.job-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.salary {
  color: var(--success-color);
  font-weight: 600;
}

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

.apply-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Leadership Section */
.leadership-structure {
  margin-top: 3rem;
}

.leadership-tier {
  margin-bottom: 4rem;
}

.leadership-tier h3 {
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-size: 1.5rem;
  text-align: center;
}

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

.leader-card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.leader-avatar {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.leader-card h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.leader-position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.leader-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Members Section */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.member-card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.member-avatar {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.member-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.member-profession, .member-location {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.active {
  background: var(--success-color);
  color: white;
}

/* Profile Section */
.profile-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.profile-header {
  background: var(--gradient-primary);
  color: white;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  backdrop-filter: blur(10px);
}

.profile-info h2 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  font-weight: 700;
}

.profile-info p {
  margin: 0;
  opacity: 0.9;
  font-size: 1.1rem;
}

.profile-content {
  padding: 2rem;
}

.profile-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.profile-nav-btn {
  background: none;
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.profile-nav-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

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

.profile-tab {
  display: none;
}

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

.profile-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--background-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

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

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

.recent-activity {
  margin-bottom: 2rem;
}

.recent-activity h3 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.activity-list {
  space-y: 1rem;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--background-color);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.activity-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 0.25rem;
}

.activity-content p {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
}

.activity-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.notifications-list {
  space-y: 1rem;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--background-color);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.notification-item:hover {
  background: var(--surface-color);
}

.notification-item.unread {
  border-left: 4px solid var(--primary-color);
  background: linear-gradient(90deg, rgba(30, 64, 175, 0.05) 0%, var(--background-color) 100%);
}

.notification-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 0.25rem;
}

.notification-content p {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
}

.notification-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.settings-form {
  max-width: 600px;
}

.settings-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.settings-section:last-child {
  border-bottom: none;
}

.settings-section h3 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.settings-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.settings-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Footer */
footer {
  background: var(--gradient-primary);
  color: white;
  margin-top: 4rem;
}

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

.footer-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: white;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Increase z-index so modals are above overlays (e.g. .nav-overlay at 9998) */
  z-index: 11000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  margin: 0;
  color: var(--text-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--background-color);
  color: var(--text-primary);
}

.modal-body {
  padding: 2rem;
}

/* About Page: Modern UI */
.about-hero {
  background: radial-gradient(1000px 500px at 10% -10%, rgba(59, 130, 246, 0.15), transparent),
              radial-gradient(800px 400px at 110% 10%, rgba(245, 158, 11, 0.1), transparent),
              var(--gradient-primary);
  color: white;
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), transparent 40%);
  pointer-events: none;
}

.about-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.about-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}

.about-hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.95;
  max-width: 800px;
  margin: 0.5rem auto 0;
}

/* Content Section */
.about-content-section {
  padding: 4rem 0 2rem;
  background: linear-gradient(180deg, rgba(30,58,138,0.03), transparent);
}

.about-header {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.about-title-section h2 {
  text-align: center;
}

.title-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  color: var(--accent-color);
}

.title-decoration .decoration-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.about-intro .intro-text {
  text-align: center;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0.5rem auto 0;
}

.about-content-grid {
  display: grid;
}

.content-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.content-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.content-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 58, 138, 0.25);
}

.content-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.content-card p {
  color: var(--text-secondary);
}

/* Mission & Vision */
.mission-vision-section {
  display: block !important;
  padding: 4rem 0;
  background: var(--surface-color);
}

.mission-vision-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.mission-card, .vision-card {
  background: linear-gradient(180deg, rgba(30,58,138,0.04), rgba(59,130,246,0.03));
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mission-card:hover, .vision-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.mission-card .card-icon, .vision-card .card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(30, 58, 138, 0.25);
}

/* Objectives */
.objectives-section {
  display: block !important;
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(245,158,11,0.04), transparent);
}

.objectives-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.objective-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.objective-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 158, 11, 0.3);
}

.objective-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-color), #fbbf24);
  color: white;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.25);
}

/* Structure */
.structure-section {
  display: block !important;
  padding: 4rem 0 5rem;
  background: var(--surface-color);
}

.structure-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.structure-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.structure-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.structure-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.35rem;
}

.structure-card p {
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.structure-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.35rem 0.75rem;
}

.structure-card li {
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  background: var(--background-color);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .about-hero { padding: 4.5rem 0 2.5rem; }
  .content-section { grid-template-columns: 1fr; }
  .mission-vision-grid, .objectives-grid, .structure-grid { grid-template-columns: 1fr; }
}

/* Admin Panel */
#admin-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background: var(--surface-color);
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

#admin-panel.active {
  transform: translateX(0);
}

.admin-header {
  background: var(--gradient-primary);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header h3 {
  margin: 0;
}

.admin-content {
  padding: 1.5rem;
}

.admin-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.admin-section:last-child {
  border-bottom: none;
}

.admin-section h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.pending-list {
  space-y: 1rem;
}

.pending-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--background-color);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.pending-item h5 {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
}

.pending-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.pending-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-small {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

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


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


  nav {
    order: 3;
    width: 100%;
    margin: 1rem 0 0 0;
  }

  nav ul {
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  nav li {
    width: 100%;
  }

  nav a {
    text-align: center;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin: 0.25rem 0;
    font-size: 1rem;
  }

  nav a:hover {
    background: rgba(30, 58, 138, 0.05);
    transform: none;
  }

  nav a.active {
    background: var(--gradient-primary);
    color: white;
    transform: none;
  }

  .auth-buttons {
    order: 2;
    gap: 0.5rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .mobile-menu-toggle {
    display: none; /* Hide mobile menu toggle since we're using responsive nav */
  }

  main {
    padding: 1rem;
  }

  section {
    padding: 1.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .dashboard-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Enhanced mobile card layouts */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .feature-card.interactive {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
  }

  .feature-card.interactive:hover {
    transform: translateY(-10px) scale(1.02);
  }

  .card-icon {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }

  .card-pattern {
    width: 130px;
    height: 130px;
  }

  .card-content h3 {
    font-size: 1.5rem;
  }

  .metric-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .feature-card.interactive {
    padding: 1.5rem 1rem;
  }

  .card-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .card-content h3 {
    font-size: 1.25rem;
  }

  .card-content p {
    font-size: 0.9rem;
  }

  .metric-number {
    font-size: 2rem;
  }
}

/* Quick Links Section Styles */
.quick-links {
  background: var(--background-color);
  padding: 4rem 0;
}

.quick-links h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.quick-links h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

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

.link-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  text-decoration: none;
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpLink 0.8s ease-out forwards;
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-card:nth-child(4) { animation-delay: 0.4s; }
.link-card:nth-child(5) { animation-delay: 0.5s; }
.link-card:nth-child(6) { animation-delay: 0.6s; }

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.link-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.link-card:hover .link-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

.link-card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.25rem;
}

.link-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

@keyframes fadeInUpLink {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Page Styles */
.about-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Mission & Vision Section */
.mission-vision-section {
  display: block !important;
  padding: 5rem 0;
  background: var(--background-color);
}

.mission-vision-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.mission-vision-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.mission-card, .vision-card {
  background: var(--surface-color);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpAbout 0.8s ease-out forwards;
}

.mission-card::before, .vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.vision-card::before {
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.mission-card:hover, .vision-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.mission-card .card-icon, .vision-card .card-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2.5rem;
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
}

.vision-card .card-icon {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.mission-card:hover .card-icon, .vision-card:hover .card-icon {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(30, 58, 138, 0.4);
}

.mission-card h3, .vision-card h3 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-size: 1.5rem;
}

.mission-card p, .vision-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
}

/* Objectives Section */
.objectives-section {
  display: block !important;
  padding: 5rem 0;
  background: white;
}

.objectives-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.objectives-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

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

.objective-card {
  background: var(--surface-color);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpAbout 0.8s ease-out forwards;
}

.objective-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.objective-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
}

.objective-card:hover .objective-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

.objective-card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.25rem;
}

.objective-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Structure Section */
.structure-section {
  display: block !important;
  padding: 5rem 0;
  background: var(--background-color);
}

.structure-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.structure-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

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

.structure-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpAbout 0.8s ease-out forwards;
}

.structure-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.structure-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.structure-card h3::before {
  content: '🏛️';
  font-size: 1.2rem;
}

.structure-card p {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.structure-card ul {
  list-style: none;
  padding: 0;
}

.structure-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.structure-card li:last-child {
  border-bottom: none;
}

/* Animation Classes */
.animate-in {
  animation: fadeInUpAbout 0.8s ease-out forwards;
}

.mission-card:nth-child(1), .vision-card:nth-child(1) {
  animation-delay: 0.1s;
  opacity: 1;
  transform: translateY(0);
}

.mission-card:nth-child(2), .vision-card:nth-child(2) {
  animation-delay: 0.3s;
  opacity: 1;
  transform: translateY(0);
}

.objective-card:nth-child(1) { animation-delay: 0.1s; opacity: 1; transform: translateY(0); }
.objective-card:nth-child(2) { animation-delay: 0.2s; opacity: 1; transform: translateY(0); }
.objective-card:nth-child(3) { animation-delay: 0.3s; opacity: 1; transform: translateY(0); }
.objective-card:nth-child(4) { animation-delay: 0.4s; opacity: 1; transform: translateY(0); }

.structure-card:nth-child(1) { animation-delay: 0.1s; opacity: 1; transform: translateY(0); }
.structure-card:nth-child(2) { animation-delay: 0.2s; opacity: 1; transform: translateY(0); }
.structure-card:nth-child(3) { animation-delay: 0.3s; opacity: 1; transform: translateY(0); }
.structure-card:nth-child(4) { animation-delay: 0.4s; opacity: 1; transform: translateY(0); }

@keyframes fadeInUpAbout {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive for About Page */
@media (max-width: 768px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
  .link-card {
    padding: 1.5rem;
  }
  .link-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-card, .vision-card {
    padding: 2rem 1.5rem;
  }

  .card-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .objectives-grid, .structure-grid {
    grid-template-columns: 1fr;
  }

  .objective-card, .structure-card {
    padding: 2rem 1.5rem;
  }

  .objective-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
}

/* Members Page Styles */
.members-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.members-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.members-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Constituency Filter Section */
.filter-section {
  padding: 4rem 0;
  background: var(--background-color);
}

.filter-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #000000 !important;
  position: relative;
}

.filter-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.constituency-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-color);
  background: white;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  color: #000000 !important;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
  z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
  left: 0;
}

.filter-btn:hover,
.filter-btn.active {
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Constituency Cards Section */
.constituency-section {
  padding: 5rem 0;
  background: white;
}

.constituency-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.constituency-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

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

.constituency-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.constituency-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.constituency-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.constituency-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.constituency-card h3::before {
  content: '🏛️';
  font-size: 1.2rem;
}

.constituency-card p {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.wards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.ward-tag {
  background: var(--background-color);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.ward-tag:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

.member-count {
  background: var(--gradient-primary);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-align: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Featured Members Section */
.featured-members {
  padding: 5rem 0;
  background: var(--background-color);
}

.featured-members h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.featured-members h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

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

.member-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.member-avatar {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
}

.member-card:hover .member-avatar {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

.member-card h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 1.2rem;
}

.member-profession {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.member-location {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.member-card .btn-primary {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.member-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Join Section */
.join-section {
  padding: 5rem 0;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.join-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.join-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.join-section .btn-primary {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Animation Classes for Members Page */
.animate-in {
  animation: fadeInUpMembers 0.8s ease-out forwards;
}

.constituency-card:nth-child(1) { animation-delay: 0.1s; }
.constituency-card:nth-child(2) { animation-delay: 0.2s; }
.constituency-card:nth-child(3) { animation-delay: 0.3s; }
.constituency-card:nth-child(4) { animation-delay: 0.4s; }

.member-card:nth-child(1) { animation-delay: 0.1s; }
.member-card:nth-child(2) { animation-delay: 0.2s; }
.member-card:nth-child(3) { animation-delay: 0.3s; }
.member-card:nth-child(4) { animation-delay: 0.4s; }
.member-card:nth-child(5) { animation-delay: 0.5s; }
.member-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUpMembers {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive for Members Page */
@media (max-width: 768px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
  .link-card {
    padding: 1.5rem;
  }
  .link-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .members-hero h1 {
    font-size: 2.5rem;
  }

  .constituency-filter {
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    width: 100%;
    max-width: 300px;
  }

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

  .constituency-card, .member-card {
    padding: 1.5rem;
  }

  .wards-list {
    justify-content: center;
  }

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

/* Leadership Page Styles */
.leadership-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.leadership-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="leadership-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="30" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23leadership-pattern)"/></svg>');
    opacity: 0.1;
}

.leadership-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.leadership-hero .hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-weight: 300;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .leadership-hero {
        padding: 4rem 0 3rem;
    }

    .leadership-hero .hero-title {
        font-size: 2.5rem;
    }

    .leadership-hero .hero-subtitle {
        font-size: 1.1rem;
        max-width: 90%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .stat-item {
        padding: 0.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .leader-card {
        padding: 1.5rem;
    }

    .leader-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .leader-name {
        font-size: 1.3rem;
    }

    .path-card {
        padding: 2rem;
    }

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

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

    .ward-responsibilities {
        grid-template-columns: 1fr;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Loading States */
.loading-card {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Leader Cards */
.leader-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.leader-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.leader-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    border: 3px solid rgba(255,255,255,0.9);
    margin-right: 1rem;
}

.leader-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.leader-position-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.leader-card-body {
    text-align: center;
}

.leader-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.leader-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.leader-profession {
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
}

.leader-bio {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(0,0,0,0.02);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.leader-contacts {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 25px;
    font-size: 0.85rem;
    color: var(--primary-color);
    border: 1px solid rgba(30, 58, 138, 0.2);
}

.admin-actions {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.btn-edit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

/* Ward Info Card */
.ward-info-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.8);
}

.ward-info-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.ward-responsibilities {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.ward-responsibilities li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.8);
}

.ward-responsibilities li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.ward-responsibilities li strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

/* Path Cards */
.path-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.path-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.path-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.path-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.path-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.path-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.path-card li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.path-card li i {
    color: #10b981;
    font-size: 0.8rem;
}

/* CTA Button */
.cta-container {
    text-align: center;
    margin-top: 3rem;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

/* Application Form */
.application-header {
    text-align: center;
    margin-bottom: 3rem;
}

.application-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.application-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.application-form-container {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.8);
}

.modern-form {
    max-width: none;
}

.form-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.section-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.section-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

.form-section h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* County Leadership Section */
.county-leadership {
  padding: 5rem 0;
  background: var(--background-color);
}

.county-leadership h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  position: relative;
}

.county-leadership h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.county-leadership > .container > p {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.leader-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.leader-avatar {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
}

.leader-card:hover .leader-avatar {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

.leader-card h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.leader-name {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.leader-position {
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.leader-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.leader-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--background-color);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.leader-contact i {
  color: var(--primary-color);
}

/* Constituency Leadership Section */
.constituency-leadership {
  padding: 5rem 0;
  background: white;
}

.constituency-leadership h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  position: relative;
}

.constituency-leadership h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.constituency-leadership > .container > p {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.constituency-leader-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.constituency-leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.constituency-leader-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.constituency-leader-card h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.constituency-leader-card h4::before {
  content: '🏛️';
  font-size: 1.2rem;
}

.constituency-leader-card p {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.constituency-leader-card p strong {
  color: var(--primary-color);
  font-weight: 600;
}

.constituency-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--background-color);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  margin-top: 1rem;
}

.constituency-contact i {
  color: var(--primary-color);
}

/* Ward Leadership Section */
.ward-leadership {
  padding: 5rem 0;
  background: var(--background-color);
}

.ward-leadership h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  position: relative;
}

.ward-leadership h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.ward-leadership > .container > p {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ward-structure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.ward-info, .ward-example {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.ward-info h3, .ward-example h3 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-size: 1.25rem;
}

.ward-info p, .ward-example p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.ward-info ul {
  list-style: none;
  padding: 0;
}

.ward-info li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.ward-info li:last-child {
  border-bottom: none;
}

.ward-info li strong {
  color: var(--primary-color);
}

.ward-leaders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.ward-leader {
  background: var(--background-color);
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.ward-leader:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}

.ward-leader h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 1rem;
}

.ward-leader p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

/* Join Leadership Section */
.join-leadership {
  padding: 5rem 0;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.join-leadership h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.join-leadership p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.path-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.path-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
}

.path-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.path-card h4 {
  margin-bottom: 1rem;
  color: white;
  font-size: 1.25rem;
}

.path-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.path-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.path-card li {
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.path-card li:last-child {
  border-bottom: none;
}

.join-leadership .btn-primary {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Animation Classes for Leadership Page */
.animate-in {
  animation: fadeInUpLeadership 0.8s ease-out forwards;
}

.leader-card:nth-child(1) { animation-delay: 0.1s; }
.leader-card:nth-child(2) { animation-delay: 0.2s; }
.leader-card:nth-child(3) { animation-delay: 0.3s; }
.leader-card:nth-child(4) { animation-delay: 0.4s; }

.constituency-leader-card:nth-child(1) { animation-delay: 0.1s; }
.constituency-leader-card:nth-child(2) { animation-delay: 0.2s; }
.constituency-leader-card:nth-child(3) { animation-delay: 0.3s; }
.constituency-leader-card:nth-child(4) { animation-delay: 0.4s; }

.path-card:nth-child(1) { animation-delay: 0.1s; }
.path-card:nth-child(2) { animation-delay: 0.2s; }
.path-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUpLeadership {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive for Leadership Page */
@media (max-width: 768px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
.link-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  text-decoration: none;
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpLink 0.8s ease-out forwards;
}

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

/* Special styling for About Us link - remove card background and add hover effects */
.link-card[href*="about.php"] {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 1rem;
  transform: none;
  opacity: 1;
  animation: none;
}

.link-card[href*="about.php"]:hover {
  background: rgba(30, 58, 138, 0.05);
  transform: none;
  box-shadow: none;
  border: 1px solid var(--primary-color);
}

.link-card[href*="about.php"]:active {
  background: rgba(30, 58, 138, 0.1);
  transform: scale(0.98);
}

  .leader-avatar {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .ward-structure {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .leadership-paths {
    grid-template-columns: 1fr;
  }

  .path-card {
    padding: 1.5rem;
  }

  .join-leadership h2 {
    font-size: 2rem;
  }
}

/* Jobs Page Styles */
.jobs-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.jobs-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.jobs-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Job Search Section */
.job-search {
  padding: 4rem 0;
  background: var(--background-color);
}

.job-search .container {
  max-width: 800px;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.search-form input,
.search-form select {
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-form input:focus,
.search-form select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.search-form .btn-primary {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Job Listings Section */
.job-listings {
  padding: 5rem 0;
  background: white;
}

.job-listings h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.job-listings h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

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

.job-card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

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

.job-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.25rem;
  flex: 1;
}

.job-type {
  background: var(--accent-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 1rem;
}

.job-company,
.job-location {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-company i,
.job-location i {
  color: var(--primary-color);
  font-size: 1rem;
}

.job-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.job-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.salary {
  color: var(--success-color);
  font-weight: 600;
  font-size: 1rem;
}

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

.job-card .btn-primary {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.job-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Post Job Section */
.post-job {
  padding: 5rem 0;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.post-job h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.post-job p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.post-job .btn-primary {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.post-job .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Animation Classes for Jobs Page */
.animate-in {
  animation: fadeInUpJobs 0.8s ease-out forwards;
}

.job-card:nth-child(1) { animation-delay: 0.1s; }
.job-card:nth-child(2) { animation-delay: 0.2s; }
.job-card:nth-child(3) { animation-delay: 0.3s; }
.job-card:nth-child(4) { animation-delay: 0.4s; }
.job-card:nth-child(5) { animation-delay: 0.5s; }
.job-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUpJobs {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Job Card Hover Effects */
.job-card:hover .job-type {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.job-card:hover .job-company i,
.job-card:hover .job-location i {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Responsive for Jobs Page */
@media (max-width: 768px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
  .link-card {
    padding: 1.5rem;
  }
  .link-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .jobs-hero h1 {
    font-size: 2.5rem;
  }

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

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

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

  .job-card {
    padding: 1.5rem;
  }

  .job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .job-type {
    align-self: flex-start;
    margin-left: 0;
  }

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

  .post-job h2 {
    font-size: 2rem;
  }
}

/* Contact Page Styles */
.contact-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.contact-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.contact-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Information Section */
.contact-info-section {
  padding: 5rem 0;
  background: var(--background-color);
}

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

.contact-info h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.contact-info h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary-color);
  background: var(--gradient-primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
}

.contact-item:hover i {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

.contact-item h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 1.25rem;
}

.contact-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.social-media {
  margin-top: 2rem;
}

.social-media h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

.social-link {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

/* Contact Form Section */
.contact-form-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.contact-form-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.contact-form {
  background: var(--surface-color);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.contact-form .btn-primary {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Registration CTA */
.registration-cta {
  background: var(--gradient-primary);
  color: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.registration-cta h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.registration-cta p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.registration-cta .btn-primary {
  background: white;
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.registration-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Constituency Contacts Section */
.constituency-contacts {
  padding: 5rem 0;
  background: white;
}

.constituency-contacts h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  position: relative;
}

.constituency-contacts h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.constituency-contacts > .container > p {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.constituency-contact-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.constituency-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.constituency-contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.constituency-contact-card h4 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.constituency-contact-card h4::before {
  content: '🏛️';
  font-size: 1.2rem;
}

.constituency-contact-card p {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.constituency-contact-card p strong {
  color: var(--primary-color);
  font-weight: 600;
}

.constituency-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--background-color);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  margin-top: 1rem;
}

.constituency-contact i {
  color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background: var(--background-color);
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.faq-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

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

.faq-item {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.faq-item h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.faq-item h4::before {
  content: '❓';
  font-size: 1.2rem;
  flex-shrink: 0;
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

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

.map-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.map-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-color);
}

/* Animation Classes for Contact Page */
.animate-in {
  animation: fadeInUpContact 0.8s ease-out forwards;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }

.constituency-contact-card:nth-child(1) { animation-delay: 0.1s; }
.constituency-contact-card:nth-child(2) { animation-delay: 0.2s; }
.constituency-contact-card:nth-child(3) { animation-delay: 0.3s; }
.constituency-contact-card:nth-child(4) { animation-delay: 0.4s; }

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUpContact {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive for Contact Page */
@media (max-width: 768px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
  .link-card {
    padding: 1.5rem;
  }
  .link-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .contact-hero h1 {
    font-size: 2.5rem;
  }

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

  .contact-item {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .contact-item i {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .constituency-grid, .faq-grid {
    grid-template-columns: 1fr;
  }

  .constituency-contact-card, .faq-item {
    padding: 1.5rem;
  }

  .social-links {
    justify-content: center;
  }
}

/* Register Page Styles */
.registration-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.registration-hero .container {
  max-width: 1000px;
}

.registration-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.registration-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 1.25rem 2rem;
  border-radius: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.feature-item:hover::before {
  left: 100%;
}

.feature-item:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-item i {
  font-size: 1.75rem;
  color: #10b981;
  transition: transform 0.3s ease;
}

.feature-item:hover i {
  transform: scale(1.2) rotate(5deg);
}

.feature-item span {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.025em;
}

/* Registration Form Section */
.registration-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--background-color) 0%, rgba(30, 58, 138, 0.02) 100%);
  position: relative;
}

.registration-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(30, 58, 138, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.registration-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

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

.registration-header h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

.registration-header h2::before {
  content: '📝';
  font-size: 2rem;
}

.registration-header h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 3px;
}

.registration-header p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.registration-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 3rem 2.5rem;
  border-radius: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.registration-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.form-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  position: relative;
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section h3 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.form-section h3::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-color);
  border-radius: 50%;
  flex-shrink: 0;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  position: relative;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.025em;
}

.registration-form input,
.registration-form select {
  padding: 1rem 1.25rem;
  border: 2px solid rgba(226, 232, 240, 0.8);
  border-radius: 1rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.registration-form input::placeholder,
.registration-form select::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.registration-form input:focus,
.registration-form select:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1), 0 8px 25px rgba(30, 58, 138, 0.15);
  transform: translateY(-2px);
}

.registration-form input:invalid,
.registration-form select:invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* File Upload Styles */
.file-upload {
  position: relative;
  border: 2px dashed rgba(30, 58, 138, 0.3);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 250, 252, 0.6));
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  overflow: hidden;
}

.file-upload::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.1), transparent);
  transition: left 0.6s;
}

.file-upload:hover::before {
  left: 100%;
}

.file-upload:hover {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(59, 130, 246, 0.05));
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.15);
}

.file-upload.dragover {
  border-color: var(--success-color);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
  transform: scale(1.02);
}

.file-upload input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-area {
  color: var(--text-secondary);
  position: relative;
  z-index: 3;
}

.file-upload-area i {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  display: block;
  transition: transform 0.3s ease;
}

.file-upload:hover .file-upload-area i {
  transform: scale(1.1) rotate(5deg);
}

.file-upload-area p {
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.file-upload-area span {
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(30, 58, 138, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  display: inline-block;
}

/* Image Preview */
.image-preview {
  position: relative;
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.image-preview:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.image-preview img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 1rem;
  border: 3px solid rgba(30, 58, 138, 0.2);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.1);
  transition: all 0.3s ease;
}

.image-preview:hover img {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.remove-image {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
}

.remove-image:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.remove-image:active {
  transform: scale(0.95) rotate(90deg);
}

/* Password Strength */
.password-strength {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(30, 58, 138, 0.03);
  border-radius: 1rem;
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.strength-meter {
  height: 10px;
  background: rgba(226, 232, 240, 0.5);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  position: relative;
}

.strength-meter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
  border-radius: 5px;
}

.strength-fill {
  height: 100%;
  width: 0%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 5px;
  position: relative;
  z-index: 1;
}

.strength-fill.weak {
  background: linear-gradient(90deg, #ef4444, #dc2626);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.strength-fill.medium {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.strength-fill.strong {
  background: linear-gradient(90deg, #10b981, #059669);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.strength-fill.strong {
  background: #10b981;
  width: 100%;
}

#strengthText {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Terms Checkbox */
.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(30, 58, 138, 0.03);
  border-radius: 1rem;
  border: 1px solid rgba(30, 58, 138, 0.1);
  transition: all 0.3s ease;
}

.terms-checkbox:hover {
  background: rgba(30, 58, 138, 0.05);
  border-color: rgba(30, 58, 138, 0.2);
}

.terms-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  border-radius: 4px;
  cursor: pointer;
}

.terms-checkbox label {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
  flex: 1;
}

.terms-checkbox label a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
}

.terms-checkbox label a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.terms-checkbox label a:hover::after {
  width: 100%;
}

.terms-checkbox label a:hover {
  color: var(--secondary-color);
  transform: translateY(-1px);
}

/* Form Actions */
.form-actions {
  text-align: center;
  margin-top: 3rem;
  position: relative;
}

.form-actions .btn-primary {
  padding: 1.25rem 3rem;
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 250px;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 1.5rem;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-actions .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.form-actions .btn-primary:hover::before {
  left: 100%;
}

.form-actions .btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(30, 58, 138, 0.4);
  background: linear-gradient(135deg, #1e40af, #2563eb);
}

.form-actions .btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.login-link {
  margin-top: 2rem;
  text-align: center;
  padding: 1.5rem;
  background: rgba(30, 58, 138, 0.05);
  border-radius: 1rem;
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.login-link p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.login-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
}

.login-link a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.login-link a:hover::after {
  width: 100%;
}

.login-link a:hover {
  color: var(--secondary-color);
  transform: translateY(-1px);
}

/* Benefits Section */
.benefits-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #ffffff 0%, rgba(248, 250, 252, 0.8) 100%);
  position: relative;
  overflow: hidden;
}

.benefits-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(30, 58, 138, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.benefits-section h2 {
  text-align: center;
  margin-bottom: 4rem;
  color: var(--text-primary);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.benefits-section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 3px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 3rem 2.5rem;
  border-radius: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUpRegister 0.8s ease-out forwards;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2rem 2rem 0 0;
}

.benefit-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(30, 58, 138, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
  animation: rotate 20s linear infinite;
}

.benefit-card:hover::after {
  opacity: 1;
}

.benefit-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  border-color: rgba(30, 58, 138, 0.2);
}

.benefit-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2.5rem;
  box-shadow: 0 12px 30px rgba(30, 58, 138, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 3;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.4);
}

.benefit-card h3 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 700;
  position: relative;
  z-index: 3;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
  position: relative;
  z-index: 3;
}

/* Animation Classes for Register Page */
.animate-in {
  animation: fadeInUpRegister 0.8s ease-out forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUpRegister {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive for Register Page */
@media (max-width: 768px) {
  .registration-hero {
    padding: 4rem 0 3rem;
  }

  .registration-hero h1 {
    font-size: clamp(2rem, 6vw, 2.8rem);
    margin-bottom: 1.5rem;
  }

  .registration-hero p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 2rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .feature-item {
    padding: 1rem 1.5rem;
    border-radius: 2rem;
  }

  .registration-section {
    padding: 4rem 0;
  }

  .registration-form {
    padding: 4rem 2rem;
    border-radius: 1.5rem;
  }

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

  .form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .benefits-section {
    padding: 4rem 0;
  }

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

  .benefit-card {
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
  }

  .benefit-icon {
    width: 75px;
    height: 75px;
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .registration-hero {
    padding: 3rem 0 2rem;
  }

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

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

  .hero-features {
    gap: 1rem;
  }

  .feature-item {
    padding: 0.875rem 1.25rem;
  }

  .feature-item i {
    font-size: 1.5rem;
  }

  .feature-item span {
    font-size: 0.9rem;
  }

  .registration-form {
    padding: 2rem 1.5rem;
  }

  .benefit-card {
    padding: 2rem 1.5rem;
  }

  .benefit-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
}

/* Login Page Styles */
.login-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.login-hero .container {
  max-width: 1000px;
}

.login-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.login-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

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

.feature-item span {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Login Form Section */
.login-section {
  padding: 5rem 0;
  background: var(--background-color);
}

.login-container {
  max-width: 500px;
  margin: 0 auto;
}

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

.login-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.login-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.login-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto;
}

.login-form {
  background: var(--surface-color);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.login-form input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.login-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.login-form input:invalid {
  border-color: #ef4444;
}

/* Password Input Container */
.password-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-container input {
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 58, 138, 0.2);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.password-toggle:hover {
  color: var(--primary-color);
  background: rgba(30, 58, 138, 0.1);
  border-color: var(--primary-color);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.password-toggle:active {
  transform: scale(0.95);
}

/* Form Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--primary-color);
}

.forgot-password {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

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

/* Form Actions */
.form-actions {
  text-align: center;
  margin-top: 2rem;
}

.form-actions .btn-primary {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  transition: all 0.3s ease;
}

.form-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.register-link {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.register-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.register-link a:hover {
  text-decoration: underline;
}

/* Social Login */
.social-login {
  margin-top: 2rem;
  text-align: center;
}

.divider {
  position: relative;
  margin: 2rem 0;
  text-align: center;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
}

.divider span {
  background: var(--surface-color);
  padding: 0 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

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

.social-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: white;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.google-btn {
  border-color: #ea4335;
  color: #ea4335;
}

.google-btn:hover {
  background: #ea4335;
  color: white;
  border-color: #ea4335;
}

.facebook-btn {
  border-color: #1877f2;
  color: #1877f2;
}

.facebook-btn:hover {
  background: #1877f2;
  color: white;
  border-color: #1877f2;
}



/* Animation Classes for Login Page */
.animate-in {
  animation: fadeInUpLogin 0.8s ease-out forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUpLogin {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive for Login Page */
@media (max-width: 768px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
  .link-card {
    padding: 1.5rem;
  }
  .link-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .login-hero h1 {
    font-size: 2.5rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }

  .login-form {
    padding: 2rem 1.5rem;
  }

  .social-buttons {
    flex-direction: column;
  }

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

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .card-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
}

/* Profile Page Enhancements */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.info-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.info-card .card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
}

.info-card:hover .card-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

.profile-info-container {
  background: linear-gradient(135deg, var(--surface-color) 0%, rgba(30, 58, 138, 0.02) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.info-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.info-card.featured {
  background: linear-gradient(135deg, var(--surface-color) 0%, rgba(30, 58, 138, 0.05) 100%);
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.15);
}

.info-card.featured::before {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.info-card .card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
}

.info-card .card-icon.primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.info-card:hover .card-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

.info-card .card-content {
  flex: 1;
}

.info-card label {
  display: block;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-card .info-value {
  display: block;
  color: #000000;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}

.info-card.featured .info-value {
  color: var(--primary-color);
  font-size: 1.3rem;
}

/* Profile Actions */
.profile-actions {
  margin-top: 4rem;
}

.profile-actions h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.profile-actions h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.actions-container {
  background: linear-gradient(135deg, var(--surface-color) 0%, rgba(245, 158, 11, 0.02) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.action-card {
  background: var(--surface-color);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 140px;
}

.action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.action-card.primary::before {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.action-card.success::before {
  background: linear-gradient(90deg, #10b981, #059669);
}

.action-card.warning::before {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.action-card.info::before {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.action-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
  text-decoration: none;
}

.action-card .action-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.action-card.primary .action-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.action-card.success .action-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.action-card.warning .action-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.action-card.info .action-icon {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.action-card:hover .action-icon {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

.action-card .action-content {
  flex: 1;
  text-align: left;
}

.action-card h3 {
  margin-bottom: 0.75rem;
  color: #000000;
  font-size: 1.3rem;
  font-weight: 600;
}

.action-card p {
  color: #000000;
  line-height: 1.5;
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
}

.action-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
}

.action-card.primary .action-badge {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.action-card.success .action-badge {
  background: linear-gradient(135deg, #10b981, #059669);
}

.action-card.warning .action-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.action-card.info .action-badge {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

/* Animation Classes for Profile Page */
.animate-in {
  animation: fadeInUpProfile 0.8s ease-out forwards;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }
.info-card:nth-child(4) { animation-delay: 0.4s; }
.info-card:nth-child(5) { animation-delay: 0.5s; }
.info-card:nth-child(6) { animation-delay: 0.6s; }

.action-card:nth-child(1) { animation-delay: 0.1s; }
.action-card:nth-child(2) { animation-delay: 0.2s; }
.action-card:nth-child(3) { animation-delay: 0.3s; }
.action-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUpProfile {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Jobs Page Styles */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-title i {
  font-size: 2rem;
  color: var(--primary-color);
  background: var(--gradient-primary);
  padding: 0.75rem;
  border-radius: 50%;
  color: white;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.section-title h2 {
  margin: 0;
  font-size: 2.5rem;
  color: var(--text-primary);
  font-weight: 700;
}

.section-subtitle {
  margin-top: 0.5rem;
}

.section-subtitle p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-style: italic;
}

.job-card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.job-card.expired {
  opacity: 0.7;
  border-color: #ef4444;
}

.job-card.expired::before {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

.expired-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #ef4444;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

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

.job-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.25rem;
  flex: 1;
}

.job-type {
  background: var(--accent-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 1rem;
}

.job-company,
.job-location {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-company i,
.job-location i {
  color: var(--primary-color);
  font-size: 1rem;
}

.job-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.job-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.salary {
  color: var(--success-color);
  font-weight: 600;
  font-size: 1rem;
}

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

.job-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.job-card .btn-primary {
  width: auto;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.job-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Job Form Styles */
.job-form {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.job-form h3 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.job-form h3::before {
  content: '💼';
  font-size: 1.5rem;
}

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

.job-form input,
.job-form select,
.job-form textarea {
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.job-form input:focus,
.job-form select:focus,
.job-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.job-form textarea {
  height: 120px;
  resize: vertical;
}

.job-form .form-actions {
  text-align: center;
  margin-top: 2rem;
}

.job-form .btn-primary {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 200px;
  justify-content: center;
}

/* Application Form Styles */
.application-form {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  margin-top: 2rem;
}

.application-form h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.application-form h3::before {
  content: '📝';
  font-size: 1.2rem;
}

.application-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  resize: vertical;
  min-height: 100px;
}

.application-form .form-actions {
  text-align: center;
}

.application-form .btn-primary {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Admin Controls */
.admin-controls {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-edit,
.btn-delete {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.btn-edit:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-delete {
  background: #ef4444;
  color: white;
}

.btn-delete:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* Search and Filter */
.job-search {
  background: var(--background-color);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-color);
}

.search-form {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
}

.search-form input {
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.search-form .btn-primary {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Animation Classes for Jobs Page */
.animate-in {
  animation: fadeInUpJobs 0.8s ease-out forwards;
}

.job-card:nth-child(1) { animation-delay: 0.1s; }
.job-card:nth-child(2) { animation-delay: 0.2s; }
.job-card:nth-child(3) { animation-delay: 0.3s; }
.job-card:nth-child(4) { animation-delay: 0.4s; }
.job-card:nth-child(5) { animation-delay: 0.5s; }
.job-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUpJobs {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive for Jobs Page */
@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

  .job-card {
    padding: 1.5rem;
  }

  .job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .job-type {
    align-self: flex-start;
    margin-left: 0;
  }

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

  .job-actions {
    justify-content: center;
  }

  .job-form {
    padding: 2rem 1.5rem;
  }

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

  .application-form {
    padding: 1.5rem;
  }

  .admin-controls {
    flex-direction: column;
  }

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

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

/* User Authentication Styles */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-greeting {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

.auth-buttons .btn-secondary {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

/* Responsive for Profile Page */
@media (max-width: 768px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
  .link-card {
    padding: 1.5rem;
  }
  .link-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .profile-header-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

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

  .info-card {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .info-card .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

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

  .action-card {
    padding: 1.5rem;
  }

  .action-card .action-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .auth-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .user-greeting {
    font-size: 0.8rem;
    text-align: center;
  }
}

/* Profile Enhancements */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

/* Profile Completion Indicator */
.profile-completion {
    margin-top: 1rem;
}

.completion-text {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.completion-bar {
    width: 200px;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.completion-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Verified Badge */
.status-badge.verified {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Achievements Section */
.achievements-section {
    margin-bottom: 4rem;
}

.achievements-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
}

.achievements-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

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

.achievement-card {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.achievement-card.earned {
    border-color: var(--success-color);
}

.achievement-card.earned::before {
    background: linear-gradient(90deg, var(--success-color), #059669);
}

.achievement-card.locked {
    opacity: 0.7;
    border-color: var(--border-color);
}

.achievement-card.locked::before {
    background: var(--border-color);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
}

.achievement-card.earned .achievement-icon {
    background: linear-gradient(135deg, var(--success-color), #059669);
}

.achievement-card.locked .achievement-icon {
    background: var(--border-color);
    color: var(--text-muted);
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

.achievement-content {
    flex: 1;
}

.achievement-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.achievement-content p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.achievement-date {
    font-size: 0.8rem;
    color: var(--success-color);
    font-weight: 600;
}

.achievement-progress {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Skills & Interests Section */
.skills-section {
    margin-bottom: 4rem;
}

.skills-container {
    background: linear-gradient(135deg, var(--surface-color) 0%, rgba(30, 58, 138, 0.02) 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.skills-category {
    margin-bottom: 2.5rem;
}

.skills-category:last-child {
    margin-bottom: 0;
}

.skills-category h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skills-category h3::before {
    content: '⚡';
    font-size: 1.2rem;
}

.skill-tags, .interest-tags, .language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag, .interest-tag, .language-tag {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
}

.skill-tag:hover, .interest-tag:hover, .language-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.skill-level, .language-level {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.interest-tag {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

/* Enhanced Action Cards */
.action-card .action-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
    align-self: flex-start;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.action-card:hover .action-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.action-card.primary .action-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.action-card.success .action-badge {
    background: linear-gradient(135deg, #10b981, #059669);
}

.action-card.warning .action-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.action-card.info .action-badge {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

/* Perfect Card Hover Effects */
.info-card, .action-card, .achievement-card, .stat-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover, .action-card:hover, .achievement-card:hover, .stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.info-card:hover .card-icon, .action-card:hover .action-icon, .achievement-card:hover .achievement-icon, .stat-card:hover .stat-icon {
    transform: scale(1.1);
}

/* Smooth Focus States */
button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* Perfect Button States */
.btn-primary:active, .btn-secondary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Enhanced Modal Animations */
.modal-content {
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Perfect Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced Notification Animations */
@keyframes notificationSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification-card {
    animation: notificationSlideIn 0.5s ease-out forwards;
}

/* Perfect Loading States */
.btn-primary.loading, .btn-secondary.loading {
    position: relative;
    color: transparent !important;
}

.btn-primary.loading::after, .btn-secondary.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-title i {
  font-size: 2rem;
  color: var(--primary-color);
  background: var(--gradient-primary);
  padding: 0.75rem;
  border-radius: 50%;
  color: white;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.section-title h2 {
  margin: 0;
  font-size: 2.5rem;
  color: var(--text-primary);
  font-weight: 700;
}

.section-subtitle {
  margin-top: 0.5rem;
}

.section-subtitle p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-style: italic;
}

.section-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.edit-profile-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
}

.edit-profile-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Member Dashboard */
.member-dashboard {
  margin-bottom: 4rem;
}

.member-dashboard h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.member-dashboard h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

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

.stat-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

.stat-content {
  flex: 1;
}

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

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Recent Activity */
.recent-activity {
  margin-bottom: 4rem;
}

.recent-activity h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.recent-activity h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

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

.activity-item {
  background: var(--surface-color);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.activity-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.activity-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.activity-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
}

.activity-item:hover .activity-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.activity-content {
  flex: 1;
}

.activity-content p {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
  line-height: 1.5;
}

.activity-time {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.activity-time::before {
  content: '🕒';
  font-size: 0.8rem;
}

/* Notifications Section */
.notifications-section {
  margin-top: 4rem;
}

.notifications-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  position: relative;
}

.notifications-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.notifications-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-color);
  background: white;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.9rem;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.notification-card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
}

.notification-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.notification-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.notification-card.ward-notification::before {
  background: linear-gradient(90deg, #10b981, #059669);
}

.notification-card.constituency-notification::before {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.notification-card.county-notification::before {
  background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.notification-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.notification-card.ward-notification .notification-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.notification-card.constituency-notification .notification-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.notification-card.county-notification .notification-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.notification-content {
  flex: 1;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.notification-header h4 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
}

.notification-level {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.notification-level.ward-level {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.notification-level.constituency-level {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.notification-level.county-level {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
}

.notification-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.notification-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.notification-date {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.notification-date::before {
  content: '🕒';
  font-size: 0.8rem;
}

.notification-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.notification-location::before {
  content: '📍';
  font-size: 0.8rem;
}

/* Edit Profile Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--background-color);
  color: var(--text-primary);
}

.modal-body {
  padding: 2rem;
}

.edit-profile-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.edit-profile-form .form-section {
  margin-bottom: 0;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.edit-profile-form .form-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.edit-profile-form .form-actions {
  margin-top: 2rem;
  text-align: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.edit-profile-form .btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 2px solid var(--border-color);
}

.edit-profile-form .btn-secondary:hover {
  background: var(--background-color);
  color: var(--text-primary);
}

/* Animation Classes for Profile Enhancements */
.animate-in {
    animation: fadeInUpProfile 0.8s ease-out forwards;
}

.notification-card:nth-child(1) { animation-delay: 0.1s; }
.notification-card:nth-child(2) { animation-delay: 0.2s; }
.notification-card:nth-child(3) { animation-delay: 0.3s; }
.notification-card:nth-child(4) { animation-delay: 0.4s; }
.notification-card:nth-child(5) { animation-delay: 0.5s; }
.notification-card:nth-child(6) { animation-delay: 0.6s; }

/* Enhanced Page Loading Animation */
.page-loading {
    opacity: 0;
    animation: pageLoad 0.6s ease-out 0.2s forwards;
}

@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Transitions for All Interactive Elements */
* {
    transition: all 0.3s ease;
}

button, .btn-primary, .btn-secondary, a {
    transition: all 0.3s ease;
}

.card-hover {
    transition: all 0.3s ease;
}

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

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInUpProfile {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Magazine Page Styles */
.magazine-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.magazine-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.magazine-hero .hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 200px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 2rem;
}

.stat-content {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.magazine-showcase {
    padding: 5rem 0;
    background: var(--background-color);
}

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

.magazine-showcase .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
}

.magazine-showcase .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.magazine-showcase .section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.magazine-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.magazine-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.magazine-cover {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.magazine-card:hover .magazine-cover img {
    transform: scale(1.05);
}

.magazine-year {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.magazine-content {
    padding: 2rem;
}

.magazine-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.magazine-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.magazine-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.magazine-meta span {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.magazine-meta span::before {
    content: '📄';
    font-size: 0.8rem;
}

.magazine-meta .downloads::before {
    content: '⬇️';
}

.download-btn {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.magazine-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.magazine-cta .cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.magazine-cta .cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animation Classes for Magazine Page */
.animate-in {
    animation: fadeInUpMagazine 0.8s ease-out forwards;
}

.magazine-card:nth-child(1) { animation-delay: 0.1s; }
.magazine-card:nth-child(2) { animation-delay: 0.2s; }
.magazine-card:nth-child(3) { animation-delay: 0.3s; }
.magazine-card:nth-child(4) { animation-delay: 0.4s; }
.magazine-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUpMagazine {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive for Magazine Page */
@media (max-width: 768px) {
    .magazine-hero {
        padding: 4rem 0;
    }

    .magazine-hero .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        min-width: auto;
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .magazine-showcase {
        padding: 3rem 0;
    }

    .magazines-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .magazine-card {
        margin-bottom: 1rem;
    }

    .magazine-cover {
        height: 200px;
    }

    .magazine-content {
        padding: 1.5rem;
    }

    .magazine-content h3 {
        font-size: 1.1rem;
    }

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

    .magazine-cta {
        padding: 3rem 0;
    }

    .magazine-cta .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .magazine-hero .hero-content h1 {
        font-size: 2rem;
    }

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

    .stat-item {
        padding: 0.875rem;
    }

    .stat-icon {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .magazine-cover {
        height: 180px;
    }

    .magazine-year {
        padding: 0.375rem 0.75rem;
        font-size: 1rem;
    }

    .magazine-content {
        padding: 1.25rem;
    }

    .magazine-cta .cta-content h2 {
        font-size: 1.75rem;
    }

    .magazine-cta .cta-content p {
        font-size: 1rem;
    }
}

/* Magazine Actions */
.magazine-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.magazine-actions .btn-primary,
.magazine-actions .btn-secondary {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.magazine-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.magazine-actions .btn-secondary:hover {
    background: var(--surface-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Magazine Viewer Modal */
.magazine-viewer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.magazine-viewer-modal.active {
    opacity: 1;
    visibility: visible;
}

.magazine-viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.magazine-viewer-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    margin: 2rem auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.magazine-viewer-modal.active .magazine-viewer-content {
    transform: scale(1) translateY(0);
}

.magazine-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.magazine-viewer-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.magazine-viewer-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.magazine-viewer-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.magazine-viewer-body {
    padding: 0;
    max-height: 70vh;
    overflow: hidden;
}

.magazine-viewer-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.magazine-viewer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--background-color);
    border-top: 1px solid var(--border-color);
    gap: 1rem;
}

.magazine-viewer-footer .btn-primary,
.magazine-viewer-footer .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive for Magazine Viewer */
@media (max-width: 768px) {
    .magazine-viewer-content {
        width: 95%;
        margin: 1rem auto;
        max-height: 95vh;
    }

    .magazine-viewer-header {
        padding: 1rem 1.5rem;
    }

    .magazine-viewer-header h3 {
        font-size: 1.1rem;
    }

    .magazine-viewer-body {
        max-height: 60vh;
    }

    .magazine-viewer-body iframe {
        height: 400px;
    }

    .magazine-viewer-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .magazine-viewer-footer .btn-primary,
    .magazine-viewer-footer .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .magazine-viewer-content {
        width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
        height: 100vh;
    }

    .magazine-viewer-body {
        max-height: calc(100vh - 140px);
    }

    .magazine-viewer-body iframe {
        height: 100%;
    }
}

/* Responsive for Profile Enhancements */
@media (max-width: 768px) {
    .links-grid {
        grid-template-columns: 1fr;
    }
    .link-card {
        padding: 1.5rem;
    }
    .link-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .profile-header-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    /* Profile Completion Responsive */
    .profile-completion {
        margin-top: 0.5rem;
    }

    .completion-bar {
        width: 150px;
        height: 6px;
    }

    .member-status {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    /* Achievements Responsive */
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .achievement-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .achievement-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    /* Skills Section Responsive */
    .skills-container {
        padding: 1.5rem;
    }

    .skill-tags, .interest-tags, .language-tags {
        gap: 0.5rem;
    }

    .skill-tag, .interest-tag, .language-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .notifications-filter {
        flex-direction: column;
        align-items: center;
    }

    .notification-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .notification-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .notification-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .modal-content {
        width: 95%;
        margin: 1rem;
    }

    .modal-header,
    .modal-body {
        padding: 1rem 1.5rem;
    }

    .edit-profile-form .form-actions {
        flex-direction: column;
    }

    .edit-profile-form .btn-primary,
    .edit-profile-form .btn-secondary {
        width: 100%;
    }
}

@media (min-width: 769px) {
  .dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}


/* Profession Members Section */
.profession-members {
  padding: 5rem 0;
  background: var(--background-color);
}

.profession-members h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: var(--text-primary);
  position: relative;
}

.profession-members h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.profession-category {
  margin-bottom: 4rem;
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.profession-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.profession-category h3 {
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-size: 1.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: center;
  justify-content: center;
}

.profession-category h3 i {
  color: var(--primary-color);
  font-size: 2rem;
  background: var(--gradient-primary);
  padding: 0.75rem;
  border-radius: 50%;
  color: white;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

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

.profession-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpProfession 0.8s ease-out forwards;
}

.profession-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.profession-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.profession-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
}

.profession-card:hover .profession-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

.profession-card h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
}

.profession-card .member-count {
  background: var(--gradient-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
  display: inline-block;
  transition: all 0.3s ease;
}

.profession-card:hover .member-count {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

/* Animation delays for profession cards */
.profession-card:nth-child(1) { animation-delay: 0.1s; }
.profession-card:nth-child(2) { animation-delay: 0.2s; }
.profession-card:nth-child(3) { animation-delay: 0.3s; }
.profession-card:nth-child(4) { animation-delay: 0.4s; }
.profession-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUpProfession {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Category-specific icon colors */
.profession-category:nth-child(1) .profession-icon { /* Medical */
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.profession-category:nth-child(2) .profession-icon { /* Engineers */
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.profession-category:nth-child(3) .profession-icon { /* Education */
  background: linear-gradient(135deg, #10b981, #059669);
}

.profession-category:nth-child(4) .profession-icon { /* Business */
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.profession-category:nth-child(5) .profession-icon { /* Legal */
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.profession-category:nth-child(6) .profession-icon { /* Technology */
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.profession-category:nth-child(7) .profession-icon { /* Agriculture */
  background: linear-gradient(135deg, #84cc16, #65a30d);
}

.profession-category:nth-child(8) .profession-icon { /* Skilled Trades */
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.profession-category:nth-child(9) .profession-icon { /* Other */
  background: linear-gradient(135deg, #6366f1, #4f46e5);
}

/* Responsive for Profession Members */
@media (max-width: 768px) {
  .profession-members {
    padding: 3rem 0;
  }

  .profession-category {
    padding: 2rem 1.5rem;
    margin-bottom: 3rem;
  }

  .profession-category h3 {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 0.75rem;
  }

  .profession-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .profession-card {
    padding: 1.5rem;
  }

  .profession-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .profession-card h4 {
    font-size: 1.1rem;
  }

  .profession-card .member-count {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .profession-grid {
    grid-template-columns: 1fr;
  }

  .profession-card {
    padding: 1.25rem;
  }

  .profession-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .profession-category h3 {
    font-size: 1.25rem;
  }

  .profession-category h3 i {
    font-size: 1.5rem;
    padding: 0.5rem;
  }
}

/* Top Bar */
.top-bar {
  background: #002147;
  color: #fff;
  font-size: 14px;
  padding: 6px 0;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-left {
  flex: 1;
}

.top-left span {
  margin-right: 15px;
}

.top-left a {
  color: #fff;
  text-decoration: none;
}

.top-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) transparent;
  -webkit-overflow-scrolling: touch;
}

.mobile-bottom-bar::-webkit-scrollbar {
  height: 8px;
  display: block !important;
}

.mobile-bottom-bar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.mobile-bottom-bar::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.mobile-bottom-bar::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

.mobile-bottom-bar .bottom-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  flex: 0 0 auto;
  margin: 0 0.25rem;
  min-height: 50px;
  min-width: 60px;
  white-space: nowrap;
}

.mobile-bottom-bar .bottom-bar-btn i {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.mobile-bottom-bar .bottom-bar-btn:hover {
  background: var(--background-color);
  color: var(--primary-color);
}

.mobile-bottom-bar .bottom-bar-btn.primary {
  background: var(--gradient-primary);
  color: white;
}

.mobile-bottom-bar .bottom-bar-btn.primary:hover {
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
  color: white;
}

/* Main Nav Bar */
.main-nav-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.main-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-left: 3rem;
}

.logo img {
  height: 55px;
  margin-right: 10px;
}

.logo-text h1 {
  margin: 0;
  font-size: 20px;
  color: #002147;
}

.logo-text p {
  margin: 0;
  font-size: 12px;
  color: #555;
}

.desktop-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.desktop-nav ul li {
  margin: 0 12px;
}

.desktop-nav .nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
  color: #002147;
}

.desktop-nav .nav-link.active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: #002147;
}

/* Buttons */
.auth-buttons a {
  margin-left: 8px;
}

.btn-primary {
  background: #002147;
  color: #fff;
  padding: 6px 14px;
  border-radius: 3px;
  text-decoration: none;
}

.btn-secondary {
  border: 1px solid #002147;
  color: #002147;
  padding: 6px 14px;
  border-radius: 3px;
  text-decoration: none;
}

.btn-secondary:hover {
  background: #002147;
  color: #fff;
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover img {
  transform: scale(1.05);
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, #ffffff, #e0f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.025em;
  position: relative;
  z-index: 1;
}

.logo-text p {
  font-size: 0.8rem;
  margin: 0;
  opacity: 0.9;
  font-weight: 500;
  letter-spacing: 0.025em;
  position: relative;
  z-index: 1;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 2rem;
  flex: 1;
  justify-content: flex-start;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.desktop-nav ul::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.desktop-nav:hover ul::before {
  opacity: 1;
}

.desktop-nav li {
  position: relative;
}

.desktop-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.875rem 1.25rem;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.025em;
  position: relative;
  z-index: 2;
}

.desktop-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.desktop-nav a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.desktop-nav a:hover {
  color: white;
  transform: translateY(-1px);
}

.desktop-nav a.active {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.desktop-nav a.active::before {
  opacity: 0;
}

/* Notification Badge */
.notification-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.notifications-link {
  position: relative;
}

/* User Dropdown */
.user-dropdown {
  position: relative;
}

.user-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  min-width: 200px;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  margin-top: 0.5rem;
}

.user-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.3s ease;
  border-radius: 0.5rem;
  margin: 0.25rem;
}

.user-dropdown-menu a:hover {
  background: var(--background-color);
}

.user-dropdown-menu a:first-child {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0.5rem;
  padding-bottom: 1rem;
}

.user-dropdown-menu a:last-child {
  color: #dc2626;
}

.user-dropdown-menu a:last-child:hover {
  background: rgba(220, 38, 38, 0.1);
}

/* =======================
   MOBILE NAVIGATION MENU
   ======================= */

/* Base navigation panel */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  min-width: 220px;
  height: 100vh;
  background: #ffffff;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
  transition: left 0.3s ease-in-out;
  z-index: 9999;
  padding-top: 80px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* When menu is active */
.mobile-nav.active {
  left: 0;
}

/* Nav links */
.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav ul li {
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.mobile-nav ul li:last-child {
  border-bottom: none;
}

.mobile-nav ul li a {
  display: block;
  padding: 15px 25px;
  font-size: 16px;
  color: #003399; /* KIYP blue tone */
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a:active {
  background: #003399;
  color: #fff;
  transform: translateX(4px);
}

/* Hamburger and Close Buttons */
.hamburger {
  position: fixed;
  top: 18px;
  left: 20px;
  background: #003399;
  border: none;
  color: #fff;
  font-size: 26px;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.close-btn {
  position: fixed;
  top: 18px;
  right: 20px;
  background: #003399;
  border: none;
  color: #fff;
  font-size: 26px;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

/* Hide close button initially */
.close-btn {
  display: none;
  background: #c00;
}

/* Toggle display */
.mobile-nav.active ~ .hamburger {
  display: none;
}

.mobile-nav.active ~ .close-btn {
  display: flex;
}

/* Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 51, 153, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
  z-index: 9998;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Scroll lock when menu is open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Responsive Design for Different Mobile Sizes */

/* Large tablets and small desktops (768px and up) */
@media (max-width: 768px) {
  .hamburger {
    top: 15px;
    left: 15px;
    width: 45px;
    height: 45px;
    font-size: 24px;
  }

  .close-btn {
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 24px;
  }

  .mobile-nav {
    width: 280px;
    padding-top: 70px;
  }

  .mobile-nav ul li a {
    font-size: 16px;
    padding: 16px 20px;
  }
}

/* iPad and tablet landscape adjustments */
@media (max-width: 1024px) and (orientation: landscape) {
  .mobile-nav {
    padding-top: 60px;
  }

  .hamburger {
    top: 12px;
    left: 12px;
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .close-btn {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    font-size: 22px;
  }
}

/* Standard mobile devices (480px to 767px) */
@media (max-width: 480px) {
  .hamburger {
    top: 12px;
    left: 12px;
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .close-btn {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .mobile-nav {
    width: 260px;
    padding-top: 65px;
  }

  .mobile-nav ul li a {
    font-size: 15px;
    padding: 14px 18px;
  }
}

/* Small mobile devices (360px to 479px) */
@media (max-width: 360px) {
  .hamburger {
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .close-btn {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .mobile-nav {
    width: 240px;
    padding-top: 60px;
  }

  .mobile-nav ul li a {
    font-size: 14px;
    padding: 12px 16px;
  }
}

/* Extra small devices (320px and below) */
@media (max-width: 320px) {
  .hamburger {
    top: 8px;
    left: 8px;
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .close-btn {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .mobile-nav {
    width: 220px;
    padding-top: 55px;
  }

  .mobile-nav ul li a {
    font-size: 13px;
    padding: 10px 14px;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .mobile-nav {
    padding-top: 50px;
  }

  .mobile-nav ul li a {
    padding: 10px 15px;
    font-size: 14px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hamburger,
  .close-btn {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .mobile-nav {
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.2);
  }
}

/* Mobile navigation visibility controls */
@media (min-width: 769px) {
  .hamburger,
  .close-btn,
  .mobile-nav,
  .nav-overlay {
    display: none !important;
  }
}

/* Ensure mobile navigation is always visible on mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex !important;
  }

  .close-btn {
    display: none !important;
  }

  /* Show close button only when menu is active */
  .mobile-nav.active ~ .hamburger {
    display: none !important;
  }

  .mobile-nav.active ~ .close-btn {
    display: flex !important;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.mobile-menu-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-toggle:hover::before {
  opacity: 1;
}

.mobile-menu-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.mobile-menu-toggle.active {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  position: relative;
  z-index: 1;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(0, 0);
  width: 24px;
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(0, 0);
  width: 24px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15);
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  padding: 0;
  overflow-y: auto;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

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

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(59, 130, 246, 0.08));
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-menu-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.2), transparent);
}

.mobile-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-logo img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
}

.mobile-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.mobile-logo-text span {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.025em;
}

.mobile-logo-text small {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.025em;
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.mobile-menu-close::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(239, 68, 68, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-close:hover::before {
  opacity: 1;
}

.mobile-menu-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  transform: scale(1.05);
}

.mobile-nav {
  padding: 1.5rem;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav li {
  margin-bottom: 0.25rem;
}

.mobile-nav li:last-child {
  margin-bottom: 0;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  margin: 0.25rem 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(59, 130, 246, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav a:hover::before {
  opacity: 1;
}

.mobile-nav a:hover {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(59, 130, 246, 0.1));
  color: var(--primary-color);
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.1);
}

.mobile-nav a.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
  transform: translateX(8px);
}

.mobile-nav a.active::before {
  opacity: 0;
}

.mobile-nav a i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  opacity: 0.8;
}

.mobile-nav a.active i {
  opacity: 1;
}

.mobile-auth {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(59, 130, 246, 0.05));
  border-radius: 20px 20px 0 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mobile-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

.mobile-user-details strong {
  display: block;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.mobile-user-details small {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

.mobile-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mobile-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-btn:hover::before {
  opacity: 1;
}

.mobile-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.mobile-btn.outline {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.mobile-btn.outline:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.mobile-btn.primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: 2px solid transparent;
}

.mobile-btn.primary:hover {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.mobile-btn.profile-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: 2px solid transparent;
}

.mobile-btn.profile-btn:hover {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.mobile-btn.logout-btn {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: white;
  border: 2px solid transparent;
}

.mobile-btn.logout-btn:hover {
  background: linear-gradient(135deg, #b91c1c, #dc2626);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: var(--background-color);
  color: var(--text-primary);
}

.mobile-menu nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu nav li {
  margin-bottom: 0.5rem;
}

.mobile-menu nav a {
  display: block;
  padding: 1rem;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

.mobile-menu nav a:hover,
.mobile-menu nav a.active {
  background: var(--primary-color);
  color: white;
}

.mobile-menu .auth-buttons {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.mobile-menu .auth-buttons .btn-primary,
.mobile-menu .auth-buttons .btn-secondary {
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.875rem 1rem;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-close {
    display: flex !important;
  }

  .site-header .container {
    padding: 0.75rem 1rem;
  }

  /* Logo responsive styles are handled in the main Modern Navbar Styles section */

  .mobile-menu {
    width: 320px;
  }
}

@media (max-width: 480px) {
  .site-header .container {
    padding: 0.5rem 1rem;
  }

  /* All logo responsive styles are consolidated in the main Modern Navbar Styles section */

  .mobile-menu {
    width: 100vw;
    right: -100vw;
  }

  .mobile-menu.active {
    right: 0;
  }

  .mobile-menu-header {
    padding: 1.5rem 1rem 1rem;
  }

  .mobile-nav {
    padding: 1rem;
  }

  .mobile-nav a {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }

  .mobile-auth {
    padding: 1rem;
  }

  .mobile-user-info {
    padding: 1rem;
  }

  .mobile-btn {
      padding: 0.875rem 1rem;
      font-size: 0.9rem;
  }

/* About Us Page Enhanced Styles */
.about-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.content-card {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpAbout 0.8s ease-out forwards;
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.content-card h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.content-card h3::before {
  content: '🎯';
  font-size: 1.2rem;
}

.content-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.content-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.content-card li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.content-card li:last-child {
  border-bottom: none;
}

.content-card li::before {
  content: '✓';
  color: var(--success-color);
  font-weight: bold;
  font-size: 1.1rem;
}

.stats-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpAbout 0.8s ease-out 0.2s forwards;
}

.stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.stats-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
  transition: all 0.3s ease;
}

.stats-card:hover .stats-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

.stats-card h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.stats-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  display: block;
}

.stats-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vision-quote {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpAbout 0.8s ease-out 0.4s forwards;
}

.vision-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.1);
  font-family: serif;
  line-height: 1;
}

.vision-quote blockquote {
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.vision-quote cite {
  display: block;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

/* Admin-only notice styles */
.admin-only-notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #f59e0b;
  font-weight: 600;
  font-size: 0.95rem;
}

.admin-only-notice i {
  color: #d97706;
  font-size: 1.1rem;
}

/* Admin contact info styles */
.admin-contact-info {
  background: var(--surface-color);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  margin-top: 1rem;
}

.admin-contact-info p {
  margin: 0.5rem 0;
  color: var(--text-secondary);
}

.admin-contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.admin-contact-info a:hover {
  text-decoration: underline;
}

/* Terms and Conditions & Privacy Policy Styles */
.terms-hero, .privacy-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.terms-hero h1, .privacy-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.terms-hero p, .privacy-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.terms-section, .privacy-section {
  padding: 5rem 0;
  background: var(--background-color);
}

.terms-container, .privacy-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.terms-content, .privacy-content {
  padding: 3rem 2.5rem;
}

.terms-intro, .privacy-intro {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(59, 130, 246, 0.05));
  padding: 2rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
  margin-bottom: 3rem;
}

.terms-intro p, .privacy-intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0;
}

.terms-section-item, .privacy-section-item {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.terms-section-item:last-child, .privacy-section-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.terms-section-item h2, .privacy-section-item h2 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.terms-section-item h2 i, .privacy-section-item h2 i {
  color: var(--primary-color);
  font-size: 1.2rem;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(59, 130, 246, 0.1));
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.terms-section-item p, .privacy-section-item p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0 0 1rem 0;
}

.terms-section-item ul, .privacy-section-item ul {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
  padding-left: 1.5rem;
}

.terms-section-item li, .privacy-section-item li {
  margin-bottom: 0.5rem;
}

.terms-section-item li:last-child, .privacy-section-item li:last-child {
  margin-bottom: 0;
}

.terms-contact {
  background: linear-gradient(135deg, rgba(15, 81, 50, 0.05), rgba(22, 163, 74, 0.05));
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 81, 50, 0.1);
  margin-top: 3rem;
}

.terms-contact h3 {
  color: var(--success-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.terms-contact h3::before {
  content: '📞';
  font-size: 1.2rem;
}

.terms-contact p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--surface-color);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
  width: 20px;
}

.contact-item span {
  color: var(--text-primary);
  font-weight: 500;
}

/* Responsive for Terms and Privacy Pages */
@media (max-width: 768px) {
  .terms-hero h1, .privacy-hero h1 {
    font-size: 2rem;
  }

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

  .terms-section, .privacy-section {
    padding: 3rem 0;
  }

  .terms-content, .privacy-content {
    padding: 2rem 1.5rem;
  }

  .terms-intro, .privacy-intro {
    padding: 1.5rem;
  }

  .terms-section-item h2, .privacy-section-item h2 {
    font-size: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .terms-section-item h2 i, .privacy-section-item h2 i {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .terms-contact {
    padding: 1.5rem;
  }

  .contact-item {
    padding: 0.6rem;
  }
}

/* Dashboard Styles */
.dashboard-container {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.dashboard-sidebar {
  width: 280px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: white;
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.dashboard-sidebar-header {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(30, 58, 138, 0.1));
}

.dashboard-sidebar-header .logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dashboard-sidebar-header .user-info {
  font-size: 0.9rem;
  color: #cbd5e1;
  opacity: 0.9;
}

.dashboard-sidebar-nav {
  padding: 1.5rem 0;
}

.dashboard-sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dashboard-sidebar-nav li {
  margin: 0.25rem 0;
}

.dashboard-sidebar-nav a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 0.5rem;
  margin: 0.25rem 0.75rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.dashboard-sidebar-nav a i {
  font-size: 1.1rem;
  margin-right: 0.75rem;
  width: 20px;
  transition: all 0.3s ease;
}

.dashboard-sidebar-nav a span {
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.dashboard-sidebar-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s;
}

.dashboard-sidebar-nav a:hover::before {
  left: 100%;
}

.dashboard-sidebar-nav a:hover {
  background: rgba(59, 130, 246, 0.1);
  color: white;
  border-left-color: #3b82f6;
  transform: translateY(-2px);
}

.dashboard-sidebar-nav a:hover i {
  transform: scale(1.1);
}

.dashboard-sidebar-nav a:hover span {
  color: #60a5fa;
}

.dashboard-sidebar-nav a.active {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border-left-color: #60a5fa;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.dashboard-sidebar-nav i {
  margin-right: 0.75rem;
  width: 20px;
  font-size: 1.1rem;
}

.dashboard-main {
  flex: 1;
  margin-left: 280px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
}

.dashboard-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 2rem 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.dashboard-header h1 {
  margin: 0;
  color: #1e293b;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1e293b, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dashboard-header p {
  margin: 0.5rem 0 0 0;
  color: #64748b;
  font-size: 1rem;
}

.dashboard-content {
  padding: 2rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Welcome Card */
.welcome-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 1.5rem;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.welcome-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8, #7c3aed);
}

.welcome-card h2 {
  margin: 0 0 1rem 0;
  color: #1e293b;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.welcome-card h2::before {
  content: '👋';
  font-size: 1.5rem;
}

.welcome-card p {
  margin: 0;
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Dashboard Sections */
.dashboard-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.section-header h3 {
  margin: 0;
  color: #1e293b;
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-header h3 i {
  color: #3b82f6;
  font-size: 1.2rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(29, 78, 216, 0.1));
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-edit, .btn-view-all {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-edit:hover, .btn-view-all:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Profile Card */
.profile-card {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(226, 232, 240, 0.8));
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  transition: all 0.3s ease;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row:hover {
  background: rgba(59, 130, 246, 0.05);
  border-radius: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.label {
  font-weight: 600;
  color: #475569;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.label::before {
  content: '📋';
  font-size: 0.8rem;
}

.value {
  color: #1e293b;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Skills Card */
.skills-card {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(226, 232, 240, 0.8));
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.skill-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  gap: 1rem;
  transition: all 0.3s ease;
}

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

.skill-item:hover {
  background: rgba(59, 130, 246, 0.05);
  border-radius: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.skill-label {
  font-weight: 600;
  color: #475569;
  font-size: 0.9rem;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-label::before {
  content: '⚡';
  font-size: 0.8rem;
}

.skill-value {
  color: #1e293b;
  font-size: 0.9rem;
  flex: 1;
  text-align: right;
  font-weight: 500;
}

/* Members Grid */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.member-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.member-avatar {
  font-size: 3rem;
  color: #cbd5e1;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(29, 78, 216, 0.1));
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-info h4 {
  margin: 0 0 0.5rem 0;
  color: #1e293b;
  font-size: 1.1rem;
  font-weight: 600;
}

.member-info .profession {
  margin: 0 0 0.5rem 0;
  color: #3b82f6;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.member-info .profession::before {
  content: '💼';
  font-size: 0.8rem;
}

.member-info .location {
  margin: 0;
  color: #64748b;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.member-info .location::before {
  content: '📍';
  font-size: 0.8rem;
}

.no-members {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: #64748b;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 1rem;
}

.no-members i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  color: #cbd5e1;
}

/* Actions Grid */
.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.action-btn {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  text-decoration: none;
  color: #475569;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.action-btn:hover {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.action-btn.logout {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  border-color: rgba(220, 38, 38, 0.3);
}

.action-btn.logout:hover {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  border-color: rgba(185, 28, 28, 0.3);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.action-btn i {
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

/* Notifications */
.notifications-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(226, 232, 240, 0.5);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
}

.filter-btn.active {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.filter-btn:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.notifications-list {
  margin-top: 1.5rem;
}

.notification-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.notification-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.notification-card.unread {
  border-left: 4px solid #3b82f6;
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.9), rgba(219, 234, 254, 0.9));
}

.notification-card.read {
  opacity: 0.8;
}

.notification-icon {
  font-size: 1.5rem;
  color: #3b82f6;
  margin-top: 0.25rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(29, 78, 216, 0.1));
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-content {
  flex: 1;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.notification-header h4 {
  margin: 0;
  color: #1e293b;
  font-size: 1rem;
  font-weight: 600;
}

.notification-level {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.info-level {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1d4ed8;
}

.success-level {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #166534;
}

.warning-level {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
}

.error-level {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
}

.notification-content p {
  margin: 0 0 0.75rem 0;
  color: #64748b;
  line-height: 1.6;
  font-size: 0.9rem;
}

.notification-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #94a3b8;
}

.mark-read-btn {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.mark-read-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.no-notifications {
  text-align: center;
  padding: 3rem 2rem;
  color: #64748b;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 1rem;
}

.no-notifications i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  color: #cbd5e1;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 1.5rem;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.modal-header h3 {
  margin: 0;
  color: #1e293b;
  font-size: 1.25rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: #1e293b;
  background: rgba(0, 0, 0, 0.1);
}

.modal-body {
  padding: 2rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(226, 232, 240, 0.5);
  border-radius: 0.75rem;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
}

.btn-primary, .btn-secondary {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background: rgba(243, 244, 246, 0.8);
  backdrop-filter: blur(10px);
  color: #374151;
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.btn-secondary:hover {
  background: rgba(229, 231, 235, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .dashboard-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .dashboard-sidebar.show {
    transform: translateX(0);
  }

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

  .dashboard-content {
    padding: 1rem;
  }

  .dashboard-header {
    padding: 1.5rem 1rem;
  }

  .dashboard-header h1 {
    font-size: 1.8rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

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

  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .skill-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .skill-value {
    text-align: left;
  }

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

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

  .modal-content {
    width: 95%;
    margin: 1rem;
  }

  .modal-actions {
    flex-direction: column;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
  }
}

/* Responsive for About Us Page */
@media (max-width: 768px) {
  .about-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .content-card h3 {
    font-size: 1.25rem;
  }

  .stats-card {
    padding: 1.5rem;
  }

}

/* Leadership Page Styles */
.leadership-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.leadership-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.leadership-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.executive-committee {
    padding: 5rem 0;
    background: var(--background-color);
}

.executive-committee h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.executive-committee > p {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.leadership-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.leader-card {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.leader-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    visibility: visible !important;
}

.leader-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.leader-card h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.25rem;
    visibility: visible !important;
}

.leader-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    visibility: visible !important;
}

.leader-location, .leader-profession {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    visibility: visible !important;
}

.leader-contact {
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(30, 58, 138, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--primary-color);
    visibility: visible !important;
}

.constituency-leadership {
    padding: 5rem 0;
    background: var(--surface-color);
}

.constituency-leadership h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.constituency-leadership > p {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

.constituency-leader-card {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.constituency-leader-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.constituency-leader-card h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.constituency-leader-card p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.constituency-contact {
    margin-top: 1.5rem;
    padding: 0.75rem;
    background: rgba(30, 58, 138, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--primary-color);
}

.ward-leadership {
    padding: 5rem 0;
    background: var(--background-color);
}

.ward-leadership h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.ward-leadership > p {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.ward-structure {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.ward-info h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.ward-info ul {
    list-style: none;
    padding: 0;
}

.ward-info li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.ward-info li:last-child {
    border-bottom: none;
}

.ward-leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.ward-leader-card {
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.ward-leader-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.ward-leader-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.professional-representatives {
    padding: 5rem 0;
    background: var(--surface-color);
}

.professional-representatives h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.professional-representatives > p {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

.professional-card {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.professional-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.professional-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.professional-card h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.professional-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.professional-field, .professional-profession {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.join-leadership {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.join-leadership h2 {
    margin-bottom: 1rem;
}

.join-leadership > p {
    margin-bottom: 3rem;
    opacity: 0.9;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.leadership-paths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.path-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.path-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.path-card h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.path-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.path-card li {
    padding: 0.25rem 0;
    opacity: 0.9;
}

.leadership-application {
    padding: 5rem 0;
    background: var(--background-color);
}

.leadership-application h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.application-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.application-form-container form {
    background: var(--surface-color);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-section h3::before {
    content: '📋';
    font-size: 1.2rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.application-form-container input,
.application-form-container select,
.application-form-container textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.application-form-container textarea {
    resize: vertical;
    min-height: 100px;
}

.application-form-container input:focus,
.application-form-container select:focus,
.application-form-container textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.no-leaders {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 2rem;
}

/* Responsive for Leadership Page */
@media (max-width: 768px) {
    .leadership-hero h1 {
        font-size: 2.5rem;
    }

    .executive-committee,
    .constituency-leadership,
    .ward-leadership,
    .professional-representatives,
    .join-leadership,
    .leadership-application {
        padding: 3rem 0;
    }

    .leadership-grid,
    .constituency-leaders,
    .professionals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ward-structure {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .leadership-paths {
        grid-template-columns: 1fr;
    }

    .application-form-container form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
  .stats-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .stats-number {
    font-size: 2rem;
  }

  .vision-quote {
    padding: 2rem 1.5rem;
  }

  .vision-quote blockquote {
    font-size: 1.25rem;
  }

  .vision-quote::before {
    font-size: 6rem;
  }

  .admin-only-notice {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
  }

  .admin-contact-info {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .content-card {
    padding: 1.5rem 1rem;
  }

  .stats-card {
    padding: 1.25rem;
  }

  .vision-quote {
    padding: 1.5rem 1rem;
  }

  .vision-quote blockquote {
    font-size: 1.1rem;
  }

  .vision-quote::before {
    font-size: 4rem;
  }

  .admin-only-notice {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .admin-contact-info {
    padding: 1rem;
  }
}

/* Auth Section Styles */
.auth-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #000000;
  padding: 0.75rem 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Responsive Navbar Styles */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .auth-buttons {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    order: -1;
    margin-right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .mobile-menu-close {
    display: flex !important;
  }

  .main-nav-container {
    flex-direction: row;
  }

  .site-header .container {
    padding: 0.75rem 1rem;
    justify-content: space-between;
  }

  .logo img {
    width: 40px;
    height: 40px;
  }

  .logo-text h1 {
    font-size: 1.3rem;
  }

  .logo-text p {
    font-size: 0.75rem;
  }

  .mobile-menu {
    width: 320px;
  }

  /* Hide top bar on mobile */
  .top-bar {
    display: none;
  }

  /* Show mobile bottom bar */
  .mobile-bottom-bar {
    display: flex;
  }
}

@media (max-width: 480px) {
  .site-header .container {
    padding: 0.5rem 1rem;
  }

  .logo img {
    width: 36px;
    height: 36px;
  }

  .logo-text h1 {
    font-size: 1.2rem;
  }

  .logo-text p {
    font-size: 0.7rem;
  }

  .mobile-menu {
    width: 100vw;
    right: -100vw;
  }

  .mobile-menu.active {
    right: 0;
  }

  .mobile-menu-header {
    padding: 1.5rem 1rem 1rem;
  }

  .mobile-nav {
    padding: 1rem;
  }

  .mobile-nav a {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }

  .mobile-auth {
    padding: 1rem;
  }

  .mobile-user-info {
    padding: 1rem;
  }

  .mobile-btn {
      padding: 0.875rem 1rem;
      font-size: 0.9rem;
  }
}
