/* ============================================================
   DashVision Group – Split Homepage Styles
   Two clickable panels: Cybersecurity Solution | IT Services
   ============================================================ */

html, body.home-split-page {
    height: 100%;
}

body.home-split-page {
    overflow-x: hidden;
}

/* ── TOP BAR ─────────────────────────────────────────────── */
.home-topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--navy-border);
    display: flex;
    align-items: center;
    z-index: 20;
}

.home-logo { text-decoration: none; }

.home-topbar-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.home-topbar-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 50px;
    transition: var(--transition);
}

.home-topbar-links a:hover {
    color: var(--cyan);
    background: rgba(0, 212, 255, 0.08);
}

.home-topbar-sep {
    color: var(--navy-border);
}

/* ── SPLIT CONTAINER ─────────────────────────────────────── */
.split-container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    padding-top: 70px;
}

.split-panel {
    position: relative;
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    min-height: calc(100vh - 70px);
    opacity: 0;
    animation: splitPanelIn 0.7s ease forwards;
    transition: flex-grow 0.45s ease;
}

.split-left  { animation-delay: 0.05s; }
.split-right { animation-delay: 0.2s; }

@keyframes splitPanelIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.split-panel:hover { flex-grow: 1.08; }

.split-panel:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: -4px;
}

.split-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.6s ease;
}

.split-left .split-bg {
    background: radial-gradient(ellipse at 30% 30%, #0d2a4a 0%, #060d1a 55%, #010510 100%);
}

.split-right .split-bg {
    background: radial-gradient(ellipse at 70% 30%, #16324f 0%, #0a1930 55%, #050c1a 100%);
}

.split-panel:hover .split-bg { transform: scale(1.05); }

.split-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45));
    transition: var(--transition);
}

.split-panel:hover .split-overlay { background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.25)); }

.split-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    text-align: center;
    padding: 2.5rem 2rem;
}

.split-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.35);
    color: var(--cyan);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.split-image-wrap {
    margin-bottom: 1.75rem;
}

.split-hero-image {
    max-width: 420px;
    width: 100%;
    mix-blend-mode: screen;
    -webkit-mask-image: radial-gradient(ellipse 62% 62% at center, #000 0%, #000 28%, rgba(0,0,0,0.75) 45%, rgba(0,0,0,0.3) 65%, transparent 88%);
    mask-image: radial-gradient(ellipse 62% 62% at center, #000 0%, #000 28%, rgba(0,0,0,0.75) 45%, rgba(0,0,0,0.3) 65%, transparent 88%);
    filter: drop-shadow(0 0 50px rgba(39, 169, 225, 0.45));
    transition: transform 0.5s ease;
}

.split-panel:hover .split-hero-image { transform: scale(1.05); }

.split-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.9rem;
    margin-bottom: 1.1rem;
}

.split-desc {
    color: var(--text-blue);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.split-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.85rem 2rem;
    border: 1.5px solid var(--cyan);
    border-radius: 50px;
    transition: var(--transition);
}

.split-cta i { transition: transform 0.3s ease; }

.split-panel:hover .split-cta {
    background: var(--cyan);
    color: var(--navy);
}

.split-panel:hover .split-cta i { transform: translateX(5px); }

/* ── IT SERVICES HERO GRAPHIC ────────────────────────────── */
.it-hero-graphic {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.it-glow-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--navy-border);
    box-shadow: 0 0 50px rgba(39, 169, 225, 0.2), inset 0 0 40px rgba(39, 169, 225, 0.08);
    animation: glow-rotate 14s linear infinite;
}

@keyframes glow-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.it-center-icon {
    position: relative;
    width: 124px;
    height: 124px;
    background: linear-gradient(135deg, var(--navy-card), var(--navy-light));
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--cyan);
    box-shadow: 0 0 50px rgba(39, 169, 225, 0.35);
    z-index: 2;
}

.it-orbit-icon {
    position: absolute;
    width: 56px;
    height: 56px;
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--primary);
    transition: var(--transition);
}

.split-panel:hover .it-orbit-icon { border-color: var(--primary); color: var(--cyan); }

.it-orbit-icon.orbit-1 { top: -8px; left: 22px; }
.it-orbit-icon.orbit-2 { top: -8px; right: 22px; }
.it-orbit-icon.orbit-3 { bottom: -8px; left: 22px; }
.it-orbit-icon.orbit-4 { bottom: -8px; right: 22px; }

/* ── DIVIDER ─────────────────────────────────────────────── */
.split-divider {
    position: relative;
    flex: 0 0 2px;
    background: linear-gradient(180deg, transparent, var(--navy-border) 15%, var(--navy-border) 85%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.split-divider-badge {
    position: absolute;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--navy);
    border: 1px solid var(--navy-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-blue);
    box-shadow: var(--shadow-md);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.home-footer {
    background: var(--navy);
    border-top: 1px solid var(--navy-border);
    padding: 1.25rem 0;
    color: var(--text-blue);
    font-size: 0.85rem;
}

/* ── RESPONSIVE: MOBILE STACKS TOP/DOWN ──────────────────── */
@media (max-width: 991.98px) {
    .split-container {
        flex-direction: column;
    }

    .split-panel {
        min-height: 70vh;
        flex: 1 1 auto;
    }

    .split-panel:hover { flex-grow: 1; }

    .split-divider {
        flex: 0 0 2px;
        width: 100%;
        background: linear-gradient(90deg, transparent, var(--navy-border) 15%, var(--navy-border) 85%, transparent);
    }

    .home-topbar-links a span { display: none; }
}

@media (max-width: 575.98px) {
    .split-hero-image { max-width: 260px; }
    .it-hero-graphic { width: 210px; height: 210px; }
    .it-center-icon { width: 92px; height: 92px; font-size: 2.2rem; }
    .home-topbar-links { font-size: 0.75rem; }
}
