@font-face {
  font-family: "Another Typewriter"; /* This is the name you'll use to reference the font */
  src: url("./fonts/atwriter.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body,
html {
  background: #ecececff;
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Futura", sans-serif;
  display: flex;
  flex-direction: column; /* Change to column layout */
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

#left-section {
  color: #34204d;
  width: 100%;
  margin-left: 0;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
  padding: 0;
}

.herd-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 20vh 5vw 10vh 5vw;
  border-bottom: none !important;
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
  min-height: 100vh; /* Ensure it takes at least full viewport height */
}

.herd-section > *:not(#background-video) {
  position: relative;
  z-index: 1;
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%; /* Change from 100vh to 100% */
  width: 100%; /* Change from 100vw to 100% */
  object-fit: cover;
  z-index: 0;
  display: block;
  visibility: visible;
  opacity: 1;
}

.herd-logo {
  display: block;
  width: 100%;
  max-width: 600px; /* Set a max-width instead of using vw */
  margin: 0 auto;
}

.herd-subtitle {
  font-size: 24px;
  margin: 10px 0 0 0;
  line-height: 1.5;
  text-align: justify;
  max-width: 600px; /* Match logo max-width */
  color: #34204d;
  width: 100%;
}

.newsletter-section {
  font-family: "Another Typewriter", monospace;
  font-size: 24px;
  line-height: 1.5;
  text-align: justify;
  color: #34204d;
  background-color: #66b4ab;
  padding: 10px 20px;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.section {
  padding: 4vh 5vw;
  font-size: 18px;
  position: relative;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* Adjust first section after herd-section */
.herd-section + .section {
  margin-top: 0; /* Remove top margin for first section after herd-section */
}

/* Add bottom margin to last section */
.section:last-of-type {
  margin-bottom: 100px;
}

/* Adjust separator line style */
.section:not(:last-child) {
  border-bottom: 2px solid #34204d; /* Make line thicker and match purple color */
  position: relative;
}

/* Create centered line that's 90% width */
.section:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%; /* Start 5% from left */
  width: 90%; /* Take up 90% of width */
  height: 2px; /* Match border thickness */
  background-color: #34204d; /* Match purple color */
}

/* Remove the full-width border since we're using pseudo-element */
.section:not(:last-child) {
  border-bottom: none;
}

.section-title {
  width: fit-content;
  font-size: 48px;
  font-family: "Another Typewriter", monospace;
  font-size: 48px;
  font-weight: bold;
  color: #34204d;
  /* background-color: #c3c0ed; */
  /* margin-bottom: 20px; */
  margin: 0px auto 0px auto; 
  text-align: center;
}

.section-text {
  text-align: justify;
  column-gap: 40px;
  line-height: 1.6;
  margin: 0px auto 0px auto;
}

/* Update image-over-text styling */
.image-over-text {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Update image container styling */
.image-over-text #image-container {
  width: 150px;
  height: 150px;
  position: relative;
  margin-bottom: 20px;
}

/* Create a wrapper for all image-over-text elements */
.section-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  align-items: flex-start; /* Align items to the top */
}

/* Ensure text alignment and spacing */
.image-over-text p {
  margin: 0;
  padding: 0 10px;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
  .image-over-text #image-container {
    width: 120px;
    height: 120px;
  }
}

#image-container {
  position: relative;
  width: 25%;
  height: 25%;
  min-width: 150px;
  min-height: 150px;
  align-self: center; Align the logo to the top left
  margin-bottom: 20px; /* Add space below the logo */
}

#outer-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center;
  animation: spin 45s linear infinite;
}

/* Make sure the inner logo stays static */
#inner-image img {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 50%;
  height: 50%;
  transform-origin: center;
  z-index: 2; /* Ensure inner logo stays on top */
}

.event-container {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 2fr;
  gap: 20px;
  /* padding: 20px; */
  width: 100%;
  max-width: 900px;
  margin: 0px auto 0px auto;
  box-sizing: border-box;
}

.event-image {
  align-content: center;
}

.event-image img {
  width: 100%;
  height: auto;
}

.event-title {
  font-size: 24px;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  color: #34204d;
}

.event-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}

.detail-box {
  background: #c3c0ed;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid #ccc;
}

.event-description {
  /* padding-top: 10px; */
  font-size: 18px;
  line-height: 1.5;
  color: #34204d;
  text-align: justify;
}

.inline-image {
  width: 30%; /* Adjust size as needed */
  border: 4px solid #34204d;
  border-radius: 20px;
  margin: 10px 0;
  display: block;
}

.inline-image.right {
  float: right;
  margin-left: 20px;
}

.inline-image.left {
  float: left;
  margin-right: 20px;
}

.highlight-words {
  display: flex;
  gap: 2rem;
  margin-bottom: 20px;
  flex-wrap: wrap; /* Allow wrapping */
  justify-content: center; /* Center the words */
}

.highlight-word {
  background-color: #66b4ab;
  font-weight: bold;
  font-size: 1.5rem;
  margin: 0.5rem 0; /* Add vertical spacing between wrapped lines */
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
  .inline-image {
      width: 40%;
      float: none;
      margin: 10px auto;
  }

  .highlight-words {
    gap: 1rem; /* Reduce gap on mobile */
  }
  
  .highlight-word {
    font-size: 1.2rem; /* Slightly smaller text on mobile */
  }
}

/* Desktop navbar layout */
#side-nav {
    font-family: "Another Typewriter", monospace;
    background-color: #34204d;
    width: 100vw;
    max-width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    height: 10vh;
    box-sizing: border-box;
    z-index: 100;
    left: 0;
    right: 0;
}

/* Logo container */
#logo-container {
    position: relative;
    width: 8.5vh;
    height: 8.5vh;
    flex-shrink: 0;
}

#nav-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#social-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.hamburger {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 10px;
    z-index: 102;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: #66b4ab;
    transition: all 0.3s ease;
}

/* Mobile navbar styles */
@media screen and (max-width: 768px) {
    #side-nav {
        padding: 10px 15px;
        justify-content: space-between;
    }

    /* Remove hamburger-related styles */
    .hamburger {
        display: none;
    }

    #nav-container {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        padding-top: 0;
        display: flex !important;
    }

    #navigation ul {
        flex-direction: row;
        gap: 15px;
        padding: 0;
    }

    #navigation ul li a {
        font-size: 18px;
    }

    #social-container {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #34204d;
        padding: 1rem;
        box-sizing: border-box;
        justify-content: center;
        display: flex !important;
    }
}

/* Adjust logo size */
#logo-container {
  position: relative;
  width: 8.5vh; /* Make logo smaller */
  height: 8.5vh;
  flex-shrink: 0; /* Prevent logo from shrinking */
}

#outer-logo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center;
  animation: spin 45s linear infinite;
}

/* Make sure the inner logo stays static */
#inner-logo img {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 50%;
  height: 50%;
  transform-origin: center;
  z-index: 2; /* Ensure inner logo stays on top */
}

/* Update register button styles to work with anchor tag */
#register-button {
  background-color: #66b4ab !important;
  color: #34204d !important;
  border-radius: 20px;
  padding: 8px 20px;
  margin: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 16px;
  text-decoration: none;
  border: none;
  font-family: "Another Typewriter", monospace;
}

#register-button:hover {
  background-color: #ffffff !important;
  transform: translateY(-2px);
}

/* Add styles for register link in event details */
.detail-box a {
  text-decoration: none;
  color: inherit;
}

/* Adjust navigation styling */
#navigation ul {
  display: flex;
  justify-content: center;
  gap: 50px;
  list-style: none; 
  padding: 0;
  margin: 0;
}

#navigation ul li a {
  font-size: 24px; /* Slightly smaller font */
  color: #c3c0ed; /* Light purple color */
  text-decoration: none; /* Remove underline */
  position: relative;
}

/* Keep the hover and active states */
#navigation ul li a:hover {
  color: #ffffff;
}

/* Navigation active state */
#navigation ul li a.active {
    color: #66b4ab;
    font-weight: bold;
}

/* Add this to your existing styles.css */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Update social link styles */
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.social-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(100%);
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
  #social-container {
    gap: 10px;
  }

  .social-link {
    width: 25px;
    height: 25px;
  }

  #register-button {
    padding: 6px 15px;
    font-size: 14px;
  }
}

/* Remove the scale transform hover effect */
.social-link:hover .social-icon {
  transform: none;
}

/* Remove the transition from social-icon */
.social-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Remove right title variant and simplify section styles */
.section-horizontal {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 40px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.section-horizontal .section-title {
  margin: 0;
  text-align: left;
  position: sticky;
  top: calc(10vh + 20px);
  z-index: 1;
  color: #34204d;
  display: inline-block;
}

.section-horizontal .section-content {
  padding-right: 2vw;
  padding-left: 0;
}

/* Adjust section-images for horizontal layout */
.section-horizontal .section-images {
  width: 100%;
}

/* Adjust event-container for horizontal layout */
.section-horizontal .event-container {
  margin: 20px 0;
  width: 100%;
}

/* Adjust the separator for horizontal sections */
.section-horizontal:not(:last-child)::after {
  left: 5%;
  width: 90%;
}

p {
  color: #34204d;
}

/* Add footer styles */
.footer {
  background-color: #34204d;
  color: #c3c0ed;
  padding: 40px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.footer-logo-container {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

.footer-logo-outer img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center;
  animation: spin 45s linear infinite;
}

.footer-logo-inner img {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 50%;
  height: 50%;
  transform-origin: center;
  z-index: 2;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-title {
  font-family: "Another Typewriter", monospace;
  font-size: 24px;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-text {
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.footer-contact {
  color: #c3c0ed;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact:hover {
  color: #ffffff;
}

/* Add media query for mobile devices */
@media screen and (max-width: 768px) {
  .section-horizontal {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .section-horizontal .section-title {
    position: relative;
    top: 0;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 36px;
  }

  .section-horizontal .section-content {
    padding: 0 20px; 
  }

  /* Adjust section spacing for mobile */
  .section {
    width: 100%;
    margin-top: 60px;
    padding: 4vh 0;
  }

  /* Adjust footer for mobile */
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .event-container {
    grid-template-columns: 1fr;
  }

  .circle-image {
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    float: none;
    display: block;
  }

  .circle-image.left,
  .circle-image.right {
    margin: 20px auto;
    float: none;
  }

  .section-title {
    font-size: 32px; /* Reduced from 36px */
    word-wrap: break-word;
  }

  #navigation ul {
    gap: 15px;
  }

  #navigation ul li a {
    font-size: 20px;
  }

  #side-nav {
    padding: 10px 15px;
    justify-content: space-between;
  }

  /* Hide navigation on mobile */
  #nav-container {
    display: none;
  }

  /* Keep logo and social container visible */
  #logo-container, #social-container {
    display: flex;
  }

  .herd-section {
    padding: 15vh 20px 10vh 20px;
  }

  .herd-logo {
    width: 90%;
  }

  .herd-subtitle {
    width: 90%;
    font-size: 20px;
  }
}

/* Add media query for smaller screens */
@media screen and (max-width: 1024px) {
  #social-container {
    gap: 10px; /* Reduce gap on smaller screens */
  }
  
  .social-link {
    width: 25px; /* Even smaller icons */
    height: 25px;
  }
  
  #register-button {
    padding: 6px 15px;
    font-size: 14px;
  }

  #side-nav {
    flex-wrap: nowrap; /* Change from wrap to nowrap */
    height: 10vh;
  }

  /* Remove these since we're hiding nav on mobile */
  #nav-container {
    order: unset;
    width: unset;
    margin-top: unset;
  }

  #social-container {
    order: unset;
  }
}

/* Update circle image styles */
.circle-image {
    width: min(300px, 100%);
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border: 3px solid #34204d;
    border-radius: 20px;
    margin: 20px;
}

/* Right-aligned image */
.circle-image.right {
    float: right;
    margin-left: 30px;
    margin-right: 0;
}

/* Left-aligned image */
.circle-image.left {
    float: left;
    margin-right: 30px;
    margin-left: 0;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .circle-image {
        float: none !important; /* Override any float */
        width: 100%;
        max-width: 300px;
        margin: 20px auto;
        display: block;
    }
    
    /* Clear any text wrapping around the image on mobile */
    .section-text {
        clear: both;
        display: block;
    }
}

/* Clear floats after paragraphs */
.section-text::after {
    content: "";
    display: table;
    clear: both;
}

/* Styles for What section */
.what-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.what-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(195, 192, 237, 0.2);
    border-radius: 20px;
}

.what-item #image-container {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.what-item p {
    margin: 0;
    line-height: 1.6;
    font-size: 18px;
    color: #34204d;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .what-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }

    .what-item {
        padding: 15px;
    }

    .what-item #image-container {
        width: 80px;
        height: 80px;
    }
}

.how-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.how-item {
    display: flex;
    align-items: flex-start;
}

.how-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
}

.mini-logo-container {
    width: 78px;
    height: 78px;
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.mini-horns {
    width: 78px !important;
    height: 78px !important;
    max-width: 78px !important;
    max-height: 78px !important;
    min-width: 78px !important;
    min-height: 78px !important;
    animation: spin 45s linear infinite;
    object-fit: contain;
}

.horns-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    color: #34204d;
    font-size: 0.96rem; /* Increased from 0.8rem (20% larger) */
    font-weight: bold;
    pointer-events: none;
    text-align: center;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .mini-logo-container {
        width: 60px;
        height: 60px;
    }
    
    .mini-horns {
        width: 60px !important;
        height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
    }
}

.text-highlight {
    background-color: #66b4ab; /* Changed from solid #66b4ab to transparent */
}

.end-horns {
    display: inline-block;
    width: 35px;
    height: 35px;
    margin-left: 8px;
    vertical-align: middle;
}

.end-horns .mini-horns {
    width: 100%;
    height: 100%;
    animation: spin 45s linear infinite;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .end-horns {
        width: 30px;
        height: 30px;
        margin-left: 6px;
    }
}

/* Support page styles */
.support-tiers {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.support-tier {
    background-color: rgba(52, 32, 77, 0.1);
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.2s ease;
}

.support-tier:hover {
    transform: translateY(-5px);
}

.support-tier h2 {
    color: #34204d;
    margin: 0;
    font-size: 1.5rem;
}

.tier-amount {
    color: #34204d;
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0;
}

.support-tier ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.support-tier li {
    margin: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.support-tier li:before {
    content: "→";
    position: absolute;
    left: 0;
}

/* Support page specific styles */
.support-page {
    padding-top: 10vh;
    background-color: #ecececff;
}

.support-hero {
    position: relative;
    
    min-height: 25vh; /* Reduced from 50vh */
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.support-hero h1 {
    color: #34204d;
    font-size: 4rem;
    font-family: "Another Typewriter", monospace;
    text-align: center;
    position: relative;
    z-index: 2;
    margin: 0;
    padding: .5rem;

}

.support-intro {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 2rem;
    text-align: justify;
    color: #34204d;
    line-height: 1.6;
    font-size: 18px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem; /* Reduced from 2rem */
    padding: 0 2rem 2rem 2rem; /* Added consistent padding */
    max-width: 1000px;
    margin: 0 auto;
}

.support-card {
    background-color: white;
    border-radius: 20px;
    padding: 1.5rem; /* Reduced from 2rem */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.support-card h2 {
    color: #34204d;
    font-size: 1.8rem;
    margin: 0;
    font-family: "Another Typewriter", monospace;
}

.support-card .amount {
    font-size: 2.5rem;
    color: #66b4ab;
    font-weight: bold;
    margin: 1rem 0;
}

.support-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-card li {
    margin: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
}

.support-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #66b4ab;
}

/* Update card variations */
.support-card.friend {
    background-color: #34204d;
}

.support-card.friend h2,
.support-card.friend li {
    color: white;
}

.support-card.badass {
    border: 3px solid #34204d;
}

/* Remove the border from matriarch */
.support-card.matriarch {
    border: none;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .support-hero {
        min-height: 0px; /* Even smaller on mobile */
    }

    .support-hero h1 {
        font-size: 2.5rem;
        padding: 1rem;
    }

    .support-intro {
        padding: 0 1.5rem;
        margin: 1.5rem auto;
    }

    .support-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .support-card {
        padding: 1.25rem;
    }

    .founder-cta {
        margin: 1.5rem auto;
    }

    .levels-title {
        margin: 1.5rem auto;
    }
}

/* Add these new generalized styles to your existing styles.css */

/* Generic page content styles */
.page-content {
    padding-top: 10vh;
    background-color: #ecececff;
}

/* Generic hero section styles */
.hero-section {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-section h1 {
    color: #34204d;
    font-size: 4rem;
    font-family: "Another Typewriter", monospace;
    text-align: center;
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
}

/* Generic content intro styles */
.content-intro {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 2rem;
    text-align: justify;
    color: #34204d;
    line-height: 1.6;
}

/* Generic content grid styles */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem 2rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Generic content card styles */
.content-card {
    background-color: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.content-card h2 {
    color: #34204d;
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
    font-family: "Another Typewriter", monospace;
}

/* Highlight link styles */
.highlight-link {
    display: inline-block;
    color: #34204d;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background-color: #66b4ab;
    border-radius: 20px;
    margin: 0.5rem 0;
    transition: background-color 0.3s ease;
}

.highlight-link:hover {
    background-color: #34204d;
    color: #66b4ab;
}

/* Social links container */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Event info styles */
.event-info {
    margin-top: 1rem;
}

.event-info p {
    margin: 0.5rem 0;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
        padding: 1.5rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .content-card {
        padding: 1.5rem;
    }
}

/* Update levels title to include button */
.levels-title {
    text-align: center;
    margin: 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.levels-title h2 {
    color: #34204d;
    font-size: 2.5rem;
    font-family: "Another Typewriter", monospace;
    margin: 0;
}

/* Remove the old founder-cta styles since we're moving the button */
.founder-cta {
    display: none;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .levels-title {
        flex-direction: column;
        gap: 1rem;
    }
    
    .levels-title h2 {
        font-size: 2rem;
    }
}

/* Button styling */
.founder-button {
    display: inline-block;
    background-color: #66b4ab;
    color: #34204d;
    font-family: "Another Typewriter", monospace;
    font-size: 1.5rem;
    padding: 1rem 2rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.founder-button:hover {
    background-color: #34204d;
    color: #66b4ab;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .founder-button {
        font-size: 1.2rem;
        padding: 0.8rem 1.6rem;
    }
}

/* Page ending styles */
.page-ending {
    width: 100%;
    padding: 2rem 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-ending-logo {
    position: relative;
    width: 8.5vh;
    height: 8.5vh;
}

.page-ending-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    animation: spin 45s linear infinite;
}

.page-ending-inner {
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    transform-origin: center;
    z-index: 2;
}

@media screen and (max-width: 768px) {
    .page-ending {
        display: none; /* Hide the entire ending section on mobile */
    }
}

/* Add padding to bottom of content on mobile */
@media screen and (max-width: 768px) {
    .support-page,
    #left-section {
        padding-bottom: calc(1rem + 65px); /* Account for bottom bar height + padding */
    }

    /* Adjust social container positioning */
    #social-container {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #34204d;
        padding: 1rem;
        box-sizing: border-box;
        justify-content: center;
        display: flex !important;
        height: auto; /* Let height be determined by content */
        z-index: 100; /* Ensure it stays on top */
    }
}

/* Mobile social container behavior */
@media screen and (max-width: 768px) {
    #social-container {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #34204d;
        padding: 1rem;
        box-sizing: border-box;
        justify-content: center;
        display: flex !important;
        transition: transform 0.3s ease-in-out;
        z-index: 100;
        transform: translateY(0); /* Explicitly set initial position */
    }

    /* Update hiding transform to ensure it moves completely off screen */
    #social-container.hidden {
        transform: translateY(150%);
    }
}

/* Simplified founding members styles */
.founding-members-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.members-container {
    background-color: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.founding-members-section h2 {
    text-align: center;
    font-family: "Another Typewriter", monospace;
    color: #34204d;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.members-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
    text-align: center;
}

.members-list span {
    color: #34204d;
    font-size: 1.1rem;
    padding: 0.5rem;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .founding-members-section {
        margin: 2rem auto;
        padding: 0 1rem;
    }

    .members-container {
        padding: 2rem 1rem;
    }

    .founding-members-section h2 {
        font-size: 2rem;
    }

    .members-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Remove old styles */
.horns-border,
.horns-circle,
.member-category,
.member-names,
.matriarch-names {
    display: none;
}

/* Update founding members styles */
.member-tier {
    margin-bottom: 3rem;
}

.member-tier h3 {
    color: #66b4ab;
    font-family: "Another Typewriter", monospace;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.members-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
    text-align: center;
}

.members-list span {
    color: #34204d;
    font-size: 1.1rem;
    padding: 0.5rem;
}

/* Remove matriarch-specific styling */
.members-list.matriarch span {
    font-weight: normal;  /* Reset to normal weight */
    font-size: 1.1rem;   /* Match other names */
    color: #34204d;      /* Match other names */
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .member-tier {
        margin-bottom: 2rem;
    }

    .member-tier h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .members-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Add special layout for top tiers */
.top-tiers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Adjust spacing for remaining tiers */
.top-tiers + .member-tier {
    margin-top: 3rem;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .top-tiers {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* New photo grid styles */
.three-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
    width: 100%;
}

.grid-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 3px solid #34204d;
    border-radius: 20px;
}

/* Section photo styles */
.how-photo,
.when-photo {
    margin: 40px 0;
    text-align: center;
}

.section-photo {
    width: 100%;
    max-width: 500px;
    height: auto;
    border: 3px solid #34204d;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(52, 32, 77, 0.2);
}

/* Mobile adjustments for photo grid */
@media screen and (max-width: 768px) {
    .three-photo-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 30px 0;
    }
    
    .grid-photo {
        height: 250px;
    }
    
    .section-photo {
        max-width: 100%;
    }
}
