/* ======= Google fonts ======= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ======= CSS variables ======= */
:root {
    --white-color: #fff;
    --dark-color: #222;
    
    --primary-color: #ff9a30;
    --secondary-color: #ff8a00;
    --third-color: #FFF9E7;
    --green-color: #61CE70;

    --body-bg-color: #fff;
    --section-bg-color: #202834;
    --navigation-item-hover-color: #3b5378;

    --text-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    --box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
    
    --scroll-bar-color: #fff;
    --scroll-thumb-color: #ffd457;
    --scroll-thumb-hover-color: #ff9a30;
}


/* ======= Scroll bar ======= */
::-webkit-scrollbar {
    width: 11px;
    background: var(--scroll-bar-color);
}
::-webkit-scrollbar-thumb {
    width: 100%;
    background: var(--scroll-thumb-color);
    border-radius: 2em;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--scroll-thumb-hover-color);
}
/* ======= Main CSS ======= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body {
    background: var(--body-bg-color);
    min-height: 100vh;
}
section {
    position: relative;
}
.section {
    color: var(--dark-color);
    transition: 0.3s ease;
    padding: 100px 200px 80px 200px;
    text-align: center;
}
.section-dark, 
.section-dark-footer {
    background: var(--third-color);
}
.section-project {
    color: var(--dark-color);
    transition: 0.3s ease;
    padding: 100px 200px 0px 200px;
    text-align: center;
}
/* ======= Header ======= */
header {
    z-index: 9999;
    position: fixed;
    width: 100%;
    height: calc(5rem + 1rem);
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    transition: 0.5s ease;
    transition-property: height, background;
}
header.sticky {
    height: calc(3.5rem + 1rem);
    background: white;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
header .nav-bar {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 200px;
    transition: 0.3s ease;
}
.nav-close-btn, .nav-menu-btn {
    display: none;
}
.nav-bar .logo {
    height: 50px;
}
.navigation .nav-items a {
    color: var(--white-color);
    font-size: 1em;
    text-decoration: none;
    text-shadow: var(--text-shadow);
}
.navigation .nav-items a:hover {
    color: var(--dark-color);
}
header.sticky .navigation .nav-items a {
    color: var(--dark-color);
}
header.sticky .navigation .nav-items a:hover {
    color: var(--primary-color);
}
.navigation .nav-items a i {
    display: none;
}
.navigation .nav-items a:not(:last-child) {
    margin-right: 45px;
}
/* ======= Home ======= */
.home {
    min-height: 100vh;
}
.home:before {
    z-index: 888;
    content: '';
    position: absolute;
    width: 100%;
    height: 50px;
    bottom: 0;
    left: 0;
    background: linear-gradient(transparent, var(--white-color));
}
/* ======= Background Slider ======= */
.bg-slider {
    z-index: 777;
    position: relative;
    width: 100%;
    min-height: 100vh;
}
.bg-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100vh;
}
.bg-slider .swiper-slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    background-position: center;
    background-size: cover;
    pointer-events: none;
}
.swiper-slide .text-content {
    position: absolute;
    top: 25%;
    color: var(--white-color);
    margin: 0 200px;
    transition: 0.3 ease;
}
.swiper-slide .text-content .title {
    font-size: 4em;
    font-weight: 700;
    text-shadow: var(--text-shadow);
    margin-bottom: 20px;
    transform: translateY(-50px);
    opacity: 0;
}

.swiper-slide-active .text-content .title {
    transform: translateY(0);
    opacity: 1;
    transition: 1s ease;
    transition-delay: 0.3s;
    transition-property: transform, opacity;
}

.swiper-slide .text-content p{ 
    max-width: 700px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-shadow: var(--text-shadow);
    padding: 20px;
    border-radius: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--box-shadow);
    transform: translateX(-80px);
    opacity: 0;
}
.swiper-slide-active .text-content p{ 
    transform: translateX(0);
    opacity: 1;
    transition: 1s ease;
    transition-delay: 0.3s;
    transition-property: transform, opacity;
}
.swiper-slide .text-content .read-btn {
    border: none;
    outline: none;
    background: var(--white-color);
    color: var(--dark-color);
    font-size: 1em;
    font-weight: 500;
    padding: 8px 25px;
    display: flex;
    align-items: center;
    margin-top: 40px;
    border-radius: 10px;
    cursor: pointer;
    transform: translateX(50px);
    opacity: 0;
}
.swiper-slide-active .text-content .read-btn {
    transform: translateX(0);
    opacity: 1;
    transition: 1s ease;
    transition-delay: 0.3s;
    transition-property: transform, opacity;
}
.swiper-slide .text-content .read-btn i{
    font-size: 1.6em;
    transition: 0.3s ease;
}
.swiper-slide .text-content .read-btn:hover i{
    transform: translateX(5px);
}
.dark-layer:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
}
.bg-slider-thumbs {
    z-index: 777;
    position: absolute;
    bottom: 2em;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.3s ease;
}
.thumbs-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 3px;
    border-radius: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--box-shadow);
}
.thumbs-container img {
    width: 50px !important;
    height: 35px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
}
.swiper-slide-thumb-active {
    border: 1px solid var(--white-color);
}
/* ======= Media Icons ======= */
.media-icons {
    z-index: 999;
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 90px;
}
.media-icons a {
    color: var(--white-color);
    font-size: 1.7em;
    margin: 10px 0;
}

/* ======= tentang kami section ======= */
.tentang-kami {    
  padding-top: 100px;
  padding-bottom: 80px;
  text-align: center;
}

.tentang-kami .score {
  color: var(--secondary-color);
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
  font-size: 3em;
}

.tentang-kami p {
  color: var(--dark-color);
  width: 80%;
  text-align: center;
  margin-inline: auto;
  line-height: 1.5;
}

.tentang-kami .info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  padding-top: 50px;
  row-gap: 50px;
}

.tentang-kami .info .box {
  text-align: center;
}

.tentang-kami .info .box h3 {
  margin-bottom: 20px;
}
/* ======= whyus section ======= */
.whyus h2 {
    font-size: 3em;
    font-weight: 600;
    text-align: center;
}
.whyus p {
    margin: 25px 0;
}
/* ======= expertise section ======= */
.expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.expertise > .expertise-card {
    flex: 40%;
}
.expertise-card {
  position: relative;
  min-height: 300px;
  width: 480px;  
}

.expertise-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 480px;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background 0.5s ease;
  border-radius: 10px;
}

.expertise-card:hover .expertise-overlay {
  display: block;
  background: rgba(0, 0, 0, .3);
  border-radius: 10px;
}

.expertise-card img {
  position: absolute;
  width: 480px;  
  height: 300px;
  border-radius: 10px;
  left: 0;
}

.expertise-title {
  position: absolute;
  width: 480px;  
  left: 0;
  top: 120px;
  font-weight: 700;
  font-size: 30px;
  text-align: center;
  text-transform: uppercase;
  color: white;
  z-index: 1;
  transition: top .5s ease;
}

.expertise-card:hover .expertise-title {
  top: 70px;
}

.expertise-button {
  position: absolute;
  width: 480px;  
  left:0;
  top: 180px;
  text-align: center;
  opacity: 0;
  transition: opacity .35s ease;
}

.expertise-button a {
  width: 200px;
  padding: 12px 48px;
  text-align: center;
  color: white;
  border: solid 2px white;
  z-index: 1;
}

.expertise-card:hover .expertise-button {
  opacity: 1;
}

/* ========== Expertised ========== */
.expertised {
    margin-top: 8rem;
}

.expertised__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.expertised .expertised__thumbnail {
    height: fit-content;
}

.expertised__container ol {
    margin-left: 15px;
}

.expertised__thumbnail {
    border-radius: 10px;
    border: 0.5rem solid var(--scroll-thumb-color);
    overflow: hidden;
    margin-bottom: 1.6rem;
    justify-self: center;
}
.expertised__thumbnail img {
    display: block;
    object-fit: cover;
    width: 480px;
    height: 300px;
}
.expertised__title {
    color: var(--green-color);
}

.post__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
    margin-bottom: 5rem;
}
.post__thumbnail {
    border-radius: 10px;
    border: 0.5rem solid var(--scroll-thumb-color);
    overflow: hidden;
    margin-bottom: 1.6rem;
}
.post__thumbnail img {
    width: 100%;
}
/* ======= service section ======= */
.services-box .box {
  text-align: center;
}

.services-box .box h2 {
  font-weight: 800;
  margin-bottom: 10px;
}

.services-box .box p {
  width: 70%;
  margin-inline: auto;
  line-height: 1.7;
}

.services-box .boxes {
  padding-top: 50px;
}

.services-box .boxes .boxs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 50px;
  margin-bottom: 50px;
}

.services-box .boxes .boxs img {
  width: 100%;
  height: 400px;
}

.services-box .boxes .boxs .desc h3 {
  font-weight: 800;
  margin-bottom: 10px;
}

.services-box .boxes .boxs .desc p {
  margin-bottom: 20px;
  line-height: 1.5;
}
.button-meeting {
    background: #fff100;
    color: black;
    padding: 5px;
    width: 300px;
    border-radius: 20px;
    display: inline-flex;
}
.button-meeting a {
    text-decoration: none;
    color: black !important;
    padding: 10px 20px;
    display: flex;
    text-align: center;
    gap: 5px;
    align-items: center;
}
/* ======= service section ======= */
.mitra-slide {
    width: 20rem;
    height: 24rem;
    position: relative;
}

.mitra-slide .mitra-slide-img img {
  height: 18rem;
  border-radius: 2rem;
  object-fit: cover;
}

.swiper-wrapper {
    height: 60%;
}
.swiper-slide-shadow-left,
.swiper-slide-shadow-right {
  display: none;
}
@media (max-width:500px) {
    .mitra-slide {
        height: 10rem;
    }
    .mitra-slide .mitra-slide-img img {
        height: 10rem;
    }    
    .swiper-wrapper {
        height: 40%;
    }
}  


/* ======= stats section ======= */
.stats {
    background-image: linear-gradient(to bottom, var(--white) 50%, var(--third-color) 50%);
}
.stats-card {
    background: var(--scroll-thumb-color);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
}
.stats-card h2 {
    font-size: 3em;
}

/* ======= contact section ======= */
.contact .row{
    justify-content: center;
}
.contact .contact-pigura {
    display: flex;
    padding: 0 30px;
    gap: 20px;
    align-items: center;
    justify-content: center;
}
.contact .contact-detail {
    margin-top: 20px;
    display: flex;
    flex-direction: column; 
    width: 320px;
}
.contact .contact-detail i {
    font-size: 3em;
}
.contact .contact-detail a:hover {
    text-decoration: none;
    color: var(--primary-color);
}
/* ======= Artikel ======= */
.artikel-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 100%;
}

.img-holder {
    aspect-ratio: var(--width) / var(--height);
    background-color: var(--light-gray);
    overflow: hidden;
}
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.artikel-card .card-content { 
    padding: 30px;     
    display: flex;
    height: 80vh;
    flex-direction: column;
    justify-content: space-between;
}

.artikel-card .card-title { transition: 0.25s ease; }

.artikel-card .card-title:is(:hover, :focus-visible) { 
    color: var(--scroll-thumb-hover-color); 
    text-decoration: none;
}

.artikel-card .card-text { 
    margin-block: 16px 20px; 
    text-align: justify;
}

.artikel-card .card-meta-list {
  display: flex;
  justify-content: space-between;
}

.artikel-card .card-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--green-color);
  font-size: var(--fs-8);
}
.grid-list { 
    display: grid;
    gap: 25px;
    list-style-type: none;
    grid-template-columns: repeat(3, 1fr) !important; 
}

/* ======= Footer ======= */
.footer {
    padding: 20px;
    text-align: center;
    bottom: 0;
}


/* ======= Media queries (max-width: 1100px) ======= */
@media screen and (max-width: 1100px){
    header .nav-bar {
        padding: 0 50px;
    }    
    .section, .section-dark {
        padding: 25px 50px;
    }
    .media-icons {
        right: 0;
        margin-right: 50px;
    }
    .swiper-slide .text-content {
        margin: 0 120px 0 50px;
    }
    .bg-slider-thumbs {
        bottom: 3em;
    }
    .grid-list { 
        grid-template-columns: repeat(2, 1fr) !important; 
    }
    /* ======= Expertise ======= */
    .expertise {
        display: grid;
    }    
    /* ======= Expertised ======= */
    .expertised__container {
        gap: 3rem;
    }
    .post__container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    /* ======= Footer ======= */
    .section-dark-footer {
        padding: 10px 0px;
    }
}

/* ======= Media queries (max-width: 785px) ======= */
@media screen and (max-width: 785px){
    header .nav-bar {
        padding: 25px 20px;
    }    
    .section, .section-dark {
        padding: 50px 0px;
    }
    .media-icons {
        right: 0;
        margin-right: 20px;
    }
    .media-icons a {
        font-size: 1.5em;
    }    
    .swiper-slide .text-content{
        margin: 0 70px 0 20px;
    }    
    .swiper-slide .text-content .title{
        font-size: 3em;
    }
    .swiper-slide .text-content .title span{
        font-size: 0.35em;
    }
    .swiper-slide .text-content p {
        font-size: 0.9em;
    }

    /* ======= Navigation Menu ======= */
    .nav-menu-btn{
        display: block;
        color: var(--white-color);
        font-size: 1.5em;
        cursor: pointer;
    }
    header.sticky .nav-menu-btn{
        color: black;
    }
    .nav-close-btn{
        display: block;
        color: var(--dark-color);
        position: absolute;
        top: 0;
        right: 0;
        font-size: 1.3em;
        margin: 10px;
        cursor: pointer;
        transition: 0.3s ease;
    }
    .navigation {
        z-index: 99999;
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.25);
        display: flex;
        justify-content: center;
        align-items: center;
        visibility: hidden;
        opacity: 0;
        transition: 0.3s ease;
    }
    .navigation.active {
        visibility: visible;
        opacity: 1;
    }
    .navigation .nav-items {
        position: relative;
        background: var(--white-color);
        width: 400px;
        max-width: 400px;
        display: grid;
        place-content: center;
        margin: 20px;
        padding: 20px;
        border-radius: 20px;
        box-shadow: var(--box-shadow);
        transform: translateY(-50px);
        transition: 0.3s ease;
    }
    .navigation.active .nav-items {
        transform: translate(0);
    }
    .navigation .nav-items a {
        color: var(--dark-color);
        font-size: 1em;
        margin: 15px 50px;
        transition: 0.3s ease;
    }
    .navigation .nav-items a:hover {
        color: var(--navigation-item-hover-color);
    }
    .navigation .nav-items a i {
        display: inline-block;
        font-size: 1.3em;
        margin-right: 5px;
    }
    .swiper-slide .text-content .read-btn {
        font-size: 0.9em;
        padding: 5px 15px;
    }
    /* ======= Tentang kami ======= */
    .tentang-kami {
        padding-top: 50px;
        padding-bottom: 30px;
        padding-left: 5px;
        padding-right: 5px;
    }
    .tentang-kami p {
        font-size: 0.9em;
    }
    /* ======= Why Us ======= */
    .whyus h2 {
        font-size: 2.5em;
    }
    .whyus p {
        font-size: 0.9em;
    }
    /* ======= Expertise ======= */
    .expertise-card {
        min-height: 220px;
        width: 320px;  
    }
    
    .expertise-overlay {
        width: 320px;  
    }

    .expertise-card img {
        width: 320px;  
        height: 220px;
    }
    
    .expertise-title {
        width: 320px;  
        top: 90px;
        font-size: 20px;
    }
    
    .expertise-card:hover .expertise-title {
        top: 50px;
    }
    
    .expertise-button {
        width: 320px;  
        top: 150px;
    }
    
    .expertise-button a {
        width: 200px;
    }
      
    /* ======= Service ======= */
    .services-box {
        padding: 0 5px;
    }
    .services-box .box p {
        width: 90%;
    }
    .services-box .boxes .boxs {
        display: flex;
        flex-direction: column;
        gap: 0px;
        margin-bottom: 20px;
    }
    .services-box .boxes .boxs2 {
        display: flex;
        flex-direction: column-reverse;
    }
    .services-box .boxes .boxs img {
        height: 200px;
        width: 200px;
    }
    /* ======= Stats ======= */
    .stats-card h2 {
        font-size: 2em;
    }
    /* ======= Contact ======= */
    .contact .contact-pigura {
        flex-direction: column; 
        padding: 0 10px;
    }
    /* ======= Artikel ======= */
    .grid-list { 
        display: flex;
        flex-direction: column;
    }
    .artikel-card .card-content {
        height: 50vh;
    }
    /* ======= Expertised ======= */
    .expertised {
        margin-top: 6rem;
    }
    .expertised__container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .expertised__body {
        font-size: 1em;
    }
    .expertised__thumbnail img {
        width: 320px;
        height: 220px;
    }
    .post__container {
        grid-template-columns: 1fr;
    }
    /* ======= Footer ======= */
    .section-dark-footer {
        padding: 10px 0px;
    }
}



#wa-btn {
    position: fixed;
    bottom: 19px;
    right: 19px;
    display: inline-flex;
    align-items: center;
    height: 50px;
    border-radius: 30px;
    background-image: linear-gradient(107deg, #cadc63, #47bab3);
    padding-left: 24px;
    padding-right: 24px;
    font-weight: 600;
    color: white;
    z-index: 9999;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 250ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
}
#wa-btn img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}
#wa-btn span.chat24jam {
    font-size: 12px;
}
#wa-btn span {
    display: block;
    line-height: 1.2;
}




