/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. banner
06. features
07. testimonials
08. contact
09. footer
10. preloader
11. search
12. portfolio

--------------------------------------------- */
/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/
@import url("https://fonts.googleapis.com/css?family=Open+Sans:100,200,300,400,500,600,700,800,900");
/* 
---------------------------------------------
reset
--------------------------------------------- 
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html, body {
  background-color: #F5F7FA;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
}


ul {
  margin-bottom: 0px;
}

p {
  font-size: 15px;
  line-height: 26px;
  color: #212741;
}

img {
  width: 100%;
  overflow: hidden;
}


/*
---------------------------------------------
services
---------------------------------------------
*/ 
  .service {
    margin-top: 0;
    padding: 50px 100px;
    background: linear-gradient(to right, white,rgb(222, 242, 255));
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  

/* Header Section */
        .cohesive-header {
            overflow: hidden;
        }

        .header-pattern {
            position: absolute;
            width: 100%;
            height: 100%;
            background: 
                linear-gradient(45deg, 
                    transparent 48%, 
                    var(--orange) 48% 52%, 
                    transparent 52%),
                var(--grid);
            opacity: 0.1;
        }

        .branding-container {
            margin: 0 auto 60px;
            display: flex;
            justify-content: center;
            align-items: center;
            height: auto;
        }

        .containerService {
            display: flex;
            flex-wrap: wrap;
            grid-template-columns: repeat(3,1fr);
            justify-content: center;
            align-items: center;
            gap: 2rem;
            margin: 0 auto;
        }
        
        .card-service {
            width: 300px;
            height: 350px;
            background-color: rgb(255, 255, 255);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .card-service:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        }
        
        .card-service .items {
            width: 100%;
            height: 45%;
        }
        
        .carouselContainer {
            overflow: hidden;
            height: 100%;
            width: 100%;
            position: relative;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
        }
        
        .imageCarousel {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            transition: transform 0.5s ease;
        }
        
        .text {
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        
        .text .header-section {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: #2c3e50;
        }
        
        .text .subjudul {
            font-size: 0.95rem;
            text-align: center;
            color: #7f8c8d;
            line-height: 1.6;
        }
        
        .indicator {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 10;
        }
        
        .indicator-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: rgba(159, 159, 159, 0.5);
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .indicator-dot.active {
            background-color: rgb(255, 118, 27);
        }
        
        @media (max-width: 768px) {
            .containerService {
                grid-template-columns: 1fr;
            }
            
            .service {
                padding: 30px 15px;
            }
            
            .branding-container h1 {
                font-size: 1.8rem;
            }
            
            .card-service {
                height: 320px;
            }
        }
        
        @media (max-width: 480px) {
            .branding-container {
                padding: 10px 20px;
            }
            
            .branding-container h1 {
                font-size: 1.5rem;
            }
            
            .card-service {
                height: 300px;
            }
        }
  
  
  
  /* 
  ---------------------------------------------
  about us page
  --------------------------------------------- 
  */
  
  .top-section {
    background: linear-gradient(to right, white,rgb(222, 242, 255)  );
    padding: 100px 0;
    margin: 0;
  }

  section.top-section .left-image img {
    border-radius: 10px;
    width: 497px; 
    height: 475px; 
    object-fit: cover;
  }
  
  section.top-section .accordions {
    border-radius: 5px;
    padding: 50px 40px;
    background-color: #fff;
    margin-left: 30px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    height: auto;
  }
  .accordions .accordion {
    border-bottom: 1px solid #eee;
  }

  .accordions .last-accordion {
    border-bottom: none;
  }
  .accordion-head {
    padding: 35px 0px !important;  
    font-size: 22px;
    font-weight: 600;
    color: #212741;
    cursor: pointer;
    transition: color 200ms ease-in-out;
    
  }
  @media screen and (min-width: 768px) {
    .accordion-head {
      padding: 1rem;
      font-size: 1.2rem;
    }
  }
  .accordion-head .icon {
    float: right;
    transition: transform 200ms ease-in-out;
  }
  .accordion-head.is-open {
    color: #43ba7f;
    border-bottom: none;
  }
  .accordion-head.is-open .icon {
    transform: rotate(45deg);
  }
  .accordion-body {
    padding: 0px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: 
        max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease-in-out,
        padding 0.2s ease;
}
  .accordion-body > .content p {
    padding: 0px 0px 30px 0px;
    padding-top: 0;
  }

  .accordion.active .accordion-body {
    max-height: 2000px; /* Sesuaikan dengan tinggi maksimal konten */
    opacity: 1;
    padding: 15px 0;
}

.accordion-head .icon {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion.active .accordion-head .icon {
  transform: rotate(90deg);
}
  
  .what-we-do {
    margin: 0px;
    background-color: #212741;;
  }
  
  .what-we-do .left-content {
    margin-right: 60px;
  }
  
  .what-we-do .left-content h4 {
    font-size: 22px;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 40px;
  }
  
  .what-we-do .left-content p {
    margin-bottom: 40px;
  }
  
  .what-we-do .right-items .item {
    border-radius: 5px;
    padding: 40px 30px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    position: relative;
  }
  
  .what-we-do .right-items .item em {
    position: absolute;
    font-style: normal;
    font-size: 44px;
    color: #43ba7f;
    font-weight: 600;
    right: 15px;
    top: 5px;
    transition: all .3s;
  }
  
  .what-we-do .right-items .item h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 22px;
  }
  
  .what-we-do .right-items .item:hover em {
    top: 10px;
  }
  
  
  

/*
---------------------------------------------
cta
---------------------------------------------
*/

section.simple-cta {
    background-image: url(../images/cta-bg.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    padding: 80px 0px;
  }
  
  section.simple-cta .left-image {
    margin-right: 45px;
  }
  
  section.simple-cta h4 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 50px;
  }
  
  section.simple-cta h4 em {
    font-style: normal;
    color: #43ba7f;
  }
  
  section.simple-cta h4 strong {
    color: #ff511a;
    font-weight: 700;
  }
  
  section.simple-cta p {
    color: #fff;
    margin-top: 30px;
    margin-bottom: 40px;
  }
  
  section.simple-cta .buttons {
    display: flex;
    justify-content: end;
  }
  
  section.simple-cta .buttons .orange-button {
    margin-left: 20px;
  }
  
  section.simple-cta .buttons .orange-button,
  section.simple-cta .buttons .green-button {
    margin-top: 25px;
  }
  
  /*
  Banner
  */

  .boxtitle .title-coe {
    font-size: clamp(1.5rem, 4vw, 3rem);
  }
  
  /*
  ---------------------------------------------
  about us
  ---------------------------------------------
  */
  
  section.about-us {
    margin-top: 90px;
  }
  
  section.about-us .section-heading {
    padding-top: 30px;
  }
  
  section.about-us .naccs {
    position: relative;
  }
  
  section.about-us .naccs .menu div {
    padding: 15px 30px;
    display: inline-block;
    text-align: center;
    border-radius: 5px !important;
    margin-right: 30px;
    font-size: 18px;
    color: #212741;
    background-color: #fff;
    cursor: pointer;
    vertical-align: middle;
    font-weight: 600;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  }
  
  section.about-us .naccs .menu div.active {
    color: #ff511a;
  }
  
  section.about-us ul.nacc {
    margin-top: 50px !important;
    position: relative;
    min-height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  section.about-us ul.nacc li {
    background-color: #fff;
    overflow: hidden;
    opacity: 0;
    transform: translateX(50px);
    position: absolute;
    list-style: none;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
  }
  
  section.about-us ul.nacc li .main-list,
  section.about-us ul.nacc li .list-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
    padding-bottom: 25px;
  }
  
  section.about-us ul.nacc li .last-item {
    margin-bottom: 0px;
  }
  
  section.about-us ul.nacc li span.title {
    font-size: 15px;
    color: #212741;
    font-weight: 600;
    display: inline-block;
    width: 24%;
  }
  
  section.about-us ul.nacc li span.item-title {
    color: #f57b40 !important;
    font-weight: 600 !important;
  }
  
  section.about-us ul.nacc li span.item {
    font-size: 15px;
    color: #212741;
    font-weight: 400;
    display: inline-block;
    width: 24%;
  }
  
  section.about-us ul.nacc li.active {
    position: relative;
    transition-delay: 0.3s;
    z-index: 2;
    opacity: 1;
    transform: translateX(0px);
  }
  
  section.about-us .right-content {
    margin-left: 60px;
  }
  
  section.about-us .right-content h4 {
    font-size: 22px;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 40px;
  }
  
  section.about-us .right-content p {
    margin-bottom: 50px;
  }
  /* Services Section */
.services {
  padding: 60px 20px;
  background-color: #f4f4f4;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-title {
  font-size: 1.5rem;
  color: #003366; /* Deep Blue */
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Container untuk Slider */
.services-slider-container {
  position: relative;
  overflow: hidden; /* Menyembunyikan layanan yang berada di luar tampilan */
  width: 100%;
}

.services-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.service-item {
  width: 33.33%;  /* Setiap item memiliki lebar sepertiga dari slider */
  padding: 0 10px;
  opacity: 0.8;
  transition: all 0.3s ease;
  transform: scale(0.9);
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.service-image {
  height: 200px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  font-size: 1.6rem;
  color: #003366;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-content p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.5;
}

button.prev, button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
  z-index: 10;
}

button.prev {
  left: 20px;
}

button.next {
  right: 20px;
}

/* Menampilkan hanya 3 layanan dengan dua layanan setengah terlihat */
.services-slider {
  display: flex;
  gap: 20px;
}

.service-item {
  width: 33.33%;  /* Setiap item memiliki lebar sepertiga dari slider */
  padding: 0 10px;
  opacity: 0.8;
  transition: all 0.3s ease;
  transform: scale(0.9);
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
}

button.prev, button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
  z-index: 10;
}

button.prev {
  left: 20px;
}

button.next {
  right: 20px;
}

.header-produk .subjudul {
  font-size: clamp(1rem, 4vw, 1.4rem);
  font-weight: 500;
  width: 100%;
}
.header-produk .header-section {
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--accent);
  width: 100%;
}

.box-header .header-section {
  font-size: clamp(1.5rem, 4vw, 3rem);
}

.container-news .header-section {
  font-size: clamp(1.5rem, 4vw, 3rem);
}


.container-public .header-section {
  font-size: clamp(1.5rem, 4vw, 2.3rem);
}

.box-header .subjudul {
  font-size: clamp(1rem, 4vw, 1.4rem);
  font-weight: 500;
}
.subjudul, p, .coe-description {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #002f59;
}

@media screen and (max-width: 768px) {
  .service-item {
      width: 50%; /* Dua item dalam satu baris untuk layar sedang */
  }
}

@media screen and (max-width: 480px) {
  .service-item {
      width: 100%; /* Hanya 1 item dalam satu baris untuk layar kecil */
  }
}

/*
Publication
*/
.publication {
  margin-top: 0;
  padding-top: 50px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(to right, white,rgb(222, 242, 255)  );
}

.container-public {
  max-width: 1130px;
  height: auto;
  margin: auto;
  position: relative;
}

.container-public .header-section {
  display: flex;
  align-items: center;
  justify-content: center;
}


.container-public .content {
  position: relative;
  margin-top: 20px;
  padding: 0px 15px;
  background-color: #668eae16;
  border-radius: 20px;
  height: auto;
}



.slide-box {
  display: grid;
  gap: 0.5rem;
  justify-items: stretch;
  grid-template-columns: repeat(3,1fr);
}

.box-content {
  width: 350px;
  height: 75px;
  border-radius: 15px;
  display: flex;
}

.pdf-icon {
  background-color: rgb(255, 249, 240);
  height: 50px;
  width: 50px;
  border-radius: 12px;
  margin: 20px 20px 0;
}

.item {
  margin-top: auto;
  border-radius: 15px;
  width: 100%;
  height: 80px;
  max-height: 80px;
  padding: 15px 10px 0;
}

.item h6 {
  color: #104263;
  font-weight: 600;
  font-size: 14px;
}

.public {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.publish {
    font-size: 14px;
    color: #7a8892;
    flex-shrink: 0;
}

.publisher {
  font-size: 14px;
  color: #7a8892;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.kontak {
  margin-top: 0;
  background: 
  linear-gradient(to bottom, rgba(0, 11, 32, 0.911)),
  url('../../images/kontak.jpg') center/cover;
  height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header-kontak {
  font-size: clamp(1.3rem, 4vw, 2rem);
  color: rgb(227, 247, 255);
}

.subheader-kontak {
  font-size: clamp(1.1rem, 4vw, 1.8rem);
  color: rgb(163, 176, 182);
}

.subheader-kontak a {
  text-decoration: none;
  color: rgb(255, 105, 12);
}

.border-public {
  margin: 10px auto 0;
  width: 90%;
  border: solid 1px rgba(0, 0, 0, 0.651);
}

.konten-kosong {
  font-size: 2rem;
  font-weight: 500;
  color: rgba(58, 68, 73, 0.455);
}

.container-public {
  overflow: hidden;
}

@media (max-width: 992px) {
    .event-card {
        width: 330px;
        height: 420px;
    }
}

@media (max-width: 767px) {
  
  .publication {
    padding: 50px 30px;
  }
  .events-container {
    padding: 40px 15px;
  }
    .card-service {
        width: 280px;
        height: 330px;
    }
}
@media (max-width: 567px) {
  .box-image {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  section.top-section .left-image img{
    width: 430px;
    height: 400px;
  }
  .publication {
    padding: 50px 30px;
  }
  .events-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
    .card-service {
        width: 260px;
        height: 310px;
    }
}

@media (max-width: 490px) {
  section.top-section .left-image img {
    width: 350px;
    height: 320px;
  }
}

/* 
---------------------------------------------
responsive
--------------------------------------------- 
*/


body {
  overflow-x: hidden;
}

@media (max-width: 992px) {
  .header-area .main-nav .nav li:last-child {
    display: none;
  }
  .header-area .main-nav .nav li ul li:last-child {
    display: inline-block;
  }
  .header-area {
    background-color: #212741;
  }
  .slide-inner .header-text {
    width: 80%;
  }
  .simple-cta {
    text-align: center;
  }
  section.simple-cta .buttons {
    justify-content: center;
  }
  section.about-us .naccs .menu div,
  section.service-details .naccs .menu div {
    margin-right: 15px;
    font-size: 15px;
    padding: 15px 20px;
  }
  section.about-us .right-content {
    margin-left: 0px;
    margin-top: 60px;
  }
  section.calculator .left-image {
    display: none;
  }
  .testimonials .item img {
    max-width: 200px;
    right: 50px;
  }
  section.partners .item {
    margin:15px; 
  }
  section.top-section .accordions {
    margin-left: 0px;
    margin-top: 45px;
  }
  .what-we-do .left-content {
    margin-right: 0px;
    margin-bottom: 45px;
  }
  .main-services .left-image {
    margin-right: 0px;
    margin-bottom: 30px;
  }
  .main-services .right-text-content {
    margin-left: 0px;
  }
  .main-services .right-image {
    margin-left: 0px;
    margin-top: 30px;
  }
  section.service-details ul.nacc li .left-image {
    position: relative;
    margin-right: 0px;
    transform: translateY(0px);
  }
  section.service-details ul.nacc li .left-image img {
    border-radius: 15px;
  }
  section.service-details ul.nacc li .right-content {
    padding: 50px;
    margin-left: 0px;
  }
  section.service-details ul.nacc li .right-content h4 {
    margin-right: 0px;
  }
  section.service-details ul.nacc li.active {
    display: inline-block;
  }
  section.service-details ul.nacc li {
    display: none;
  }
  section.map .info-item {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  header .header-area {
    background-color: orange !important;
  }

  .header-area .main-nav .logo {
    line-height: 100px;
  }
  .background-header .main-nav .logo {
    line-height: 80px;
  }
  .header-area .main-nav .nav li.has-sub ul.sub-menu {
    display: none;
  }
  .slide-inner .header-text p {
    display: none;
  }
  .slide-inner .header-text {
    text-align: center;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
  }
  .slide-inner .header-text .div-dec {
    margin-left: auto;
    margin-right: auto;
  }
  .slide-inner .header-text .buttons {
    display: inline-flex;
  }
  .slide-inner .header-text .buttons .green-button {
    float: none;
  }
  .services .service-item i {
    margin-bottom: 35px;
  }
  section.about-us ul.nacc li span.item-title {
    font-size: 14px !important;
  }
  section.about-us ul.nacc li span.item {
    font-size: 13px;
  }
  .testimonials .item i {
    margin-bottom: 60px;
  }
  .testimonials .item img {
    max-width: 100px;
    right: 50px;
    top: 35px;
    transform: translateY(0);
  }
  .testimonials .item {
    padding: 50px;
  }
}