/* ============================================================
   ABOUT PAGE STYLES — paste into style.css (end of file)
   ============================================================ */

/* --- Shared Utilities --- */
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

/* --- Hero --- */
.about-hero {
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
    padding: 90px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.about-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.about-hero .about-badge {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,0.3);
}
.about-hero h1 { color: #fff; font-size: 3rem; margin-bottom: 18px; }
.about-hero p { color: rgba(255,255,255,0.88); font-size: 1.15rem; line-height: 1.7; }

/* --- Story Section --- */
.about-story { padding: 90px 0; }
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.about-story-image { position: relative; }
.about-story-image img {
    width: 100%; height: 480px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.about-img-placeholder {
    width: 100%; height: 480px;
    background: var(--gray);
    border-radius: 16px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 16px;
    border: 2px dashed var(--border);
    color: #999;
    text-align: center;
    padding: 30px;
}
.about-img-placeholder i { font-size: 3rem; color: var(--primary); opacity: 0.4; }
.about-img-placeholder p { font-size: 0.9rem; line-height: 1.5; }
.about-story-content h2 { font-size: 2.2rem; margin-bottom: 18px; }
.about-story-content p { color: #555; margin-bottom: 16px; }
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1.5px solid var(--border);
}
.stat-item { text-align: center; }
.stat-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label { font-size: 0.82rem; color: #777; font-weight: 500; letter-spacing: 0.03em; }

/* --- Departments Section --- */
.departments-section {
    padding: 90px 0;
    background: #f8faff;
}
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 70px;
}
.section-header h2 { font-size: 2.4rem; margin-bottom: 14px; }
.section-header p { color: #666; font-size: 1.05rem; }

/* --- Dept Block --- */
.dept-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}
.dept-block:last-child { margin-bottom: 0; }

/* Right variant: flip image & text */
.dept-block--right { }
.dept-block--right .dept-image { order: 2; }
.dept-block--right .dept-content { order: 1; }

.dept-image { position: relative; }
.dept-image img {
    width: 100%; height: 440px;
    object-fit: cover;
    display: block;
}
.dept-img-placeholder {
    width: 100%; height: 440px;
    background: var(--primary-light);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 14px;
    color: var(--primary);
}
.dept-img-placeholder i { font-size: 3.5rem; opacity: 0.5; }
.dept-img-placeholder span { font-size: 0.85rem; font-weight: 600; opacity: 0.7; }

.dept-number {
    position: absolute;
    top: 20px; left: 20px;
    background: var(--primary);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    width: 56px; height: 56px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    letter-spacing: -0.03em;
    box-shadow: 0 4px 16px rgba(0,82,204,0.35);
}

.dept-content { padding: 50px 50px 50px 30px; }
.dept-block--right .dept-content { padding: 50px 30px 50px 50px; }

.dept-icon-wrap {
    width: 52px; height: 52px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.dept-icon-wrap i { font-size: 1.4rem; color: var(--primary); }

.dept-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}
.dept-content h3 {
    font-size: 1.9rem;
    margin-bottom: 16px;
    color: var(--dark);
}
.dept-content p { color: #555; font-size: 0.97rem; margin-bottom: 14px; line-height: 1.75; }

.dept-features {
    list-style: none;
    padding: 0; margin: 0;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.dept-features li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 0.88rem; color: #444; font-weight: 500;
}
.dept-features li i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

/* --- CTA Strip --- */
.about-cta {
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
    padding: 80px 0;
    text-align: center;
}
.about-cta-inner { max-width: 600px; margin: 0 auto; }
.about-cta h2 { color: #fff; font-size: 2.2rem; margin-bottom: 14px; }
.about-cta p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 30px; }
.about-cta .btn {
    background: #fff;
    color: var(--primary);
    font-size: 1rem;
    padding: 15px 40px;
}
.about-cta .btn:hover { background: #f0f4ff; transform: translateY(-2px); }

/* --- Responsive --- */
@media (max-width: 900px) {
    .about-story-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-story-image img,
    .about-img-placeholder { height: 320px; }
    .about-stats { grid-template-columns: repeat(3, 1fr); }

    .dept-block,
    .dept-block--right { grid-template-columns: 1fr; gap: 0; }
    .dept-block--right .dept-image { order: 0; }
    .dept-block--right .dept-content { order: 0; }
    .dept-image img,
    .dept-img-placeholder { height: 280px; }
    .dept-content,
    .dept-block--right .dept-content { padding: 36px; }
    .dept-features { grid-template-columns: 1fr; }
    .about-hero h1 { font-size: 2.2rem; }
}

@media (max-width: 540px) {
    .about-stats { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 2rem; }
}
