/* ================================================
   ZENX TECHNOLOGY — ICT division page styles
   ================================================ */

/* ================================================
   HERO
   ================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ink);
}

.particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 80% 60% at 75% 45%, rgba(var(--brand-rgb),0.16) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 0% 100%, rgba(var(--brand-rgb),0.10) 0%, transparent 60%),
        linear-gradient(160deg, rgba(var(--ink-rgb),0.78) 0%, rgba(var(--ink-rgb),0.55) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 90px;
}
.hero-content .hero-title { max-width: 900px; }
.hero .hero-ctas { margin-bottom: 56px; }

/* ================================================
   TRUST BAR
   ================================================ */
.trust-bar {
    background: var(--ink-2);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.trust-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.trust-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
}
.trust-logos {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.trust-logos span {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.32);
    letter-spacing: 0.03em;
    transition: color 0.3s;
}
.trust-logos span:hover { color: rgba(255,255,255,0.7); }

/* ================================================
   ABOUT
   ================================================ */
.about { background: var(--light); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-card-wrap { position: relative; }
.a-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.a-card-main {
    background: var(--white);
    border: 1px solid var(--border);
}
.a-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--light);
    border-bottom: 1px solid var(--border);
}
.a-card-dots { display: flex; gap: 5px; }
.a-card-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--border);
}
.a-card-dots span:nth-child(1) { background: #FF5F57; }
.a-card-dots span:nth-child(2) { background: #FFBD2E; }
.a-card-dots span:nth-child(3) { background: #28C840; }
.a-card-title-bar {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 0.03em;
}
.a-card-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }

.infra-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.infra-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(var(--brand-rgb),0.09);
    color: var(--brand);
}
.infra-icon svg { width: 18px; height: 18px; }
.infra-icon.alt { background: rgba(var(--ink-rgb),0.07); color: var(--ink-3); }

.infra-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.infra-info span { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.infra-bar {
    height: 5px;
    background: var(--border);
    border-radius: 100px;
    overflow: hidden;
}
.infra-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-dark), var(--brand-bright));
    border-radius: 100px;
}
.infra-fill.alt { background: linear-gradient(90deg, var(--ink-3), var(--steel)); }

.infra-pct {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray);
    width: 34px;
    text-align: right;
    flex-shrink: 0;
}

.a-float-badge {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid var(--brand);
}
.a-float-badge.top-right { top: -18px; right: -18px; color: var(--brand); }
.a-float-badge.bot-left  { bottom: -44px; left: -18px; border-left-color: #22C55E; }

.a-float-badge strong { display: block; font-size: 13px; color: var(--ink); }
.a-float-badge small  { font-size: 11px; color: var(--gray); }
.dot-green {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #22C55E;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
    animation: pulseDot 2s ease infinite;
}

.about-text .section-tag { margin-bottom: 12px; }
.about-text .section-title { text-align: left; margin-bottom: 20px; }

.about-features {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.about-features li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.feat-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(var(--brand-rgb),0.09);
    color: var(--brand);
}
.feat-icon.alt { background: rgba(var(--ink-rgb),0.07); color: var(--ink); }
.about-features li strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 3px; }
.about-features li p { font-size: 14px; color: var(--gray); line-height: 1.55; }

.about-cta-row {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* ================================================
   PROJECTS
   ================================================ */
.projects { background: var(--light); }

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

.proj-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--trans);
    transition-delay: var(--d, 0s);
}
.proj-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.proj-wide { grid-column: span 2; }

.proj-inner {
    padding: 30px;
    height: 100%;
    position: relative;
}

.proj-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand);
    margin-bottom: 10px;
    padding-right: 44px;
}
.proj-card h3 {
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 12px;
    padding-right: 44px;
}
.proj-wide h3 { font-size: 26px; }
.proj-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 20px;
}
.proj-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.proj-meta span {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-3);
    background: var(--light);
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: 100px;
}
.proj-icon-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--brand);
    opacity: 0.6;
    transition: opacity 0.3s;
}
.proj-card:hover .proj-icon-badge { opacity: 1; }

.proj-note {
    text-align: center;
    font-size: 13px;
    color: var(--gray);
    margin-top: 32px;
}

/* ================================================
   CLIENTS TICKER
   ================================================ */
.clients { background: var(--white); overflow: hidden; }

.ticker-outer {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}
.ticker-fade {
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.ticker-fade.left  { left: 0;  background: linear-gradient(90deg, var(--white), transparent); }
.ticker-fade.right { right: 0; background: linear-gradient(-90deg, var(--white), transparent); }

.ticker-track { overflow: hidden; }
.ticker-inner {
    display: flex;
    align-items: center;
    width: max-content;
    animation: tickerScroll 35s linear infinite;
}
.ticker-inner:hover { animation-play-state: paused; }

.cn {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
    opacity: 0.35;
    padding: 0 28px;
    white-space: nowrap;
    transition: opacity 0.3s;
}
.cn:hover { opacity: 0.8; }
.cs {
    color: var(--brand);
    opacity: 0.45;
    font-size: 9px;
    flex-shrink: 0;
}

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
    .proj-grid { grid-template-columns: repeat(2, 1fr); }
    .proj-wide { grid-column: span 2; }
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-visual { display: none; }
    .trust-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 768px) {
    .proj-grid { grid-template-columns: 1fr; }
    .proj-wide { grid-column: span 1; }
    .ticker-fade { width: 48px; }
}

@media (max-width: 520px) {
    .about-cta-row { flex-direction: column; }
    .about-cta-row .btn { justify-content: center; }
}
