* {
  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/tool-image/tool-verse-hero.png'); /* Background image */
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  background-color: #0a1a2e; /* Dark techy blue */
  position: relative;
  padding: 40px 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;
  
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: orange; /* 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;
}

/* Tablets */
@media (max-width: 768px) {
  .hero {
    padding: 30px 20px;
    background-position: center center;
    background-size: cover;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .topic-card {
    width: 140px;
    padding: 16px;
  }

  .topic-card img {
    width: 40px;
    height: 40px;
  }

  .topic-card h2 {
    font-size: 1rem;
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  .hero {
    padding: 20px 15px;
    background-position: center center;
    background-size: cover;
    border-radius: 15px;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .topic-grid {
    justify-content: center;
    gap: 15px;
  }

  .topic-card {
    width: 100%;
    max-width: 280px;
    padding: 15px;
  }

  .topic-card img {
    width: 35px;
    height: 35px;
  }

  .topic-card h2 {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .hero {
    background-repeat: repeat;
    background-size: contain;
  }
}

/* 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;
}

/* Responsive Styles */

/* Tablets */
@media (max-width: 768px) {
  .meta-section {
    padding: 1.5rem 1rem;
    max-width: 100%;
    margin-top: 3rem;
  }

  .meta-section .section-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .meta-section .grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    padding: 6px;
  }

  .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 {
    padding: 5px 10px;
    font-size: 0.85rem;
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  .meta-section {
    padding: 1rem 0.5rem;
    margin-top: 2rem;
  }

  .meta-section .section-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .meta-section .grid {
    grid-template-columns: 1fr; /* single column */
    gap: 10px;
    padding: 4px;
  }

  .meta-card img {
    height: 130px;
  }

  .meta-card-content {
    padding: 12px;
  }

  .meta-card-content h3,
  .meta-card-content h2 {
    font-size: 0.95rem;
  }

  .meta-card-content p {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .meta-card-content .read-more {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
}
  
  /* 🔹 Suggest a Tool Section */
  .suggest-tool-section {
  background-color: #f9f5ec;
  color: #002855;
  padding: 40px 20px;
  text-align: center;
}

.suggest-tool-section .section-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.suggest-tool-section .section-subtitle {
  font-size: 16px;
  line-height: 1.6;
}

.suggest-tool-section .contact-link {
  display: inline-block;
  margin-top: 15px;
  color: #cc7700;
  font-weight: bold;
  text-decoration: none;
}

.suggest-tool-section .contact-link:hover {
  text-decoration: underline;
  color: #f39c12;
}

/* Responsive Styles */

/* Tablets */
@media (max-width: 768px) {
  .suggest-tool-section {
    padding: 30px 15px;
  }
  .suggest-tool-section .section-title {
    font-size: 20px;
  }
  .suggest-tool-section .section-subtitle {
    font-size: 14px;
  }
  .suggest-tool-section .contact-link {
    font-size: 14px;
    margin-top: 12px;
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  .suggest-tool-section {
    padding: 25px 10px;
  }
  .suggest-tool-section .section-title {
    font-size: 18px;
  }
  .suggest-tool-section .section-subtitle {
    font-size: 13px;
  }
  .suggest-tool-section .contact-link {
    font-size: 13px;
    margin-top: 10px;
  }
}