@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');
@import url('https://fonts.cdnfonts.com/css/bomber-balloon');

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Bomber Ballon', sans-serif;
  background: #55abe5;
  color: #222;
}

/* 🔄 LOADING SCREEN */
#loading-screen {
  background-color: white;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.logo-container {
  width: 250px;
  height: 250px;
  position: relative;
  animation: bounce 2.5s infinite ease-in-out, scaleUp 3.5s ease-out forwards;
  transform: scale(0);
}
.breka-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: flash 1s infinite;
}
@keyframes flash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
@keyframes scaleUp {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.hidden {
  display: none;
}

/* ✅ KONTEN UTAMA */
/* 🔄 LOGO HERO */
.logo {
  background-color: #ffffff;
  border-radius: 50%;
  width: 70px;
  height: auto; 
  vertical-align: middle;
  margin-right: 10px;
}

/* 🎯 TOMBOL MENU */
.cta-button {
  display: inline-block;
  padding: 12px 24px;
  margin-top: 20px;
  background-color: #ffffff;   /* putih */
  color: #55abe5;              /* teks biru */
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #FFD321;   /* biru saat hover */
  color: #ffffff;              /* teks putih saat hover */
} 

@media (max-width: 600px) {
  .logo {
    width: 60px;
  }
}
.hero {
  background: #55abe5;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 80px 20px 60px;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}
.hero h1 {
  font-family: 'Bomber Balloon', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 13px;
  gap: 10px;
}
.hero p {
  font-family: 'SourceSans', sans-serif;
  font-size: 1rem;
  margin-bottom: 20px;
}
/* ---------- Styles for 4 Pilar (copy to style.css if needed) ---------- */
:root{
  --breka-blue: #55abe5;
  --breka-dark: #0f1720; /* header text */
  --card-radius: 12px;
  --card-border: rgba(85,171,229,0.45);
}

.pilar-section{
  background: #ffffff;
  padding: 64px 18px;
  font-family: Inter, "Segoe UI", Roboto, sans-serif;
  color: var(--breka-dark);
}

/* container */
.container{
  max-width: 1100px;
  margin: 0 auto;
}

/* header */
.pilar-header{
  text-align: center;
  margin-bottom: 36px;
}
.pilar-header h2{
  font-size: 2.1rem;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.pilar-header p{
  max-width: 760px;
  margin: 0 auto;
  color: #000000;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* grid */
.pilar-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* card */
.pilar-card{
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 20px;
  border-radius: var(--card-radius);
  border: 2px solid var(--card-border);
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(85, 171, 229, 1), rgba(85, 171, 229, 1));
  transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s ease, border-color .28s ease;
  box-shadow: 0 6px 18px rgb(255, 255, 255);
}

/* icon */
.icon-wrap{
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgb(247, 247, 247);
  color: var(--breka-blue);
  flex-shrink: 0;
}
.icon-wrap svg{
  width: 28px;
  height: 28px;
  display: block;
}

/* title + desc */
.pilar-card h3{
  font-size: 1.15rem;
  margin: 0;
  color: var(--breka-white);
}
.pilar-card .desc{
  margin: 0;
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.45;
}

/* hover / focus */
.pilar-card:hover,
.pilar-card:focus{
  transform: translateY(-8px);
  border-color: var(--breka-blue);
  box-shadow: 0 14px 36px rgba(85,171,229,0.12);
  background: linear-gradient(180deg,);
  color: #ffffff;
  outline: none;
}
.pilar-card:hover .icon-wrap,
.pilar-card:focus .icon-wrap{
  background: var(--breka-blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(85,171,229,0.24);
}
.pilar-card:active { transform: translateY(-4px); }

/* responsive */
@media (max-width: 980px){
  .pilar-grid{ grid-template-columns: repeat(2, 1fr); }
  .pilar-header h2{ font-size: 1.9rem; }
}

@media (max-width: 560px){
  .pilar-section{ padding: 48px 14px; }
  .pilar-grid{ grid-template-columns: 1fr; gap: 16px; }
  .pilar-header h2{ font-size: 1.6rem; }
  .pilar-header p{ font-size: 0.98rem; }
  .icon-wrap{ width: 48px; height: 48px; }
}
footer{
      margin-top:40px;padding:36px 24px;background:#161616;color:#fff;border-radius:12px 12px 0 0;
      display:flex;justify-content:center;align-items:center
    }


/* ✨ ANIMASI FADE IN */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
