body {
    font-family: Arial, sans-serif;
    background: white;
    color: #333;
    margin: 0;
    padding: 0;
    animation: fadeIn 0.8s ease-out;
    overflow-x: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.box {
    background: white;
    color: white;
    padding: 1px 20px;
    display: flex;
    align-items: center;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    box-sizing: border-box;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.boxx {
    background-color: #0d47a1;
    color: white;
    padding: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    box-sizing: border-box;
    margin-top: 55px;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

@keyframes fadeInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.boxx h1 {
    margin: 0 0 10px 0;
    font-size: 2rem;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 5px rgba(255,255,255,0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(255,255,255,0.8), 0 0 30px rgba(255,255,255,0.6);
    }
}

.boxx p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: normal;
    line-height: 1.5;
}

.terbit p {
    font-weight: 700;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: white;
}

.terbit p::after {
    content: '|';
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

.terbit p.cursor-blink::after {
    animation: blink 0.7s infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: white; }
}

.kotak-container {
    display: flex; 
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.kotak,
.kotak1,
.kotak2 {
    background-color: white;
    padding: 15px 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    width: 10%;
    min-width: 120px;
    margin: 20px 0;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: bounceIn 0.8s ease-out backwards;
}

.kotak {
    animation-delay: 0.7s;
}

.kotak1 {
    animation-delay: 0.85s;
}

.kotak2 {
    animation-delay: 1s;
}

@keyframes bounceIn {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.kotak:hover,
.kotak1:hover,
.kotak2:hover {
    transform: translateY(-15px) scale(1.08) rotate(2deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.kotak:hover p,
.kotak1:hover p,
.kotak2:hover p {
    color: white;
}

.kotak p,
.kotak1 p,
.kotak2 p {
    font-size: 1rem;
    color: black;
    margin: 10px 0;
    transition: color 0.3s ease;
}

.spacer {
    flex: 1;
}

.img {
    display: flex;
    align-items: center;
    animation: slideRight 0.7s ease-out;
}

@keyframes slideRight {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.img img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 18px;
    border: 3px solid white;
}
  
.text h1 {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.2;
    color: blue;
    animation: slideLeft 0.7s ease-out 0.2s backwards;
    transition: all 0.3s ease;
}

@keyframes slideLeft {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.text h1:hover {
    color: #0d47a1;
    transform: scale(1.05);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
    color: #333;
    animation: slideLeft 0.7s ease-out 0.3s backwards;
    transition: all 0.3s ease;
}

.text p:hover {
    color: #0d47a1;
    transform: translateX(5px);
}

.boxbs {
    background-color: #0d47a1;
    color: white;
    padding: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    box-sizing: border-box;
    margin-top: 0;
    animation: slideDownSmooth 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s backwards;
    position: relative;
}

@keyframes slideDownSmooth {
    from {
        transform: translateY(-120px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.boxbs::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.boxbs h1 {
    margin: 0 0 5px 0;
    font-size: 3rem;
    animation: scaleIn 0.6s ease-out 0.5s backwards;
    transition: transform 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.boxbs h1:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(255,255,255,0.8);
}

.boxbs p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
    animation: fadeIn 0.8s ease-out 0.6s backwards;
}

.masa p {
    margin-top: 15px; 
    margin-bottom: 0;
    font-weight: 200;
    font-size: 1rem;
    color: white;
    animation: fadeInUp 0.8s ease-out 0.7s backwards;
}

.masa1 p {
    margin-top: 2px;
    margin-bottom: 0;
    font-weight: 200;
    color: white;
    font-size: 1rem;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

button {
  padding: 1.3em 3em;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #000;
  background-color: rgba(255, 255, 255, 0.726);
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before {
    width: 300px;
    height: 300px;
}

button:hover {
  background-color: #3323c4;
  box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
  color: #fff;
  transform: scale(1.05);
  animation: none;
}

button:active {
  transform: translateY(-1px) scale(0.98);
  background-color: #584bd1;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 768px) {
    .box {
        padding: 1px 15px;
        animation: slideDown 0.6s ease-out;
    }
    
    .img {
        animation: slideRight 0.7s ease-out;
    }
    
    .img img {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
    
    .text h1 {
        font-size: 1.3rem;
        animation: slideLeft 0.7s ease-out 0.2s backwards;
    }
    
    .text p {
        font-size: 0.9rem;
        animation: slideLeft 0.7s ease-out 0.3s backwards;
    }
    
    .boxbs {
        padding: 60px 20px;
        animation: slideDownSmooth 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s backwards;
    }
    
    .boxbs h1 {
        font-size: 2.5rem;
        animation: scaleIn 0.6s ease-out 0.5s backwards;
    }
    
    .boxbs p {
        font-size: 1.1rem;
        animation: fadeIn 0.8s ease-out 0.6s backwards;
    }
    
    .masa p {
        font-size: 0.9rem;
        animation: fadeInUp 0.8s ease-out 0.7s backwards;
    }
    
    .masa1 p {
        font-size: 0.9rem;
        animation: fadeInUp 0.8s ease-out 0.8s backwards;
    }
    
    button {
        padding: 1.2em 2.5em;
        font-size: 11px;
    }
    
    .kotak,
    .kotak1,
    .kotak2 {
        width: 25%;
    }
    
    .kotak {
        animation: bounceIn 0.8s ease-out 0.7s backwards;
    }
    
    .kotak1 {
        animation: bounceIn 0.8s ease-out 0.85s backwards;
    }
    
    .kotak2 {
        animation: bounceIn 0.8s ease-out 1s backwards;
    }
    
    .kotak-container {
        animation: fadeInUp 1s ease-out 0.6s backwards;
    }
    
    .boxx {
        animation: fadeInUp 1s ease-out 0.8s backwards;
    }
    
    .boxx h1 {
        animation: textGlow 2s ease-in-out infinite alternate;
    }
}

@media (max-width: 480px) {
    .box {
        padding: 15px 10px;
        flex-direction: column;
        align-items: flex-start;
        animation: slideDown 0.6s ease-out;
    }
    
    .img {
        width: 100%;
        justify-content: center;
        animation: slideRight 0.7s ease-out;
    }
    
    .img img {
        width: 45px;
        height: 45px;
        margin-right: 10px;
    }
    
    .text {
        text-align: center;
    }
    
    .text h1 {
        font-size: 1.2rem;
        animation: slideLeft 0.7s ease-out 0.2s backwards;
    }
    
    .text p {
        font-size: 0.85rem;
        animation: slideLeft 0.7s ease-out 0.3s backwards;
    }
    
    .spacer {
        display: none;
    }
    
    .boxbs {
        padding: 40px 15px;
        animation: slideDownSmooth 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s backwards;
    }
    
    .boxbs h1 {
        font-size: 2rem;
        text-align: center;
        animation: scaleIn 0.6s ease-out 0.5s backwards;
    }
    
    .boxbs p {
        font-size: 1rem;
        text-align: center;
        animation: fadeIn 0.8s ease-out 0.6s backwards;
    }
    
    .masa p {
        font-size: 0.85rem;
        text-align: center;
        animation: fadeInUp 0.8s ease-out 0.7s backwards;
    }
    
    .masa1 p {
        font-size: 0.85rem;
        text-align: center;
        animation: fadeInUp 0.8s ease-out 0.8s backwards;
    }
    
    button {
        padding: 1.1em 2em;
        font-size: 10px;
        width: 100%;
        max-width: 250px;
    }
    
    .kotak-container {
        flex-direction: column;
        align-items: center;
        animation: fadeInUp 1s ease-out 0.6s backwards;
    }
    
    .kotak,
    .kotak1,
    .kotak2 {
        width: 80%;
        margin: 10px 0;
    }
    
    .kotak {
        animation: bounceIn 0.8s ease-out 0.7s backwards;
    }
    
    .kotak1 {
        animation: bounceIn 0.8s ease-out 0.85s backwards;
    }
    
    .kotak2 {
        animation: bounceIn 0.8s ease-out 1s backwards;
    }
    
    .boxx {
        padding: 40px 15px;
        animation: fadeInUp 1s ease-out 0.8s backwards;
    }
    
    .boxx h1 {
        font-size: 1.8rem;
        animation: textGlow 2s ease-in-out infinite alternate;
    }
    
    .boxx p {
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    .box {
        padding: 10px 8px;
        animation: slideDown 0.6s ease-out;
    }
    
    .img {
        animation: slideRight 0.7s ease-out;
    }
    
    .img img {
        width: 40px;
        height: 40px;
        margin-right: 8px;
    }
    
    .text h1 {
        font-size: 1.1rem;
        animation: slideLeft 0.7s ease-out 0.2s backwards;
    }
    
    .text p {
        font-size: 0.8rem;
        animation: slideLeft 0.7s ease-out 0.3s backwards;
    }
    
    .boxbs {
        padding: 30px 10px;
        animation: slideDownSmooth 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s backwards;
    }
    
    .boxbs h1 {
        font-size: 1.8rem;
        animation: scaleIn 0.6s ease-out 0.5s backwards;
    }
    
    .boxbs p {
        font-size: 0.9rem;
        animation: fadeIn 0.8s ease-out 0.6s backwards;
    }
    
    .masa p {
        font-size: 0.8rem;
        animation: fadeInUp 0.8s ease-out 0.7s backwards;
    }
    
    .masa1 p {
        font-size: 0.8rem;
        animation: fadeInUp 0.8s ease-out 0.8s backwards;
    }
    
    button {
        padding: 1em 1.5em;
        font-size: 9px;
        max-width: 200px;
    }
    
    .boxx {
        padding: 30px 10px;
        animation: fadeInUp 1s ease-out 0.8s backwards;
    }
    
    .boxx h1 {
        font-size: 1.5rem;
        animation: textGlow 2s ease-in-out infinite alternate;
    }
    
    .boxx p {
        font-size: 0.8rem;
    }
    
    .kotak-container {
        animation: fadeInUp 1s ease-out 0.6s backwards;
    }
    
    .kotak {
        animation: bounceIn 0.8s ease-out 0.7s backwards;
    }
    
    .kotak1 {
        animation: bounceIn 0.8s ease-out 0.85s backwards;
    }
    
    .kotak2 {
        animation: bounceIn 0.8s ease-out 1s backwards;
    }
}