:root {
  --manna-primary:#213c6b;
  --manna-secondary:#62c14d;
  --manna-accent:#6ea8ff;
  --manna-bg:#f4f7fb;
  --manna-surface:#ffffff;
  --manna-text:#243044;
  --manna-muted:#6b7280;
  --manna-heading:#16335f;
  --manna-header-link:#1d3b6d;
  --manna-footer-bg:#eef3f9;
  --manna-footer-text:#243044;
  --manna-button-text:#ffffff;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-lg: 0 22px 70px rgba(13, 27, 55, .18);
  --shadow-md: 0 14px 38px rgba(13, 27, 55, .12);
  --shadow-sm: 0 8px 22px rgba(13, 27, 55, .08);
  --container: min(1200px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--manna-text);
  background: radial-gradient(circle at top left, rgba(110,168,255,.12), transparent 30%), var(--manna-bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1rem; }
h1,h2,h3,h4,h5,h6 {
  color: var(--manna-heading);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0 0 1rem;
}
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select, button {
  font: inherit;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.site-container { width: var(--container); margin-inline: auto; }
.section-space { padding: 100px 0; }
.section-space-sm { padding: 40px 0; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading h2 { font-size: clamp(2rem, 5vw, 4rem); }
.section-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--manna-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
}
.section-intro.centered { max-width: 720px; margin: 0 auto 40px; text-align: center; color: var(--manna-muted); }
.lead { font-size: 1.15rem; color: var(--manna-text); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 15px 24px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(135deg, var(--manna-primary), color-mix(in srgb, var(--manna-primary) 65%, #5d88d9 35%));
  color: var(--manna-button-text);
  box-shadow: var(--shadow-md);
}
.button-secondary {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
}
.button-dark {
  background: var(--manna-primary);
  color: var(--manna-button-text);
  box-shadow: var(--shadow-md);
}
.text-link { color: var(--manna-primary); font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(17, 24, 39, .06);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 92px;
}
.custom-logo { max-height: 64px; width: auto; }
.site-title { font-size: 1.5rem; font-weight: 800; color: var(--manna-heading); }
.primary-navigation .menu { display: flex; justify-content: center; gap: 12px; }
.primary-navigation .menu a {
  color: var(--manna-header-link);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
}
.primary-navigation .menu a:hover,
.primary-navigation .current-menu-item > a {
  background: rgba(33, 60, 107, .08);
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: relative;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--manna-primary);
  margin: 5px auto;
}
.header-cta { white-space: nowrap; }

.hero-section {
  position: relative;
  padding: 110px 0 90px;
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(110,168,255,.32), transparent 24%),
    linear-gradient(135deg, rgba(33,60,107,.96), rgba(10,25,52,.94));
  overflow: hidden;
}
.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  filter: blur(10px);
}
.hero-section::before { width: 260px; height: 260px; top: -80px; right: -40px; }
.hero-section::after { width: 180px; height: 180px; bottom: 40px; left: -40px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .75fr);
  gap: 32px;
  align-items: center;
}
.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 5.75rem);
  margin-bottom: 18px;
}
.hero-copy p { max-width: 720px; font-size: 1.14rem; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-card {
  justify-self: end;
  width: 100%;
  max-width: 400px;
}
.hero-card-inner {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}
.hero-card-inner .section-eyebrow { color: #d8f7d0; }
.hero-stat-list { display: grid; gap: 12px; margin: 10px 0 18px; }
.hero-stat-list li {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  font-weight: 700;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 46px;
  align-items: center;
}
.about-media img,
.contact-image img,
.single-featured-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.media-placeholder {
  min-height: 420px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(33,60,107,.08), rgba(98,193,77,.15));
  border: 1px dashed rgba(33,60,107,.25);
  color: var(--manna-primary);
  font-weight: 700;
  padding: 24px;
  text-align: center;
}
.feature-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.feature-pills span {
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--manna-surface);
  color: var(--manna-primary);
  border: 1px solid rgba(33,60,107,.08);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

.services-section { background: linear-gradient(180deg, rgba(33,60,107,.03), transparent 40%); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--manna-surface);
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(33,60,107,.06);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--manna-primary), var(--manna-secondary));
}
.service-card h3 { font-size: 1.65rem; margin-bottom: 12px; }
.service-card p { color: var(--manna-muted); margin-bottom: 0; }
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(33,60,107,.12), rgba(98,193,77,.18));
  margin-bottom: 20px;
  position: relative;
}
.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
  background: var(--manna-primary);
}
.service-icon::before { width: 18px; height: 18px; left: 20px; top: 24px; border-radius: 4px; }
.service-icon::after {
  width: 22px; height: 22px; left: 18px; top: 13px;
  clip-path: polygon(50% 0, 100% 45%, 100% 58%, 50% 16%, 0 58%, 0 45%);
}

.cta-band-inner {
  background: linear-gradient(135deg, var(--manna-secondary), color-mix(in srgb, var(--manna-secondary) 60%, #baf19d 40%));
  border-radius: 34px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta-band p { color: rgba(20, 33, 52, .82); margin-bottom: 0; }

.projects-section .section-heading,
.projects-section .section-intro,
.contact-copy .section-heading { text-align: center; margin-inline: auto; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}
.project-card {
  background: var(--manna-surface);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(33,60,107,.07);
}
.project-image-wrap { aspect-ratio: 4 / 3; display: block; overflow: hidden; }
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover img { transform: scale(1.05); }
.project-card-content { padding: 22px; }
.project-card-content h3 { font-size: 1.35rem; }
.project-card-content p { color: var(--manna-muted); margin-bottom: 0; }
.project-empty {
  padding: 30px;
  border-radius: 24px;
  background: var(--manna-surface);
  border: 1px dashed rgba(33,60,107,.18);
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 34px;
  align-items: start;
}
.contact-copy .section-heading,
.contact-copy .section-intro { text-align: left; }
.contact-detail-box {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(33,60,107,.07), rgba(98,193,77,.08));
  border: 1px solid rgba(33,60,107,.08);
  box-shadow: var(--shadow-sm);
}
.contact-form-card {
  background: var(--manna-surface);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(33,60,107,.07);
}
.contact-image { margin-bottom: 20px; }
.demo-form { display: grid; gap: 16px; }
.demo-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--manna-heading);
}
.demo-field input,
.demo-field textarea,
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(33,60,107,.12);
  background: #fff;
  min-height: 56px;
  padding: 15px 18px;
  color: var(--manna-text);
}
.demo-field textarea,
.wpcf7 textarea { min-height: 160px; }
.wpcf7-submit,
.demo-form .button { width: fit-content; }
.form-note { color: var(--manna-muted); font-size: .96rem; margin-bottom: 0; }

.page-hero.small {
  padding: 72px 0 34px;
  background: linear-gradient(180deg, rgba(33,60,107,.05), transparent);
}
.page-hero.small h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.content-section { padding: 32px 0 90px; }
.page-content-wrap,
.single-wrap {
  background: var(--manna-surface);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  padding: 34px;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.post-card {
  background: var(--manna-surface);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.post-card-image { aspect-ratio: 4/3; overflow: hidden; display: block; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; }
.post-card-content { padding: 22px; }

.site-footer {
  padding-top: 30px;
  background: var(--manna-footer-bg);
  color: var(--manna-footer-text);
  border-top: 1px solid rgba(33,60,107,.08);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding-bottom: 24px;
}
.footer-brand p { max-width: 420px; color: var(--manna-footer-text); opacity: .84; }
.footer-nav-wrap .menu { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-contact { display: grid; gap: 6px; justify-items: end; font-weight: 700; }
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 18px 0 8px;
}
.footer-widget-title { font-size: 1rem; margin-bottom: 10px; }
.footer-bottom {
  padding: 20px 0 28px;
  border-top: 1px solid rgba(33,60,107,.08);
  margin-top: 20px;
}
.footer-bottom p { margin: 0; }

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-up.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@media (max-width: 1120px) {
  .hero-grid,
  .about-layout,
  .contact-layout,
  .footer-top,
  .cta-band-inner { grid-template-columns: 1fr; }
  .hero-card { justify-self: start; max-width: 100%; }
  .footer-contact { justify-items: start; }
}

@media (max-width: 960px) {
  .header-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .menu-toggle { display: inline-block; }
  .primary-navigation {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
  }
  .primary-navigation.is-open { display: block; }
  .primary-navigation .menu {
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,.96);
    border-radius: 18px;
    padding: 14px;
    box-shadow: var(--shadow-md);
  }
  .header-cta { display: none; }
  .service-grid,
  .project-grid,
  .post-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .section-space { padding: 72px 0; }
  .hero-section { padding: 90px 0 72px; }
  .hero-copy h1 { font-size: clamp(2.4rem, 11vw, 3.7rem); }
  .service-grid,
  .project-grid,
  .post-grid { grid-template-columns: 1fr; }
  .cta-band-inner,
  .contact-form-card,
  .page-content-wrap,
  .single-wrap,
  .service-card,
  .project-card,
  .hero-card-inner { padding: 22px; }
  .custom-logo { max-height: 56px; }
}


/* Visibility hardening for front-end rendering */
.service-card {
  min-height: 220px;
  color: var(--manna-text);
}
.service-card h3,
.service-card p,
.service-card .service-icon,
.cta-band .section-eyebrow,
.cta-band h2,
.cta-band p {
  opacity: 1 !important;
  visibility: visible !important;
}
.service-card h3 {
  color: var(--manna-heading) !important;
  display: block;
}
.service-card p {
  color: var(--manna-muted) !important;
  display: block;
}
.cta-band-inner {
  background: #62c14d;
  background: linear-gradient(135deg, var(--manna-secondary), #8ad86c);
}
.cta-band .section-eyebrow {
  color: rgba(22, 51, 95, .72) !important;
}
.cta-band h2 {
  color: var(--manna-heading) !important;
}
.cta-band p {
  color: rgba(20, 33, 52, .88) !important;
}
