/*
Theme Name: Broader Horizons
Theme URI: https://broaderhorizons.co.ke/
Author: Lorde_Kush
Author URI: https://mneti.co.ke/
Description: Corporate training & consultancy theme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: broader-horizons
Tags: business, corporate, training, consultancy, custom-menu, featured-images, translation-ready
*/

/* ==== paste all your :root ... media queries here, unchanged ==== */

 :root {
      --navy: #2799d2;
      --navy-2: #176f9e;
      --gold: #d7a84b;
      --gold-light: #f4e7c9;
      --ink: #1c2b36;
      --muted: #63717b;
      --paper: #ffffff;
      --mist: #f3f6f7;
      --line: #e2e8eb;
      --radius: 18px;
      --shadow: 0 18px 55px rgba(16,43,63,.12);
      --max: 1160px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.65;
    }
    a { color: inherit; text-decoration: none; }
    button, input, select, textarea { font: inherit; }
    img { display: block; max-width: 100%; }
    .container { width: min(var(--max), calc(100% - 44px)); margin-inline: auto; }
    .topbar { background: #176f9e; color: #eaf6fc; font-size: .82rem; }
    .topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
    .topbar a { color: #fff; }
    .topbar-right { display: flex; gap: 22px; }
    header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(226,232,235,.85); }
    .nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
    .brand { display: inline-flex; align-items: center; gap: 12px; min-width: 230px; }
    .brand-mark { width: 43px; height: 43px; border-radius: 13px; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-weight: 850; letter-spacing: -.08em; font-size: 1.08rem; }
    .brand-name { display: block; color: var(--navy); font-weight: 850; letter-spacing: .045em; line-height: 1.1; font-size: .98rem; }
    .brand-tag { display: block; color: var(--muted); font-size: .63rem; letter-spacing: .17em; text-transform: uppercase; margin-top: 5px; }
    .nav-links { display: flex; align-items: center; gap: 27px; color: #344653; font-size: .91rem; font-weight: 650; }
    .nav-links a:hover { color: #a87922; }
    .nav-cta, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 999px; padding: 13px 21px; background: var(--gold); color: #17394d; font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
    .nav-cta:hover, .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(215,168,75,.25); background: #e5b95f; }
    .menu-toggle { display: none; border: 1px solid var(--line); background: white; color: var(--navy); width: 44px; height: 44px; border-radius: 12px; font-size: 1.25rem; cursor: pointer; }
    .hero { position: relative; overflow: hidden; color: white; background: linear-gradient(135deg, #2799d2, #176f9e); }
    .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,111,158,.94) 0%, rgba(23,111,158,.84) 48%, rgba(23,111,158,.32) 100%), url("https://broaderhorizons.co.ke/wp-content/uploads/2023/08/HR-Leadership.jpg") center/cover; }
    .hero::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(215,168,75,.28); border-radius: 50%; right: -150px; bottom: -300px; box-shadow: 0 0 0 55px rgba(215,168,75,.04), 0 0 0 110px rgba(215,168,75,.035); }
    .hero-inner { position: relative; z-index: 1; min-height: 610px; display: grid; align-items: center; padding-block: 82px; }
    .hero-copy { max-width: 680px; }
    .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 800; letter-spacing: .17em; text-transform: uppercase; font-size: .73rem; }
    .eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
    h1, h2, h3, p { margin-top: 0; }
    h1 { margin: 20px 0 20px; font-size: clamp(2.65rem, 6vw, 5.25rem); line-height: 1.02; letter-spacing: -.055em; max-width: 760px; }
    h1 span { color: var(--gold); }
    .hero-copy p { max-width: 610px; color: #d7e1e7; font-size: 1.13rem; line-height: 1.8; margin-bottom: 30px; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
    .btn-outline { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; color: white; font-weight: 750; }
    .btn-outline:hover { background: rgba(255,255,255,.1); }
    .hero-note { margin-top: 44px; display: flex; gap: 12px; align-items: center; color: #d4dfe5; font-size: .88rem; }
    .hero-note strong { color: white; }
    .hero-note-mark { width: 34px; height: 34px; border: 1px solid rgba(215,168,75,.7); color: var(--gold); border-radius: 50%; display: grid; place-items: center; }
    .trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
    .trust-inner { display: grid; grid-template-columns: 1.2fr repeat(3,1fr); align-items: center; gap: 22px; padding-block: 25px; }
    .trust-lead { color: var(--muted); font-size: .82rem; font-weight: 700; }
    .trust-item { border-left: 1px solid var(--line); padding-left: 22px; }
    .trust-item strong { display: block; color: var(--navy); font-size: 1.08rem; }
    .trust-item span { color: var(--muted); font-size: .79rem; }
    section { padding-block: 94px; }
    .section-head { max-width: 720px; margin-bottom: 42px; }
    .section-head.center { margin-inline: auto; text-align: center; }
    .section-head.center .eyebrow { justify-content: center; }
    h2 { color: var(--navy); font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.12; letter-spacing: -.045em; margin: 15px 0 16px; }
    .section-head p, .intro-copy { color: var(--muted); font-size: 1.02rem; }
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
    .about-photo { min-height: 470px; border-radius: 24px; overflow: hidden; position: relative; background: #d9e1e4 url("https://broaderhorizons.co.ke/wp-content/uploads/2018/06/cropped-pexels-photo-1124062.jpeg") center/cover; box-shadow: var(--shadow); }
    .about-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23,111,158,.34), transparent 55%); }
    .photo-caption { position: absolute; z-index: 1; left: 25px; right: 25px; bottom: 25px; color: white; font-weight: 750; font-size: 1.1rem; }
    .check-list { list-style: none; padding: 0; margin: 25px 0 30px; display: grid; gap: 13px; }
    .check-list li { display: flex; gap: 12px; color: #43535e; }
    .check { flex: 0 0 23px; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-light); color: #8c641e; font-size: .8rem; font-weight: 900; margin-top: 2px; }
    .text-link { color: #94691d; font-weight: 800; display: inline-flex; gap: 8px; align-items: center; }
    .services { background: var(--mist); }
    .service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 17px; }
    .service-card { background: white; padding: 27px 24px; border: 1px solid #e8edef; border-radius: var(--radius); min-height: 250px; transition: transform .2s, box-shadow .2s; }
    .service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
    .service-icon { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 14px; color: #9a6b1d; background: var(--gold-light); font-size: 1.35rem; margin-bottom: 22px; }
    .service-card h3 { color: var(--navy); font-size: 1.12rem; margin-bottom: 10px; }
    .service-card p { color: var(--muted); font-size: .9rem; margin-bottom: 0; }
    .programmes-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 18px; }
    .programme { border-radius: var(--radius); overflow: hidden; min-height: 340px; position: relative; color: white; background: var(--navy); }
    .programme::before { content: ""; position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s; }
    .programme:hover::before { transform: scale(1.05); }
    .programme:nth-child(1)::before { background-image: url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1000&q=85"); }
    .programme:nth-child(2)::before { background-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1000&q=85"); }
    .programme:nth-child(3)::before { background-image: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1000&q=85"); }
    .programme::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,83,120,.94), rgba(17,83,120,.08) 85%); }
    .programme-content { position: absolute; z-index: 1; left: 25px; right: 25px; bottom: 25px; }
    .programme small { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
    .programme h3 { font-size: 1.45rem; line-height: 1.2; margin: 8px 0; }
    .programme p { color: #dce5e9; font-size: .88rem; margin-bottom: 0; }
    .difference { background: linear-gradient(135deg, #2799d2, #176f9e); color: white; }
    .difference-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; align-items: center; }
    .difference h2 { color: white; }
    .difference .section-head p { color: #c4d0d8; }
    .difference-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .difference-point { padding: 22px; border: 1px solid rgba(255,255,255,.15); border-radius: 15px; background: rgba(255,255,255,.045); }
    .difference-point strong { display: block; color: var(--gold); font-size: 1.02rem; margin-bottom: 6px; }
    .difference-point span { color: #c4d0d8; font-size: .88rem; }
    .proof { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; margin-top: 36px; }
    .proof-card { background: rgba(9,76,113,.42); border-radius: 15px; padding: 23px; }
    .proof-card strong { display: block; color: var(--gold); font-size: 1.7rem; line-height: 1.1; }
    .proof-card span { display: block; color: #d2dfe6; font-size: .82rem; margin-top: 8px; }
    .cta-band { padding-block: 0; }
    .cta-panel { margin-block: 78px; padding: 52px 58px; background: var(--gold-light); border-radius: 24px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
    .cta-panel h2 { font-size: clamp(1.8rem,3.2vw,2.65rem); margin: 0 0 10px; }
    .cta-panel p { color: #5d6263; margin: 0; max-width: 620px; }
    .cta-panel .btn { flex: 0 0 auto; background: var(--navy); color: white; }
    .contact { background: var(--mist); }
    .contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 65px; align-items: start; }
    .contact-details { display: grid; gap: 20px; margin-top: 30px; }
    .contact-row { display: flex; gap: 14px; align-items: flex-start; }
    .contact-row .service-icon { width: 42px; height: 42px; flex: 0 0 42px; margin: 0; font-size: 1.05rem; }
    .contact-row strong { display: block; color: var(--navy); font-size: .94rem; }
    .contact-row span, .contact-row a { color: var(--muted); font-size: .9rem; }
    form { background: white; padding: 32px; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 35px rgba(16,43,63,.06); }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    label { display: block; font-size: .83rem; color: #40515c; font-weight: 750; margin-bottom: 7px; }
    .field { margin-bottom: 16px; }
    input, select, textarea { width: 100%; border: 1px solid #dbe3e7; background: #fbfcfc; color: var(--ink); padding: 13px 14px; border-radius: 10px; outline: none; }
    input:focus, select:focus, textarea:focus { border-color: #c99a3f; box-shadow: 0 0 0 3px rgba(215,168,75,.15); }
    textarea { min-height: 120px; resize: vertical; }
    form .btn { width: 100%; border-radius: 10px; }
    .form-note { color: #7a858c; font-size: .75rem; margin: 12px 0 0; }
    footer { background: #176f9e; color: #e5f2f8; padding: 55px 0 24px; }
    .footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1fr; gap: 38px; padding-bottom: 38px; }
    footer .brand-name { color: white; }
    footer .brand-tag { color: #9eafb9; }
    footer p { color: #aebdc6; font-size: .88rem; max-width: 320px; margin-top: 18px; }
    footer h4 { color: white; margin: 0 0 17px; font-size: .92rem; }
    .footer-links { display: grid; gap: 10px; font-size: .86rem; }
    .footer-links a:hover { color: var(--gold); }
    .copyright { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: #8fa2ae; font-size: .78rem; }
    .notice { display: none; margin-top: 12px; padding: 12px; border-radius: 9px; background: #eef7f1; color: #245a39; font-size: .85rem; }
    @media (max-width: 980px) {
      .nav-links { gap: 16px; font-size: .85rem; }
      .nav-cta { display: none; }
      .service-grid { grid-template-columns: repeat(2,1fr); }
      .programmes-grid { grid-template-columns: 1fr 1fr; }
      .programme:first-child { grid-column: span 2; }
      .about-grid, .difference-grid { gap: 42px; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 720px) {
      .container { width: min(var(--max), calc(100% - 32px)); }
      .topbar-inner { justify-content: center; }
      .topbar-right { display: none; }
      .nav { min-height: 70px; }
      .menu-toggle { display: block; }
      .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: white; padding: 18px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 25px rgba(16,43,63,.08); flex-direction: column; align-items: stretch; gap: 0; }
      .nav-links.open { display: flex; }
      .nav-links a { padding: 12px 0; border-bottom: 1px solid #edf1f3; }
      .hero-inner { min-height: 570px; padding-block: 68px; }
      .hero::before { background-position: 58% center; }
      .hero-copy p { font-size: 1rem; }
      .trust-inner { grid-template-columns: 1fr 1fr; gap: 18px; }
      .trust-lead { grid-column: span 2; }
      .trust-item { padding-left: 14px; }
      section { padding-block: 70px; }
      .about-grid, .difference-grid, .contact-grid { grid-template-columns: 1fr; }
      .about-photo { min-height: 340px; order: 2; }
      .service-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
      .service-card { padding: 21px 17px; min-height: 235px; }
      .programmes-grid { grid-template-columns: 1fr; }
      .programme:first-child { grid-column: auto; }
      .programme { min-height: 280px; }
      .difference-points { grid-template-columns: 1fr 1fr; }
      .proof { grid-template-columns: 1fr 1fr; }
      .cta-panel { margin-block: 55px; padding: 32px 25px; align-items: flex-start; flex-direction: column; }
      .contact-grid { gap: 35px; }
      form { padding: 23px; }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
    }
    @media (max-width: 430px) {
      .brand { min-width: 0; }
      .brand-mark { width: 39px; height: 39px; }
      .brand-name { font-size: .84rem; }
      .brand-tag { font-size: .55rem; }
      .service-grid, .difference-points, .form-grid { grid-template-columns: 1fr; }
      .trust-inner { grid-template-columns: 1fr 1fr; }
      .proof { gap: 10px; }
      .proof-card { padding: 17px; }
      .copyright { flex-direction: column; }
    }