/**
 * ============================================================================
 * HOSPITAL ERP — PUBLIC WEBSITE: ABOUT / TECH COMPANY STYLES
 * Path: front/assets/css/about.css
 * ============================================================================
 */

/* -----------------------------------------------------------------------------
   1. Tech Company Intro & Hero Badges
   ----------------------------------------------------------------------------- */
.about-tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 106, 0, 0.12);
    border: 1px solid rgba(255, 106, 0, 0.25);
    color: #ff6a00;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}
.about-tech-tag i {
    font-size: 14px;
}

.about-intro-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}
@media (max-width: 992px) {
    .about-intro-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.tech-spec-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 12px 36px rgba(0, 39, 92, 0.06);
    position: relative;
    overflow: hidden;
}
.tech-spec-box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6a00, #0284c7, #ff6a00);
}

.tech-spec-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}
.tech-spec-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.tech-spec-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    background: #f0fdfa;
    color: #ff6a00;
    border: 1px solid #ccfbf1;
}

/* -----------------------------------------------------------------------------
   2. Custom Software Engineering Capabilities Grid (6 Cards)
   ----------------------------------------------------------------------------- */
.custom-caps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 36px;
}

.custom-cap-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 32px 28px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}
.custom-cap-card:hover {
    transform: translateY(-6px);
    border-color: #ff6a00;
    box-shadow: 0 16px 36px rgba(0, 39, 92, 0.10);
}

.custom-cap-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0fdfa 0%, #e6fffa 100%);
    border: 1px solid #99f6e4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.custom-cap-card h3 {
    font-family: var(--display, 'Manrope', sans-serif);
    font-size: 20px;
    font-weight: 800;
    color: #0a192f;
    margin: 0 0 6px;
    line-height: 1.3;
}

.custom-cap-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: #ff6a00;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    display: block;
}

.custom-cap-card p {
    color: #64748b;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 18px;
    flex-grow: 1;
}

.custom-cap-features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px dashed #e2e8f0;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.custom-cap-features li {
    font-size: 13px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}
.custom-cap-features li i {
    color: #10b981;
    font-size: 13px;
    flex-shrink: 0;
}

/* -----------------------------------------------------------------------------
   3. Custom vs Generic Comparison Matrix
   ----------------------------------------------------------------------------- */
.comparison-table-wrap {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
    margin-top: 32px;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.comparison-table th {
    background: #f8fafc;
    padding: 18px 24px;
    font-family: var(--display, 'Manrope', sans-serif);
    font-size: 15px;
    font-weight: 800;
    color: #0a192f;
    border-bottom: 2px solid #e2e8f0;
}
.comparison-table th.col-custom {
    background: #0a192f;
    color: #ff6a00;
    border-bottom: 2px solid #ff6a00;
}
.comparison-table td {
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    line-height: 1.6;
    vertical-align: top;
}
.comparison-table tr:last-child td {
    border-bottom: none;
}
.comparison-table td.col-criteria {
    font-weight: 700;
    color: #0f172a;
    width: 25%;
}
.comparison-table td.col-generic {
    color: #64748b;
    background: #fafafa;
    width: 37.5%;
}
.comparison-table td.col-custom {
    color: #0a192f;
    background: #f0fdfa;
    font-weight: 500;
    width: 37.5%;
    border-left: 2px solid #99f6e4;
}

@media (max-width: 768px) {
    .comparison-table-wrap {
        overflow-x: auto;
    }
    .comparison-table {
        min-width: 650px;
    }
}

/* -----------------------------------------------------------------------------
   4. Engineering Methodology Timeline (5 Steps)
   ----------------------------------------------------------------------------- */
.dev-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 36px;
    position: relative;
}
.dev-process-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 22px;
    position: relative;
    transition: all 0.25s ease;
}
.dev-process-card:hover {
    transform: translateY(-4px);
    border-color: #ff6a00;
    box-shadow: 0 10px 25px rgba(0, 39, 92, 0.08);
}
.dev-process-num {
    font-family: var(--display, 'Manrope', sans-serif);
    font-size: 28px;
    font-weight: 800;
    color: #ff6a00;
    opacity: 0.85;
    margin-bottom: 12px;
    line-height: 1;
}
.dev-process-card h4 {
    font-family: var(--display, 'Manrope', sans-serif);
    font-size: 16px;
    font-weight: 800;
    color: #0a192f;
    margin: 0 0 6px;
    line-height: 1.3;
}
.dev-process-tagline {
    font-size: 12px;
    font-weight: 700;
    color: #0284c7;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: block;
    margin-bottom: 10px;
}
.dev-process-card p {
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0;
}

/* -----------------------------------------------------------------------------
   5. Tech Stack & Engineering Architecture Box
   ----------------------------------------------------------------------------- */
.tech-stack-container {
    background: linear-gradient(135deg, #001a3d 0%, #0d3846 100%);
    border-radius: 24px;
    padding: 48px;
    color: #ffffff;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) {
    .tech-stack-container {
        padding: 28px 20px;
    }
}
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.tech-stack-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 20px;
    backdrop-filter: blur(8px);
}
.tech-stack-card h5 {
    color: #ff6a00;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 8px;
    font-family: var(--display, 'Manrope', sans-serif);
}
.tech-stack-card p {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}
