/* ============================================================
   TOGABE SCHOOLS — About Us Page Stylesheet
   ============================================================ */

/* ── Intro Section ── */
.about-intro {
    padding: 5rem 0;
    background: #fff;
}
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-intro-visual {
    position: relative;
}
.about-intro-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.about-intro-box::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='%23ffffff' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E");
}
.about-intro-box-content { position: relative; z-index: 1; }
.about-intro-icon {
    width: 90px; height: 90px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(255,255,255,0.2);
}
.about-intro-icon [data-lucide] { width: 44px; height: 44px; color: #fff; }
.about-intro-box h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.5rem; }
.about-intro-box p  { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin: 0; line-height: 1.7; }

.about-float-cards {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.about-float-card {
    background: #fff;
    border-radius: 12px;
    padding: 0.875rem 1.1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    white-space: nowrap;
}
.about-float-card-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.about-float-card-icon [data-lucide] { width: 16px; height: 16px; }
.about-float-card-value { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); line-height: 1.2; }
.about-float-card-label { font-size: 0.72rem; color: var(--text-muted); }

/* ── Mission & Vision ── */
.mission-vision {
    padding: 5rem 0;
    background: var(--bg-section);
}
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.mv-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1.5px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.mv-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-3px);
}
.mv-card-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
}
.mv-card-accent-primary { background: var(--primary); }
.mv-card-accent-success  { background: var(--success); }

.mv-icon {
    width: 60px; height: 60px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
}
.mv-icon [data-lucide] { width: 28px; height: 28px; }
.mv-icon-primary { background: var(--primary-light); color: var(--primary); }
.mv-icon-success { background: #d1fae5; color: #059669; }

.mv-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.mv-card p  { color: var(--text-muted); line-height: 1.8; margin: 0; }

/* ── Core Values ── */
.values-section {
    padding: 5rem 0;
    background: #fff;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.value-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.value-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-3px);
}
.value-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: -0.5rem;
}
.value-icon {
    width: 50px; height: 50px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.value-icon [data-lucide] { width: 22px; height: 22px; }
.value-icon-primary { background: var(--primary-light); color: var(--primary); }
.value-icon-success { background: #d1fae5; color: #059669; }
.value-icon-warning { background: #fef3c7; color: #d97706; }
.value-icon-danger  { background: #fee2e2; color: #dc2626; }
.value-icon-info    { background: #dbeafe; color: #2563eb; }
.value-icon-purple  { background: #ede9fe; color: #7c3aed; }

.value-card h4 { font-size: 1.1rem; margin: 0; }
.value-card p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ── Timeline ── */
.timeline-section {
    padding: 5rem 0;
    background: var(--bg-section);
}
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
}
.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 2rem);
    margin-bottom: 3rem;
    position: relative;
}
.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 2rem);
}
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 1.25rem;
    transform: translateX(-50%);
    width: 14px; height: 14px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--primary-light);
    z-index: 1;
}
.timeline-content {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.375rem 1.5rem;
    transition: var(--transition);
    max-width: 340px;
    width: 100%;
}
.timeline-content:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.timeline-year {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: #fff;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: 0.03em;
}
.timeline-content h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.timeline-content p  { font-size: 0.84rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ── Team Section ── */
.team-section {
    padding: 5rem 0;
    background: #fff;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.team-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}
.team-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.team-avatar {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 0.5px;
}
.team-card h5 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.team-card p  { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* ── CTA ── */
.about-cta {
    padding: 5rem 0;
    background: var(--bg-section);
}
.about-cta-inner {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    border-radius: 20px;
    padding: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.about-cta-inner::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='%23ffffff' fill-opacity='0.025'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.about-cta-text { position: relative; z-index: 1; flex: 1; min-width: 260px; }
.about-cta-text h2 { color: #fff; font-size: 1.75rem; margin-bottom: 0.75rem; }
.about-cta-text p  { color: rgba(255,255,255,0.65); margin: 0; line-height: 1.7; }
.about-cta-actions { position: relative; z-index: 1; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .team-grid   { grid-template-columns: repeat(2,1fr); }
    .values-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
    .about-intro-grid { grid-template-columns: 1fr; }
    .about-intro-visual { display: none; }
    .mv-grid     { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .team-grid   { grid-template-columns: repeat(2,1fr); }
    .about-cta-inner { flex-direction: column; text-align: center; padding: 2.5rem 1.5rem; }
    .about-cta-actions { justify-content: center; }

    /* Timeline mobile */
    .timeline::before { left: 16px; transform: none; }
    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 3rem;
        padding-right: 0;
    }
    .timeline-dot { left: 10px; transform: none; }
    .timeline-content { max-width: 100%; }
}
@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
}