/* =========================================================
   EFEK INTROBLOCKS (TANPA GARIS ORANGE DI ATAS KOTAK)
   ========================================================= */

/* 1. Container Grid Flexbox (Desktop 3 Kolom Sejajar) */
#introblocks ul.group {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
  margin: 0 0 30px 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
}

/* 2. Item List Kolom */
#introblocks ul.group > li {
  flex: 1 1 0px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  display: flex !important;
}

/* 3. Base Kartu (Card Style) */
#introblocks ul.group > li > article,
#introblocks article {
  background: #ffffff !important;
  border: 1px solid #eaeaea !important;
  border-radius: 14px !important;
  padding: 26px 22px 30px 22px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  position: relative !important;
  overflow: visible !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
  box-sizing: border-box !important;
  z-index: 1 !important;
}

/* 4. Menghilangkan Garis Aksen Gradient Atas */
#introblocks ul.group > li > article::before,
#introblocks article::before {
  display: none !important;
}

/* 5. Efek Hover Desktop & Active Scroll Mobile pada Kartu */
#introblocks ul.group > li > article:hover,
#introblocks ul.group > li > article.mobile-active,
#introblocks article.mobile-active {
  transform: translateY(-6px) !important;
  box-shadow: 0 14px 28px rgba(233, 70, 21, 0.14) !important;
  border-color: rgba(233, 70, 21, 0.35) !important;
}

/* 6. IKON WATERMARK BASE (140PX, TRANSPARAN HALUS) */
#introblocks article i {
  position: absolute !important;
  top: auto !important;
  left: auto !important;
  right: 30px !important;
  bottom: 20px !important;
  width: 140px !important;
  height: 140px !important;
  font-size: 140px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #e94615 !important;
  opacity: 0.04 !important;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  transform-origin: center center !important;
}

/* 7. Reaksi Ikon Saat Hover / Scroll Active */
#introblocks article:hover i,
#introblocks article.mobile-active i {
  opacity: 0.18 !important;
  transform: scale(1.06) rotate(-8deg) !important;
}

/* 8. Menjaga Teks & Judul Tetap di Lapisan Depan */
#introblocks article .heading,
#introblocks article p {
  position: relative !important;
  z-index: 2 !important;
  float: none !important;
  margin: 0 !important;
}

#introblocks article .heading {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin-bottom: 12px !important;
  width: 100% !important;
}

#introblocks article .heading a {
  color: #111111 !important;
  text-decoration: none !important;
  transition: color 0.25s ease !important;
}

#introblocks article:hover .heading a,
#introblocks article.mobile-active .heading a {
  color: #e94615 !important;
}

#introblocks article p {
  font-size: 13.5px !important;
  color: #444444 !important;
  line-height: 1.6 !important;
  flex-grow: 1 !important;
}

/* =========================================================
   PENYESUAIAN KHUSUS LAYAR HP / MOBILE (768px)
   ========================================================= */
@media screen and (max-width: 768px) {
  #introblocks .sectiontitle {
    margin-bottom: 12px !important;
    padding-bottom: 0 !important;
  }

  #introblocks ul.group {
    flex-direction: column !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    margin-top: 8px !important;
    margin-bottom: 25px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  #introblocks ul.group > li {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  #introblocks ul.group > li > article {
    padding: 20px 18px 22px 18px !important;
  }

  /* Ikon Mobile */
  #introblocks article i {
    font-size: 140px !important;
    width: 140px !important;
    height: 140px !important;
    right: 20px !important;
    bottom: 15px !important;
    opacity: 0.04 !important;
  }

  #introblocks article.mobile-active i {
    opacity: 0.18 !important;
    transform: scale(1.06) rotate(-8deg) !important;
  }
}

/* =========================================
   1. CUSTOM CSS CARD GRID MODERN
   ========================================= */
.ai-tech-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.ai-tech-grid li {
  flex: 1 1 calc(25% - 20px) !important;
  max-width: calc(25% - 20px) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.ai-box {
  background: #ffffff !important;
  border: 1px solid #eaeaea !important;
  border-radius: 12px !important;
  padding: 22px 16px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* Hover Desktop & Active Scroll Mobile */
.ai-box:hover,
.ai-box.mobile-active {
  transform: translateY(-6px) !important;
  border-color: #e94615 !important;
  background: #ffffff !important;
  box-shadow: 0 10px 22px rgba(233, 70, 21, 0.18) !important;
}

.ai-icon {
  font-size: 44px !important;
  margin-bottom: 12px !important;
  line-height: 1 !important;
}

.ai-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #222222 !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.3 !important;
}

.ai-box p {
  font-size: 13.5px !important;
  color: #555555 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  flex-grow: 1 !important;
}

.ai-box-img {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.ai-box-img img {
  max-width: 100px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.ai-box:hover .ai-box-img img,
.ai-box.mobile-active .ai-box-img img {
  transform: scale(1.08);
}

/* =========================================
   2. STYLING VIDEO
   ========================================= */
.video-box {
  width: 640px;
  max-width: 40%;
}

.video-box video {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  height: auto;
}

/* =========================================
   3. MOBILE MENU STYLES
   ========================================= */
.mobile-menu-wrapper {
  display: none;
}

@media screen and (max-width: 768px) {
  #mainav {
    display: none !important;
  }

  .wrapper.row1,
  #header {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 15px !important;
    overflow: visible !important;
    clear: both !important;
  }

  #logo {
    float: none !important;
    display: block !important;
    margin-top: -8px !important;
    margin-bottom: 10px !important;
  }

  .mobile-menu-wrapper {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    margin-top: 10px !important;
    margin-bottom: 15px !important;
    position: relative !important;
  }

  .mobile-menu-btn {
    background: #ffffff !important;
    border: 1px solid #e94615 !important;
    border-radius: 8px !important;
    outline: none !important;
    padding: 8px 18px !important;
    font-size: 15px;
    font-weight: 600;
    color: #e94615 !important;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.15s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu-btn:active {
    background: #e94615 !important;
    color: #ffffff !important;
    transform: scale(0.97) !important;
  }

  .mobile-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    width: 260px;
    list-style: none;
    margin: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid #e94615;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 99999;
    text-align: left;
  }

  .mobile-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .mobile-menu li:last-child {
    border-bottom: none;
  }

  .mobile-menu li a {
    display: block;
    padding: 12px 18px;
    color: #222222 !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu li a:hover,
  .mobile-menu li a:active {
    background: #e94615 !important;
    color: #ffffff !important;
  }

  .submenu {
    display: none;
    background: rgba(0, 0, 0, 0.04);
  }

  .submenu li a {
    padding-left: 35px;
    font-size: 13px;
    color: #333333 !important;
  }

  .wrapper.row3 {
    clear: both !important;
    margin-top: 25px !important;
  }
}

/* =========================================
   4. RESPONSIVE BREAKPOINTS & UTILITIES
   ========================================= */
@media screen and (max-width: 992px) {
  .ai-tech-grid li {
    flex: 1 1 calc(50% - 20px) !important;
    max-width: calc(50% - 20px) !important;
  }
}

@media screen and (max-width: 600px) {
  .ai-tech-grid li {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
}

.pulse-phone {
  font-weight: bold;
  animation: pulseText 1.5s infinite;
}

@keyframes pulseText {
  0%   { transform: scale(1); color: #000000; }   /* hitam */
  33%  { transform: scale(1.15); color: #ff8800; } /* oranye */
  66%  { transform: scale(1.2); color: #ff0000; }  /* merah */
  100% { transform: scale(1); color: #000000; }   /* kembali hitam */
}

.video-box{
		width:640px;
		max-width:40%;
		
	}

	.video-box video{
		width:100%;
		display:block;
		border-radius:8px;
		box-shadow:0 2px 8px rgba(0,0,0,.15);
		height:auto;
	}

  .whatsapp-float {
    position: fixed;
    display: flex;
    align-items: center;
    gap: 6px;
    bottom: 80px;           /* dinaikkan biar tidak menutupi tombol back-to-top */
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 40px;
    padding: 8px 12px;
    font-size: 14px;        /* ukuran teks tetap kecil */
    text-decoration: none;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: background-color 0.3s;
  }
  .whatsapp-float i {
    font-size: 34px;        /* ikon lebih besar (desktop) */
  }
  .whatsapp-float:hover {
    background-color: #1ebe5d;
    color: #fff;
  }
  .whatsapp-text {
    font-weight: normal;
  }

  /* Animasi pulse pada ikon */
  .pulse {
    animation: pulseAnim 1.5s infinite;
  }
  @keyframes pulseAnim {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.15); }
    100% { transform: scale(1); }
  }
        .protected,
.protected *{
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;

    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

  /* Tampilan HP: hanya bulat ikon */
  @media (max-width: 768px) {
	  	#header {
		position: relative;
		padding-top: 0px !important;
		padding-bottom: 0px !important; /* Dirapatkan agar menempel pas ke gambar */
	  }
	  
	.video-box,
    video.imgr{
        float:none !important;
        display:block;
        width:100% !important;
        max-width:100% !important;
        margin:0 0 20px 0 !important;
    }
	
    .whatsapp-float {
      border-radius: 50%;
      width: 65px;
      height: 65px;
      justify-content: center;
      padding: 0;
      bottom: 80px;        /* ikut dinaikkan di HP */
    }
    .whatsapp-float i {
      font-size: 40px;     /* ikon lebih besar di HP */
    }
    .whatsapp-text {
      display: none !important; /* pastikan teks hilang di HP */
    }
  }
  
	#mainav select{
	  width:100%;
	  padding:10px;
	  font-size:16px;
	  border:1px solid #e94615 !important;
	  border-radius:6px;
	  background:#fff !important;
	  color:#000 !important;
	}