/* Copied from styles.css on 2025-09-06 to standardize naming */
/* Reset + Global Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'EB Garamond', serif;
    background-color: #1d4368;
    color: white;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  
  /* Container Utility */
  .container {
    width: 90%;
    padding-left: 10vw;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .cyber-heading {
    margin-left: 8vw; /* or padding-left: 8vw; */
    display: block;
    font-size: clamp(1.5rem, 8vw, 3rem);
    max-width: 95vw;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.1;
    padding: 0.5rem 0.5rem 0 0.5rem;
    box-sizing: border-box;
  }
  
  /* Top Bar */
  .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #1d4368;
  }
  
  .tagline {
    font-size: 1rem;
    font-style: italic;
    font-weight: 500;
  }
  
  .navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  .navbar a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    transition: color 0.3s ease;
  }
  
  .navbar a:hover {
    color: #cccccc;
  }
  
  /* Divider */
  hr {
    border: none;
    height: 1px;
    background-color: white;
    margin: 0 40px;
  }
  
  /* Hero Section */
  .header {
    text-align: center;
    padding: 100px 20px 60px;
  }
  
  .header h1 {
    font-size: 4.4rem;
    margin-bottom: 10px;
  }
  
  .header p {
    font-size: 1.5rem;
    font-weight: 300;
  }
  
  .header img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin: 20px auto 0;
    display: block;
  }
  
  /* About Section */
  .about {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 60px 0;
    align-items: center;
  }
  
  .about-text {
    flex: 1 1 55%;
  }
  
  .about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .about-text p {
    font-size: 1.2rem;
    color: #f0f0f0;
  }
  
  .about-image {
    flex: 1 1 40%;
  }
  
  .about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  /* Areas of Interest */
  .areas-of-interest {
    padding: 60px 0;
    background-color: #264b6e;
  }
  
  .areas-of-interest h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .interest-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    justify-content: space-between;
  }
  
  .card {
    background-color: white;
    color: #1d4368;
    flex: 1;
    min-width: 0;
    max-width: calc(33.33% - 20px);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .card img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 15px auto;
  }
  
  .card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .card p {
    font-size: 1rem;
    color: #34495e;
  }
  
  /* Shared Content Layout */
  .mental-health-content-wrapper,
  .cybersecurity-content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 30px;
  }
  
  .content-column {
    flex: 1;
    max-width: 60%;
  }
  
  .resources-column {
    flex: 1;
    max-width: 35%;
  }
  
  .resources-column h2 {
    font-family: 'EB Garamond', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #f7f5f0;
  }
  
  /* Carousel Styling */
  .carousel-container {
    margin-top: 20px;
  }
  
  .carousel {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .carousel-item a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
    transition: color 0.3s ease;
  }
  
  .carousel-item a:hover {
    text-decoration: underline;
  }
  
  /* Mental Health Links */
  .mental-health-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .mental-health-links a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
    transition: color 0.3s ease;
  }
  
  .mental-health-links a:hover {
    text-decoration: underline;
  }
  
  /* Cybersecurity Links (match mental-health-links) */
  .cybersecurity-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .cybersecurity-links a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
    transition: color 0.3s ease;
  }
  
  .cybersecurity-links a:hover {
    text-decoration: underline;
  }
  
  /* Responsive Layout */
  @media (max-width: 1024px) {
    .mental-health-content-wrapper,
    .cybersecurity-content-wrapper {
      flex-direction: column;
    }
  
    .content-column,
    .resources-column {
      max-width: 100%;
    }
  
    .resources-column h2 {
      font-size: 2rem;
    }
  }
  
  /* Carousel Styles */
  .carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #1d4368;
    border-radius: 10px;
    padding: 20px;
  }
  
  .carousel {
    display: flex;
    flex-direction: column;
    will-change: transform;
    animation: scroll 24s linear infinite;
  }
  
  .carousel-item {
    flex: 0 0 auto;
    padding: 20px;
    opacity: 0;
    transform: translateY(100%);
    will-change: opacity, transform;
  }
  
  .carousel-item.show {
    animation: scrollin 2s ease-out forwards;
  }
  
  .carousel-item:nth-child(1) { animation-delay: 0s; }
  .carousel-item:nth-child(2) { animation-delay: 2s; }
  .carousel-item:nth-child(3) { animation-delay: 4s; }
  
  @keyframes scroll {
    0% {
      transform: translateY(100%);
    }
    100% {
      transform: translateY(-100%);
    }
  }
  
  @keyframes scrollin {
    0% {
      opacity: 0;
      transform: translateY(100%);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .cybersecurity-content-wrapper {
      flex-direction: column;
    }
    
    .carousel-container {
      height: 300px;
    }
  }
  
  /* Mission Grid Layout */
  .mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .mission-card {
    border-top: 2px solid #f7f5f0;
    padding-top: 1.5rem;
    transition: transform 0.3s ease;
  }
  
  .mission-card:hover {
    transform: translateY(-5px);
  }
  
  .mission-card h2 {
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #f7f5f0;
  }
  
  .mission-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0.8rem 0;
    color: #f7f5f0;
  }
  
  .mission-card .social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1rem 0;
  }
  
  .mission-card a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
  }
  
  .mission-card a:hover {
    text-decoration: underline;
  }
  
  #causes-title {
    font-size: 4.4rem;
    margin-left: -100px;
    text-align: left;
  }
  
  @media (max-width: 768px) {
    .mission-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
  
    .mission-card {
      padding: 1rem;
    }
  
    #causes-title {
      font-size: 3rem;
      margin-left: 0;
      text-align: center;
    }
  }
  
  /* Skip Link */
  .skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
  }
  
  .skip-link:focus {
    top: 0;
  }
  
  /* Footer Styles */
  .footer {
    background-color: #333333;
    padding: 2rem 0;
    margin-top: 3rem;
    width: 100%;
    position: relative;
    bottom: 0;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .footer-left,
  .footer-right {
    flex: 1;
  }
  
  .footer-right {
    text-align: right;
  }
  
  .footer p {
    margin: 0.5rem 0;
    color: #f7f5f0;
  }
  
  .footer a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer a:hover {
    text-decoration: underline;
  }
  
  .copyright {
    margin-top: 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
  }
  
  @media (max-width: 768px) {
    .footer-content {
      flex-direction: column;
      text-align: center;
    }
  
    .footer-right {
      text-align: center;
      margin-top: 1rem;
    }
  }
  
  /* Carousel Styles */
  .carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #0f3b5c;
    border-radius: 10px;
    padding: 20px;
  }
  
  .carousel {
    display: flex;
    flex-direction: column;
    will-change: transform;
    animation: scroll 24s linear infinite;
  }
  
  .carousel-item {
    flex: 0 0 auto;
    padding: 20px;
    opacity: 0;
    transform: translateY(100%);
    will-change: opacity, transform;
  }
  
  .carousel-item.show {
    animation: scrollin 2s ease-out forwards;
  }
  
  .carousel-item:nth-child(1) { animation-delay: 0s; }
  .carousel-item:nth-child(2) { animation-delay: 2s; }
  .carousel-item:nth-child(3) { animation-delay: 4s; }
  
  @keyframes scroll {
    0% {
      transform: translateY(100%);
    }
    100% {
      transform: translateY(-100%);
    }
  }
  
  @keyframes scrollin {
    0% {
      opacity: 0;
      transform: translateY(100%);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  ul {
    padding-left: 1.2em;
  }
  
  ul li {
    margin-bottom: 0.7em;
  }
  
  #cybersecurity-title {
    font-size: 4.4rem;
    margin-left: -100px;
    text-align: left;
  }
  
  #mental-health-title {
    font-size: 4.4rem;
    margin-left: -100px;
    text-align: left;
  }
  
  main {
    flex: 1;
  }
  
  /* About Page Styles */
  .hero-section {
    text-align: center;
    margin: 2rem 0 3rem;
  }
  
  .hero-section .subtitle {
    font-size: 1.4rem;
    font-style: italic;
    color: #f7f5f0;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .content-block {
    margin-bottom: 3rem;
  }
  
  .content-block h2 {
    color: #f7f5f0;
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .content-block p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
  }
  
  .feature-list {
    list-style: none;
    padding: 0;
  }
  
  .feature-list li {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
    position: relative;
  }
  
  .feature-list li::before {
    content: "•";
    color: #3b82f6;
    position: absolute;
    left: 0;
  }
  
  .feature-list li strong {
    color: #3b82f6;
    font-weight: 600;
  }
  
  .mission-quote {
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 3px solid #3b82f6;
    font-style: italic;
    font-size: 1.2rem;
    color: #f7f5f0;
  }
  
  @media (max-width: 768px) {
    .hero-section .subtitle {
      font-size: 1.2rem;
      padding: 0 1rem;
    }
  
    .content-block h2 {
      font-size: 1.8rem;
    }
  
    .mission-quote {
      margin: 1.5rem 0;
      font-size: 1.1rem;
    }
  }
  
  /* Book Recommendations */
  .book-recommendations {
    margin-top: 3rem;
  }
  
  .book-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
  }
  
  .book-card {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    gap: 1.5rem;
  }
  
  .book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }
  
  .book-cover {
    flex: 0 0 120px;
    height: 180px;
    border-radius: 4px;
    overflow: hidden;
  }
  
  .book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .book-info {
    flex: 1;
  }
  
  .book-info h3 {
    color: #f7f5f0;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }
  
  .book-info .author {
    color: #3b82f6;
    font-style: italic;
    margin-bottom: 1rem;
  }
  
  .book-info .description {
    color: #f7f5f0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  
  @media (max-width: 768px) {
    .book-card {
      flex-direction: column;
    }
  
    .book-cover {
      flex: 0 0 auto;
      height: 200px;
      margin: 0 auto 1rem;
    }
  }
  
  /* Movie Recommendations */
  .movie-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* adds space between movies */
    margin-top: 2rem;
  }
  
  .movie-card {
    background-color: rgba(59, 130, 246, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    gap: 1.5rem;
  }
  
  .movie-poster {
    flex: 0 0 120px;
    height: 180px;
    border-radius: 4px;
    overflow: hidden;
  }
  
  .movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .movie-info {
    flex: 1;
  }
  
  .movie-info h3 {
    color: #f7f5f0;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }
  
  .movie-meta {
    color: #3b82f6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .movie-meta span {
    margin-right: 1rem;
  }
  
  .movie-meta span:last-child {
    margin-right: 0;
  }
  
  .movie-description {
    color: #f7f5f0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  
  @media (max-width: 768px) {
    .movie-card {
      flex-direction: column;
    }
  
    .movie-poster {
      flex: 0 0 auto;
      height: 200px;
      margin: 0 auto 1rem;
    }
  }
  
  body {
    font-family: 'EB Garamond', serif;
  }
  
  .contact-title {
    font-size: 3rem;
    text-align: center;
    margin-top: 2rem;
    font-family: 'EB Garamond', serif;
  }
  
  .contact-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0.5rem auto 2rem;
    font-size: 1.2rem;
    color: #d0d0d0;
    font-family: 'EB Garamond', serif;
  }
  
  body {
    font-family: 'EB Garamond', serif;
    background-color: #0f3b5c;
    color: #ffffff;
    margin: 0;
    padding: 0;
  }
  
  /* Contact-specific styling */
  .contact-title {
    font-size: 3rem;
    text-align: center;
    margin-top: 2rem;
  }
  
  .contact-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0.5rem auto 2rem;
    font-size: 1.2rem;
    color: #d0d0d0;
  }
  
  /* Contact Form */
  .form-container {
    max-width: 700px;
    margin: auto;
    padding: 1rem;
  }
  
  form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .name-fields {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .name-fields input {
    flex: 1;
  }
  
  input[type="text"],
  input[type="email"],
  textarea {
    width: 100%;
    padding: 0.5rem 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
    font-size: 1rem;
  }
  
  input:focus,
  textarea:focus {
    outline: none;
    border-bottom: 1px solid #7ab7ff;
  }
  
  textarea {
    resize: vertical;
    min-height: 100px;
  }
  
  button[type="submit"] {
    width: fit-content;
    padding: 0.6rem 1.2rem;
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  button:hover {
    background-color: #ffffff;
    color: #0f3b5c;
  }
  
  @media (max-width: 600px) {
    .name-fields {
      flex-direction: column;
    }
  }
  
  .content-column h2 {
    margin-top: 2.5rem;
  }
  
  /* Standardize paragraph size in main content columns on sectioned pages
     (e.g., cybersecurity.html, mental-health.html). This avoids changing nav,
     footer, cards, and other components by scoping to content-section columns. */
  .content-section .content-column p {
    font-size: 1.2rem;
  }
  
  @media (max-width: 600px) {
    .resources-column h2 {
      font-size: 1.5rem;
    }
  }
  
  /* ===========================
   SoulPrints – Left Rail Badge
   =========================== */
  
  /* Wrapper positions the card on the far-left and keeps it visible as you scroll */
  .sp-left-rail {
    position: sticky;              /* sticks as the page scrolls */
    top: 84px;                     /* clear the top bar + margin */
    z-index: 5;
    margin: 1rem 0 0 40px;         /* align with your hr's 40px gutter */
    max-width: 360px;              /* comfortable read width */
  }
  
  /* The card itself */
  .sp-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow:
      0 8px 28px rgba(0,0,0,0.25),
      inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
    color: #f7f5f0;
  }
  
  /* Thumbnail */
  .sp-thumb {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.18);
  }
  
  /* Body text area */
  .sp-body {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 6px;
    min-width: 0; /* prevent overflow */
  }
  
  /* Title + badge line */
  .sp-head {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  /* Title */
  .sp-title {
    font-family: 'EB Garamond', serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.1;
    margin: 0;
    color: #ffffff;
  }
  
  /* Small "New" badge */
  .sp-badge {
    display: inline-block;
    font-size: 0.72rem;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e63b3b;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  }
  
  /* Copy */
  .sp-copy {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
  }
  
  /* CTA button */
  .sp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 8px 14px;
    margin-top: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    color: #fff;
    background: #d23b3b;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    box-shadow:
      0 8px 18px rgba(210,59,59,0.35),
      inset 0 1px 0 rgba(255,255,255,0.25);
    transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  }
  
  .sp-cta:hover {
    transform: translateY(-1px);
    background: #e14646;
    box-shadow:
      0 10px 22px rgba(210,59,59,0.4),
      inset 0 1px 0 rgba(255,255,255,0.25);
  }
  
  .sp-cta:active {
    transform: translateY(0);
  }
  
  /* ===========================
     Responsive behavior
     - Below 1024px, place the badge centered above the hero content.
     =========================== */
  @media (max-width: 1024px) {
    .sp-left-rail {
      position: static;               /* no sticky on smaller screens */
      margin: 1rem auto 0 auto;       /* center it */
      width: min(680px, 92%);
      max-width: 680px;
    }
  }
  
  /* Make the layout slightly tighter on very narrow phones */
  @media (max-width: 520px) {
    .sp-card {
      padding: 12px 14px;
      border-radius: 12px;
    }
  
    .sp-title {
      font-size: 1.05rem;
    }
  
    .sp-copy {
      font-size: 0.92rem;
    }
  
    .sp-cta {
      font-size: 0.92rem;
      padding: 7px 12px;
    }
  }
  
  .hero-grid {
    --rail: 340px;
    display: grid;
    grid-template-columns: var(--rail) 1fr var(--rail);
    align-items: center;
    gap: 2rem;
  }
  
  /* Home hero alignment overrides: left-align SoulPrints, keep title centered */
  .header .container.hero-grid {
    padding-left: 0;          /* remove .container's 10vw left padding here */
    padding-right: 0;
    width: 100%;
    max-width: none;          /* allow full-bleed so left rail can hit page edge */
    margin: 0;                /* no centering margin so left is truly flush */
    grid-template-columns: var(--rail) minmax(0, 1fr) var(--rail); /* left rail | center | right rail */
  }
  
  /* Make the left rail actually flush-left and non-sticky in the hero */
  .header .container.hero-grid .sp-left-rail {
    position: static;
    margin: 0;                /* cancel the default 40px left margin */
    justify-self: start;      /* ensure it pins to the left grid edge */
  }
  
  /* Ensure the badge content is left-aligned */
  .header .container.hero-grid .sp-card { text-align: left; }
  
  /* Keep the hero text centered within the middle column */
  .header .container.hero-grid .hero-text { text-align: center; }
  
  /* Responsive: stack on smaller screens */
  @media (max-width: 1024px) {
    .header .container.hero-grid {
      grid-template-columns: 1fr;
      row-gap: 1rem;
    }
    .header .container.hero-grid .sp-left-rail { justify-self: start; }
    .header .container.hero-grid .hero-text { text-align: center; }
  }

.hidden-canary {
  background: url('https://dakg4cmpu.../img.gif') !important;
}