* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  display: flex;
  flex-direction: column; /* stack header, main, footer */
}

body {
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  background: rgb(255, 253, 252);
  color: #333;
}

main {
  flex: 1; /* pushes footer down if content is short */
}

h1{
  color:black;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #adefce;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 30px 5px -2px rgba(0,0,0,0.15);
  background: linear-gradient(90deg, #c7ffe0, #7fd5a2);
}

.logo a {
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;
  color: #2e8b57;
}

/* Nav links */
nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

#nav-links li {
  display: inline-block;
}

#nav-links li a {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  font-weight: bold;
  color: #000;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

#nav-links li a:hover {
  background-color: #77be95;
  color: #fff;
}

/* Mobile toggle */
#menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

/* Mobile drawer nav */
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }
  #nav-links {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100%;
    flex-direction: column;
    align-items: center;
    background: #7fd5a2;
    padding-top: 1rem;
    transition: left 0.3s ease;
    box-shadow: 3px 0 18px rgba(0, 0, 0, 0.28);
    z-index: 1000;
  }
  #nav-links.show {
    left: 0;
  }
  #nav-links li {
    width: 100%;
    background: #ccf2d9;

  }
  #nav-links li a {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }
  #nav-links li a:hover {
    background: #77be95;
    color: #fff;
  }
}


/* ============================= */
/* ===== CONVENTION PAGE ====== */
/* ============================= */

/* Page header section */
.convention-hero {
  background: linear-gradient(90deg, #c7ffe0, #7fd5a2);
  padding: 3rem 1rem;
  text-align: center;
  border-bottom: 3px solid #2e8b57;
}

.convention-hero h1 {
  font-size: 2.8rem;
  color: #246b45;
  margin-bottom: 0.5rem;
}

.convention-hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Convention info sections */
.convention-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1000px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  text-align: center; /* center headings and paragraphs */
}

/* Section headings */
.convention-section h2 {
  font-size: 1.8rem;
  color: #246b45;
  margin-bottom: 1rem;
  border-bottom: 2px solid #adefce;
  padding-bottom: 0.3rem;
}

.convention-section h3 {
  color: #2e8b57;
  margin-top: 1rem;
}

/* Lists stay left-aligned */
.convention-section ul {
  margin-left: 1.2rem;
  margin-top: 0.5rem;
  text-align: left; /* keep list items aligned */
  padding-left: 1rem;
}

.convention-section ul li {
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

/* Schedule styling */
.convention-schedule {
  list-style: none;
  padding: 0;
}

.convention-schedule li {
  border-radius: 6px;
  margin-bottom: 0.6rem;
  text-align: center; /* keep schedule text left-aligned */
}

/* Pricing boxes */
.booth-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  text-align: center; /* center text inside boxes */
}

.price-box {
  background: #eafff3;
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid #b9efd0;
}

.price-box h4 {
  color: #246b45;
  margin-bottom: 0.5rem;
}

/* Highlight notes */
.convention-note {
  background: #fff7e6;
  border-left: 4px solid #e5a700;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1rem;
  text-align: center;
}

/* Application sections */
.application-section {
  background: #f8fff9;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 900px;
  border: 1px solid #dff4e6;
  text-align: center;
}

/* Responsive tweaks */
@media (max-width: 768px) {

  .convention-hero h1 {
    font-size: 2rem;
  }

  .convention-section {
    padding: 1.5rem;
  }

  .booth-pricing {
    grid-template-columns: 1fr;
  }

}

/* ========== HERO SECTION ========== */
.hero {
  background: 
    linear-gradient(to right, rgba(15, 20, 17, 0.46), rgba(0, 0, 0, 0.54)),
    url("gallery/home-page-gerbs.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 7rem 1rem;
}

.hero h1 {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff; /* white text stands out on most images */
  margin: 1rem 0;
  line-height: 1.2;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;

  /* Optional subtle text shadow for readability */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: large;
  font-weight: 700;
  color: #ffffff; /* white text stands out on most images */
  margin: 1rem 0;
  line-height: 1.2;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;

  /* Optional subtle text shadow for readability */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero .btn {
  display: inline-block;
  margin-top: 0rem;
  padding: 0.6rem 1.2rem;
  background: #77be95;
  color: #000;
  border-radius: 3px;
  text-decoration: none;
  box-shadow: 3px 0 18px rgba(0, 0, 0, 0.28);
  transition:
    background-color 0.3s,
    color 0.3s;
}

.hero .btn:hover {
  background-color: #adefce;
  color: #fff;
}

/* ===== Drop Down Info ===== */

.item-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.3s ease;
}

.item-more.open {
  max-height: 5000px; /* large enough for very long content */
  opacity: 1;
}

.show-more-btn {
  background: none;
  border: none;
  color: #2e8b57; /* adjust to your theme */
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin: 0.75rem 0;
}

.show-more-btn:hover {
  text-decoration: underline;
}

/* ========== BUTTONS ========== */
.button-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.btn {
  padding: 0.8rem 2rem;
  background-color: #77be95;
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top:13px;
  font-size: 1rem;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.btn:hover {
  background-color: #246b45;
  transform: scale(1.05);
}

/* ========== SECTIONS ========== */
section {
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: auto;
}

h2 {
  margin-bottom: 1rem;
  color: #246b45;

}

#events ul {
  list-style: disc;
  margin-left: 1.5rem;
}

/* ======= Class Drop Down*/

.item-subtitle {
  margin-top: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2e8b57;
}



/* ===== CARD GRID SECTION ===== */
.card-section {
  background: #f8fff9;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* ===== SCHOLARSHIP SECTION ===== */
.scholarship-section {
  padding: 5rem 1.5rem;
  background: #f4fff8;
}

.scholarship-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.scholarship-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  object-fit: cover;
}

.scholarship-content h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.scholarship-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #444;
}

.scholarship-btn {
  display: inline-block;
  margin-top: 1.5rem;
}

/* Mobile */
@media (max-width: 900px) {
  .scholarship-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ===== INDIVIDUAL CARD ===== */
.info-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);

  display: flex;
  flex-direction: column;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

/* Icon placeholder (matches sketch look) */
.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Card text */
.info-card h3 {
  margin-bottom: 0.5rem;
  color: #246b45;
}

.info-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: #555;
}

/* ===== SLIDESHOW SECTION ===== */
.slideshow-section {
  width: 100%;
  background: #f4fff8;
  padding: 4rem 0;
}

/* ===== CAROUSEL CONTAINER ===== */
.carousel-container {
  width: 100%;
  max-width: 2800px;   /* 👈 wider than before */
  margin: 0 auto;
  overflow: hidden;
  border-radius: 28px;
  background: #eaf7ef;
}

/* ===== TRACK ===== */
.carousel-track {
  display: flex;
  gap: 3rem;               /* more breathing room */
  padding: 3rem 4rem;     /* less vertical waste, more width */
  animation: scroll-left 45s linear infinite;
}
/* Pause on hover (nice UX) */
.carousel-container:hover .carousel-track {
  animation-play-state: paused;
}

/* ===== SLIDE ===== */
.carousel-slide {
  flex: 0 0 520px;        /* 👈 slightly bigger cards */
  height: 420px;
  border-radius: 20px;
  overflow: hidden;      /* 👈 ensures image clips cleanly */
  background: transparent; /* 👈 removes white backing */
  box-shadow: 0 14px 32px rgba(0,0,0,0.15);
}

.carousel-slide {
  transition: transform 0.35s ease;
}

.carousel-slide:hover {
  transform: scale(1.04);
}

/* Images */
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* keeps full image visible */
  display: block;
}

/* ===== ANIMATION ===== */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===== RESPONSIVE ===== */
/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .carousel-container {
    overflow-x: scroll;  /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch;  /* Smooth scrolling on iOS */
    scroll-snap-type: x mandatory; /* Enable snap scrolling */
  }

  .carousel-track {
    display: flex;
    gap: 2rem;
    padding: 0 2rem;
    animation: none;  /* Disable automatic scrolling for swipe */
  }

  .carousel-slide {
    flex: 0 0 auto;  /* Allow flex items to be based on their content */
    scroll-snap-align: start;  /* Ensure each slide snaps to the start */
  }
}


/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  padding: 2rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ========== FORMS ========== */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea,
form select,
form button {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

form input:focus,
form textarea:focus,
form select:focus {
  border-color: #2e8b57;
  outline: none;
}

form button {
  background: #2e8b57;
  color: white;
  border: none;
  cursor: pointer;
}

form button:hover {
  background: #246b45;
}

.form-container{
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #d9f7e3;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Membership form wrapper */
.membership-form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #d9f7e3;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.event-form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #d9f7e3;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* Form rows for side-by-side fields */
.form-row {
  display: flex;
  gap: 1rem;
  align-content:center;
}

.form-row .form-group {
  flex: 1; /* make them equal width */
}


.membership-h1{
  text-align: center;
  margin: 1rem 0rem;
}
.membership-p {
  text-align: center;
}

.membership-actions {
  display: flex;
  justify-content: center;
  padding: 1rem;
}

.button-container {
  width: 100%;
  max-width: 800px; /* Keeps it centered and neat */
}

.button-card {
  display: block;
  background: #2e8b57;
  text-decoration: none;
  font-size: 1.5rem; /* ~24px base, scalable */
  font-weight: 700;
  color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  margin-top:25px;
  z-index:1;
  transition:
    background-color 0.3s,
    transform 0.2s ease,
    color 0.3s;
}

.button-card:hover {
  background: #246b45;
  color: #fff;
  transform: scale(1.05);
  z-index:1;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .button-card {
    font-size: 1.1rem;  /* Scale text down */
    padding: 1rem;      /* Reduce padding */
    z-index:1;
  }
}

.event-card{
  padding:42px 25px;
  margin-bottom:76px;
  background: #adefce;
  border-radius: 13px;
  z-index:1;
}

.event-card h1{
  color:black;
  padding:4px auto;
  text-align: center;
  z-index:1;
}

.event-card h3{
  padding:4px auto;
  text-align: center;
}

.event-card p{
  margin:27px auto;
  text-align: center;
}

.event-button-card{
  display: block;
  background: #5dc38a;
  text-decoration: none;
  font-size: 1.5rem; /* ~24px base, scalable */
  font-weight: 700;
  color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  margin-top:10px;
  z-index:1;
  transition:
    background-color 0.3s,
    transform 0.2s ease,
    color 0.3s;
}

.event-button-card:hover {
  background: #186138;
  color: #fff;
  transform: scale(1.05);
  z-index:1;
}

/* Sticky membership button */
.sticky-button {
  position: sticky;
  top: 0; /* sticks to very top */
  z-index: 1000; /* keep it above other content */
  background: #fff; /* ensure clean backdrop */
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* subtle divider */
}

.sticky-button .membership-card {
  margin: 0 auto; /* keep centered */
  display: block;
}

.why-join {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  align-content: center;
}

.why-join .item-button-card{
    font-size: 20px;
    padding:20px;
    display:block;
    margin-top: 3rem;
}

.why-join .item-button-card:hover{
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.why-join h2{
  font-size: 30px;
  color: #246b45;
  margin-bottom: 1rem;
  text-align: center;
} 
.why-join h3 {
  color: #246b45;
  margin-bottom: 1rem;
  text-align: center;
}

.why-join p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.why-join ul {
  margin: 1rem 0 2rem 1.5rem;
  padding: 0;
}

.why-join ul li {
  margin-bottom: 0.75rem;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .why-join {
    padding: 1.25rem;
  }
  .why-join h2 {
    font-size: 1.5rem;
  }
  .why-join h3 {
    font-size: 1.2rem;
  }
}

/* Floating Support Button */
.support-btn {
  position: fixed;
  bottom: 10px;
  right: 12px;
  background: #2e8b57;
  color: white;
  font-size: 1.5rem;
  padding: 7px 11px;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition:
    background 0.3s ease,
    transform 0.2s ease;
  z-index: 1000;
}

.support-btn:hover {
  background: #246b45;
  transform: scale(1.1);
}

/* ========== FOOTER ========== */
footer {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(90deg, #c7ffe0, #7fd5a2);
  margin-top: auto;
}

footer p {
  margin: 0.5rem 0;
}

.social-link {
  display: inline-block;
  margin-top: 0.5rem;
  transition: transform 0.2s ease;
}

.social-link:hover {
  transform: scale(1.1);
}

.social-icon, .social-link svg {
  width: 28px;
  height: 28px;
  vertical-align: middle;
}

/* Base nav styles */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

/* Default (desktop) */
#menu-toggle {
  display: none; /* hide hamburger on desktop */
}

#nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Ensure the drawer logo is hidden by default on desktop and other sizes */
#nav-links .drawer-logo {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  z-index:10000;
}

/* Default desktop nav (keeps existing look) */
#menu-toggle { display: none; }

/* ---------- Mobile drawer rules ---------- */
@media (max-width: 768px) {

  /* show the hamburger */
  #menu-toggle {
    display: block;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10010;
  }

  /* drawer container */
  #nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    position: fixed;
    top: 0;
    left: -260px;               /* hidden offscreen */
    width: 260px;
    height: 100%;
    background: linear-gradient(270deg, #c7ffe0, #7fd5a2);
    box-shadow: 3px 0 18px rgba(0,0,0,0.28);
    padding-top: 1px;         /* space for the top area */
    transition: left 0.32s cubic-bezier(.2,.8,.2,1);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index:9999;
  }

  /* when open */
  #nav-links.show {
    left: 0;
  }

  /* overlay behind drawer */
  .drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 9998;
  }
  .drawer-overlay.visible {
    opacity: 1;
    visibility: visible;
  }

  /* show the drawer logo only on mobile */
  #nav-links .drawer-logo {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    visibility: visible !important;
    margin-bottom: 1rem;
    width: 100%;
    text-align: center;
  }
  #nav-links .drawer-logo img {
    max-width: 80%;
    height: auto;
    display: inline-block;
  }

  /* menu items */
  #nav-links li {
    width: 100%;
    margin: 0.1rem -4rem;
    background: linear-gradient(270deg, #c7ffe0, #7fd5a2);
    z-index:10000;
  }

  #nav-links li a {
    display: block;
    width: 100%;
    padding: 0.9rem 0;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    color: #000;
    z-index:10000;
  }

  #nav-links li a:hover {
    background: #77be95;
    color: #fff;
    z-index:10000;
  }
}

/* Force the whole class-list section itself to be centered */
.class-list {
  display: flex;
  flex-direction: column;
  align-items: center;    /* center its children */
  justify-content: center;      /* auto margin centers the container */
  width: 100%;            /* take full available width */
  max-width: 900px;       /* but never go wider than this */
  gap: 0.9rem;
  margin-top: -53px;
  padding: 3rem 2rem;
  margin: auto;
}

.class-card {
  background: #2e8b57; /* green */
  color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
  height:135px;
  width: 100%;       /* stretch to parent width */
  max-width: 800px;  /* keep a clean centered column */
  box-sizing: border-box;
  transition:
    background-color 0.3s,
    transform 0.2s ease,
    color 0.3s;
    
}

.class-card:hover {
  background: #186138; /* green */
  color: #fff;
  transform: scale(1.05);
}

/* Text */
.class-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  color: #ffffff;
}

.class-card .price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #ffffff;
}

/* Mobile tweak: slightly narrower padding */
@media (max-width: 480px) {
  .class-card {
    padding: 1.25rem;
  }
}

/* General section styling */
.about-afa {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Headings */
.about-afa h2 {
  font-size: 2rem;
  color: #2a5934; /* deep green for AFA theme */
  text-align: center;
  margin-bottom: 1.5rem;
}

.about-afa h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #1d3b25;
  border-left: 4px solid #2a5934;
  padding-left: 0.5rem;
}

/* Paragraphs */
.about-afa p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Lists */
.about-afa ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.about-afa ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.about-afa ul li::before {
  content: "🌸"; /* floral touch */
  position: absolute;
  left: 0;
  color: #2a5934;
}

/* Memoriam Section */
.about-afa ul li strong {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #444;
}

/* Responsive */
@media (max-width: 600px) {
  .about-afa {
    padding: 1.25rem;
  }
  .about-afa h2 {
    font-size: 1.75rem;
  }
  .about-afa h3 {
    font-size: 1.25rem;
  }
}


/* Item Card Container */
.item-container {
    max-width: 1400px;
  padding: 2rem;
  text-align: center; /* ensures container centers content */
}

/* Item Card */
.item-card {
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom:27px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%; /* fills its grid column */
  text-align: center; /* center all text inside */
}

.item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.item-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Item Content */
.item-content {
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  flex: 1; /* allows content to grow */
  align-items: center; /* center flex items horizontally */
  justify-content: flex-start;
  text-align: center; /* ensures text is centered */
}

.item-title,
.item-date,
.item-desc,
.item-price {
  text-align: center; /* explicitly center each text block */
  margin: 0.3rem 0;   /* spacing between elements */
}

/* Title */
.item-title {
  font-size: 2rem;
  font-weight: bold;
  color: #2e8b57;
}

/* Date */
.item-date {
  font-size: 0.95rem;
  color: #555;
}

/* Description */
.item-desc {
  font-size: 0.95rem;
  color: #333;
}

/* Price */
.item-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #246b45;
}

/* Button */
.item-button-card {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  background: #2e8b57;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s, transform 0.2s;
  margin-top: 10px; /* pushes the button to the bottom */
  align-self: center; /* center horizontally */
}

.item-button-card:hover {
  background: #246b45;
  transform: scale(1.03);
}

.event-card {
  background: #fffdf8;
  border: 1px solid #e2d9c9;
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  font-family: "Georgia", serif;
  color: #333;
}

.item-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #444;
}

.event-details h3 {
  margin-top: 1.5rem;
  color: #246b45;
  font-size: 1.2rem;
  border-bottom: 2px solid #0e2016;
  display: inline-block;
  padding-bottom: 3px;
}

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

.event-schedule {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-schedule li {
  margin: 0.5rem 0;
  padding: 0.6rem 0.8rem;
  background: #fdf3f3;
  border-left: 4px solid #246b45;
  border-radius: 6px;
}
