body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: #c40000;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-container img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 4px;
}

.logo-text {
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

@media (min-width: 768px) {
  .logo-container img { width: 50px; height: 50px; }
  .logo-text { font-size: 24px; }
}

.logo {
  font-weight: 700;
  font-size: 20px;
}

.hamburger {
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: .3s;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: #f5f5f5;
  box-shadow: -2px 0 10px rgba(0, 0, 0, .3);
  transition: right .3s ease;
  z-index: 1000;
  overflow-y: auto;
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  background: red;
  color: #fff;
  padding: 25px 20px;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.sidebar-menu {
  padding: 10px 0;
}

.sidebar-menu h3 {
  margin: 0;
  padding: 15px 20px 10px;
  font-size: 16px;
  color: #333;
  border-bottom: 1px solid #ddd;
}

.sidebar-menu a {
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid #eee;
  transition: background .2s;
}

.sidebar-menu a:hover {
  background: #e0e0e0;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5);
  z-index: 999;
  display: none;
}

.overlay.active {
  display: block;
}

/* Hero Section */
.hero {
  padding: 30px 15px;
  text-align: center;
}

.hero h1 {
  font-size: 24px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 15px;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  background: #c40000;
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 18px;
  margin: 8px 5px;
  font-size: 14px;
  font-weight: 700;
}

/* Section */
.section {
  padding: 30px 15px;
}

.section h2 {
  text-align: center;
  color: #c40000;
  font-size: 20px;
  margin-bottom: 15px;
}

.card {
  border: 1px solid #eee;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 5px;
  background: #f9f9f9;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background: #fff;
}

table, th, td {
  border: 1px solid #ddd;
}

th, td {
  padding: 10px;
  text-align: left;
  font-size: 14px;
}

th {
  background: #c40000;
  color: #fff;
}

tr:hover {
  background: #f5f5f5;
}

.section h3 {
  color: #333;
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 8px;
}

/* Footer */
.footer {
  background: #111;
  color: #fff;
  padding: 40px 15px;
  font-size: 13px;
}

.footer h3 {
  color: #ff4d4d;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer li {
  margin-bottom: 8px;
}

/* Responsive */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .logo {
    font-size: 24px;
  }
}
 
.images {
  display: block;
  margin: 20px auto;
  max-width: 360px;
  width: 100%;
  border-radius: 30px;
  padding: 20px;
}


/* Blogs Page Tables - Perfect Styling */
.blogs-page table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.blogs-page th {
    background: linear-gradient(135deg, red, #c40000);
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    border: none;
}

.blogs-page td {
    padding: 15px 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    line-height: 1.5;
}

.blogs-page tbody tr {
    transition: background-color 0.2s ease;
}

.blogs-page tbody tr:hover {
    background-color: #f8f9fa;
}

.blogs-page tbody tr:nth-child(even) {
    background-color: #fafbff;
}

.blogs-page a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.blogs-page a:hover {
    color: red;
    text-decoration: underline;
}

@media (max-width: 480px) {
  .images { max-width: 340px; padding: 18px; }
}