@font-face {
  font-family: NovaSquare; /* set name */
  src: url(NovaSquare.ttf); /* url of the font */
}
body {
  font-family: 'NovaSquare', sans-serif;
}
/* Base layout */
:root {
  --malaysia-blue: #012b7b;
  --malaysia-red: #cc0000;
  --malaysia-yellow: #ffd700;
  --malaysia-white: #ffffff;
  --body-bg: #f5f7fb;
  --text-main: #222222;
  --text-muted: #555555;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--body-bg);
  color: var(--text-main);
  line-height: 1.6;
}

/* Malaysia flag header using flag.png */
header {
  width: 100%;
  height: 260px;
  background: url("flag.png") center center no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 2rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}


header p {
  margin: 0.75rem 0 0;
  max-width: 600px;
  font-size: 1rem;
}

/* Navigation */
nav {
  background: var(--malaysia-blue);
  color: var(--malaysia-white);
  padding: 0.5rem 1.5rem;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

nav a {
  color: var(--malaysia-white);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.1s ease;
}

nav a:hover {
  background: rgba(255, 215, 0, 0.2);
  transform: translateY(-1px);
}

/* Main content */
main {
  max-width: 960px;
  margin: 2rem auto 3rem;
  padding: 0 1.5rem;
}

/* Section cards with subtle batik-like pattern */
.section-card {
  background: var(--malaysia-white);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.section-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background-image:
    radial-gradient(circle at 0 0, rgba(255, 215, 0, 0.08) 0, transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(1, 43, 123, 0.06) 0, transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.section-card h2 {
  position: relative;
  margin-top: 0;
  font-size: 1.4rem;
  color: var(--malaysia-blue);
}

.section-card p,
.section-card ul {
  position: relative;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.section-card ul {
  padding-left: 1.1rem;
}

/* Accent tags / labels */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(204, 0, 0, 0.08);
  color: var(--malaysia-red);
}

/* Highlighted info blocks */
.info-highlight {
  border-left: 4px solid var(--malaysia-yellow);
  padding-left: 0.75rem;
  margin: 0.75rem 0;
  font-size: 0.95rem;
}

/* Simple responsive image styling */
img.flag,
img.landmark {
  max-width: 100%;
  border-radius: 10px;
  display: block;
  margin: 1rem auto;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* Footer */
footer {
  background: var(--malaysia-blue);
  color: var(--malaysia-white);
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
}

/* Small screens */
@media (max-width: 600px) {
  header {
    padding: 2rem 1.25rem 2.5rem;
  }

  header::before,
  header::after {
    transform: scale(0.8);
  }

  nav ul {
    gap: 0.4rem;
  }

  .section-card {
    padding: 1.25rem 1.3rem;
  }
}