/* 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;
  }
  
  @media (max-width: 600px) {
    .resources-column h2 {
      font-size: 1.5rem;
    }
  }
  