/* ================================================
   SUNRISE ACADEMY – About Us Page Styles
   ================================================ */

/* ---- Page Hero Banner ---- */
.page-hero {
    min-height: 520px;
    background: linear-gradient(135deg, #fffbf5 0%, #fff3e0 50%, #f0f8ff 100%);
    padding: 130px 30px 80px;
    display: flex; align-items: center; justify-content: center;
    gap: 60px; position: relative; overflow: hidden;
    max-width: 100%; flex-wrap: wrap;
}
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.ph-blob {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: 0.4;
    animation: blobFloat 8s ease-in-out infinite;
}
.ph-blob1 { width: 500px; height: 500px; background: radial-gradient(circle, #f7931e44, transparent); top: -150px; left: -100px; }
.ph-blob2 { width: 400px; height: 400px; background: radial-gradient(circle, #6c63ff33, transparent); bottom: -100px; right: 0; animation-delay: 3s; }
.ph-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(247,147,30,.12) 1px, transparent 1px);
    background-size: 36px 36px;
}
.page-hero-content { max-width: 640px; position: relative; z-index: 1; }
.breadcrumb {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(247,147,30,.1); border: 1px solid rgba(247,147,30,.25);
    padding: 8px 16px; border-radius: 20px; margin-bottom: 24px;
    font-size: 0.82rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 600; }
.breadcrumb i { font-size: 0.7rem; }
.page-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 900; color: var(--secondary); line-height: 1.2; margin-bottom: 18px;
}
.page-hero-content h1 span { color: var(--primary); }
.page-hero-content p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 36px; }
.ph-stats { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.ph-stat { display: flex; flex-direction: column; padding: 0 24px; }
.ph-stat:first-child { padding-left: 0; }
.ph-num { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 900; color: var(--primary); line-height: 1; }
.ph-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-top: 4px; }
.ph-divider { width: 1px; height: 40px; background: rgba(247,147,30,.3); }

/* Hero Right Image Cards */
.page-hero-image { position: relative; width: 320px; flex-shrink: 0; height: 300px; z-index: 1; }
.phi-card {
    position: absolute; border-radius: 20px; overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.15); transition: transform 0.3s;
}
.phi-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.phi-card:hover img { transform: scale(1.06); }
.phi-card span {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
    color: white; font-size: 0.72rem; font-weight: 700;
    padding: 18px 10px 8px; text-align: center;
}
.phi-main { width: 200px; height: 200px; top: 30px; left: 20px; animation: floatCard 4s ease-in-out infinite; }
.phi-sm1 { width: 120px; height: 110px; bottom: 10px; left: 0; animation: floatCard 4s ease-in-out infinite 1s; }
.phi-sm2 { width: 120px; height: 110px; top: 10px; right: 0; animation: floatCard 4s ease-in-out infinite 2s; }
@keyframes floatCard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* ---- Nav Active ---- */
.nav-active { color: var(--primary) !important; }

/* ---- MVV Section ---- */
.mvv-section { padding: 100px 0; background: var(--light-bg); }
.mvv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.mvv-card {
    background: white; border-radius: 24px; padding: 36px;
    position: relative; overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.07); transition: all 0.4s;
}
.mvv-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.mvv-accent {
    position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
}
.mvv-mission .mvv-accent { background: linear-gradient(90deg, var(--primary), #ff6b6b); }
.mvv-vision .mvv-accent { background: linear-gradient(90deg, var(--purple), var(--teal)); }
.mvv-values .mvv-accent { background: linear-gradient(90deg, var(--green), var(--teal)); }
.mvv-icon {
    width: 64px; height: 64px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 22px;
}
.mvv-mission .mvv-icon { background: linear-gradient(135deg, #fff3e0, #ffe0b2); color: var(--primary); }
.mvv-vision .mvv-icon  { background: linear-gradient(135deg, #ede7f6, #d1c4e9); color: var(--purple); }
.mvv-values .mvv-icon  { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); color: var(--green); }
.mvv-card h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--secondary); margin-bottom: 16px; }
.mvv-card p  { color: var(--text-muted); line-height: 1.8; font-size: 0.92rem; }
.values-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.values-list li { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--text-muted); }
.values-list strong { color: var(--secondary); }
.val-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ---- Story Timeline ---- */
.story-section { padding: 100px 0; background: white; }
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--purple), var(--green));
    transform: translateX(-50%);
}
.tl-item { display: flex; align-items: center; margin-bottom: 60px; position: relative; }
.tl-left  { flex-direction: row; }
.tl-right { flex-direction: row-reverse; }

.tl-content {
    width: calc(50% - 50px);
    background: white; border-radius: 20px; padding: 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    border: 2px solid rgba(247,147,30,.1);
    transition: all 0.3s;
}
.tl-content:hover { border-color: var(--primary); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.tl-left  .tl-content { margin-right: auto; }
.tl-right .tl-content { margin-left: auto; }

.tl-year {
    display: inline-block; background: linear-gradient(135deg, var(--primary), #ff6b6b);
    color: white; padding: 4px 14px; border-radius: 20px;
    font-size: 0.82rem; font-weight: 700; margin-bottom: 10px;
}
.tl-content h4 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--secondary); margin-bottom: 8px; }
.tl-content p  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

.tl-dot {
    position: absolute; left: 50%; transform: translateX(-50%);
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #ff6b6b);
    color: white; display: flex; align-items: center; justify-content: center;
    font-size: 1rem; z-index: 2;
    box-shadow: 0 6px 20px rgba(247,147,30,.4);
    border: 4px solid white;
}

/* ---- Principal Section ---- */
.principal-section { padding: 100px 0; background: var(--light-bg); }
.principal-inner { display: grid; grid-template-columns: 340px 1fr; gap: 80px; align-items: center; }
.principal-image { position: relative; text-align: center; }
.prin-avatar {
    width: 240px; height: 240px; border-radius: 30px; margin: 0 auto;
    background: linear-gradient(135deg, #fff8f0, #ffe0b2);
    display: flex; align-items: center; justify-content: center;
    font-size: 7rem; box-shadow: 0 20px 60px rgba(247,147,30,.2);
}
.prin-badge {
    position: absolute; top: 10px; right: 30px;
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--primary); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; box-shadow: 0 6px 20px rgba(247,147,30,.4);
}
.prin-experience {
    display: inline-flex; flex-direction: column; align-items: center;
    background: white; border-radius: 16px; padding: 16px 24px; margin-top: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,.1);
}
.pe-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; color: var(--primary); }
.pe-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

.principal-message .section-label { margin-bottom: 12px; }
.principal-message h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--secondary); margin-bottom: 20px; }
.principal-message h2 span { color: var(--primary); }
.pm-quote-mark { font-family: 'Playfair Display', serif; font-size: 5rem; color: var(--primary); line-height: 0.8; opacity: 0.4; margin-bottom: 10px; }
.pm-text { color: var(--text-muted); line-height: 1.9; margin-bottom: 18px; font-size: 0.95rem; font-style: italic; }
.pm-signature { border-top: 2px solid rgba(247,147,30,.2); padding-top: 20px; margin-top: 10px; }
.pm-signature strong { display: block; font-size: 1.05rem; color: var(--secondary); margin-bottom: 4px; }
.pm-signature span { display: block; font-size: 0.82rem; color: var(--text-muted); }

/* ---- Why Choose Us ---- */
.why-section { padding: 100px 0; background: white; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.why-card {
    background: var(--light-bg); border-radius: 20px; padding: 30px;
    position: relative; overflow: hidden; transition: all 0.4s;
    border: 2px solid transparent;
}
.why-card:hover { border-color: var(--primary); background: white; transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.why-icon { width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 18px; }
.why-card h4 { font-size: 1rem; font-weight: 700; color: var(--secondary); margin-bottom: 10px; }
.why-card p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.why-num {
    position: absolute; top: 20px; right: 20px;
    font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 900;
    color: var(--primary); opacity: 0.2;
}

/* ---- Infrastructure ---- */
.infra-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary), #0f3460);
}
.infra-section .section-header h2 span { color: var(--primary); }
.infra-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.infra-card {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px; padding: 26px; transition: all 0.4s;
    backdrop-filter: blur(10px);
}
.infra-card:hover { background: rgba(255,255,255,.14); transform: translateY(-6px); border-color: var(--primary); }
.infra-emoji { font-size: 2.5rem; margin-bottom: 14px; display: block; }
.infra-card h4 { color: white; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.infra-card p  { color: rgba(255,255,255,.65); font-size: 0.83rem; line-height: 1.6; margin-bottom: 14px; }
.infra-tag {
    display: inline-block; background: rgba(247,147,30,.2);
    border: 1px solid rgba(247,147,30,.4);
    color: var(--primary); padding: 4px 12px; border-radius: 20px;
    font-size: 0.75rem; font-weight: 600;
}

/* ---- Achievements ---- */
.achievements-section { padding: 100px 0; background: var(--light-bg); }
.achieve-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.achieve-card {
    border-radius: 20px; padding: 32px; text-align: center;
    position: relative; overflow: hidden; transition: all 0.4s;
    box-shadow: 0 6px 25px rgba(0,0,0,.07);
}
.achieve-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.ac-ribbon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.achieve-card h4 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--secondary); margin-bottom: 6px; }
.achieve-card p  { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 10px; }
.achieve-card span { font-size: 0.78rem; font-weight: 700; color: var(--primary); }
.ac-gold   { background: linear-gradient(135deg, #fffde7, #fff8e1); border: 2px solid rgba(255,193,7,.3); }
.ac-silver { background: linear-gradient(135deg, #fff3e0, #ffe0b2); border: 2px solid rgba(247,147,30,.3); }
.ac-teal   { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); border: 2px solid rgba(46,196,182,.3); }
.ac-purple { background: linear-gradient(135deg, #f3e5f5, #e1bee7); border: 2px solid rgba(156,39,176,.2); }
.ac-orange { background: linear-gradient(135deg, #fce4ec, #f8bbd9); border: 2px solid rgba(233,30,99,.2); }
.ac-blue   { background: linear-gradient(135deg, #e3f2fd, #bbdefb); border: 2px solid rgba(33,150,243,.2); }

/* ---- Affiliations ---- */
.affiliations-section { padding: 80px 0; background: white; }
.affil-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 20px; }
.affil-item {
    text-align: center; background: var(--light-bg);
    border-radius: 16px; padding: 24px 16px;
    border: 2px solid transparent; transition: all 0.3s;
}
.affil-item:hover { border-color: var(--primary); background: #fff8f0; transform: translateY(-4px); }
.affil-logo { font-size: 2.5rem; margin-bottom: 10px; display: block; }
.affil-item strong { display: block; font-size: 0.85rem; color: var(--secondary); margin-bottom: 4px; }
.affil-item span   { font-size: 0.75rem; color: var(--text-muted); }

/* ---- About CTA ---- */
.about-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), #ff6b6b);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-text h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: white; margin-bottom: 10px; }
.cta-text h2 span { color: var(--secondary); }
.cta-text p  { color: rgba(255,255,255,.85); font-size: 0.95rem; max-width: 500px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--secondary); color: white;
    padding: 14px 28px; border-radius: 12px;
    text-decoration: none; font-weight: 700; font-size: 0.95rem;
    transition: all 0.3s; box-shadow: 0 8px 25px rgba(0,0,0,.2);
}
.cta-btn-primary:hover { background: #0f3460; transform: translateY(-3px); }
.cta-btn-outline {
    display: inline-flex; align-items: center; gap: 10px;
    border: 2px solid rgba(255,255,255,.8); color: white;
    padding: 14px 28px; border-radius: 12px;
    text-decoration: none; font-weight: 700; font-size: 0.95rem;
    transition: all 0.3s;
}
.cta-btn-outline:hover { background: rgba(255,255,255,.15); transform: translateY(-3px); }

/* ---- RESPONSIVE ---- */
@media (max-width:1100px) {
    .mvv-grid { grid-template-columns: 1fr; }
    .principal-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .prin-avatar { margin: 0 auto; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .infra-grid { grid-template-columns: 1fr 1fr; }
    .achieve-grid { grid-template-columns: 1fr 1fr; }
    .affil-grid { grid-template-columns: repeat(3,1fr); }
    .page-hero { flex-direction: column; text-align: center; padding: 120px 20px 60px; }
    .page-hero-image { margin: 0 auto; }
    .ph-stats { justify-content: center; }
}
@media (max-width:768px) {
    .timeline::before { left: 24px; }
    .tl-item { flex-direction: column; align-items: flex-start; padding-left: 70px; }
    .tl-dot { left: 0; transform: none; }
    .tl-right { flex-direction: column; }
    .tl-content { width: 100%; }
    .tl-left .tl-content, .tl-right .tl-content { margin: 0; }
    .why-grid, .infra-grid, .achieve-grid { grid-template-columns: 1fr; }
    .affil-grid { grid-template-columns: repeat(2,1fr); }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }
    .page-hero-image { display: none; }
    .ph-divider { display: none; }
    .ph-stats { flex-wrap: wrap; gap: 16px; justify-content: center; }
    .ph-stat { padding: 0 12px; }
}
@media (max-width:480px) {
    .affil-grid { grid-template-columns: 1fr 1fr; }
    .achieve-grid { grid-template-columns: 1fr; }
}
