*,
::after,
::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    user-select: none;
    font-family: "DM Sans", sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #fff;
  color: #222;
}

a {
    text-decoration: none;
    color: inherit
}

a:-webkit-any-link:focus-visible {
    outline: none!important;
}

img {
    object-fit: cover;
    object-position: 50% 50%;
    vertical-align: middle;
    width: 100%
}

::selection {
    background: #0967B2;
    color: #fff
}

::-moz-selection {
    background: #0967B2;
    color: #fff
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, .3);
    background-color: #f5f5f5
}

::-webkit-scrollbar {
    width: 4px;
    height: 10px;
    background-color: #f5f5f5
}

::-webkit-scrollbar-thumb {
    background: #0967B2;
    border-radius: 10px;
}

p {
    line-height: 1.6;
}

h1 {
    font-size: 24px;
    line-height: 24px;
    font-weight: 700;
}

ul{
  font-size: 12px;
    margin: 20px 10px;
}

[data-animation="type-in"] {
  display: inline-block;
  position: relative;
}

[data-animation="type-in"].fix-height {
  overflow: hidden;
  position: relative;
}

.layout {
    display: flex;
    width: 100%;
}

/*sidebar menu*/
.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 18vw; 
    height: 100vh;
    background: #fff;
    padding: 40px 30px;
    box-sizing: border-box;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    height: 100vh;
    justify-content: flex-start;
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.side-menu a {
    font-size: 18px;
    color: #ccc;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.side-menu a.active {
    color: #000 !important;
    font-weight: 600;
}

.side-menu a:hover {
    color: #000;
    font-weight: 600;
}

/*main coponent*/

.main {
    margin-left: 18vw; 
    width: 82vw;
    box-sizing: border-box;
}


.container {
    position: relative;
    max-width: 1000px;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    z-index: 1;
    overflow: hidden;
}
.container-fluid {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    z-index: 1;
    overflow: hidden;
}

figure { margin: 0; }

/*home section*/
#home {
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}


.home-center-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.home-center-text h1{
  padding: 50px 0px;
    width: 50%;
    margin: 0 auto;
}

.home-txt-1{
  display: block;
  font-size: 64px;
  font-weight: 500;
}

.home-txt-2{
  display: block;
  font-size: 40px;
  font-weight: 400;
  margin: 60px 0px;
}

.home-txt-3{
  display: block;
  font-size: 64px;
  font-weight: 500;
}

.home-center-text .home-title {
    text-align: center;
}


.home-fimg {
    position: absolute;
    width: 180px;
    opacity: 0;
    transform: scale(0.5);
}


.home-f1 { top: 5%; left: 10%; }
.home-f2 { top: 3%; right: 15%; }
.home-f3 { top: 35%; left: 5%; }
.home-f4 { top: 40%; right: 20%; }
.home-f5 { bottom: 8%; right: 30%; }
.home-f6 { bottom: 12%; left: 25%; }
.home-f7 { top: 70%; left: 5%; }
.home-f8 { top: 20%; left: 40%; }
.home-f9 { bottom: 20%; right: 40%; }
.home-f10 { bottom: 10%; right: 10%; }
.home-f11 { top: 16%; left: 5%; }
.home-f12 { top: 23%; right: 17%; }
.home-f13 { top: 50%; left: 7%; }
.home-f14 { top: 42%; right: 5%; }
.home-f15 { bottom: 10%; right: 32%; }
.home-f16 { bottom: 14%; left: 25%; }
.home-f17 { top: 85%; left: 7%; }
.home-f18 { top: 5%; left: 42%; }
.home-f19 { top: 22%; left: 23%; }
.home-f20 { bottom: 10%; right: 10%; }


/*section title*/
.section-title {
  width: 100%;
  position: relative;
  margin-bottom: 40px;
}
.title-center{
  text-align: center;
}
.section-title h2 {
  font-size: 35px;
  font-weight: 400;
}

.section-title p{
  margin: 20px 0px 0px;
  font-size: 16px;
}

/*tentang section*/
#tentang{
  padding-top: 50px;
  padding-bottom: 100px;
}

.tentang-yt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.tentang-yt-container {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio:16/9;
    background: #000;
    overflow: hidden;
    border-radius: 10px;
}

.tentang-yt-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.tentang-yt-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tentang-yt-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.tentang-yt-play-btn::before {
    content: "";
    width: 60px;
    height: 60px;
    border-radius: 3px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    background: rgba(255,255,255,0.7);
    transition: transform 0.3s ease, opacity 0.3s ease;
}


.tentang-yt-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

.tentang-yt-play-btn:hover::before {
    transform: scale(1.2);
}



.tentang-yt-container.playing .tentang-yt-overlay {
    display: none;
}

.tentang-yt-iframe-wrap iframe {
    width: 100%;
    aspect-ratio:16/9;
    height: auto;
    border: none;
}

.tentang-content {
    margin-top: 40px;
    text-align: left;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    display: flex;
    gap:20px;
}

.tentang-txt{
  width: 60%;
  position: relative;
}

.tentang-txt p{
    width: 90%;
    font-size: 14px;
}

.tentang-btn-container {
    width: 40%;
    display: flex;
    gap: 20px;
}

.tentang-btn-container a {
    display: flex;          
    flex-direction: row;
    align-items: center;
    background: #0967B2;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12px;
    transition: 0.2s;
    gap: 6px;
    line-height: 1.3;
    text-align: left;           
    white-space: normal;       
    height: max-content;
    position: relative;
    padding-right: 30px;
    border: none;
    cursor: pointer;
}


.tentang-btn-container a::after {
    content: "❯";
    font-size: 26px;
    display: inline-block;
    transition: transform 0.2s ease;
    position: absolute;
    right: 20px;
}


.tentang-btn-container a:hover::after {
    transform: translateX(3px);
}

.tentang-btn-container button {
    display: flex;          
    flex-direction: row;
    align-items: center;
    background: #0967B2;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12px;
    transition: 0.2s;
    gap: 6px;
    line-height: 1.3;
    text-align: left;           
    white-space: normal;       
    height: max-content;
    position: relative;
    padding-right: 30px;
    border: none;
    cursor: pointer;
}


.tentang-btn-container button::after {
    content: "❯";
    font-size: 26px;
    display: inline-block;
    transition: transform 0.2s ease;
    position: absolute;
    right: 20px;
}


.tentang-btn-container button:hover::after {
    transform: translateX(3px);
}


/*direksi section*/
#direksi{
  padding-top: 50px;
  padding-bottom: 100px;
}

.direksi-bod-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.bod-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.bod-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: top;
  display: block;
}

.bod-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0)
  );
  color: #fff;
}

.bod-card-overlay h5 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.bod-card-overlay p {
  margin: 4px 0 0;
  font-size: 14px;
  opacity: 0.9;
}

.direksi-mgr-container {
  background: #f2f2f2;
  padding: 20px;
  margin: 40px 0px;
  border-radius: 10px;
  color: #222;
}

.direksi-mgr-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
}

.direksi-mgr-tabnav-container {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.mgr-button {
  padding: 10px 22px;
  border: 1px solid #222;
  background: #fff;
  color: #222;
  border-radius: 40px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.mgr-button.active {
  background: #222;
  color: #fff;
}

.direksi-mgr-tab-container {
  display: grid;
  grid-template-rows: repeat(3, auto); 
  grid-auto-flow: column; 
  column-gap: 40px;
  row-gap: 16px;
}

.direksi-mgr-tab-container.active {
  display: grid;
  animation: fadeSlide 0.5s ease forwards;
}

.direksi-mgr-item {
   display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px 0px;
    font-size: 12px;
    border-bottom: 1px solid #222;
}

.direksi-mgr-name {
  font-weight: 600;
  font-size: 14px;
}

.direksi-mgr-desc{
  max-width: 285px;
    text-align: right;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*perjalanan section*/
#perjalanan {
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
}


.perjalanan-slide {
  position: relative;
  margin: 0;
  display: block;
  box-sizing: border-box;
}

.perjalanan-slide-outer,
.perjalanan-slide-inner {
  width: 100%;
  margin: 0 auto;
  overflow: visible;
  box-sizing: border-box;
}

.perjalanan-slide-content {
  position: relative;
  width: 100%;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  overflow: visible;
}


.perjalanan-timeline {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  box-sizing: border-box;
  margin-bottom: 60px;
}

.perjalanan-year-wrapper {
  height: 30px;
  position: relative;
}


.perjalanan-slide-heading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-size: clamp(1rem, 12vw, 10rem);
  line-height: 0.85;
  font-weight: 200;
  color: #0967B2;
  margin: 0;
  z-index: 1;
}


.perjalanan-timeline-desc h3 {
  font-weight: 300;
  font-size: 22px;
  margin: 0 0 10px;
}
.perjalanan-timeline-desc p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.perjalanan-timeline-desc {
  grid-area: 6 / 1 / 12 / 7;
  color: #333;
  max-width: 100%;
}


.perjalanan-main-img {
  grid-column: 1 / 8;   
  grid-row: 1 / 6;
  border-radius: 12px;
  overflow: hidden;
  pointer-events: none;
  -webkit-touch-callout: none;
  height: 350px;
  width: 100%;
  object-fit: cover;
  min-width: 0;
}

.perjalanan-slide:last-child .perjalanan-timeline{
  margin-bottom: 0px;
}

.perjalanan-slide:last-child .perjalanan-main-img .perjalanan-slide-img{
    width: 250px;
    height: auto;
    position: absolute;
    bottom: 20px;
}

.perjalanan-slide:last-child .perjalanan-timeline-img-side {
    width: 100%;
    height: auto;
}

.perjalanan-slide:last-child .perjalanan-timeline-img-side img{
    height: 600px;
    object-fit: fill;
}

.perjalanan-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.perjalanan-timeline-img-side {
  grid-column: 8 / 13;  
  grid-row: 4 / 10;
  border-radius: 12px;
  overflow: hidden;
  pointer-events: none;
  -webkit-touch-callout: none;
  height: 350px;
  min-height: 350px;
}

.perjalanan-timeline-img-side img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.perjalanan-timeline-img-side:empty {
  background: transparent;
  min-height: 350px;
  height: 350px;
}

/*jangkauan section*/

#jangkauan{
  padding-top: 50px;
  padding-bottom: 100px;
}

.network-container object{
  width:100%
}
.netwrapper{
  position: relative;
  margin: 40px 0px;
}
.map{
    margin:0 auto;
    position:relative;
    width:100%;
    height:330px;
    background-image:url('https://asset-1.tribunnews.com/img/aboutus2025/map.png');
    background-size:cover;
    background-repeat:no-repeat;
    background-position:center;
}
.map-markers{
    margin:0;
    padding:0
}
.map-marker{
  position: absolute;
  cursor: pointer;
  list-style: none;
}
.map-marker:after{
    border-radius: 50%;
    border: 5px solid #0967B2;
    content: "";
    height: 15px;
    left: 0px;
    opacity: 0;
    position: absolute;
    top: 0px;
    width: 15px;
}
.map-marker .dots{
    background-image:url('https://asset-1.tribunnews.com/img/aboutus2025/map-icon.png');
    border-radius:50%;
    height:15px;
    display:block;
    text-indent:-99999px;
    width:15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.map-marker:hover .dots {
    transform: scale(1.5);
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}
.map-marker-info{
    display:none;
    left:50%;
    position:absolute;
    bottom:-10px;
    transform:translate(-50%,-2em);
    width:max-content;
    z-index:9;
}
.map-marker-info .items{
    text-align:center;
    background:#0967B2;
    border-radius:.5em;
    color:#fff;
    padding:.5em 1em
}
.map-marker-info .units a{
    color:#fff;
    text-decoration:none;
    font-size: 12px;
}
.map-marker-info .units a:hover{
  text-decoration: underline;
}
.units{
    margin:0 0 5px
}
.map-marker-info-inner{
    border-radius:.5em;
    box-shadow:0 0 .25em rgb(0 0 0 / .3);
    font-size:.875em
}
.map-marker-info-inner:after{
    border-left:.75em solid #fff0;
    border-right:.75em solid #fff0;
    border-top:1em solid #0967B2;
    content:"";
    height:0;
    left:50%;
    position:absolute;
    top:100%;
    transform:translateX(-50%);
    width:0;
    margin-top:-1px
}
.map-marker-info-inner span:hover{
  text-decoration: underline;
}
.map-marker-aceh{
    left:7%;
    top:6%
}
.map-marker-sumut{
    left:11%;
    top:19.5%
}
.map-marker-sumbar{
    left:14%;
    top:40%
}
.map-marker-riau{
    left:16%;
    top:30%
}
.map-marker-kepri{
    left:21%;
    top:17%
}
.map-marker-jambi{
    left:18%;
    top:45%
}
.map-marker-sumsel{
    left:20%;
    top:54%
}
.map-marker-babel{
    left:26%;
    top:51%
}
.map-marker-bengkulu{
    left:16.5%;
    top:54.5%
}
.map-marker-lampung{
    left:23%;
    bottom:32%
}
.map-marker-banten{
    left:24.5%;
    bottom:21%
}
.map-marker-jakarta{
    left:27%;
    bottom:23%
}
.map-marker-jabar{
    left:29%;
    bottom:18%
}
.map-marker-jateng{
    left:32.5%;
    bottom:16%
}
.map-marker-jatim{
    left:39%;
    bottom:14%
}
.map-marker-jogja{
    left:34.5%;
    bottom:12%
}
.map-marker-bali{
    left:44.5%;
    bottom:10%
}
.map-marker-kalbar{
    left:36%;
    top:37%
}
.map-marker-kalteng{
    left:41%;
    top:46%
}
.map-marker-kaltim{
    left:48%;
    top:42%
}
.map-marker-kaltara{
    left:47%;
    top:27%
}
.map-marker-kalsel{
    left:45%;
    top:53%
}
.map-marker-sulbar{
    right:46.5%;
    top:50%
}
.map-marker-sulsel{
    right:45%;
    top:59%
}
.map-marker-sultra{
    right:40.5%;
    bottom:39%
}
.map-marker-sulteng{
    left:55.3%;
    top:44%
}
.map-marker-sulut{
    right:36%;
    top:30%
}
.map-marker-gorontalo{
    left:59%;
    top:30%
}
.map-marker-ntb{
    right:50%;
    bottom:8%
}
.map-marker-ntt{
    right:43%;
    bottom:8%
}
.map-marker-malut{
    right:27.5%;
    top:28%
}
.map-marker-maluku{
    right:26.5%;
    top:54%
}
.map-marker-papua{
    right:4%;
    top:51%
}
.map-marker-papuabarat{
    right:17%;
    top:42%
}
.map-marker-sorong{
    right:21%;
    top:43%
}
.map-marker-papuatengah{
    right:8%;
    top:66%
}
.map-marker-babel:after,.map-marker-bali:after,.map-marker-banten:after,.map-marker-gorontalo:after,.map-marker-jakarta:after,.map-marker-jambi:after,.map-marker-jateng:after,.map-marker-jogja:after,.map-marker-kalbar:after,.map-marker-kalsel:after,.map-marker-kalteng:after,.map-marker-kepri:after,.map-marker-maluku:after,.map-marker-ntb:after,.map-marker-papuabarat:after,.map-marker-papuaselatan:after,.map-marker-papuatengah:after,.map-marker-papuatinggi:after,.map-marker-riau:after,.map-marker-sulbar:after,.map-marker-sulsel:after,.map-marker-sumbar:after,.map-marker-sumsel:after{
    animation-delay:5s
}
.map-marker-aceh:after,.map-marker-bengkulu:after,.map-marker-jabar:after,.map-marker-jatim:after,.map-marker-kaltara:after,.map-marker-kaltim:after,.map-marker-lampung:after,.map-marker-malut:after,.map-marker-ntt:after,.map-marker-papua:after,.map-marker-papuatengah:after,.map-marker-sulteng:after,.map-marker-sultra:after,.map-marker-sulut:after,.map-marker-sumut:after{
    animation-delay:2.5s
}
.animate{
    animation-duration:1s;
    animation-fill-mode:both
}
@keyframes bounce-in{
    0%,100%,60%,80%{
        transition-timing-function:cubic-bezier(.215,.61,.355,1)
    }
    0%{
        opacity:0;
        transform:scale3d(.3,.3,.3)
    }
    60%{
        opacity:1;
        transform:scale3d(1.03,1.03,1.03)
    }
    80%{
        transform:scale3d(.97,.97,.97)
    }
    100%{
        opacity:1;
        transform:scale3d(1,1,1)
    }
}
.animate-bounce-in{
    animation-duration:.75s;
    animation-name:bounce-in
}
@keyframes pop{
    0%{
        transform:scale(0)
    }
    8%{
        opacity:.4
    }
    10%{
        opacity:0;
        transform:scale(1)
    }
}
.map-marker:hover .map-marker-info{
  display: block;
}

.map-card-content {
  display: none;
  position: fixed;
  top: 50%;  
  left: 50%;     
  transform: translate(-50%, -50%); 
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  width: 230px;
  max-width: 90vw;  
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  text-align: center;
  z-index: 9999;
}


.map-card-content img {
  max-width: 100%;
    width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
    height: 100px;
    object-fit: contain;
}

.map-card-content p{
  font-size: 12px;
    line-height: 16px;
    margin-bottom: 20px;
    text-align: left;
}

.map-card-content a{
  color: #0967B2;
    font-size: 14px;
    font-weight: bold;
}


/*penghargaan section*/
#penghargaan{
  position: relative;
  padding-top: 50px;
  padding-bottom: 100px;
}

.penghargaan-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}


.penghargaan-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  display: block;
}


.penghargaan-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}


.penghargaan-card:hover img {
  transform: scale(1.07);
}


.penghargaan-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity .35s ease;
}


.penghargaan-card:hover .penghargaan-overlay {
  opacity: 1;
}


.penghargaan-overlay h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.35;
}

.penghargaan-overlay p {
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 14px;
  opacity: .9;
}


.penghargaan-overlay span {
  background-color: #0967B2;
  width: max-content;
  padding: 5px 15px;
  border-radius: 10px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .25s ease;
}

.penghargaan-overlay span::after {
  content: "❯";
  display: inline-block;
  transition: transform .25s ease;
}

.penghargaan-overlay span:hover::after {
  transform: translateX(4px);
}




/*sosialmedia section*/
#sosialmedia{
  position: relative;
  padding-top: 50px;
  padding-bottom: 100px;
}
.section-title-flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sosialmedia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0;
}

.sosialmedia-card {
  background: transparent;
}

.sosialmedia-icon svg {
  width: 28px;
  height: 28px;
}

.sosialmedia-value {
  font-size: 32px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}

.sosialmedia-arrow svg {
  width: 28px;
  height: 28px;
}

.sosialmedia-desc {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.sosialmedia-total {
  font-size: 14px;
  font-weight: 700;
}

.sosialmedia-source{
  font-size: 10px;
  text-align: right;
}



/*ekosistem section*/
#ekosistem {
    position: relative;
    width: 100%;
    height: 100vh;
    padding-top: 50px;
    padding-bottom: 100px;
}

.ekosistem-center-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.ekosistem-center-text h1 {
    width: 60%;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    line-height: 1.3;
}


.ekosistem-line {
    display: block;
    opacity: 0;                     
    transform: translateY(20px);  
    margin: 20px 0;
}

.ekosistem-txt-1 {
    font-size: 18px;
    font-weight: 400;
}

.ekosistem-txt-2,
.ekosistem-txt-3,
.ekosistem-txt-4,
.ekosistem-txt-5,
.ekosistem-txt-6 {
    font-size: 32px;
    font-weight: 600;
}

.ekosistem-line small {
    display: block;
    font-size: 16px;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 8px;
}

.ekosistem-fimg {
    position: absolute;
    width: 200px;
    opacity: 0;  
    transform: scale(0.6); 
    z-index: 2;
}

.ekosistem-f1 { bottom: 5%; left: 14%; }
.ekosistem-f2 { bottom: 30%; left: 5%; }
.ekosistem-f3 { bottom: 55%; left: 14%; }
.ekosistem-f4 { bottom: 75%; left: 30%; }
.ekosistem-f5 { bottom: 5%; right: 14%; }
.ekosistem-f6 { bottom: 30%; right: 5%; }
.ekosistem-f7 { bottom: 55%; right: 15%; }
.ekosistem-f8 { bottom: 75%; right: 30%; }


/*portfolio section*/

#portfolio {
  position: relative;
  padding-top: 50px;
  padding-bottom: 100px;
}

.portfolio-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0px;
  justify-content: center;
}

.portfolio-card {
  width: calc(20% - 20px); 
  aspect-ratio: 3 / 4;
  position: relative;
  cursor: pointer;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: transform .4s ease;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,1);
  border-radius: 10px;
  color: #222;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 3px 2px 14px 0px rgba(0,0,0,0.75);
-webkit-box-shadow: 3px 2px 14px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 3px 2px 14px 0px rgba(0,0,0,0.75);
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
}

.portfolio-overlay img{
  width: auto;
  max-width: 100px;
    height: 60px;
    object-fit: contain;
    position: absolute;
    top: 20px;
}

.portfolio-overlay h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
}

.portfolio-overlay p {
  font-size: 12px;
  line-height: 1.3;
  margin: 0 0 12px;
}

.portfolio-overlay span {
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-card.highlight.clone {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  border-radius: 10px;
}

.portfolio-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none; 
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
}

.portfolio-modal ul {
  list-style: none;
  padding-left: 0;
}

.portfolio-modal ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.portfolio-modal ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: #222;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}


.portfolio-modal .modal-content {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  animation: modalFadeIn 0.3s ease;
}


.portfolio-modal .modal-close {
  position: absolute;
  top: 0px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 45px;
  cursor: pointer;
}

.portfolio-modal img {
  width: 100%;
  border-radius: 10px;
}

.modal-title{
  max-width: 600px;
}

.modal-title img{
  width: auto;
    max-width: 150px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 40px;
}

.modal-title h3{
  font-size: 24px;
    line-height: 32px;
    margin-bottom: 10px;
}

.modal-title p{
  font-size: 14px;
  line-height: 24px;
}

.modal-block{
  flex: 1 1 calc(33.333% - 20px);
}

.modal-block h5{
  font-size: 16px;
    line-height: 24px;
    margin-bottom: 15px;
}

.modal-block p{
  font-size: 14px;
    line-height: 20px;
}

.modal-block ul li{
  margin-bottom: 10px;
}

.modal-block img{
  max-width: 100px;
  height: auto;
  object-fit: contain;
}

.modal-block ul p{
  font-size: 12px;
  margin: 5px 0px;
}

.logo-ramadan-container{
  display: flex;
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.logo-ramadan-container img {
  width: calc(50% - 10px); /* 2 columns with gap adjustment */
  height: 50px;
  object-fit: contain;
}

.modal-txt{
  display: flex;
  gap:20px;
  padding: 40px 0px;
  flex-wrap: wrap;
}

.modal-video{
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 40px;
}

.modal-section-title{
  font-size: 20px;
  margin-bottom: 20px;
}

/* Base */
.video-wrapper {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  width: 100%;
  flex-wrap: wrap;
}

.video-wrapper.single .video-col {
  width: 100%;
}

.video-wrapper.grid .video-col {
  width: calc(50% - 10px);
}

/* Maintain 16:9 ratio */
.video-item {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 10px;
}


.sosmed-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.sosmed-card {
  flex: 1 1 calc(25% - 20px); /* 4 per row */
  max-width: calc(25% - 20px);
  aspect-ratio: 3 / 4;          /* ★ Force 3:4 ratio */
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease;
}

.sosmed-card:hover {
  transform: scale(1.02);
}

.sosmed-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Wrapper like sosmed */
.artikel-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Card with 3:4 ratio */
.artikel-card {
  flex: 1 1 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: block;
  transition: transform 0.25s ease;
}

.artikel-card:hover {
  transform: scale(1.02);
}

/* Image fits card */
.artikel-card img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Title overlay */
.artikel-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background: rgba(10,10,10,0.8);
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
}

.modal-section-title {
  font-size: 16px;
  font-weight: 600;
  margin: 40px 0 15px;
}

.modal-cta p{
  margin: 20px 0px;
}

.modal-block-img-flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 10px 10px 20px;
}

.modal-block-img-flex img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}



/*terhubung section*/

#terhubung {
  padding-top: 50px;
  padding-bottom: 150px;
  text-align: center;
  color: #222;
}

.terhubung-title h2 {
  font-size: 35px;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 20px;
}

.terhubung-subtitle {
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 70px;
}

.terhubung-label {
  font-size: 14px;
  margin-bottom: 20px;
}

.email-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 80px;
}

.email-btn {
  padding: 12px 28px;
  border: 1px solid #222;
  border-radius: 40px;
  font-size: 14px;
  display: inline-block;
  color: #111;
  text-decoration: none;
  transition: 0.25s ease;
}

.email-btn:hover {
  background: #111;
  color: #fff;
}

/* Social Icons Row */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.icon {
  width: 40px;
  height: 40px;
  background: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, opacity .25s ease;
}

.icon svg {
  width: 18px;
  height: 18px;
}
  
.icon:hover {
  transform: scale(1.12);
  opacity: .75;
}

/*modal email download*/
.download-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none; 
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
}

.download-modal-box {
  position: absolute;      
  top: 50%;                
  left: 50%;              
  transform: translate(-50%, -50%); 
  background: #fff;
  padding: 30px;
  max-width: 420px;
  width: 90%;
  border-radius: 12px;
  text-align: center;
}

.download-modal-title{
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.download-modal-subtitle {
  font-size: 20px;
  margin-bottom: 20px;
  color: #222;
}

.download-modal-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 40px;
  border: 1px solid #222;
}

.download-modal-box input:focus-visible{
  outline: none!important;
}

.download-modal-box button[type="submit"] {
  padding: 12px 28px;
  background-color: #222;
  border: 1px solid #222;
  border-radius: 40px;
  font-size: 14px;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  transition: 0.25s ease;
  cursor: pointer;
}

.download-modal-box button[type="submit"]:hover {
  background: #fff;
  color: #222;
}

.download-manual-btn {
  padding: 12px 28px;
  background-color: #222;
  border: 1px solid #222;
  border-radius: 40px;
  font-size: 14px;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  transition: 0.25s ease;
  cursor: pointer;
}

.download-manual-btn:hover {
  background: #fff;
  color: #222;
}

.download-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}









/* MODAL ANIMATION */
@keyframes modalFadeIn {
  from {opacity:0; transform: scale(0.95);}
  to {opacity:1; transform: scale(1);}
}

















/* ========== MOBILE VIEW (below 720px) ========== */
@media (max-width: 1024px) {

  .layout {
    display: block;
    width: 100%;
  }

  .container {
        max-width: 100%;
        padding: 0 15px;
    }

  /* default mobile top menu (not fixed yet) */
  .side-menu {
    position: relative;
    width: 100%;
    height: auto;
    padding: 15px 20px;
    background: #fff;
    box-shadow: none;
    z-index: 9999;
  }

  /* when scrolled, add .fixed */
  .side-menu.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  }

  /* horizontal nav */
  .side-menu ul {
    flex-direction: row;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .side-menu ul::-webkit-scrollbar {
    display: none;
  }

  .side-menu a:hover {
      color: #ccc;
  }

  .main {
    margin-left: 0;
    width: 100%;
  }

    .section-title h2 {
            font-size: 22px;
            font-weight: 400;
        }

    .section-title p {
        font-size: 14px;
        line-height: 24px;
    }


  #home {
    height: 100vh;
  }

  .home-center-text h1 {
    width: 85%;
    padding: 30px 0;
  }

  /* Title text sizes */
  .home-txt-1,
  .home-txt-3 {
    font-size: 40px;
  }

  .home-txt-2 {
    font-size: 28px;
    margin: 30px 0;
  }

  /* Floating images scale down */
  .home-fimg {
    width: 110px;
  }

  /* Reposition floating images (works for 1024 → 320px) */
  .home-f1 { top: 6%; left: 6%; }
  .home-f2 { top: 5%; right: 6%; }
  .home-f3 { top: 30%; left: 4%; }
  .home-f4 { top: 35%; right: 6%; }
  .home-f5 { bottom: 10%; right: 6%; }
  .home-f6 { bottom: 15%; left: 18%; }
  .home-f7 { top: 60%; left: 6%; }
  .home-f8 { top: 20%; left: 35%; }
  .home-f9 { bottom: 25%; right: 25%; }
  .home-f10 { bottom: 30%; right: 8%; }
  .home-f11 { top: 18%; left: 6%; }
  .home-f12 { top: 25%; right: 10%; }
  .home-f13 { top: 48%; left: 8%; }
  .home-f14 { top: 40%; right: 6%; }
  .home-f15 { bottom: 20%; right: 22%; }
  .home-f16 { bottom: 16%; left: 20%; }
  .home-f17 { top: 90%; left: 6%; }
  .home-f18 { top: 8%;  left: 38%; }
  .home-f19 { top: 25%; left: 20%; }
  .home-f20 { bottom: 10%; right: 12%; }


  /* Section container adapt spacing */
  #tentang .container {
    padding: 0 20px;
  }

  /* YT thumbnail box */
  .tentang-yt-grid {
    grid-template-columns: 1fr;
  }

  .tentang-yt-container {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
  }

  .tentang-yt-iframe-wrap iframe {
    aspect-ratio:16/9;
    height: auto;
  }

  .tentang-yt-play-btn {
    width: 70px;
    height: 70px;
  }

  .tentang-yt-play-btn::before {
    width: 40px;
    height: 40px;
  }

  /* Content layout becomes vertical */
  .tentang-content {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
  }

  /* Paragraph */
  .tentang-txt {
    width: 100%;
  }

  .tentang-txt p {
    width: 100%;
    font-size: 14px;
    line-height: 1.6;
  }

  /* Buttons become full width */
  .tentang-btn-container {
    width: 100%;
    flex-direction: column;
    gap: 15px;
  }

  .tentang-btn-container a {
    width: 100%;
    font-size: 14px;
    padding: 14px 20px;
    padding-right: 45px;
  }

  .tentang-btn-container a::after {
    right: 15px;
    font-size: 22px;
  }

  .tentang-btn-container button {
    width: 100%;
    font-size: 14px;
    padding: 14px 20px;
    padding-right: 45px;
  }

  .tentang-btn-container button::after {
    right: 15px;
    font-size: 22px;
  }

  /* BOD CARDS: 2 columns instead of 4 */
  .direksi-bod-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Optional: make overlay text slightly smaller */
  .bod-card-overlay h5 {
    font-size: 14px;
  }

  .bod-card-overlay p {
    font-size: 12px;
  }

 /* Manager section container padding */
  .direksi-mgr-container {
    padding: 20px 15px;
  }

  /* Tabs: allow wrapping */
  .direksi-mgr-tabnav-container {
    flex-wrap: wrap;
    gap: 8px;
  }

  .mgr-button{
    font-size: 10px;
  }

  .direksi-mgr-title{
    font-size: 18px;
  }

  /* Tab content: single column */
  .direksi-mgr-tab-container {
    grid-template-rows: 1fr;
    grid-auto-flow: row;
    column-gap: 40px;
  }

  /* Each item: flex one line only */
  .direksi-mgr-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    padding: 10px 0;
    border-bottom: 1px solid #222;
    font-size: 12px;
    gap: 8px;
  }

  .direksi-mgr-name {
    font-weight: 600;
    font-size: 14px;
  }

  .direksi-mgr-desc {
    max-width: 60%;
    text-align: right;
    font-size: 13px;
  }

  #perjalanan {
    padding: 60px 0 80px;
  }

  /* Grid becomes vertical */
  .perjalanan-timeline {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
  }

  /* YEAR */
  .perjalanan-slide-heading {
    font-size: 70px;
    line-height: 0.9;
    margin-bottom: 10px;
    position: relative;
    top: -20px;
  }

  /* MAIN big image */
  .perjalanan-main-img {
    order: 2;
    width: 100%;
    height: 200px;
    grid-column: auto;
    grid-row: auto;
  }
  .perjalanan-main-img img {
    height: 100%;
    object-fit: cover;
  }

  /* Text / Description */
  .perjalanan-timeline-desc {
    order: 3;
    grid-area: auto;
    width: 100%;
  }

  .perjalanan-timeline-desc h3 {
    font-size: 20px;
  }

  .perjalanan-timeline-desc p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* SIDE IMAGE (moves to bottom) */
  .perjalanan-timeline-img-side {
    order: 4;
    width: 100%;
    height: 200px;
    min-height: 200px;
    grid-column: auto;
    grid-row: auto;
  }

  .perjalanan-timeline-img-side:not(:has(img)) {
    display: none !important;
  }

  .perjalanan-timeline-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Special last slide */
  .perjalanan-slide:last-child .perjalanan-main-img .perjalanan-slide-img {
    width: 200px;
    bottom: 10px;
  }

  .perjalanan-slide:last-child .perjalanan-timeline-img-side{
    display: none;
    min-height: 0px;
  }

  .perjalanan-slide:last-child .perjalanan-timeline-img-side img {
    height: 350px;
    object-fit: cover;
  }

/* Horizontal scroll wrapper */
.netwrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px; /* breathing room for scrollbar */
}

/* Map container */
.map {
  min-width: 1200px;      /* keep original size for markers */
  width: auto;
  height: 400px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

/* Marker list fills map */
.map-markers {
  position: relative;
  width: 100%;
  height: 100%;
  list-style: none;
}

/* Markers */
.map-marker {
  position: absolute;
  cursor: pointer;
}

/* Marker dot */
.map-marker .dots {
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}

/* Tooltip container */
.map-marker-info {
  display: none;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -110%);
  pointer-events: auto;
  white-space: nowrap;
}

/* Tooltip inner box */
.map-marker-info-inner {
  background: #0967B2;
  color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  text-align: center;
  max-width: 220px;
  position: relative;
}

/* Disable pseudo-arrow for mobile */
.map-marker-info-inner:after {
  display: none;
}

/* Inner tooltip content */
.map-marker-info .items {
  white-space: normal;
  text-align: left;
}

.map-marker-info .units a {
  display: block;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
}

.map-marker-info .units a:hover {
  text-decoration: underline;
}

.map-marker:hover .map-marker-info {
  display: block;
}

.penghargaan-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

.penghargaan-card {
  position: relative;
  display: flex;
  aspect-ratio: 1 / 1;
  flex-direction: column;
  overflow: hidden;
}
.penghargaan-overlay {
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 18px 20px;
  opacity: 1 !important;
  height: auto;
  top: auto;
    bottom: 0;
    position: absolute;
}

/* Resize text */
.penghargaan-overlay h4 {
  font-size: 14px;    /* smaller */
  margin-bottom: 8px;
  line-height: 1.2;
}

.penghargaan-overlay p {
  font-size: 10px;    /* smaller */
  line-height: 1.45;
  margin-bottom: 12px;
  opacity: .9;
}

.penghargaan-overlay span {
  font-size: 12px;    /* smaller */
  padding: 5px 12px;
  border-radius: 10px;
}

.section-title-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.section-title-flex .section-title{
  margin-bottom: 20px;
}

.section-title-flex .section-title-2{
  margin-bottom: 40px;
}

  .sosialmedia-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 100%;
    margin: 20px 0;
  }

  .sosialmedia-card {
    padding-bottom: 10px;
  }

  .sosialmedia-icon svg {
    width: 26px;
    height: 26px;
  }

  .sosialmedia-value {
    font-size: 30px;
    gap: 8px;
    margin: 10px 0;
  }

  .sosialmedia-arrow svg {
    width: 30px;
    height: 30px;
  }

  .sosialmedia-desc {
    font-size: 10px;
  }

  .sosialmedia-total {
    font-size: 12px;
  }

  .sosialmedia-source{
    text-align: left;
  }

#ekosistem {
        padding-top: 50px;
        padding-bottom: 100px;
    }

    .ekosistem-center-text h1 {
        width: 90%;
        font-size: 22px;
        line-height: 1.35;
    }

    .ekosistem-line {
        margin: 15px 0;
    }

    .ekosistem-txt-1 {
        font-size: 15px;
    }

    .ekosistem-txt-2,
    .ekosistem-txt-3,
    .ekosistem-txt-4,
    .ekosistem-txt-5,
    .ekosistem-txt-6 {
        font-size: 22px;
    }

    .ekosistem-line small {
        font-size: 13px;
    }

    .ekosistem-fimg {
        width: 85px;
        transform: scale(0.75);
        opacity: 0.6;              /* softer for small screens */
    }

    /* More compact floating layout */
    .ekosistem-f1 { bottom: 0%; left: 20%; }
    .ekosistem-f2 { bottom: 25%; left: 2%; }
    .ekosistem-f3 { bottom: 55%; left: 2%; }
    .ekosistem-f4 { bottom: 80%; left: 20%; }
    .ekosistem-f5 { bottom: 0%; right: 20%; }
    .ekosistem-f6 { bottom: 25%; right: 2%; }
    .ekosistem-f7 { bottom: 55%; right: 2%; }
    .ekosistem-f8 { bottom: 80%; right: 20%; }


.portfolio-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0px;
  justify-content: center;
}

.portfolio-card {
  width: calc(50% - 20px); 
  aspect-ratio: 3 / 4;
  position: relative;
  cursor: pointer;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: transform .4s ease;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,1);
  border-radius: 10px;
  color: #222;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 3px 2px 14px 0px rgba(0,0,0,0.75);
-webkit-box-shadow: 3px 2px 14px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 3px 2px 14px 0px rgba(0,0,0,0.75);
  opacity: 0;
  transform: scale(0.96); 
  transition: opacity .35s ease, transform .35s ease;
}

.portfolio-overlay img{
  width: auto;
  max-width: 100px;
    height: 60px;
    object-fit: contain;
    position: absolute;
    top: 20px;
}

.portfolio-overlay h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
}

.portfolio-overlay p {
  font-size: 12px;
  line-height: 1.3;
  margin: 0 0 12px;
}

.portfolio-overlay span {
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  transform: scale(1);
}

.portfolio-card.highlight.clone {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  border-radius: 10px;
}

.portfolio-modal {
    padding: 10px;
    margin-top: 50px;
  }

  .portfolio-modal .modal-content {
    padding: 15px;
    border-radius: 8px;
    width: 100%;
  }

  .portfolio-modal .modal-close {
    font-size: 32px;
    right: 5px;
    top: -5px;
  }

  .modal-title img {
    max-width: 100px;
    height: 50px;
  }

  .modal-title h3 {
    font-size: 18px;
    line-height: 26px;
  }

  .modal-title p {
    font-size: 12px;
    line-height: 20px;
  }

  /* Blocks stack to 1 column */
  .modal-txt {
    flex-direction: column;
    gap: 25px;
  }

  .modal-block {
    flex: 1 1 100%;
  }

  /* Ramadan logos: 2 per row */
  .logo-ramadan-container img {
    width: calc(50% - 10px);
    height: 40px;
  }

  /* Video always single column */
  .video-wrapper .video-col {
    width: 100%;
  }

  .video-wrapper.grid .video-col{
    width: 100%;
  }

  /* Sosmed cards: full width */
  .sosmed-card {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  /* Artikel cards: full width stacked */
  .artikel-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .artikel-overlay {
    font-size: 11px;
    padding: 8px;
  }

  /* Images grid → 1 column */
  .modal-block-img-flex {
    grid-template-columns: 1fr;
  }

  .modal-section-title {
    font-size: 14px;
    margin-top: 25px;
  }


  .connect-title {
    font-size: 24px;
  }

  .connect-subtitle {
    font-size: 14px;
    line-height: 22px;
  }

  .terhubung-title h2{
    font-size: 24px;
  }

  .terhubung-subtitle {
    font-size: 14px;
    line-height: 20px;
}

  .email-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .email-btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .social-icons {
    gap: 20px;
  }

  .icon svg {
    width: 22px;
    height: 22px;
  }






}

