@import url('animated.css');

/* Reset */
*, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
::-webkit-scrollbar{
    display: none;
}
body {
    font-family: "Plus Jakarta Sans", sans-serif;
}

/* Preloader */

.preloader{ 
	position:fixed; 
	left:0px; 
	top:0px; 
	width:100%; 
	height:100%; 
	z-index:999999; 
	background-color:rgba(0,0,0,0); 
} 

.preloader .icon{ 
	position:fixed; 
	left:0px; 
	top:0px; 
	width:100%; 
	height:100%; 
	z-index:1; 
	background-color:rgba(0,0,0,0); 
	background-position:center center; 
	background-repeat:no-repeat; 
	background-image:url(../image/icon/gearfull9.svg);
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-ms-transition: all 200ms ease;
	-o-transition: all 200ms ease;
	transition: all 200ms ease;
	animation: 2s gearAnimation linear infinite;
} 

.preloader .other-icon{ 
	position:fixed; 
	left:0px; 
	top:0px; 
	width:100%; 
	height:100%; 
	z-index:2; 
	background-color:rgba(0,0,0,0); 
	background-position:center center; 
	background-repeat:no-repeat; 
	background-image:url(../image/icon/rebuildtanpagear.svg);
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-ms-transition: all 200ms ease;
	-o-transition: all 200ms ease;
	transition: all 200ms ease;
	margin-left: 8px;
} 

.page-loaded .preloader .icon,
.page-loaded .preloader .other-icon{
	opacity:0; 
}

.preloader:before{
	content:'';
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	background:#ffffff;
	z-index:0; 
	-webkit-transform:translateX(0%);
	-ms-transform:translateX(0%);
	transform:translateX(0%);
	-webkit-transition: all 800ms ease;
	-moz-transition: all 800ms ease;
	-ms-transition: all 800ms ease;
	-o-transition: all 800ms ease;
	transition: all 800ms ease;
}

.page-loaded .preloader:before{
	-webkit-transform:translateX(-101%);
	-ms-transform:translateX(-101%);
	transform:translateX(-101%);
}

.preloader:after{
	content:'';
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	background:#252742;
	z-index:2; 
	-webkit-transform:translateX(101%);
	-ms-transform:translateX(101%);
	transform:translateX(101%);
	-webkit-transition: all 800ms ease;
	-moz-transition: all 800ms ease;
	-ms-transition: all 800ms ease;
	-o-transition: all 800ms ease;
	transition: all 800ms ease;
}

.page-loaded .preloader:after{
	-webkit-transform:translateX(-101%);
	-ms-transform:translateX(-101%);
	transform:translateX(-101%);
}

/* preloader end */
/*==================== NAVBAR ====================*/
nav {
    display: flex;
    background: #252642;
    background: linear-gradient(92deg,rgba(37, 38, 66, 1) 7%, rgba(55, 58, 140, 1) 93%);
    /* background: linear-gradient(92deg,rgba(37, 38, 71, 1) 0%, rgba(66, 66, 153, 0.9) 100%); */
    justify-content: space-between;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 96px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

nav .logo {
    display: flex;
    align-items: center;
    width: 100vh;
}

nav .logo span {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    word-wrap: break-word;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

nav ul li a {
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    background: #fff;
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    padding: 8px 0;
    transition: background 300ms, border-bottom 300ms;
    border-bottom: 1px solid rgba(221, 37, 37, 0);
}

nav ul li a:hover {
    background: linear-gradient(180deg, #fff, #65678a);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    border-bottom: 1px solid #fff;
}

.menu-icon {
    font-size: 2.5rem;
    display: none;
    background: #252642;
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}   


/* start hero section */
.main-container {
    position: relative;
    width: 100%;
    background-image: 
        linear-gradient(92deg,rgba(37, 38, 66, 1) 7%, rgba(55, 58, 140, 1) 93%),
        url("../image/hero-section/image.png");
    background-blend-mode: multiply;
    background-size: 150% auto;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 700px;
    z-index: 1;
}

.card-hero {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: translateY(-100px); 
    z-index: 2; 
}

.garis {
  width: 70px;
  height: 4px;        
  margin-bottom: 10px;
}

.garis rect {
  width: 100%;
  height: 100%;
  fill: white;         
  rx: 0px;     
}

.content {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    gap: 0.5rem;
}

.content .judul-content {
    font-size: 5rem;
    font-weight: 700;
    color: #fff;
}

.content p {
    font-size: 1rem;
    color: #fff;
    max-width: 600px;
}

.button {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
}

.button button {
  background-color: #5358DD;
  border: none;
  color: white;
  padding: 5px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.button button:hover {
  background-color: #1e40af;
}

/* ketentuan section */
.ketentuan-umum {
    position: relative;
    width: 100%;
    padding: 60px 0;
    transform: translateY(-200px); 
    z-index: 2; 
    pointer-events: auto;
}

.ketentuan-umum .judul {
    border-radius: 10px solid white;
}
.ketentuan-umum h1 {
  font-size: 2  rem;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;  
}

.ketentuan-card {
    display: flex;
    flex-wrap: wrap;          
    justify-content: center;   
    gap: 20px;               
    margin-top: 0; 
}

.card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    width: 225px;              
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card h2 {
    color: #252642;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

.card p span {
    color: #0009FF;
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
}

/* about section */
.about-us {
    margin: auto;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: url("../image/about-us/image.png");
    background-size: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    display: flex;
    justify-content: left;
    align-items: center;
    
  }
  
  .about-content {
    margin: auto;
    display: flex;
    width: 80%;
    height: 900px;
    flex-direction: column;
    justify-content: center;
    gap: 140px;
  }
  
  .about-content h1 {
    font-size: 6rem;
    font-weight: 700;
    color: #252642;
  }
  
  .about-content p {
    text-align: justify;
    font-size: 1.5rem;
    color: #373A8C;
    line-height: 1.6;
  }
  
  /* end about */
  
  /* mediapartner start */
  
  .mediapartner {
    margin: auto;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: url("../image/media-partner/mediapartner.png");
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    display: flex;
    justify-content: left;
    align-items: center;

  }

.btn-download  a {
    text-decoration: none;
    color: inherit;
  }

.collaboration-buttons a {
    text-decoration: none;
  }

.mediapartner-content {
    margin: auto;
    display: flex;
    width: 80%;
    height: 900px;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
}

.mediapartner-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
}

.mediapartner-content .ungu {
    transform: translateX(500px);
    
}

.terms-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.term-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.2s ease, background 0.3s ease;
}

.term-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.term-item img {
  width: 36px;
  height: 36px;
}

.term-item p {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.5;
}

.btn-download {
  text-align: left;
  margin-top: 50px;
}

.btn-download button {
  gap: 10px;
  display: flex;
  align-items: center;
  background: #5358DD;
  color: white;
  border: none;
  padding: 8px 28px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-download button:hover {
  background: #4248c7;
}
/* end */

/* start colaboration */
.collaboration {
    margin: auto;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: url("../image/kerjasama/image.png");
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    display: flex;
    justify-content: left;
    align-items: center;
}

.collaboration-content {
    margin: auto;
    display: flex;
    width: 80%;
    height: 900px;
    flex-direction: column;
    justify-content: center;
    gap:50px;
}
.collaboration-header {
    text-align: center;
    margin-bottom: 20px; /* opsional: kasih jarak ke bawah */
}

.collaboration-header .ungu {
    transform: translateX(170px);
}

.collaboration-header h1 {
  font-size: 4rem;
  font-weight: 700;
  color: #1e1e1e;
}

.collaboration-header span {
  color: #5358DD;
}

.collaboration-header p {
  font-size: 1.5rem;
  color: #000;
}

.collaboration-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #5358DD;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #3e42c5;
}

.btn-outline {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #5358DD;
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #3e42c5;
}

.steps-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.steps-container > div:first-child {
    width: 100%;
    display: flex;
    justify-content: center;
}

.steps-container svg {
    max-width: 100%;
    height: auto;
}

.steps-container > div:last-child {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

.step-item {
    text-align: center;
    max-width: 280px;
    margin: 0 auto;
}

.step-item h3 {
    color: #252642;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.step-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}



/* start footer */
/* =============== section Footer ================ */

footer {
	background: linear-gradient(92deg,rgba(37, 38, 66, 1) 7%, rgba(55, 58, 140, 1) 93%);
	color: white;
  font-family: 'Figtree', sans-serif;
  }
  
  .footer-container {
	display: flex;
	position: relative;
	justify-content: space-around;
	flex-wrap: wrap;
	flex-direction: row;
	max-width: 1200px;
	margin: 0 auto;
  }
  
  .footer-text{
	display: flex;
	position: relative;
	flex-wrap: wrap;
	gap: 140px;
	padding: 30px 20px 0 250px;
  }
  
  .footer-section h4 {
	font-size: 1.3em;
	margin-bottom: 10px;
	font-family: "Figtree";
  }
  
  .footer-section ul li {
	list-style: none;
	margin: 15px 0;
  }
  
  .footer-section ul li a {
	color: white;
	font-family: "Figtree";
	text-decoration: none;
	transition: color 0.3s ease;
	font-size: 1.0em;
  }
  
  .footer-section ul li a:hover {
	color: #b3b3b3;
  }
  
  .logo-section {
	text-align: center;
	max-width: 170px;
	margin: 20px 0 0 40px;
  }
  
  .logo-footer {
	width: 170px;
	height: 170px;
	justify-content: center;
	
  }
  .logo-section h3 {
	font-size: 1.8em;
	letter-spacing: 1px;
	font-family: "Figtree";
  }
  
  .footer-bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 10px 20px;
	background: linear-gradient(92deg,rgba(37, 38, 66, 1) 7%, rgba(55, 58, 140, 1) 93%);
  }
  
  .footer-line {
	width: 100%;
	height: 5px;
	background-color: rgb(255, 255, 255);
	margin-bottom: 10px;
  }
  
  .footer-bottom p {
	margin: 5px 0;
	color: white;
	font-size: 18px;
	text-align: center;
	font-family: "Figtree";
  }
  
  .footer-logo-container {
	display: flex;
	align-items: center;
  }
  
  .footer-logo {
	max-width: 50px;
	margin: 10px 10px 10px 0;
  }
  
  .footer-logo-container p {
	margin: 0;
	color: white;
	font-size: 18px;
	font-family: "Figtree";
  }
  
  .social-icons {
	display: flex;
	justify-content: center;
	margin-top: 5px;
  }
  
  .social-icons a {
	text-decoration: none;
	color: white;
	margin: 0 5px;
	font-size: 20px;
	transition: color 0.3s ease;
	background-color: #ffffff0c;
	border-radius: 50%;
	line-height: 2px;
	padding: 5px;
	display: flex;
	align-items: center;
	font-family: "Figtree";
  }
  
  .social-icons a i {
	justify-content: center;
  }
  
  .social-icons a:hover {
	color: #ffffffc2;
	background-color: #000000b0;
  }
  div .section-3 {
      margin-top: 2px; 
  }
/* end footer */

/* kerjasama css */
.form-section {
    margin: auto;
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-image: url("../image/colaboration/image.png");
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 50px;
}

.form-header {
    text-align: center;
    color: #fff;
    font-size: 1.8rem;
}
/* Container form */
.form-container {
    border-radius: 15px;
    padding: 40px;
    width: 100%;
    max-width: 700px;
    text-align: center;
}

/* Judul form */
.form-container h1 {
    margin-bottom: 20px;
    color: #fff;
}

/* Form styling */
.form-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Input dua kolom sejajar */
.form-container .input-row {
    display: flex;
    gap: 10px;
}

/* Input fields */
  .form-container input[type="text"],
  .form-container input[type="email"],
  .form-container input[type="tel"] {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: none;
    outline: none;
}

/* Area upload file */
.form-container .upload-area {
    border: 2px dashed rgba(255,255,255,0.6);
    border-radius: 12px;
    padding: 40px 20px;
    margin-top: 10px;
}

.form-container .upload-area p {
    margin: 10px 0;
    color: rgba(255,255,255,0.9);
}

/* Tombol browse */
.form-container .browse-btn {
    background-color: #5358DD;
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.form-container .browse-btn:hover {
    background-color: #2a2e98;
}

/* Tombol kirim */
.form-container .submit-btn {
    display: inline-flex;             
    justify-content: center;
    align-items: center;
    width: 200px;                     
    height: 40px;                     
    box-sizing: border-box;           
    font-size: 16px;
    border-radius: 20px;
    background-color: #5358DD;
    color: #fff;
    border: none;
    cursor: pointer;
}

.form-container .submit-btn.responsive {
    width: min(420px, var(--btn-w));
    height: var(--btn-h);
}


.form-container .submit-btn {
    align-self: center; 
}

.form-container .submit-btn:hover {
    background-color: #2a2e98;
}

/* ========== SUCCESS POPUP ========== */
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

.success-popup.show {
  opacity: 1;
  visibility: visible;
}

.error-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-popup.show {
    display: flex;
    opacity: 1;
}

.popup-content {
  background: #fff;
  border-radius: 15px;
  padding: 40px 60px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  animation: popUp 0.3s ease;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    margin: auto;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.success-popup.show .popup-content,
.error-popup.show .popup-content {
    transform: translateY(0);
}

.check-icon {
  background-color: #39e75f;
  color: white;
  font-size: 40px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.check-icon {
    font-size: 48px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.error-icon {
    font-size: 48px;
    color: #f44336;
    margin-bottom: 20px;
}

.popup-content h2 {
  font-size: 1.8rem;
  color: #1e1e1e;
  margin-bottom: 10px;
}

.popup-content h2 {
    margin: 0 0 15px;
    color: #333;
}

.popup-content p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 20px;
}

.popup-content p {
    margin: 0 0 20px;
    color: #666;
    line-height: 1.5;
}

.popup-content button {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

#closePopup {
  background-color: #ddd;
  border: none;
  border-radius: 10px;
  padding: 8px 25px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

#closePopup {
    background: #5358DD;
    color: white;
}

#closeErrorPopup {
    background: #f44336;
    color: white;
}

#closePopup:hover {
    background: #4045c0;
}

#closeErrorPopup:hover {
    background: #d32f2f;
}

#closePopup:hover {
  background-color: #bbb;
}





