html, body {height: 100%;
      margin: 0;
      display: flex;
      flex-direction: column;
      font-family: "Helvetica Neue", Arial, sans-serif;
      color: #222;
      background-color: #FEFCFF;
      font-size: 16px;
      line-height: 1.6;
    }
header {
  background-color: #301934; /* dark purple for top part */
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
    .logo-title {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      padding: 16px 18px;
      background-color: #301934;
    }
    .header-logo { height: 40px; }
    .campaign-name {
      font-size: 18px;
      font-weight: bold;
      margin: 0;
      color: white;
    }

    .desktop-menu {
  display: flex;
  align-items: center;
  background-color: #563c5c;
  padding: 3px 15px;
  position: relative;
}

/* Center the menu absolutely */
.menu {
  list-style: none;
  margin: 0 auto;   /* centers inside flexbox */
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Right-aligned join button */
.join-btn {
  margin-left: auto; /* pushes only this one to the right */
}

.join-btn a {
  background-color: #301934; /* same as top header */
  color: #d3d3d3;            /* light gray text */
  padding: 4px 10px;         /* smaller size */
  border-radius: 0;          /* square edges */
  text-decoration: none;
  font-weight: 500;          /* slightly lighter than bold */
  font-size: 14px;           /* smaller font */
  border: 1px solid #d3d3d3; /* subtle gray border */
  transition: all 0.3s ease;
}

.join-btn a:hover {
  background-color: #d3d3d3; /* gray highlight on hover */
  color: #301934;            /* dark purple text */
  border-color: #d3d3d3;
}
    .menu li { position: relative; margin: 5px; }
    .menu a {
      color: white;
      text-decoration: none;
      padding: 6px 12px;
      display: block;
      font-weight: 500;
    }
    .menu a:hover { background-color: #7B68EE; color: white; }
    .dropbtn { display: inline-flex; align-items: center; transition: background-color 0.3s, color 0.3s; }
    .dropbtn i { font-size: 0.8em; margin-left: 4px; }
    .dropdown:hover .dropdown-content { display: block; }
    .dropdown-content {
      display: none;
      position: absolute;
      background-color: #E6E6FA;
      min-width: 160px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      z-index: 10001;
    }
    .dropdown-content a { padding: 12px 16px; color: black; }

    /* Hide toggle button on desktop */
    .menu-toggle-wrapper { display: none; }
    .sidebar { display: none; }

    /* Footer */
    .last-container {
      text-align: center;
      padding: 20px;
      background-color: #301934;
      color: white;
    }
    .last-container .social-icons { margin: 10px 0; }
    .last-container .social-icons a {
      color: white;
      font-size: 20px;
      margin: 0 10px;
      text-decoration: none;
    }

    main { margin-top: 230px; height:auto; min-height:800px;}
   .btn {
  background: linear-gradient(to bottom, #4A90E2, #357ABD); /* modern blue gradient */
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 5px 50px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  background: linear-gradient(to bottom, #5AA3F1, #3B7EDC);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

    .hidden { display: none; }

    .content-box {
      margin: 15px auto;
      width: 80%;
      height: auto;
      text-align: left;
    }
/* === Group Box Style === */
.post {
  position: relative;
  background: #fdfdfd;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

/* === Checkbox in Top-Left === */
.post input[type="checkbox"] {
  position: absolute;
  top: 15px;
  left: 15px;
  display: none;
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* reduce columns from 4 to 3 for bigger images */
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.image-slot img {
  width: 100%;          /* fill container width */
  height: auto;         /* keep aspect ratio */
  max-height: 350px;    /* increase max height */
  object-fit: fill;
}

.image-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 10px;
}

.image-slot small {
  font-size: 15px;
  text-align: justify;
  padding: 6px;
  color: #444;
}
    /* Popup styling */
    .popup {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.5);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 10000;
    }
.status-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 200px;
  max-width: 80%;
  padding: 20px 30px;
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  border-radius: 10px;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-in-out;
}

.status-message.show {
  opacity: 1;
  pointer-events: auto;
}
.paragraph-box {
  max-height: 400px;
  overflow-y: auto;
  margin: 8px 0 4px 0;
}

.paragraph-box p {
  margin: 0;
  text-align:justify;
  font-size:15px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #222; /* slightly softer black for readability */
}

.content-box a {
  display: inline-block;
  margin: 4px 0 8px 0;
  font-size:15px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}
/* Title styling for dynamically added posts */
.title-box {
  margin: 6px 0 4px 0;
  font-size: 17px;
  font-weight: 600;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #111;
  line-height: 1.4;
}

/* ðŸŽ¯ Highlight and emphasize the description textarea */
textarea[name="description"] {
  border: 2px solid #FF69B4; /* hot pink for emphasis */
  box-shadow: 0 0 5px rgba(255, 105, 180, 0.6); /* subtle glow */
  padding: 10px;
  font-size: 14px;
  background-color: #fffdfd;
  transition: border 0.3s, box-shadow 0.3s;
  height: 200px;
  width: 100%;
  overflow-y: scroll;
  resize: vertical;
}

/* On focus, make it even more obvious */
textarea[name="description"]:focus {
  border-color: #ff1493;
  box-shadow: 0 0 8px rgba(255, 20, 147, 0.8);
}

/* âœ… Scrollbar styles for WebKit browsers */
textarea[name="description"]::-webkit-scrollbar {
  width: 8px;
}

textarea[name="description"]::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

textarea[name="description"]::-webkit-scrollbar-track {
  background-color: #f0f0f0;
}
.vote-slider {
    margin-top: 120px; /* space below header */
    margin-bottom:-200px;
}

.slider-container {
    height: 90px; /* match slide height */
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.8s ease-in-out;
    width: 100%; /* JS will override dynamically */
}

/* Each slide takes full container width */
.slide {
    flex: 0 0 100%;
    height: 90px;
    display: flex;
    justify-content: center; /* horizontal centering */
    align-items: center;     /* vertical centering */
    position: relative;
    color: white;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
}
.slide-inner {
    display: flex;
    flex-direction: row;       /* ← make it horizontal */
    justify-content: center;   /* center horizontally */
    align-items: center;       /* center vertically */
    text-align: center;
    gap: 12px;                 /* space between emoji and text */
    width: 100%;
}

.slide-icon {
    font-size: 25px;
    margin-bottom: 0;   /* remove old spacing */
}
.slide-content {
    font-size: 18px;
    line-height: 1.2;
    word-break: break-word; /* prevents text overflow */
    max-width: 90%; /* prevent cutting off */
}

/* ===== DARK SLIDE THEMES ===== */

.summer  { background: linear-gradient(45deg, #ff6a00, #c04800); }      /* ☀️ */
.winter  { background: linear-gradient(45deg, #0f2027, #203a43); }      /* ❄️ */
.autumn  { background: linear-gradient(45deg, #8e2de2, #4a00e0); }      /* 🍂 */
.rainy   { background: linear-gradient(45deg, #141e30, #243b55); }      /* 🌧️ */
.fire    { background: linear-gradient(45deg, #b31217, #240b36); }      /* 🔥 */
.water   { background: linear-gradient(45deg, #0f3057, #00587a); }      /* 🌊 */

.rainbow { background: linear-gradient(45deg,
            #8e0000,
            #b34700,
            #999900,
            #006600,
            #003366,
            #330066,
            #660033); }                                                  /* 🌈 */

.fairy   { background: linear-gradient(45deg, #5f0a87, #a4508b); }      /* 🧚 */
.galaxy  { background: linear-gradient(45deg, #000000, #1a1a40, #2b1055); } /* 🌌 */


/* 🌸 Pink (Flower) */
.pink    { background: linear-gradient(45deg, #ff4e9b, #c2185b); }      /* 🌸 */


/* 🏆 Trophy (Gold Award Theme) */
.trophy  { background: linear-gradient(45deg, #b8860b, #ffd700, #ffb300); } /* 🏆 */


/* 💡 Neon Theme */
.neon    { background: linear-gradient(45deg, #00ffcc, #ff00ff, #00ffff); } /* 💡 */


/* 🌙 Dark (Night Mode) */
.dark    { background: linear-gradient(45deg, #000000, #0f2027, #1c1c1c); } /* 🌙 */


/* Ensure white text visibility */
.summer, .winter, .autumn, .rainy, .fire, 
.water, .rainbow, .fairy, .galaxy,
.pink, .trophy, .neon, .dark {
  color: #ffffff;
}


/* ===== Animation ===== */

@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.summer,
.winter,
.autumn,
.rainy,
.fire,
.water,
.rainbow,
.fairy,
.galaxy,
.pink,
.trophy,
.neon,
.dark {
  background-size: 200% 200%;
  animation: gradientMove 8s ease infinite;
}
/* ===== PREMIUM EFFECTS FOR NEW THEMES ===== */

/* 🏆 Trophy - Gold Shine Animation */
.trophy {
  position: relative;
  overflow: hidden;
}

.trophy::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1), rgba(255,255,255,0.3));
  transform: skewX(-25deg);
  animation: shine 2s infinite;
}

@keyframes shine {
  0% { left: -75%; }
  50% { left: 125%; }
  100% { left: -75%; }
}


/* 💡 Neon - Glowing Text */
.neon {
  text-shadow:
    0 0 5px #00ffcc,
    0 0 10px #00ffcc,
    0 0 20px #ff00ff,
    0 0 30px #ff00ff,
    0 0 40px #00ffff,
    0 0 55px #00ffff,
    0 0 75px #00ffcc;
}


/* 🌙 Dark/Night - Twinkling Stars */
.dark {
  position: relative;
  overflow: hidden;
}

.dark::before {
  content: "";
  position: absolute;
  width: 2px; height: 2px;
  background: #ffffff;
  box-shadow:
    20px 30px #fff, 50px 80px #fff, 90px 60px #fff, 120px 20px #fff,
    160px 70px #fff, 200px 50px #fff, 250px 90px #fff, 300px 40px #fff;
  animation: twinkle 3s infinite alternate;
}

@keyframes twinkle {
  0% { opacity: 0.2; }
  50% { opacity: 0.8; }
  100% { opacity: 0.2; }
}
/* 🌸 Pink/Flower - Floating Petals */
.pink {
  position: relative;
  overflow: hidden;
}

.pink::before,
.pink::after {
  content: "🌸";
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.7;
  animation: floatPetals 8s linear infinite;
}

.pink::before { left: 10%; animation-delay: 0s; }
.pink::after  { left: 80%; animation-delay: 4s; }

@keyframes floatPetals {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
  50% { transform: translateY(-50px) rotate(180deg); opacity: 0.5; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0.7; }
}

.award-show-header {
  background: linear-gradient(90deg, #8e2de2, #4a00e0);
  color: white;
  padding: 2rem;
  text-align: center;
  z-index: 11;
  position: relative;
}
/* Make buttons look clickable */
button,
.btn,
.award-show-card,
.menu-toggle,
.learn-more-btn,
.award-show-popup-close {
  cursor: pointer;
}
.learn-more-btn {
  margin-top: 0.5rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  color: white;
  background: transparent;
  border: 1px solid white;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  background: rgba(255,255,255,0.2);
}

.learn-more-btn .arrow {
  font-size: 0.8rem;
  margin-left: 4px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.learn-more-btn.active .arrow {
  transform: rotate(180deg); /* Flips arrow when open */
}
    .award-show-container {
  display: none; /* hidden by default, only this one */
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
    .award-show-box {
      flex: 1;
      min-width: 320px;
      background: white;
      padding: 1.5rem;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .award-show-box h2 {
      color: #4a00e0;
      margin-bottom: 1rem;
    }

    .award-show-criteria {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      margin: 1rem 0;
    }

 .award-show-card {
  flex: 1;
  min-width: 140px;
  padding: 1rem;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  cursor: pointer; /* makes clickable */
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.award-show-container p {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    text-align: justify;
}

ul, li {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    text-align: justify;
}

.award-show-card:hover {
  transform: scale(1.05);
  opacity: 0.9;
}
    .award-show-digital { background: #ff6f61; }
    .award-show-album { background: #6a5acd; }
    .award-show-vote { background: #20b2aa; }
    .award-show-video { background: #f4a300; }
    
    /* ✅ Checkbox and label side by side */
    label input[type="checkbox"] {
        vertical-align: middle;
        margin-right: 4px; /* space between checkbox and text */
    }

    label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size:13px;
}
.award-image-container {
    max-width: 100%; /* keeps within parent */
    text-align: center; /* optional: center align */
  }
  .award-image {
    max-width: 100%;  /* scales to parent width */
    height: auto;     /* keeps aspect ratio */
    border-radius: 8px; /* optional: smooth edges */
  }
.award-show-popup {
  display: none; 
  position: fixed;
  z-index: 20000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
}

.award-show-popup-content {
  background: #fff;
  border-radius: 16px;
  max-width: 600px;
  width: 90%;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  position: relative;
  animation: popupFade 0.3s ease;
}

.award-show-popup-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #4a00e0;
  transition: 0.2s;
}
.award-show-popup-close:hover {
  color: #8e2de2;
}

@keyframes popupFade {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.divider-gradient {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, rgba(48,25,52,0) 0%, rgba(48,25,52,0.9) 50%, rgba(48,25,52,0) 100%);
  margin: 28px 0;
}
.black-pin {
    color: #000;       /* solid black */
    font-size: 17px;   /* change size */
    font-style: italic; /* normal italic */
}
html { scroll-behavior: smooth; }
.label-like {
  display: inline-block;
  padding: 6px 10px;
  cursor:pointer;
}
a {
  color: blue;
  text-decoration: underline;
  cursor: pointer;
}
a:hover {
  color: darkblue;
}

   @media (max-width: 768px) {
    .desktop-menu { display: none; }
  .menu-toggle-wrapper {
    display: flex; align-items: center; justify-content: center;
    background: #563c5c; padding: 4px 8px; height: 34px; gap: 4px; width: 100%;
  }
  .menu-toggle { font-size: 18px; color: white; }
  .menu-label { font-size: 14px; color: white; font-weight: 600; }

  .sidebar {
    display: block;
    position: fixed;
    top: 60px;
    left: 0; right: 0;
    width: auto; max-width: none;
    height: 50vh; /* ⬅️ Half the screen height */
    background: #6d4c7d;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
    padding: 20px 15px;
  }
  .sidebar.show { opacity: 1; visibility: visible; transform: translateY(0); }
  .sidebar ul li { margin-bottom: 20px; } /* more spacing */
  .sidebar ul li a {
    text-decoration: none;
    color: #f2e9f8;
    font-size: 18px; /* balanced size */
    line-height: 1.5;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    display: block;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.3s;
  }
  .sidebar ul {
  list-style: none;
  padding: 20px 0 0 0; /* ⬅️ pushes menu items down */
  margin: 0;
}
  .sidebar ul li a:hover { background: #8a6b96; }

  .sidebar .dropdown-content {
    background: #c9b6d4;
    border-radius: 6px;
    padding: 4px 0;
  }
  .sidebar .dropdown-content a {
    color: #301934;
    font-size: 18px;
    padding: 8px 14px;
    display: block;
  }
  .sidebar .dropdown-content a:hover { background: #b497c4; color: #fff; }

  /* Bigger close button */
  .sidebar .close-btn {
    position: absolute;
    top: 8px; right: 20px;
    font-size: 36px; /* ⬅️ Bigger for easy tapping */
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    background:transparent;
  }
  .sidebar .dropdown > a i {
  transition: transform 0.3s;
}
.sidebar .dropdown > a i.rotate {
  transform: rotate(180deg);
}
/* Make all sidebar menu labels uppercase */
.sidebar ul li a,
.sidebar .dropdown-content a {
  text-transform: uppercase;
}
 .content {
     margin-top:200px;
 }
.content-box, .content {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}
.image-grid {
  grid-template-columns: 1fr; /* one image per row */
}
  /* Ensure edit inputs don't break layout in update mode */
  .image-slot input[type="file"],
  .image-slot .edit-caption,
  .image-slot label {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    margin-top: 6px;
    word-wrap: break-word;
  }
  .image-slot {
    padding: 6px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .image-slot img {
    width: 100%;
    height: 250px;
    object-fit: contain; /* keeps images contained */
    display: block;
  }

 
  ul, li {
        margin-left: 10px;
        margin-right: 10px;
        padding:0;
    }
    .black-pin {
    color: #000;       /* solid black */
    font-size: 18px;   /* change size */
    font-style: italic; /* normal italic */
    
}
   .function-button {
    bottom: 10px;
    right: 5px;
    gap: 6px;
    padding: 0;
  }

  .function-button .btn {
    padding: 8px 12px;
    font-size: 13px;
    margin: 3px 0; /* ✅ remove big left/right margins */
  }
  .vote-slider {
    margin-top: 100px; /* space below header */
}

.slider-container {
    height: 100px; /* match slide height */
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Each slide takes full container width */
.slide {
    flex: 0 0 100%;
    height: 100px;
    display: flex;
    justify-content: center; /* horizontal centering */
    align-items: center;     /* vertical centering */
    position: relative;
    color: white;
    font-size: 16px;
    font-weight: 200;
    letter-spacing: 1px;
}

.slide-icon {
    font-size: 18px;
}
.slide-content {
    font-size: 16px;
}

} 

