/* ==========================================================================
   Zenix IT Solutions — business-consulting.css
   Plain CSS version (Tailwind removed) — cleaned of unused rules
   ========================================================================== */

:root {
    --navy: #1A3D79;
    --dark-navy: #122B57;
    --orange: #FF5D05;
    --dark-orange: #D94E00;
    --accent: #9C2D07;
    --light-bg: #EAF0FA;
    --canvas: #F6F8FC;
    --border: #CBD7E8;
    --text: #12213A;
    --muted: #536174;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--canvas);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
}

::selection {
    background-color: var(--orange);
    color: #ffffff;
}

/* ---------- Layout ---------- */

.main {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 16px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

@media (min-width: 640px) {
    .main {
        padding: 64px 24px;
        gap: 112px;
    }
}

@media (min-width: 1024px) {
    .main {
        padding: 64px 32px;
    }
}

.section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.section-narrow {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.section-head-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .section-head-row {
        flex-direction: row;
        align-items: flex-end;
    }
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-desc {
    color: var(--muted);
    font-size: 0.875rem;
    margin: 0;
}

@media (min-width: 640px) {
    .section-desc {
        font-size: 1rem;
    }
}

.section-desc-narrow {
    max-width: 640px;
    margin-top: 8px;
}

/* ---------- Badge ---------- */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    color: var(--navy);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.badge-pill {
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.pill-counter {
    font-size: 12px;
    font-weight: 700;
    color: var(--orange);
    background: #fff;
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
}

.pill-counter .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
}

/* ---------- Buttons ---------- */

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    background: var(--dark-orange);
}

.btn-large {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ---------- Hero ---------- */

.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero {
        grid-template-columns: repeat(12, 1fr);
        gap: 56px;
    }

    .hero-content {
        grid-column: span 7;
    }

    .hero-visual {
        grid-column: span 5;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-title span {
    color: var(--navy);
}

.hero-desc {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 640px;
    margin: 0;
}

@media (min-width: 640px) {
    .hero-desc {
        font-size: 1.125rem;
    }
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(234, 240, 250, 0.6);
    border-radius: 12px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
}

@media (min-width: 640px) {
    .stat-value {
        font-size: 1.875rem;
    }
}

.stat-value.navy {
    color: var(--navy);
}

.stat-value.orange {
    color: var(--orange);
}

.stat-value.accent {
    color: var(--accent);
}

.stat-label {
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
}

@media (min-width: 640px) {
    .stat-label {
        font-size: 12px;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 4px solid #fff;
    background: var(--navy);
}

.hero-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.7s ease;
}

@media (min-width: 640px) {
    .hero-img {
        height: 384px;
    }
}

.hero-card:hover .hero-img {
    transform: scale(1.05);
}

.hero-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--dark-navy), transparent 60%);
}

.hero-card-info {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.hero-card-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hero-card-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
}

.hero-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

/* ---------- Cards (Challenges) ---------- */

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--navy);
}

.card-image {
    position: relative;
    height: 176px;
    width: 100%;
    background: var(--navy);
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--dark-navy), transparent 60%);
}

.card-image-tags {
    position: absolute;
    bottom: 12px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tag {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.tag-white {
    background: rgba(255, 255, 255, 0.9);
    color: var(--navy);
}

.tag-orange {
    background: var(--orange);
    color: #fff;
}

.tag-navy {
    background: rgba(26, 61, 121, 0.9);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tag-glass {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.tag-block {
    display: inline-block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag-corner {
    position: absolute;
    bottom: 12px;
    left: 16px;
}

.card-body {
    padding: 24px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}

.card-text {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 16px;
}

.card-note {
    background: var(--light-bg);
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-size: 12px;
    color: var(--navy);
    font-weight: 500;
}

/* ---------- Bento Grid (Services) ---------- */

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bento-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--navy);
}

@media (min-width: 768px) {
    .bento-large {
        grid-column: span 2;
    }
}

.bento-image {
    position: relative;
    height: 192px;
    width: 100%;
    background: var(--navy);
    overflow: hidden;
}

.bento-image-small {
    height: 144px;
}

.bento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.7s ease;
}

.bento-card:hover .bento-image img {
    transform: scale(1.05);
}

.bento-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--dark-navy), transparent 60%);
}

.bento-image-info {
    position: absolute;
    bottom: 16px;
    left: 24px;
    right: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.bento-image-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.bento-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bento-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.bento-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}

.bento-text {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.bento-text-sm {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 16px;
}

.bento-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    background: var(--canvas);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
}

@media (min-width: 480px) {
    .bento-list {
        grid-template-columns: 1fr 1fr;
    }
}

.bento-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bullet {
    color: var(--orange);
}

.bento-footer {
    font-size: 12px;
    color: var(--orange);
    font-weight: 600;
}

/* ---------- Process Phases ---------- */

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.phase-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phase-card:hover {
    border-color: var(--navy);
}

.phase-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.phase-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.phase-number {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.phase-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.phase-text {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.phase-meta {
    font-size: 11px;
    font-weight: 600;
    color: var(--orange);
}

/* ---------- FAQ ---------- */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.faq-question {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    margin: 0 0 8px;
}

.faq-answer {
    font-size: 0.8125rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 640px) {
    .faq-answer {
        font-size: 0.875rem;
    }
}

/* ---------- CTA ---------- */

.cta {
    background: linear-gradient(to right, var(--dark-navy), var(--navy), var(--dark-navy));
    color: #fff;
    padding: 32px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--navy);
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

@media (min-width: 640px) {
    .cta {
        padding: 48px;
    }
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

.cta-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    max-width: 560px;
    margin: 0;
}

@media (min-width: 640px) {
    .cta-text {
        font-size: 1rem;
    }
}

/* ---------- Scrollbar ---------- */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--canvas);
}

::-webkit-scrollbar-thumb {
    background-color: var(--border);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--navy);
}