/* ===============================
   BASE & VARIABLES
   =============================== */
:root {
  --gold: #C9A255;
  --purple: #7A3FB6;
  --black: #000;
  --white: #fff;
  --gray-dark: #1a1a1a;
}

/* Reset & Global Defaults, scoped to .vv-home so nothing leaks onto Kadence's own chrome/interior pages */
.vv-home * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*
     Base font: 100% typically equals the browser default of ~16px.
     By using % for font-size, everything else can scale accordingly.
  */
.vv-home {
  font-size: 100%;
  font-weight: 600;
  /* Slightly bolder for all text*/
  font-family: "Poppins", sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  /* Keep line-height unitless or numeric for flexibility */
  max-width: 100%;
  overflow-x: hidden; /* hard stop for any stray overflow */
  /* Prevent mobile browsers' automatic text-inflation from unpredictably resizing text */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.vv-home img,
.vv-home video {
  max-width: 100%;
  height: auto;
}

/* ===============================
     HERO SECTION
     =============================== */
.hero {
  position: relative;
  min-height: 50vh; /* Ensure height stays proportional */
  display: flex; /* Use flexbox to align items */
  flex-direction: column; /* Stack elements vertically */
  align-items: center; /* Center horizontally */
  justify-content: flex-start; /* Align to the top */
  background: linear-gradient(45deg, var(--purple), var(--gold));
  background-size: cover;
  background-blend-mode: overlay;
  overflow: hidden; /* Prevent content overflow */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/Textures/1.png') repeat; /* Add texture */
  opacity: 0.1; /* Reduce opacity for subtle effect */
  z-index: 0; /* Ensure this is behind everything */
}

.hero-overlay {
  text-align: center;
  margin-top: -1rem; /* Reduce spacing above text */
}

.hero-overlay p {
  font-size: 2rem;
  line-height: 1.5;
  color: var(--white);
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.721);
  overflow-wrap: break-word; /* defensive: don't let a long line push past the viewport */
}

/* begining of logo and images in hero*/
.parallax-image {
  width: 30%; /* Proportional size */
  margin-top: -6rem; /* Remove margins */
  margin-bottom: 2rem;
  z-index: 5; /* Ensure above background */
  position: relative;
}

.hero-images {
  display: flex;
  justify-content: space-between; /* Distribute images to sides */
  width: 100%; /* Full width of the Hero section */
  max-width: 1200px; /* Optional: Limit width for better alignment */
  margin-top: -8rem; /* Reduce spacing above */
  margin-bottom: -7rem; /* Reduce spacing below */
  z-index: 4; /* Ensure they’re above the background */
}

.parallax-left {
  width: 15%; /* Adjust size proportionally */
  transform: translateY(0); /* Parallax effect will apply here */
  margin-left: -10%;
}

.parallax-right {
  width: 15%; /* Adjust size proportionally */
  transform: translateY(0); /* Parallax effect will apply here */
  margin-right: -10%;
}
/* End of logo and image area */

/* Specific Elements */
/*.intro-text {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--white);
  margin-left: -18%;
}*/

/* beginning of initial word sliding effect */
.key-roles {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--gold);
  position: relative;
  padding: 1rem 0; /* Add vertical padding */
  height: calc(5.5rem + 1rem); /* Account for the added padding */
  line-height: 6rem;
  overflow: hidden; /* Ensures no words overflow */
  overflow-wrap: break-word; /* defensive: rotating words vary in length */
}

.dynamic-words {
  position: relative;
  height: 3.5rem; /* Match the font size */
  display: block;
}

.dynamic-words span {
  display: block;
  position: absolute;
  top: 0; /* Start position */
  left: 0;
  width: 100%;
  font-size: 3.5rem; /* Set explicit size */
  transform: translateY(100%); /* Start below the container */
  opacity: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  overflow-wrap: break-word; /* defensive: rotating words vary in length */
}

.dynamic-words span.active {
  transform: translateY(0); /* Bring into view */
  opacity: 1;
}

.dynamic-words span.inactive {
  transform: translateY(-100%); /* Slide out above the container */
  opacity: 0;
}

.dynamic-words span.active:last-of-type {
  animation: scale-up 1s ease forwards;
  text-shadow:
    0 0 5px #f6b534,    /*Inner glow */
    0 0 9px #f8c96a;   /* Maximum spread glow */
  font-weight: bold;
  color: rgb(255, 255, 255); /* Adds a subtle hover color shift */
}

@keyframes scale-up {
  0% { transform: scale(1); }
  100% { transform: scale(2); }
}

/*end of initial word sliding effect */

/* beginning of final hero statement sentence */
.hero-statement {
  font-size: 2rem;
  line-height: 1.5;
  margin-top: 1rem;
}

.hero-statement .emphasis {
  text-decoration: underline;
  font-weight: bold;
  text-shadow:
    4px 4px 8px #00000049,
    4px 4px 8px #8343c3e1;
  font-size: 2.3rem;
}

.tagline {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.tagline .glow {
  font-weight: bold;
  color: var(--purple);
  text-shadow: 0 0 10px var(--gold), 0 0 20px var(--gold);
  animation: glow-effect 1.5s infinite alternate;
}

/* Glowing Animation */
@keyframes glow-effect {
  from {
    text-shadow: 0 0 10px var(--gold), 0 0 20px var(--gold);
  }
  to {
    text-shadow: 0 0 15px var(--gold), 0 0 25px var(--gold);
  }
}
/* ===============================
     END OF HERO SECTION
     =============================== */

/* ===============================
     WHY? SECTION
     =============================== */

.why-section {
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
}

.why-text {
  font-size: 1.6rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  color: var(--white);
}

/* ===============================
     END OF WHY? SECTION
     =============================== */

/* ===============================
     MISSION SECTION
     =============================== */
.mission-statement {
  background-color: var(--black);
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 3rem;
  text-transform: uppercase;
}

.social-title {
  font-size: 2.8rem;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-shadow: 0px 0px 8px var(--gold);
}

/* Mission Cards */
.mission-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.mission-card {
  position: relative;
  color: var(--white);
  border-radius: 8px;
  width: 25%;
  height: 300px; /* Set height for a proportional look */
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-card:nth-child(1) {
  background: url('../images/Mission/LeftMission.png');
  background-size: cover;
}

.mission-card:nth-child(2) {
  background: url('../images/Mission/CenterMission.png');
  background-size: cover;
}

.mission-card:nth-child(3) {
  background: url('../images/Mission/RightMission.png');
  background-size: cover;
}

.mission-card:hover {
  background-color: var(--gold); /* Solid color on hover */
  transform: scale(1.05); /* Subtle scaling */
}

.mission-card::before {
  content: attr(data-title);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  color: var(--white);
  text-transform: uppercase;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  opacity: 1;
  transition: opacity 0.3s ease-in-out;

  /* Border and Padding for Sub-Titles */
  border: 2px solid var(--white); /* Adds a gold border */
  padding: 0.5rem 1rem; /* Adds breathing room around the text */
  border-radius: 8px; /* Rounds the border edges */
  background-color: rgba(0, 0, 0, 0.6); /* Subtle background for contrast */
}

.mission-card:hover::before {
  opacity: 0; /* Fade out the title on hover */
}

.mission-text {
  opacity: 0;
  visibility: hidden;
  font-size: 1.5rem;
  color: var(--black);
  line-height: 1.5;
  text-align:inherit; /* Center-align text */
  width: 100%; /* Ensure the text spans most of the card width */
  max-width: 100%; /* Prevent overflow */
  padding: 0 0rem; /* Add padding for better readability */
  box-sizing: border-box; /* Include padding in width calculations */
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.mission-card:hover .mission-text {
  opacity: 1;
  visibility: visible;
}

/* Hover Animation */
.mission-card:hover {
  background: var(--gold); /* Change to a solid color for contrast */
}

/* ===============================
     END OF MISSION SECTION
     =============================== */

/* ===============================
     START OF MEMBERS/ARTIST SECTION
     =============================== */

/* Section Base Styles */
.members-section {
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
}

.Members-title {
  font-size: 2.8rem;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 2rem;
  text-shadow: 0px 0px 8px var(--gold);
}

/* Section Title */
.section-title {
  font-size: 2.8rem;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-shadow: 0px 0px 8px var(--gold);
}

/* Category Tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 2rem; /* Increased spacing */
  margin-bottom: 2.5rem;
  max-width: 80%; /* Match section width */
  margin-left: auto;
  margin-right: auto;
}

.tab {
  font-size: 1.5rem;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.8rem 2rem;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease-in-out;
  color: #b7b7b7;
  opacity: 0.65;
}

.tab.active {
  color: var(--gold);
  border-bottom: 3px solid var(--gold);
  font-size: 1.8rem;
  text-shadow: 0px 0px 10px var(--gold);
  opacity: 1;
}

/* Arrows */
.arrow {
  font-size: 3rem;
  color: var(--gold);
  background: none;
  border: 0.25rem solid var(--gold);
  border-radius: 50%; /* Keep rounded shape */
  width: 60px;
  height: 60px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease-in-out, border-color 0.3s ease;
  z-index: 100 !important;
}

.arrow:hover {
  transform: scale(1.05);
  border-color: var(--white);
}

.left-arrow {
  left: 4rem;
}

.right-arrow {
  right: 4rem;
}


/* Carousel */
.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 900px; /* Slightly larger */
  margin: 0 auto;
}

/* Member Cards */
.carousel-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  width: 100%;
  position: relative; /* Ensures absolute positioning inside */
  height: 30rem;
}

.member-card {
  display: flex;
  flex-direction: column;
  position: absolute !important;
  align-items: center;
  background: linear-gradient(135deg, var(--purple), var(--gold));
  border-radius: 15px;
  width: 30rem;
  height: 30rem;
  padding: 1rem;
  transform: translate(-50%, -50%) translateX(200%);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-out;
}

.member-name {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--gold);
  color: var(--black);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  width: 100%;
  text-align: center;
  overflow-wrap: break-word; /* defensive: names vary in length */
}

.member-card.active {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.member-card.previous {
  transform: translateX(-100%) !important;
  opacity: 0;
}

.member-card.next {
  transform: translateX(100%) !important;
  opacity: 0;
}

/* Image Hover Effect */
.member-image {
  width: 20rem;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.member-card:hover {
  transform: scale(1.05);
}

/* Member Details */
.member-details {
  flex: 1;
  text-align: center;
}

.member-card.active .member-details {
  display: block;
}

.member-bio {
  font-size: 0.9rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 10px; /* Space between icons */
  justify-content: center;
  margin-top: 10px;
}

.social-links a {
  display: inline-block;
  width: 40px; /* Adjust size */
  height: 40px;
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.social-links a img {
  width: 100%; /* Makes sure the images fill the anchor */
  height: auto;
  filter: brightness(1); /* Normal brightness */
  transition: filter 0.3s ease-in-out;
}

/* Hover Effects */
.social-links a:hover {
  transform: scale(1.2); /* Slight pop effect */
}

.social-links a:hover img {
  filter: brightness(1.3); /* Slight glow effect */
}

.social-links a.Youtube img {
  margin-top: 5px; /* Adjust as needed */
}

/* ===============================
     END OF MEMBERS/ARTIST SECTION
     =============================== */

/* ===============================
     CONTACT SECTION
     =============================== */
/* TAP IN SECTION */
/* Tap In Section */
.tap-in-section {
  text-align: center;
  padding: 1rem 2rem; /* Reduced padding */
  position: relative;
  margin-bottom: 0; /* Remove extra spacing */
}

/* Tap In Button */
.tap-in-btn {
  font-size: 3.2rem;
  padding: 2.5rem 5.5rem;
  background-color: var(--gold);
  color: var(--white);
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 0px 25px var(--gold);
  animation: glowEffect 1.5s infinite alternate ease-in-out;
  visibility: visible; /* Ensures it stays in place */
  position: relative;
}

/* Expanded Form */
.tap-in-form {
  display: none;
  width: 60%;
  max-width: 800px;
  margin: 3rem auto;
  padding: 3rem;
  border-radius: 20px;
  background: url('../images/Apply/ApplicationBoxPattern3.png') center/cover no-repeat;
  position: relative;
  opacity: 0;                 /* start state so .active can animate in */
  transform: scale(0.98);
  transition: opacity 0.35s ease-in-out, transform 0.35s ease-in-out;
}

.tap-in-form.active {
  display: block;
  opacity: 1;
  transform: scale(1);
}

/* Submission Confirmation */
.confirmation-message {
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--gold);
  color: var(--white);
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 3rem;
  border-radius: 20px;
  padding-top: 2rem;
  padding-bottom: -2rem;
  width: 50%;
  max-width: 600px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

/* Dark Overlay for Readability */
.tap-in-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Subtle dark overlay */
  border-radius: 20px;
  z-index: 1;
}

/* Ensure form content appears above the overlay */
.tap-in-form * {
  position: relative;
  z-index: 2;
}

/* FORM INPUTS (Increased size for better usability) */
.tap-in-form label {
  font-size: 1.6rem; /* Slightly larger labels */
  font-weight: bold;
  color: var(--white);
  display: block;
  margin-bottom: 0.5rem;
}

.tap-in-form input,
.tap-in-form textarea {
  font-size: 1.4rem; /* Bigger text fields */
  padding: 1rem;
  width: 100%;
  border-radius: 10px;
  border: none;
}

/* APPLY BUTTON */
.apply-btn {
  font-size: 2.2rem; /* Bigger text */
  padding: 1.2rem 3.5rem; /* Larger button */
  margin-top: 1rem;
  color: var(--white);
  background-color: var(--gold);
  font-weight: bold;
  border-radius: 20px; /* More rounded edges */
}

/* ===============================
     END OF CONTACT SECTION
     =============================== */

/* ===============================
     SUREFORMS APPLICATION FORM (Spec 8.3)
     Scoped to #tapInForm so nothing leaks onto the separate Contact form (146).
     The plugin's own "Style" panel (post 130) already pushes primary/text/bg
     colors toward the .vv-home dark/gold palette; these rules cover what that
     baseline doesn't reach — field boundaries, focus state, checkbox accent,
     and the submit button.
     =============================== */

.vv-home #tapInForm .srfm-form-title {
  color: var(--white);
}

.vv-home #tapInForm .srfm-input-common {
  background-color: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(201, 162, 85, 0.8); /* gold, clearly visible against the dark pattern */
  border-radius: 10px;
  color: var(--white);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem;      /* inner breathing room so text isn't cramped on the border */
}

.vv-home #tapInForm .srfm-input-common::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.vv-home #tapInForm .srfm-input-common:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 85, 0.25);
  outline: none;
}

.vv-home #tapInForm .srfm-block-label {
  color: var(--white);
}

.vv-home #tapInForm .srfm-required {
  color: var(--gold);
}

.vv-home #tapInForm input[type="checkbox"] {
  accent-color: var(--gold); /* tints native checkboxes without fighting the plugin's own markup */
}

.vv-home #tapInForm .srfm-option-container label {
  color: var(--white);
}

/* Multi-choice (checkbox) field: its question renders as a <legend> (not the
   usual .srfm-block-label, hence it was still black), and each option box uses
   .srfm-multi-choice-single (not .srfm-input-common) — so bring both in line
   with the rest of the form's dark/gold treatment. */
.vv-home #tapInForm .srfm-block-legend {
  color: var(--white);
  font-weight: bold;
}

.vv-home #tapInForm .srfm-multi-choice-single {
  background-color: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(201, 162, 85, 0.8); /* gold, matching the text fields */
  border-radius: 10px;
  color: var(--white);
}

.vv-home #tapInForm .srfm-multi-choice-single:hover {
  border-color: var(--gold);
}

.vv-home #tapInForm .srfm-submit-button {
  background-color: var(--gold);
  color: var(--black);
  font-weight: bold;
  border-radius: 20px;
}

.vv-home #tapInForm .srfm-submit-button:hover {
  filter: brightness(1.1);
}

/* Make the plugin's form container transparent so the .tap-in-form pattern shows
   through. Do NOT rely on form 130's per-form "Style" panel (it lives in the DB
   and does not deploy with the theme) — .srfm-bg-color paints the box white. */
.vv-home #tapInForm .srfm-form-container,
.vv-home #tapInForm .srfm-single-form,
.vv-home #tapInForm .srfm-form-container.srfm-bg-color {
  background: transparent !important;
  box-shadow: none;
  padding: 0;
}

/* Vertical spacing between fields */
.vv-home #tapInForm .srfm-block,
.vv-home #tapInForm .srfm-block-single {
  margin-bottom: 1.5rem;
}

/* Keep all form text light and consistent on the dark pattern (kills the
   white-on-white invisible labels that appear without the DB style config) */
.vv-home #tapInForm,
.vv-home #tapInForm .srfm-description,
.vv-home #tapInForm p,
.vv-home #tapInForm span:not(.srfm-required) {
  color: var(--white);
}

/* ===============================
     END OF SUREFORMS APPLICATION FORM
     =============================== */

/* ===============================
  SOCIALS SECTION
=============================== */

.socials-section {
  background-color: var(--black);
  text-align: center;
  padding: 1rem 4rem;
  margin-top: 0%;
}

/* The social media buttons here use the css from the MEMBERS/ARTIST Section.

/* ===============================
  END OF SOCIALS SECTION
=============================== */

/* ===============================
     RESPONSIVE BREAKPOINT
     =============================== */
@media (max-width: 768px) {

  .hero,
  .mission-statement,
  .members-section,
  .socials-section {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }

  .vv-home {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .parallax-image {
    width: 80%;
    margin-top: -2rem;
    margin-bottom: 1rem;
  }

  /* Possibly reduce hero size on smaller screens */
  .hero {
    flex-direction: column;
  }

  .key-roles {
    font-size: 2.5rem;   /* reduce font size on mobile */
    line-height: 1.5;
    overflow: hidden;
    padding: 1rem 0;
  }

  .key-roles .dynamic-words span {
    font-size: inherit;  /* inherit smaller font-size */
  }

  .dynamic-words span.active:last-of-type {
    animation: scale-up 1s ease forwards;
    font-size: 1.35rem;  /* inherit smaller font-size */
    text-shadow:
      0 0 5px #f6b534,    /*Inner glow */
      0 0 9px #f8c96a;   /* Maximum spread glow */
    font-weight: bold;
    color: rgb(255, 255, 255); /* Adds a subtle hover color shift */
  }

  /* In narrower viewports, let .hero-overlay be almost full-width */
  .hero-overlay {
    width: 95%;
    padding: 4% 2%;
    text-align: center;
    overflow: hidden;  /* prevents text from overflowing */
  }

  .intro-text {
    margin-left: 0;
    margin-top: -1.25rem;
    font-size: 2rem; /* Adjust font-size for mobile */
  }

  .hero-overlay .hero-statement {
    font-size: 1.7rem;
    margin-top: -2rem;
  }

  .tagline {
    margin-top: 1rem;
  }

  .hero-statement .emphasis {
    text-decoration: underline;
    display: block;
    font-weight: bold;
    text-shadow:
      4px 4px 8px #00000049,
      4px 4px 8px #8343c3e1;
    font-size: 2rem;
  }

  /* Stack .vision-content vertically */
  .vision-content {
    flex-direction: column;
  }

  /* Stack .highlights items vertically */
  .highlights {
    flex-direction: column;
  }

  .category-tabs {
    display: flex;
    flex-wrap: wrap;           /* allow multiple rows if needed */
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden; /* Ensure extra cards don’t spill out */
  }

  .tab {
    font-size: 1.2rem;
    padding: 0.75rem 1rem; /* keeps the tap target close to the ~44px minimum */
    white-space: nowrap;       /* prevent overlong labels from breaking awkwardly */
  }

  .section-title {
    font-size: 2.8rem;
    color: var(--gold);
    text-transform: uppercase;
    margin-top: -3rem;
    margin-bottom: 2rem;
    text-shadow: 0px 0px 8px var(--gold);
  }

  .Members-title {
    font-size: 2.8rem;
    color: var(--gold);
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 2rem;
    text-shadow: 0px 0px 8px var(--gold);
  }

  .social-title {
    font-size: 2.8rem;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-shadow: 0px 0px 8px var(--gold);
  }

  /* Stack team members in a column */
  .team-grid {
    flex-direction: column;
    align-items: center;
  }

  .team-member {
    flex: 0 1 80%;
  }
  .mission-cards {
    flex-direction: column;
    align-items: center;
  }

  .mission-card {
    width: 90%;
    margin-bottom: 2rem;
    height: auto; /* Allow height to adjust based on content */
    padding: 1.5rem;
  }

  .carousel-inner {
    position: relative;
    width:100%;
    height: 400px;  /* Adjust height if needed */
    overflow: hidden;
  }

  .member-card {
    position: absolute;
    top: 0;
    background-position: center;
    width: 90%;
    height: 95%;
    transition: transform 0.8s ease, opacity 0.8s ease;
  }

  .member-image {
    width: 15rem;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.75rem;
  }

  .member-card:hover {
    transform: scale(1.05);
  }

  .member-card.active {
    transform: translateX(0);
    opacity: 1;
    z-index: 2;
  }

  .member-card.previous {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 1;
  }

  .member-card.next {
    transform: translateX(100%);
    opacity: 0;
    z-index: 1;
  }

  /* Hide carousel navigation arrows if they clutter small screens */
  .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    color: var(--gold);
    background: none;
    border: 0rem solid var(--gold);
    border-radius: 5%; /* Keep rounded shape */
    width: 44px; /* ~44px minimum recommended touch target */
    height: 44px;
    transform: translateY(-50%) !important;  /* Centers arrow vertically */
    font-size: 3rem;
    padding: 0.3rem;
    cursor: pointer;
    z-index: 100 !important;
  }

  .arrow:hover {
    transform: translateY(-50%) scale(1.05) !important;
  }

  .left-arrow {
    left: 0.5rem;
  }

  .right-arrow {
    right: 0.5rem;
  }

  .arrow:active {
    transform: translateY(-50%) !important;
  }

  .socials-section{
    margin-top: -2rem;
    margin-bottom: 1rem;
  }

  .social-icons {
    margin-top: -1rem;
  }

  /* Bump social icon links closer to the ~44px minimum touch target on mobile */
  .social-links a,
  .socials-section .social-links a {
    width: 44px;
    height: 44px;
  }

  .tap-in-section {
    text-align: center;
    padding: 2rem 2rem; /* Reduced padding */
    position: relative;
    margin-bottom: 0; /* Remove extra spacing */
  }

  /* Tap In Button */
  .tap-in-btn {
    text-align: center;
    font-size: 3rem;
    padding: 2.5rem 1rem;
    background-color: var(--gold);
    color: var(--white);
    font-weight: bold;
    width: 80%;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 0px 25px var(--gold);
    animation: glowEffect 1.5s infinite alternate ease-in-out;
    visibility: visible; /* Ensures it stays in place */
    position: relative;
  }

  .apply-btn {
    transform: translateX(-9%) !important;
    font-size: 2.2rem; /* Bigger text */
    padding: 1.2rem 1.6rem; /* Larger button */
    margin-top: 1rem;
    color: var(--white);
    background-color: var(--gold);
    font-weight: bold;
    border-radius: 20px; /* More rounded edges */
  }

  /* Expanded Form */
  .tap-in-form {
    display: none;
    width: 80%;
    margin: 3rem auto;
    padding: 2rem;
    border-radius: 20px;
    background: url('../images/Apply/ApplicationBoxPattern3.png') center/cover no-repeat;
    position: relative;
    transition: all 0.3s ease-in-out;
  }

  .tap-in-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Subtle dark overlay */
    border-radius: 20px;
    z-index: 1;
  }

  .tap-in-form.slide-in {
    display: block;
    opacity: 1;
    transform: scale(1);
  }

  /* Submission Confirmation */
  .confirmation-message {
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--gold);
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 3rem;
    border-radius: 20px;
    padding-top: 2rem;
    padding-bottom: -2rem;
    width: 50%;
    max-width: 600px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  }

  .tap-in-form * {
    position: relative;
    z-index: 2;
  }

  /* FORM INPUTS (Increased size for better usability) */
  .tap-in-form label {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--white);
    display: block;
    margin-bottom: 0.5rem;
  }

  .tap-in-form input,
  .tap-in-form textarea {
    font-size: 0.9rem; /* Bigger text fields */
    padding: 0 rem;
    width: 100%;
    border-radius: 10px;
    border: none;
  }

}

/* ===============================
     OBSERVE ON SCROLL
     =============================== */

.slide-in {
  opacity: 10%;
  transition: opacity 0.5s;
}

.slide-in.active {
  transition: opacity 0.5s;
  opacity: 100%;
  visibility: visible !important;
}

/* ===============================
     ABOUT / MISSION SECTION (nonprofit: legal name, mission, activities)
     Intentionally NOT .slide-in — this content must be visible on load.
     =============================== */
.vv-home .about-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  text-align: left;
  color: var(--white);
}

.vv-home .about-section .section-title {
  text-align: center;
}

.vv-home .about-legal {
  font-size: 1.3rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--white);
}

.vv-home .about-legal strong {
  color: var(--gold);
}

.vv-home .about-block {
  margin-bottom: 2rem;
}

.vv-home .about-heading {
  font-size: 1.7rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.vv-home .about-block p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.vv-home .about-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.vv-home .about-list li {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 0.85rem;
}

/* "Where we're headed" goal cards (site idiom: dark surface, gold accents) */
.vv-home .goals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.vv-home .goal-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 162, 85, 0.25);
  border-radius: 12px;
  padding: 1.25rem 1.4rem 1.25rem calc(1.4rem + 14px);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.vv-home .goal-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 14px;
  background-repeat: repeat-y;
  background-size: cover;
  transition: filter 0.25s ease;
}
.vv-home .goal-card:nth-child(1)::before {
  background-image: url('../images/Goals/wave-1.svg');
}
.vv-home .goal-card:nth-child(2)::before {
  background-image: url('../images/Goals/wave-2.svg');
}
.vv-home .goal-card:nth-child(3)::before {
  background-image: url('../images/Goals/wave-3.svg');
}
.vv-home .goal-card:nth-child(4)::before {
  background-image: url('../images/Goals/wave-4.svg');
}
.vv-home .goal-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(201, 162, 85, 0.25);
}
.vv-home .goal-card:hover::before {
  filter: brightness(1.2) saturate(1.1);
}
.vv-home .goal-card h4 {
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.vv-home .goal-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--white);
}
@media (max-width: 640px) {
  .vv-home .goals-grid { grid-template-columns: 1fr; }
}

/* .mission-card is 25% width, sized for the old full-width section; scoped up
   so the cards stay usable inside the narrower (900px) .about-section on
   tablet/phone. On desktop (below), the cards break back out to full width. */
.vv-home #about .mission-card { width: 30%; min-width: 220px; }

/* Desktop: let "What we stand for" break out of the 900px .about-section and
   span the full viewport width, matching how the cards looked before Phase 9
   merged them out of their own full-width section. */
@media (min-width: 769px) {
  .vv-home #about .mission-cards {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 2rem;
    box-sizing: border-box;
  }
  .vv-home #about .mission-card {
    width: 25%;
    min-width: 0;
  }
}

/* Carousel arrows: remove the mobile blue tap box + default focus bg; glow instead */
.arrow { -webkit-tap-highlight-color: transparent; }
.arrow:focus,
.arrow:active,
.arrow:focus-visible {
  background: transparent;
  outline: none;
  box-shadow: 0 0 16px rgba(201, 162, 85, 0.75);
}
