:root {
  /* Dark Mode Variables */
  --bg-primary: #0d1b2a;
  --bg-secondary: #1b263b;
  --text-primary: #e0e1dd;
  --text-secondary: #9ca3af;
  --accent: #00d4ff;
  --accent-rgb: 0, 212, 255;
  --card-bg: #415a77;
  --shadow: rgba(0, 0, 0, 0.3);
}
[data-theme="light"] {
  /* Light Mode Variables */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-primary: #2b2d42;
  --text-secondary: #6c757d;
  --accent: #0056b3;
  --accent-rgb: 0, 86, 179;
  --card-bg: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
}
body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: all 0.3s ease;
}
/* Navbar */
.navbar {
  background: var(--bg-secondary);
  box-shadow: 0 4px 10px var(--shadow);
  padding: 1rem 0;
}
.navbar-brand,
.nav-link {
  color: var(--accent) !important;
  font-weight: 600;
}
.nav-link:hover {
  color: var(--text-primary) !important;
}
/* Theme Toggle */
.theme-toggle {
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--accent);
}
/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--bg-secondary), var(--card-bg));
  padding: 150px 0;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://via.placeholder.com/1920x1080?text=Tech+Pattern")
    no-repeat center/cover;
  opacity: 0.1;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-content h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 4rem;
  color: var(--accent);
  text-shadow: 0 2px 10px rgba(0, 212, 255, 0.5);
}
.hero-content p {
  font-size: 1.5rem;
  font-weight: 400;
}
/* Sections */
section {
  padding: 80px 0;
}
h2 {
  font-family: "Montserrat", sans-serif;
  color: var(--accent);
  font-size: 2.5rem;
  margin-bottom: 40px;
}
/* Track Cards */
.track-card {
  background: var(--surface);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.track-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}
.track-header h3 {
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.track-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.track-topics {
  margin-top: auto;
}
.track-topics h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.topics-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.topics-list li {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}
.topics-list li i {
  color: var(--accent);
  font-size: 0.8rem;
  margin-top: 0.3rem;
}
/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  left: 50%;
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item:nth-child(even) .timeline-content {
  text-align: right;
}
.timeline-content {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
}
.timeline-dot {
  width: 15px;
  height: 15px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* Form */
.submission-form {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
}
.form-control {
  background: var(--bg-secondary);
  border: 1px solid var(--accent);
  color: var(--text-primary);
  font-weight: 300;
}
.form-control:focus {
  background: var(--card-bg);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
  color: var(--text-primary);
}
.btn-primary {
  background: var(--accent);
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  color: var(--bg-primary);
}
.btn-primary:hover {
  background: #007bff;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.5);
  color: var(--bg-primary);
}
.btn-outline-primary {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-outline-primary:hover {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}
/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: 30px 0;
  color: var(--text-primary);
}
.footer a {
  color: var(--accent);
  text-decoration: none;
}
/* Add alternating section backgrounds */
section:nth-child(even) {
  background-color: var(--bg-secondary);
}
section:nth-child(odd) {
  background-color: var(--bg-primary);
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .track-card {
    padding: 1.5rem;
  }
  .track-header h3 {
    font-size: 1.3rem;
  }
  .topics-list {
    grid-template-columns: 1fr;
  }
}
/* Add these new styles for the tracks section */
.tracks-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  perspective: 1000px;
}

.track-hexagon {
  position: relative;
  width: 100%;
  padding-top: 115%; /* Aspect ratio for hexagon */
}

.track-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.track-hexagon:hover .track-content {
  transform: rotateY(180deg);
}

.track-front,
.track-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: var(--surface);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.track-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--surface), var(--bg-secondary));
}

.hexagon-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

.track-front h3 {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.track-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.explore-btn {
  color: var(--accent);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border: 2px solid var(--accent);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.explore-btn:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

.track-back h4 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.topics-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  max-height: 60%;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--surface);
}

.topics-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.topic-bullet {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.close-btn {
  color: var(--accent);
  cursor: pointer;
  margin-top: 1rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Custom scrollbar for topics list */
.topics-list::-webkit-scrollbar {
  width: 4px;
}

.topics-list::-webkit-scrollbar-track {
  background: var(--surface);
}

.topics-list::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tracks-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .track-front,
  .track-back {
    padding: 1.5rem;
  }

  .hexagon-icon {
    font-size: 2rem;
  }

  .track-front h3 {
    font-size: 1.1rem;
  }
}

/* Add hover effect for track hexagons */
.track-hexagon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    var(--accent) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.track-hexagon:hover::before {
  opacity: 0.1;
}

/* New Track Section Styles */
.tracks-pentagon {
  position: relative;
  width: 100%;
  height: 800px;
  margin: 0 auto;
}

.track-item {
  position: absolute;
  width: 280px;
  height: 280px;
  transition: all 0.5s ease;
}

/* Position tracks in pentagon formation */
.track-item[data-position="0"] {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.track-item[data-position="1"] {
  top: 30%;
  right: 5%;
}
.track-item[data-position="2"] {
  bottom: 10%;
  right: 20%;
}
.track-item[data-position="3"] {
  bottom: 10%;
  left: 20%;
}
.track-item[data-position="4"] {
  top: 30%;
  left: 5%;
}

.track-content {
  background: var(--surface);
  border-radius: 50%;
  padding: 2rem;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.track-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.3;
}

.track-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.track-icon i {
  background: linear-gradient(135deg, var(--accent), #80d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.track-content h3 {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.track-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.view-topics-btn {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-topics-btn:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

/* Center Circle */
.center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.center-circle i {
  font-size: 2rem;
  color: var(--bg-primary);
}

.pulse-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
  animation: pulse 2s infinite;
}

/* Topics Modal */
.topics-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: var(--surface);
  border-radius: 15px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body {
  padding: 2rem;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.topic-item {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topic-icon {
  color: var(--accent);
  font-size: 1.5rem;
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .tracks-pentagon {
    height: 600px;
  }
  .track-item {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .tracks-pentagon {
    height: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  .track-item {
    position: static;
    width: 100%;
    height: 280px;
    transform: none !important;
  }
  .center-circle {
    display: none;
  }
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.hero-buttons .btn {
  min-width: 180px;
  transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Navbar Enhancements */
.navbar-nav .dropdown-menu {
  background: var(--bg-secondary);
  border: 1px solid var(--accent);
}

.navbar-nav .dropdown-item {
  color: var(--text-primary);
}

.navbar-nav .dropdown-item:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

.login-btn {
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 0.375rem 1rem !important;
  margin-left: 1rem;
}

.login-btn:hover {
  background: var(--accent);
  color: var(--bg-primary) !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .navbar-nav {
    padding: 1rem 0;
  }

  .login-btn {
    margin: 0.5rem 0;
    text-align: center;
  }

  .navbar-nav .dropdown-menu {
    border: none;
    padding-left: 1rem;
    background: transparent;
  }

  .navbar-nav .dropdown-item {
    color: var(--accent);
  }

  .navbar-nav .dropdown-item:hover {
    background: transparent;
    color: var(--text-primary);
  }
}

/* Guidelines Page Styles */
.guidelines-hero {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--bg-secondary), var(--card-bg));
  position: relative;
  overflow: hidden;
}

.guidelines-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(var(--accent-rgb), 0.1), transparent);
  opacity: 0.5;
}

.guidelines-hero h1 {
  color: var(--accent);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.guidelines-hero p {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Light mode specific styles for guidelines hero */
[data-theme="light"] .guidelines-hero {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

[data-theme="light"] .guidelines-hero::before {
  background: linear-gradient(45deg, rgba(0, 86, 179, 0.1), transparent);
}

[data-theme="light"] .guidelines-hero h1 {
  color: var(--accent);
  text-shadow: none;
}

[data-theme="light"] .guidelines-hero p {
  color: var(--text-secondary);
}

/* Update the hero buttons */
.guidelines-hero .btn-primary {
  background: var(--accent);
  border: none;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.guidelines-hero .btn-outline-primary {
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.guidelines-hero .btn-primary:hover,
.guidelines-hero .btn-outline-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--accent-rgb), 0.3);
}

.guidelines-hero .btn-outline-primary:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

.dates-timeline {
  position: relative;
  padding: 20px 0;
}

.date-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 10px;
  background: var(--card-bg);
  transition: transform 0.3s ease;
}

.date-item:hover {
  transform: translateY(-5px);
}

.date-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.date-icon i {
  font-size: 24px;
  color: var(--text-light);
}

.guidelines-nav {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.guidelines-nav .nav-link {
  color: #87ceeb !important;
  font-size: 0.9rem;
  padding: 1rem 1.5rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.5px;
  background: #0d1b2a;
}

.guidelines-nav .nav-link:hover,
.guidelines-nav .nav-link.active {
  background: #1a2332;
  color: #fff !important;
  transform: translateX(5px);
}

.guideline-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
}

.guideline-card h3 {
  color: var(--accent);
  margin-bottom: 20px;
}

.guideline-tips {
  background: rgba(var(--accent-rgb), 0.1);
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

.template-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.template-card:hover {
  transform: translateY(-10px);
}

.template-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.template-icon i {
  font-size: 32px;
  color: var(--text-light);
}

/* Add these specific styles for guidelines page */
[data-theme="light"] .guideline-section {
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .guidelines-nav .nav-link {
  background: #e9ecef;
  color: #0056b3 !important;
}

[data-theme="light"] .guidelines-nav .nav-link:hover,
[data-theme="light"] .guidelines-nav .nav-link.active {
  background: #0056b3;
  color: #ffffff !important;
}

[data-theme="light"] .alert {
  background-color: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
}

[data-theme="light"] .template-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Publication and Deadlines Sections */
.publication-card,
.deadlines-card {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.1);
}

.publication-card h3,
.deadlines-card h3 {
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.publication-content {
  color: var(--text-primary);
}

.indexing-info ul li {
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.indexing-info ul li i {
  color: var(--accent);
}

.deadlines-timeline {
  position: relative;
  padding-left: 2rem;
}

.deadlines-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  opacity: 0.3;
}

.deadline-item {
  position: relative;
  padding-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.deadline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.1);
}

.deadline-date {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.deadline-info h5 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.deadline-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

/* Committee Members Styles */
.committee-section {
  padding: 4rem 0;
}
.committee-card {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.1);
}
.committee-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
}
.committee-header h3 {
  color: var(--accent);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.committee-description {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.committee-responsibilities {
  color: var(--text-primary);
  font-size: 0.95rem;
}
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.member-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.member-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.member-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(120, 240, 244, 0.1);
  border-radius: 10px;
}
.member-icon i {
  font-size: 24px;
  color: #78f0f4;
}
.member-details {
  flex-grow: 1;
}
.member-name {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 1.2rem;
  font-weight: 600;
}
.member-title,
.member-affiliation {
  margin: 5px 0;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.member-region {
  display: inline-block;
  margin-top: 5px;
  padding: 3px 10px;
  background: rgba(120, 240, 244, 0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  color: #78f0f4;
}
@media (max-width: 768px) {
  .members-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero Section with Letter S Background */
.hero-section {
  position: relative;
  min-height: calc(100vh - 73px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(
    60deg,
    rgba(10, 25, 47, 0.8) 0%,
    rgba(17, 34, 64, 0.8) 100%
  );
  transition: none;
}

/* Remove theme-specific hero section styles */
[data-theme="light"] .hero-section,
[data-theme="dark"] .hero-section {
  --bg-gradient-start: rgba(10, 25, 47, 0.8);
  --bg-gradient-end: rgba(17, 34, 64, 0.8);
  --text-primary: #fff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --accent: #78f0f4;
  --accent-rgb: 120, 240, 244;
}

.hero-content {
  padding: 2rem 0;
  color: #fff;
  position: relative;
  z-index: 2;
  transition: none;
}

/* Letter S Background */
.cont {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.slider {
  position: relative;
  height: 100%;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide__darkbg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  z-index: 10;
  background: url("../images/hero1.jpg") center center no-repeat;
  background-size: cover;
  background-position: 0px center, 0px center;
  transition: transform 0.1s ease-out;
}

.slide__darkbg:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 15, 39, 0.83);
}

.slide__text-wrapper {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 15;
}

.slide__letter {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  -webkit-text-fill-color: transparent !important;
  -webkit-background-clip: text !important;
  font-size: 50vw;
  font-weight: 800;
  color: #000;
  z-index: 2;
  will-change: transform;
  user-select: none;
  background: url("../images/hero1.jpg") center center no-repeat;
  background-position: 0px center, 0px center;
  background-size: cover;
  opacity: 0.9;
  transition: transform 0.1s ease-out;
  background-attachment: fixed;
}

.slide__text {
  font-size: 8vw;
  font-weight: 800;
  text-transform: uppercase;
  transform: translate3d(0, 0, 0);
  letter-spacing: 12px;
  color: #fff;
  will-change: transform;
  user-select: none;
  opacity: 0.1;
}

.slide__text:nth-child(odd) {
  z-index: 2;
}

.slide__text:nth-child(even) {
  z-index: 1;
}

/* Hero Content Styles */
.hero-badge {
  display: inline-block;
  background: rgba(var(--accent-rgb), 0.1);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  transition: all 0.5s ease;
}

.hero-badge span {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  transition: none;
  mix-blend-mode: difference;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  mix-blend-mode: difference;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  transition: none;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6),
    0 0 20px rgba(255, 255, 255, 0.3);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: none;
}

.hero-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-info-item i {
  color: var(--accent);
  font-size: 1.2rem;
  transition: color 0.5s ease;
}

.hero-info-item span {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6),
    0 0 20px rgba(255, 255, 255, 0.3);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: none;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(var(--accent-rgb), 0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.hero-btn:hover:before {
  transform: translateX(0);
}

/* Section Transition */
.section-transition {
  position: relative;
  height: 5vh;
  background: var(--bg-gradient-end);
  z-index: 1;
  margin-top: -5vh;
}

.section-transition::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--bg-gradient-end));
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-info {
    flex-direction: column;
    gap: 1rem;
  }

  .min-vh-80 {
    min-height: 80vh;
  }

  .slide__letter {
    font-size: 40vw;
  }

  .slide__text {
    font-size: 6vw;
    letter-spacing: 8px;
  }
}

/* Light mode adjustments */
[data-theme="light"] .publication-card,
[data-theme="light"] .deadlines-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .deadline-item::before {
  box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

/* Theme-specific styles */
[data-theme="light"] .member-title,
[data-theme="light"] .member-affiliation {
  color: #333;
}

[data-theme="dark"] .member-title,
[data-theme="dark"] .member-affiliation {
  color: rgba(255, 255, 255, 0.8);
}

/* Light mode specific styles for icon and region */
[data-theme="light"] .member-icon {
  background: rgba(0, 86, 179, 0.1);
  border-radius: 10px;
}

[data-theme="light"] .member-icon i {
  color: #0056b3;
}

[data-theme="light"] .member-region {
  background: rgba(0, 86, 179, 0.1);
  color: #0056b3;
}
