* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background: #fdfdfd;
  color: #333;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: #0077cc;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.main-container {
   display: grid;
   padding: 40px 20px;
}
.section {
  padding-top: 50px;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}


.logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #28a745;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  font-weight: 500;
  color: #333;
}

.main-nav a:hover {
  color: #28a745;
}


.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
   background: #333;
  border-radius: 2px;
}


.hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding: 1rem 0;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-text p {
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background: #28a745;
  color: white;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn:hover {
  background: #218838;
}

.hero-image {
  flex: 1;
  min-width: 300px;
}


.ad-box {
  background: #f1f1f1;
  border: 1px dashed #aaa;
  text-align: center;
  padding: 2rem;
  font-size: 1.1rem;
  color: #777;
}

.ad-box.small {
  padding: 1rem;
}

.latest {
  padding: 20px 0; 
  text-align: center;
  margin: 0 auto;
  max-width: 1200px;
}

.latest h2 {
 font-size: 1.8rem;
 margin-bottom: 1.5rem;
 color: #28a745;
  
}

.latest .grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  justify-content: center;
  justify-items: center;
}

.latest .card {
  background: white;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  text-align: left;
}

.latest .card img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.latest .card time {
  display: block;
  color: #777;
  font-size: 0.85rem;
  margin: 0.8rem 1rem 0.3rem;
  margin: 0.8rem 1rem 0.3rem;
}

.latest .card h3 {
  margin: 0.5rem 1rem;
  font-size: 1.2rem;
}

.latest .card p {
  font-size: 0.95rem;
  margin: 0.5rem 1rem 1rem;
}

.latest .card .read-more {
  display: inline-block;
  margin: 0 1rem 1rem;
  font-weight: 500;
  color: #28a745;
}

.latest .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}


.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.3s;
  text-align: center;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card time {
  display: block;
  color: #777;
  font-size: 0.85rem;
  margin: 0.5rem 0;
}

.card h3 {
  padding-top: 20px;
}

.card p {
  font-size: 15px;
  padding: 12px;
}

.card a {
  color: #28a745;
  font-weight: 500;
}

.card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}


.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.widget {
  padding: 1rem;
}

.widget h4 {
  margin-bottom: 1rem;
  color: #28a745;
}

.widget ul {
  list-style: none;
}

.widget ul li {
  margin-bottom: 0.5rem;
}

.widget ul li a {
  color: #333;
}

.widget ul li a:hover {
  color: #28a745;
}


.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}


/* ====== FOOTER ====== */
.site-footer {
  background: #222;
  color: #ccc;
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.footer-grid h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 0.5rem;
}

.footer-grid a {
  color: #ccc;
}

.footer-grid a:hover {
  color: white;
}

.copyright {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-200%);
    transition: transform 0.3s ease-in-out;
    width: 200px;
  }

  .main-nav a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }
  .main-nav.active {
    transform: translateY(0);
  }

  .hamburger {
    display: flex;
  }
}
