@import url('https://fonts.googleapis.com/css2?family=Inter:wght@900&display=swap');

/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* ===== ROOT VARIABLES ===== */
  :root {
    --text-color: #000000;
    --background: #000000;
    --accent-blue: #42b8e7;
    --accent-red: #f06b6b;
    --accent-gray: #a0a0a0;
    --glass-white: rgba(158, 208, 231, 0.24);
    --jet-black: #000000;
    --border-color: rgba(0, 0, 0, 0.8);
    --transition-speed: 0.3s;
    --heading-font: 'Orbitron', sans-serif;
    --body-font: 'Roboto', sans-serif;
  }
  
  /* ===== BODY STYLES ===== */
  html, body {
    width: 100%;
    height: 100%;
    font-family: var(--body-font);
    background: var(--background);
    color: var(--text-color);
    overflow-x: hidden;
  }
  
  body {
    /* Keep background, but we also have parallax and particles now */
    background-image: url('/assets/images/background1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }
  
  /* ===== GLOBAL FONT STYLES ===== */
  h1, h2, h3, h4, .page-title {
    font-family: var(--heading-font);
    font-weight: 900;
    color: black;
    text-shadow: 2px 2px 5px rgba(221, 216, 216, 0.6);
  }
  
  /* ===== BOLD & 3D TEXT INSIDE BOXES ===== */
  .info-container p, 
  .glass-box p, 
  .bullet-points-container ul li, 
  .info-list li {
    font-weight: 900;
    font-size: 1.1rem;
    color: black;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  }
  
  /* ===== HEADER ===== */
  .site-header {
    background: var(--glass-white);
    border-bottom: 2px var(--jet-black);
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.767);
    position: sticky;
    top: 0;
    z-index: 999;
  }
  
  .header-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  
  .site-title {
    font-size: 2rem;
    font-weight: 900;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
    margin-bottom: 0.5rem;
  }
  
  nav a {
    color: black;
    text-decoration: none;
    font-weight: 700;
    margin: 0 10px;
    transition: color 0.3s ease;
  }
  
  nav a:hover {
    color: var(--accent-blue);
  }
  
  /* ===== PARALLAX HERO SECTION (NEW CODE) ===== */
  .parallax-container {
    position: relative;
    width: 100%;
    height: 17vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
  }
  
  .parallax-content {
    z-index: 1; /* Ensure content is above background image */
    background: rgba(127, 221, 245, 0.2);
    padding: 20px;
    border-radius: 8px;
  }
  
  /* ===== MAIN CONTAINER ===== */
  .main-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative; /* so we can layer above #particles-js */
    z-index: 2; /* content above the particle layer */
  }
  
  /* ===== FOOTER ===== */
  .site-footer {
    background: var(--glass-white);
    border-top: 2px solid var(--jet-black);
    padding: 1rem;
    text-align: center;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.6);
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-links a {
    color: var(--jet-black);
    text-decoration: none;
    font-weight: 700;
    margin-left: 10px;
  }
  
  /* ===== SECTIONS & HEADINGS ===== */
  .section {
    margin-bottom: 40px;
  }
  
  .page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
  }
  
  /* ===== GLASS BOX / INFO SECTIONS ===== */
  .glass-box, 
  .info-container, 
  .bullet-points-container {
    background: var(--glass-white);
    backdrop-filter: blur(4px);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.6);
    transition: transform var(--transition-speed);
    margin-bottom: 20px;
  }
  
  .glass-box:hover, 
  .info-container:hover, 
  .bullet-points-container:hover {
    transform: translateY(-5px);
  }
  
  /* ===== BULLET POINTS ===== */
  .info-list {
    list-style-type: disc;
    margin-left: 30px;
    padding-left: 20px;
  }
  
  .bullet-list {
    list-style-type: disc;
    margin-left: 30px;
    padding-left: 20px;
  }
  
  .info-list ul, .bullet-list ul {
    margin-left: 20px;
    list-style-type: circle;
  }
  
  /* ===== ICONS IN BULLETS (NEW CODE) ===== */
  .info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }
  .info-list li .icon {
    margin-right: 10px;
    color: var(--accent-blue);
    font-size: 1.2rem;
  }
  
  /* ===== HIDDEN CLASS FOR EXPANDABLE CONTENT ===== */
  .hidden {
    display: none;
  }
  
  /* ===== FLIP CARDS STYLES ===== */
  #flip-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
  }
  
  .flip-card {
    width: 200px;
    height: 120px;
    perspective: 1000px;
    cursor: pointer;
    position: relative;
    border: 2px solid rgb(0, 0, 0);
    border-radius: 8px;
    background: var(--glass-white);
    box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
  }
  
  .flip-card-front,
  .flip-card-back {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    transition: transform 0.6s;
  }
  
  .flip-card-front {
    background-color: rgba(80, 196, 241, 0.116);
    font-weight: 900;
  }
  
  .flip-card-back {
    background-color: rgba(67, 178, 221, 0.274);
    transform: rotateY(180deg);
  }
  
  .flip-card.flipped .flip-card-front {
    transform: rotateY(180deg);
  }
  
  .flip-card.flipped .flip-card-back {
    transform: rotateY(360deg);
  }
  
  /* ===== DECISION TREE QUIZ STYLES ===== */
  .quiz-question {
    margin: 1rem 0;
  }
  
  .quiz-question p {
    margin-bottom: 0.5rem;
  }
  
  .quiz-question button {
    background-color: #007bff41; /* Primary blue */
    color: white;
    border: 2px solid #000000;
    padding: 10px 15px;
    margin: 5px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
    font-weight: 900;
  }
  
  .quiz-question button:hover {
    background: var(--accent-blue);
    color: #046aad;
  }
  
  /* ===== BRANCHING CHAT SIMULATION STYLES ===== */
 /* Container for the chat bubbles (scrollable) */
.chat-container {
    max-width: 600px;
    margin: 20px auto;
    border: 2px solid #000000;
    border-radius: 10px;
    background: #57bcdb2d;
    padding: 10px;
    overflow-y: auto;
    height: 400px; /* fixed height for a chat-like box */
    position: relative;
  }
  
  /* Generic bubble styling */
  .chat-bubble {
    margin: 10px 0;
    display: inline-block;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    line-height: 1.4;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.589);
    font-size: 0.95rem;
  }
  
  /* Predator bubble on the left (white) */
  .chat-bubble.predator {
    background-color: #1772e94d;
    color: #000;
    border-bottom-left-radius: 0;
    margin-right: auto;
    font-weight: 900;
  }
  
  /* User (parent/child) bubble on the right (blue) */
  .chat-bubble.user {
    background-color: #00b135;
    color: #000000;
    border-bottom-right-radius: 0;
    margin-left: auto;
    font-weight: 900;
  }
  
  /* Container for the choice buttons */
  .choice-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
  }
  
  .choice-buttons button {
    padding: 8px 12px;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    font-weight: 900;
  }
  
  .choice-buttons button:hover {
    background: #53c9f8;
  }  
  
/* Social Media Feed Styles */
#social-feed {
  max-width: 500px;
  margin: auto;
  padding: 10px;
}

.social-post {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.profile-section {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.username {
  font-weight: bold;
  font-size: 14px;
  color: #333;
}

.red-flag-button {
  background-color: #ff4c4c;
  color: white;
  border: none;
  padding: 8px 12px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  display: block;
}

.red-flag-button:hover {
  background-color: #cc0000;
}

.red-flag-message {
  background: #ffecec;
  border-left: 4px solid #ff4c4c;
  color: #d8000c;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  font-size: 14px;
}

/* Fade-in effect for new posts */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

  
  /* ===== PARTICLES.JS CONTAINER ===== */
  #particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* behind other content */
  }
  
  /* ===== RESPONSIVE DESIGN ===== */
  @media (max-width: 768px) {
    .main-container {
      padding: 5px 10px;
      width: 100%;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      height: auto;
    }
  
    .content-box,
    .glass-box,
    .info-container,
    .bullet-points-container {
      padding: 10px;
      width: 100%;
      margin: 0;
      box-sizing: border-box;
      overflow: hidden;
      word-wrap: break-word;
      overflow-wrap: break-word;
      display: block;
    }
  
    .main-container .content-box h1 {
      font-size: 1.4rem;
      line-height: 1.3;
      text-align: center;
      margin-bottom: 10px;
    }
  
    .main-container .content-box h2 {
      font-size: 1.2rem;
      line-height: 1.3;
      text-align: center;
      margin-bottom: 10px;
    }
  
    .main-container .content-box p {
      font-size: 0.9rem;
      line-height: 1.5;
      margin-bottom: 15px;
    }
  
    .main-container .content-box ul {
      padding-left: 20px;
      margin-bottom: 15px;
      font-size: 0.9rem;
      line-height: 1.5;
    }
  
    /* Flip cards in mobile view */
    #flip-cards {
      flex-direction: column;
      align-items: center;
    }
  
    .flip-card {
      width: 90%;
      max-width: 300px;
      margin-bottom: 15px;
    }
  
    /* Footer adjustments */
    .site-footer {
      padding: 1rem;
      font-size: 1rem;
      text-align: center;
    }
  
    .page-title {
      font-size: 1.6rem;
      margin-bottom: 10px;
    }
  
    /* Parallax container smaller height on mobile */
    .parallax-container {
      height: 40vh;
      background-attachment: scroll; /* remove fixed if issues on mobile */
    }
  }
  