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

h1 {
    font-family: 'Bangers', cursive; /* 'cursive' is a fallback font if 'Street Graffiti' is not available */
}


/* Mission & About Us Section */
.glitch-text {
    position: relative;
    display: inline-block;
  }
  
  .glitch-text::before,
  .glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    color: #f0f;
    z-index: -1;
  }
  
  .glitch-text::before {
    animation: glitchTop 1s infinite linear alternate-reverse;
  }
  
  .glitch-text::after {
    animation: glitchBottom 1s infinite linear alternate-reverse;
  }
  
  @keyframes glitchTop {
    0% { transform: translate(2px, -2px); opacity: 0.8; }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(1px, -1px); }
    100% { transform: translate(0, 0); opacity: 0.9; }
  }
  
  @keyframes glitchBottom {
    0% { transform: translate(-2px, 2px); opacity: 0.7; }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(-1px, 1px); }
    100% { transform: translate(0, 0); opacity: 0.9; }
  }


  /* Coming Out Showcase - Headline punk layering */
  
  .glitch-torn {
    position: relative;
  }
  

  /* Coming Out Form */
  @keyframes glitchPulse {
    0% { box-shadow: 0 0 0px hotpink; }
    50% { box-shadow: 0 0 8px hotpink; }
    100% { box-shadow: 0 0 0px hotpink; }
  }
  
  textarea:focus {
    animation: glitchPulse 1s infinite;
  }



  .bg-glitch {
    background-image: url('/images/glitchOverlay.jpeg');
    background-size: cover;
    background-position: center;
    mix-blend-mode: overlay;
    filter: blur(2px) saturate(1.5);
    opacity: 0.4;
  }
  
  /* Add this to your custom CSS if allowed */
.glitch-text {
  position: relative;
  color: black;
  animation: glitch 1s infinite;
}
.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  width: 100%;
  color: #ff69b4;
  clip: rect(0, 0, 0, 0);
}
.glitch-text::before {
  animation: glitchTop 1s infinite;
  top: -2px;
}
.glitch-text::after {
  animation: glitchBottom 1s infinite;
  top: 2px;
}
@keyframes glitch {
  0% { transform: skew(0deg); }
  20% { transform: skew(1deg); }
  40% { transform: skew(-1deg); }
  60% { transform: skew(0.5deg); }
  80% { transform: skew(-0.5deg); }
  100% { transform: skew(0deg); }
}
@keyframes glitchTop {
  0% { clip: rect(0, 9999px, 0, 0); }
  50% { clip: rect(0, 9999px, 3px, 0); }
  100% { clip: rect(0, 9999px, 0, 0); }
}
@keyframes glitchBottom {
  0% { clip: rect(0, 9999px, 0, 0); }
  50% { clip: rect(3px, 9999px, 6px, 0); }
  100% { clip: rect(0, 9999px, 0, 0); }
}

@keyframes explode {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), var(--y)) scale(0.8);
    opacity: 0;
  }
}

.confetti-heart {
  position: absolute;
  width: 1rem;
  height: 1rem;
  color: #e11d48;
  animation: explode 1s ease-out forwards;
  font-size: 1.25rem;
  pointer-events: none;
  transform: scale(1);
}

.shadow-punk {
  box-shadow: 10px 10px 0 #000;
}

.glitch-btn {
  text-shadow: 1px 0 hotpink, -1px 0 cyan;
}

.glitch-border {
  border-image: repeating-linear-gradient(45deg, #fff, #fff 5px, #e11d48 5px, #e11d48 10px) 10;
}

.glitch-overlay::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('https://media.giphy.com/media/l0MYC0LajbaPoEADu/giphy.gif') center/cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
}


.shadow-punk-glitch {
  text-shadow:
    1px 0 #e11d48,
    -1px 0 cyan,
    2px 2px #000;
}

@media (prefers-reduced-motion: no-preference) {
  .glitch-anim {
    animation: glitch 1s infinite linear alternate-reverse;
  }

  @keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -1px); }
    60% { transform: translate(-1px, -2px); }
    80% { transform: translate(1px, 1px); }
    100% { transform: translate(0); }
  }
}

/* ASCII-style Confetti for DOS */
@keyframes floatDown {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(100px) scale(1.2);
    opacity: 0;
  }
}

.confetti-heart-dos {
  position: absolute;
  animation: floatDown 1.2s ease-out forwards;
  font-family: monospace;
  user-select: none;
}

/* Ensure text inside behaves like terminal */
#coming-out-stories-dos * {
  color: #00ff66 !important;
  font-family: monospace !important;
  background: none !important;
  border-color: #00ff66 !important;
}

/* Force mobile DOS block visible and styled */
@media (max-width: 767px) {
  #coming-out-stories-dos {
    display: block !important;
    background-color: #000 !important;
    color: #00ff66 !important;
    font-family: monospace !important;
    padding: 1.5rem !important;
  }
}

/* Like Button for DOS override */
#like-section-dos button {
  background-color: black !important;
  color: #00ff66 !important;
  border: 1px solid #00ff66 !important;
}

#like-section-dos button:hover {
  background-color: #00ff66 !important;
  color: black !important;
}



/* DOS heart confetti */
@keyframes floatDown {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(100px) scale(1.2); opacity: 0; }
}

.confetti-heart-dos {
  position: absolute;
  animation: floatDown 2.0s ease-out forwards;
  font-family: monospace;
  user-select: none;
  pointer-events: none;
  font-size: 1rem;
  color: limegreen;
}


@keyframes floatDown {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(100px) scale(1.4);
    opacity: 0;
  }
}

.confetti-heart-dos {
  pointer-events: none;
  user-select: none;
  position: absolute;
  animation: floatDown 1.2s ease-out forwards;
  z-index: 999;
}

/* === DOS-STYLE MOBILE OVERRIDES === */

.not-tailwind * {
  all: revert !important;
  font-family: monospace !important;
  color: #00ff66 !important;
  background-color: #000 !important;
}

#coming-out-stories-dos {
  background-color: #000 !important;
  color: #00ff66 !important;
  font-family: monospace !important;
  padding: 1.5rem !important;
}

#coming-out-stories-dos * {
  color: #00ff66 !important;
  font-family: monospace !important;
  background-color: transparent !important;
  border-color: #00ff66 !important;
  box-shadow: none !important;
}

/* Fix DOS navigation buttons */
#prev-btn-dos,
#next-btn-dos {
  background-color: #000 !important;
  color: #00ff66 !important;
  border: 1px solid #00ff66 !important;
  font-family: monospace !important;
  padding: 0.5rem 1rem !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
  transition: none !important;
}

#prev-btn-dos:hover,
#next-btn-dos:hover {
  background-color: #00ff66 !important;
  color: #000 !important;
}

/* Fix LIKE button in DOS */
#like-btn-dos {
  background-color: #000 !important;
  color: #00ff66 !important;
  border: 1px solid #00ff66 !important;
  font-family: monospace !important;
  font-weight: bold !important;
  padding: 0.5rem 1rem !important;
  text-transform: uppercase !important;
  transition: none !important;
}

#like-btn-dos:hover {
  background-color: #00ff66 !important;
  color: #000 !important;
}

/* Confetti override for DOS */
@keyframes floatDown {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(100px) scale(1.2); opacity: 0; }
}

.confetti-heart-dos {
  position: absolute !important;
  animation: floatDown 1.2s ease-out forwards !important;
  font-family: monospace !important;
  user-select: none;
  pointer-events: none;
  font-size: 1rem !important;
  color: limegreen !important;
  z-index: 9999;
}

@media (min-width: 768px) {
  .sm-dos\:block {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .sm-dos\:block {
    display: block !important;
  }
}

/*OLD CSS*/
.comment-box {
  color:black;
  background-color: #ffffffcc;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  max-width: 600px;
  margin: 2rem auto;
  font-family: 'Courier New', Courier, monospace;
}

.comment-heading {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #d81b60;
  font-weight: bold;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.75rem;
  background-color: #f9f9f9;
  transition: border-color 0.3s, background-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #d81b60;
  background-color: #fff;
  outline: none;
}

.comment-submit {
  background: linear-gradient(to right, #ec407a, #ab47bc);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comment-submit:hover {
  background: linear-gradient(to right, #ab47bc, #ec407a);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/*Media Queries*/

@media (max-width: 768px) {
  #content {
    display: none;
  }
}

@keyframes heart-bounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.3); }
  60%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.animate-heart {
  animation: heart-bounce 0.4s ease;
}


/*Coming Out Showcase & Countdown*/
#story-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    font-family: 'Courier New', Courier, monospace;
    background-color: linear-gradient(to right, #9333ea, #ec4899, #14b8a6);
}

#story-card {
    background-image: url('../images/paper.jpeg'); /* Update the path as necessary */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    color: black;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    line-height: 1.6;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Flip animation */
@keyframes pageFlip {
  0% {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
  }
  50% {
    transform: rotateY(90deg) scale(0.95);
    opacity: 0.5;
  }
  100% {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
  }
}

.story-card.flip-animation {
  animation: pageFlip 0.6s ease-in-out;
  transform-style: preserve-3d;
  perspective: 1200px;
}

#story-navigation {
    margin-top: 20px;
}

#story-navigation button {
    margin: 0 10px;
    padding: 10px 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    background-color: #eaeaea;
    border: 1px solid #aaa;
    border-radius: 5px;
    cursor: pointer;
}

#story-navigation button:hover {
    background-color: #ddd;
}

.countdown-container {
  text-align: center;
  margin-top: 40px;
}

#countdown {
  font-family: 'Courier New', monospace;
  font-size: 2em;
  color: black;
  margin-bottom: 20px;
}

/* Typewriter effect */
@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  50% { border-color: transparent; }
}

.countdown-container #countdown {
  display: inline-block;
  overflow: hidden;
  border-right: 3px solid black; /* Caret */
  white-space: nowrap;
  letter-spacing: 2px;
  animation: typewriter 4s steps(40, end) 1, blink-caret 0.75s step-end infinite;
}

#notify-button {
  padding: 12px 24px;
  font-size: 1em;
  font-family: 'Courier New', monospace;
  background-color: #222;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#notify-button:hover {
  background-color: #444;
}

#countdown-section {
  text-align: center;
  padding: 2em;
  background: linear-gradient(to right, #ff9a9e, #fad0c4);
  font-family: 'Courier New', monospace;
  color: #000;
  border-radius: 12px;
  margin: 2em auto;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  overflow: hidden;
}

#countdown-title {
  font-size: 1.8em;
  white-space: nowrap;
  border-right: 2px solid black;
  overflow: hidden;
  width: 0;
  animation: typewriter 3s steps(40, end) 1s forwards, blink 0.7s step-end infinite;
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

#countdown {
  font-size: 1.5em;
  margin-top: 1.5em;
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
}

#countdown span {
  font-weight: bold;
  background: #fff;
  color: #000;
  padding: 0.4em 0.7em;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}

#notify-button {
  margin-top: 1.5em;
  background-color: #000;
  color: #fff;
  padding: 0.7em 1.5em;
  border: none;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#notify-button:hover {
  background-color: #333;
  transform: scale(1.05);
}

.time-part {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  animation: typeIn 0.5s ease-out forwards;
  animation-delay: calc(var(--order) * 0.4s);
  font-family: 'Courier New', monospace;
  color: black;
  margin-right: 12px;
}

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


/*Search & Close Buttons*/
button {
  background-image: linear-gradient(to right, #9333ea, #ec4899, #14b8a6) !important;
  color: white !important;
  border: none !important;
  padding: 0.75rem 1.25rem !important;
  font-weight: 600 !important;
  border-radius: 0.375rem !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s ease-in-out !important;
}

button: hover {
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}
   
/* Outer section styling */
.history-section {
  background: grey;
  padding: 60px 30px;
  color: #e0e0e0;
  font-family: 'Arial', sans-serif;
}

/* Two-column wrapper */
.section-wrapper2 {
  display: flex;
  background-color: linear-gradient(to right, #9333ea, #ec4899, #14b8a6);
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  align-items: flex-start;
}

/* Left column: search tools */
.left-column {
  flex: 1;
  min-width: 280px;
  background: linear-gradient(to bottom right, #1f1f1f, #2b2b2b);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(147, 51, 234, 0.4);
}

.left-column .section-heading {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #ec4899;
  text-shadow: 0 0 5px #ec4899;
}

.left-column p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.search-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#searchBox {
  padding: 12px;
  border-radius: 8px;
  border: none;
  width: 100%;
  max-width: 250px;
  font-size: 1rem;
  background-color: #1e1e1e;
  color: #fff;
}

#searchBox::placeholder {
  color: #aaa;
}

#searchBtnDatabase {
  padding: 12px 16px;
  background: linear-gradient(to right, #9333ea, #ec4899, #14b8a6);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#searchBtnDatabase:hover {
  transform: scale(1.05);
}

/* Right column: Mission content */
.right-column {
  flex: 2;
  min-width: 300px;
  background: linear-gradient(to bottom right, #1b1b1b, #292929);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(20, 184, 166, 0.2);
}

.right-column p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #d4d4d4;
}

.section-heading {
  color: #ff3f81;
  text-shadow: 0 0 10px #ff3f81;
  margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 768px) {
  .section-wrapper {
    flex-direction: column;
  }

  .left-column, .right-column {
    width: 100%;
  }
}


/*Mission Statement*/
.section-mission-dark {
  background: #1a1a1a;
  color: #f1f1f1;
  padding: 80px 30px;
  font-family: 'Arial', sans-serif;
}

.mission-flex-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .mission-flex-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.mission-block {
  flex: 1;
  background: #2c2c2c;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 63, 129, 0.1);
}

.mission-block p {
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: bold;
  letter-spacing: 1px;
}

.rainbow-text {
  background: linear-gradient(90deg, #ff6ec4, #7873f5, #4ADEDE, #32ff7e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.neon-text {
  color: #ff3f81;
  text-shadow: 0 0 8px #ff3f81;
}

.mission-block a {
  color: #4ADEDE;
  text-decoration: underline;
}

.mission-block a:hover {
  color: #32ff7e;
}



.section-history-dark {
  background: #111;
  color: #e5e5e5;
  padding: 60px 30px;
}

.history-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 30px;
  background: #222;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(255, 63, 129, 0.15);
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.neon-text {
  color: #ff3f81;
  text-shadow: 0 0 10px #ff3f81;
}

.history-container p {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

  #lightbox-prev, #lightbox-next, #lightbox-close {
    z-index: 1001;
    display: block;
  }

/* Header Section */
.header-section {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.header-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 63, 129, 0.8);
}

/* Search Bar */
.search-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

#searchBox {
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  width: 280px;
  max-width: 90%;
  font-size: 1rem;
}

#searchBtnDatabase {
  padding: 12px 20px;
  background: linear-gradient(to right, #9333ea, #ec4899, #14b8a6);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#searchBtnDatabase:hover {
  transform: scale(1.05);
}

/* Mission Section - Improved Spacing + Rounded Edges */
.mission-section {
  background: #1a1a1a;
  color: #e0e0e0;
  padding: 40px 30px;
  font-family: 'Arial', sans-serif;
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255, 63, 129, 0.2);
  overflow: hidden;
}

/* Lightbox Search Results - Rounded + Scroll Friendly */
#searchResultsBox {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 90vw; /* take up at least 60-70% of screen */
    max-width: 1000px;
    min-width: 600px;

    height: 80vh; /* allow content to expand the height */
    max-height: 100vh; /* but cap it to 90% of screen */
    
    background: white;
    color: black;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#searchResultsBox.show {
  animation: fadeIn 0.4s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

#searchResultsBox .button {
  border-radius: 20px;
  background-color: #111827;
  padding: 24px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

/* Make Close Button a Circle with Gradient */
#searchResultsBox button {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  line-height: 1;
}

#lightbox-overlay {
     display: none;
     position: fixed;
     top: 0; left: 0;
     width: 100%; height: 100%;
     background-color: rgba(0, 0, 0, 0.9);
     display: flex;
     justify-content: center;
     align-items: center;
     z-index: 9999;
   }

   #lightbox-close {
     position: absolute;
     top: 20px;
     right: 30px;
     font-size: 30px;
     background: black;
     color: white;
     border: none;
     padding: 10px 20px;
     cursor: pointer;
     z-index: 10000;
   }

   #lightbox-img {
     max-width: 90%;
     max-height: 90%;
     border-radius: 10px;
   }

   img.thumb {
     height: 150px;
     cursor: pointer;
     margin: 10px;
   }

.hidden {
    display: none;
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.text-content {
  width: 60%; /* Reduce width of text content */
  padding-right: 30px;
  z-index: 1;
  float: left; /* Allow text to wrap around images */
  clear: both; /* Clear float */
}

.intro-text {
  font-size: 1.3em;
  line-height: 1.8;
  color: black;
  font-weight: 500;
  margin-bottom: 30px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5); /* Stronger text shadow for emphasis */
}

.key-achievements {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.key-achievements li {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: black;
  position: relative;
  padding-left: 25px;
}

.key-achievements li:before {
  content: '\2022'; /* Bullet point */
  color: black; /* Vibrant orange bullet */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5em;
}

.quote {
  font-style: italic;
  color: black;
  font-size: 1.3em;
  border-left: 6px solid #ff8c00; /* Orange accent for the quote */
  padding-left: 25px;
  margin-left: 30px;
  font-weight: 600;
  transition: transform 0.3s ease-in-out;
}

.quote:hover {
  transform: scale(1.05); /* Hover effect on quote */
  color: #ff8c00; /* Change color on hover */
}

.rustin-images {
  width: 35%; /* Set width of images container */
  padding-top: 20px;
  overflow-x: auto;
  z-index: 1;
  float: right; /* Float the images to the right */
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}

.rustin-images img {
  border-radius: 12px;
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.7); /* Stronger shadow for images */
}

.rustin-images img:hover {
  transform: scale(1.1);
  filter: brightness(1.3);
  cursor: pointer;
}

/* For smooth scrolling */
.rustin-images::-webkit-scrollbar {
  height: 10px;
}

.rustin-images::-webkit-scrollbar-thumb {
  background-color: #ff8c00;
  border-radius: 10px;
}

.rustin-images::-webkit-scrollbar-track {
  background: #000;
}

/* Media Query for responsive design */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .text-content {
    width: 100%;
    padding-right: 0;
    text-align: center;
    margin-bottom: 30px;
  }

  .rustin-images {
    justify-content: center;
    gap: 15px;
  }

  .rustin-images img {
    max-width: 200px;
  }
}

.background-image2 {
    background-size: cover; /* or 'contain' depending on your need */
    background-position: left;
    background-repeat: no-repeat;
    width: 100%;
    height: 10vh; /* or whatever height you need */
}


.background-image5 {
    background-size: cover; /* or 'contain' depending on your need */
    background-position: left;
    background-repeat: no-repeat;
    width: 60%;
    height: 10vh; /* or whatever height you need */
}

/* Mission Statement at the Bottom of the Content Page */
.mission-statement {
    background-color: rgba(0, 0, 0, 100); /* Semi-transparent background */
    color: white;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 15px;
    font-size: 14px;
    width: 100%;  /* Full width of the content */
    font-family: "Josefin Sans Regular", Courier, monospace;
    text-align: center;
    margin-top: 50px;  /* This pushes the mission statement to the bottom */
}

/* Body */
body {
    font-family: "Josefin Sans Regular", Courier, monospace;
    background-color: black;
    color: white;
    margin: 0;
    padding: 0;
}

/* Announcement Box */
.announcement {
    position: fixed;
    top: 50%; /* Vertically center */
    left: 50%; /* Horizontally center */
    transform: translate(-50%, -50%); /* Adjust position by half of its width and height */
    background-color: black;
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 90%;
    max-width: 400px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
    z-index: 1001; /* Ensure it is above other content */
}


/* Fade-in effect for announcement */
.announcement.show {
    opacity: 1;
    visibility: visible;
}

/* Close button for the search results box */
.close-btn1 {
    background-color: #ff4d4d; /* Red background for visibility */
    color: white;  /* White text */
    border: none;  /* Remove default border */
    border-radius: 50%;  /* Circular button */
    width: 30px;  /* Set the width */
    height: 30px;  /* Set the height */
    font-size: 20px;  /* Font size for the '×' */
    font-weight: bold;  /* Make the '×' bold */
    cursor: pointer;  /* Change cursor to pointer */
    position: absolute;  /* Position it in the top-right corner */
    top: 10px;  /* Space from the top */
    right: 10px;  /* Space from the right */
    padding: 0;  /* Remove padding */
    text-align: center;  /* Center the text */
    z-index: 1002; /* Ensure it's above the search results box */
}

/* Hover effect */
.close-btn1:hover {
    background-color: #e60000;  /* Darker red on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  /* Add a small shadow on hover */
}

/* Focus effect */
.close-btn1:focus {
    outline: none; /* Remove default focus outline */
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.7); /* Red glow on focus */
}

/************************************** Search Results Box */
#searchResultsBox {
    display: none;
    position: fixed;
    background-color: #f9f9f9; /* Light gray background */
    color: black;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 600px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
}



/* Show the search results box when .show is added */
#searchResultsBox.show {
    display: block;
}

/* Close button for the search results box */
.close-btn2 {
    background-color: #ff4d4d; /* Red background for visibility */
    color: white;  /* White text */
    border: none;  /* Remove default border */
    border-radius: 50%;  /* Circular button */
    width: 30px;  /* Set the width */
    height: 30px;  /* Set the height */
    font-size: 20px;  /* Font size for the '×' */
    font-weight: bold;  /* Make the '×' bold */
    cursor: pointer;  /* Change cursor to pointer */
    position: absolute;  /* Position it in the top-right corner */
    top: 10px;  /* Space from the top */
    right: 10px;  /* Space from the right */
    padding: 0;  /* Remove padding */
    text-align: center;  /* Center the text */
    z-index: 1002; /* Ensure it's above the search results box */
}

/* Hover effect */
.close-btn2:hover {
    background-color: #e60000;  /* Darker red on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  /* Add a small shadow on hover */
}

/* Focus effect */
.close-btn2:focus {
    outline: none; /* Remove default focus outline */
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.7); /* Red glow on focus */
}

/* Search Results Container */
#searchResultsContainer {
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px;
    width: 100%;
    color: black;
}

/* Result Item Styling */
.result-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item h3 {
    margin: 0;
    font-size: 18px;
}

.result-item p {
    margin: 5px 0;
    color: #555;
}

/* Full-screen Logo Section */
#landing {
    height: 100vh;
    display: flex;
    background-size: cover;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: black;
    color: white;
    text-align: center;
    position: relative;
}

#logo {
    max-width: 100%; /* Adjust as needed */
}

#scroll-indicator {
    position: absolute;
    bottom: 20px;
    font-size: 18px;
    opacity: 0.7;
    animation: bounce 1.5s infinite;
}

.header {
    position: relative;
    display: inline-block;
}

/* Style the image */
.background-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px; /* Smooth edges */
}

/* Style the title */
.image-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Cool shadow effect */
    font-family: "Sprite Graffiti", "Josefin Sans", Courier, sans-serif;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Slightly dark background */
    border-radius: 10px;
}


/* Content Section Background */
#content {
    position: relative;  /* Allows positioning of child elements */
    background-repeat: no-repeat;
    padding: 20px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rounded-background {
    pad-top: 20px;
    padding-bottom 20px;
    width:  1000px;                /* Width of the circle */
    height: 1000px;               /* Height of the circle (same as width for a perfect circle) */
    background-image: url('../images/swr01.gif');
    background-size: cover;       /* Ensures the image covers the entire circle */
    background-position: center;  /* Centers the image */
    background-repeat: no-repeat;  /* Prevents the image from repeating */
    border-radius: 20%;           /* Makes the div a circle */
    margin: 0 auto;               /* Centers the circle horizontally */
}

.about-content {
    pad-top: 20px;
    padding-bottom 20px;
    width:  570px;
    height: 300px;
    background-size: cover;
    background-position: center;  /* Centers the image */
    background-repeat: no-repeat;  /* Prevents the image from repeating */
}

/* Ensure the navbar is fixed at the top */
#navbar {
    display: block;  /* Ensure the navbar is visible initially */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Initially, the content doesn't need extra margin */
#content {
  padding: 20px;
  transition: margin-top 0.3s ease; /* Smooth transition for margin-top */
}

/* When navbar is visible, push the content down */
#content.navbar-visible {
  margin-top: 80px; /* Adjust this value to match the navbar's height */
}

/* Optional: Add some styling to the h1 */
#content h1 {
  margin-top: 0; /* Remove any top margin */
}

/* Mission statement visibility */
.mission-statement {
    position: relative;
    z-index: 10;
}


#scroll-indicator2 {
    position: absolute;
    bottom: 20px;
    font-size: 18px;
    opacity: 0.7;
    animation: bounce 1.5s infinite;
}

/* Bounce animation */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Navbar styling */
#navbar {
    background-color: black;
    color: white;
    padding: 15px;
    position: center;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Navbar List Styling */
#navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Center the links */
}

/* Style for the <a> links */
nav ul li a {
    text-decoration: none;
    font-size: 1em;
    color: white;
    padding: 10px;
    text-transform: uppercase;
    display: inline-block;
    cursor: pointer;
}

/* Style for the button to look like a link */
nav ul li button {
    background: none;
    font-family: "Josefin Sans Regular", Courier, monospace;
    border: none;
    font-size: 1em;
    color: white;
    text-decoration: none;
    padding: 10px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block;
}

/* Hover effect for both links and the button */
nav ul li a:hover, nav ul li button:hover {
    color: #ccc; /* Change the hover color */
}

/* Focus styles */
nav ul li button:focus, nav ul li a:focus {
    outline: none;
}

/* Pop-up form styling */
.contact-form {
    display: none;  /* Hide the form by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.form-container {
    background-color: white;
    padding: 20px;
    border-color: black;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin: 5px 0;
}

form input, form textarea {
    margin-bottom: 10px;
    padding: 8px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 20px;
}

form button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 20px;
}

form button:hover {
    background-color: black;
}

/* Style for the close button */
.close-btn1 {
    background-color: black; /* Black background */
    color: white; /* White text color */
    border: none; /* Remove border */
    font-size: 1.5em; /* Make the × symbol bigger */
    width: 40px; /* Fixed width */
    height: 40px; /* Fixed height */
    display: flex; /* Flexbox to center the content */
    align-items: center; /* Vertically center the text */
    justify-content: center; /* Horizontally center the text */
    border-radius: 50%; /* Round the button */
    cursor: pointer; /* Change cursor to pointer on hover */
    transition: background-color 0.3s ease; /* Smooth background color transition */
}

/* Hover effect for the close button */
.close-btn1:hover {
    background-color: lightgray; /* Darker gray on hover */
}


/* Full-screen Logo Section */
#landing {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: black;
    color: white;
    text-align: center;
    position: relative;
    height: 100vh; /* Ensure landing page takes the full height of the viewport */
    padding: 20px;
}

#logo {
    max-width: 100%;
}

/* Content Section - Full Page */
#content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    height: 100vh; /* Make sure the content page is also full screen */
    flex-direction: column;
}


.header {
    display: center;
    justify-content: center;  /* Center elements vertically in the header */
    align-items: center;      /* Center elements horizontally in the header */
    text-align: center;
}



/* Modern and cool design for the search box */
#searchBox {
    width: 100%;
    max-width: 400px;
    padding: 15px 25px;
    margin: 20px auto;
    font-size: 18px;
    border-radius: 30px;
    border: 2px solid black;
    background-color: #fafafa;
    color: #333;
    transition: all 0.4s ease-in-out, box-shadow 0.3s ease;
    outline: none;
    position: relative;
}

#searchInput {
    width: 100%;
    max-width: 400px;
    padding: 15px 25px;
    margin: 20px auto;
    font-size: 18px;
    border-radius: 30px;
    border: 2px solid black;
    background-color: #fafafa;
    color: #333;
    transition: all 0.4s ease-in-out, box-shadow 0.3s ease;
    outline: none;
    position: flex;
}

/* Hover effect */
#searchBox:hover {
    border-color: pink;
    background-color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 128, 0, 0.3);
}

#searchInput:hover {
    border-color: pink;
    background-color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 128, 0, 0.3);
}

/* Focus effect */
#searchBox:focus {
    border-color: black;
    background-color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.6);
    transition: all 0.3s ease-in-out;
}


#searchInput:focus {
    border-color: black;
    background-color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.6);
    transition: all 0.3s ease-in-out;
}

/* Placeholder styling */
#searchBox::placeholder {
    color: #aaa;
    font-size: 16px;
    font-style: italic;
}

/* Ripple effect on input click */
#searchBox:focus::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250%;
    height: 250%;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 50%;
    animation: ripple 0.10s linear;
    transform: translate(-50%, -50%);
}

#searchInput:focus::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250%;
    height: 250%;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 50%;
    animation: ripple 0.10s linear;
    transform: translate(-50%, -50%);
}

/* Ripple animation */
@keyframes ripple {
    0% {
        width: 0;
        height: 0;
    }
    100% {
        width: 250%;
        height: 250%;
        opacity: 0;
    }
}


/* Individual search result card styling */
.search-result-card {
    background-color: #f9f9f9; /* Light gray background */
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Slight shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
}

/* Hover effect for individual results */
.search-result-card:hover {
    transform: translateY(-5px); /* Slight lift effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Stronger shadow */
}

/* Styling for titles inside results */
.search-result-card h3 {
    font-size: 1.2em;
    font-weight: 600;
    color: #333; /* Dark gray color */
    margin-bottom: 10px;
}

/* Styling for paragraphs inside results */
.search-result-card p {
    font-size: 1em;
    color: #666; /* Light gray text */
    margin: 5px 0;
}

/* Animation for fade-in */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Style for the close button */
.close-btn2 {
    background-color: black; /* Black background */
    color: white; /* White text color */
    border: none; /* Remove border */
    font-size: 1.5em; /* Make the × symbol bigger */
    width: 40px; /* Fixed width */
    height: 40px; /* Fixed height */
    display: flex; /* Flexbox to center the content */
    align-items: center; /* Vertically center the text */
    justify-content: center; /* Horizontally center the text */
    border-radius: 50%; /* Round the button */
    cursor: pointer; /* Change cursor to pointer on hover */
    transition: background-color 0.3s ease; /* Smooth background color transition */
}

/* Hover effect for the close button */
.close-btn2:hover {
    background-color: #666; /* Darker gray on hover */
}

#searchResultsContainer {
    background-color: white;  /* Background color for the results */
    padding: 20px;            /* Padding for inner spacing */
    border-radius: 8px;       /* Rounded corners for the results box */
    max-height: 400px;        /* Set a maximum height for the container */
    overflow-y: auto;         /* Allow vertical scrolling when content exceeds height */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  /* Shadow for a more modern look */
    margin-top: 20px;         /* Space above the results box */
}

#searchResultsContainer div {
    margin-bottom: 15px; /* Spacing between each result */
    border-bottom: 1px solid #ddd; /* Light border to separate results */
    padding-bottom: 10px;  /* Padding below each result */
}

#searchResultsContainer h3 {
    font-size: 1.2em;  /* Adjust font size for the names */
    margin-bottom: 5px; /* Space below the name */
}

#searchResultsContainer p {
    font-size: 0.95em;  /* Adjust font size for the details */
    color: #555;        /* Light gray color for the text */
}

/* Full-Page About Section */
.full-page-section {
    width: 100%;
    height: 100vh; /* Full viewport height */
    background-color: #e3e1dc; /* The background color you requested */
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-content {
    text-align: center;
    height: 100vh;
    max-width: 800px; /* Optional: limits the content width */
}

about {
    background-color: black;
}

/* Popup styling */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6); /* Darker semi-transparent background for more contrast */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    width: 90%; /* Increased width for a more open design */
    max-width: 700px;
    height: auto;
    padding: 30px;
    border-radius: 15px; /* More rounded corners for modern aesthetics */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition for popup visibility */
}

/* Popup content box */
.popup div {
    background: #ffffff;
    color:black;
    padding: 25px;
    border-radius: 15px; /* Match the popup's corner radius for consistency */
    width: 100%;
    max-height: 85vh; /* Increased height limit for better usage of space */
    overflow-y: auto;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1); /* Softer, larger shadow for a modern floating effect */
    animation: popupFadeIn 0.5s ease-out; /* Add an animation to the popup */
}

/* Popup fade-in effect */
@keyframes popupFadeIn {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

.search-input {
    position: flex;
    
}



.archive-description {
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 20px auto;
    width: 90%;
    max-width: 800px;
    line-height: 1.6;
    font-size: 1rem;
    font-family: "Josefin Sans Regular", Courier, monospace;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Enhance keywords for emphasis */
.archive-description .keyword {
    color: #ff4d4d;
    font-weight: bold;
}


/******************  IML Section ***************************/
/* IML Section Styling */
/* Base IML Section */
#iml-feature.full-page-section {
  background: #111;
  color: #f5f5f5;
  padding: 60px 40px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Title Image */
.iml-title img.background-image10 {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Layout Wrapper */
.iml-flex-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Left Content (Text) */
.iml-left {
  flex: 1 1 50%;
  min-width: 300px;
  padding-right: 20px;
}

.iml-left h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffd700;
}

.iml-description p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #ddd;
}

/* Links Section */
.container-content h3 {
  font-size: 1.4rem;
  color: #ff8800;
  margin-top: 30px;
}

.container-content p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 15px;
}

.iml-link {
  display: inline-block;
  background-color: #ff7b00;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 30px;
  margin-right: 15px;
  margin-top: 10px;
  transition: background 0.3s;
}

.iml-link:hover {
  background-color: #ff9900;
}

/* Right Content: Collage Container */
.iml-right {
  flex: 0 0 35%;
  max-width: 35%;
  overflow-y: auto;
  max-height: 600px;
  padding-left: 20px;
  padding-top: 80px; /* Adds space above the collage */
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

/* Collage Grid */
.collage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-right: 10px;
  padding-top: 10px;
}

/* Optional: Smooth Scrollbar */
.collage-grid::-webkit-scrollbar {
  width: 6px;
}
.collage-grid::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

/* Image Styling */
.collage-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.collage-grid img:hover {
  transform: scale(1.05);
}

/* Responsive Fixes */
@media screen and (max-width: 900px) {
  .iml-flex-wrapper {
    flex-direction: column;
  }

  .iml-left, .iml-right {
    max-width: 100%;
    padding-right: 0;
  }

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

/* Archive & Event Info Section */
.container-content {
  background-color: #181818;
  border-top: 2px solid #333;
  padding: 60px 30px;
  text-align: center;
}

.container-content h3 {
  font-size: 1.6rem;
  color: #f5f5f5;
  margin-bottom: 15px;
}

.container-content p {
  font-size: 1rem;
  color: #bbbbbb;
  margin-bottom: 25px;
}

.links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.iml-link {
  background-color: #333;
  color: #f5f5f5;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.iml-link:hover {
  background-color: #444;
  transform: translateY(-2px);
}








/* Archive & Event Info Section */
.container-content {
  background-color: #111;
  color: #eee;
  padding: 50px 30px;
  text-align: center;
  border-top: 4px solid #ff6ec7;
}

.container-content h3 {
  font-size: 1.8rem;
  color: #ff6ec7;
  margin-bottom: 20px;
}

.container-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.iml-link {
  background-color: #ff6ec7;
  color: #000;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.iml-link:hover {
  background-color: #ff87d7;
  transform: scale(1.05);
}

/*lesbian section*/
#lesbian-legacy {
    background-color: #e3e1dc;
    color: white;
    padding: 20px;
    height: 90vh;
}

#lesbian-legacy h2, #lesbian-legacy h3 {
    color: pink; /* Gold color for headers */
}

#lesbian-legacy a {
    color: #4DA6FF; /* Blue color for links */
    text-decoration: none;
}

#lesbian-legacy a:hover {
    text-decoration: underline;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
}

.left-content {
    width: 50%;
    padding-right: 20px;
    background-color: #444; /* Dark background for left box */
    border-radius: 10px; /* Rounded corners */
    border: 2px solid pink; /* Pink border around the box */
    padding: 20px;
    font-family: 'Courier', monospace;
    color: whitesmoke;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5); /* Add a subtle shadow */
    max-height: 450px; /* Limit height for scrolling */
    overflow-y: auto; /* Enable vertical scrolling */
}

.right-content {
    width: 60%;
    overflow-y: auto;
    max-height: 500px;
    background-color: #444;
    font-family: 'Courier', monospace;
    color: whitesmoke;
    padding: 10px;
    border-radius: 10px; /* Rounded corners */
    border: 2px solid pink; /* Pink border around the box */
    padding: 20px;
    max-height: 450px; /* Limit height for scrolling */
    overflow-y: auto; /* Enable vertical scrolling */
}

.scrolling-text {
    max-height: 450px;
    overflow-y: scroll;
}

.scrolling-img {
    width: 100%;
    margin-top: 10px;
    border-radius: 5px;
}

#iml-bottom-container {
    background-color: #444; /* Dark background to blend with the section */
    color: white;
    padding-bottom: 50px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.container-content {
    max-width: 900px;
    color: white;
    margin: 0 auto;
    text-align: center;
}

#iml-bottom-container h3 {
    color: #FFD700; /* Gold color for the header */
    margin-bottom: 10px;
}

#iml-bottom-container p {
    color: white;
    margin-bottom: 20px;
}

.links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.iml-link {
    background-color: #FFD700; /* Gold color for the buttons */
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.iml-link:hover {
    background-color: #4DA6FF; /* Darker gold when hovered */
}


/* Search Results Box (Matching Archive Search Style) */
.search-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: 80vh;
    z-index: 1000;
}

/* Close Button Styling */
.close-btn2 {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.close-btn2:hover {
    background-color: #d93636;
}

/* Individual Result Card Style */
.result-card {
    background-color: #f0f0f0;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 12px;
    border-left: 5px solid #4DA6FF;
    transition: background-color 0.3s, transform 0.3s;
}

.result-card:hover {
    background-color: #e3f2fd;
    transform: scale(1.02);
}

/* Text Styling */
.result-card h3 {
    margin: 0;
    padding-bottom: 5px;
    color: #333;
}

.result-card p {
    margin: 0;
    padding-bottom: 5px;
    color: #666;
    line-height: 1.6;
}

/* General Animation Styles */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Apply Animation to the Form and Text Box */
.form-text-box, .form-box {
    animation: fadeIn 1s ease forwards;
    opacity: 0; /* Start as hidden */
}

/* Trigger Animation on Scroll */
.show-on-scroll {
    opacity: 1; /* Make visible when in view */
}

/* Coming Out Section Styling */
#comingOutSection {
  background: linear-gradient(135deg, #f7d6e0, #d0e6f6);
  padding: 4rem 2rem;
  scroll-margin-top: 100px;
  font-family: 'Helvetica Neue', sans-serif;
  color: #333;
}

.content-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: center;
}

.form-text-box {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background-color: #ffffffcc;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-text-heading {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #d81b60;
}

.form-text-paragraph {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.form-box {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background-color: #ffffffcc;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 1rem;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #d81b60;
  outline: none;
}

.submit-btn {
  background: linear-gradient(to right, #ec407a, #ab47bc);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 2rem;
  cursor: pointer;
}

.submit-btn:hover {
  background: linear-gradient(to right, #ab47bc, #ec407a);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive behavior */
@media (max-width: 768px) {
  .content-container {
    flex-direction: column;
  }
}
/* Mobile Responsive Design */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
        gap: 20px;
    }

    .form-text-box, .form-box {
        max-width: 100%;
    }
}

/* Mobile-responsive adjustments */
@media (max-width: 768px) {
  .sidebar {
    display: none; /* Hide sidebar on smaller screens */
  }
  .content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }
  .menu {
    display: none; /* Hide menu items initially */
  }
  .menu.active {
    display: none; /* Show when toggled */
  }
}

.search-popup {
  width: 90%; /* Reduce width on small screens */
  max-width: 400px; /* Limit max width */
  padding: 15px;
}

@media (max-width: 600px) {
  .search-popup {
    width: 95%;
    font-size: 14px;
  }
}

.sidebar {
  position: fixed;
  left: -250px; /* Hide off-screen */
  width: 250px;
  height: 100vh;
  background: #222;
  transition: left 0.3s ease-in-out;
}

.sidebar.open {
  left: 0; /* Show sidebar when active */
}

@media (max-width: 768px) {
  .sidebar {
    width: 200px; /* Adjust for small screens */
  }
}

.search-container {
  width: 100%;
  max-width: 500px;
}

@media (max-width: 600px) {
  .search-container {
    display: none;
  }
}

@media (max-width: 768px) {
  .rounded-background {
    display: none;
  }
}

.search-container {
  width: 100%;
  max-width: 500px;
}

@media (max-width: 600px) {
  .search-container {
    display: none;
  }
}

.coming-out-section {
  background: linear-gradient(45deg, #ff7eb3, #ff758c);
  color: white;
  padding: 50px;
  border-radius: 10px;
  max-width: 800px;
  margin: auto;
}

@media (max-width: 768px) {
  .coming-out-section {
    padding: 30px;
    font-size: 14px;
  }
}

.iml-collage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.iml-collage img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

#pride-month {
  padding: 60px 20px;
  height: 100vh;
  background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fad0c4, #a1c4fd, #c2e9fb);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: #222;
  font-family: 'Segoe UI', sans-serif;
}

@keyframes gradientBG {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

.pride-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.pride-history, .pride-timeline {
  flex: 1 1 45%;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  max-height: 800px;
  overflow-y: auto;
  transition: transform 0.3s ease;
}

.pride-history:hover, .pride-timeline:hover {
  transform: scale(1.02);
}

.timeline-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.timeline-buttons button {
  background: #ff6ec4;
  background: linear-gradient(to right, #ff6ec4, #7873f5);
  border: none;
  padding: 10px 14px;
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.timeline-buttons button:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.timeline-output {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
  min-height: 80px;
}


/* Pride gallery layout - matching Lavender vibe */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  padding: 24px;
  background: linear-gradient(to bottom, #f5f0ff, #fff);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(180, 160, 240, 0.15);
}

/* Pride gallery images */
.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 2px solid rgba(200, 170, 255, 0.35);
  box-shadow: 0 8px 20px rgba(175, 145, 255, 0.15);
  filter: brightness(1.05) contrast(0.95) saturate(0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Hover animation */
.gallery-grid img:hover {
  transform: scale(1.035);
  box-shadow: 0 12px 30px rgba(145, 115, 245, 0.25);
}

/* Section header */
.pride-gallery h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #6c4eb3;
  text-align: center;
  margin-bottom: 12px;
  text-shadow: 0 1px 2px rgba(120, 90, 160, 0.2);
}

.lightboxOverlay {
  background: rgba(60, 45, 85, 0.95) !important;
}

.lb-image {
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(155, 125, 245, 0.35);
  filter: brightness(1.05) saturate(0.9);
}

.lb-caption {
  color: #fefaff !important;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  background-color: rgba(100, 80, 140, 0.6);
  padding: 10px 20px;
  border-radius: 0 0 16px 16px;
}

.lb-prev, .lb-next {
  filter: brightness(1.3);
}

.lb-close {
  color: #ffffff !important;
  font-size: 28px;
}

#lavender-legacy {
  background-color: #f7f1f9;
  padding: 60px 20px;
  border-top: 4px solid #b86bb9;
  color: #333;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #8a3a8a;
  margin-bottom: 0.3em;
}

.section-header p {
  font-size: 1.2rem;
  color: #555;
}

.lavender-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

.lavender-text {
  flex: 1 1 400px;
}

.lavender-text p {
  margin-bottom: 1.2em;
  line-height: 1.6;
}

.lavender-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.lavender-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.lavender-gallery img:hover {
  transform: scale(1.03);
}

/* Modal (Lightbox) */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 2rem;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
  animation: fadeIn 0.5s;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
}

/* Simple fade in animation */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}

  .modal-navigation {
    margin-top: 20px;
    text-align: center;
  }

  .nav-button {
    background-color: #6a11cb; /* Violet */
    color: white;
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
  }

  .nav-button:hover {
    background-color: #2575fc; /* Blue */
  }
 
 /* Fade-in transition for story changes */
 .fade-in {
   animation: fadeIn 0.5s ease-in-out;
 }

 @keyframes fadeIn {
   0% {
     opacity: 0;
   }
   100% {
     opacity: 1;
   }
 }
 

