/* =====================
   GENERAL RESET
===================== */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:Arial,sans-serif; line-height:1.6; color:#333; background:#fafafa; }
a { text-decoration:none; color:inherit; }

/* =====================
   HEADER / NAVIGATION
===================== */
header {
  background:#333;
  color:#fff;
  position:sticky;
  top:0;
  z-index:1000;
}
nav .logo a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

nav .logo a:hover {
  color: #f0a500; /* optional hover effect */
}

.hero-content {
  text-align: center;   /* centers both heading and paragraph */
  padding: 50px 20px;   /* optional spacing */
  color: #fff;          /* if background is dark */
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;    /* optional: limits width for readability */
  margin: 0 auto;      /* centers paragraph block */
}

nav {
  display:flex;
  justify-content:space-between;
  align-items:center;
  justify-content: center;
  padding:10px 20px;
  position:relative;
}
nav .logo {
  font-size:1.5rem;
  font-weight:bold;
}
nav ul {
  display:flex;
  gap:15px;
  list-style:none;
}
nav ul li a {
  padding:5px 10px;
  transition:0.3s;
}
nav ul li a:hover,
nav ul li a.active {
  background:#f0a500;
  color:#fff;
  border-radius:5px;
}
nav .hamburger {
  display:none;
  flex-direction:column;
  gap:4px;
  cursor:pointer;
}
nav .hamburger span {
  width:25px;
  height:3px;
  background:#fff;
  border-radius:2px;
}

/* =====================
   MOBILE MENU
===================== */
@media(max-width:768px) {
  nav .hamburger {
    display:flex;
  }
  nav ul {
    display:flex;
    flex-direction:column;
    align-items:center;
    background:#333;
    width:100%;
    position:absolute;
    top:60px;
    left:0;
    overflow:hidden;
    max-height:0;
    transition:max-height 0.3s ease-in-out;
  }
  nav ul.active {
    max-height:500px;
  }
  nav ul li {
    padding:10px 0;
    width:100%;
    text-align:center;
  }
}

/* =====================
   HERO SECTION
===================== */
.hero {
  background:#f0a500;
  color:#fff;
  text-align:center;
  padding:5px 20px;
}
.hero h1 {
  font-size:2.5rem;
  margin-bottom:20px;
}
.hero p {
  font-size:1.2rem;
  margin-bottom:30px;
}
.hero .btn {
  background:#333;
  color:#fff;
  padding:10px 20px;
  border-radius:5px;
  transition:0.3s;
}
.hero .btn:hover {
  background:#222;
}

/* =====================
   BLOG LIST GRID
===================== */
.blog-section {
  padding:60px 20px;
  text-align:center;
}
.blog-section h2 {
  font-size:2rem;
  margin-bottom:30px;
}
.blog-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  max-width:1200px;
  margin:0 auto;
}
.blog-card {
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  cursor:pointer;
  transition:0.3s;
  transform:translateY(3px);
 
}
.blog-card.visible {
  transform:translateY(0);
  opacity:1;
}
.blog-card:hover {
  transform:translateY(-5px);
  box-shadow:0 10px 20px rgba(0,0,0,0.1);
}
.blog-card img {
  width:100%;
  height:180px;
  object-fit:cover;
  transition:transform 0.3s;
}
.blog-card:hover img {
  transform:scale(1.05);
}
.blog-content {
  padding:15px;
}
.blog-title {
  font-weight:bold;
  margin-bottom:8px;
  font-size:1.2rem;
  color: black;
}
.blog-excerpt {
  font-size:0.95rem;
  color:#555;
  line-height:1.4;
  max-height:50px;
  overflow:hidden;
  transition:max-height 0.3s;
}
.blog-card:hover .blog-excerpt {
  max-height:150px;
}
.blog-meta {
  font-size:0.85rem;
  color:#888;
}

/* =====================
   PAGINATION
===================== */
.pagination {
  display:flex;
  justify-content:center;
  margin:30px 0;
  gap:10px;
}
.pagination button {
  padding:8px 12px;
  border:none;
  background:#fff;
  border-radius:5px;
  cursor:pointer;
  transition:0.3s;
}
.pagination button:hover,
.pagination button.active {
  background:#333;
  color:#fff;
}

/* =====================
   BLOG DETAIL PAGE
===================== */
.container {
  max-width:900px;
  margin:20px auto;
  background:#fff;
  border-radius:10px;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
  overflow:hidden;
  padding:20px;
}

.blog {
  text-align:center;
}

.blog .ad-banner {
  background:#eee;
  color:#444;
  font-size:0.9rem;
  padding:10px;
  margin-bottom:20px;
  border-radius:6px;
}

/* .blog .blog-image {
  width:100%;
  height: auto;
  border-radius:10px;
  margin-bottom:20px;
} */

.blog-actions {
  display: flex;
  justify-content: space-between; /* push items to left and right */
  align-items: center;
  margin-top: 20px;
}

.blog-actions .read-more,
.blog-actions .back-link {
  margin: 0;
}

.blog .blog-image {
  display:block;
  max-width:400px;     /* limit width but keep full resolution */
  width:100%;
  height:auto;
  margin:0 auto 20px;  /* center the image */
  border-radius:10px;
  object-fit:cover;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

/* Optional: make smaller on mobile */
@media(max-width:480px){
  .blog .blog-image {
    max-width:100%;
  }
}


.blog .blog-content {
  text-align:left;
}

.blog .blog-title {
  font-size:1.8rem;
  margin-bottom:10px;
}

.blog .blog-meta {
  color:#777;
  font-size:0.9rem;
  margin-bottom:15px;
}

.blog .blog-body {
  font-size:1rem;
  color:#444;
  line-height:1.7;
  margin-bottom:20px;
}

.read-more {
  background:#f0a500;
  color:#fff;
  border:none;
  padding:10px 20px;
  border-radius:5px;
  cursor:pointer;
  transition:0.3s;
  font-weight:bold;
}
.read-more:hover {
  background:#333;
}

.back-link {
  display:inline-block;
  margin-top:15px;
  color:#f0a500;
  font-weight:bold;
  transition:0.3s;
}
.back-link:hover {
  color:#333;
}

/* =====================
   FOOTER
===================== */
footer {
  background:#333;
  color:#fff;
  text-align:center;
  padding:20px;
}
footer .social {
  margin-top:10px;
}
footer .social a {
  margin:0 5px;
  color:#fff;
  transition:0.3s;
}
footer .social a:hover {
  color:#f0a500;
}

/* =====================
   RESPONSIVE LAYOUTS
===================== */
@media(max-width:1024px) {
  .blog-grid { grid-template-columns:repeat(3,1fr); }
}
@media(max-width:768px) {
  .blog-grid { grid-template-columns:repeat(2,1fr); }
  .container { margin:20px; padding:15px; }
}
@media(max-width:480px) {
  .blog-grid { grid-template-columns:1fr; }
  .hero h1 { font-size:2rem; }
  .blog .blog-title { font-size:1.5rem; }
}





      ul {
            list-style-type: disc;
            margin-left: 20px;
            margin-bottom: 15px;
        }
        ul ul { /* For nested lists */
            list-style-type: circle;
            margin-top: 5px;
        }
        li {
            margin-bottom: 8px;
        }
        strong {
            color: #000;
        }
        a {
            color: #007bff;
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline;
        }
        .highlight {
            background-color: #e6ffe6;
            padding: 10px;
            border-left: 4px solid #4CAF50;
            margin-bottom: 20px;
        }
        .highlight p {
            margin-bottom: 0; /* Remove extra margin for paragraphs inside highlight */
        }
        
        
        
        
        
        
.ad-container {
  display: flex;          /* use flexbox to center content */
  justify-content: center; /* horizontally center */
  align-items: center;     /* vertically center */
  min-height: 90px;
  max-width: 900px;
  margin: 6px auto;
}

.ad-img img {
  max-width: 100%; /* make image responsive */
  height: auto;    /* maintain aspect ratio */
  display: block;  /* remove inline spacing */
}







    
     .post-imaages{
     
      margin: 40px auto;
      padding: 0 10px;
    }
    



    .post-imaages img  {
      display: block;
      margin: 20px auto;
      max-width: 60%;
 
  width:100%;
  height:auto;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

   