/**
* Template Name: Shield
* Template URL: https://templatemag.com/shield-bootstrap-agency-template/
* Author: TemplateMag.com
* License: https://templatemag.com/license/
*/

/* ==========================================================================
   Base Styles and Bootstrap Modifications
   ========================================================================== */

html, button, input, select, textarea {
  color: #222;
}

body {
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #f2c2c9;
  color: #a4003a;
  text-shadow: none;
}

::selection {
  background: #16a085;
  color: #a4003a;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
  vertical-align: middle;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   General styles
   ========================================================================== */

html, body {
  height: 100%;
}

body {
  font-family: "Lato";
  font-weight: 300;
  font-size: 16px;
  color: #555;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}

.col-md-4 {
  padding-bottom: 20px;
}

.row {
  margin-right: 0px;
  margin-left: -15px;
}

.modal-header {
  background: #3498db;
}

.modal-header h4 {
  color: white;
}

.modal-footer {
  background: #2b2b2b;
}

.navbar-default {
  border-color: transparent;
  background-color: #dadada;
}

.navbar-toggle {
  border-color: transparent;
  border: 0px solid transparent;
}

.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus {
  background-color: #16a085;
  color: white;
}

hr {
  position: relative;
  border: none;
}

hr:before {
  content: " ";
  position: absolute;
  top: 0;
  left: 25%;
  width: 50%;
  height: 2px;
  background: #ccc;
}

a img {
  background: white;
}

.odd a img {
  background: #f5f5f5;
}

/* Titles */

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway";
  font-weight: 300;
  color: #333;
}

/* Paragraph & Typographic */

p {
  line-height: 28px;
  margin-bottom: 25px;
}

.centered {
  text-align: center;
}

.paragraph-lead {
  font-size: 20px;
  color: #3498db;
}

strong {
  font-weight: 700;
}

em {
  font-weight: 300;
}

pre {
  background: #ebebeb;
  border: none;
  font-family: "Monaco";
  font-size: 16px;
  color: #666;
  padding: 20px;
  line-height: 28px;
}

small {
  font-size: 12px;
}

blockquote, blockquote p {
  line-height: 28px;
  color: #999;
  font-weight: 300;
  font-style: italic;
}

blockquote {
  position: relative;
  margin: 0 0 40px -30px;
  padding-left: 30px;
  border-left: 5px solid #3498db;
}

blockquote cite {
  position: absolute;
  bottom: -25px;
  right: 0;
  font-size: 12px;
  font-style: italic;
  color: #333;
  font-weight: 300;
}

blockquote cite:before {
  content: "-- "
}

/* Images */

.overflow-image {
  margin-top: -65px;
}

/* Links */

a {
  color: #3498db;
  word-wrap: break-word;
  -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
  -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
  -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
  -o-transition: color 0.1s ease-in, background 0.1s ease-in;
  transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover, a:focus {
  color: #c0392b;
  text-decoration: none;
  outline: 0;
}

a:before, a:after {
  -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
  -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
  -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
  -o-transition: color 0.1s ease-in, background 0.1s ease-in;
  transition: color 0.1s ease-in, background 0.1s ease-in;
}

/* ==========================================================================
   Wrap Sections
   ========================================================================== */

#headerwrap {
  background-image: url("/static/home/assets/img/header2.455de9dce0b3.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  height: 100vh;   /* fallback */
  height: 100dvh;  /* fix untuk mobile modern */
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 20px 15px;
  color: #fff;
  box-sizing: border-box;
}

/* Tablet */
@media only screen and (min-width: 768px) and (max-width: 1050px) {
  #headerwrap {
    height: auto;
    min-height: 80dvh;
    padding: 50px 20px;
  }
  #headerwrap h1 {
    font-size: 34px;
    line-height: 40px;
  }
  #headerwrap p {
    font-size: 16px;
    line-height: 22px;
  }
}

/* Versi mobile untuk layar ≤767px */
@media screen and (max-width: 767px) {
  #headerwrap {
    height: 100dvh;                  /* full height viewport */
    width: 100%;
    padding: 0;

    /* Ganti gambar untuk mobile */
    background-image: url("/static/home/assets/img/header_mobile.385fcb053f67.jpeg");
    background-size: cover;          /* agar menutupi area header */
    background-position: center;     /* fokus tengah */
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;                 /* mencegah scroll horizontal */
  }

  #headerwrap h1 {
    font-size: 20px;
    line-height: 26px;
    text-align: center;
    margin-bottom: 10px;
  }

  #headerwrap p {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    margin-bottom: 15px;
  }

  /* Tombol CTA di header */
  #headerwrap .btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}




#greywrap {
  background: #f5f5f5;
  margin-top: 0px;
  padding-top: 40px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

#greywrap .callout {
  margin-bottom: 20px;
}

#greywrap p {
  margin-left: 30px;
  margin-right: 30px;
  letter-spacing: 1px;
  padding-top: 15px;
  padding-bottom: 15px;
}

#greywrap .icon {
  font-size: 60px;
  line-height: 30px;
  margin-bottom: 10px;
}

#footerwrap {
  background: #2b2b2b;
  margin-top: 0px;
  padding-top: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

#footerwrap h4 {
  color: white;
}

/* ==========================================================================
   Box Sections
   ========================================================================== */

.white h1 {
  padding-top: 35px;
}

.white p {
  padding-top: 25px;
}

/* Section Dividers */

.section-divider {
  z-index: 999;
  width: 100%;
  display: table;
  max-height: 450px;
  border-bottom: 2px solid #E6EAED;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;

  /* ukuran padding lebih kecil */
  padding-top: 15px;
  padding-bottom: 30px;

  margin-top: 45px;
  background-position: center center;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: relative;
  text-align: center;
}


.textdivider h1 {
  padding-top: 70px;
  color: white;
  font-size: 40px;
}

.textdivider p {
  color: white;
  font-size: 25px;
}

/* Section Dividers Backgrounds */

.divider1 {
  background-image: url("../img/bg/cta.a1f856dbef35.jpeg")
}

.divider2 {
  background-image: url("../img/bg/divider2.eda48492249d.jpg")
}

.divider3 {
  background-image: url("../img/bg/cta5.34be284cddde.jpg");
  margin-top: 0px;
}

.divider4 {
  background-image: url("../img/bg/cta2.1cd54a0a5923.jpg")
}

.divider6 {
  background-image: url("../img/bg/penutup.685d0d435997.jpg")
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.service-trigger {
  display: block;
  position: relative;
  margin-bottom: 15px;
  color: white;
  font-size: 20px;
  text-align: center;
  height: 168px;
  cursor: pointer;
  padding: 90px 20px 50px 20px;
  border: none;
  background: #333;
}

.service-trigger:before {
  width: 100%;
  top: 50px;
  color: #3498db;
  font-size: 36px;
  text-align: center;
  position: absolute;
  left: 0;
}

/* Untuk mobile (max-width 767px) */
@media (max-width: 767px) {
    /* Baris deskripsi & gambar menjadi kolom vertikal */
    #services .row {
        flex-direction: column !important;
        align-items: center !important;
    }

    /* Hilangkan padding kanan untuk deskripsi agar rapi */
    #services .row > .col-lg-5:first-child,
    #services .row > .col-md-6:first-child {
        padding-right: 0 !important;
        margin-bottom: 20px;
    }

    /* Gambar tetap responsif dan mempertahankan ukuran */
    #services .row > .col-lg-5:last-child img,
    #services .row > .col-md-6:last-child img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
    }
}

/* Untuk tablet/iPad portrait (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    #services .row {
        flex-direction: column;
        align-items: center;
    }

    #services .row > .col-lg-5:first-child,
    #services .row > .col-md-6:first-child {
        padding-right: 0;
        margin-bottom: 20px;
    }
}

.service-active .service-trigger {
  background: #222;
}

.service-active p {
  font-family: 'Lato', sans-serif;
  padding-top: 10px;
}

.service-content {
  padding: 15px 20px;
  background: #e6eaed;
  display: block;
  height: auto
}

.service-content p:last-child {
  margin: 0;
}

/* ==========================================================================
   Image Mask
   ========================================================================== */

.grid figure {
  margin: 0;
  position: relative;
}

.grid figure img {
  width: 100%;
  display: block;
  position: relative;
}

.grid figcaption {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px;
  color: #fff;
  background: #3498db;
}

.grid figcaption h5 {
  margin: 0;
  padding-top: 0px;
  padding-left: 20px;
  padding-bottom: 5px;
  color: #fff;
  font-weight: 700;
  text-align: left;
  letter-spacing: 2px;
}

.grid figcaption a {
  text-align: left;
  padding: 5px 10px;
  margin-left: 20px;
  display: inline-block;
  background: #2f2f2f;
  color: #fff;
  font-size: 13px;
}

/* Caption Style */

.mask figure {
  overflow: hidden;
}

.mask figure img {
  -webkit-transition: -webkit-transform 0.4s;
  -moz-transition: -moz-transform 0.4s;
  transition: transform 0.4s;
}

.mask figure:hover img, .mask figure.cs-hover img {
  -webkit-transform: translateY(-30px);
  -moz-transform: translateY(-30px);
  -ms-transform: translateY(-30px);
  transform: translateY(-30px);
}

.mask figcaption {
  height: 50px;
  width: 100%;
  top: auto;
  bottom: 0;
  opacity: 0;
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
  -webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
  -moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
  transition: transform 0.4s, opacity 0.1s 0.3s;
}

.mask figure:hover figcaption, .mask figure.cs-hover figcaption {
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  transform: translateY(0px);
  -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
  -moz-transition: -moz-transform 0.4s, opacity 0.1s;
  transition: transform 0.4s, opacity 0.1s;
}

.mask figcaption a {
  position: absolute;
  top: 10px;
  bottom: 10px;
  right: 30px;
}

/* ==========================================================================
   Blog Section
   ========================================================================== */

.blog-bg {
  background: #2b2b2b;
  padding-right: 0px;
  padding-left: 0px;
}

.blog-bg h4 {
  color: #dadada;
  padding-top: 0px;
}

.blog-bg h5 {
  color: #dadada;
  font-size: 11px;
}

.blog-content {
  padding-top: 10px;
  background: #f2f2f2;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

@media screen and (max-width:1050px), screen and (max-device-width:1050px) {
  body .header {
    background-attachment: scroll;
  }
}

/*ipad portrait*/

@media only screen and (min-device-width:768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .header {
    background-attachment: scroll;
  }
}

@media screen and (max-width:769px) {
  #headerwrap h1 {
    font-size: 80px;
  }
  #headerwrap p {
    font-size: 30px;
    line-height: 38px;
  }
}

/* Contact Form */

#contact {
  padding: 40px 0;
}



.contact-form input, .contact-form textarea {
  padding: 10px 12px;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  height: auto;
}

.contact-form .form-send {
  text-align: center;
}

.contact-form .form-send button {
  background: #3498db;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  cursor: pointer;
}

.contact-form .form-send button:hover {
  background: #3eacf5;
}

.contact-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact-form .loading {
  display: none;
  color: #555;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin: 15px 0;
}

.contact-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

@-webkit-keyframes animate-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.contact-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin: 15px 0;
}

.contact-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin: 15px 0;
}

/* Copyrights */

#copyrights {
  background: #222222;
  padding: 20px 0;
  text-align: center;
}

#copyrights p {
  margin-bottom: 5px;
  color: #fff;
}

#copyrights a {
  color: #3498db;
}

.credits {
  color: #999;
}

/* ==========================================================================
   Clients Section
   ========================================================================== */
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

  #clients { font-family: 'Poppins', sans-serif; background-color: #f2f2f2; }

  .clients-title {
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .clients-hr { border-top: 3px solid #c4ced8; width: 80px; margin: auto; }

  .clients-slider-wrapper { width: 100%; overflow: hidden; }
  .clients-slider {
    display: flex;
    gap: 60px;
    white-space: nowrap;
  }

  .client-name {
    font-size: 22px;
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff, #a3f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    cursor: default;
    transition: transform 0.4s ease, color 0.4s ease, text-shadow 0.4s ease;
    letter-spacing: 1.2px;
  }

  .client-name:hover {
    transform: scale(1.3);
    color: #504b4a;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  }

  @media (max-width: 767px) {
    .clients-slider { gap: 20px; }
    .client-name { font-size: 16px; letter-spacing: 1px; }
  }