main {
  background-color: var(--green-3);
}

/* About page styles */

#about-who .row {
  margin-left: 0;
  margin-right: 0;
}



/* Page Title */
.page-title {
  color: var(--green-1);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 5px;
  margin-top: 0;
  padding-top: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Breadcrumb Styling */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

.breadcrumb-item {
  font-size: 0.9rem;
  font-weight: 500;
}

.breadcrumb-item a {
  color: #a24e43;
  text-decoration: none;
  transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--green-1);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--green-1);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: #a24e43;
}

/* Animation */
@keyframes titleFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.fade-in-element {
  opacity: 0;
  animation: titleFadeIn 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

/* 1. HERO SECTION */
.about-hero {
  background-color: var(--green-3);
  padding: 100px 0 80px 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: visible;
}

.breadcrumb-contact {
  justify-content: left;
  background: transparent;
  padding: 0;
}

.about-hero h1 {
  color: var(--green-1);
  font-size: 50px;
  font-weight: 700;
  text-align: center;
  margin: 0 !important; /* Ensure no margin */
}

.about-hero .breadcrumb{
  text-align: center;
  position: relative;
  z-index: 10;
}

.breadcrumb-item,
.breadcrumb-item.active,
.breadcrumb-item a {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--brown) !important;
  text-align: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.7);
  content: "/";
  font-weight: 500;
}

.breadcrumb-link {
  text-decoration: none;
}

/* SECTION 2 */
.about-who {
  background-color: var(--green-3);
  position: relative;
  z-index: 5;
  margin-top: -1px; /* Ensure seamless connection with hero section */
}

.about-who .text-center {
  margin: 20px;
  text-align: center;
  justify-content: center;
}

.about-who .text-center h3 {
  font-size: 16px;
  font-weight: 400;
  color: var(--brown);
}

.about-who .text-center h2 {
  font-size: 30px;
  font-weight: 600;
  color: var(--green-1);
}

.about-who .text-center p {
  font-size: 14px;
  font-weight: 400;
  color: var(--green-1);
  padding: 20px 60px;
  text-align: center;
  justify-content: center;
}

.about-who .ouradvocacy1{
  padding-left: 100px;
}

.about-who .ouradvocacy {
  font-size: 20px;
  font-weight: 400;
  color: var(--brown);
  text-align: left;
  margin-bottom: 10px;
  padding-top: 20px;
}

.about-who h4 {
  font-size: 25px;
  font-weight: 600;
  color: var(--green-1);
  text-align: left;
  margin-bottom: 30px;
  line-height: 1.3;
}

.align-items-center {
  margin: 20px 20px 40px;
}

.about-who .align-items-center h4 {
  font-size: 23px;
  font-weight: bold;
  color: var(--green-1);
}

/* Cards */
.about-who .cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 250px;
  transition: transform 2s ease;
}

.about-who .card {
  margin: 5px;
  border: none;
  position: relative;
  width: 300px;
  height: 200px;
  background: linear-gradient(-45deg, #f89b29 0%, #ff0f7b 100% );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.about-who .card:hover {
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.about-who .card__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  color: var(--white);
  background-color: rgba(162, 78, 67, 0.5);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.about-who .card:hover .card__content {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 1;
}

.about-who .card__title {
  margin: 0;
  font-size: 20px;
  color: var(--white);
  font-weight: 700;
  align-items: center;
  justify-content: center;
}

.about-who .card {
  background: linear-gradient(to bottom, #6A2117, #A24E43); /* custom purple */
}

/*  Section 2 - animation */
@keyframes fadeUpImage {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-who .card-img-top {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.about-who .card-img-top.visible {
  animation: fadeUpImage 0.8s ease forwards;
}

/* SECTION 3 */
.about-humble{
  background-color: var(--green-3);
  color:var(--green-1);
}

.about-humble .text-center h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--brown);
}

.about-humble .text-center h2 {
  font-size: 30px;
  font-weight: 600;
  color: var(--green-1);
}

.about-humble .text-center p {
  font-size: 14px;
  font-weight: 400;
  color: var(--green-1);
  padding: 20px 60px;
  text-align: center;
  justify-content: center;
}

.about-humble .align-items-center p {
  font-size: 14px;
  font-weight: 400;
  color: var(--green-1);
  padding: 10px 40px;
  text-align: left;
  justify-content: center;
}

.about-humble .align-items-center h2{
  font-size: 30px;
  font-weight: 600;
  color: var(--green-1);
  padding: 0 40px;
}

.about-humble .humble-img{
  width: 100%;
  height: auto;
}

.about-humble img {
  width: 300px;
  height: auto;
  max-width: 400px;
  margin: 0 auto;
}

.humble-images {
  position: relative;
  height: auto;
  min-height: 400px;
}

.about-humble .humble-img-1 {
  position: relative;
  z-index: 1;
  right: 90px; /* Adjust as needed for overlap */
  max-width: 100%;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.about-humble .humble-img-2 {
  position: absolute;
  top: 120px; /* Adjust as needed for overlap */
  left: 240px; /* Adjust as needed for overlap */
  border-radius: 1rem;
  z-index: 2;
  width: 270px; /* Adjust as needed for overlap */
}

/* Slide-in Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Initial Hidden State */
.slide-in-left,
.slide-in-right {
  opacity: 0;
  will-change: transform, opacity;
}

/* Trigger when in view */
.slide-in-left.in-view {
  animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right.in-view {
  animation: slideInRight 0.8s ease-out forwards;
}

/* Section 4 */
.about-section {
  background-color:var(--green-3);
  position: relative;
  overflow: hidden;
}

.mission-vision-card {
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mission-vision-card:hover {
  transform: translateY(-10px);
}

.about-section .lead {
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  margin-top: -30px;
}

.about-section .text-center img{
  text-align: center;
  color: var(--white);
  width: 60px;
  padding: 20px 0;
}

.mission-vision-card .card-title {
  color: var(--white);
  margin-bottom: 0 !important;
}

/* Moving icons */
.floating-icon {
  position: absolute;
  opacity: 0.1;
  color: var(--brown);
  z-index: 0;
  animation: floating 5s infinite ease-in-out;
}

@keyframes floating {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-20px) rotate(10deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.icon-1 {
  top: 10%;
  left: 5%;
  font-size: 50px;
  animation-delay: 0s;
}

.icon-2 {
  top: 70%;
  left: 80%;
  font-size: 40px;
  animation-delay: 1s;
}

.icon-3 {
  top: 30%;
  left: 85%;
  font-size: 60px;
  animation-delay: 2s;
}

.icon-4 {
  top: 80%;
  left: 10%;
  font-size: 45px;
  animation-delay: 3s;
}

.card-icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: #17a2b8;
}

.card-title {
  color: #28a745;
  margin-bottom: 20px;
  font-weight: 700;
}

/* Section 5 - Team*/
.about-team{
  background-color: var(--green-3);
  padding: 100px 0;
}

.about-team .card-body h5{
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}

.about-team .text-center h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--brown);
}

.about-team .text-center h2 {
  font-size: 30px;
  font-weight: 600;
  color: var(--green-1);
  line-height: 1.2;
}

.about-team .team-card{
  border-radius: 5px !important;
}

.about-team .bg-overlay {
  background-color: var(--brown);
  transition: all 0.5s ease;
  padding: 1rem;
  opacity: 0.8;
  border-radius: 0 40px 0 0;
}

.team-card:hover .bg-overlay {
  background-color: var(--green-1);
}

.about-team .team-card-container {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.about-team .team-title {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 3;
  will-change: transform;
}

.about-team .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 61, 43, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  padding: 20px;
  will-change: transform, opacity;
}

.about-team .team-member-info {
  text-align: center;
  color: white;
  padding: 15px;
}

.about-team .member-details {
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.4;
}

.about-team .social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.about-team .social-icon {
  color: white;
  font-size: 18px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.about-team .social-icon:hover {
  transform: scale(1.2);
  color: var(--green-1);
}

/* Hover Effects */
.about-team .team-card:hover .card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.about-team .team-card:hover .team-title {
  transform: translateY(100%);
}

.about-team .team-card img {
  transition: transform 3s ease;
}

.about-team .team-card:hover img {
  transform: scale(1.05);
}

.about-team .team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-team .team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2) !important;
}

/* Improved animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade-in animation for About Us title and breadcrumb */
@keyframes titleFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.fade-in-element {
  opacity: 0;
  animation: titleFadeIn 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.about-team .team-card:hover .member-details {
  animation: fadeIn 2s forwards;
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-team .team-card:hover .member-details {
  animation: fadeIn 2s forwards;
}

.about-team .team-card:hover .social-links {
  animation: fadeIn 0.7s 0.2s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

/* REGION Section 6 */
.regional-section{
  background-color: var(--green-3);
}

.region-container .text{
  font-size: 20px;
  font-weight: 500;
  color: var(--brown);
}

.region-container h2{
  font-size: 30px;
  font-weight: semibold;
  color: var(--green-1);
  line-height: 1.2;
}

.region-container p{
  font-size: 14px;
  color: var(--green-1);
  margin-bottom: 20px;
  font-weight: 400;
}

.CAR-map {
  position: relative;
}

.CAR-map img {
  width: 100%;
  display: block;
}

/* Whole group (label + icon) */
.map-group {
  position: absolute;
  text-align: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* When hovering over the entire map */
.CAR-map:hover .map-group {
  opacity: 1;
  transform: scale(1.1);
  z-index: 10;
}

/* Label box */
.map-label {
  background-color: white;
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  display: inline-block;
  color: var(--brown);
  transition: transform 0.5s ease;
}

.CAR-map:hover .map-label {
  animation: heartbeat 1s ease-in-out infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.2);
  }
  60% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}

/* Pin Icon */
.map-pin {
  font-size: 20px;
  color: var(--brown);
}

.apayao       { top: 5%; left: 60%; }
.abra         { top: 25%; left: 30%; }
.kalinga      { top: 25%; left: 75%; }
.mt-province  { top: 39%; left: 45%; }
.ifugao       { top: 57%; left: 50%; }
.benguet      { top: 60%; left: 20%; }

/* REGION Section 7 */
.about-objectives{
  background-color: var(--green-3);
  padding: 100px 0;
}

.about-objectives .text-center h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--brown);
}

.about-objectives .text-center h2 {
  font-size: 30px;
  font-weight: 600;
  color: var(--green-1);
}

.about-objectives .objectives {
  font-size: 14px;
  font-weight: 400;
  color: var(--green-1);
  padding: 20px 60px;
}

/* Wrapper */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  height: 50px;
  width: 100%;
}

.about-objectives .marquee-wrapper .logo-4 img{
  width: 40px;
  height: auto;
  align-items: center;
  justify-content: center;
}

.about-objectives  .marquee-content {
  height: 50px;
  white-space: nowrap;
  animation: scroll-marquee 20s linear infinite;    align-items: center;
  padding-top: 20px;  
}

@keyframes scroll-marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Slide-in Keyframes */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* aninmation for section 7 */
@keyframes slideFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideFromRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Initial hidden state */
.slide-in-from-left,
.slide-in-from-right {
  opacity: 0;
  will-change: transform, opacity;
}

/* Trigger when in view */
.slide-in-from-left.in-view {
  animation: slideFromLeft 0.8s ease-out forwards;
}

.slide-in-from-right.in-view {
  animation: slideFromRight 0.8s ease-out forwards;
}

/* REGION Section 8 */
.about-programs{
  background-color: var(--green-3);
}

.about-programs .content{
  padding: 20px 0px;
}

.about-programs h2{
  font-size: 16px;
  font-weight: 500;
  color: var(--brown);
}

.about-programs .content h3{
  font-size: 30px;
  font-weight: 600;
  color: var(--green-1);
  text-align: left;
  margin-bottom: 20px;
}

.about-programs p{
  font-size: 14px;
  font-weight: 400;
  color: var(--green-1);
}

.about-programs img{
  width: 600px;
  background-color: transparent;
  padding-left: 90px;
}

.about-programs .custom-btn {
  background: linear-gradient(to bottom, #6A2117, #A24E43); /* custom purple */
  color: white;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 30px;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.2s;
}

.about-programs .custom-btn:hover {
  background-color: var(--green-1);
  color: var(--white);
  transform: scale(1.05);
  text-decoration: none;
}

.custom-btn:active {
  transform: scale(0.98);
}

/* Animations */
.ellipse0 {
  position: absolute;
  width: 300px;
  height: 400px;
  z-index: 0;
  animation: upDown 5s ease-in-out infinite;
  top: 85%;
  left: 85%;
  transform-origin: center;
  overflow: hidden;
}

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

.ellipse1 {
  position: absolute;
  width: 500px;
  height: 500px;
  z-index: 0;
  animation: upDown 5s ease-in-out infinite;
  top: 150%;
  left: -1%;
  transform-origin: center;
  overflow: hidden;
}

.ellipse2 {
  position: absolute;
  width: 1000px;
  height: 700px;
  z-index: 0;
  animation: upDown 5s ease-in-out infinite;
  left: 85%;
  transform-origin: center;
  overflow: hidden;
}

.ellipse3 {
  position: absolute;
  width: 500px;
  height: 500px;
  z-index: 0;
  animation: upDown 5s ease-in-out infinite;
  left: 90%;
  transform-origin: center;
  overflow: hidden;
}

.ellipse4 {
  position: absolute;
  width: 700px;
  height: 700px;
  z-index: 0;
  animation: upDown 5s ease-in-out infinite;
  transform-origin: center;
  overflow: hidden;
}

/* Section 5 */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.animate-on-scroll.visible {
  animation: fadeUp 0.8s ease-out forwards;
}

/* Section 8 */
/* Base Styles */
.about-programs {
  overflow: hidden;
  position: relative;
}

/* Animation Classes - Initial State */
.about-programs .img-fluid {
  transform: translateX(-50px);
  opacity: 0;
  transition: all 0.8s ease-out;
}

.about-programs .content h2 {
  transform: translateY(-30px);
  opacity: 0;
  transition: all 0.6s ease-out 0.2s;
}

.about-programs .content h3 {
  transform: translateY(-30px);
  opacity: 0;
  transition: all 0.6s ease-out 0.4s;
}

.about-programs .content p {
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s ease-out 0.6s;
}

.about-programs .content .custom-btn {
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s ease-out 0.8s;
}

/* Animated State */
.about-programs.animate .img-fluid,
.about-programs.animate .content h2,
.about-programs.animate .content h3,
.about-programs.animate .content p,
.about-programs.animate .content .custom-btn {
  transform: translate(0);
  opacity: 1;
}

/* Override any padding or margin from main layout */
    body.about-page main,
    body.about-page header,
    body.about-page .container-fluid,
    body.about-page .row {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hero-banner {
        position: relative;
        background-image: url('{{ asset("member_assets/img/events-page/events-bg.png") }}');
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
        width: 100%;
        height: 550px !important;
        min-height: auto !important;
        display: block;
        margin-top: -70px; /* Pull up to remove white space at top */
    }
    
    /* Event Carousel Styles */
    .recent-events-section {
        position: relative;
        padding: 80px 0;
        font-family: 'Poppins', sans-serif;
        background-size: 100% 100% !important;
        background-position: center !important; 
        background-repeat: no-repeat !important;
    }
      /* Add a semi-transparent overlay for better text readability */
    .recent-events-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(255, 255, 255, 0.75);
        z-index: 1;
    }
    
    .recent-events-section .container {
        position: relative;
        z-index: 2;
    }
      .btn-brown {
        background-color: var(--brown) !important;
        color: white;
    }
    
    .btn-brown:hover {
        background-color: #8d352d !important;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(162, 78, 67, 0.3);
    }
    
    .events-carousel {
        position: relative;
        width: 100%;
        overflow: visible;
        padding-bottom: 30px;
    }
    
    .events-carousel-inner {
        position: relative;
        width: 100%;
    }      .event-card {
        display: none;
        position: relative;
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
        opacity: 0;
        transition: all 0.5s ease;
        border-radius: 10px;
        overflow: hidden;
        background-color: white;
        border: 1px solid rgba(33, 161, 121, 0.1);
    }
    
    .event-card.active {
        display: block;
        opacity: 1;
    }
      .event-card .card {
        border: none;
        border-radius: 10px;
        overflow: hidden;
        transition: transform 0.3s ease;
    }
    
    .event-card .card:hover {
        transform: translateY(-5px);
    }
    
    .event-card .card-img-top {
        height: 180px;
        object-fit: cover;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }    .event-date-box {
        position: absolute;
        top: 15px;
        left: 15px;
        background: var(--green-2);
        color: white;
        width: 65px;
        height: 65px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
        font-family: 'Poppins', sans-serif;
    }
    
    .event-date-box .date {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: -5px;
    }
    
    .event-date-box .year {
        font-size: 18px;
        font-weight: 700;
    }
      .event-card .card-body {
        padding: 20px;
        background: white;
    }
    
    .event-card .card-title {
        font-size: 16px;
        font-weight: 700;
        color: var(--green-1);
        margin-bottom: 15px;
        line-height: 1.4;
        min-height: 45px;
    }
      .event-details {
        margin-bottom: 15px;
    }
    
    .event-details i {
        color: var(--green-2);
        width: 20px;
    }
    
    .event-details span {
        font-size: 14px;
        color: var(--green-1);
        opacity: 0.85;
    }
    
    .event-details .organizer {
        font-size: 13px;
    }    .btn-sm.btn-green-outline {
        font-size: 12px;
        padding: 6px 12px;
        border-radius: 20px;
    }
    
    .btn-sm.btn-green-gradient {
        font-size: 12px;
        padding: 6px 12px;
        border-radius: 20px;
    }
      /* We're using the hover styles from app.css for btn-green-outline and btn-green-gradient */    /* Carousel navigation button */
    #nextEventBtn {
        position: absolute;
        right: -20px;
        bottom: 50%;
        transform: translateY(50%);
        width: 40px;
        height: 40px;
        background-color: var(--green-2);
        border-radius: 50%;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 5;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    #nextEventBtn i {
        color: white;
    }
    
    #nextEventBtn:hover {
        background-color: var(--green-1);
        transform: translateY(50%) scale(1.05);
    }
    
    /* Animation classes */
    .event-card.animate-in {
        animation: fadeIn 0.5s ease forwards;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    /* Mobile Responsiveness */
    @media (max-width: 768px) {
        .event-card, 
        .browse-event-card {
            max-width: 100%;
        }
        
        #nextEventBtn {
            right: 15px;
        }
    }
    
    /* Program Icons Section Styles */
    .program-icons-section {
        padding: 40px 0;
        background-color: var(--white);
    }
    
    .program-icon-item {
        margin-bottom: 20px;
    }
    
    .program-icon-link {
        text-decoration: none;
        display: block;
        text-align: center;
    }
    
    .program-icon-circle {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--green-1), var(--green-2));
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 10px;
        transition: all 0.3s ease;
    }
    
    .program-icon-circle i {
        font-size: 24px;
    }
    
    .program-name {
        font-size: 12px;
        color: var(--green-1);
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .program-icon-link:hover .program-icon-circle {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .program-icon-link:hover .program-name {
        color: var(--green-2);
    }
    
    /* Green Divider */
    .green-divider {
        height: 2px;
        background-color: var(--green-1);
        opacity: 0.5;
        border: none;
    }
    
    /* Browse Events Section Styles */
    .browse-events-section {
        background-color: transparent;
        padding: 40px 0;
        font-family: 'Poppins', sans-serif;
    }
    
    /* Ensure event cards display as 3 columns */
    .browse-events-section .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .browse-events-section .col-lg-4 {
        width: 33.333%;
        padding: 0 15px;
        display: flex;
    }
    
    @media (max-width: 992px) {
        .browse-events-section .col-lg-4 {
            width: 50%;
        }
    }
    
    @media (max-width: 768px) {
        .browse-events-section .col-lg-4 {
            width: 100%;
        }
    }
    
    /* Browse Events Card Styles */
    .browse-event-card {
        border-radius: 15px;
        overflow: hidden;
        background-color: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: none;
    }
    
    .browse-event-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
    
    .card-img-container {
        position: relative;
    }
    
    .browse-event-card .card-img-top {
        height: 180px;
        object-fit: cover;
    }
    
    .event-date-badge {
        position: absolute;
        top: 15px;
        left: 15px;
        background-color: #21A179;
        color: white;
        width: 45px;
        height: 45px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
        font-family: 'Poppins', sans-serif;
        padding: 5px;
    }
    
    .event-date-badge .month {
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        line-height: 1;
    }
    
    .event-date-badge .day {
        font-size: 18px;
        font-weight: 700;
        line-height: 1;
    }
    
    .browse-event-card .card-body {
        padding: 15px 20px;
    }
    
    .browse-event-card .card-title {
        font-size: 14px;
        font-weight: 700;
        color: #003D2B;
        margin-bottom: 10px;
        text-transform: uppercase;
        line-height: 1.2;
        height: 34px;
        overflow: hidden;
    }
    
    .browse-event-card .event-details {
        margin-bottom: 15px;
    }
    
    .browse-event-card .detail-item {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
        font-size: 13px;
    }
    
    .browse-event-card .detail-item i {
        color: #21A179;
        width: 16px;
        margin-right: 8px;
        text-align: center;
    }
    
    .browse-event-card .event-details span {
        color: #333;
        font-size: 13px;
    }
    
    .browse-event-card .card-buttons {
        display: flex;
        justify-content: space-between;
    }
    
    .browse-event-card .btn {
        padding: 6px 12px;
        font-size: 13px;
        font-weight: 600;
        border-radius: 50px;
    }
    
    .browse-event-card .see-details {
        border-color: #21A179;
        color: #21A179;
    }
    
    .browse-event-card .see-details:hover {
        background-color: #21A179;
        color: white;
    }
    
    .browse-event-card .register {
        background-color: #21A179;
        border-color: #21A179;
    }
    
    .browse-event-card .register:hover {
        background-color: #188463;
    }
    
    /* Status badges */
    .status-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background-color: #ff5757;
        color: white;
        padding: 5px 10px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 600;
        z-index: 5;
    }
    
    
    .browse-events-title {
        color: var(--green-1);
        font-weight: 700;
        font-size: 28px;
        margin-bottom: 0;
    }
    
    .search-container {
        position: relative;
        flex-grow: 1;
        max-width: 400px;
    }
    
    .search-input {
        border-radius: 50px;
        padding-left: 20px;
        padding-right: 50px;
        height: 45px;
        border: 1px solid var(--green-1);
        background-color: rgba(255, 255, 255, 0.9);
    }
    
    .search-input:focus {
        box-shadow: 0 0 0 0.25rem rgba(33, 161, 121, 0.25);
        border-color: var(--green-1);
    }
    
    .search-button {
        position: absolute;
        right: 5px;
        top: 5px;
        background: linear-gradient(135deg, var(--green-1), var(--green-2));
        border: none;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .search-button:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    .filter-button {
        background-color: white;
        border: 1px solid var(--green-1);
        color: var(--green-1);
        border-radius: 50px;
        padding: 10px 20px;
        height: 45px;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .filter-button:hover {
        background-color: rgba(33, 161, 121, 0.1);
    }
    
    .filter-button::after {
        margin-left: 10px;
    }
    
    /* Modern Pagination Styles */
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin: 2rem 0 1rem 0;
        padding: 0;
    }
    
    .page-item {
        margin: 0 2px;
    }
    
    .page-link {
        border-radius: 999px;
        padding: 0.5rem 1.2rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--green-1);
        border: 1.5px solid var(--green-2);
        background-color: #fff;
        font-weight: 500;
        font-size: 1.1rem;
        box-shadow: 0 2px 8px rgba(33,161,121,0.07);
        transition: all 0.2s cubic-bezier(.4,0,.2,1);
        outline: none;
        cursor: pointer;
    }
    
    .page-link:focus {
        border-color: var(--green-1);
        box-shadow: 0 0 0 2px rgba(33,161,121,0.15);
    }
    
    .page-link:hover {
        background: linear-gradient(90deg, var(--green-2) 0%, var(--green-1) 100%);
        color: #fff;
        border-color: var(--green-1);
        text-decoration: none;
    }
    
    .page-item.active .page-link {
        background: linear-gradient(90deg, var(--green-1) 0%, var(--green-2) 100%);
        color: #fff;
        border-color: var(--green-1);
        font-weight: 700;
        box-shadow: 0 4px 16px rgba(33,161,121,0.10);
    }
    
    .page-item.disabled .page-link {
        color: #bdbdbd;
        background-color: #f4f4f4;
        border-color: #e0e0e0;
        cursor: not-allowed;
        box-shadow: none;
    }
    
    /* Modern arrow icons */
    .page-link svg,
    .page-link i {
        font-size: 1.3em;
        vertical-align: middle;
    }
    
    /* Remove default border on first/last */
    .page-item:first-child .page-link,
    .page-item:last-child .page-link {
        border-radius: 999px;
    }


  

     .event-hero {
        position: relative;
        background-size: cover;
        background-position: center;
        min-height: 400px;
        padding: 80px 0;
        color: white;
    }
    
    .event-hero .container {
        position: relative;
        z-index: 2;
    }
    
    .event-details-section {
        background-color: #f8f9fa;
        padding: 60px 0;
    }
    
    .event-info-card {
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .register-card {
        background: linear-gradient(135deg, var(--green-1), var(--green-2));
        color: white;
        border-radius: 10px;
        padding: 30px;
        position: sticky;
        top: 100px;
    }
    
    .event-date-large {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 5px;
    }
    
    .event-time-large {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .info-item {
        margin-bottom: 15px;
        display: flex;
        align-items: flex-start;
    }
    
    .info-item i {
        width: 24px;
        margin-right: 10px;
        color: var(--green-1);
    }
    
    .schedule-list {
        list-style-type: none;
        padding-left: 10px;
        margin-top: 15px;
    }
    
    .schedule-list li {
        position: relative;
        padding-left: 25px;
        padding-bottom: 20px;
        border-left: 2px solid var(--green-1);
        margin-left: 7px;
    }
    
    .schedule-list li:last-child {
        border-left: 2px solid transparent;
    }
    
    .schedule-list li::before {
        content: "";
        position: absolute;
        left: -8px;
        top: 0;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background-color: var(--green-1);
    }
    
    .schedule-time {
        font-weight: 600;
        color: var(--green-1);
    }
    
    .contributor-item {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .contributor-image {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        margin-right: 15px;
    }
    
    .contributor-info h5 {
        margin: 0;
        font-size: 18px;
    }
    
    .contributor-info p {
        margin: 0;
        color: #6c757d;
        font-size: 14px;
    }
    
    .register-btn {
        width: 100%;
        padding: 12px;
        font-size: 18px;
        font-weight: 600;
        border-radius: 50px;
        text-transform: uppercase;
        margin-top: 20px;
    }
    
    .breadcrumb-item a {
        color: rgba(255,255,255,0.8);
        text-decoration: none;
    }
    
    .breadcrumb-item.active {
        color: white;
    }
    
    .breadcrumb-item+.breadcrumb-item::before {
        color: rgba(255,255,255,0.5);
    }
    
    .related-events-section {
        padding: 60px 0;
        background-color: white;
    }
    
    .related-events-title {
        margin-bottom: 30px;
        position: relative;
        padding-bottom: 15px;
    }
    
    .related-events-title::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background-color: var(--green-1);
    }
    
    /* Info badges */
    .info-badge {
        display: flex;
        align-items: center;
        background-color: rgba(33, 161, 121, 0.1);
        padding: 10px 15px;
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    .info-badge i {
        color: var(--green-1);
        font-size: 16px;
        margin-right: 10px;
    }
    
    .info-badge span {
        color: var(--green-1);
        font-weight: 500;
    }
    
    .livestream-info {
        margin-top: 20px;
    }
    
    .livestream-badge {
        display: flex;
        align-items: center;
        background-color: rgba(220, 53, 69, 0.1);
        padding: 10px 15px;
        border-radius: 8px;
        color: #dc3545;
    }
    
    .livestream-badge i {
        font-size: 16px;
        margin-right: 10px;
    }
    
    .livestream-badge span {
        font-weight: 500;
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
        .event-hero {
            padding: 60px 0;
            min-height: 300px;
        }
        
        .register-card {
            position: static;
            margin-bottom: 30px;
        }
    }

    /* --- Force Bootstrap grid for related events section --- */
    .related-events-section .row {
        display: flex;
        flex-wrap: wrap;
        margin-right: -15px;
        margin-left: -15px;
    }
    .related-events-section .col-lg-4,
    .related-events-section .col-md-6 {
        position: relative;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }
    @media (min-width: 992px) {
        .related-events-section .col-lg-4 {
            flex: 0 0 33.333333%;
            max-width: 33.333333%;
        }
    }
    @media (min-width: 768px) and (max-width: 991.98px) {
        .related-events-section .col-md-6 {
            flex: 0 0 50%;
            max-width: 50%;
        }
    }
    @media (max-width: 767.98px) {
        .related-events-section .col-lg-4,
        .related-events-section .col-md-6 {
            flex: 0 0 100%;
            max-width: 100%;
        }
    }

.btn-closed {
  border-radius: 50px !important;
  background: transparent !important;
  color: var(--green-1) !important;
  border: 2px solid var(--green-1) !important;
  font-weight: 700;
  box-shadow: none;
}
.paid-badge {
  background: var(--green-2) !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: 16px;
  padding: 6px 18px;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: inline-block;
}
.free-badge {
  background: #ffe066 !important;
  color: #1F3B2C !important;
  font-weight: 700;
  border-radius: 16px;
  padding: 6px 18px;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: inline-block;
}
.concluded-badge {
  background: var(--brown) !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: 16px;
  padding: 6px 18px;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: inline-block;
}