:root {
  --primary: #003A79;
  --secondary: #f4b400;
  --light: #f7f9fc;
  --dark: #222;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

p{
  font-size: 1.2rem;
  /* color: var(--primary); */
}

li{
  list-style-type: none;
}

h2{
  color: var(--primary);
  font-size: 2rem;
}

html, body {
  overflow-x: hidden;
}


body {
  color: var(--dark);
  line-height: 1.6;
  /* display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; */
}

img {
  width: 100%;
  display: block;
  /* border-radius: 12px; */
}

/* Layout */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-muted {
  background: #f6f6f6;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
}

/* Hero */
.hero {
  display: flex;
  /* min-height: 100vh; */
  width: 100%;
  display: flex;
  padding: 10px 0 50px 0;
  /* align-items: center; */
  justify-content: center;
}

.hero-cover {
  position: relative;
  inset: 0;
  background: url("assets/hero.jpg") center/cover no-repeat;
  width: 95vw;
  height: 50vh;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: #003A79;
  background: linear-gradient(180deg,rgba(0, 58, 121, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-content {
  position: relative;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  padding: 50px 0px 0px 0px;
  text-align: center;

}

.logo{
  width: 70px;
  /* margin-bottom: 0px; */
}

.hero h1 {
  font-size: 3rem;
  /* margin: 5px 0; */
}


/* card pendaftaran */
.grid-2{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.card{
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0px 3px rgba(0,0,0,0.5);
    margin: 20px 0;
}


@media (max-width: 900px) {
  .hero{
    padding-top: 0;
  }
    .hero h1 {
    font-size: 2.5rem;
  }
  .hero-cover {
    width: 100%;
    border-radius: 0 0 15px 15px;
  }
  .grid-2 { grid-template-columns: 1fr; }
}