/* Base */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f5f5f5;
  color: #1f1f1f;
}

/* Top Bar */
.topbar {
  background: #ffffff;
  padding: 18px 60px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

.main-nav a {
  text-decoration: none;
  color: #1f1f1f;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: #f4c430;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #f4c430;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.hero>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: brightness(0.88);
}

/* Hero Overlay */
.hero-overlay {
  position: absolute;
  bottom: 100px;
  left: 60px;
  background: rgba(255, 255, 255, 0.92);
  padding: 30px 35px;
  max-width: 520px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.28);
  border-left: 6px solid #f4c430;
}

.hero-logo {
  max-height: 140px;
  width: auto;
  max-width: 100%;
  display: block;
}

.hero-overlay h1 {
  margin: 0 0 10px 0;
  font-size: 32px;
  color: #1f1f1f;
}

.hero-overlay p {
  margin: 0;
  font-size: 16px;
  color: #333;
}

/* Content Section */
.container {
  max-width: 1100px;
  margin: 60px auto 80px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 0 24px;
}

.card {
  background: #ffffff;
  padding: 32px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  border-left: 4px solid #f4c430;
}

.card h2 {
  margin-top: 0;
}

.card ul {
  padding-left: 18px;
  line-height: 1.7;
}

/* Links in content */
.card a,
.section a {
  color: #d4a000;
  text-decoration: none;
  font-weight: 600;
}

.card a:hover,
.section a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #1f1f1f;
  color: white;
  text-align: center;
  padding: 18px;
}

.footer a {
  color: #f4c430;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: 360px;
  }

  .hero-overlay {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: none;
  }

  .hero-overlay h1 {
    font-size: 24px;
  }
}

/* Logo */
.logo {
  height: 48px;
  /* perfect for header */
  width: auto;
  display: block;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #f4c430;
}

/* Subpages */
.page-title {
  background: #1f1f1f;
  padding: 60px 24px;
  text-align: center;
}

.page-title h1 {
  margin: 0;
  color: #fff;
  font-size: 32px;
  font-weight: 600;
}

.section {
  max-width: 800px;
  margin: -30px auto 60px auto;
  position: relative;
  background: #ffffff;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #f4c430;
  line-height: 1.8;
  color: #444;
}

.section h3 {
  color: #1f1f1f;
  margin-top: 30px;
  margin-bottom: 12px;
}