/* --- 1. Variables & Setup --- */
:root {
    --col-orange: #F26539;
    --col-blue: #3F5EAB;
    --col-yellow: #FDC300;
    --col-dark: #1a2a44;
    --col-gray: #f8f9fa;
    --col-text: #4a4a4a;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 40px rgba(63, 94, 171, 0.15);
    --font-main: 'Outfit', sans-serif;
    --font-cn: 'Noto Sans SC', sans-serif;
    --radius: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: var(--col-text);
    background: #fff;
    overflow-x: hidden;
    line-height: 1.7;
}

/* --- 2. Typography & Utilities --- */
h1, h2, h3, h4 { color: var(--col-blue); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }
.center { text-align: center; }
.highlight-text { color: var(--col-orange); position: relative; display: inline-block; }
.highlight-text::after {
    content: ''; position: absolute; bottom: 2px; left: 0; width: 100%; height: 8px;
    background: rgba(242, 101, 57, 0.2); z-index: -1; border-radius: 4px;
}

/* Buttons */
.btn {
    padding: 14px 32px; border-radius: 50px; font-weight: 600; display: inline-flex; 
    align-items: center; gap: 10px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary {
    background: var(--col-orange); color: white;
    box-shadow: 0 10px 25px rgba(242, 101, 57, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 35px rgba(242, 101, 57, 0.4); }
.btn-secondary {
    background: white; color: var(--col-blue); border: 2px solid rgba(63, 94, 171, 0.1);
}
.btn-secondary:hover { border-color: var(--col-blue); background: var(--col-gray); }

/* Tags */
.sub-tag {
    display: inline-block; text-transform: uppercase; letter-spacing: 2px; 
    font-size: 0.85rem; font-weight: 700; color: var(--col-orange); margin-bottom: 16px;
}
.white-tag { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.1); padding: 4px 12px; border-radius: 20px; }

/* --- 3. Navigation --- */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(255,255,255,0.8); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.03); padding: 16px 0; transition: 0.3s;
}
.navbar.scrolled { padding: 10px 0; background: rgba(255,255,255,0.95); box-shadow: var(--shadow-sm); }

.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { 
    background: white; width: 46px; height: 46px; 
    border-radius: 14px; display: flex; align-items: center; justify-content: center; 
    border: 1px solid #e5e7eb; box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.logo-icon img { width: 80%; height: 80%; object-fit: contain; }
.l-C { color: var(--col-orange); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.2rem; color: var(--col-blue); }
.brand-tag { font-size: 0.75rem; color: #888; letter-spacing: 0.5px; }

.nav-links { display: flex; list-style: none; gap: 32px; align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--col-dark); }
.nav-links a:hover { color: var(--col-orange); }
.nav-btn { 
    background: var(--col-blue); color: white !important; padding: 8px 20px; 
    border-radius: 20px; box-shadow: 0 4px 15px rgba(63, 94, 171, 0.2);
}
.nav-btn:hover { transform: translateY(-2px); }

.nav-right { display: flex; gap: 20px; align-items: center; }
.lang-switch-wrapper { display: flex; align-items: center; gap: 5px; background: #f0f4f8; padding: 5px 10px; border-radius: 20px; }
#languageSelector { border: none; background: transparent; font-weight: 600; color: var(--col-dark); cursor: pointer; outline: none; }

.mobile-toggle { display: none; cursor: pointer; }
.mobile-toggle .bar { width: 25px; height: 3px; background: var(--col-dark); margin: 5px 0; }
.mobile-menu { 
    position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background: white; 
    z-index: 999; padding: 80px 30px; display: flex; flex-direction: column; gap: 20px; 
    box-shadow: -5px 0 20px rgba(0,0,0,0.1); transition: 0.4s;
}
.mobile-menu.active { right: 0; }
.m-link { font-size: 1.2rem; font-weight: 600; }

/* --- 4. Hero Section --- */
.hero { 
    position: relative; padding-top: 160px; padding-bottom: 80px; overflow: hidden; 
    background: linear-gradient(180deg, #fdfbf9 0%, #fff 100%);
}
.hero-bg-shape { position: absolute; z-index: 0; opacity: 0.6; filter: blur(60px); border-radius: 50%; }
.shape-1 { width: 500px; height: 500px; background: #FFE5D9; top: -100px; right: -100px; animation: float 8s infinite; }
.shape-2 { width: 400px; height: 400px; background: #E3F2FD; bottom: 50px; left: -100px; animation: float 10s infinite reverse; }

.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.badge-pill { 
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; 
    background: #E8F5E9; color: #2E7D32; border-radius: 30px; font-size: 0.85rem; 
    font-weight: 600; margin-bottom: 24px;
}
.badge-pill .dot { width: 8px; height: 8px; background: #4CAF50; border-radius: 50%; }

.hero-text-block h1 { font-size: 3.5rem; margin-bottom: 20px; letter-spacing: -1px; }
.hero-sub { font-size: 1.25rem; color: #666; margin-bottom: 40px; max-width: 90%; }

.hero-btns { display: flex; gap: 16px; margin-bottom: 50px; }
.play-btn { color: var(--col-dark); }

.hero-stats { display: flex; gap: 30px; align-items: center; }
.stat strong { display: block; font-size: 1.8rem; color: var(--col-blue); }
.stat span { font-size: 0.9rem; color: #888; }
.divider { width: 1px; height: 40px; background: #ddd; }

.image-cluster { position: relative; width: 100%; height: 500px; }
.main-img { width: 80%; height: 100%; object-fit: cover; border-radius: 30px; border: 8px solid white; box-shadow: var(--shadow-lg); }
.float-img { 
    position: absolute; bottom: -30px; left: -40px; width: 240px; height: 180px; 
    object-fit: cover; border-radius: 20px; border: 6px solid white; box-shadow: var(--shadow-lg);
}
.floating-card {
    position: absolute; top: 40px; right: 40px; background: white; padding: 15px 25px;
    border-radius: 16px; display: flex; align-items: center; gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); animation: float 5s infinite ease-in-out;
}
.floating-card i { color: var(--col-yellow); font-size: 1.5rem; }
.fc-text strong { display: block; font-size: 0.9rem; color: var(--col-dark); }
.fc-text span { font-size: 0.75rem; color: #888; }

.wave-separator {
    position: absolute; left: 0; bottom: 0; width: 100%; height: 80px; display: block;
}

/* --- 5. Philosophy Cards --- */
#philosophy.section-padding { padding-top: 60px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.feature-card {
    background: white; padding: 40px 30px; border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.05); transition: 0.4s; text-align: center;
}
.feature-card.featured { border-bottom: 4px solid var(--col-orange); box-shadow: var(--shadow-lg); }
.hover-lift:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.icon-box { 
    width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 24px; 
    display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.blue { background: #E3F2FD; color: var(--col-blue); }
.orange { background: #FFEBEE; color: var(--col-orange); }
.yellow { background: #FFFDE7; color: #FBC02D; }

/* --- 6. Methodology (Dark/Color Section) --- */
.methodology-section { background: var(--col-blue); color: white; padding: 100px 0; overflow: hidden; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.method-content h2 { color: white; font-size: 2.5rem; margin-bottom: 20px; }
.method-content p { color: rgba(255,255,255,0.8); margin-bottom: 30px; }

.check-list { list-style: none; }
.check-list li { display: flex; gap: 20px; margin-bottom: 24px; }
.check-list i { font-size: 1.5rem; color: var(--col-yellow); margin-top: 4px; }
.check-list strong { font-size: 1.1rem; display: block; margin-bottom: 4px; }

.circle-graphic {
    position: relative; width: 460px; height: 460px; margin: 0 auto;
    border-radius: 50%; background: radial-gradient(circle at 50% 45%, #ffffff 0%, #e9f1ff 55%, #d8e6ff 100%);
    box-shadow: 0 25px 50px rgba(0, 31, 97, 0.25), inset 0 0 0 14px rgba(255,255,255,0.45);
    overflow: hidden;
}
.circle-graphic::before {
    content: ''; position: absolute; inset: 12%; border-radius: 50%;
    border: 10px solid rgba(63,94,171,0.12);
    box-shadow: 0 0 0 20px rgba(63,94,171,0.05);
}
.circle-graphic::after {
    content: ''; position: absolute; inset: 4%; border-radius: 50%;
    border: 1.5px solid rgba(63,94,171,0.3);
    box-shadow: 0 0 0 10px rgba(63,94,171,0.06);
    animation: spin 40s linear infinite;
}
.center-logo {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 180px; height: 180px; background: radial-gradient(circle, #fff 0%, #e8f0ff 100%);
    color: var(--col-blue); border: 1px solid #d2def8; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.3rem; letter-spacing: 0.5px; z-index: 3;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12), inset 0 0 0 12px rgba(255,255,255,0.5);
}
.orbit-track {
    position: absolute; inset: 0; z-index: 2;
    transform: translate(-40px, -40px);
}
.orbit-item {
    --angle: 0deg;
    position: absolute; top: 50%; left: 50%;
    transform: rotate(var(--angle)) translate(155px) rotate(calc(var(--angle) * -1));
    width: 84px; height: 84px; border-radius: 50%;
    overflow: hidden; border: 4px solid white;
    box-shadow: 0 12px 25px rgba(63,94,171,0.35), inset 0 0 0 2px rgba(255,255,255,0.35);
    background: #cfdaf8;
}
.orbit-item img { width: 100%; height: 100%; object-fit: cover; }
.orbit-icon {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.15));
    color: white; font-size: 1.2rem; text-shadow: 0 3px 6px rgba(0,0,0,0.3);
}
.orbit-item i { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.item-1 { --angle: -90deg; }
.item-2 { --angle: -30deg; }
.item-3 { --angle: 30deg; }
.item-4 { --angle: 90deg; }
.item-5 { --angle: 150deg; }
.item-6 { --angle: 210deg; }
.orbit-dot {
    position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; border-radius: 50%;
    background: linear-gradient(135deg, #8db3ff, #3f5eab); box-shadow: 0 0 0 10px rgba(63,94,171,0.08), 0 8px 18px rgba(0,0,0,0.15);
    transform: rotate(var(--angle)) translate(200px) rotate(calc(var(--angle) * -1));
    animation: pulse 5s ease-in-out infinite;
}
.dot-1 { --angle: -140deg; animation-delay: 0.2s; }
.dot-2 { --angle: 0deg; animation-delay: 0.9s; }
.dot-3 { --angle: 140deg; animation-delay: 1.6s; }

/* --- 7. Curriculum Tabs --- */
.curriculum-section { background: #f8faff; }
.curr-tabs { display: flex; justify-content: center; gap: 15px; margin: 30px 0 60px; }
.tab-btn {
    padding: 12px 30px; border: none; background: white; border-radius: 30px;
    font-size: 1rem; font-weight: 600; color: #888; cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: 0.3s;
}
.tab-btn.active { background: var(--col-orange); color: white; transform: scale(1.05); }

.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn 0.5s ease; }

.pane-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.pane-text h3 { font-size: 2rem; margin-bottom: 10px; }
.lead { font-size: 1.1rem; color: var(--col-orange); margin-bottom: 30px; }

.stats-row { display: flex; gap: 30px; margin-bottom: 30px; }
.stat-box { background: white; padding: 15px 25px; border-radius: 15px; box-shadow: var(--shadow-sm); text-align: center; }
.stat-box .num { display: block; font-size: 1.5rem; font-weight: 800; color: var(--col-blue); }
.stat-box .lbl { font-size: 0.8rem; color: #888; text-transform: uppercase; }

.pane-list { list-style: none; }
.pane-list li { padding-left: 30px; position: relative; margin-bottom: 12px; font-weight: 500; }
.pane-list li::before { 
    content: ''; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; 
    background: var(--col-blue); border-radius: 50%; 
}

.pane-img img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); }

/* --- 8. Founder --- */
.founder-card { position: relative; padding: 60px; border-radius: 40px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.founder-bg { 
    position: absolute; top: 0; right: 0; width: 50%; height: 100%; 
    background: linear-gradient(135deg, #fff5f2 0%, #fff 100%); z-index: 0; 
}
.founder-content-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; }

.f-frame { width: 100%; height: 350px; border-radius: 20px; overflow: hidden; margin-bottom: 20px; }
.f-frame img { width: 100%; height: 100%; object-fit: cover; }
.quote-box { background: var(--col-blue); color: white; padding: 20px; border-radius: 0 20px 20px 20px; font-style: italic; }

.role-tag { color: var(--col-orange); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; }
.credentials-grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin-top: 30px; }
.cred-item { display: flex; align-items: center; gap: 15px; background: white; padding: 15px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.cred-item i { color: var(--col-orange); font-size: 1.2rem; }

/* --- 9. Showcase & Footer --- */
.gallery-scroller { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.g-card { position: relative; border-radius: 20px; overflow: hidden; height: 250px; cursor: pointer; }
.g-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.g-card:hover img { transform: scale(1.1); }
.g-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: white;
    font-weight: 600;
}

.trust-section { background: #fafafa; text-align: center; }
.testimonials-wrapper { display: flex; justify-content: center; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.t-card { background: white; padding: 30px; border-radius: 20px; max-width: 500px; box-shadow: var(--shadow-sm); text-align: left; }
.stars { color: var(--col-yellow); margin-bottom: 15px; }
.t-author { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.avatar { width: 40px; height: 40px; background: var(--col-blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }

footer { background: var(--col-dark); color: white; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-brand h2 { color: white; }
.footer-brand p { color: #aaa; margin: 10px 0 20px; }
.socials a { color: white; margin-right: 15px; font-size: 1.2rem; opacity: 0.7; transition: 0.3s; }
.socials a:hover { opacity: 1; color: var(--col-orange); }

.footer-links h4, .footer-contact h4 { color: white; margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links a { color: #aaa; display: block; margin-bottom: 10px; }
.footer-contact p { color: #aaa; margin-bottom: 10px; display: flex; gap: 10px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; color: #666; font-size: 0.85rem; }

/* --- 10. Sticky Bar --- */
.sticky-bar {
    position: fixed; bottom: 0; width: 100%; background: white; box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 15px 0; z-index: 900; transform: translateY(100%); transition: 0.4s;
}
.sticky-bar.show { transform: translateY(0); }
.bar-content { display: flex; justify-content: space-between; align-items: center; }
.btn-small { background: var(--col-orange); color: white; padding: 10px 25px; border-radius: 30px; font-weight: 600; }

/* --- Animations --- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1) rotate(var(--angle)) translate(200px) rotate(calc(var(--angle) * -1)); opacity: 0.9; } 50% { transform: scale(1.08) rotate(var(--angle)) translate(200px) rotate(calc(var(--angle) * -1)); opacity: 1; } }

/* Mobile Responsive */
@media (max-width: 900px) {
    .hero-content, .split-layout, .founder-content-grid, .pane-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero-text-block { text-align: center; padding-right: 0; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; }
    .nav-links, .nav-btn { display: none; }
    .mobile-toggle { display: block; }
    .cards-grid, .gallery-scroller { grid-template-columns: 1fr; }
    .image-cluster { height: 300px; }
    .main-img { width: 100%; }
    .float-img { display: none; }
    .circle-graphic { width: 300px; height: 300px; }
    .method-visual { display: none; }
}
