.wrapper {
	height: 100vh;
	position: relative;
	overflow: hidden;
}

.social-icons {
	position: absolute;
	left: 30px;
	bottom: 100px;
	z-index: 20;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 25px;
}

.social-icons a {
	width: 25px;
	height: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.social-icons img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: 0.3s;
}

.social-icons a:hover img {
	transform: scale(1.15);
}

.social-icons .hr {
	width: 1.5px;
	height: 80px;
	background-color: #fff;
}

.social-icons .text {
	color: #fff;
	transform: rotate(-90deg);
	font-size: 18px;
	margin-top: 30px;
}

/* TRACKS */
.track {
	display: flex;
	height: 100vh;
	width: max-content;
}

/* PANELS */
.panel {
	flex: 0 0 100vw;
	height: 100vh;
}

.panel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ===== LINE LAYER ===== */

.line-layer {
	position: absolute;
	inset: 0;
	overflow: hidden;

	/* initially hidden */
	clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
	z-index: 5;
}

.project-indicator {
	position: absolute;
	right: 50px;
	bottom: 50px;
	z-index: 20;
	display: flex;
	gap: 70px;
	color: #fff;
	font-family: sans-serif;
}

.project-indicator .item {
	font-size: 18px;
	opacity: 0.5;
	transition: opacity 0.4s ease;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.project-indicator .item.active {
	opacity: 1;
}

.project-indicator .item span {
	opacity: 0.6;
}

.project-indicator .item.active span {
	opacity: 1;
}

@media (max-width: 1024px) {
	.panel {
		flex: 0 0 auto;
	}

	.project-indicator {
		flex-direction: column;
		gap: 40px;
		right: 30px;
		bottom: 40px;
	}

	.project-indicator .item {
		font-size: 16px;
	}

	.social-icons {
		left: 10px;
		bottom: 70px;
		gap: 10px;
	}

	.social-icons img {
		width: 50%;
	}
}

.section-two {
  padding: 5rem 0;
}

.section-two .inner-div {
  display: flex;
  align-items: center;
}

.section-two .inner-div .left-side {
  width: 32%;
  padding-left: 10rem;
}

.section-two .inner-div .left-side {
  h3 {
    font-size: 40px;
    line-height: 42px;
  }
  .our-story,
  .our-goal {
    margin-top: 15px;
    h4 {
      font-size: 20px;
    }
    p {
      font-size: 16px;
      font-weight: 300;
      a {
        color: black;
        font-size: 14px;
        font-weight: 600;
      }
    }
  }
}

.section-two .inner-div .right-side {
  width: 78%;
}

.section-two .inner-div .right-side img {
  width: 70%;
}

.section-three {
  .container {
    position: relative;
    height: 100vh;
  }

  .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .box {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 200% 200%;
    transition: background-position 0.4s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    a {
      font-size: 2rem;
      color: white;
    }
  }

  .box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    opacity: 0.6;
  }
}

.project-category {
	width: 100%;
	height: 90vh;
	display: flex;
}

.category-item {
	position: relative;
	width: 25%;
	overflow: hidden;
	transition: 0.6s ease;
}

/* image */
.category-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.8s ease;
}

/* overlay */
.category-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
	transition: 0.5s;
}

/* title */
.category-item h2 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-size: 28px;
	z-index: 2;
}

.project-category:hover .category-item {
	width: 10%;
}

.project-category .category-item:hover {
	width: 100%;
	z-index: 10;
}

.category-item:hover::after {
	background: rgba(0, 0, 0, 0.1);
}


@media (max-width: 768px) {
	.project-category {
		flex-direction: column;
	}

	.category-item {
		width: 100%;
		height: 50vh;
	}

	.project-category:hover .category-item {
		width: 100%;
	}

	.category-item h2 {
		font-size: 24px;
	}
}



.section-four {
  position: relative;
  .container {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: 100vh;
    margin: 0 auto;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  #world-map {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Prevent scaling too large */
  }

  path {
    fill: #141414;
    stroke: #1a1a1a;
    transition: all 0.5s;
  }

  path.hovered {
    fill: #2727279a;
  }

  /* city */

  .card {
    position: absolute;
    cursor: pointer;
    text-decoration: none;
  }

  .card .circle {
    position: absolute;

    width: 15px;
    height: 15px;
    background-color: #ffffffb2;
    border-radius: 100%;
    outline: 10px solid #ffffff33;
    margin-left: -40px;
  }

  .card .card-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .card .card-detail h2 {
    color: #fff;
    font-size: 18px;
  }

  .card .card-detail span {
    color: #fff;
    font-size: 14px;
    font-weight: 350;
  }

  .card .card-detail .address span {
    color: #fff;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    font-weight: 100;
  }

  .responsive-cards {
    display: none;
    flex-direction: column;
    gap: 50px;
    position: absolute;
    top: 60px;
    left: 30px;
  }

  .responsive-card {
    text-decoration: none;
  }

  .responsive-card .card-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .responsive-card .card-detail h2 {
    color: #fff;
    font-size: 20px;
  }

  .responsive-card .card-detail span {
    color: #fff;
    font-size: 16px;
    font-weight: 350;
  }

  .responsive-card .card-detail .address span {
    color: #fff;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    font-weight: 100;
  }

  .overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 11;
  }
  .overlay.active {
    visibility: visible;
    opacity: 1;
  }
  .popup {
    /* margin: 250px auto; */
    /* padding: 60px; */
    background: #1a1a1a;
    border-radius: 5px;
    width: 25%;
    position: relative;
    transition: all 5s ease-in-out;
  }
  .popup .popup-img {
    width: 100%;
  }
  .popup .popup-img img {
    width: 100%;
  }
  .popup h3 {
    margin-top: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    /* text-transform: uppercase; */
  }
  .popup .popup-detail {
    padding: 60px;
  }
  .popup p {
    font-size: 14px;
    margin-top: 20px;
    font-weight: 300;
    line-height: 16px;
    color: #fff;
  }
  .popup .popup-project-detail .info-box {
    border-collapse: collapse;
    width: 250px;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 0 0;
    width: 100%;
  }
  .popup .popup-project-detail .info-row {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    color: #fff;
    font-weight: 300;
  }
  .popup .popup-project-detail .label {
    width: 50%;
    text-align: left;
  }
  .popup .popup-project-detail .value {
    width: 50%;
    /* text-align: right; */
  }
  .popup .popup-project-detail .line {
    width: 100%;
    height: 1px;
    background-color: #fff;
    opacity: 10%;
  }
  .popup .popup-project-detail a {
    text-decoration: none;
    color: black;
    background-color: white;
    width: 100%;
    height: 40px;
    font-size: 18px;
    margin: 10px 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: none;
    text-transform: uppercase;
    padding: 4px 0 0 0;
  }
  .popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 300ms;
    font-size: 30px;
    font-weight: 100;
    text-decoration: none;
    color: #555555;
  }
  .popup .close:hover {
    color: white;
  }

  @media (max-width: 2560px) {
    #city1 {
      top: 52vh;
      left: 27vw;
    }

    #city2 {
      top: 52vh;
      right: 40vw;
    }

    #city3 {
      top: 78vh;
      right: 30vw;
    }

    #city4 {
      top: 65vh;
      right: 13vw;
    }

    #city5 {
      top: 68vh;
      right: 7vw;
    }
  }

  @media (max-width: 1920px) {
    #city1 {
      top: 52vh;
      left: 26vw;
    }

    #city2 {
      top: 52vh;
      right: 40vw;
    }

    #city3 {
      top: 78vh;
      right: 30vw;
    }

    #city4 {
      top: 64vh;
      right: 13vw;
    }

    #city5 {
      top: 68vh;
      right: 5vw;
    }
  }

  @media (max-width: 1440px) {
    #city2 {
      top: 51vh;
      right: 39vw;
    }

    #city3 {
      top: 76vh;
      right: 30vw;
    }

    #city4 {
      top: 62vh;
      right: 12vw;
    }

    #city5 {
      top: 66vh;
      right: 4vw;
    }
  }

  @media (max-width: 1024px) {
    .container {
      height: auto;
      .card .circle {
        margin-left: -25px;
        width: 10px;
        height: 10px;
        outline: 7px solid #ffffff33;
      }
      .card .card-detail h2 {
        font-size: 14px;
      }
    }

    #city1 {
      top: 22vh;
      right: 36vw;
    }

    #city2 {
      top: 21vh;
      right: 36vw;
    }

    #city3 {
      top: 31vh;
      right: 27vw;
    }

    #city4 {
      top: 27vh;
      right: 12vw;
    }

    #city5 {
      top: 28vh;
      right: 2vw;
    }
  }

  @media (max-width: 1279px) {
    .responsive-cards {
      display: none;
    }
    .popup {
      width: 35%;
    }
  }
  @media (max-width: 1023px) {
    .responsive-cards {
      display: none;
    }
    .popup {
      width: 50%;
    }
  }
  @media (max-width: 767px) {
    .container{
      height: 600px;
    }
    .card-detail{
      margin-bottom: 50px;
    }
    .card {
      display: none;
    }
    .responsive-cards {
      display: flex;
      z-index: 9;
    }
    .popup {
      width: 60%;
    }
  }
  @media (max-width: 600px) {
    .popup {
      width: 70%;
    }
  }
  @media (max-width: 479px) {
    .popup {
      width: 90%;
      /* padding: 50px 40px; */
    }
    .popup .popup-detail {
      padding: 40px;
    }
  }

  
}


.section-four h4 {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    color:#fff;
    z-index: 2;
}



.section-four::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 120px;
  left: 0px;
  top: 0;
  background: linear-gradient(to bottom, #1A1A1A 15%, transparent 100%);
  z-index: 1;
}

.section-four::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 120px;
  left: 0px;
  bottom: 0;
 background: linear-gradient(to top, #1A1A1A 25%, transparent 100%);
  z-index: 1;
}

@media (max-width: 768px) {
    .section-four h4 {
        position: relative;
        background:#1a1a1a;
        text-align: center;
        padding: 30px 16px 0 16px;
    }
    
    .section-four::before {
        display: none;
    }
}