:root {
  --primary-color: #0e0014;
  --secondary-color: #220130;
  --accent-color: #8534db;
  --light-color: #efecf1;
  --dark-color: #1b0125;
  --highlight-color: #b006f3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(135deg, #efecf1 0%, #e0d8e9 100%);
}

/* Header Styles */
header.navbar {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 0.8rem 1rem;
}

.navbar-brand img {
  max-height: 60px;
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  color: var(--light-color) !important;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover {
  color: var(--highlight-color) !important;
  background: rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--highlight-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover:after {
  width: 70%;
}

.btn-login {
  background-color: var(--accent-color);
  border: none;
  border-radius: 30px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-login:hover {
  background-color: #6a29af;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Editors Hero Section */
.editors-hero {
  background: linear-gradient(rgba(14, 0, 20, 0.85), rgba(34, 1, 48, 0.85)), url('imgs/editors-img.avif');
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
  color: white;
  text-align: center;
  margin-bottom: 3rem;
}

.editors-hero h1 {
  font-weight: 800;
  margin-bottom: 1.5rem;
  font-size: 3rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.editors-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Editors Container */
.editors-container {
  flex: 1;
  padding: 0 1.5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.editors-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent-color);
  position: relative;
}

.editors-header h2 {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0;
}

.editors-header h2:after {
  content: '';
  position: absolute;
  width: 100px;
  height: 4px;
  background: var(--highlight-color);
  bottom: -2px;
  left: 0;
}

/* Editorial Sections */
.editorial-section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--highlight-color);
  display: inline-block;
}

.editors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.editor-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 1.8rem;
  transition: all 0.3s ease;
  border-left: 4px solid var(--accent-color);
}

.editor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(176, 6, 243, 0.15);
}

.editor-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.editor-role {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.editor-role i {
  margin-right: 0.7rem;
}

.editor-affiliation {
  color: #7f8c8d;
  font-size: 0.95rem;
}

/* Advisory Board Section */
.advisory-board {
  background: rgba(133, 52, 219, 0.05);
  border-radius: 10px;
  padding: 2rem;
  margin-top: 2rem;
}

.board-list {
  list-style: none;
  padding: 0;
  columns: 2;
  column-gap: 2rem;
}

.board-member {
  margin-bottom: 1.2rem;
  break-inside: avoid;
  page-break-inside: avoid;
}

.board-name {
  font-weight: 600;
  color: var(--primary-color);
}

.board-affiliation {
  color: #7f8c8d;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer h5 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer h5:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--highlight-color);
  bottom: 0;
  left: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--highlight-color);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--highlight-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: #95a5a6;
}

/* Responsive Design */
@media (max-width: 992px) {
  .editors-hero h1 {
      font-size: 2.4rem;
  }
  
  .editors-grid {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .editors-hero {
      padding: 3rem 0;
  }
  
  .editors-hero h1 {
      font-size: 2rem;
  }
  
  .section-title {
      font-size: 1.5rem;
  }
  
  .board-list {
      columns: 1;
  }
}

@media (max-width: 576px) {
  .editors-hero h1 {
      font-size: 1.8rem;
  }
  
  .editors-header h2 {
      font-size: 1.5rem;
  }
  
  .editor-card {
      padding: 1.5rem;
  }
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.editor-card {
  animation: fadeIn 0.6s ease-out;
  animation-fill-mode: both;
}

.editor-card:nth-child(1) { animation-delay: 0.1s; }
.editor-card:nth-child(2) { animation-delay: 0.2s; }
.editor-card:nth-child(3) { animation-delay: 0.3s; }
.editor-card:nth-child(4) { animation-delay: 0.4s; }
.editor-card:nth-child(5) { animation-delay: 0.5s; }
.editor-card:nth-child(6) { animation-delay: 0.6s; }