/* Global Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: #f9f9f9;
}

/* Container Helper */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header / Navigation */
.site-header {
  background: #111;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.brand .logo {
  height: 40px;
  /* Adjust as needed or remove if using text */
}

.main-nav ul {
  list-style: none;
  display: flex;
}

.main-nav ul li {
  margin-left: 25px;
}

.main-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav ul li a:hover {
  color: #f4b400; /* Accent color */
}

/* Hero Section */
.hero {
  height: 60vh;
  background: url('/images/hero-bg.jpg') center center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-overlay {
  background: rgba(0,0,0,0.5); /* Dark overlay on top of the hero image */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  text-align: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn-primary {
  background: #f4b400;
  color: #111;
}

.btn-primary:hover {
  background: #d19e00;
  color: #fff;
}

.btn-secondary {
  background: #333;
  color: #fff;
}

.btn-secondary:hover {
  background: #555;
}

/* Main Content */
.main-content {
  margin-top: 40px;
  margin-bottom: 40px;
}

.intro-text {
  margin-bottom: 40px;
  background: #fff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.intro-text p {
  margin-bottom: 10px;
}

/* Card Grid Section */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
  padding-bottom: 20px;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card h3 {
  margin: 20px 0 10px 0;
  font-size: 1.2rem;
  color: #111;
}

.card p {
  margin: 0 20px 20px 20px;
  font-size: 1rem;
  color: #555;
}

/* Footer */
.site-footer {
  background: #111;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.footer-container p {
  font-size: 0.9rem;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
  }
  .main-nav ul {
    flex-direction: column;
    margin-top: 10px;
  }
  .main-nav ul li {
    margin: 10px 0;
  }
  .hero {
    height: 50vh;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
}
