/*
Theme Name: OurChurchIT
Theme URI: https://ourchurchit.com/
Author: OurChurchIT.com
Author URI: https://ourchurchit.com/
Description: A responsive ministry technology theme for church websites, IT support, livestreaming, cybersecurity, AI, and digital ministry services.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: ourchurchit
*/
:root {
  --navy: #0b2341;
  --blue: #1769aa;
  --sky: #eaf5ff;
  --gold: #e6a93a;
  --text: #203040;
  --muted: #5d6b79;
  --white: #ffffff;
  --light: #f7f9fc;
  --border: #dfe7ef;
  --shadow: 0 14px 40px rgba(11, 35, 65, 0.12);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.bg-light { background: var(--light); }
.bg-sky { background: var(--sky); }
.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 12px;
}
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4.7rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: 1.28rem; }
p { margin: 0 0 18px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 720px; }
.muted { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223,231,239,.85);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; color: var(--navy); font-size: 1.12rem; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue), var(--navy));
  color: var(--white); font-weight: 900;
  box-shadow: 0 8px 20px rgba(23,105,170,.25);
}
.nav-links { display: flex; align-items: center; gap: 24px; font-weight: 700; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 1.8rem; cursor: pointer; color: var(--navy); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 999px;
  background: var(--blue); color: var(--white); font-weight: 800;
  border: 1px solid var(--blue); transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(23,105,170,.22); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #f8fbff 0%, #eaf5ff 62%, #fdf8ed 100%);
  padding: 96px 0 88px;
}
.hero:before, .hero:after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(2px); opacity: .65;
}
.hero:before { width: 380px; height: 380px; right: -120px; top: -120px; background: rgba(23,105,170,.12); }
.hero:after { width: 260px; height: 260px; left: -90px; bottom: -120px; background: rgba(230,169,58,.16); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero-card {
  background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.95);
  border-radius: 28px; padding: 34px; box-shadow: var(--shadow);
}
.hero-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-card { padding: 20px; border-radius: 16px; background: var(--light); border: 1px solid var(--border); }
.icon { font-size: 1.65rem; margin-bottom: 8px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 9px 28px rgba(11,35,65,.06);
}
.card:hover { transform: translateY(-3px); transition: .2s ease; }
.card-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--sky); font-size: 1.55rem; margin-bottom: 18px;
}
.card ul, .service-detail ul { padding-left: 20px; margin: 14px 0 0; }
.card li, .service-detail li { margin-bottom: 7px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.stat { text-align: center; padding: 24px 16px; background: var(--white); border-radius: 16px; border: 1px solid var(--border); }
.stat strong { display: block; color: var(--blue); font-size: 1.9rem; }

.page-hero { padding: 78px 0 64px; background: linear-gradient(135deg, #eef7ff, #ffffff 62%, #fff7e8); }
.page-hero .lead { max-width: 820px; }

.service-detail { padding: 34px; border-radius: 20px; border: 1px solid var(--border); background: var(--white); }
.service-detail + .service-detail { margin-top: 22px; }
.service-number { color: var(--gold); font-weight: 900; font-size: .85rem; letter-spacing: .08em; }

.cta {
  border-radius: 28px;
  padding: 52px;
  background: linear-gradient(135deg, var(--navy), #123c6c);
  color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta h2, .cta p { color: var(--white); }
.cta p { opacity: .86; max-width: 640px; }

form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 800; color: var(--navy); font-size: .92rem; }
input, textarea, select {
  width: 100%; padding: 14px 15px; border: 1px solid var(--border); border-radius: 12px;
  font: inherit; margin-top: 7px; background: var(--white);
}
textarea { min-height: 150px; resize: vertical; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: start; }
.contact-box { background: var(--navy); color: var(--white); border-radius: 22px; padding: 34px; }
.contact-box h2, .contact-box h3 { color: var(--white); }
.contact-item { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-item:last-child { border-bottom: 0; }

.site-footer { background: #07182d; color: rgba(255,255,255,.82); padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 40px; }
.site-footer h3 { color: var(--white); }
.site-footer a:hover { color: var(--white); }
.footer-links { display: grid; gap: 9px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 38px; padding-top: 20px; font-size: .9rem; }

.notice { padding: 14px 16px; border-radius: 12px; background: #eef8f0; color: #245c2f; display: none; }

@media (max-width: 900px) {
  .hero-grid, .contact-layout, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: 18px; right: 18px; top: 76px;
    background: var(--white); padding: 18px; border: 1px solid var(--border); border-radius: 16px;
    box-shadow: var(--shadow); flex-direction: column; align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { width: 100%; }
  .hero { padding-top: 70px; }
  .cta { padding: 38px 28px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .section { padding: 62px 0; }
  .hero-card-grid, .form-grid, .stats { grid-template-columns: 1fr; }
  .hero-card, .card, .service-detail { padding: 24px; }
  .brand span:last-child { display: none; }
}

/* WordPress integration */
.admin-bar .site-header { top: 32px; }
.brand-logo .custom-logo-link { display: block; }
.brand-logo img { max-height: 50px; width: auto; }
.nav-links .menu-list, .footer-menu { list-style: none; margin: 0; padding: 0; }
.nav-links .menu-list { display: flex; align-items: center; gap: 24px; }
.nav-links .current-menu-item > a, .nav-links .current_page_item > a { color: var(--blue); }
.footer-menu { display: grid; gap: 9px; }
.entry-content > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: 1120px; }
.entry-content > .alignfull { max-width: none; }
.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; }
.notice { display: block; }
.notice-success { background: #eef8f0; color: #245c2f; }
.notice-error { background: #fff1f0; color: #8b2520; }
@media (max-width: 900px) {
  .nav-links .menu-list { flex-direction: column; align-items: stretch; }
  .admin-bar .site-header { top: 46px; }
}

/* Modern redesign */
:root{--navy:#071a2f;--blue:#2367ff;--cyan:#57d4ff;--purple:#7b61ff;--gold:#ffca62;--light:#f5f7fb;--border:#e8edf5;--shadow:0 24px 70px rgba(7,26,47,.14)}
body{background:#fff}.site-header{background:rgba(255,255,255,.84);backdrop-filter:blur(18px);box-shadow:0 1px 0 rgba(7,26,47,.06)}
.hero-modern{padding:108px 0 92px;background:radial-gradient(circle at 15% 10%,rgba(87,212,255,.22),transparent 30%),radial-gradient(circle at 90% 15%,rgba(123,97,255,.18),transparent 28%),linear-gradient(180deg,#f9fbff 0%,#fff 100%)}
.hero-copy h1{max-width:760px}.hero-visual{position:relative;min-height:560px}.hero-photo{position:absolute;inset:0;border-radius:34px;background:linear-gradient(180deg,rgba(7,26,47,.08),rgba(7,26,47,.26)),url('https://images.unsplash.com/photo-1507692049790-de58290a4334?auto=format&fit=crop&w=1400&q=82') center/cover;box-shadow:var(--shadow);overflow:hidden}.hero-photo:after{content:"";position:absolute;inset:auto 24px 24px 24px;height:90px;border-radius:22px;background:rgba(255,255,255,.16);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.25)}
.floating-card{position:absolute;background:#fff;border:1px solid rgba(255,255,255,.7);border-radius:18px;padding:16px 18px;box-shadow:0 18px 50px rgba(7,26,47,.18);display:grid;gap:2px}.floating-card small{color:var(--muted)}.card-one{left:-28px;bottom:88px}.card-two{right:-18px;top:42px}.pulse{width:10px;height:10px;border-radius:99px;background:#2dcf7f;display:inline-block;box-shadow:0 0 0 7px rgba(45,207,127,.14);margin-bottom:8px}.trust-row{display:flex;flex-wrap:wrap;gap:18px;margin-top:28px;color:#4f6173;font-size:.92rem;font-weight:700}
.logo-strip{border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:#fff}.logo-strip-inner{padding:24px 0;display:flex;justify-content:space-between;gap:24px;align-items:center;color:var(--muted);font-weight:700}.pill-row{display:flex;gap:10px;flex-wrap:wrap}.pill-row span{padding:8px 13px;border:1px solid var(--border);border-radius:999px;background:#fbfcfe;color:#33475b;font-size:.84rem}
.section-heading{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:38px}.section-heading>div{max-width:650px}.modern-cards{gap:18px}.service-card{min-height:300px;padding:28px;border-radius:22px;border:1px solid var(--border);background:linear-gradient(180deg,#fff,#fbfcff);transition:.25s ease;display:flex;flex-direction:column}.service-card:hover{transform:translateY(-7px);box-shadow:var(--shadow);border-color:rgba(35,103,255,.24)}.service-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:54px}.service-index{font-weight:900;color:var(--blue);font-size:.86rem}.service-arrow{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#eef3ff;color:var(--blue);font-size:1.2rem}.service-card p{color:var(--muted)}.service-card a{margin-top:auto;color:var(--blue);font-weight:800}
.bg-dark{background:linear-gradient(145deg,#071a2f,#0c2c4f);color:#fff}.bg-dark h2{color:#fff}.eyebrow-light{color:var(--cyan)}.light-text{color:rgba(255,255,255,.72)}.split-feature{display:grid;grid-template-columns:.95fr 1.05fr;gap:64px;align-items:center}.feature-photo{min-height:540px;border-radius:30px;background:linear-gradient(180deg,rgba(7,26,47,.08),rgba(7,26,47,.36)),url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=82') center/cover;box-shadow:0 30px 80px rgba(0,0,0,.28)}.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:34px}.check-grid div{padding:20px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.05)}.check-grid strong{display:block;color:#fff;margin-bottom:7px}.check-grid span{color:rgba(255,255,255,.66);font-size:.93rem}
.process-heading{text-align:center;max-width:760px;margin:0 auto 42px}.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.process-step{padding:28px 24px;border-top:3px solid var(--blue);background:var(--light);border-radius:0 0 20px 20px}.process-step span{font-weight:900;color:var(--blue);font-size:.84rem}.process-step h3{margin-top:32px}.process-step p{color:var(--muted);margin-bottom:0}.cta-modern{background:radial-gradient(circle at 90% 10%,rgba(87,212,255,.25),transparent 28%),linear-gradient(135deg,#071a2f,#123b6d)}
@media(max-width:900px){.hero-visual{min-height:430px}.card-one{left:12px}.card-two{right:12px}.section-heading,.logo-strip-inner{align-items:flex-start;flex-direction:column}.split-feature{grid-template-columns:1fr}.process-grid{grid-template-columns:1fr 1fr}.feature-photo{min-height:420px}}
@media(max-width:620px){.hero-modern{padding-top:74px}.hero-visual{min-height:360px}.floating-card{display:none}.check-grid,.process-grid{grid-template-columns:1fr}.service-card{min-height:250px}.section-heading{margin-bottom:26px}}
