/* Modal styles for monthly issues */
.modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-content {
  background: #fff;
  color: #222;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  padding: 2rem 2.5rem;
  max-width: 420px;
  width: 90vw;
  position: relative;
  animation: modalIn 0.25s cubic-bezier(.4,1.6,.6,1) both;
}
.modal-content h3 {
  margin-top: 0;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover {
  color: #222;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
/* Fade-in animation for section */
.fade-in-bg {
  animation: fadeInSection 1.1s cubic-bezier(.33,1.02,.47,.98);
}
@keyframes fadeInSection {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}

/* Subtle background accent for Follow Us */
.follow-bg-accent {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 70% 30%, #b2ebf2 0%, #e0f7fa 60%, transparent 100%);
  opacity: 0.25;
  border-radius: 22px;
}

/* Glassmorphism card for icons */
.follow-icons-card {
  background: rgba(255,255,255,0.55);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  z-index: 1;
}
.follow-section {
  position: relative;
  overflow: hidden;
}
.follow-icon.bounce {
  animation: bounce 0.4s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes bounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.18) translateY(-8px); }
  60% { transform: scale(0.95) translateY(2px); }
  100% { transform: scale(1); }
}
/* Follow Us Section */
/* Redesigned Follow Us Section */
.follow-section {
  background: linear-gradient(120deg, #e0f7fa 0%, #f3e5f5 100%);
  box-shadow: 0 4px 24px rgba(0,188,212,0.10);
  border-radius: 22px;
  margin: 4rem auto 2.5rem auto;
  padding: 3.5rem 2.5rem;
  min-height: 260px;
  max-width: 900px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.follow-grid {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  width: 100%;
  align-items: center;
}
.follow-info {
  flex: 1 1 0;
  padding-right: 2.5rem;
  border-right: 1.5px solid #b2ebf2;
  min-width: 220px;
}
.follow-title {
  font-size: 2.2rem;
  color: #00bcd4;
  margin-bottom: 1.1rem;
  letter-spacing: 1px;
  font-weight: 800;
  text-align: left;
}
.follow-desc {
  font-size: 1.13rem;
  color: #37474f;
  margin-bottom: 0.5rem;
  font-weight: 500;
  text-align: left;
}
.follow-socials {
  flex: 1.2 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}
.follow-icons {
  display: flex;
  justify-content: flex-start;
  gap: 2.7rem;
  margin-bottom: 0.5rem;
}
.follow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 2px 12px rgba(0,188,212,0.10);
  transition: transform 0.18s, box-shadow 0.18s, box-shadow 0.3s;
  font-size: 2.2rem;
  cursor: pointer;
  border: 2.5px solid #e0f7fa;
  position: relative;
  z-index: 2;
}
.follow-icon.instagram:hover {
  box-shadow: 0 0 0 6px #E1306C22, 0 4px 24px #E1306C44;
  transform: scale(1.13) rotate(-6deg);
  border-color: #E1306C;
}
.follow-icon.twitter:hover {
  box-shadow: 0 0 0 6px #1DA1F222, 0 4px 24px #1DA1F244;
  transform: scale(1.13) rotate(6deg);
  border-color: #1DA1F2;
}
.follow-title {
  font-size: 2.3rem;
  color: #00bcd4;
  margin-bottom: 1.1rem;
  letter-spacing: 1px;
  font-weight: 900;
  text-align: left;
  text-shadow: 0 2px 8px #e0f7fa88;
}
.follow-desc {
  font-size: 1.15rem;
  color: #37474f;
  margin-bottom: 0.5rem;
  font-weight: 500;
  text-align: left;
  opacity: 0.92;
}
body.dark-mode .follow-bg-accent {
  background: radial-gradient(ellipse at 70% 30%, #263238 0%, #23272f 60%, transparent 100%);
}
body.dark-mode .follow-icons-card {
  background: rgba(33,37,43,0.55);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
}
body.dark-mode .follow-title {
  color: #00bcd4;
  text-shadow: 0 2px 8px #23272f88;
}
.body.dark-mode .follow-desc {
  color: #b2ebf2;
}
.follow-links a {
  font-weight: 700;
  text-decoration: none;
  font-size: 1.13rem;
  transition: color 0.18s;
  padding-left: 2px;
}
.follow-links a:hover {
  color: #E1306C;
}
@media (max-width: 700px) {
  .follow-grid {
    flex-direction: column;
    gap: 1.5rem;
  }
  .follow-info {
    border-right: none;
    border-bottom: 1.5px solid #b2ebf2;
    padding-right: 0;
    padding-bottom: 1.2rem;
    text-align: center;
  }
  .follow-title, .follow-desc {
    text-align: center;
  }
  .follow-socials {
    align-items: center;
  }
  .follow-links {
    align-items: center;
  }
}
body.dark-mode .follow-section {
  background: linear-gradient(120deg, #23272f 0%, #1a1c22 100%);
}
body.dark-mode .follow-title {
  color: #00bcd4;
}
body.dark-mode .follow-desc {
  color: #b2ebf2;
}
body.dark-mode .follow-links a {
  color: #00bcd4;
}
body.dark-mode .follow-links a:hover {
  color: #E1306C;
}
body.dark-mode .follow-section {
  background: linear-gradient(120deg, #23272f 0%, #1a1c22 100%);
}
body.dark-mode .follow-title {
  color: #00bcd4;
}
body.dark-mode .follow-links a {
  color: #00bcd4;
}
body.dark-mode .follow-links a:hover {
  color: #E1306C;
}
.issue-card {
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  outline: none;
}
.issue-card:focus {
  box-shadow: 0 0 0 3px #00bcd4;
}
.issue-more {
  display: inline-block;
  margin-top: 0.7rem;
  color: #00bcd4;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.2px;
}

/* Modal Styles */
.modal-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,33,33,0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBg 0.3s;
}
@keyframes fadeInBg {
  from { opacity: 0; } to { opacity: 1; }
}
.modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 420px;
  width: 95vw;
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  box-shadow: 0 8px 40px rgba(0,188,212,0.18);
  position: relative;
  animation: fadeInModal 0.3s;
}
@keyframes fadeInModal {
  from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #00bcd4;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover {
  color: #0097a7;
}
.modal-content h3 {
  margin-top: 0;
  color: #00bcd4;
  font-size: 1.4rem;
}
.modal-content h4 {
  margin-bottom: 0.3rem;
  color: #0097a7;
  font-size: 1.1rem;
}
.modal-topics, .modal-refs {
  margin: 0 0 1.1rem 1.2rem;
  padding: 0;
  font-size: 1rem;
}
.modal-refs a {
  color: #00bcd4;
  text-decoration: underline;
}
.modal-download {
  display: block;
  margin: 1.2rem auto 0 auto;
  background: #00bcd4;
  color: #fff;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.2s;
}
.modal-download:hover {
  background: #0097a7;
}
body.dark-mode .modal-content {
  background: #23272f;
  color: #b2ebf2;
}
body.dark-mode .modal-content h3 {
  color: #00bcd4;
}
body.dark-mode .modal-content h4 {
  color: #00bcd4;
}
body.dark-mode .modal-refs a {
  color: #00bcd4;
}
body.dark-mode .modal-download {
  background: #0097a7;
  color: #fff;
}
body.dark-mode .modal-download:hover {
  background: #00bcd4;
}
.article-card {
  padding: 1.7rem 1.2rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}
.article-img {
  width: 100%;
  max-width: 340px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.7rem;
  box-shadow: 0 2px 8px rgba(0,188,212,0.10);
}
.article-author {
  font-size: 1rem;
  color: #0097a7;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.article-content {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 0.5rem;
}
.article-refs {
  margin-top: 0.5rem;
  font-size: 0.98rem;
  color: #666;
}
.article-refs ul {
  margin: 0.2rem 0 0 1.1rem;
  padding: 0;
}
.article-refs a {
  color: #00bcd4;
  text-decoration: underline;
  font-size: 0.98rem;
}
body.dark-mode .article-card {
  background: #1a1c22;
  color: #b2ebf2;
}
body.dark-mode .article-content {
  color: #b2ebf2;
}
body.dark-mode .article-refs {
  color: #b2ebf2;
}
body.dark-mode .article-refs a {
  color: #00bcd4;
}
.card {
  background: #e0f7fa;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,188,212,0.08);
  padding: 1.3rem 1.1rem;
  transition: box-shadow 0.25s, transform 0.25s;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(0,188,212,0.18);
  transform: translateY(-6px) scale(1.03);
}
.card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  color: #0097a7;
}
.card p {
  margin: 0;
  color: #333;
  font-size: 1rem;
}
.card a {
  margin-top: 0.7rem;
  color: #00bcd4;
  font-weight: 700;
  text-decoration: underline;
  font-size: 1rem;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="file"] {
  background: #f3fafd;
  border: 1.5px solid #b2ebf2;
  margin-bottom: 0.2rem;
}
form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form input[type="file"]:focus {
  outline: none;
  border-color: #00bcd4;
  background: #e0f7fa;
}
form button[type="submit"] {
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,188,212,0.08);
}

/* Dark mode card styles */
body.dark-mode .card {
  background: #1a1c22;
  color: #b2ebf2;
  box-shadow: 0 2px 12px rgba(0,188,212,0.13);
}
body.dark-mode .card h3 {
  color: #00bcd4;
}
body.dark-mode .card p {
  color: #b2ebf2;
}
body.dark-mode .card a {
  color: #00bcd4;
}
form input[type="text"].dark-mode,
form input[type="email"].dark-mode,
form input[type="tel"].dark-mode,
form input[type="file"].dark-mode {
  background: #23272f;
  border-color: #00bcd4;
  color: #b2ebf2;
}
.section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.section.visible {
  opacity: 1;
  transform: none;
}
/* Zigot Science Magazine - Modern, science-inspired theme */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: linear-gradient(120deg, #e0f7fa 0%, #f3e5f5 100%);
  color: #222;
  min-height: 100vh;
  transition: background 0.4s, color 0.4s;
}

header {
  background: transparent;
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-outer {
  background: rgba(33,33,33,0.96);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 0.5rem 0;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  min-height: 80px;
}
#site-title {
  font-size: 2.4rem;
  letter-spacing: 2.5px;
  font-weight: 800;
  margin: 0 2rem 0 0;
  color: #fff;
  flex-shrink: 0;
}
nav .nav-list {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}
nav .nav-list li {
  position: relative;
}
nav .nav-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.5rem 0.2rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
nav .nav-list a:hover, nav .nav-list a.active {
  color: #00bcd4;
  background: rgba(0,188,212,0.08);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.lang-switcher {
  display: flex;
  gap: 0.5rem;
}
.lang-switcher button {
  background: #00bcd4;
  color: #fff;
  border: none;
  padding: 0.5rem 1.1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s;
}
.lang-switcher button:hover {
  background: #0097a7;
}
.theme-switcher button {
  background: #fff;
  color: #222;
  border: none;
  border-radius: 50%;
  width: 2.3rem;
  height: 2.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, color 0.2s;
}
.theme-switcher button:hover {
  background: #00bcd4;
  color: #fff;
}

main {
  max-width: 1100px;
  margin: 3.5rem auto 2.5rem auto;
  padding: 0 2rem;
}
.section {
  margin-bottom: 3.5rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 2.7rem 2.2rem;
  min-height: 180px;
}
.section h2 {
  color: #00bcd4;
  margin-top: 0;
  font-size: 2rem;
  letter-spacing: 1px;
}
.content-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
/* Editorial Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.2rem;
  margin-bottom: 2rem;
}
.team-member {
  background: #f3e5f5;
  border-radius: 16px;
  padding: 2.1rem 1.2rem 1.3rem 1.2rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,188,212,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.team-member:hover {
  box-shadow: 0 8px 32px rgba(0,188,212,0.18);
  transform: translateY(-6px) scale(1.03);
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0f7fa 60%, #b2ebf2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #0097a7;
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 8px rgba(0,188,212,0.10);
  font-weight: 700;
  user-select: none;
}
.team-member h4 {
  margin: 0 0 0.3rem 0;
  font-size: 1.18rem;
  color: #0097a7;
  font-weight: 700;
}
.team-role {
  font-size: 1.05rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
body.dark-mode .team-member {
  background: #1a1c22;
  color: #b2ebf2;
}
body.dark-mode .team-member h4 {
  color: #00bcd4;
}
body.dark-mode .team-role {
  color: #b2ebf2;
}
body.dark-mode .team-avatar {
  background: linear-gradient(135deg, #23272f 60%, #0097a7 100%);
  color: #b2ebf2;
}
.social-media ul {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  padding: 0;
}
.social-media a {
  color: #00bcd4;
  text-decoration: none;
  font-weight: 700;
}

/* Footer Styles */
footer {
  background: #212121;
  color: #fff;
  margin-top: 2rem;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.10);
}
.footer-simple {
  text-align: center;
  padding: 1.5rem 0 1.2rem 0;
  font-size: 1.1rem;
  color: #b2ebf2;
}
body.dark-mode footer {
  background: #18191c;
  color: #b2ebf2;
}
body.dark-mode .footer-simple {
  color: #00bcd4;
}

form {
  display: grid;
  gap: 1.2rem;
  max-width: 420px;
  margin: 0 auto;
}
form label {
  font-weight: 700;
}
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="file"] {
  padding: 0.7rem;
  border: 1px solid #bdbdbd;
  border-radius: 6px;
  font-size: 1.1rem;
}
form button[type="submit"] {
  background: #00bcd4;
  color: #fff;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
}
form button[type="submit"]:hover {
  background: #0097a7;
}
#form-message {
  margin-top: 1rem;
  font-weight: 700;
  color: #00bcd4;
}

@media (max-width: 900px) {
  .nav-container, .footer-container {
    padding: 0 1rem;
  }
  main {
    padding: 0 0.5rem;
  }
}
@media (max-width: 700px) {
  .nav-container, .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  nav .nav-list, .footer-nav {
    flex-direction: column;
    gap: 0.7rem;
  }
  .footer-right {
    align-items: flex-start;
  }
  .section {
    padding: 1.2rem 0.7rem;
  }
}

/* Dark mode styles (to be toggled by JS) */
body.dark-mode {
  background: linear-gradient(120deg, #23272f 0%, #1a1c22 100%);
  color: #e0f7fa;
}
body.dark-mode .section {
  background: #23272f;
  color: #e0f7fa;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
body.dark-mode header .nav-outer {
  background: rgba(20,20,20,0.98);
}
body.dark-mode #site-title {
  color: #b2ebf2;
}
body.dark-mode nav .nav-list a {
  color: #b2ebf2;
}
body.dark-mode nav .nav-list a:hover, body.dark-mode nav .nav-list a.active {
  color: #00bcd4;
  background: rgba(0,188,212,0.10);
}
body.dark-mode .lang-switcher button {
  background: #23272f;
  color: #b2ebf2;
}
body.dark-mode .lang-switcher button:hover {
  background: #00bcd4;
  color: #fff;
}
body.dark-mode .theme-switcher button {
  background: #23272f;
  color: #b2ebf2;
}
body.dark-mode .theme-switcher button:hover {
  background: #00bcd4;
  color: #fff;
}
body.dark-mode .team-list .team-member {
  background: #1a1c22;
  color: #b2ebf2;
}
body.dark-mode .footer-outer {
  background: #18191c;
}
body.dark-mode .footer-title {
  color: #b2ebf2;
}
body.dark-mode .footer-desc {
  color: #00bcd4;
}
body.dark-mode .footer-nav a {
  color: #b2ebf2;
}
body.dark-mode .footer-nav a:hover {
  color: #00bcd4;
}
body.dark-mode .footer-social a {
  color: #00bcd4;
}
body.dark-mode .footer-bottom {
  color: #00bcd4;
}
