/**
* Template Name: iPortfolio
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Updated: Jun 29 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/



/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "DM Sans", system-ui, -apple-system, sans-serif;
  --heading-font: "Sora", sans-serif;
  --nav-font: "Outfit", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff;
  /* Background color for the entire website, including individual sections */
  --default-color: #272829;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #050d18;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #149ddd;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff;
  /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff;
  /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #a8a9b4;
  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff;
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #040b14;
  /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #040b14;
  /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #a8a9b4;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffffff;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */
.light-background {
  --background-color: #f4fafd;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #040b14;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #151f2b;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}



/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}




/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}



/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}



/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}



/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: clip;
}



/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.section-title p {
  margin-bottom: 0;
}



/*--------------------------------------------------------------
# Effects & Hover Animations (Micro-interactions)
--------------------------------------------------------------*/
.laprak-card-modern:hover {
  transform: translateY(-6px);
}

/* Hover Shadow Web (Biru) */
.laprak-card-modern:not(.mbl-variant):hover {
  box-shadow: 0 15px 30px rgba(5, 99, 187, 0.15);
  border-color: rgba(5, 99, 187, 0.2);
}

/* Hover Shadow Mobile (Merah) */
.laprak-card-modern.mbl-variant:hover {
  box-shadow: 0 15px 30px rgba(255, 71, 87, 0.15);
  border-color: rgba(255, 71, 87, 0.2);
}

/* Efek background terisi super soft saat di-hover */
.laprak-card-modern:hover::before {
  height: 100%;
  opacity: 0.03;
}

/* Transform Ikon saat Hover (Web) */
.laprak-card-modern:not(.mbl-variant):hover .laprak-card-icon {
  background: #0563bb;
  color: #ffffff;
  transform: scale(1.1) translate(-5px, 5px);
}

/* Transform Ikon saat Hover (Mobile) */
.laprak-card-modern.mbl-variant:hover .laprak-card-icon {
  background: #ff4757;
  color: #ffffff;
  transform: scale(1.1) translate(-5px, 5px);
}

/* Perubahan Warna Judul saat Hover */
.laprak-card-modern:not(.mbl-variant):hover .laprak-card-title {
  color: #0563bb;
}

.laprak-card-modern.mbl-variant:hover .laprak-card-title {
  color: #ff4757;
}

.laprak-card-modern:hover .laprak-card-link {
  gap: 12px;
  /* Panah bergeser ke kanan saat di-hover */
}

/* --- MEKANISME STRETCHED LINK AREA --- */
.laprak-card-modern .laprak-stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  /* Berada di atas konten agar sensitif klik di seluruh area card */
  content: "";
  cursor: pointer;
}

/* Penyesuaian Pagination Swiper bawaan template agar pas posisinya */
.testimonials .swiper-pagination {
  margin-top: 10px;
  position: relative;
}



/*--------------------------------------------------------------
# Hover & Focus Micro-interactions
--------------------------------------------------------------*/
/* Efek Hover pada Info Item */
.contact-info-item:hover .contact-icon-box {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 15px color-mix(in srgb, var(--accent-color), transparent 80%);
}

/* Efek Fokus Input Form */
.contact-form-input:focus,
.contact-form-input-textarea:focus {
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 90%) !important;
  outline: none !important;
}

/* Efek Hover Tombol Kirim */
.contact-submit-btn:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color), transparent 65%);
}

.contact-submit-btn:hover i {
  transform: translateX(4px) rotate(-10px);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

/* Penyesuaian Responsif Layar Kecil (HP) */
@media (max-width: 768px) {
  .contact-form-container {
    padding: 30px 20px;
  }

  .contact-info-wrap {
    padding: 25px 20px;
  }
}

/* ==========================================================================
   END CUSTOM EXTENSIONS
   ========================================================================== */

.tech-animation {
  overflow: hidden;
  margin-bottom: 50px;
}

.tech-line {
  position: relative;
  margin: 20px 0;
  height: 60px;
  border-bottom: 2px solid rgba(20, 157, 221, .3);
}

.tech-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: slide 18s linear infinite;
  will-change: transform;
}

.reverse .tech-track {
  animation-direction: reverse;
  animation-duration: 22s;
}

.slow .tech-track {
  animation-duration: 28s;
}

.tech-track span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  font-size: 15px;
  white-space: nowrap;
  transition: .4s;
}

.tech-track span i {
  font-size: 24px;
}

.tech-track span:hover {
  transform: translateY(-5px);
}

/* Definisikan keyframes untuk animasi slide horizontal (hanya satu) */
@keyframes slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

