/*
Theme Name: FREJ HITECH Agency Limited (Zulten-Inspired Enterprise Edition)
Theme URI: https://frejhitech.co.ke
Author: FREJ HITECH Digital
Description: Custom multi-page enterprise WordPress theme modeled on modern East African B2B tech & supply portal architecture with multi-level dropdown navigation, clean geometric typography, numbered solution suites, interactive FAQ accordions, and FREJ HITECH brand colors (Deep Navy #0F172A, Electric Cyan #0284C7, Warm Amber #F59E0B).
Version: 2.0.0
Text Domain: frej-hitech
*/

:root {
    --navy: #0F172A;
    --navy-mid: #1E293B;
    --cyan: #0284C7;
    --cyan-hover: #0369A1;
    --cyan-soft: #E0F2FE;
    --amber: #F59E0B;
    --amber-hover: #D97706;
    --bg-body: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #475569;
    --text-light: #94A3B8;
    --border-color: #E2E8F0;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem; /* 16px base body */
    line-height: 1.65;
    color: var(--text-main);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--navy);
}

h1 { font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 800; } /* 36px - 52px */
h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); } /* 28px - 38px */
h3 { font-size: 1.35rem; } /* 21.6px */
h4 { font-size: 1.1rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================================
   1. DUAL-TIER UTILITY & STICKY DROPDOWN HEADER (Zulten Style)
   ========================================================= */
.utility-bar {
    background-color: var(--navy);
    color: #CBD5E1;
    font-size: 0.8125rem; /* 13px */
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.utility-links, .utility-contact {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.utility-links a:hover, .utility-contact a:hover {
    color: var(--amber);
}

.utility-pill {
    background: rgba(245, 158, 11, 0.16);
    color: var(--amber);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 2px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.75rem;
}

.site-header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--navy);
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--cyan) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
}

.brand-logo span.highlight {
    color: var(--cyan);
}

/* Primary Nav & Hover Dropdowns */
.primary-nav > ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.primary-nav > ul > li {
    position: relative;
}

.primary-nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    font-size: 0.9375rem; /* 15px */
    font-weight: 600;
    color: var(--navy);
    border-radius: var(--radius-sm);
}

.primary-nav > ul > li > a:hover,
.primary-nav > ul > li.current-menu-item > a,
.primary-nav > ul > li.current-menu-ancestor > a {
    color: var(--cyan);
    background-color: rgba(2, 132, 199, 0.06);
}

.has-dropdown > a::after {
    content: '▾';
    font-size: 0.75rem;
    opacity: 0.7;
    transition: transform 0.2s;
}

.has-dropdown:hover > a::after {
    transform: rotate(180deg);
}

/* Dropdown Submenu Panel */
.sub-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 260px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 10px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
}

.primary-nav > ul > li:hover > .sub-menu,
.primary-nav > ul > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.sub-menu li a strong {
    display: block;
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 600;
}

.sub-menu li a span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 2px;
}

.sub-menu li a:hover {
    background: var(--bg-body);
    color: var(--cyan);
}

.sub-menu li a:hover strong {
    color: var(--cyan);
}

.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-size: 0.9375rem; /* 15px */
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--cyan);
    color: #fff;
}

.btn-primary:hover {
    background: var(--cyan-hover);
    transform: translateY(-1px);
}

.btn-amber {
    background: var(--amber);
    color: var(--navy);
}

.btn-amber:hover {
    background: var(--amber-hover);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-light {
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}

.btn-outline-dark {
    border: 1.5px solid var(--border-color);
    color: var(--navy);
    background: #fff;
}

.btn-outline-dark:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

/* =========================================================
   2. HERO & INNER PAGE BANNERS
   ========================================================= */
.hero-enterprise {
    background: radial-gradient(circle at 85% 20%, rgba(2, 132, 199, 0.22) 0%, transparent 45%),
                linear-gradient(135deg, var(--navy) 0%, #172554 100%);
    color: #fff;
    padding: 96px 0 88px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 48px;
    align-items: center;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--amber);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.hero-enterprise h1 {
    color: #fff;
    margin-bottom: 20px;
}

.hero-enterprise p.lead {
    font-size: 1.125rem; /* 18px */
    color: #CBD5E1;
    margin-bottom: 34px;
    max-width: 640px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-trust-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(12px);
}

.hero-trust-card h3 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.credential-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.875rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.credential-row:last-child {
    border-bottom: none;
}

.credential-row span:first-child {
    color: #94A3B8;
}

.credential-row span:last-child {
    color: #fff;
    font-weight: 600;
}

.inner-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: #fff;
    padding: 64px 0;
    border-bottom: 4px solid var(--amber);
}

.inner-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 12px;
}

.inner-hero p {
    color: #CBD5E1;
    max-width: 680px;
    font-size: 1.0625rem;
}

/* =========================================================
   3. NUMBERED 01 / 02 / 03 SOLUTION PILLARS (Zulten Suite Pattern)
   ========================================================= */
.section-pad {
    padding: 84px 0;
}

.section-white {
    background: var(--bg-white);
}

.section-title-block {
    max-width: 720px;
    margin-bottom: 52px;
}

.section-title-block.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--cyan);
    display: block;
    margin-bottom: 10px;
}

.section-title-block p {
    color: var(--text-muted);
    font-size: 1.0625rem;
    margin-top: 12px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pillar-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-color: var(--cyan);
    box-shadow: var(--shadow-md);
}

.pillar-number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(2, 132, 199, 0.14);
    position: absolute;
    top: 28px;
    right: 28px;
}

.pillar-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cyan);
    background: var(--cyan-soft);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
    width: fit-content;
}

.pillar-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.pillar-card p.pillar-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.pillar-list {
    list-style: none;
    margin-bottom: 28px;
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
}

.pillar-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 0.925rem;
    color: var(--text-main);
}

.pillar-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--amber);
    font-weight: 800;
}

.read-more-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--cyan);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more-link:hover {
    color: var(--navy);
    gap: 10px;
}

/* =========================================================
   4. WHO WE ARE + METRIC CALLOUT SPLIT (Zulten Pattern)
   ========================================================= */
.split-about {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.stat-showcase {
    background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
}

.stat-showcase::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.14);
}

.big-metric {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--amber);
    margin-bottom: 8px;
}

.metric-caption {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 24px;
}

.mini-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 22px;
}

.mini-metrics div strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #38BDF8;
}

.mini-metrics div span {
    font-size: 0.82rem;
    color: #CBD5E1;
}

.checklist-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    list-style: none;
    margin: 26px 0 32px;
}

.checklist-2col li {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checklist-2col li span.dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--cyan-soft);
    color: var(--cyan);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* =========================================================
   5. NUMBERED INTERACTIVE FAQ ACCORDION (Zulten Pattern)
   ========================================================= */
.faq-container {
    max-width: 880px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item.active {
    border-color: var(--cyan);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 26px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-num {
    color: var(--cyan);
    margin-right: 10px;
}

.faq-toggle-icon {
    font-size: 1.35rem;
    color: var(--cyan);
    font-weight: 400;
    transition: transform 0.25s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 26px;
    color: var(--text-muted);
    font-size: 0.96rem;
}

.faq-item.active .faq-answer {
    max-height: 260px;
    padding-bottom: 22px;
}

/* =========================================================
   6. SECTOR / CLIENT STRIP
   ========================================================= */
.sector-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.sector-pill {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 12px 22px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy-mid);
    box-shadow: var(--shadow-sm);
}

/* =========================================================
   7. TABLES, CARDS & FORMS (Inner Pages)
   ========================================================= */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card-box {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.data-table th, .data-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.data-table th {
    background: var(--navy);
    color: #fff;
    font-family: var(--font-heading);
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 36px;
}

.filter-tab {
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-muted);
    cursor: pointer;
}

.filter-tab.active, .filter-tab:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--navy);
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--cyan);
}

/* =========================================================
   8. FOOTER WITH NEWSLETTER & COOKIE NOTICE (Zulten Pattern)
   ========================================================= */
.site-footer {
    background: var(--navy);
    color: #CBD5E1;
    padding: 72px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 36px;
    margin-bottom: 48px;
}

.site-footer h4 {
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 18px;
}

.site-footer ul {
    list-style: none;
}

.site-footer li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.site-footer a:hover {
    color: var(--amber);
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.newsletter-form input {
    flex: 1;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: #94A3B8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: #94A3B8;
}

/* Cookie Bar */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 960px;
    margin: 0 auto;
    background: var(--navy-mid);
    color: #E2E8F0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    z-index: 2000;
    font-size: 0.875rem;
}

.cookie-banner.hidden {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.65rem;
    color: var(--navy);
    cursor: pointer;
}

@media (max-width: 992px) {
    .hero-grid, .split-about { grid-template-columns: 1fr; }
    .pillars-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .mobile-menu-btn { display: block; }
    .primary-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px 24px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }
    .primary-nav.open { display: block; }
    .primary-nav > ul { flex-direction: column; align-items: flex-start; }
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 16px;
        display: none;
    }
    .has-dropdown.open > .sub-menu { display: block; }
    .nav-cta-group { display: none; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .checklist-2col { grid-template-columns: 1fr; }
    .cookie-banner { flex-direction: column; align-items: flex-start; }
}
