* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Background and Typography */
  body {
    background-color: #EDEAE1; /* Creamy background */
    font-family: 'Arial', sans-serif;
    color: #333;
  }
  
  
  header {
    background-color: #002855 !important; /* Creamy background */
    color: #333 !important;               /* Dark text for readability */
    border-bottom: 4px solid #CC7700;
  }
  
  /* Update menu item text colors */
  .desktop-menu ul li a {
    color: #EDEAE1 !important;
  }
  
  .desktop-menu ul li a.active {
    color: #CC7700 !important;
    font-weight: bold;
    pointer-events: none; /* Optional: prevents clicking on current page */
  }
  
  /* Optional: Stop hover from overriding active */
  .desktop-menu ul li a:hover:not(.active) {
    color: #CC7700 !important;
  }
  
  
  /* Breadcrumb styling */
  .breadcrumb {
    font-size: 14px;
    padding: 15px 40px;
    background-color: #EDEAE1;
    color: #555;
    text-align: left;
  }
  
  .breadcrumb a {
    color: #002855;
    text-decoration: none;
    font-weight: 500;
  }
  
  .breadcrumb a:hover {
    text-decoration: underline;
  }
  
  /* Optional: Responsive font-size */
@media (max-width: 480px) {
  .breadcrumb {
    font-size: 13px;
    padding: 10px 15px;
  }
}

  /* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), /* Dark semi-transparent overlay */
                      url('../submenu/game-images/hero-section.png'); /* Path to your image */
    background-size: cover;
    background-position: lower center;
    background-repeat: no-repeat;
    background-color: #0a1a2e; /* Dark techy blue */
    position: relative;
    padding: 80px 40px;
    color: #ffffff;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
  }
  
  
  /* Content Centering */
  .hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
  }
  
  .hero-text {
    flex: 1;
    max-width: 500px;  
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 700;
    color: white; /* Dark blue for title */
  }
  
  .hero-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #CC7700; /* Gold color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }
  
  /* Topic card styling */
  .topic-grid {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  
  /* Topic card */
  .topic-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 180px;
    text-align: center;
    text-decoration: none;
    color: #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* Hover effect */
  .topic-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  /* Card icon */
  .topic-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }
  
  /* Card title */
  .topic-card h2 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
  }
  
  /* Responsive design */
 /* Tablets and smaller screens */
@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
    background-position: center center;
  }

  .hero-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .topic-card {
    width: 140px;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .hero {
    padding: 30px 15px;
    background-repeat: repeat; /* If you want repeat on mobile */
  }

  .hero-content {
    gap: 20px;
  }

  .topic-grid {
    flex-direction: column;
    align-items: center;
  }

  .topic-card {
    width: 100%;
    max-width: 280px;
  }
}



  /* Meta Section Container */
/* Meta Section Styles */
.meta-section {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 4rem; /* slightly reduced */
}

.meta-section .section-title {
  font-size: 1.8rem; /* slightly smaller */
  font-weight: bold;
  text-align: center;
  margin-bottom: 16px; /* slightly reduced */
  color: #333;
}

.meta-section .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* smaller card width */
  gap: 16px; /* tighter gap */
  padding: 8px;
}

/* Meta Card Styles */
.meta-card {
  background-color: #fff;
  border-radius: 6px; /* slightly smaller radius */
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.meta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.meta-card img {
  width: 100%;
  height: 180px; /* fixed height for uniform look */
  object-fit: cover;
  border-bottom: 1px solid #ddd;
}

.meta-card-content {
  padding: 15px; /* tighter padding */
}

.meta-card-content h3 {
  font-size: 1.1rem;
  color: #007bff;
  margin: 8px 0;
  font-weight: bold;
  text-align: left;
  text-decoration: underline;
  margin-bottom: 20px; /* less bottom margin */
}

.meta-card-content h2 {
  font-size: 1.1rem;
  color: #333;
  font-weight: bold;
  margin: 8px 0;
}

.meta-card-content p {
  font-size: 0.95rem; /* slightly smaller */
  color: #666;
  line-height: 1.4;
  margin-bottom: 10px;
}

.meta-card-content .read-more {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 6px 12px; /* smaller button */
  margin-top: 0.8rem;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}

.meta-card-content .read-more:hover {
  text-decoration: underline;
  background-color: #0056b3;
}

/* Tablets and smaller screens */
@media (max-width: 768px) {
  .meta-section {
    padding: 1.5rem 1rem;
    margin-top: 3rem;
  }
  .meta-section .section-title {
    font-size: 1.6rem;
  }
  .meta-section .grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    padding: 4px;
  }
  .meta-card img {
    height: 150px;
  }
  .meta-card-content h3,
  .meta-card-content h2 {
    font-size: 1rem;
  }
  .meta-card-content p {
    font-size: 0.9rem;
  }
  .meta-card-content .read-more {
    font-size: 0.85rem;
    padding: 5px 10px;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .meta-section {
    padding: 1rem 0.5rem;
    margin-top: 2rem;
  }
  .meta-section .section-title {
    font-size: 1.4rem;
  }
  .meta-section .grid {
    grid-template-columns: 1fr; /* single column for mobile */
    gap: 10px;
    padding: 0;
  }
  .meta-card img {
    height: 130px;
  }
  .meta-card-content {
    padding: 12px 10px;
  }
  .meta-card-content h3,
  .meta-card-content h2 {
    font-size: 0.95rem;
  }
  .meta-card-content p {
    font-size: 0.85rem;
  }
  .meta-card-content .read-more {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
}


