* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #111827;
  background: #fafafa;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.border-blue {
  border: 2px solid #126ef5 !important;
}

.grayscale {
  filter: grayscale(100%);
}

.bg-fa {
  background-color: #fafafa;
}

.bg-smooth {
  padding: 3px 6px;
  background-color: #5283cc27;
  color: #000 !important;
}

.border-left {
  border-left: 1px solid #ededed;
}

.text-black {
  color: #000000;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.w-300 {
  width: 300px;
}

.w-280 {
  width: 280px;
}

.w-250 {
  width: 250px;
}

.w-200 {
  width: 200px;
}

.container {
}

/* Pastikan tombol menjadi parent */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Efek kilau */
.btn-primary::before {
  content: "";

  position: absolute;

  top: 0;
  left: -120%;

  width: 70%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 30%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.15) 70%,
    transparent 100%
  );

  transform: skewX(-25deg);

  transition: left 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.btn-primary:hover::before {
  left: 150%;
}

.hero-section {
  background-color: #fafafa;
  padding: 4rem 4rem 12rem 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  /* border: 1px solid black; */
}

.hero-section .container {
  padding: 1rem 4rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.hero-title {
  width: 55%;
  /* border: 1px solid black; */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-img {
  width: 43%;
  position: relative;
  /* border: 1px solid black; */
}

.hero-img img {
  position: relative;
  right: 0;
  width: 100%;
  height: auto;
}

.hero-title h1 {
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -0.5px;
  width: 100%;
  color: #000;
  line-height: 125%;
}

.hero-title p {
  color: #0000009c;
  font-weight: 440;
  width: 90%;
  line-height: 175%;
  font-size: 1rem;
}

.hero-btn {
  /* border: 1px solid black; */
  margin-top: 32px;
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
}

.hero-section .btn-primary {
  padding: 12px 32px;
}

.btn-blue {
  background-color: #106efa;
  color: white;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 99px;
  gap: 0.7rem;
  margin: 0;
  padding: 12px 24px;
}

.btn-third {
  font-size: 14px;
  display: flex;
  flex-direction: row;
  gap: 0.7rem;
  color: #106efa;
  padding: 12px 16px;
  font-weight: 500;
}

.btn-third img {
  width: 8px;
  transition: 0.25s ease;
}

.btn-third:hover {
  img {
    margin-left: 4px;
  }
}

.btn-light {
  margin: 0;
  font-size: 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  text-align: center;
  gap: 0.7rem;
  background-color: white;
  color: black;
  padding: 12px 24px;
  font-weight: 600;
}

.btn-light img {
  width: 8px;
  transition: 0.25s ease;
}

.btn-light:hover {
  img {
    margin-left: 4px;
  }
}

/*==================================
Review Section
==================================*/

.review-section {
  /* border-top: 1px solid #ededed;
  border-bottom: 1px solid #ededed; */
  padding: 12px 0;
  margin: 4rem 0;
  /* background-color: white; */
  overflow: hidden;
}

.review-section .container {
  padding: 1rem 4rem;
  display: flex;
  align-items: center;
  gap: 50px;
}

/*==================================
Rate
==================================*/

.rate {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  padding-right: 40px;
  border-right: 1px solid #ededed;
}

.rate img {
  width: 110px;
}

.stars {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f59e0b;
  font-size: 18px;
}

.stars span {
  color: #000000;
  font-weight: 700;
}

.rate p {
  margin-top: 6px;
  color: #000000;
  font-size: 15px;
}

/*==================================
Brands
==================================*/

.brands {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* Fade kiri */

.brands::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(to right, #fafafa, transparent);
  z-index: 2;
}

/* Fade kanan */

.brands::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(to left, #fafafa, transparent);
  z-index: 2;
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  animation: brandLoop 28s linear infinite;
}

.brands-track img {
  height: 43px;
  transition: 0.3s;
}

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

  to {
    transform: translateX(-50%);
  }
}

/* ================================
   Portfolio
================================ */

.portfolio {
  padding: 120px 0;
  background: #fafafa;
}

.portfolio .container {
  margin: auto;
  padding: 1rem 4rem;
}

/* ================================
   Heading
================================ */

.section-heading {
  width: 50%;
  margin: 0 auto 70px;
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: #eef4ff;
  color: #126ef5;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 18px;
}

.section-heading h2 span {
  color: #126ef5;
}

.section-heading p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.8;
}

/* ================================
   Layout
================================ */

.portfolio-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

/* ================================
   Sidebar
================================ */

.portfolio-sidebar {
  width: 18%;
  flex-shrink: 0;

  align-self: stretch;
}

.sidebar-sticky {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 12px;
  background: #fff;
}

/* ================================
   Category
================================ */

.category {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  outline: none;
  background: transparent;
  padding: 8px 16px;
  border-radius: 16px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
  font-weight: 400;
  color: #4b5563;
}

.category:hover {
  background: #f8fafc;
  color: #111827;
}

.category.active {
  background: #1964dc;
  color: #fff;
}

/* ================================
   Portfolio Content
================================ */

.portfolio-content {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

/* ================================
   Card
================================ */

.portfolio-card {
  width: calc(33.333% - 19px);
  overflow: hidden;
  border: 1px solid #ededed;
  border-radius: 16px;
  background: #fff;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    scale 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* Hidden */

.portfolio-card.hide {
  opacity: 0;
  transform: translateY(20px);
  scale: 0.96;
  pointer-events: none;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border: 1px solid #1f57ae;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

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

.portfolio-thumbnail {
  overflow: hidden;
  aspect-ratio: 16/9;
}

.portfolio-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.45s;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

/* ================================
   Content
================================ */

.portfolio-info {
  padding: 16px;
}

.portfolio-tag {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1f57ae;
  font-size: 0.6rem;
  font-weight: 600;
}

.portfolio-info h3 {
  font-size: 1rem;
  color: #111827;
}

.portfolio-info p {
  color: #6b7280;
  line-height: 1.8;
}

.portfolio-info a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1f57ae;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.portfolio-info a:hover {
  gap: 16px;
}

.sidebar-sticky {
  position: sticky !important;
  top: 110px !important;
  align-self: flex-start;
}

.profile-section {
  padding: 4rem 4rem 8rem 4rem;
  /* background: #fafafa; */
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.profile-section .container {
  padding: 1rem 4rem;
  display: flex;
  flex-direction: row;
  gap: 4rem;
  justify-content: space-between;
}

.container .profile-title {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  /* border: 1px solid black; */
}

.profile-title .btn-primary {
  padding: 12px 32px;
}

.profile-title h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
}

.profile-title p {
  width: 70%;
  font-size: 16px;
  opacity: 80%;
}

.container .profile-content {
  width: 60%;
  /* border: 1px solid black; */
  background-color: white;
  border: 1px solid #ededed;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  height: fit-content;
  /* justify-content: center; */
  /* align-items: center; */
}

.profile-content .row-custom {
  width: 100%;
  /* border: 1px solid blue; */
  display: flex;
  flex-direction: column;
}

.profile-content .row-custom .row-title {
  padding: 10px 16px;
  width: 100%;
  height: 60px;
  /* border: 1px solid red; */
  border-bottom: 1px solid #ededed;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
}

.row-title img {
  width: 120px;
  height: auto;
  object-fit: cover;
}

.row-custom .row-content {
  width: 100%;
  /* border: 1px solid red; */
  display: flex;
  flex-direction: column;
}

.row-content .content-item {
  height: 75px;
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  gap: 0.4rem;
  font-size: 14px;
  /* border: 1px solid blue; */
  padding: 1rem;
}

.row-content .content-item img {
  width: 6%;
}

.hero-section.porto-page .container {
  padding: 4rem 4rem 0rem 4rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.hero-section.porto-page .container h1 {
  width: 60%;
  font-size: 50px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.5px;
  color: black;
  line-height: 125%;
  text-align: center;
}

.hero-section.porto-page .container p {
  font-size: 16px;
  color: black;
  opacity: 80%;
  font-weight: 440;
  width: 60%;
  line-height: 175%;
  text-align: center;
}

@media (max-width: 1399px) {
  .portfolio-sidebar {
    width: 22%;
    flex-shrink: 0;
  }

  .portfolio-card {
    width: calc(50% - 14px);
  }
}

@media (max-width: 1199px) {
  .hero-title {
    width: 55%;
  }

  .hero-title h1 {
    font-size: 40px;
  }

  .hero-title p {
    font-size: 15px;
  }

  .portfolio-sidebar {
    width: 25%;
    flex-shrink: 0;
  }
}

/* ================================
   Tablet
================================ */

@media (max-width: 1100px) {
  .portfolio-wrapper {
    flex-direction: column;
  }

  /* .sidebar-sticky {
    position: relative;
    top: 0;

    display: flex;
    overflow: auto;
    gap: 10px;
  } */

  .rate p {
    font-size: 14px;
  }

  .category {
    width: auto;
    white-space: nowrap;
  }

  .review-section {
    margin: 4rem 0;
  }

  .section-heading {
    width: 72%;
  }

  .portfolio-card {
    width: calc(50% - 14px);
  }

  .portfolio-sidebar {
    width: 100%;
    flex-shrink: 0;
  }
}

/* ================================
   Mobile
================================ */

@media (max-width: 767px) {
  .portfolio-card {
    width: 100%;
  }

  .section-heading {
    width: 90%;
  }

  .section-heading h2 {
    font-size: 25px;
    font-weight: 600;
  }

  .profile-title h2 {
    font-size: 25px;
    font-weight: 600;
    line-height: 1.4;
  }
}

@media (max-width: 991px) {
  .hero-section {
    padding: 4rem;
  }

  .hero-section .container {
    padding: 1rem;
  }

  .hero-title h1 {
    font-size: 32px;
  }

  .hero-title p {
    width: 100%;
    font-size: 14px;
  }

  .hero-title .btn-primary {
    display: block;
  }

  .hero-title .btn-primary {
    text-align: center;
  }

  .hero-title .btn-third {
    text-align: center;
  }

  .review-section .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .rate {
    border: none;
    padding-right: 0;
  }

  .portfolio .container {
    margin: auto;
    padding: 1rem;
  }

  .profile-section {
    padding: 4rem 0rem;
  }

  .profile-section .container {
    padding: 1rem;
    display: flex;
    flex-direction: column;
  }

  .container .profile-title {
    width: 80%;
  }

  .profile-title .btn-primary {
    padding: 12px 32px;
    text-align: center;
    display: block;
  }

  .container .profile-content {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 4rem 0rem;
  }

  .hero-section .container {
    flex-direction: column;
    gap: 4rem;
  }

  .hero-title {
    width: 100%;
  }

  .hero-title .btn-primary {
    display: block;
  }

  .hero-img {
    width: 100%;
  }

  .hero-img img {
    width: 80%;
    margin: 0 auto;
  }

  .container .profile-title {
    width: 100%;
  }

  .faq-question span {
    font-size: 14px;
  }
}

@media (max-width: 488px) {
  .hero-btn {
    flex-direction: column;
    gap: 1rem;
  }

  .row-content .content-item {
    height: 85px;
  }

  .hero-title .btn-third {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    border-radius: 99px;
    background-color: #106efa1c;
    border: 1px solid #106efa2f;
    padding: 8px 16px;
  }

  .section-heading h2 {
    font-size: 25px;
    font-weight: 600;
  }

  .section-heading p {
    font-size: 14px;
  }

  .profile-title p {
    width: 90%;
    font-size: 14px;
    opacity: 50%;
  }
}

@media (max-width: 400px) {
  .hero-btn {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-title .btn-primary {
    text-align: center;
  }

  .hero-title .btn-third {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    border-radius: 99px;
    background-color: #106efa1c;
    border: 1px solid #106efa2f;
    padding: 8px 16px;
  }

  .row-content .content-item {
    height: 100px;
    font-size: 13px;
  }

  .row-content .content-item img {
    width: 12%;
  }
}
