:root {
  --primary-color: #4dabf7;
  --secondary-color: #1864ab;
  --text-color: #212529;
  --bg-color: #f8f9fa;
  --card-bg: #ffffff;
}

/* Event Banner Styles - Placing these first for proper override */
.event-section {
  padding: 2rem 0;
}

.event-banner {
  color: white;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.valentine-banner {
  background: linear-gradient(135deg, #FF69B4, #FF1493) !important;
  border: 2px solid #FFB6C1;
}

.stpatrick-banner {
  background: linear-gradient(135deg, #228B22, #006400) !important;
  border: 2px solid #32CD32;
}

.event-banner-content {
  display: flex;
  align-items: center;
}

.event-icon {
  font-size: 3rem;
  margin-right: 1rem;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-info {
  flex: 1;
}

.event-banner h3 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white !important;
}

.stpatrick-banner h3 {
  color: #FFD700 !important;
}

.event-banner p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: white;
}

.event-banner .important-note {
  font-weight: bold;
  color: #FFD700;
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* Memorial banner style for Alice L. Celebration of Life */
.alice-memorial-banner {
  background: #39747d !important;
  border: 3px solid #cbd5e0;
  position: relative;
  overflow: hidden;
}

.alice-memorial-banner .event-banner-content {
  position: relative;
  z-index: 1;
}

.alice-memorial-banner h3 {
  color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.alice-memorial-banner p {
  color: white;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
}

.alice-memorial-banner .important-note {
  color: #ffffff;
  background-color: rgba(45, 55, 72, 0.8);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.alice-memorial-badge {
  background: linear-gradient(45deg, #e53e3e, #c53030);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 10px;
  box-shadow: 0 3px 10px rgba(229, 62, 62, 0.3);
}

/* Rest of your styles */
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

html {
  scroll-behavior: smooth;
}

.navbar {
  background-color: rgba(24, 100, 171, 1) !important;
  transition: background-color 0.3s ease;
  border-bottom: 2px solid #4dabf7;
}

.navbar-brand:hover img {
  transform: none;
  box-shadow: none;
}

.navbar-nav {
  margin-left: auto;
}

.nav-link {
  position: relative;
  color: white !important;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-button {
  background-color: #4dabf7;
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-button:hover {
  background-color: #3a8fd1;
  transform: translateY(-2px);
}

.nav-button::after {
  content: none;
}

.section {
  padding: 8rem 0;
  scroll-margin-top: 120px;
}

.section h2 {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  font-weight: bold;
}

.section h2 i {
  margin-right: 10px;
  font-size: 1.5em;
}

.card {
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}
.welcome-section {
  background: linear-gradient(135deg, rgba(77, 171, 247, 0.8), rgba(24, 100, 171, 0.8)), url('https://images.unsplash.com/photo-1507909639115-18a93391958b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center / cover;
  color: white;
  padding: 2rem 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.welcome-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  animation: pulse 15s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
}

.welcome-section h1 {
  font-size: 3.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.welcome-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: normal;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.welcome-section p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.current-date {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: left;
}

.meeting-schedule {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.meeting-schedule::after {
  content: '\2192';
  position: absolute;
  right: 10px;
  top: 50%;
  font-size: 24px;
  color: var(--primary-color);
  animation: bounceRight 1s infinite;
}

@keyframes bounceRight {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

.meeting-schedule::-webkit-scrollbar {
  height: 12px;
}

.meeting-schedule::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 6px;
}

.meeting-schedule::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 6px;
  border: 3px solid #e0e0e0;
}

.meeting-day {
  flex: 0 0 auto;
  width: 250px;
  margin-right: 10px;
  background-color: var(--card-bg);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
}

.meeting-day.current-day {
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 10px rgba(77, 171, 247, 0.5);
  order: -1;
}

.meeting-day h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-align: center;
}

.meeting {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.meeting-time {
  font-weight: bold;
  color: var(--primary-color);
}

.meeting-type {
  display: inline-block;
  background-color: #e9ecef;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.8rem;
  margin-top: 2px;
}

#fullCalendar {
  margin: 0 0;
}

.fc-event {
  cursor: pointer;
  border: none;
  border-radius: 3px;
  padding: 2px 5px;
  margin: 1px 0;
}

.calendar-legend {
  padding: 10px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legend-item {
  display: flex;
  align-items: center;
  margin: 5px 10px;
  font-size: 0.9rem;
}

.legend-color {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.contact-form button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}

.membership-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.membership-card h3 {
  margin-bottom: 1rem;
}

.membership-card .btn {
  margin-top: 1rem;
}

#map {
  height: 400px;
  width: 100%;
  border-radius: 8px;
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  background-color: var(--primary-color);
  color: white;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
}

.modal-body {
  white-space: pre-wrap;
}

.cta-button {
  display: inline-block;
  background-color: white;
  color: #1864ab !important;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

footer {
  background-color: #1864ab;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

footer p {
  margin-bottom: 0;
}

.shamrock-icon {
  position: relative;
  width: 80px;
  height: 80px;
}

.shamrock-icon i {
  position: absolute;
  transform-origin: center;
}

.shamrock-icon i:nth-child(1) {
  transform: rotate(0deg) translate(0, -15px);
}

.shamrock-icon i:nth-child(2) {
  transform: rotate(120deg) translate(0, -15px);
}

.shamrock-icon i:nth-child(3) {
  transform: rotate(240deg) translate(0, -15px);
}

.shamrock-icon i:nth-child(4) {
  transform: translate(0, 5px);
}

.membership-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.membership-card h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.price-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.price-display .amount {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.price-display .period {
  color: #666;
  font-size: 1.1rem;
}

.support-text {
  font-size: 1.25rem;
  color: #666;
  margin-top: 1rem;
  line-height: 1.4;
}

.memorial-banner {
  background: linear-gradient(135deg, #d73b3b, #3b5fd7) !important;
  border: 2px solid #ffffff;
}

.announcement-banner {
  background: linear-gradient(135deg, #ffd700, #ff8c00) !important;
  border: 2px solid #ffffff;
  color: #000000;
}

.contact-link {
  color: #1864ab;
  text-decoration: underline;
  font-weight: bold;
}

.contact-link:hover, .contact-link:focus {
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.3);
  outline: 2px solid #1864ab;
  border-radius: 4px;
}

.important-note {
  font-size: 1.1rem !important;
  line-height: 1.5;
}

.clear-announcement-banner {
  background-color: #ffffff !important;
  border: 3px solid #1864ab;
  color: #000000;
  padding: 1.5rem;
}

.clear-announcement-banner h3 {
  color: #1864ab !important;
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.announcement-list {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.7;
}

.announcement-list li {
  margin-bottom: 0.5rem;
}

.clear-contact-link {
  color: #1864ab;
  text-decoration: underline;
  font-weight: bold;
}

.clear-announcement-banner .important-note {
  font-size: 1.25rem !important;
  line-height: 1.6;
  color: #000000;
  background-color: #f8f9fa;
  padding: 0.75rem;
  border-radius: 4px;
  border-left: 4px solid #1864ab;
}

.event-section h2 {
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  font-weight: bold;
}

.event-section h2 i {
  margin-right: 10px;
  color: var(--primary-color);
}

.memorial-banner {
  background: #07285e !important;
  border: 4px solid #c41e3a;
  position: relative;
  overflow: hidden;
}

.memorial-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12,2L9.8,8.6L3,9.1L7.9,13.8L6.4,20L12,16.6L17.6,20L16.1,13.8L21,9.1L14.2,8.6L12,2'/%3E%3C/svg%3E");
  background-repeat: repeat;
  opacity: 0.05;
  z-index: 0;
}

.memorial-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.2));
  z-index: 0;
}

.memorial-banner .event-banner-content {
  position: relative;
  z-index: 1;
}

.memorial-banner h3 {
  color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  position: relative;
}

.memorial-banner p {
  color: white;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
}

.memorial-banner .important-note {
  color: #ffffff;
  background-color: #c41e3a;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  display: inline-block;
  border: 2px solid white;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.july4-banner {
  background: #3c3b6e !important;
  border: 4px solid #b22234;
  position: relative;
  overflow: hidden;
}

.july4-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(45deg, #b22234 0%, #b22234 10%, transparent 10%, transparent 20%, #b22234 20%, #b22234 30%, transparent 30%, transparent 40%, #b22234 40%, #b22234 50%, transparent 50%, transparent 60%, #b22234 60%, #b22234 70%, transparent 70%, transparent 80%, #b22234 80%, #b22234 90%, transparent 90%, transparent 100%);
  opacity: 0.15;
  z-index: 0;
}

.july4-banner::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 100px;
  height: 60px;
  background: radial-gradient(circle, white 2px, transparent 3px);
  background-size: 20px 20px;
  opacity: 0.6;
  z-index: 0;
}

.july4-banner .event-banner-content {
  position: relative;
  z-index: 1;
}

.july4-banner h3 {
  color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.july4-banner h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #b22234, white, #3c3b6e, white, #b22234);
}

.july4-banner p {
  color: white;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
}

.july4-banner .important-note {
  color: #ffffff;
  background-color: #b22234;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  display: inline-block;
  border: 2px solid white;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.equal-height-row {
  display: flex;
  flex-wrap: wrap;
}

.equal-height-row > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

.equal-height-row .event-banner {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.equal-height-row .event-banner-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.equal-height-row .event-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.secretary-announcement-strip {
  background-color: #8e44ad;
  color: white;
  padding: 0.5rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  font-size: 0.9rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.secretary-announcement-strip .announcement-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.secretary-announcement-strip #secretary-announcement-heading {
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.secretary-announcement-strip .announcement-icon {
  margin-right: 0.5rem;
  font-size: 1.1rem;
  color: #f1c40f;
}

.secretary-announcement-strip .announcement-details, .secretary-announcement-strip .announcement-action {
  margin: 0;
}

.secretary-announcement-strip .announcement-action {
  font-style: italic;
}

.navbar {
  position: fixed;
  width: 100%;
  z-index: 1000;
}

main {
  padding-top: 5.7rem;
}

.modal {
  z-index: 1200 !important;
}

.back-to-top {
  z-index: 1050 !important;
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s, transform 0.3s;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.modal-body {
  white-space: pre-wrap;
  padding: 1.5rem;
  line-height: 1.6;
}

.modal-title {
  color: var(--secondary-color);
  font-weight: bold;
}

.modal-header {
  border-bottom: 2px solid var(--primary-color);
  padding: 1rem 1.5rem;
}

.modal-footer {
  border-top: 1px solid #e9ecef;
  padding: 1rem 1.5rem;
}

.modal-content {
  border-radius: 8px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Event Carousel Styles */
.event-carousel-container {
  position: relative;
  max-width: 100%;
  width: 100%;
  margin: 0 auto 2rem;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.event-carousel {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.event-slide {
  min-width: 100%;
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  min-height: 500px;
}

.event-slide::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-bg 8s ease-in-out infinite;
  z-index: 0;
}

.event-slide::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-bg 6s ease-in-out infinite reverse;
  z-index: 0;
}

@keyframes float-bg {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.1); }
}

.bingo-slide {
  background: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #5e35b1 100%);
  position: relative;
}

.bingo-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="bingo-pattern" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="2" fill="rgba(255,215,0,0.2)"/><circle cx="20" cy="15" r="1.5" fill="rgba(255,255,255,0.15)"/><rect x="10" y="20" width="4" height="4" fill="rgba(255,215,0,0.1)" transform="rotate(45 12 22)"/></pattern></defs><rect width="100" height="100" fill="url(%23bingo-pattern)"/></svg>') repeat;
  opacity: 0.3;
  animation: slide-pattern 15s linear infinite;
  z-index: 1;
}

@keyframes slide-pattern {
  0% { transform: translateX(-30px); }
  100% { transform: translateX(0); }
}

.halloween-slide {
  background: linear-gradient(135deg, #4a148c 0%, #7b1fa2 50%, #9c27b0 100%);
  position: relative;
}

.halloween-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="halloween-pattern" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M20,5 L25,15 L35,15 L27,22 L30,32 L20,26 L10,32 L13,22 L5,15 L15,15 Z" fill="rgba(255,165,0,0.15)"/><circle cx="8" cy="8" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="32" cy="32" r="1.5" fill="rgba(255,165,0,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23halloween-pattern)"/></svg>') repeat;
  opacity: 0.3;
  animation: spooky-float 12s ease-in-out infinite;
  z-index: 1;
}

@keyframes spooky-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(1deg); }
  66% { transform: translateY(-5px) rotate(-1deg); }
}

.chili-slide {
  background: linear-gradient(135deg, #ff6b35 0%, #d63031 50%, #a4161a 100%);
  position: relative;
}

.chili-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="chili-pattern" x="0" y="0" width="35" height="35" patternUnits="userSpaceOnUse"><path d="M15,5 Q20,8 18,15 Q16,20 12,18 Q8,15 10,10 Q12,5 15,5" fill="rgba(255,215,0,0.2)"/><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.15)"/><path d="M5,25 Q8,28 6,32 Q4,35 2,33 Q0,30 2,27 Q4,25 5,25" fill="rgba(255,140,0,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23chili-pattern)"/></svg>') repeat;
  opacity: 0.3;
  animation: spice-float 10s ease-in-out infinite;
  z-index: 1;
}

@keyframes spice-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(2deg); }
  50% { transform: translateY(-5px) rotate(-1deg); }
  75% { transform: translateY(-12px) rotate(1deg); }
}

.event-content {
  flex: 1;
  z-index: 2;
  position: relative;
  max-width: 700px;
}

.event-image {
  flex: 0 0 400px;
  margin-left: 3rem;
  z-index: 2;
  position: relative;
}

.event-image img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.event-image img:hover {
  transform: scale(1.02) rotate(1deg);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.event-badge {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #1a237e;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  animation: pulse-glow 3s ease-in-out infinite;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes pulse-glow {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  }
  50% { 
    transform: scale(1.05); 
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
  }
}

.chili-badge {
  background: linear-gradient(45deg, #ffd700, #ff8c00);
  color: #8b0000;
  animation: chili-pulse 2.5s ease-in-out infinite;
}

@keyframes chili-pulse {
  0%, 100% { 
    transform: scale(1) rotate(0deg); 
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  }
  50% { 
    transform: scale(1.05) rotate(-1deg); 
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.6);
  }
}

.halloween-badge {
  background: linear-gradient(45deg, #ff8c00, #ff6347);
  color: white;
  animation: spooky-pulse 2s ease-in-out infinite;
}

@keyframes spooky-pulse {
  0%, 100% { 
    transform: scale(1) rotate(0deg); 
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
  }
  50% { 
    transform: scale(1.05) rotate(-2deg); 
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.6);
  }
}

.event-slide h3 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.event-slide p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  opacity: 0.95;
  line-height: 1.6;
}

.event-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.highlight-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.highlight-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.event-cta {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.event-cta:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: white;
  text-decoration: none;
}

.event-cta i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.event-cta:hover i {
  transform: translateX(3px);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  padding: 20px 0;
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  backdrop-filter: blur(5px);
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.carousel-indicator:hover {
  background: var(--primary-color);
  transform: scale(1.1);
}

/* TAC Membership Graphic Styles */
.tac-membership-graphic {
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Join Today Section */
.join-today-section {
  background: linear-gradient(135deg, #4dabf7 0%, #1864ab 100%);
  color: white;
  position: relative;
  padding: 2.5rem 1.5rem !important;
  border-radius: 8px 8px 0 0;
}

.join-today-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="1.5" fill="rgba(255,255,255,0.15)"/></svg>') repeat;
  opacity: 0.3;
}

.join-today-section .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.join-today-section .tax-note {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FFD700;
  margin-bottom: 1.5rem !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.qr-code-container {
  position: relative;
  display: inline-block;
  z-index: 1;
  text-align: center;
}

.qr-image {
  width: 200px;
  height: 200px;
  border: 5px solid white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: white;
  padding: 10px;
  display: block;
  margin: 0 auto;
}

.scan-badge {
  background: linear-gradient(45deg, #FFD700, #FFA500);
  color: #1864ab;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 8px 20px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  display: inline-block;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Why Become a Member Section */
.why-member-section {
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
  padding: 2.5rem 1.5rem !important;
}

.why-member-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 2rem !important;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.why-member-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.reason-box {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.reason-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(77, 171, 247, 0.2);
  border-color: var(--primary-color);
}

.reason-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(77, 171, 247, 0.3);
  transition: transform 0.3s ease;
}

.reason-box:hover .reason-icon {
  transform: rotate(360deg) scale(1.1);
}

.reason-content {
  flex: 1;
}

.reason-content h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.reason-content p {
  font-size: 1.05rem;
  color: #666;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Media Queries */
@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column;
    align-items: center;
  }
  .nav-item {
    margin: 0.5rem 0;
  }
  .navbar {
    padding-bottom: 1rem;
  }
  .nav-button {
    padding: 0.5rem 1.5rem !important;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    width: auto;
  }
  .card iframe {
    height: 300px;
  }
  .meeting-schedule {
    flex-direction: column;
    overflow-x: visible;
    padding-bottom: 0;
  }
  .meeting-schedule::after {
    display: none;
  }
  .meeting-day {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .meeting-day.current-day {
    order: -1;
  }
  .event-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .event-icon {
    margin-bottom: 1rem;
  }
  .event-banner {
    padding: 1.5rem;
  }
  .event-banner h3 {
    font-size: 1.5rem;
  }
  .event-banner p {
    font-size: 1rem;
  }
  .fc-toolbar {
    display: flex;
    flex-direction: column;
  }
  .fc-toolbar .fc-left, .fc-toolbar .fc-center, .fc-toolbar .fc-right {
    margin: 5px 0;
  }
  .legend-item {
    font-size: 0.8rem;
  }
  .secretary-announcement-strip {
    font-size: 0.8rem;
    line-height: 1.3;
    padding: 0.4rem 0.5rem;
  }
  .secretary-announcement-strip .announcement-content {
    flex-direction: column;
    gap: 0.25rem;
  }
  main {
    padding-top: 6.25rem;
  }
  .event-slide {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .event-image {
    flex: none;
    margin: 2rem 0 0 0;
    max-width: 280px;
    width: 100%;
    margin-bottom: 1rem;
  }
  .event-slide h3 {
    font-size: 2rem;
  }
  .event-slide p {
    font-size: 1rem;
  }
  .event-highlights {
    justify-content: center;
  }
  .highlight-item {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .carousel-prev {
    left: 10px;
  }
  .carousel-next {
    right: 10px;
  }
  .event-content {
    order: 2;
  }
  .event-image {
    order: 1;
  }
  .join-today-section .section-title {
    font-size: 2rem;
  }
  
  .join-today-section .tax-note {
    font-size: 1.1rem;
  }
  
  .qr-image {
    width: 180px;
    height: 180px;
  }
  
  .why-member-section .section-title {
    font-size: 1.6rem;
  }
  
  .reason-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  
  .reason-content h4 {
    font-size: 1.2rem;
  }
  
  .reason-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .event-slide {
    padding: 1.5rem 1rem;
  }
  .event-slide h3 {
    font-size: 1.5rem;
  }
  .carousel-nav {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}