/* OVERALL */
* {
  font-family: 'Montserrat', sans-serif;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  display: none;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: auto;
  color: white;
}

/* HEADER */
header {
  background-color: white;
  padding: 10px 24px;
  border-bottom: 15px solid white;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  
}

.logo {
  position: relative;
  height: 25px;
  width: 130px;
  top: 20px;
  left: 52px;
}

/* NAVIGATION */
.navigation-bar {
  background-color: rgba(89, 86, 86, 0.93);
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 18px;
  padding: 8px 12px;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-links li a:hover {
  color: #f2d88c;
}

/* EXTERNAL LINKS */
.top-right {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  padding-right: 20px;
}

.top-labels {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  font-size: 22px;
  position: relative;
  top: 20px;
}

.social-icons {
  display: flex;
  gap: 31px;
  position: relative;
  top: 18px;
  left: 38px;
}

.social-icons i {
  color: #515050;
  font-size: 24px;
  transition: color 0.3s ease;
}

.social-icons i:hover {
  color: #f44336;
}

.red-text {
  color: red;
  font-weight: 600;
  text-decoration: none;
}

.red-text:hover {
  color: #030027;
}

/* HERO SECTION */
.hero {
  background: url('../images/bg.png') no-repeat;
  background-size: cover;
  background-position: 40% center;
  height: 99vh;
  position: relative;
  top: 16px;
  max-width: 100vw;
  overflow: hidden;

}

.overlay {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 60px 80px 0 80px;
  position: relative;
  height: auto;
  flex-direction: column;
}

.hero-text {
  max-width: 600px;
  position: relative;
  top: 80px;
}

.hero-text h1 {
  font-size: 3.8rem;
  font-weight: 700;
  color: #fff;
}

.hero-text .highlight {
  color: #f2d88c;
}

.hero-text h2 {
  font-size: 2.8rem;
  position: relative;
  color: #fff;
  position: relative;
  top: 40px;
}

.impact-btn {
  padding: 10px 25px;
  font-size: 1rem;
  background-color: transparent;
  color: white;
  border: 2px solid white;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.impact-btn:hover {
  background-color: white;
  color: #000;
}

.container {
  width: 400px;
  height: 400px;
  position: absolute;
  left: 17%;
  top: 152%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.center {
  width: 180px;
  height: 60px;
  position: absolute;
}

.btn {
  width: 180px;
  height: 60px;
  cursor: pointer;
  background: transparent;
  border: 1px solid #f2d88c;
  outline: none;
  transition: 1s ease-in-out;
}

svg {
  position: absolute;
  left: 0;
  top: 0;
  fill: none;
  stroke: #fff;
  stroke-dasharray: 150 480;
  stroke-dashoffset: 150;
  transition: 1s ease-in-out;
}

.btn:hover {
  transition: 1s ease-in-out;
  background: transparent;
}

.btn:hover svg {
  stroke-dashoffset: -480;
}

.btn span {
  color: white;
  font-size: 18px;
  font-weight: 500;
}



/* IMPACT SECTION */
.impact-section {
  text-align: center;
  background: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  position: relative;

}

.impact-title {
  font-size: 28px;
  font-weight: 800;
  color: #030027;
}

.impact-title span {
  color: #030027;
  font-size: 34px;
}

.impact-subtitle {
  font-size: 18px;
  color: #030027;
  font-style: italic;
  font-weight: 500;
  position: relative;
}

.impact-endline {
  font-size: 18px;
  color: #030027;
  font-weight: 600;
  position: relative;
}

.impact-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 111px;
  position: relative;
  /* top: 30px; */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* .carousel-impact {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
} */

.impact-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  padding: 20px 25px;
  width: 349px;
  height: 500px;
  text-align: left;
  transition: transform 0.3s ease;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.impact-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.byc-event-cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.impact-card h3 {
  font-size: 40px;
  margin-bottom: 10px;
  color: #604652;
  position: relative;
}

.impact-card h2 {
  font-size: 20px;
  position: relative;
}

.mini-text {
  font-style: italic;
  font-size: 18px;
  position: relative;
  left: 0px;
}

.impact-image img {
  width: 350px;
  position: relative;
  left: -25px
}

#village-text {
  font-size: 24px;
}

#circle-img {
  border-radius: 50%;
  object-fit: cover;
  height: 229px;
  width: 246px;
  position: relative;
  left: 44px;
}

.impact-list {
  list-style: none;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  line-height: 1.5;
}

.impact-list1 {
  list-style: none;
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  position: relative;
}

.impact-list1 li {
  display: flex;
  align-items: center;
  gap: 10px;

}

.impact-list li {
  display: flex;
  align-items: center;
  gap: 10px;

}

.dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  display: inline-block;
}

.blue {
  background-color: #1e90ff;
}

.teal {
  background-color: #57c1b5;
}

.red {
  background-color: #e74c3c;
}

.purple {
  background-color: #8e44ad;
}

.green {
  background-color: #2ecc71;
}

.yellow {
  background-color: #f1c40f;
}

/* Card 1 pie chart */
.pie {
  width: 100px;
  height: 100px;
}

/* Card 2 location */
.location span {
  float: right;
  font-size: 13px;
}

/* Card 3 bar chart */
.bar-graph {
  display: flex;
  gap: 72px;
  align-items: flex-end;
  height: 229px;
  position: relative;
  top: -30px;
}

.bar {
  width: 12px;
  border-radius: 5px;
}

.bar-graph {
  display: flex;
  gap: 55px;
  height: 222px;
  align-items: center;
  justify-content: center;
}

.bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.bar-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.bar {
  width: 12px;
  border-radius: 5px;
}

/* Buttons */
.next-btn {
  background: transparent;
  border: 1px solid #000;
  color: #000;
  font-size: 18px;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s ease;
  position: relative;
  left: 232px;
  top: -23px;
}

.next-btn i {
  font-size: 13px;
}

.next-btn:hover {
  background-color: #03002785;
  color: #ffffff;
  border: none;
}

.card-heading {
  display: flex;
  font-size: 28px;
  gap: 20px;
}

.card-heading i {
  position: relative;
  top: 5px;
}

.loc {
  display: flex;
  background-color: #F5F5F5;
  width: 350px;
  height: 15%;
  position: relative;
  top: -4px;
  left: -25px;
}

.location {
  font-size: 16px;
  color: #000000;
  display: flex;
  gap: 35px;
  font-weight: 600;
  padding: 20px;
}

.location i {
  font-size: 30px;
  position: relative;
  top: -4px;
  color: black;
}

.bold-text {
  font-size: 26px;
  font-weight: 600;
}

.small-text {
  font-size: 18px;
  font-weight: 400;
}

.card2-text {
  position: relative;
}

.card-main-title {
  font-size: 40px;
  font-weight: 900;
  color: #604652;
  line-height: 1;
}

.card-subtitle {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  display: inline-block;
  position: relative;
  top: -21px;
}

.about-section {
  display: flex;
  gap: 40px;
  background-color: #F6F5F2;
  flex-wrap: wrap;
}

.about-left {
  flex: 1;
  min-width: 300px;
}

.about-left h2 {
  font-size: 22px;
  font-weight: 500;
  color: #1d1d1f;
  margin-bottom: 20px;
}

.about-left .highlight {
  font-weight: 900;
  font-size: 36px;
  color: #030027;
}

.founder-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.founder-info img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #e35f6d;
}

.founder-info h3 {
  font-size: 33px;
  font-weight: 800;
  color: #604652;
  text-transform: uppercase;
}

.about-left p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #2f2f2f;
  font-weight: 600;
  width: fit-content;
}

.about-left strong {
  font-weight: 800;
  color: #3c2c33;
}

.about-right {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-caption {
  font-weight: 800;
  font-size: 18px;
  color: #030027;
  margin-bottom: 16px;
}

.about-image-border {
  padding: 5px;
  border: 4px solid #ec6f94;
  display: inline-block;
  max-width: 100%;
}

.about-image-border img {
  width: 100%;
  height: auto;
  display: block;
}

.about-carousel {
  /* width: 484px; */
  /* height: 559px; */
  overflow: hidden;
  border: 8px solid #ec6f94;
  position: relative;
  /* left: 108px; */
  /* top: 6px; */
}

.about-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  transition: opacity 0.5s ease-in-out;
}

.coe-section {
  display: flex;
  padding: 60px 10vw;
  background-color: #F6F5F2;
  align-items: flex-start;
  flex-wrap: wrap;
}

.community-outreach {
  display: flex;
  /* gap: 168px; */
  align-items: flex-start;
  flex-wrap: wrap;
  background-color: #F6F5F2;
}

.outreach-card img {
  width: 118%;
  height: 50%;
  position: relative;
  left: -20px;
  top: -20px;
  border-top-left-radius: 10px;
  border-top-right-radius: 11px;
}

.outreach-left {
  position: relative;
  /* min-width: 400px; */
}

.map-label {
  position: absolute;
  top: 20%;
  left: 15%;
  background: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

.outreach-content {
  flex: 2;
  max-width: 500px;
}

.outreach-content h2 {
  font-weight: 800;
  font-size: 28px;
  color: #231942;
  position: relative;
}

.outreach-content p {
  font-size: 13px;
  line-height: 1.8;
  color: #000000;
  position: relative;
}

.bold-line {
  font-weight: 700;
  color: #000;
}

.bold-line .fade {
  font-weight: 400;
  color: #914e76;
}

.outreach-card {
  flex: 1;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  height: 462px;
  position: relative;
  max-width: 380px;
}


.outreach-card img {
  width: 112%;
  height: 50%;
  position: relative;
  left: -20px;
  top: -20px;
  border-top-left-radius: 10px;
  border-top-right-radius: 11px;
}

.outreach-card h3 {
  color: black;
  font-weight: 600;
  position: relative;
  left: 0px;
  font-size: 24px;
  line-height: 1.5;
  text-align: left;
}

.picture-buttons {
  display: flex;
  justify-content: center;
  gap: 37px;
  position: relative;
  top: 20px;
}

.picture-buttons button {
  border: 1px solid #aaa;
  background: transparent;
  padding: 5px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
}

#view-next {
  background: #231942;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  position: relative;
  left: -131px;
  top: 82px;
}

.byc-section {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  /* height: 60vh; */
}

.byc-left {
  flex: 2;
  min-width: 300px;
}

.byc-left {
  flex: 2;
  min-width: 300px;
  position: relative;
  /* left: -140px;
  top: 20px; */
}

.byc-left h2 {
  font-weight: 700;
  font-size: 32px;
  color: #1d1d1d;
}

.highlight {
  color: #000000;
  font-weight: 500;
}

.byc-left p {
  font-size: 16px;
  color: black;
  margin: 10px 0 30px;
  font-style: italic;
  font-weight: 500;
  position: relative;
}

.byc-card p {
  font-size: 15px;
  color: white;
  font-weight: 300 !important;
  position: relative;
  font-style: normal;
}

.byc-endline {
  color: black;
  font-weight: 400;
  font-style: normal !important;
  position: relative;
  top: 200px;
}

#Opportunities {
  font-weight: 600;
  color: black;
  font-size: 20px;
}

.byc-card h4 {
  color: white;
}

.byc-cards {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  top: 30px;
}

.byc-card {
  background: #604652;
  color: white;
  border-radius: 12px;
  padding: 15px;
  width: 200px;
  text-align: center;
  height: 220px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.byc-card img {
  width: 100%;
  border-radius: 8px;
  height: 100px;
  object-fit: cover;
}

.byc-right {
  flex: 1;
  min-width: 260px;
  position: relative;
  /* left: 192px */
}

.byc-right h3 {
  font-size: 32px;
  font-weight: 500;
  color: #604652;
  position: relative;
  left: 214px;
  width: 283px;
  /* top: -37px; */
}

.byc-subtag {
  color: #000000;
  font-size: 18px;
  font-weight: 600;
  position: relative;
  left: 136px;
  width: 361px;
  /* top: -24px; */
}

.byc-event-card {
  background: url('../images/assets/offline-card.png') no-repeat center center/cover;
  color: white;
  padding: 30px 48px;
  width: 340px;
  height: 200px;

}

.byc-event-card:hover {
  border-radius: 8px;
  background: url('../images/assets/offline-hover.png') no-repeat center center/cover;
  position: relative;


}

.byc-event-card.online {
  background: url('../images/assets/online-card.png') no-repeat center center/cover;
  position: relative;
  top: -40px;
}

.byc-event-card.online:hover {
  border-radius: 8px;
  background: url('../images/assets/online-hover.png') no-repeat center center/cover;
  position: relative;

}

.irregular-bg {
  background-color: #F6F5F2;
  clip-path: polygon(0 0, 100% 8%, 100% 100%, 0% 100%);
  padding: 90px;
  position: relative;
  z-index: 0;
}

.irregular-bg.inverted {
  background: url('../images/byc-bg.png') no-repeat center center/cover;
  clip-path: polygon(0 8%, 100% 0%, 100% 100%, 0% 100%);
  padding: 142px 7vw;
  position: relative;
  z-index: 0;
}

.event-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
}

.event-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  right: 40px;
  top: 70px;
}

#event-desc {
  color: black;
  font-weight: 500;
  font-size: 16px;
}

.event-btn {
  background-color: #B790A2;
  color: white;
  padding: 15px 20px;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
  font-style: italic;
  width: 250px;
  height: 115px;
  font-size: 14px;
}

.event-btn.active {
  background-color: #917281;
}

.event-center {
  position: relative;
  text-align: center;
  left: -90px;
  top: 70px;
}

.event-right {
  text-align: left;
  position: relative;
  left: 50px;
  top: 50px;
}

.event-right h2 {
  font-weight: 800;
  font-size: 28px;
  color: #2F2F5F;
}

.event-right p {
  margin-top: 15px;
  line-height: 1.6;
  font-size: 15px;
}

.event-years {
  grid-column: 1 / -1;
  text-align: center;
  position: relative;
}

.event-years a {
  margin: 0 10px;
  color: #222;
  text-decoration: none;
  font-size: 14px;
}
.event-years a:hover{
  color: #2F2F5F;
  font-weight: 500;
}
.more-reports {
  text-align: center;
  grid-column: 1 / -1;
  position: relative;
}

.more-reports a {
  font-weight: 500;
  color: #2F2F5F;
  text-decoration: underline;
}

/* FOOTER */
.footer {
  background-color: #f3f1ec;
  padding: 30px 2vw;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #604652;
  position: relative;
  border-top-right-radius: 32px;
  border-top-left-radius: 32px;
}

.footer-top {
  display: flex;
  flex-wrap: nowrap;
  padding: 20px 4px;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.social-icons-footer {
  display: flex;
  gap: 26px;
}

.social-icons-footer i {
  margin-right: 12px;
  color: #604652;
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-icons-footer i:hover {
  color: #A06288;
}

.connect-text {
  color: #604652;
  font-weight: bold;
  font-size: 20px;
  position: relative;
}

.footer-contact a {
  color: #3C3C43;
  text-decoration: none;
  font-weight: 500;
}

.footer-contact {
  position: relative;
}

.footer-middle {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 30px 0;
  gap: 40px;
}

.footer-address,
.footer-map {
  flex: 1;
  min-width: 250px;
}

.footer-address p {
  margin-top: 10px;
  line-height: 1.6;
  font-size: 16px;
}

.foooter-address h2 {
  font-size: 16px;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #666;
  padding-top: 15px;
}

/* Image Carousel */
.carousel-bg {
  background-color: #ffffff;
  width: 123%;
  height: 362px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  margin: 0 auto 2rem auto;
  padding: 1rem;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
  user-select: none;
  /* prevent text selection on swipe */
}

.carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  cursor: grab;
}

/* Image Carousel */
.carousel-wrapper {
  max-width: 500px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 30px;
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  position: relative;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.svg-map {
  width: 338% !important;
  height: auto;
  max-width: 450px;
  display: block;
  position: relative;
}

.coe-title {
  color: #030027;
  font-size: 20px;
  position: relative;
}

.map-pin {
  color: white;
  width: 258px;
  height: 28px;
  text-align: center;
  padding-top: 8px;
  position: absolute;
  right: 7 82px;
  top: 353px;
  z-index: 1;
}

.map-pin {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 44px;
  z-index: 2;
  transform: translate(-40%, -100%);
  flex-direction: column;
}


.map-pin i {
  font-size: 70px;
  color: red;
}

.pin-text {
  background-color: white;
  padding: 10px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  max-width: 200px;
  white-space: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  top: -47px;
  left: -116px;
}

.st0 {
  fill: #604652;
  stroke: #FFFFFF;
  stroke-width: 4;
}

.st1 {
  fill: #FFFFFF;
  stroke: #FFFFFF;
  stroke-width: 4;
}

.st2 {
  fill: #B790A2;
  stroke: #FFFFFF;
  stroke-width: 4;
}

.pin-label {
  color: black;
  font-weight: bold;
}

.pin-cause,
.pin-description {
  margin: 0;
  padding: 0;
  color: #000;
  line-height: 1.4;
}

#image-carousel {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}


.splide__slide {
  overflow: hidden;
  border-radius: 12px;
}

.splide__slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.event-marquee {
  display: block;
  width: 100%;
  text-decoration: none;
  color: white;
}

.marquee-wrapper {
  width: 100vw;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.8;
  padding: 5px 0;
  background-color: transparent;
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 12s linear infinite;
  color: inherit;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}