* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f4fff4;
  color: #333;
}

/* === Header === */
header {
  background-color: white;
  color: #228B22;
  padding: 20px 0;
  text-align: center;
}

header .logo,
header h1,
header a {
  color: #228B22;
}


header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.logo {
  width: 150px;
  height: auto;
  margin-right: 15px;
}

/* === Hero Section === */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: #e0f7df;
}

.hero h1 {
  font-size: 2.5rem;
  color: #228B22;
}

.hero p {
  font-size: 1.2rem;
}

.hero button {
  margin-top: 20px;
}

/* === Buttons (Universal Styling) === */
button,
input[type="submit"],
input[type="button"] {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background-color: #0056b3;
}

/* === Footer === */
footer {
  background: #007bff; !important;
  color: white;
  text-align: center;
  padding: 15px 0;
}

/* === Responsive Styles === */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }

  header .container {
    flex-direction: column;
  }

  .logo {
    margin-bottom: 10px;
  }
}

/* === Dynamic Content === */
.dynamic-content {
  padding: 40px 20px;
  text-align: center;
}

.dynamic-content h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.card {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
}

.card h3 {
  margin-top: 0;
  color: #228B22;
}

.card p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.card img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

/* === Navbar === */
.navbar {
  background-color: white;
  color: #228B22;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  position: relative;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #228B22;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: #228B22;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #007bff;
}

/* Hamburger toggle */
#menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* === Responsive Navbar === */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    background-color: white;
    width: 100%;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in;
  }

  #menu-toggle:checked + .hamburger + .nav-links {
    max-height: 300px;
  }

  .hamburger {
    display: block;
  }
}

html {
  scroll-behavior: smooth;
}

/* === Gallery Styles === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* === Footer === */
footer {
  background-color: #007bff !important;
  color: white;
  padding: 15px;
  text-align: center;
  margin-top: 10px;
}