/* Events & News Page Styles */

/* Hero Section */
.events-news-hero {
    background: linear-gradient(135deg, var(--primary-green), #004d2a);
    color: white;
    text-align: center;
    padding: 120px 20px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.events-news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.events-news-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-icons {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.hero-icons i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    animation: float 3s ease-in-out infinite;
}

.hero-icons i:nth-child(1) {
    animation-delay: 0s;
}

.hero-icons i:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-icons i:nth-child(3) {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.events-news-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.events-news-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content Section */
.events-news-main {
    padding: 60px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Featured Event */
.featured-event {
    margin-bottom: 60px;
}

.event-card.featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.event-card.featured:hover {
    transform: translateY(-5px);
}

.event-image {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-green);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
}

.event-date .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
}

.event-content {
    padding: 30px;
}

.event-tag {
    display: inline-block;
    background: var(--secondary-orange);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.event-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.event-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.event-details {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
}

.detail i {
    color: var(--primary-green);
}

/* Events & News Grid */
.events-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-green);
}

/* Upcoming Events */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    display: flex;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateX(5px);
}

.event-card .event-date {
    position: static;
    background: var(--primary-green);
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
    height: fit-content;
}

.event-card .event-content {
    padding: 0;
    flex: 1;
}

.event-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.event-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Latest News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-date {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 10px;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--primary-green);
    color: white;
    padding: 60px 0;
    margin-top: 60px;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--secondary-orange);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background: #e65c00;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .event-card.featured {
        grid-template-columns: 1fr;
    }

    .event-image {
        min-height: 300px;
    }

    .events-news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .events-news-hero {
        padding: 80px 20px;
    }

    .events-news-hero h1 {
        font-size: 2.5rem;
    }

    .hero-icons i {
        font-size: 3rem;
    }

    .hero-icons {
        gap: 1.5rem;
    }

    .event-details {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .events-news-hero {
        padding: 60px 20px;
    }

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

    .hero-icons i {
        font-size: 2.5rem;
    }

    .hero-icons {
        gap: 1rem;
    }

    .event-card {
        flex-direction: column;
    }

    .event-card .event-date {
        align-self: flex-start;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Styles */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
}

.btn-primary:hover {
    background: #008a4a;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.back-to-home {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-green);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.08rem;
    box-shadow: 0 2px 10px rgba(0,168,89,0.10);
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

.back-btn:hover {
    background: var(--secondary-orange);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}

.back-btn i {
    font-size: 1.1rem;
}

@media (max-width: 600px) {
    .back-to-home {
        padding: 10px;
    }
    .back-btn {
        font-size: 0.9rem;
    }
}

/* Coming Soon Section */
.coming-soon-section {
    padding: 80px 0;
    text-align: center;
}

.coming-soon-content {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    padding: 60px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.coming-soon-icon {
    font-size: 5rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

.coming-soon-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.coming-soon-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.coming-soon-content .newsletter-section {
    margin-top: 2rem;
}

.coming-soon-content .newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.coming-soon-content .newsletter-form input {
    width: 100%;
    max-width: 350px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.coming-soon-content .newsletter-form button {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    background: var(--primary-green);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.coming-soon-content .newsletter-form button:hover {
    background: #004d2a;
}

.newsletter-message {
    margin-top: 1rem;
    font-weight: 500;
}

.newsletter-message.success {
    color: var(--primary-green);
}

.newsletter-message.error {
    color: #d9534f;
}

@media (max-width: 768px) {
    .coming-soon-content {
        padding: 40px 20px;
    }

    .coming-soon-content h2 {
        font-size: 2rem;
    }

    .coming-soon-content .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .coming-soon-content .newsletter-form input,
    .coming-soon-content .newsletter-form button {
        width: 100%;
        max-width: 350px;
    }
}

/* Annual Events Timeline Section */
.annual-events-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e6fff3 50%, #fff5e6 100%);
  padding: 60px 0 40px 0;
  position: relative;
  overflow: hidden;
}
.annual-events-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}
.annual-events-section .section-intro {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.events-timeline {
  position: relative;
  margin: 0 auto;
  max-width: 700px;
  padding-left: 30px;
  border-left: 4px solid var(--primary-green);
}
.timeline-event {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  position: relative;
  min-height: 90px;
}
.timeline-event:last-child {
  margin-bottom: 0;
}
.event-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-orange));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 16px rgba(0,168,89,0.10);
  position: absolute;
  left: -38px;
  top: 0;
  z-index: 2;
  animation: popIn 0.7s cubic-bezier(.4,0,.2,1);
}
@keyframes popIn {
  0% { transform: scale(0.7); opacity: 0; }
  80% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.event-content {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,168,89,0.07);
  padding: 1.2rem 1.5rem 1.2rem 2.2rem;
  margin-left: 30px;
  min-width: 0;
  flex: 1;
  position: relative;
  transition: box-shadow 0.2s;
}
.timeline-event:hover .event-content {
  box-shadow: 0 8px 32px rgba(0,168,89,0.13);
}
.event-date {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary-orange);
  margin-bottom: 0.2rem;
}
.event-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.2rem;
}
.event-desc {
  font-size: 1rem;
  color: var(--text-dark);
  opacity: 0.92;
}
@media (max-width: 900px) {
  .events-timeline {
    max-width: 98vw;
    padding-left: 18px;
  }
  .event-content {
    padding: 1.1rem 1rem 1.1rem 1.7rem;
  }
  .event-icon {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    left: -26px;
  }
}
@media (max-width: 600px) {
  .annual-events-section {
    padding: 36px 0 20px 0;
  }
  .events-timeline {
    padding-left: 10px;
    border-left-width: 2.5px;
  }
  .event-content {
    padding: 0.9rem 0.7rem 0.9rem 1.2rem;
  }
  .event-title {
    font-size: 1.05rem;
  }
  .event-date {
    font-size: 0.98rem;
  }
  .event-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    left: -15px;
  }
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0 0 0;
  justify-items: center;
}
.event-card-grid {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,168,89,0.10);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  max-width: 340px;
  width: 100%;
  position: relative;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  animation: cardFadeIn 0.7s cubic-bezier(.4,0,.2,1) forwards;
  animation-delay: var(--delay, 0s);
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 3.2rem;
}
.event-date {
  position: absolute;
  left: 1.2rem;
  bottom: -1.3rem;
  display: inline-block;
  background: var(--primary-green);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 0 0 12px 12px;
  padding: 0.4rem 1.2rem 0.4rem 1.2rem;
  box-shadow: 0 2px 8px rgba(0,168,89,0.10);
  border-bottom: 4px solid var(--secondary-orange);
  text-align: center;
  min-width: 120px;
  letter-spacing: 0.5px;
  margin: 0;
  z-index: 2;
}
.event-card-grid:hover {
  box-shadow: 0 8px 32px rgba(0,168,89,0.18);
  transform: translateY(-4px) scale(1.03);
}
@keyframes cardFadeIn {
  0% { opacity: 0; transform: translateY(40px) scale(0.98); }
  80% { opacity: 1; transform: translateY(-8px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.event-card-grid .event-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-orange));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 10px rgba(0,168,89,0.10);
  transition: transform 0.2s;
}
.event-card-grid:hover .event-icon {
  transform: scale(1.12) rotate(-6deg);
}
.event-card-grid .event-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.2rem;
  text-align: center;
}
.event-card-grid .event-desc {
  font-size: 1rem;
  color: var(--text-dark);
  opacity: 0.92;
  text-align: center;
  margin-top: 0.3rem;
}
@media (max-width: 900px) {
  .events-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
  .event-card-grid {
    padding: 1.3rem 0.7rem 1.1rem 0.7rem;
    max-width: 98vw;
    margin-bottom: 2.5rem;
  }
  .event-date {
    left: 0.7rem;
    bottom: -1.1rem;
    min-width: 90px;
    font-size: 0.98rem;
    padding: 0.3rem 0.7rem 0.3rem 0.7rem;
  }
}
@media (max-width: 600px) {
  .events-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .event-card-grid {
    padding: 1.1rem 0.5rem 0.9rem 0.5rem;
    max-width: 100vw;
    margin-bottom: 2rem;
  }
  .event-date {
    left: 0.5rem;
    bottom: -0.9rem;
    min-width: 70px;
    font-size: 0.92rem;
    padding: 0.25rem 0.6rem 0.25rem 0.6rem;
  }
  .event-card-grid .event-title {
    font-size: 1.05rem;
  }
  .event-card-grid .event-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
}

.events-timeline-carousel-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e6fff3 50%, #fff5e6 100%);
  padding: 60px 0 40px 0;
  position: relative;
  overflow: hidden;
}
.events-timeline-carousel {
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 2.5rem;
  margin: 0 -20px;
}
.timeline-track {
  display: flex;
  align-items: flex-end;
  position: relative;
  min-width: 900px;
  width: max-content;
  padding: 2rem 2rem 1.5rem 2rem;
}
.timeline-connector {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--secondary-orange));
  z-index: 0;
  opacity: 0.18;
  pointer-events: none;
}
.event-card-carousel {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,168,89,0.10);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 260px;
  max-width: 320px;
  width: 100%;
  margin-right: 2.5rem;
  margin-left: 0;
  position: relative;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  animation: cardFadeIn 0.7s cubic-bezier(.4,0,.2,1) forwards;
  animation-delay: var(--delay, 0s);
  transition: box-shadow 0.2s, transform 0.2s;
  z-index: 1;
}
.event-card-carousel:last-child {
  margin-right: 0;
}
.event-card-carousel:hover {
  box-shadow: 0 8px 32px rgba(0,168,89,0.18);
  transform: translateY(-4px) scale(1.03);
}
@keyframes cardFadeIn {
  0% { opacity: 0; transform: translateY(40px) scale(0.98); }
  80% { opacity: 1; transform: translateY(-8px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.event-card-carousel .event-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-orange));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 10px rgba(0,168,89,0.10);
  transition: transform 0.2s;
  z-index: 2;
}
.event-card-carousel:hover .event-icon {
  transform: scale(1.12) rotate(-6deg);
}
.event-card-carousel .event-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.2rem;
  text-align: center;
}
.event-card-carousel .event-desc {
  font-size: 1rem;
  color: var(--text-dark);
  opacity: 0.92;
  text-align: center;
  margin-top: 0.3rem;
}
.event-date-badge {
  position: absolute;
  top: -1.2rem;
  right: 1.2rem;
  background: var(--primary-green);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 0.35rem 1.1rem 0.35rem 1.1rem;
  box-shadow: 0 2px 8px rgba(0,168,89,0.10);
  border-bottom: 3px solid var(--secondary-orange);
  z-index: 3;
  letter-spacing: 0.5px;
  opacity: 0.97;
  animation: badgePopIn 0.7s cubic-bezier(.4,0,.2,1) forwards;
  animation-delay: calc(var(--delay, 0s) + 0.2s);
}
@keyframes badgePopIn {
  0% { opacity: 0; transform: scale(0.7) translateY(-10px); }
  80% { opacity: 1; transform: scale(1.1) translateY(2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@media (max-width: 900px) {
  .timeline-track {
    min-width: 700px;
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  }
  .event-card-carousel {
    min-width: 220px;
    max-width: 98vw;
    padding: 1.3rem 0.7rem 1.1rem 0.7rem;
    margin-right: 1.2rem;
  }
  .event-date-badge {
    right: 0.7rem;
    top: -1.1rem;
    font-size: 0.95rem;
    padding: 0.25rem 0.7rem 0.25rem 0.7rem;
  }
}
@media (max-width: 600px) {
  .timeline-track {
    min-width: 480px;
    padding: 0.5rem 0.2rem 0.5rem 0.2rem;
  }
  .event-card-carousel {
    min-width: 170px;
    max-width: 100vw;
    padding: 1.1rem 0.5rem 0.9rem 0.5rem;
    margin-right: 0.7rem;
  }
  .event-date-badge {
    right: 0.4rem;
    top: -0.7rem;
    font-size: 0.88rem;
    padding: 0.18rem 0.5rem 0.18rem 0.5rem;
  }
}
