*{margin:0;padding:0;box-sizing:border-box;scroll-behavior:smooth}
::selection{background:var(--p);color:#fff}
body{font-family:'Inter',sans-serif;background:#f8fafc;color:#1e293b;overflow-x:hidden}
.container{max-width:1100px;margin:0 auto;padding:0 24px}

.navbar{position:sticky;top:0;z-index:100;background:rgba(255,255,255,0.95);backdrop-filter:blur(20px);border-bottom:1px solid #e2e8f0;padding:14px 0}
.nav-flex{display:flex;align-items:center;justify-content:space-between}
.nav-logo{font-weight:800;font-size:1.3rem;color:var(--p);letter-spacing:-0.5px}
.nav-links{display:flex;align-items:center;gap:6px}
.nav-links a{padding:8px 16px;border-radius:10px;font-size:0.85rem;font-weight:500;color:#64748b;text-decoration:none;transition:all 0.2s}
.nav-links a:hover{background:#f1f5f9;color:var(--p)}
.nav-links a.active{background:var(--p);color:#fff}
.nav-admin{padding:6px 14px!important;border:1px solid var(--p)!important;border-radius:20px!important;color:var(--p)!important;font-size:0.8rem!important}
.nav-admin:hover{background:var(--p)!important;color:#fff!important}

.theme-dropdown{position:relative}
.theme-btn{padding:5px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:0.7rem;font-weight:600;cursor:pointer;font-family:'Inter',sans-serif;transition:opacity 0.2s;display:flex;align-items:center;gap:4px}
.theme-btn:hover{opacity:0.85}
.theme-grid{display:none;position:absolute;top:100%;right:0;margin-top:8px;width:234px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:10px;grid-template-columns:repeat(7,1fr);gap:4px;z-index:200;box-shadow:0 20px 60px rgba(0,0,0,0.08)}
.theme-dropdown:hover .theme-grid{display:grid}
.theme-swatch{width:100%;aspect-ratio:1;border-radius:6px;border:2px solid transparent;cursor:pointer;transition:all 0.2s}
.theme-swatch:hover{transform:scale(1.2);border-color:var(--p)}

.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px}
.hamburger span{width:22px;height:2px;background:#64748b;border-radius:2px;transition:all 0.3s}
.hamburger.active span:nth-child(1){transform:rotate(45deg)translate(5px,5px)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:rotate(-45deg)translate(5px,-5px)}

.hero{background:linear-gradient(135deg,var(--p),var(--pd),#065f46);color:#fff;padding:70px 0 60px;text-align:center}
.hero-badge{display:inline-block;padding:6px 16px;background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.15);border-radius:20px;font-size:0.75rem;font-weight:600;margin-bottom:20px;letter-spacing:0.5px}
.hero h1{font-size:2.6rem;font-weight:800;margin-bottom:10px;letter-spacing:-0.5px}
.hero-slogan{font-size:1.1rem;font-weight:400;color:rgba(255,255,255,0.7);font-style:italic;margin-bottom:6px}
.hero-domain{font-size:0.8rem;color:rgba(255,255,255,0.4);margin-bottom:28px}
.hero-stats{display:flex;justify-content:center;gap:48px}
.hs-item{text-align:center}
.hs-item strong{display:block;font-size:1.8rem;font-weight:800;color:#fff}
.hs-item span{font-size:0.8rem;color:rgba(255,255,255,0.5);font-weight:500}

.info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:32px 0}
.info-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:20px;transition:all 0.3s}
.info-card:hover{box-shadow:0 8px 24px rgba(0,0,0,0.04);border-color:var(--p)}
.info-icon{width:40px;height:40px;border-radius:10px;background:var(--g)0.08);display:flex;align-items:center;justify-content:center;color:var(--p);margin-bottom:10px}
.info-card h3{font-size:0.75rem;text-transform:uppercase;letter-spacing:1px;color:#94a3b8;font-weight:600;margin-bottom:4px}
.info-card p{font-size:0.85rem;color:#334155;line-height:1.4}

.section-row{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:40px 0}
.section-title{font-size:1.2rem;font-weight:700;color:var(--p);margin-bottom:16px;display:flex;align-items:center;gap:8px}
.section-title::before{content:'';width:4px;height:20px;background:var(--p);border-radius:2px}

.notice-list{display:flex;flex-direction:column;gap:8px}
.notice-item{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px 20px;border-left:4px solid var(--p);transition:all 0.2s}
.notice-item:hover{border-color:var(--p);box-shadow:0 4px 12px rgba(0,0,0,0.04)}
.notice-date{font-size:0.75rem;color:#94a3b8;margin-bottom:4px}
.notice-item h4{font-size:0.9rem;color:#1e293b;margin-bottom:4px}
.notice-item p{font-size:0.82rem;color:#64748b;line-height:1.5}

.event-list{display:flex;flex-direction:column;gap:8px}
.event-item{display:flex;gap:14px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:14px;align-items:center;transition:all 0.2s}
.event-item:hover{border-color:var(--p)}
.event-date-badge{width:50px;height:50px;border-radius:12px;background:var(--g)0.08);color:var(--p);display:flex;align-items:center;justify-content:center;font-size:0.75rem;font-weight:700;text-align:center;line-height:1.2;flex-shrink:0}
.event-info h4{font-size:0.9rem;margin-bottom:2px}
.event-info p{font-size:0.8rem;color:#64748b}

.about-section{margin:40px 0 60px}
.about-section p{color:#475569;line-height:1.7;font-size:0.9rem;margin-bottom:16px}
.about-features{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.af{display:flex;align-items:center;gap:8px;font-size:0.85rem;color:#475569;padding:8px 0}

.list-page{padding:32px 0 60px}
.page-header{margin-bottom:24px}
.page-header h1{font-size:1.6rem;font-weight:800;color:#1e293b}
.count{font-weight:400;font-size:1rem;color:#94a3b8}
.filter-form{margin-bottom:16px}
.filter-form select{padding:10px 16px;border:1px solid #e2e8f0;border-radius:10px;font-size:0.85rem;font-family:"Inter",sans-serif;color:#1e293b;background:#fff;outline:none;cursor:pointer}
.filter-form select:focus{border-color:var(--p)}

.teacher-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}
.teacher-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:24px;text-align:center;transition:all 0.3s}
.teacher-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,0.04);border-color:var(--p)}
.t-avatar{width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,var(--p),var(--pl));color:#fff;font-size:1.4rem;font-weight:800;display:flex;align-items:center;justify-content:center;margin:0 auto 12px}
.teacher-card h3{font-size:0.95rem;font-weight:700;color:#1e293b;margin-bottom:2px}
.t-desig{font-size:0.8rem;color:var(--p);font-weight:600;margin-bottom:4px}
.t-subj{font-size:0.8rem;color:#64748b;margin-bottom:4px}
.t-qual{font-size:0.75rem;color:#94a3b8}

.table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden}
.data-table{width:100%;border-collapse:collapse}
.data-table th{background:#f8fafc;padding:14px 18px;text-align:left;font-size:0.75rem;text-transform:uppercase;letter-spacing:0.5px;color:#64748b;font-weight:700;border-bottom:1px solid #e2e8f0}
.data-table td{padding:12px 18px;border-bottom:1px solid #f1f5f9;font-size:0.85rem;color:#475569}
.data-table tr:last-child td{border-bottom:none}
.data-table tr:hover td{background:#f8fafc}
.td-name{font-weight:600;color:#1e293b}
.routine-table td{text-align:center;min-width:80px}
.routine-table td:first-child{text-align:left;font-weight:700;color:var(--p)}
.tm{font-weight:400;font-size:0.65rem;color:#94a3b8}
.day-cell{font-weight:700!important;color:var(--p)!important}

.footer{background:#0f172a;color:#94a3b8;padding:32px 0;margin-top:40px}
.footer-flex{display:flex;justify-content:space-between;align-items:center}
.footer-name{font-weight:700;color:#e2e8f0;font-size:0.9rem}
.footer-meta{font-size:0.75rem;color:#64748b;margin-top:2px}
.footer-links{display:flex;gap:20px}
.footer-links a{color:#64748b;text-decoration:none;font-size:0.85rem;transition:color 0.3s}
.footer-links a:hover{color:var(--p)}

@media(max-width:900px){
.info-grid{grid-template-columns:repeat(2,1fr)}.section-row{grid-template-columns:1fr}
.hero h1{font-size:2rem}.hero-stats{gap:24px}
}
@media(max-width:768px){
.nav-links{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:16px;flex-direction:column;border-bottom:1px solid #e2e8f0;box-shadow:0 8px 24px rgba(0,0,0,0.04)}
.nav-links.active{display:flex}.hamburger{display:flex}
.teacher-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}
.about-features{grid-template-columns:repeat(2,1fr)}
.footer-flex{flex-direction:column;gap:12px;text-align:center}
.data-table{font-size:0.75rem}
.data-table th,.data-table td{padding:10px 12px}
.theme-grid{right:auto;left:0;width:210px}
}
