a, a:visited { color: #000; }

/* Typography */
h1, h2, h3, summary {
  font-family: 'Lora', serif;
  font-weight: 700;
}

h2:hover { transform: translateX(5px); color: #11998e; }
h3 {
  font-size: 1.3rem;
  color: #11998e;
  margin: 1rem 0;
}
h3::before { content: "◆ "; color: #38ef7d; }

p, ul, li, table, details p, details ul {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
}
ul { padding-left: 20px; }
ul li { margin-bottom: 5px; }

/* Decorative Elements */
hr, h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #11998e, #38ef7d);
  border-radius: 2px;
  border: none;
}

/* Table of Contents */
.toc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  justify-content: center;
}
.toc-nav li {
  display: inline;
  font-weight: 500;
}
.toc-nav li::after {
  content: "|";
  margin-left: 0.8rem;
  color: #999;
}
.toc-nav li:last-child::after { content: ""; }

/* FAQ / Toggle */
details {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin: 1rem 0;
  padding: 0.8rem 1rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
details[open] {
  background: #fff;
  border-color: #38ef7d;
  box-shadow: 0 4px 12px rgba(56,239,125,0.3);
}
summary {
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  color: #11998e;
  padding-left: 25px;
  transition: color 0.3s ease;
}
summary:hover { color: #38ef7d; }
summary::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #11998e;
  transition: transform 0.3s ease;
}
details[open] summary::before { transform: rotate(90deg); }

/* Pricing Table */
.pricing-table {
  border-collapse: collapse;
  width: 100%;
  margin: 15px 0;
  font-size: 15px;
}
.pricing-table th, .pricing-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}
.pricing-table thead tr { background-color: #e6f9f0; }

/* Blog List & Cards */
.blogList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}
.blogThumb {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blogThumb:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.blogThumb h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.blogThumb p { margin: 0.5rem 0; color: #555; }
.blogThumb a { color: #11998e; text-decoration: none; font-weight: 700; }
.blogThumb a:hover { color: #38ef7d; text-decoration: underline; }

/* Pagination */
.blogPages {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  font-weight: 700;
}
.blogPages a {
  background: linear-gradient(135deg, #38ef7d, #a8e063);
  color: #fff !important;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}
.blogPages a:hover {
  background: linear-gradient(135deg, #11998e, #38ef7d);
  transform: translateY(-3px);
}

/* Animations */
@keyframes pulse {
  0%,100% { box-shadow: 0 0 10px rgba(0,0,0,0.2); }
  50% { box-shadow: 0 0 25px rgba(0,0,0,0.4); }
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
  60% { transform: translateY(3px); }
  80% { transform: translateY(-2px); }
}

@keyframes glowTitle {
  from { text-shadow: 0 0 8px rgba(255, 255, 255, 0.4); }
  to { text-shadow: 0 0 18px rgba(255, 255, 255, 0.9); }
}

/* Category Selector */
.categorySelector {
    margin: 2rem 0;
    text-align: center;
}

.categorySelector select {
    font-family: 'Montserrat', sans-serif;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.categorySelector input[type="submit"] {
    font-family: 'Montserrat', sans-serif;
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #38ef7d, #a8e063);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: background 0.3s ease;
}

.categorySelector input[type="submit"]:hover {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}
