* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}


/* Main Blog Container */
.blog {
  display: flex;
  max-width: 98%;
  margin: 2rem;
  background: #120821;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Image Section */

.blog-image img {
  width: 80%;
  height: 80%;
  object-fit: cover;

}

/* Content Section */
.blog-content {
  width: 100%;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* 🔥 Responsive Design */
@media (max-width: 768px) {
  .blog {
    flex-direction: column;
  }

  .blog-image,
  .blog-content {
    width: 100%;
  }

  .blog-image img {
    height: 250px;
  }

  .blog-content {
    padding: 15px;
  }
}

 .blog-content {
    margin: 0.5vh;
    padding: 2vh;
    height: auto;
    box-shadow: 0px 30px 20px rgba(0, 10, 10, 0.1);
    border-radius: 8px;
}
.blog-content .title {
    margin: 0;
}

.blog-content .author {
    margin: 0;
    color: gray;
}
.blog-content .date {
    margin: 2px 0 2px 0;
}
.blog-content .conten {
    font-family: Arial, Helvetica, sans-serif;
}
#pagination-button {
    display: flex;
    justify-content: center;
    padding: 0 0 10vh 0;
} 
#pagination-button button {
    background: #D4AF37;
      color: white;
      border: none;
      padding: 10px 15px;
      border-radius: 2px;
      cursor: pointer;
      transition: 0.3s;
      margin: 3px;
}
/* --- BLOG CARD --- */
/*    
 #blog {
      margin: 6vh 3vh 0 3vh;
      border-radius: 15px;

      margin-bottom: 40px;
      overflow: hidden;
      transition: 0.3s;
      color: #fff;
    }
    .blog-content h2 {
      margin-bottom: 10px;
      color: #fff;
    }

    .blog-content p {
      color: #fff;
      margin: 15px;
    }

    /* --- BUTTON & ICONS 

    .comment-section button {
      background: #D4AF37;
      color: white;
      border: none;
      padding: 10px 15px;
      border-radius: 8px;
      cursor: pointer;
      transition: 0.3s;
    }

    .comment-section button:hover {
      background: #c1a95c;
    } */
.navbar {
  background: #120821;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  position: sticky;
  top: 5px;
  z-index: 10;
}
.logo {
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: white;
  padding: 10px 15px;
  display: block;
  transition: 0.3s;
}

.nav-links a:hover {
  background: #F5D98E;
  border-radius: 5px;
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  color: white;
  top: 45px;
  left: 0;
  background: #1F2A38;
  min-width: 160px;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 999;
}
.dropdown-content li {
  list-style: none;
}

.dropdown-content li a {
  padding: 10px 15px;
}

.dropdown-content li a:hover {
  background: #F5D98E;
  cursor: pointer;

}

/* Show dropdown */
.dropdown.active .dropdown-content {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hamburger menu (hidden on desktop) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 25px;
  background: #fff;
  margin: 4px 0;
  transition: 0.3s;
}
