/* ================= Extra styles layered on top of styles.css ================= */

/* Services dropdown in nav */
.nav-links li.has-dropdown { position: relative; }
.nav-links .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #12151D;
  border: 1px solid rgba(245,244,240,0.12);
  border-radius: 10px;
  min-width: 260px;
  padding: 8px;
  list-style: none;
  z-index: 50;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.nav-links li.has-dropdown:hover .dropdown,
.nav-links li.has-dropdown:focus-within .dropdown { display: block; }
.nav-links .dropdown li a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: normal;
}
.nav-links .dropdown li a:hover { background: rgba(245,244,240,0.08); }

@media (max-width: 900px) {
  .nav-links .dropdown {
    position: static;
    display: none;
    border: none;
    background: transparent;
    box-shadow: none;
    padding-left: 12px;
  }
  .nav-links li.has-dropdown.open .dropdown { display: block; }
}

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 30px;
}
.blog-grid-full { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .blog-grid, .blog-grid-full { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .blog-grid, .blog-grid-full { grid-template-columns: 1fr; }
}
.blog-card {
  display: block;
  background: #12151D;
  border: 1px solid rgba(245,244,240,0.1);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.35);
  border-color: rgba(231,169,60,0.4);
}
.blog-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.blog-card-body { padding: 18px 20px 22px; }
.blog-card-body .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #E7A93C;
  margin-bottom: 8px;
}
.blog-card-body h3 { font-size: 18px; margin: 0 0 8px; line-height: 1.35; }
.blog-card-body p { font-size: 14px; color: var(--text-muted); margin: 0 0 12px; }
.blog-date { font-size: 12.5px; color: var(--text-muted); }

/* Client logos strip */
.clients-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}
.clients-strip img {
  max-height: 54px;
  width: auto;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.75;
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}
.clients-strip img:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
  transform: scale(1.05);
}

/* Captcha field */
.captcha-field input { max-width: 180px; }

/* Inline form error banner */
.form-error-banner {
  background: rgba(220,60,60,0.12);
  border: 1px solid rgba(220,60,60,0.4);
  color: #ff8a8a;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

/* Subtle fade/slide animation reused across dynamic sections */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Make sure long DB-driven content stays responsive */
.article-body img, .article-body iframe { max-width: 100%; height: auto; }
.article-body { line-height: 1.8; }
.article-body h2 { margin-top: 34px; }
.article-body ul { padding-left: 20px; }
