/*==================================================
PENTOL KABUL OFFICIAL
style.css
PART 1
==================================================*/

/*==========================
ROOT
==========================*/

:root {
  --primary: #c62828;
  --primary-dark: #a51e1e;

  --secondary: #f9a825;

  --dark: #212529;

  --gray: #6c757d;

  --light: #f8f9fa;

  --white: #ffffff;

  --border-radius: 20px;

  --border-radius-sm: 12px;

  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.06);

  --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.1);

  --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.18);

  --transition: 0.35s ease;
}

/* =========================
FIT TO SCREEN
==========================*/
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* cegah scroll horizontal */
}

/* 
img,
iframe,
table {
  max-width: 100%;
  height: auto;
} */

/* .container,
.section {
  max-width: 100%;
  box-sizing: border-box;
} */

/*==========================
RESET
==========================*/

* {
  margin: 0;

  padding: 0;

  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;

  color: var(--dark);

  background: var(--white);

  overflow-x: hidden;

  line-height: 1.8;
}

/*==========================
TYPOGRAPHY
==========================*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;

  color: var(--dark);
}

.display-4 {
  line-height: 1.2;
}

.display-5 {
  line-height: 1.2;
}

.display-6 {
  line-height: 1.3;
}

p {
  color: var(--gray);
}

a {
  text-decoration: none;

  transition: var(--transition);
}

img {
  max-width: 100%;

  display: block;
}

/* =========================
LOADER
============================*/
#page-loader {
  position: fixed;

  inset: 0;

  height: 100vh;

  width: 100%;

  display: flex;

  justify-content: center;

  align-items: center;

  background: white;

  z-index: 99999;
}

.loader-progress {
  width: 260px;
  height: 7px;
  background: #eee;
  border-radius: 999px;
  overflow: hidden;
}

.loader-progress span {
  display: block;

  width: 0;

  height: 100%;

  background: linear-gradient(90deg, #c62828, #ef5350);

  animation: loading 1.5s ease forwards;
}

@keyframes loading {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

#page-loader.hide {
  opacity: 0;

  visibility: hidden;

  transition: 0.8s;
}

/*==========================
SECTION
==========================*/

.pk-section {
  position: relative;

  padding: 100px 0;
}

.pk-section::before {
  content: "";

  position: absolute;

  width: 220px;

  height: 220px;

  background: rgba(198, 40, 40, 0.03);

  border-radius: 50%;

  top: 40px;

  left: -110px;

  z-index: 0;
}

.pk-section > * {
  position: relative;

  z-index: 2;
}

/*==========================
BUTTON
==========================*/

.btn {
  border-radius: 999px;

  font-weight: 600;

  transition: var(--transition);
}

.btn-danger {
  background: var(--primary);

  border: none;
}

.btn-danger:hover {
  background: var(--primary-dark);

  transform: translateY(-3px);

  box-shadow: var(--shadow-md);
}

.btn-warning {
  border: none;
}

.btn-warning:hover {
  transform: translateY(-3px);

  box-shadow: var(--shadow-md);
}

.btn-outline-dark:hover {
  transform: translateY(-3px);
}

/*==========================
BADGE
==========================*/

.badge {
  font-weight: 500;

  letter-spacing: 0.5px;
}

/*==========================
CARD
==========================*/

.card {
  border-radius: var(--border-radius);

  transition: var(--transition);

  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);

  box-shadow: var(--shadow-md);
}

/*==========================
NAVBAR
==========================*/

.navbar {
  width: 100%;

  transition: 0.4s;

  background: rgba(255, 255, 255, 0.94);

  backdrop-filter: blur(12px);
}

.pk-navbar-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
  color: var(--primary) !important;
}

.nav-link {
  position: relative;

  font-weight: 500;

  color: var(--dark) !important;

  margin: 0 0.5rem;
}

.nav-link::after {
  content: "";

  position: absolute;

  width: 0;

  height: 3px;

  background: var(--primary);

  left: 0;

  bottom: -6px;

  transition: 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary) !important;
}

/*==========================
HERO
==========================*/

.pk-hero {
  position: relative;

  overflow: hidden;

  padding-top: 140px;

  background: linear-gradient(180deg, #fff, #fffaf5);
}

.pk-hero::before {
  content: "";

  position: absolute;

  width: 650px;

  height: 650px;

  background: radial-gradient(circle, rgba(249, 168, 37, 0.18), transparent 70%);

  top: -250px;

  right: -200px;
}

.pk-hero::after {
  content: "";

  position: absolute;

  width: 500px;

  height: 500px;

  border-radius: 50%;

  background: radial-gradient(circle, rgba(198, 40, 40, 0.08), transparent 70%);

  left: -150px;

  bottom: -200px;
}

.pk-hero img {
  position: relative;

  z-index: 5;

  animation: floating 5s ease-in-out infinite;
}

.pk-hero h1 {
  font-size: 3.7rem;
}

.pk-hero .lead {
  font-size: 1.15rem;
}

.pk-hero .badge {
  font-size: 0.9rem;
}

/*==========================
STATISTIC
==========================*/

.pk-hero h3 {
  color: var(--primary);

  font-size: 2rem;

  margin-bottom: 0.2rem;
}

.pk-hero small {
  color: var(--gray);
}

/*==========================
IMAGE
==========================*/

img {
  transition: var(--transition);
}

img:hover {
  transform: scale(1.02);
}

/*==========================
SHADOW
==========================*/

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow {
  box-shadow: var(--shadow-md) !important;
}

/*==========================
TEXT
==========================*/

.text-danger {
  color: var(--primary) !important;
}

/*==========================
ANIMATION
==========================*/

@keyframes floating {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

/*==========================
REVEAL
==========================*/

.pk-hidden {
  opacity: 0;

  transform: translateY(40px);

  transition: all 0.8s ease;
}

.pk-show {
  opacity: 1;

  transform: translateY(0);
}

/*==================================================
PENTOL KABUL OFFICIAL
style.css
PART 2
About
Vision
Why Us
Products
Frozen Food
==================================================*/

/*==================================================
ABOUT
==================================================*/

#about {
  overflow: hidden;
}

#about img {
  border-radius: var(--border-radius);

  transition: var(--transition);
}

#about img:hover {
  transform: scale(1.04) rotate(-1deg);
}

#about p {
  text-align: justify;
}

#about .d-flex {
  align-items: flex-start;
}

#about i {
  flex-shrink: 0;
}

/* Icon bulat */

#about .bi-check-circle-fill {
  width: 50px;

  height: 50px;

  display: flex;

  justify-content: center;

  align-items: center;

  border-radius: 50%;

  background: rgba(198, 40, 40, 0.08);

  transition: 0.3s;
}

#about .d-flex:hover .bi-check-circle-fill {
  background: var(--primary);

  color: #fff !important;

  transform: rotate(10deg);
}

/*==================================================
VISION
==================================================*/

#vision {
  position: relative;
}

#vision::before {
  content: "";

  position: absolute;

  width: 320px;

  height: 320px;

  border-radius: 50%;

  background: rgba(249, 168, 37, 0.06);

  right: -120px;

  top: 100px;
}

#vision .card {
  border: none;

  transition: 0.35s;
}

#vision .card:hover {
  transform: translateY(-10px);
}

#vision .pk-icon {
  width: 90px;

  height: 90px;

  border-radius: 50%;

  background: rgba(198, 40, 40, 0.08);

  display: flex;

  justify-content: center;

  align-items: center;
}

#vision .pk-icon i {
  transition: 0.4s;
}

#vision .card:hover .pk-icon {
  background: var(--primary);
}

#vision .card:hover .pk-icon i {
  color: #fff !important;

  transform: scale(1.15);
}

#vision .d-flex {
  transition: 0.3s;
}

#vision .d-flex:hover {
  transform: translateX(8px);
}

/*==================================================
WHY US
==================================================*/

#why-us {
  overflow: hidden;
}

#why-us .card {
  position: relative;

  overflow: hidden;
}

#why-us .card::before {
  content: "";

  position: absolute;

  width: 100%;

  height: 5px;

  left: 0;

  top: 0;

  background: linear-gradient(90deg, var(--primary), var(--secondary));

  transform: scaleX(0);

  transform-origin: left;

  transition: 0.35s;
}

#why-us .card:hover::before {
  transform: scaleX(1);
}

#why-us .card i {
  transition: 0.4s;
}

#why-us .card:hover i {
  transform: scale(1.25) rotate(8deg);
}

#why-us h5 {
  margin-top: 20px;
}

/*==================================================
PRODUCT
==================================================*/

.pk-product-card {
  border: none;

  overflow: hidden;

  position: relative;

  transition: 0.35s;
}

.pk-product-card img {
  height: 260px;

  object-fit: cover;

  transition: 0.45s;
}

.pk-product-card:hover img {
  transform: scale(1.08);
}

.pk-product-card .card-body {
  position: relative;

  z-index: 2;
}

.pk-product-card::after {
  content: "";

  position: absolute;

  width: 100%;

  height: 100%;

  left: 0;

  top: 0;

  background: linear-gradient(transparent, rgba(198, 40, 40, 0.03));

  opacity: 0;

  transition: 0.35s;
}

.pk-product-card:hover::after {
  opacity: 1;
}

.pk-product-card:hover {
  transform: translateY(-10px);
}

.pk-product-card ul {
  margin-top: 20px;
}

.pk-product-card ul li {
  padding: 6px 0;

  transition: 0.25s;
}

.pk-product-card ul li:hover {
  padding-left: 8px;
}

.pk-product-card .badge {
  font-size: 0.8rem;
}

/* garis bawah judul */

.pk-product-card h4 {
  position: relative;

  display: inline-block;
}

.pk-product-card h4::after {
  content: "";

  width: 40px;

  height: 3px;

  background: var(--primary);

  display: block;

  margin-top: 8px;
}

/*==================================================
PRODUCT ICON
==================================================*/

.pk-product-card i {
  transition: 0.3s;
}

.pk-product-card li:hover i {
  transform: scale(1.3);
}

/*==================================================
FROZEN FOOD
==================================================*/

#frozen-food {
  position: relative;

  overflow: hidden;
}

#frozen-food::before {
  content: "";

  position: absolute;

  width: 500px;

  height: 500px;

  border-radius: 50%;

  background: rgba(198, 40, 40, 0.03);

  left: -220px;

  bottom: -220px;
}

#frozen-food img {
  border-radius: var(--border-radius);

  transition: 0.4s;
}

#frozen-food img:hover {
  transform: scale(1.03);
}

#frozen-food .d-flex {
  transition: 0.3s;
}

#frozen-food .d-flex:hover {
  transform: translateX(8px);
}

#frozen-food i {
  width: 65px;

  height: 65px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: rgba(198, 40, 40, 0.08);

  transition: 0.35s;
}

#frozen-food .d-flex:hover i {
  background: var(--primary);

  color: #fff !important;

  transform: rotate(10deg);
}

/*==================================================
SECTION TITLE
==================================================*/

.pk-section span.text-uppercase {
  letter-spacing: 2px;

  font-size: 0.9rem;
}

.pk-section h2 {
  margin-bottom: 20px;
}

.pk-section p {
  font-size: 1rem;
}

/*==================================================
SOFT DECORATION
==================================================*/

.pk-section::after {
  content: "";

  position: absolute;

  width: 120px;

  height: 120px;

  background: rgba(249, 168, 37, 0.05);

  border-radius: 50%;

  right: -40px;

  bottom: 30px;
}

/*==================================================
PENTOL KABUL OFFICIAL
style.css
PART 3
Gallery
Certification
Testimonial
==================================================*/

/*==================================================
GALLERY
==================================================*/

#gallery {
  overflow: hidden;
}

#gallery .row {
  position: relative;
}

.pk-gallery-large,
.pk-gallery-small {
  object-fit: cover;

  border-radius: var(--border-radius);

  cursor: pointer;

  transition: all 0.45s ease;

  box-shadow: var(--shadow-sm);
}

/* tinggi gambar */

.pk-gallery-large {
  height: 520px;
}

.pk-gallery-small {
  height: 248px;
}

/* Hover */

.pk-gallery-large:hover,
.pk-gallery-small:hover {
  transform: scale(1.03);

  box-shadow: var(--shadow-lg);
}

/* Overlay */

#gallery .col-lg-6,
#gallery .col-6 {
  position: relative;

  overflow: hidden;

  border-radius: var(--border-radius);
}

#gallery .col-lg-6::after,
#gallery .col-6::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    to top,

    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0)
  );

  opacity: 0;

  transition: 0.35s;

  pointer-events: none;
}

#gallery .col-lg-6:hover::after,
#gallery .col-6:hover::after {
  opacity: 1;
}

/*==================================================
CERTIFICATION
==================================================*/

#certification {
  position: relative;
}

#certification .card {
  overflow: hidden;

  transition: 0.35s;
}

#certification .card:hover {
  transform: translateY(-10px);
}

#certification .card::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 5px;

  background: linear-gradient(90deg, var(--primary), var(--secondary));

  transform: scaleX(0);

  transform-origin: left;

  transition: 0.35s;
}

#certification .card:hover::before {
  transform: scaleX(1);
}

/* Logo */

#certification img {
  height: 90px;

  width: auto;

  object-fit: contain;

  margin: auto;

  transition: 0.35s;
}

#certification .card:hover img {
  transform: scale(1.1);
}

/* Icon circle */

#certification .card-body {
  position: relative;
}

#certification .card-body::after {
  content: "";

  width: 120px;

  height: 120px;

  position: absolute;

  border-radius: 50%;

  background: rgba(249, 168, 37, 0.05);

  top: -30px;

  right: -30px;
}

/*==================================================
TESTIMONIAL
==================================================*/

#testimonial {
  position: relative;

  overflow: hidden;
}

#testimonial .card {
  position: relative;

  transition: 0.35s;
}

#testimonial .card:hover {
  transform: translateY(-8px);
}

/* tanda petik */

#testimonial .card::before {
  content: "“";

  position: absolute;

  right: 25px;

  top: 15px;

  font-size: 5rem;

  font-weight: 700;

  color: rgba(198, 40, 40, 0.08);

  line-height: 1;
}

/* Rating */

#testimonial .text-warning {
  font-size: 1.1rem;
}

#testimonial hr {
  opacity: 0.15;
}

/* Nama */

#testimonial strong {
  font-size: 1rem;
}

#testimonial .small {
  color: var(--gray);
}

/*==================================================
SOCIAL PROOF
==================================================*/

#testimonial .card-body {
  display: flex;

  flex-direction: column;

  height: 100%;
}

#testimonial p {
  flex: 1;
}

/*==================================================
CARD EFFECT
==================================================*/

#testimonial .card::after {
  content: "";

  position: absolute;

  inset: 0;

  border-radius: var(--border-radius);

  border: 2px solid transparent;

  transition: 0.35s;
}

#testimonial .card:hover::after {
  border-color: rgba(198, 40, 40, 0.15);
}

/*==================================================
ICON ANIMATION
==================================================*/

#testimonial .bi-star-fill {
  transition: 0.3s;
}

#testimonial .card:hover .bi-star-fill {
  transform: scale(1.15);
}

/*==================================================
SECTION BACKGROUND
==================================================*/

#gallery::before,
#testimonial::before {
  content: "";

  position: absolute;

  width: 400px;

  height: 400px;

  border-radius: 50%;

  background: rgba(198, 40, 40, 0.03);
}

#gallery::before {
  right: -200px;

  top: -150px;
}

#testimonial::before {
  left: -200px;

  bottom: -150px;
}

/*==================================================
COMMON IMAGE EFFECT
==================================================*/

.pk-gallery-large,
.pk-gallery-small,
#certification img {
  user-select: none;
}

/*==================================================
TRANSITION
==================================================*/

#gallery img,
#testimonial .card,
#certification .card {
  transition: all 0.35s ease;
}

/*==================================================
READY FOR LIGHTBOX
==================================================*/

.pk-gallery-large,
.pk-gallery-small {
  cursor: zoom-in;
}

/*==================================================
READY FOR SWIPER
==================================================*/

.swiper {
  width: 100%;
}

.swiper-slide {
  height: auto;
}

/*==================================================
PENTOL KABUL OFFICIAL
style.css
PART 4
Contact
Footer
Floating Button
Back To Top
Utilities
Responsive
==================================================*/

/*==================================================
CONTACT
==================================================*/

#contact {
  position: relative;
}

#contact .card {
  border: none;
}

.pk-contact-icon {
  width: 58px;

  height: 58px;

  min-width: 58px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: rgba(198, 40, 40, 0.08);

  color: var(--primary);

  font-size: 1.35rem;

  transition: var(--transition);
}

#contact .d-flex:hover .pk-contact-icon {
  background: var(--primary);

  color: #fff;

  transform: rotate(10deg);
}

#contact iframe {
  border: none;

  width: 100%;
}

#contact .ratio {
  border-radius: var(--border-radius);
}

/*==================================================
FOOTER
==================================================*/

footer {
  background: #1e1e1e;
}

footer p {
  color: #d8d8d8;
}

footer h5 {
  color: #fff;
}

footer ul li {
  margin-bottom: 12px;
}

footer a {
  color: #d8d8d8;

  transition: 0.3s;
}

footer a:hover {
  color: #fff;

  padding-left: 5px;
}

footer hr {
  opacity: 0.12;
}

/*==================================================
SOCIAL
==================================================*/

.pk-social {
  width: 48px;

  height: 48px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);

  color: #fff;

  transition: 0.35s;
}

.pk-social:hover {
  background: var(--primary);

  transform: translateY(-5px);

  color: #fff;
}

.pk-social i {
  font-size: 1.15rem;
}

/*==================================================
FLOATING WHATSAPP
==================================================*/

.pk-whatsapp {
  position: fixed;

  right: 25px;

  bottom: 25px;

  width: 62px;

  height: 62px;

  border-radius: 50%;

  background: #25d366;

  display: flex;

  align-items: center;

  justify-content: center;

  color: #fff;

  font-size: 1.7rem;

  z-index: 999;

  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.35);

  transition: 0.35s;
}

.pk-whatsapp:hover {
  color: #fff;

  transform: scale(1.08);
}

/*==================================================
BACK TO TOP
==================================================*/

.pk-back-top {
  position: fixed;

  right: 25px;

  bottom: 100px;

  width: 55px;

  height: 55px;

  border: none;

  border-radius: 50%;

  background: var(--primary);

  color: #fff;

  cursor: pointer;

  opacity: 0;

  visibility: hidden;

  transition: 0.35s;

  z-index: 998;

  box-shadow: var(--shadow-md);
}

.pk-back-top.show {
  opacity: 1;

  visibility: visible;
}

.pk-back-top:hover {
  transform: translateY(-5px);
}

/*==================================================
FORM
==================================================*/

.form-control {
  border-radius: 14px;

  padding: 0.85rem 1rem;

  border: 1px solid #ddd;
}

.form-control:focus {
  border-color: var(--primary);

  box-shadow: 0 0 0 0.2rem rgba(198, 40, 40, 0.15);
}

/*==================================================
UTILITIES
==================================================*/

.rounded-4 {
  border-radius: var(--border-radius) !important;
}

.shadow-hover {
  transition: 0.35s;
}

.shadow-hover:hover {
  box-shadow: var(--shadow-lg);
}

/*==================================================
SCROLLBAR
==================================================*/

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f3f3f3;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);

  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/*==================================================
TEXT SELECTION
==================================================*/

::selection {
  background: var(--primary);

  color: #fff;
}

/*==================================================
FOCUS
==================================================*/

button:focus,
a:focus {
  outline: none;
}

/*==================================================
RESPONSIVE
==================================================*/

@media (max-width: 1200px) {
  .display-4 {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  .pk-section {
    padding: 80px 0;
  }

  .display-4 {
    font-size: 2.6rem;
  }

  .display-5 {
    font-size: 2.3rem;
  }

  .display-6 {
    font-size: 2rem;
  }

  .pk-gallery-large {
    height: 380px;
  }

  .pk-gallery-small {
    height: 180px;
  }

  .navbar {
    background: #fff;
  }
}

@media (max-width: 768px) {
  .pk-section {
    padding: 70px 0;
  }

  .display-4 {
    font-size: 2.2rem;
  }

  .display-5 {
    font-size: 2rem;
  }

  .display-6 {
    font-size: 1.8rem;
  }

  .pk-hero {
    text-align: center;

    padding-top: 120px;
  }

  .pk-hero img {
    margin-top: 40px;
  }

  .pk-gallery-large {
    height: 300px;
  }

  .pk-gallery-small {
    height: 200px;
  }

  footer {
    text-align: center;
  }

  footer .d-flex {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .pk-section {
    padding: 60px 0;
  }

  .display-4 {
    font-size: 1.9rem;
  }

  .display-5 {
    font-size: 1.75rem;
  }

  .display-6 {
    font-size: 1.55rem;
  }

  .pk-gallery-large {
    height: 250px;
  }

  .pk-gallery-small {
    height: 150px;
  }

  .pk-whatsapp {
    width: 56px;

    height: 56px;

    right: 18px;

    bottom: 18px;

    font-size: 1.5rem;
  }

  .pk-back-top {
    width: 50px;

    height: 50px;

    right: 18px;

    bottom: 85px;
  }
}

@media (max-width: 425px) {
  .container {
    padding-left: 20px;

    padding-right: 20px;
  }

  .display-4 {
    font-size: 1.7rem;
  }

  .display-5 {
    font-size: 1.55rem;
  }

  .display-6 {
    font-size: 1.4rem;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 375px) {
  body {
    font-size: 0.95rem;
  }

  .display-4 {
    font-size: 1.55rem;
  }
}

@media (max-width: 320px) {
  .display-4 {
    font-size: 1.4rem;
  }

  .display-5 {
    font-size: 1.3rem;
  }

  .display-6 {
    font-size: 1.2rem;
  }
}

/* test hero slider */

/*==================================================
HERO V2
Swiper Version
==================================================*/

.pk-hero {
  position: relative;

  overflow: hidden;

  min-height: 100vh;

  display: flex;

  align-items: center;

  background: linear-gradient(135deg, #fffdf8 0%, #ffffff 50%, #fff8ef 100%);
}

/*==================================
BACKGROUND
==================================*/

.pk-hero::before {
  content: "";

  position: absolute;

  width: 650px;

  height: 650px;

  border-radius: 50%;

  background: radial-gradient(rgba(198, 40, 40, 0.12), transparent 70%);

  top: -250px;

  right: -180px;
}

.pk-hero::after {
  content: "";

  position: absolute;

  width: 520px;

  height: 520px;

  border-radius: 50%;

  background: radial-gradient(rgba(249, 168, 37, 0.18), transparent 70%);

  bottom: -200px;

  left: -150px;
}

/*==================================
SWIPER
==================================*/

.heroSwiper {
  width: 100%;
}

.heroSwiper .swiper-slide {
  min-height: 100vh;

  display: flex;

  align-items: center;

  padding: 130px 0 80px;
}

/*==================================
TEXT
==================================*/

.pk-hero h1 {
  font-weight: 800;

  line-height: 1.15;

  margin-bottom: 20px;
}

.pk-hero .lead {
  max-width: 560px;

  font-size: 1.15rem;

  color: #666;
}

/*==================================
IMAGE
==================================*/

.pk-hero-image {
  position: relative;

  display: flex;

  justify-content: center;

  align-items: center;
}

.pk-hero-image img {
  max-width: 520px;

  width: 100%;

  animation: floatingHero 6s ease-in-out infinite;

  z-index: 2;

  position: relative;
}

/*==================================
LINGKARAN BELAKANG
==================================*/

.pk-hero-image::before {
  content: "";

  position: absolute;

  width: 470px;

  height: 470px;

  border-radius: 50%;

  background: linear-gradient(145deg, rgba(249, 168, 37, 0.22), rgba(198, 40, 40, 0.1));

  z-index: 1;
}

.pk-hero-image::after {
  content: "";

  position: absolute;

  width: 540px;

  height: 540px;

  border-radius: 50%;

  border: 2px dashed rgba(198, 40, 40, 0.15);

  animation: rotateCircle 25s linear infinite;
}

/*==================================
FLOATING CARD
==================================*/

.pk-floating-card {
  position: absolute;

  background: rgba(255, 255, 255, 0.92);

  backdrop-filter: blur(14px);

  border-radius: 18px;

  padding: 14px 18px;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);

  font-weight: 600;

  z-index: 20;

  transition: 0.35s;
}

.pk-floating-card:hover {
  transform: translateY(-5px);
}

.pk-card-1 {
  left: -20px;

  top: 80px;

  animation: floatingCard 5s ease-in-out infinite;
}

.pk-card-2 {
  right: -20px;

  top: 180px;

  animation: floatingCard 6s ease-in-out infinite;
}

.pk-card-3 {
  bottom: 40px;

  left: 80px;

  animation: floatingCard 7s ease-in-out infinite;
}

/*==================================
STAT
==================================*/

.pk-hero h3 {
  font-size: 2.2rem;

  color: var(--primary);

  font-weight: 700;
}

.pk-hero small {
  color: #777;
}

/*==================================
BUTTON
==================================*/

.pk-hero .btn {
  padding: 15px 34px;

  font-weight: 600;
}

.pk-hero .btn:hover {
  transform: translateY(-5px);
}

/*==================================
PAGINATION
==================================*/

.heroSwiper .swiper-pagination {
  bottom: 40px;
}

.heroSwiper .swiper-pagination-bullet {
  width: 14px;

  height: 14px;

  background: #ddd;

  opacity: 1;

  transition: 0.35s;
}

.heroSwiper .swiper-pagination-bullet-active {
  width: 34px;

  border-radius: 30px;

  background: var(--primary);
}

/*==================================
ARROW
==================================*/

.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
  width: 58px;

  height: 58px;

  border-radius: 50%;

  background: #fff;

  color: var(--primary);

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);

  transition: 0.35s;
}

.heroSwiper .swiper-button-next:hover,
.heroSwiper .swiper-button-prev:hover {
  background: var(--primary);

  color: #fff;
}

.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after {
  font-size: 20px;

  font-weight: bold;
}

/*==================================
TEXT ANIMATION
==================================*/

.swiper-slide-active h1 {
  animation: fadeUp 0.8s;
}

.swiper-slide-active p {
  animation: fadeUp 1s;
}

.swiper-slide-active .btn {
  animation: fadeUp 1.2s;
}

.swiper-slide-active .pk-floating-card {
  animation-duration: 6s;
}

/*==================================
ANIMATION
==================================*/

@keyframes floatingHero {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes floatingCard {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes rotateCircle {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;

    transform: translateY(30px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/*==================================
RESPONSIVE
==================================*/

@media (max-width: 992px) {
  .heroSwiper .swiper-slide {
    text-align: center;
  }

  .pk-hero .lead {
    margin: auto;
  }

  .pk-hero-image {
    margin-top: 50px;
  }

  .pk-floating-card {
    font-size: 0.9rem;

    padding: 10px 14px;
  }
}

@media (max-width: 768px) {
  .pk-hero h1 {
    font-size: 2.4rem;
  }

  .pk-hero-image img {
    max-width: 350px;
  }

  .pk-hero-image::before {
    width: 320px;

    height: 320px;
  }

  .pk-hero-image::after {
    width: 380px;

    height: 380px;
  }

  .heroSwiper .swiper-button-next,
  .heroSwiper .swiper-button-prev {
    display: none;
  }
}

@media (max-width: 576px) {
  .pk-card-1 {
    left: 0;

    top: 40px;
  }

  .pk-card-2 {
    right: 0;

    top: 130px;
  }

  .pk-card-3 {
    left: 40px;

    bottom: 0;
  }
}

/*==================================
CREATIVE EFFECT
==================================*/

.heroSwiper .swiper-slide {
  opacity: 0 !important;

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.heroSwiper .swiper-slide-active {
  opacity: 1 !important;
}

.heroSwiper .swiper-slide-active .pk-hero-image {
  animation: heroScale 0.8s ease;
}

.heroSwiper .swiper-slide-active h1 {
  animation: heroTitle 0.8s ease;
}

.heroSwiper .swiper-slide-active p {
  animation: heroText 1s ease;
}

.heroSwiper .swiper-slide-active .btn {
  animation: heroButton 1.2s ease;
}

@keyframes heroScale {
  from {
    opacity: 0;

    transform: scale(0.88) translateY(50px);
  }

  to {
    opacity: 1;

    transform: scale(1) translateY(0);
  }
}

@keyframes heroTitle {
  from {
    opacity: 0;

    transform: translateY(45px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

@keyframes heroText {
  from {
    opacity: 0;

    transform: translateY(30px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

@keyframes heroButton {
  from {
    opacity: 0;

    transform: translateY(20px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

.pk-card-1 {
  animation-delay: 0.2s;
}

.pk-card-2 {
  animation-delay: 0.45s;
}

.pk-card-3 {
  animation-delay: 0.7s;
}

.pk-hero::before {
  animation: heroBlob1 18s linear infinite;
}

.pk-hero::after {
  animation: heroBlob2 22s linear infinite;
}

@keyframes heroBlob1 {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(40px, -30px) scale(1.08);
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes heroBlob2 {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-30px, 20px) scale(0.95);
  }

  100% {
    transform: translate(0, 0);
  }
}

.pk-hero-image img {
  animation:
    floatingHero 6s ease-in-out infinite,
    heroBreath 8s ease-in-out infinite;
}

@keyframes heroBreath {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.025);
  }

  100% {
    transform: scale(1);
  }
}

/*======================================
DECORATION
======================================*/
.pk-hero-image::before {
  box-shadow:
    0 0 80px rgba(198, 40, 40, 0.15),
    0 0 160px rgba(249, 168, 37, 0.12);
}

.pk-particles span {
  position: absolute;

  width: 8px;

  height: 8px;

  border-radius: 50%;

  background: #f9a825;

  animation: particle 6s linear infinite;
}

.pk-particles span:nth-child(1) {
  left: 20%;

  top: 20%;
}

.pk-particles span:nth-child(2) {
  right: 15%;

  top: 25%;
}

.pk-particles span:nth-child(3) {
  left: 15%;

  bottom: 20%;
}

.pk-particles span:nth-child(4) {
  right: 20%;

  bottom: 25%;
}

.pk-particles span:nth-child(5) {
  left: 50%;

  top: 8%;
}

.pk-particles span:nth-child(6) {
  left: 55%;

  bottom: 8%;
}

@keyframes particle {
  0% {
    transform: translateY(0) scale(1);

    opacity: 0.3;
  }

  50% {
    transform: translateY(-18px) scale(1.4);

    opacity: 1;
  }

  100% {
    transform: translateY(0) scale(1);

    opacity: 0.3;
  }
}

/* NEW CTA */
.pk-cta-body {
  position: relative;

  overflow: hidden;

  background: linear-gradient(
    135deg,
    #b71c1c 0%,

    #d32f2f 45%,

    #ef5350 100%
  );
}

.pk-cta-body::before {
  content: "";

  position: absolute;

  width: 420px;

  height: 420px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);

  top: -180px;

  right: -120px;

  filter: blur(10px);
}

.pk-cta-pattern {
  position: absolute;

  inset: 0;

  opacity: 0.05;

  background-image: radial-gradient(
    #ffffff 1px,

    transparent 1px
  );

  background-size: 26px 26px;
}

.pk-wave {
  position: absolute;

  left: 0;

  bottom: 0;

  width: 110%;

  height: 80px;
}

.pk-cta-btn {
  transition: 0.35s;

  box-shadow: 0 15px 35px rgba(255, 193, 7, 0.35);
}

.pk-cta-btn:hover {
  transform: translateY(-5px);
}

.pk-wave {
  animation: waveMove 2s linear infinite alternate;
  fill: rgba(245, 255, 237, 0.196);
}

@keyframes waveMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-25px);
  }
}

@media (max-width: 768px) {
  .pk-wave {
    height: 50px;
  }
}

.pk-cta-body {
  position: relative;

  overflow: hidden;

  background: linear-gradient(135deg, #8b0000, #c62828, #e53935);
}

.pk-steam {
  position: absolute;

  inset: 0;

  overflow: hidden;

  pointer-events: none;
}

.pk-steam svg {
  width: 100%;

  height: 100%;
}

.steam-path {
  fill: none;

  /* stroke: rgba(255, 255, 255, 0.12); */
  stroke: rgba(255, 255, 255, 0.464);

  stroke-width: 2.2;

  stroke-linecap: round;

  stroke-linejoin: round;
}

.path-1 {
  opacity: 0.4;
}

.path-2 {
  opacity: 0.22;
}

.path-3 {
  opacity: 0.14;
}

.path-1 {
  stroke-dasharray: 1800;

  stroke-dashoffset: 1800;

  animation: steamMove1 7s linear infinite;
}

.path-2 {
  stroke-dasharray: 1800;

  stroke-dashoffset: 1800;

  animation: steamMove2 10s linear infinite;
}

.path-3 {
  stroke-dasharray: 1800;

  stroke-dashoffset: 1800;

  animation: steamMove3 8s linear infinite;
}

@keyframes steamMove1 {
  from {
    stroke-dashoffset: 1800;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes steamMove2 {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -1800;
  }
}

@keyframes steamMove3 {
  from {
    stroke-dashoffset: 1800;
  }

  to {
    stroke-dashoffset: 500;
  }
}

.pk-steam {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.036));
}

.pk-cta-body > .row {
  position: relative;

  z-index: 10;
}
