@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&display=swap');

:root{
  --black:#272D3B;
  --red:#ED176F;
  --coral:#F7817F;
  --white:#fff;
  --light-white:rgba(255,255,255,.6);
  --light-white:#777;
  --border:.1rem solid rgba(0,0,0,.3);
  --box-shadow:0 .5rem 1rem rgba(0,0,0,.1);
  --gradient:linear-gradient(90deg, #2e3091, #252a61);
}

*{
  font-family: 'Nunito', sans-serif;
  margin:0; padding:0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none; border:none;
  text-transform: capitalize;
  transition: all .2s linear;
}

*::selection{
  background:var(--red);
  color:var(--white);
}

::-webkit-scrollbar{
  width: 1rem;
}

::-webkit-scrollbar-thumb{
  background-color: #2e3092;
}

::-webkit-scrollbar-track{
  background-color: none;
}

html{
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

section{
  padding:3rem 2rem;
  margin: 0 auto;
  max-width: 1200px;
}

.btn{
  display: inline-block;
  padding:1rem 3rem;
  margin-top: 1rem;
  border-radius: 5rem;
  background:var(--gradient);
  color:var(--white);
  cursor: pointer;
  font-size: 1.7rem;
}

.btn:hover{
  transform: scale(1.1);
}

.heading{
  text-align: center;
  color:transparent;
  background: #2e3091;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 5rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.header{
  position: sticky;
  top:0; left: 0; right:0;
  background: white;
  z-index: 1000;
  border-bottom: .1rem solid var(--light-white);
}

.header .flex{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
}

.header .flex .logo{
  font-weight: bolder;
  color:var(--white);
  font-size: 2.5rem;
}

.header .flex .logo img {
  width: 175px; /* Atur lebar sesuai kebutuhan */
  height: auto; /* Biarkan tinggi otomatis untuk menjaga rasio aspek */
}


.header .flex .navbar a{
  font-size: 2rem;
  margin-left: 2.5rem;
  color: var(--gradient);
}

/* Media query untuk tampilan mobile */
@media (max-width: 768px) { /* Atur lebar maksimum sesuai kebutuhan */
  .header .flex .navbar a {
    color: #fff;
  }
}

.header .flex .navbar a:hover{
  color: #2e3091;
}

#menu-bar{
  font-size: 3rem;
  color:#252a61;
  cursor: pointer;
  display: none;
}

.home{
  background: url(../images/bg-sscnew.png) no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  text-align: center;
}

.home .content{
  margin-bottom: 5rem;
}

.home .content h3{
  font-size: 6.5rem;
  color:var(--white);
}

.home .content p{
  font-size: 1.8rem;
  color: white;
  padding:.5rem 0;
  line-height: 1.8;
  max-width:70rem;
  margin:0 auto;
}

.home .swiper-container {
  width: 100%;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.home .swiper-slide {
  width: 35rem; /* Lebarkan gambar dengan meningkatkan lebar */
  height: 51rem; /* Kurangi tinggi gambar */
}

.home .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
}


.features .box-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, 35rem);
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
}

.features .box-container .box{
  border-radius: .5rem;
  text-align: center;
  background:var(--gradient);
  padding:3rem 2rem;
  cursor: pointer;
}

.features .box-container .box i{
  color:var(--white);
  font-size: 5rem;
  padding:1rem;
}

.features .box-container .box h3{
  color:var(--white);
  font-size: 2.3rem;
  padding: 1rem 0;
}

.features .box-container .box p{
  color:var(--white);
  font-size: 1.35rem;
  line-height: 1.8;
  text-align: justify;
}

.features .box-container .box:hover{
  background:var(--gradient);
}

.features .box-container .box:hover > *{
  color:var(--white);
}

.about .row{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.about .row .image-visimisi {
  flex: 1 1 40rem;
  text-align: center;
}

.about .row .image-visimisi img {
  width: 90%;
  height: auto;
  border-radius: 3px; /* Menambahkan sedikit rounded edges */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Menambahkan efek bayangan */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Efek transisi untuk hover */
}

.about .row .image-visimisi img:hover {
  transform: scale(1.05); /* Membesarkan gambar saat hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Bayangan lebih tebal saat hover */
}


.about .row .content{
  flex:1 1 40rem;
}

.about .row .content h3{
  color: #252a61;
  font-size: 3.5rem;
}

.about .row .content p{
  color:var(--light-color);
  font-size: 1.7rem;
  line-height: 1.8;
  padding:1rem 0;
}

.content {
  text-align: center;
  padding: 20px;
}

.buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px; /* Jarak antar tombol */
}

.buttons a img {
  width: 180px; /* Ukuran gambar tombol */
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animasi untuk hover */
}

.buttons a:hover img {
  transform: scale(1.1); /* Memperbesar gambar tombol saat di-hover */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Efek bayangan saat di-hover */
}

@media (max-width: 768px) {
  .buttons {
      flex-direction: column; /* Mengubah arah tombol saat layar kecil */
      gap: 15px;
  }

  .buttons a img {
      width: 150px; /* Ukuran tombol lebih kecil untuk perangkat mobile */
  }
}


.about .row .content .buttons{
  display: flex;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.about .row .content .buttons a:hover{
  opacity: .7;
}

.about .row .content .buttons a:last-child{
  margin-left: 2rem;
}

.usage {
  padding: 0px 20px;
  overflow: hidden;
}

 .row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

 .box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease-out;
}

 .usage .box {
  background: var(--gradient);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.5s ease;
  position: relative;
  overflow: hidden;
}

 .box:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

 .box i {
  font-size: 40px;
  color: var(--white);
  margin-bottom: 20px;
  animation: bounce 2s infinite;
}

 .box h3 {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 15px;
}

 .box p {
  font-size: 16px;
  color: var(--white);
  line-height: 1.6;
}



@keyframes bounce {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-10px);
  }
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(50px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Animasi Scroll */
.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .box-container {
      flex-direction: column;
      align-items: center;
  }
  
 
}

.review .box .meta-info {
  font-size: 14px;
  color: #555;
  margin: 10px 0;
  font-style: italic;
}


.review .box-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, 35rem);
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
}

.review .box-container .box{
  text-align: center;
  padding:3rem;
  border:var(--gradient);
  box-shadow: var(--box-shadow);
  border-radius: .5rem;
  background-color: var(--white);
}

.review .box-container .box img{
  height:20rem;
  width:25rem;
  padding:1rem;
  object-fit: cover;
}

.review .box-container .box h3{
  font-size: 2rem;
  color:var(--black);
}



.review .box-container .box .stars i{
  padding:1rem .1rem;
  font-size: 2rem;
  color:var(--red);
}

.pricing .box-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, 35rem);
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
}

.pricing .box-container .box{
  text-align: center;
  border-radius: .5rem;
  padding:2rem 0;
  box-shadow: var(--box-shadow);
  border:var(--border);
}

.pricing .box-container .box .price{
  font-size: 5rem;
  color:var(--black);
  font-weight: bolder;
}

.pricing .box-container .box .price span{
  font-size: 2rem;
  font-weight: normal;
}

.pricing .box-container .box h3{
  color:var(--white);
  background:var(--gradient);
  font-size: 3rem;
  padding:1.5rem 0;
  margin:1rem 0;
}

.pricing .box-container .box ul{
  list-style: none;
  padding:2rem 0;
  border-bottom: .1rem solid var(--red);
}

.pricing .box-container .box ul li{
  padding:.7rem 0;
  font-size: 1.7rem;
  color:var(--light-color);
}

.pricing .box-container .box .btn{
  margin-top: 2rem;
}



.footer{
  text-align: center;
  background: var(--gradient);
  max-width: 1500px;
}

.footer .share a{
  height: 4.5rem;
  width:4.5rem;
  line-height: 4.5rem;
  background:var(--white);
  color:var(--black);
  border-radius: 50%;
  font-size: 2rem;
  margin:0 .7rem;
}

.footer .share a:hover{
  color:var(--white);
  background-color: #3498db;
}

.footer .credit{
  color:var(--white);
  padding:2rem;
  font-weight: normal;
  font-size: 2rem;
  margin-top: 2rem;
}

.footer .credit span{
  color:var(--white);
}



/* media queries */

@media (max-width:991px){

  html{
    font-size: 55%;
  }

  .usage .row{
    flex-flow: column;
  }

  .usage .row .divider{
    display: none;
  }

  .usage .row .box-container .box{
    text-align: center;
  }

}

@media (max-width:768px){

  #menu-bar{
    display: block;
  }

  .header .flex .navbar{
    position: absolute;
    top:100%; left: 0; right:0;
    background:var(--black);
    border-top: .1rem  solid var(--light-white);
    padding:1rem 2rem;
    clip-path:polygon(0 0, 100% 0, 100% 0, 0 0);
  }

  .header .flex .navbar.nav-toggle{
    clip-path:polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .header .flex .navbar a{
    display: block;
    margin:1.5rem 0;
    padding:1rem;
    background:var(--gradient);
    text-align: center;
    border-radius: .5rem;
  }

  .header .flex .navbar a:hover{
    color:var(--black);
  }

  .fa-times{
    transform: rotate(180deg);
  }

  .home .content h3{
    font-size: 3.5rem;
    margin-bottom: 1rem;
  }

  .about .row .content{
    text-align: center;
  }

  .about .row .content .buttons a{
    width:100%;
  }

  .about .row .content .buttons a:last-child{
    margin:1rem 0;
  }

}


@media (max-width:400px){

  html{
    font-size: 50%;
  }

  .heading{
    font-size: 3.5rem;
  }

}

 /* Popup overlay */
 .popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  to {
      opacity: 1;
  }
}

/* Popup box */
.popup {
  background: white;
  padding: 13px;
  border-radius: 5px;
  width: 375px;
  max-width: 90%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  transform: scale(0);
  animation: scaleUp 1s forwards;
}

@keyframes scaleUp {
  to {
      transform: scale(1);
  }
}

.popup h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #252a61;
  text-align: center;
}

.popup .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 24px;
  color: #333;
  transition: color 0.3s;
}

.popup .close-btn:hover {
  color: #e74c3c;
}

.popup .form-group {
  margin-bottom: 15px;
  position: relative;
}

.popup .form-group input,
.popup .form-group select,
.popup .form-group textarea {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
  background-color: #f9f9f9;
  transition: border-color 0.3s;
}

.popup .form-group input:focus,
.popup .form-group select:focus,
.popup .form-group textarea:focus {
  border-color: #3498db;
  outline: none;
}

/* Icons for input fields */
.popup .form-group i {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: #252a61;
}

/* Button style */
.popup button {
  background-color: #252a61;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  transition: background-color 0.7s;
}

.popup button:hover {
  background-color: #1f2455;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .popup {
      width: 80%;
      padding: 20px;
  }
}

/* Khusus untuk popup garansi */
.popup-garansi {
  background: white;
  padding: 13px;
  border-radius: 5px;
  width: 375px;
  max-width: 90%;
  max-height: 90vh; /* Membatasi tinggi popup maksimum hingga 90% dari tinggi viewport */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow-y: auto; /* Mengaktifkan scroll jika konten melebihi tinggi */
  transform: scale(0);
  animation: scaleUp 1s forwards;
}

@media (max-width: 768px) {
  .popup-garansi {
    width: 90%;
    padding: 20px;
    max-height: 90vh; /* Tetap membatasi tinggi pada perangkat mobile */
  }
}



.tentang-kami {
  padding: 5rem 2rem;
}

.tentang-kami .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* Responsive handling */
}

.tentang-kami .content {
  flex: 1;
  max-width: 600px;
  margin-right: 2rem;
}

.tentang-kami .content h2 {
  font-size: 4.5rem;
  color: #252a61;
  margin-bottom: 1.5rem;
}

.tentang-kami .content p {
  font-size: 2rem;
  line-height: 1.8;
  color: #555;
  text-align: justify;
}

.tentang-kami .image {
  flex: 1;
  max-width: 400px;
}

.tentang-kami .image img {
  width: 100%;
  height: auto;
  border-radius: 3px;
}

/* Responsiveness for mobile screens */
@media (max-width: 768px) {
  .tentang-kami .container {
      flex-direction: column;
      text-align: center;
  }

  .tentang-kami .content {
      margin-right: 0;
      margin-bottom: 2rem;
  }

  .tentang-kami .image img {
      max-width: 100%;
  }
}

/* Styling untuk Button Download PDF */
.download-section-garansi {
  margin-top: 20px;
  text-align: center;
}

.download-btn-garansi {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  transition: background-color 0.7s;
}

.download-btn-garansi:hover {
  background-color: #2980b9;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.contact-section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #2e3092;
  animation: contact-fadeInDown 1s ease-out;
}

.contact-section-title-sosmed {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--white);
  animation: contact-fadeInDown 1s ease-out;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.contact-info-item {
  background: var(--gradient); /* Memaksa warna latar belakang */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
  animation: contact-fadeInUp 1s ease-out;
}


.contact-info-item i {
  font-size: 2.5rem;
  color: var(--white); /* Ubah warna ikon sesuai kebutuhan */
  margin-bottom: 15px;
}

.contact-info-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--white);
}

.contact-info-item p {
  font-size: 1.3rem;
  color: var(--white); /* Ubah warna teks paragraf sesuai kebutuhan */
  text-transform: none;
}

.contact-info-item:hover {
  transform: translateY(-10px);
}

.contact-social-media {
  text-align: center;
  margin-bottom: 40px;
}

.contact-social-media h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-social-link {
  font-size: 2rem;
  margin: 0 10px;
  color: var(--white); /* Ubah warna tautan sosial media sesuai kebutuhan */
  transition: color 0.3s;
}

.contact-social-link:hover {
  color: #555; /* Ubah warna saat hover */
}

.contact-map-section {
  text-align: center;
  margin-top: 40px;
}

#contact-map {
  width: 100%;
  height: 400px;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  animation: contact-fadeInUp 1.2s ease-out;
}

/* Animations */
@keyframes contact-fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contact-fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}






