/**
 * Ravian Pharmaceuticals Limited
 * Dedicated Stylesheet: about.css
 * Brand Approach: Royal Blue + Soft Warm Yellow/Gold (Airy, Light & Modern)
 */

/* Page Header & Breadcrumb */
.inner-page-hero {
    background: radial-gradient(circle at 85% 30%, rgba(245, 158, 11, 0.08) 0%, rgba(29, 78, 216, 0.06) 40%, #FFFFFF 85%);
    padding: 30px 0 30px;
    border-bottom: 1px solid var(--rp-border);
    position: relative;
    overflow: hidden;
}

.inner-breadcrumb-nav .breadcrumb {
    margin-bottom: 12px;
    background: transparent;
    padding: 0;
    font-size: 13.5px;
    font-weight: 600;
}

.inner-breadcrumb-nav .breadcrumb-item a {
    color: var(--rp-blue);
}

.inner-breadcrumb-nav .breadcrumb-item.active {
    color: var(--rp-text-muted);
}
.inner-hero-title {
    font-size: 30px;
    font-weight: 600;
    color: var(--rp-navy);
    line-height: 1.2;
    margin-bottom: 8px;
}
.inner-hero-subtitle {
    font-size: 15.5px;
    color: #2d3137;
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 0;
}
.about-history-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f6e6a59c;
    color: #1b1b1a;
    /* border: 1px solid var(--rp-yellow-border); */
    font-size: 12.5px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--rp-radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
}
.about-story-text {
    font-size: 14.5px;
    color: #3f4349;
    line-height: 1.8;
    margin-bottom: 9px;
}

/* Feature Check Matrix */
.about-feature-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 28px 0;
}
.feature-matrix-item {
    background: #e5ebb945;
    /* border: 1px solid #E2E8F0; */
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
}
.feature-matrix-item:hover {
    background: #FFFFFF;
    border-color: var(--rp-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(22, 51, 92, 0.08);
}
.feature-matrix-item i {
    font-size: 18px;
    color: #a6841e;
    flex-shrink: 0;
}
.feature-matrix-item strong {
    font-size: 13.5px;
    color: #000;
}

/* Milestone Timeline */
.timeline-track {
    position: relative;
    padding: 20px 0;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--rp-blue-light);
    border-left: 2px dashed var(--rp-blue);
    transform: translateX(-50%);
}

.timeline-card-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-card-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 17px;
    box-shadow: 0 6px 20px rgba(22, 51, 92, 0.05);
    position: relative;
    transition: all 0.25s ease;
}

.timeline-card-box:hover {
    border-color: var(--rp-blue);
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(29, 78, 216, 0.10);
}
.timeline-year-tag {
    display: inline-block;
    background: #fbeaa7;
    color: #252728;
    font-weight: 600;
    font-size: 13px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.timeline-card-box h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--rp-navy);
    margin-bottom: 8px;
}

.timeline-card-box p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 0;
}

.timeline-node-dot {
    position: absolute;
    left: 50%;
    top: 24px;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--rp-blue);
    border: 4px solid #FFFFFF;
    box-shadow: 0 0 0 4px var(--rp-blue-light);
    z-index: 2;
}

/* Infrastructure Grid */
.infra-card {
    background: #FFFFFF;
    border: 1px solid #f3dcc8d1;
    border-radius: 18px;
    padding: 12px 19px;
    text-align: center;
    transition: all 0.25s ease;
    height: 100%;
}

.infra-card:hover {
    border-color: var(--rp-blue);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(29, 78, 216, 0.08);
}

.infra-icon-wrap {
    width: 55px;
    height: 55px;
    border-radius: 18px;
    background: var(--rp-blue-light);
    color: var(--rp-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px;
    transition: all 0.25s ease;
}

.infra-card:hover .infra-icon-wrap {
    background: var(--rp-yellow-light);
    color: var(--rp-yellow-dark);
    transform: rotate(6deg) scale(1.08);
}

.infra-card h5 {
    font-size: 17px;
    font-weight: 700;
    color: var(--rp-navy);
    margin-bottom: 8px;
}

.infra-card p {
    font-size: 13.5px;
    color: #64748B;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .inner-hero-title {
        font-size: 28px;
    }
    
    .timeline-track::before {
        left: 20px;
    }
    
    .timeline-node-dot {
        left: 20px;
    }
    
    .timeline-card-box {
        margin-left: 45px;
    }
}
