/* CSS Variables for theming */
:root {
  --primary: #00bfff;
  --primary-dark: #0099cc;
  --secondary: #1f1b51;
  --secondaryh1: #1f1b51;
  --secondary-light: #2a2566;
  --background: #ffffff;
  --background-secondary: #f8fafc;
  --foreground: #1f1b51;
  --foreground-muted: #64748b;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --accent: #10b981;
  --radius: 12px;

    /* Accent Colors  */
      --accent-orange: #FF9F1C;
      --warning-yellow: #F4C430;
      --accent-hover: #b34a00;

      --primary: #FF6B35;
        /* Vibrant coral-orange */
        --primary-dark: #E55A2B;
        /* Darker coral */
        --secondary: #2A2D43;
        /* Deep charcoal (keeps your structure) */
        --secondary-light: #3A3F5C;
        --accent: #FFD166;
        /* Sunny yellow for highlights */
        --accent-secondary: #EF476F;
        /* Pink for CTAs or alerts */



        --primary: #2A9D8F;
          /* Teal-green (not blue-leaning) */
          --primary-dark: #21867A;
          --secondary: #3D405B;
          /* Warm dark gray */
          --secondary-light: #4A4E69;
          --accent: #E9C46A;
          /* Golden yellow */
          --accent-secondary: #E76F51;
          /* Terracotta for contrast */
}

:root {
  /* --- keep your originals --- */
  --primary: #00bfff;
  --primary-dark: #0099cc;
  --secondary: #1f1b51;
  --secondary-light: #2a2566;
  --background: #ffffff;
  --background-secondary: #f8fafc;
  --foreground: #1f1b51;
  --foreground-muted: #64748b;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --accent: #10b981;

  /* --- added blues for variety / depth --- */
  --blue-50: #f0fbff;
  /* airy page tints */
  --blue-100: #e6f7ff;
  --blue-200: #bfeaff;
  --blue-300: #80d4ff;
  --blue-400: #33bfff;
  --blue-500: #0099e6;
  /* alternative button/link shade */
  --blue-deep: #0a3a66;
  /* deep navy for footers or overlays */
  --ice: #eef9ff;
  /* subtle panel background */

  /* --- neutral supporting colors --- */
  --muted-ink: #4b5563;
  --border-quiet: #dbe7f2;

  /* --- warm complementary accents (use sparingly for emphasis) --- */
  --warm-accent: #ff7a59;
  /* coral — great for important CTAs or badges */
  --warm-accent-2: #ffd166;
  /* golden — highlights, subtle alerts */

  /* --- semantic tokens (quick usage) --- */
  --btn-primary-bg: var(--primary);
  --btn-primary-hover: #00a6e6;
  /* slightly darker hover */
  --btn-secondary-bg: var(--secondary);
  --link: var(--blue-500);
  --success: var(--accent);
  --warning: var(--warm-accent-2);
  --danger: #ef4444;
  --glass: rgba(255, 255, 255, 0.6);
  /* frosted overlays */
}



[data-theme="dark"] {
  --primary: #00bfff;
  --primary-dark: #33ccff;
  --secondary: #1f1b51;
  --secondaryh1: #f8fafc;
  --secondary-light: #2a2566;
  --background: #0f0d1a;
  --background-secondary: #1a1730;
  --foreground: #f1f5f9;
  --foreground-muted: #94a3b8;
  --card-bg: #1a1730;
  --card-border: #2a2566;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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


/* CSS */
.btn-brand {
  margin: 10px;
  padding: 15px 30px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  border-radius: 10px;
  display: block;
  border: 0px;
  font-weight: 700;
  box-shadow: 0px 0px 14px -7px #f09819;
  background-image: linear-gradient(45deg, var(--secondary) 0%, var(--primary) 51%, var(--secondary) 100%);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.btn-brand:hover {
  background-position: right center;
  /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

.btn-brand:active {
  transform: scale(0.95);
}

.btn-brand-lite{
  padding: 15px 30px;
  border: 2px solid var(--secondary-light) !important;
  color: var(--secondary);
}


/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--background);
  border-bottom: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondaryh1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  transition: background 0.3s ease;
}

.theme-toggle:hover {
  background: var(--background-secondary);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.95rem;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 191, 255, 0.3);
}

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

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

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

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

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--foreground);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 100vh;
  background: var(--secondary);
  color: white;
  border-bottom: 1px solid var(--card-border);
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: white;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.mobile-menu a:hover {
  background: var(--background-secondary);
  color: var(--secondary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.floating-element:nth-child(1) {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  width: 200px;
  height: 200px;
  background: var(--secondary);
  top: 60%;
  right: 15%;
  animation-delay: -5s;
}

.floating-element:nth-child(3) {
  width: 150px;
  height: 150px;
  background: var(--primary);
  bottom: 20%;
  left: 20%;
  animation-delay: -10s;
}

.floating-element:nth-child(4) {
  width: 100px;
  height: 100px;
  background: var(--accent);
  top: 30%;
  right: 30%;
  animation-delay: -15s;
}

.floating-element:nth-child(5) {
  width: 80px;
  height: 80px;
  background: var(--secondary);
  bottom: 40%;
  right: 10%;
  animation-delay: -7s;
}

.floating-element:nth-child(6) {
  width: 120px;
  height: 120px;
  background: var(--primary);
  top: 50%;
  left: 5%;
  animation-delay: -12s;
}

/* Floating shapes */
.floating-shape {
  position: absolute;
  opacity: 0.15;
  animation: floatShape 15s infinite ease-in-out;
}

.floating-shape.shape-1 {
  width: 60px;
  height: 60px;
  border: 3px solid var(--primary);
  border-radius: 12px;
  top: 20%;
  left: 15%;
  animation-delay: -2s;
  transform: rotate(45deg);
}

.floating-shape.shape-2 {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  top: 70%;
  left: 8%;
  animation-delay: -8s;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.floating-shape.shape-3 {
  width: 50px;
  height: 50px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  top: 15%;
  right: 20%;
  animation-delay: -4s;
}

.floating-shape.shape-4 {
  width: 70px;
  height: 70px;
  background: var(--primary);
  bottom: 25%;
  right: 25%;
  animation-delay: -11s;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(30px, -30px) rotate(5deg);
  }
  50% {
    transform: translate(-20px, 20px) rotate(-5deg);
  }
  75% {
    transform: translate(20px, 30px) rotate(3deg);
  }
}

@keyframes floatShape {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(20px, -20px) rotate(120deg);
  }
  66% {
    transform: translate(-15px, 15px) rotate(240deg);
  }
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--background-secondary);
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--card-border);
}

.hero-badge span {
  color: var(--primary);
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--secondaryh1) 0%, var(--secondaryh1) 0%);
  /* background: linear-gradient(135deg, var(--foreground) 0%, var(--primary) 100%); */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--foreground-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
section {
  padding: 6rem 2rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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



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

/* Features */
.features {
  background: var(--background-secondary);
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--foreground-muted);
  font-size: 0.95rem;
}

/* About Preview */
.about-preview {
  background: var(--background);
}

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

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

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

.about-image {
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

/* Latest Issues */
.latest-issues {
  background: var(--background-secondary);
}

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

.issue-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.issue-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.issue-header {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  padding: 1.5rem;
  color: white;
}

.issue-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.issue-scope {
  font-size: 0.875rem;
  opacity: 0.9;
}

.issue-body {
  padding: 1.5rem;
}

.issue-abstract {
  color: var(--foreground-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.issue-authors {
  font-size: 0.875rem;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.issue-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--card-border);
}

.issue-date {
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

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

.issues-footer {
  text-align: center;
}

/* Stats Section */
.stats {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: white;
}

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

.stat-item h3 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.stat-item p {
  font-size: 1rem;
  opacity: 0.9;
}

/* CTA Section */
.cta {
  background: var(--background);
  text-align: center;
}

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

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  color: var(--foreground-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Newsletter */
.newsletter {
  background: var(--background-secondary);
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.newsletter p {
  color: var(--foreground-muted);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 1rem 1.5rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card-bg);
  color: var(--foreground);
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

/* Footer */
.footer {
  background: var(--secondary);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto 3rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer-brand p {
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

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

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

.footer-links a {
  opacity: 0.8;
  transition: opacity 0.3s ease, color 0.3s ease;
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.875rem;
}

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

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

.footer-social a:hover {
  background: var(--primary);
}

/* About Page */

.page-header {
  padding: 10rem 2rem 4rem;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: white;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* Mission Section */
.mission {
  background: var(--background);
}

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

.mission-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.mission-text p {
  color: var(--foreground-muted);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Core Values */
.core-values {
  background: var(--background-secondary);
}

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

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.value-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
}

.value-icon svg {
  width: 32px;
  height: 32px;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--foreground-muted);
  font-size: 0.95rem;
}

/* Why Choose Us */
.why-choose {
  background: var(--background);
}

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

.choose-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

.choose-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.choose-card h3 {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.choose-card p {
  color: var(--foreground-muted);
  font-size: 0.95rem;
}

/* Guidelines Page */
.guidelines-nav {
  background: var(--background);
  padding: 2rem;
  position: sticky;
  top: 80px;
  z-index: 100;
  border-bottom: 1px solid var(--card-border);
}

.guidelines-tabs {
  display: flex;
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card-bg);
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

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

.guideline-section {
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--card-border);
}

.guideline-section:nth-child(even) {
  background: var(--background-secondary);
}

.guideline-content {
  max-width: 900px;
  margin: 0 auto;
}

.guideline-content h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

.guideline-content h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 1rem;
}

.duty-list {
  list-style: none;
}

.duty-list li {
  padding: 1rem;
  margin-bottom: 0.5rem;
  background: var(--card-bg);
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  color: var(--foreground-muted);
}

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

.category-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

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

.category-card p {
  color: var(--foreground-muted);
  font-size: 0.9rem;
}

/* Issues Page */
.issues-filter {
  background: var(--background);
  padding: 2rem;
  border-bottom: 1px solid var(--card-border);
}

.filter-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.filter-group input,
.filter-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--foreground);
  font-size: 1rem;
}

.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
}

.issues-main {
  background: var(--background-secondary);
  padding: 4rem 2rem;
}

.all-issues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto 3rem;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.page-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-mobile{
  display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-logo .nav-title{
    font-size: 1.15rem;
  }
  

  .nav-logo img{
    width: 60px;
  }
  .all-issues-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 768px) {



  .about-content,
  .mission-content {
    grid-template-columns: 1fr;
  }

  .all-issues-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .stat-item h3 {
    font-size: 2.5rem;
  }

  .filter-container {
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
  }
}

@media (max-width: 575px) {

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-actions .btn {
    display: none;
  }

    .btn-mobile {
      display: block !important;
    }

        .hero-content {
          position: relative;
          padding-top: 4rem;
        }

        .hero-content .hero-badge{
          position: absolute;
          width: 90vw;
          margin: auto;
          top: 0;
          left: -.7rem;
          right: 0;
        }
}

@media (max-width: 360px) {


  .hero-content .hero-badge {
    position: absolute;
    width: 97vw;
    margin: auto;
    top: 0;
    left: -1.5rem;
    right: 0;
  }
}


/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
}

.dropdown-toggle svg {
  transition: transform 0.3s ease;
}

.dropdown-toggle.active svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--foreground);
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.dropdown-item:hover {
  background: var(--background-secondary);
  color: var(--primary);
}

.dropdown-item svg {
  color: var(--primary);
}

/* Mobile Dropdown Styles */
.mobile-dropdown {
  width: 100%;
}

.mobile-dropdown-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1rem;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.mobile-dropdown-toggle:hover {
  background: var(--background-secondary);
}

.mobile-dropdown-toggle svg {
  transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.active svg {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 1rem;
}

.mobile-dropdown-menu.active {
  max-height: 200px;
}

.mobile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--foreground);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.mobile-dropdown-item:hover {
  background: var(--background-secondary);
  color: var(--primary);
}

.mobile-dropdown-item svg {
  color: var(--primary);
}


/* Download Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-container {
  background: linear-gradient(145deg, var(--card-bg), var(--ice));
  border-radius: 32px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 50px -12px rgba(31, 27, 81, 0.25);
  border: 1px solid var(--border-quiet);
  text-align: center;
}

.popup-overlay.active .popup-container {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--background-secondary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--foreground-muted);
}

.popup-close:hover {
  background: var(--danger);
  color: white;
  transform: rotate(90deg);
}

.popup-close svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.popup-icon {
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 10px 25px -5px rgba(0, 191, 255, 0.5);
  color: white;
  font-size: 48px;
}

.popup-icon i {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.popup-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--secondary);
}

.popup-content {
  margin-bottom: 24px;
}

.popup-message {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.popup-description {
  color: var(--foreground-muted);
  line-height: 1.6;
  font-size: 16px;
}

.popup-progress {
  margin: 32px 0;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--border-quiet);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 100px;
  transition: width 0.5s ease;
}

.progress-text {
  color: var(--foreground-muted);
  font-size: 14px;
  font-weight: 500;
}

.popup-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.popup-btn {
  flex: 1;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}



.popup-footer {
  color: var(--foreground-muted);
  font-size: 14px;
  border-top: 1px solid var(--border-quiet);
  padding-top: 20px;
  margin-top: 8px;
  font-style: italic;
}



/* Responsive Design */
@media (max-width: 640px) {
  .popup-container {
    padding: 30px 20px;
    width: 95%;
  }

  .popup-icon {
    width: 72px;
    height: 72px;
    font-size: 36px;
  }

  .popup-title {
    font-size: 24px;
  }

  .popup-message {
    font-size: 20px;
  }

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

  .popup-btn {
    padding: 12px 20px;
  }
}