/*
 Theme Name: Astra MJ Child
 Theme URI: https://mjdublin.com
 Description: Child theme for Astra with global Font Awesome + Global Styles.
 Author: MJ
 Template: astra
 Version: 1.0.1
 Text Domain: astra-mj-child
*/

:root{
  --primary:#6A5ACD;   /* Slate Blue */
  --accent:#87CEFA;    /* Light Sky Blue */
  --text:#333333;
  --bg:#ffffff;
  --border:#e8eef3;
}

/* CTA buttons */
.service-cta {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--primary);
  color: var(--primary);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.service-cta:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.service-cta i { margin-right:6px; }

/* Services / cards grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,.10);
}
.service-icon {
  width: 64px; height: 64px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(106,90,205,.10), rgba(135,206,250,.22));
  border: 1px solid var(--border);
}
.service-icon i { font-size: 28px; color: var(--primary); }

/* FAQ styling */
section[aria-labelledby="faq-heading"] {
  margin-top: 40px; margin-bottom: 40px;
}
section[aria-labelledby="faq-heading"] h3 {
  font-size: 24px;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
}
section[aria-labelledby="faq-heading"] h4 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--primary);
  display: flex; align-items: center; gap: 6px;
}
section[aria-labelledby="faq-heading"] p {
  margin: 0 0 12px 0;
  line-height: 1.6;
}

/* Typography */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
}
h1,h2,h3,h4,h5 { color: var(--primary); font-weight: 600; }