/* Home-page-specific overrides (lifted from main.html inline style block) */

.home-hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--nav-height);
    overflow: hidden;
    background: #fff;
}
.home-hero-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center center;
    opacity: 0.45;
}
.home-hero-overlay {
    position: absolute; inset: 0;
    background: rgba(255,255,255,0.48);
    z-index: 1;
}

.home-hero-content {
    position: relative; z-index: 2;
    max-width: 1400px; margin: 0 auto;
    padding: 60px 48px 80px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: start;
    min-height: calc(100vh - var(--nav-height));
}

.logo-anim-wrapper { width: 100%; }

.logo-anim-module {
    background: rgba(255,255,255,0.96) !important;
    border: none !important;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18) !important;
    border-radius: 28px !important;
    padding: 40px 36px 36px !important;
    animation: scaleIn 0.6s var(--ease-out) both;
    transition: background 0.8s ease, box-shadow 0.8s ease !important;
}
.logo-anim-module.anim-done {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
.logo-anim-video { background: transparent !important; }

.logo-anim-end {
    background: transparent !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.6s ease, max-height 0.6s ease;
    pointer-events: none;
}
.logo-anim-end.visible {
    opacity: 1;
    max-height: 600px;
    pointer-events: all;
}

.logo-anim-logo {
    width: 220px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.18));
    margin-bottom: 8px;
}

.service-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: 100%;
}
.service-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 10px 18px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.service-block:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.22); color: #fff; }
.service-block i { font-size: 28px !important; margin-bottom: 10px !important; display: block; }
.service-block-software    { background: linear-gradient(145deg, #1d4ed8, #2563eb); }
.service-block-consultancy { background: linear-gradient(145deg, #be185d, #db2777); }
.service-block-training    { background: linear-gradient(145deg, #c2410c, #ea580c); }

.sector-features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 20px;
}
.sector-feature-item {
    text-align: center;
    padding: 18px 8px 16px;
    background: rgba(29, 78, 216, 0.55);
    border-radius: 14px;
    border: 1.5px solid rgba(147,197,253,0.7);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(6px);
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.sector-feature-item:hover {
    background: rgba(30, 58, 138, 0.92);
    border-color: rgba(147,197,253,0.95);
    transform: translateY(-4px);
    color: #ffffff;
}
.sector-feature-item i {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
    color: #bfdbfe;
}

.hero-text { padding-top: 8px; }

.hero-eyebrow-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4B4E51 0%, #5A5D61 100%);
    border: 2px solid #E09520;
    border-radius: 50px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #F0A033;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(224,149,32,0.3);
}
.hero-eyebrow-large i { font-size: 15px; color: #F0A033; }

.hero-title-large {
    font-size: clamp(44px, 5.5vw, 72px) !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    color: #0c1e4a !important;
    margin: 0 0 22px 0 !important;
    letter-spacing: -0.02em;
}

.hero-sub-large {
    font-size: 23px;
    font-weight: 700;
    color: #0c2461;
    line-height: 1.45;
    margin-bottom: 16px;
    text-shadow: 0 1px 6px rgba(255,255,255,0.9), 0 0 2px rgba(255,255,255,0.9);
}

.hero-body-large {
    font-size: 19px;
    font-weight: 500;
    color: #0c1e4a;
    line-height: 1.7;
    margin-bottom: 32px;
    text-shadow: none;
}

.hero-chips-large {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}
.hero-chip-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(29,78,216,0.55);
    color: #ffffff;
    border: 1.5px solid rgba(147,197,253,0.7);
    border-radius: 50px;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 700;
    backdrop-filter: blur(6px);
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, background 0.2s ease;
}
.hero-chip-large:hover { transform: translateY(-3px); background: rgba(30,58,138,0.92); }
.hero-chip-large i { font-size: 18px; color: #bfdbfe; }

/* Why Brolly alternating rows */
#wb-alt-section { background: #fff; padding: 0; display: block; }
.wb-alt-header { text-align: center; padding: 72px 48px 40px; background: #fff; }
.wb-alt-header .wb-alt-overline { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #3b82f6; margin-bottom: 12px; }
.wb-alt-header h2 { font-size: clamp(28px, 3vw, 44px); font-weight: 700; color: #0f172a; margin: 0; }
.wb-alt-rows { padding: 0 0 80px; }
.wb-alt-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #f1f5f9; align-items: stretch; }
.wb-alt-row:first-of-type { border-top: none; }
.wb-alt-img { display: flex; align-items: center; justify-content: center; background: #f1f5f9; overflow: hidden; padding: 24px; }
.wb-alt-img img { width: 100%; height: auto; display: block; max-width: 100%; object-fit: contain; border-radius: 18px; transition: transform 0.55s ease; }
.wb-alt-row:hover .wb-alt-img img { transform: scale(1.02); }
.wb-alt-copy { display: flex; flex-direction: column; justify-content: center; padding: 64px 72px; background: #fff; }
.wb-alt-row.wb-reverse .wb-alt-img { order: 2; }
.wb-alt-row.wb-reverse .wb-alt-copy { order: 1; }
.wb-alt-row.wb-reverse .wb-alt-copy,
.wb-alt-row:nth-child(even) .wb-alt-copy { background: #f8fafc; }
.wb-alt-row:nth-child(even) { background: #f8fafc; }
.wb-alt-num { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.wb-alt-row:nth-child(1) .wb-alt-num { color: #3b82f6; }
.wb-alt-row:nth-child(2) .wb-alt-num { color: #8b5cf6; }
.wb-alt-row:nth-child(3) .wb-alt-num { color: #0d9488; }
.wb-alt-row:nth-child(4) .wb-alt-num { color: #f59e0b; }
.wb-alt-row:nth-child(5) .wb-alt-num { color: #ec4899; }
.wb-alt-title { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; color: #0f172a; line-height: 1.2; margin-bottom: 16px; }
.wb-alt-desc { font-size: 18px; line-height: 1.85; color: #475569; margin-bottom: 32px; }
.wb-alt-desc strong { color: #1e293b; }
.wb-alt-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px; border-radius: 50px; font-size: 14px; font-weight: 700; text-decoration: none; width: fit-content; transition: all .22s ease; border: none; }
.wb-alt-row:nth-child(1) .wb-alt-btn { background: #3b82f6; color: #fff; }
.wb-alt-row:nth-child(1) .wb-alt-btn:hover { background: #2563eb; }
.wb-alt-row:nth-child(2) .wb-alt-btn { background: #8b5cf6; color: #fff; }
.wb-alt-row:nth-child(2) .wb-alt-btn:hover { background: #7c3aed; }
.wb-alt-row:nth-child(3) .wb-alt-btn { background: #0d9488; color: #fff; }
.wb-alt-row:nth-child(3) .wb-alt-btn:hover { background: #0f766e; }
.wb-alt-row:nth-child(4) .wb-alt-btn { background: #f59e0b; color: #fff; }
.wb-alt-row:nth-child(4) .wb-alt-btn:hover { background: #d97706; }
.wb-alt-row:nth-child(5) .wb-alt-btn { background: #1d4ed8; color: #fff; }
.wb-alt-row:nth-child(5) .wb-alt-btn:hover { background: #1e40af; }

@media (max-width: 1100px) {
    .home-hero-content { grid-template-columns: 1fr 1fr; gap: 36px; padding: 48px 32px 64px; }
    .hero-title-large { font-size: clamp(36px, 4.5vw, 56px) !important; }
}
@media (max-width: 900px) {
    .wb-alt-row { grid-template-columns: 1fr; }
    .wb-alt-copy { padding: 48px 36px; }
    .wb-alt-row.wb-reverse .wb-alt-img  { order: 0; }
    .wb-alt-row.wb-reverse .wb-alt-copy { order: 0; }
}
@media (max-width: 860px) {
    .home-hero-content { grid-template-columns: 1fr; gap: 40px; padding: 40px 24px 60px; }
    .sector-features { grid-template-columns: repeat(3,1fr); }
    .hero-sub-large { font-size: 24px; }
    .hero-body-large { font-size: 20px; }
}
@media (max-width: 540px) {
    .home-hero-content { padding: 28px 16px 48px; gap: 28px; }
    .sector-features { grid-template-columns: repeat(2,1fr); gap: 8px; margin-top: 12px; }
    .hero-title-large { font-size: clamp(26px, 8vw, 38px) !important; }
    .hero-sub-large { font-size: 19px; }
    .hero-body-large { font-size: 16px; }
    .wb-alt-copy { padding: 40px 24px; }
    .wb-alt-header { padding: 56px 24px 32px; }
}
