/* ============================================
   MASTER STYLESHEET – Indie Canvas
   Layout + Theming for all pages
   --------------------------------------------
   Sections:
   1. Global / Body
   2. Layout Container & Header & Homepage
   3. Navigation Bar
   4. Music Player Button
   5. Headings, Text, & Links
   6. Shared Feature / Card Layouts
   7. Start Page
   8. Videos Page
   9. Articles Page
   10. FAQ Section
   11. Tools Page
   12. Footer
   13. Responsive Media Queries
============================================ */


/* ============================================
   1. GLOBAL / BODY
============================================ */

/* Main page background with subtle parallax scroll */
body {
  background: url("images/background1.jpg") no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
  animation: bgScroll 40s linear infinite;
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Soft pastel overlay over the background image */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 240, 248, 0.4);
  pointer-events: none;
  z-index: -1;
}

/* Background scroll keyframes */
@keyframes bgScroll {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 20%;
  }
}

/* Main content container for all pages */
#container {
  max-width: 900px;
  width: 95%;
  margin: auto;
  padding: 20px;
}


/* ============================================
   2. HEADER (Banner)
============================================ */

/* Top banner image at full width */
#header img {
  height: 500px; /* adjust until perfect */
  object-fit: cover;
  object-position: center -60px; /* pull image upward */
}


/* ============================================
   ⭐  HOMEPAGE (INDEX FILE ONLY)  ⭐
============================================ */

/* Spacing for above the banner area */
#header {
  height: 250px;
  overflow: hidden;
}

/* Pull feature boxes closer to the banner */
.homepage-content {
  margin-top: 10px !important;
}

/* Centered tagline below main title */
.homepage-tagline {
  text-align: center;
  margin: 10px 0 5px 0;
  color: #ff3e9e;
  font-size: 22px;
}

/* Featured section: 3 cards side-by-side */
#featured .feature-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap; /* keep in one row */
    gap: 20px;
    margin-top: 20px;
}

/* Individual feature box/card styling */
#featured .feature-box {
    width: 30%;
    min-height: 250px;
    background: #ffd7ec;
    border: 3px solid #ff8fc7;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 159, 200, 0.6); /* subtle glow */
}

/* Larger images inside each card */
#featured .feature-box img {
    width: 200px;       /* Increased image size  */
    height: auto;
    display: block;
    margin: 0 auto 15px auto; /* centers the image */
}


/* Center the card titles */
#featured .feature-box-title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #ff3e9e;
    display: block;
    margin-bottom: 12px;
}

/* Description text inside each feature box */
#featured .feature-box p {
    text-align: left;
    width: 85%;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.45;
}

/* Homepage only — mobile layout */
@media screen and (max-width: 900px) {
    #featured .feature-container {
        flex-direction: column;
        gap: 25px;
    }

    #featured .feature-box {
        width: 90%;
        margin: 0 auto;
    }
}


/* ============================================
   3. NAVIGATION BAR
============================================ */

/* Rounded pastel nav bar aligned to main content width */
#navbar {
  background: #FFD6EB;
  padding: 10px 8px;
  border-radius: 25px;
  margin: 15px auto 25px auto;
  box-shadow: 0 0 10px #ffb8d8;
  max-width: 900px;
  width: 95%;
}

/* Nav list: no bullets, center horizontally, allow wrapping */
#navbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* allow wrapping on small screens */
  gap: 6px 10px;
}

#navbar li {
  margin: 0;
}

/* Nav pill style (links + current page) */
#navbar a,
#navbar .current {
  display: inline-block; /* makes padding clickable */
  padding: 6px 14px; /* increased padding for larger click area */
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  color: #ff2e93;
  background: transparent;
  transition: 0.3s ease;
}

/* Hover and “current page” highlight */
#navbar a:hover,
#navbar .current {
  background: #ffb6d9;
  color: #ffffff;
  box-shadow: 0 0 10px #ffa6d1;
}


/* ============================================
   4. MUSIC PLAYER BUTTON
============================================ */

/* Container that positions the music button near the mascot */
.music-player {
  position: absolute;
  top: 250px;
  right: 15%;
  z-index: 1000;
}

/* Rounded “Play Music” button */
.music-btn {
  background: #ffb6d9;
  border: none;
  padding: 10px 18px; /* increased padding */
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  box-shadow: 0 0 10px #ffb6d9;
  transition: all 0.3s ease;
}

/* Hover feedback */
.music-btn:hover {
  box-shadow: 0 0 15px #ff8ac7;
  transform: scale(1.05); /* slight grow effect */
}

/* Active/playing state */
.music-btn.playing {
  background: #ff5fa6;
  box-shadow: 0 0 20px #ff5fa6; /* brighter glow */
}


/* ============================================
   5. HEADINGS, TEXT & LINKS
============================================ */

/* Headings styling */
h1,
h2,
h3,
h4 {
  color: #ff3e9e;
  text-shadow: 0 0 4px #ffd4ea;
}

/* Paragraph text styling */
p {
  color: #333;
  line-height: 1.6;
}

/* Global link styling */
a {
  color: #ff3e9e;
  font-weight: bold;
  text-decoration: none;
}

/* Link hover effect */
a:hover {
  text-decoration: underline;
}


/* ============================================
   6. SHARED FEATURE / CARD LAYOUTS
   (Used on multiple pages)
============================================ */

/* Generic side-by-side “feature” container */
.feature-container {
  display: flex;
  justify-content: space-between; /* spread out evenly */
  flex-wrap: wrap; /* allow wrapping on small screens */
  gap: 20px;
  margin-top: 20px;
}

/* Individual feature box/card styling */
.feature-box {
  flex: 1;
  min-width: 250px;
  background: #ffe9f5;
  border: 2px solid #ffb6d9;
  border-radius: 15px; /* slightly rounded corners */
  padding: 20px; /* increased padding */
  text-align: center;
  box-shadow: 0 0 10px #ffd1e8;
}

/* Image inside each feature box */
.feature-box img {
  width: 120px;
  height: auto;
  margin-bottom: 10px;
  border-radius: 10px;
}

/* Feature box title */
.feature-box a {
  font-weight: bold;
  color: #d63384;
}

/* Feature box description text */
.feature-box p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4; /* slightly tighter line height */
}


/* ============================================
   7. START PAGE
============================================ */

/* Main page title */
.page-title {
  text-align: center;
  color: #d63384;
  margin-top: 30px;
  font-size: 32px;
  font-weight: 600;
}

/* Layout for the steps section */
.start-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin: 40px auto;
  max-width: 1000px;
  padding: 20px;
  flex-wrap: wrap;
}

/* Subtitle above steps */
.guide-title {
  text-align: center;
  color: #d63384;
  margin-bottom: 30px;
}

/* Individual step boxes */
.step-card {
  background: rgba(255, 240, 248, 0.9); /* semi-transparent pastel pink */
  border: 2px solid #ffb6d9; /* pastel pink border */
  border-radius: 18px;
  padding: 20px 25px;
  margin: 25px auto;
  max-width: 800px; /* limit width on large screens */
  box-shadow: 0 0 12px rgba(255, 170, 200, 0.5);
}

/* Step title */
.step-card h3 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 12px; /* space below title */
  color: #d63384; /* vibrant pink */
  font-size: 20px;
  font-weight: 600;
}

/* Step description text */
.step-card p {
  font-size: 15px;
  line-height: 1.6; /* comfortable line height */
}

/* Link section leading to tools/resources */
.tools-link {
  text-align: center;
  margin-bottom: 50px;
}

/* Link styling */
.tools-link a {
  color: #d63384; /* vibrant pink */
  font-size: 18px;
  font-weight: bold;
}


/* ============================================
   8. VIDEOS PAGE
============================================ */

/* Small subtitle under main heading */
.videos-subtitle {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 25px;
}

/* Main video grid: 2 columns */
.video-grid {
  margin-bottom: 40px;
}

/* Individual video card */
.video-card h3 {
  margin-top: 10px;
  margin-bottom: 6px;
  font-size: 16px;
}

/* Video description text */
.video-card p {
  font-size: 14px;
}

/* Embedded YouTube/video player styling */
.video-card iframe {
  width: 100%; /* full width of container */
  border-radius: 10px; /* rounded corners */
}

/* Additional videos section title */
.more-videos-title {
  text-align: center;
  margin-bottom: 20px;
}

/* Vertical list of additional videos */
.video-list {
  display: flex;
  flex-direction: column; /* stack vertically */
  gap: 18px;
  margin-bottom: 40px;
}

/* Each video item has thumbnail + text box */
.video-item {
  display: flex; /* side-by-side layout */
  gap: 15px; /* space between image and text */
  align-items: flex-start; /* align at top */
  background: #ffe9f5; /* pastel pink background */
  border: 2px solid #ffb6d9; /* pastel pink border */
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 0 8px #ffd1e8; /* subtle shadow */
} 

/* Thumbnail image */
.video-item img {
  width: 120px;
  height: auto; /* maintain aspect ratio */
  border-radius: 10px;
}

/* Text area for title + description + link */
.video-info h3 {
  margin: 0 0 6px 0;
  color: #c21873; /* darker pink for titles */
}

/* Description paragraph */
.video-info p {
  margin: 0 0 8px 0; /* space below paragraph */
  font-size: 14px;
}

/* Link to watch full video */
.video-info a {
  color: #d63384; /* vibrant pink */
  font-weight: bold;
}


/* ============================================
   9. ARTICLES PAGE
============================================ */

/* Column of alternating image/text rows */
.articles-alt-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

/* Shared card row wrapper */
.article-row {
  display: flex;
  align-items: center; /* vertical alignment */
  gap: 20px;
  padding: 18px;
  background: #fff0f8; /* pastel pink background */
  border: 2px solid #ffc5e0; /* pastel pink border */
  border-radius: 18px;
  box-shadow: 0 0 12px rgba(255, 170, 200, 0.4); /* subtle shadow */
}

/* Article image */
.article-row img {
  width: 200px;
  height: auto; /* maintain aspect ratio */
  border-radius: 14px;
  flex-shrink: 0; /* prevent shrinking */
}

/* Article text block */
.article-text h3 {
  color: #c21873; /* darker pink for titles */
  margin: 0 0 6px 0;
}

/* Article description paragraph */
.article-text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

/* Left image (default order: image, then text) */
.left-img {
  flex-direction: row;
}

/* Right image (reverse order: text, then image) */
.right-img {
  flex-direction: row-reverse;
}


/* ============================================
   10. FAQ SECTION
============================================ */

/* Small prompt at bottom of article/video pages linking to FAQ */
.faq-prompt {
  text-align: center;
  margin: 30px 0 40px 0;
}

/* Link styling */
.faq-prompt a {
  font-size: 18px;
  color: #d63384; /* vibrant pink */
  font-weight: bold;
}


/* ============================================
   11. TOOLS PAGE
============================================ */

/* Grid layout for tools/resources cards */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columns */
  gap: 24px;
  margin: 40px auto 40px auto; /* spacing around grid */
  max-width: 900px;
}

/* Individual tool card */
.tool-card {
  background: #ffe9f5; /* pastel pink background */
  border: 2px solid #ffb6d9;/* pastel pink border */
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 0 10px #ffd1e8; /* subtle shadow */
}

/* Tool icon */
.tool-card img {
  width: 90px;
  height: auto; /* maintain aspect ratio */
  border-radius: 14px;
  margin-bottom: 10px;
}

/* Tool title */
.tool-card h3 {
  margin: 8px 0;
  color: #c21873; /* darker pink for titles */
}

/* Tool description text */
.tool-card p {
  font-size: 14px;
  line-height: 1.5; 
  margin: 6px 0 12px 0; /* spacing below paragraph */
}

/* “View tool” button */
.tool-link {
  display: inline-block; /* makes padding clickable */
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffb6d9; /* pastel pink background */
  color: #ffffff; /* white text */
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 8px #ffa6d1; /* subtle shadow */
  transition: 0.2s ease; /* smooth hover transition */
}

/* Hover effect for tool link button */
.tool-link:hover {
  background: #ff3e9e; /* vibrant pink on hover */
}

/* ============================================
   FAQ – Single Box Accordion
============================================ */

/* FAQ container box */
.faq-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Remove internal box styling since the parent has the card design */
.faq-item {
  border-bottom: 1px solid #ffb6d9; /* pastel pink divider */
  padding-bottom: 10px;
  padding-top: 5px;
}

/* No border on last item */
.faq-item:last-child {
  border-bottom: none;
}

/* Hide inputs */
.faq-item input[type="checkbox"] {
  display: none;
}

/* Question line */
.faq-question {
  display: flex;
  justify-content: space-between; /* space between text and arrow */
  align-items: center;
  cursor: pointer;
  color: #d63384; /* vibrant pink */
  font-size: 18px;
  font-weight: bold;
}

/* Arrow icon */
.faq-question::after {
  content: "▼"; /* down arrow */
  font-size: 16px;
  transition: transform 0.3s ease; /* smooth rotation */
}

/* Rotate when opened */
.faq-item input[type="checkbox"]:checked + .faq-question::after {
  transform: rotate(180deg); /* point up */
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease; /* smooth expand/collapse */
}

/* Opened answer */
.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 200px; /* enough to show content */
  margin-top: 8px;
}


/* ==========================================================
   CONTACT PAGE – FINAL LAYOUT, ALIGNMENT, AND STYLING
   Works with the simplified About Us list (no dropdowns)
========================================================== */

/* Layout for the two side-by-side pastel boxes */
.contact-grid {
  display: flex;
  justify-content: center; /* center horizontally */
  align-items: flex-start; /* top alignment */
  gap: 40px;
  margin: 40px auto;
  flex-wrap: nowrap;
}

/* Shared card styling for both boxes */
.contact-box {
  flex: 1;
  min-width: 380px;
  max-width: 470px;
  padding: 30px 34px; /* increased padding */
  box-sizing: border-box; /* include padding in width */
  display: flex;
  flex-direction: column;
}

/* Headings inside cards */
.contact-box h2 {
  text-align: center; /* center heading */
  margin: 0;
  margin-bottom: 10px;
  color: #d63384; /* vibrant pink */
}

/* Subtext */
.contact-box p {
  text-align: center; /* center paragraph */
  margin: 6px 0 22px 0;
  font-size: 15px; /* slightly larger font */
}

/* ============================
   CONTACT FORM SPACING + STYLE
============================ */

/* Form layout */
.contact-form label {
  display: block; /* block to stack vertically */
  margin-bottom: 3px;
  font-weight: bold;
  font-size: 14px;
  color: #d63384; /* vibrant pink */
}

/* Input and textarea styling */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px 10px; /* increased padding */
  border: 2px solid #ffb6d9; /* pastel pink border */
  border-radius: 8px;
  background: #fff7fc; /* very light pink background */
  font-size: 14px;
  margin-bottom: 12px;
}

/* Textarea specific height */
.contact-form textarea {
  height: 120px;
  resize: vertical; /* allow vertical resizing */
}

/* Form button */
.contact-btn {
  width: 100%;
  padding: 12px; /* increased padding */
  font-size: 16px;
  border-radius: 10px;
  background: white; /* white background */
  border: 2px solid black; /* black border */
  cursor: pointer; /* pointer cursor */
  font-weight: bold;
  transition: 0.25s ease; /* smooth hover transition */
}

/* Button hover effect */
.contact-btn:hover {
  background: #f8e8f2; /* light pink on hover */
}

/* =================================
   ABOUT US SIMPLE LIST (NO ACCORDION)
================================= */

/* Team member list styling */
.team-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Individual team member item */
.team-list li {
  font-size: 17px;
  color: #d63384; /* vibrant pink */
  margin-bottom: 14px;
  padding: 6px 0;
  border-bottom: 1px solid #f3b8d4; /* light pink divider */
}

/* No border on last item */
.team-list li:last-child {
  border-bottom: none; /* remove divider */
}


/* ============================================
   12. FOOTER
============================================ */

/* Footer styling */
#footer {
  margin-top: 40px; /* space above footer */
  text-align: center;
  font-size: 12px;
  color: #777; /* gray text */
  padding-bottom: 20px;
}


/* ============================================
   13. RESPONSIVE MEDIA QUERIES
   (Mobile & Tablet adjustments)
============================================ */

/* <= 900px: Tools page goes to 2 columns */
@media (max-width: 900px) {
  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* <= 700px: stack feature cards, video items, article rows, etc. */
@media (max-width: 700px) {

  /* Stack feature boxes vertically */
  .feature-grid {
    flex-direction: column;
  }

  /* Keep nav pills centered on small screens */
  #navbar ul {
    justify-content: center;
  }

  /* Slightly smaller feature images on narrow screens */
  .feature-box img {
    width: 100px;
  }

  /* Stack video item thumbnail and text */
  .video-item {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Full-width video thumbnails */
  .video-item img {
    width: 100%;
    max-width: 260px;
  }

  /* Stack article rows and center text/images */
  .article-row {
    flex-direction: column;
    text-align: center;
  }

  /* Adjust left/right image classes to stack */
  .right-img {
    flex-direction: column;
  }

  /* Resize article images */
  .article-row img {
    width: 75%;
    max-width: 250px;
  }

  /* Articles page: stack all articles vertically */
  .articles-layout {
    flex-direction: column;
    align-items: stretch;
  }

  /* Article card: stack image above text */
  .article-card {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Article card image full width */
  .article-card img {
    width: 100%;
    max-width: 260px;
  }
}

/* <= 600px: Tools page becomes single column */
@media (max-width: 600px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   PAGE TRANSITION ANIMATION
=============================== */

/* Fade-in effect on page load */
body {
  opacity: 0;
  transition: opacity 0.6s ease-in-out; /* smooth fade-in */
}

/* Apply fade-in class to trigger transition */
body.fade-in {
  opacity: 1;
}
