@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

:root{
    --navy:#064986;
    --blue:#0b69bd;
    --sky:#24aee4;
    --light:#eaf8ff;
    --white:#fff;
    --yellow:#ffc62a;
    --text:#213b51;
    --muted:#718699;
    --line:#d9ebf7;
    --soft:#f7fbfe;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:'Prompt',sans-serif;
    color:var(--text);
    background:#fff;
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
.container{width:min(1360px,calc(100% - 36px));margin:auto}

/* HEADER */
.top-header{background:#fff}
.header-inner{
    min-height:118px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}
.brand{display:flex;align-items:center;gap:14px}
.logo{
    width:82px;height:82px;border-radius:50%;
    object-fit:cover;background:#dff4ff;border:3px solid #eefaff
}
.logo-fallback{
    display:grid;place-items:center;
    background:linear-gradient(145deg,var(--navy),var(--sky));
    color:#fff;font-weight:700
}
.school-name h1{
    margin:0;
    font-size:30px;
    color:var(--navy);
    line-height:1.15
}
.school-name .sub{font-size:15px;margin-top:5px;color:#4c6578}
.school-name .eng{font-size:14px;color:#8495a3;margin-top:2px}

.header-right{
    display:flex;
    gap:15px;
}
.top-links{display:flex;gap:20px;font-size:15px;color:#4f687b}
.top-links a{display:flex;align-items:center;gap:5px}
.top-links i{color:var(--blue)}
.search{
    display:flex;
    width:330px;
    height:40px;
    border:1px solid var(--line);
    border-radius:18px;
    overflow:hidden;
    background:#fbfdff
}
.search input{
    border:0;outline:0;background:transparent;
    width:100%;padding:9px 15px;font:inherit;font-size:14px
}
.search button{
    width:48px;border:0;background:transparent;color:var(--blue);cursor:pointer
}

/* NAV */
.nav-shell{background:#fff}
.main-nav{
    min-height:68px;
    padding:0 8px;
    border-radius:26px 26px 9px 9px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:0;
    color:#fff;
    background:linear-gradient(90deg,#053a76,#0759a5 55%,#0a84c9);
    box-shadow:0 6px 14px rgba(7,75,141,.16);
    overflow:auto
}
.main-nav a{
    white-space:nowrap;
    padding:15px 20px;
    font-size:16px;
    border-radius:20px
}
.main-nav a:hover{background:rgba(255,255,255,.13)}

/* HERO */
.hero{
    background:linear-gradient(110deg,#e3f6ff,#f8fdff 45%,#d5f0ff);
}
.hero-wrap{
    position:relative;
    min-height:390px;
    overflow:hidden
}
.hero-slide{
    min-height:390px;
    display:grid;
    grid-template-columns:43% 57%;
    align-items:stretch
}
.hero-copy{
    padding:58px 34px 45px 62px;
    position:relative;
    z-index:2
}
.hero-copy .small{
    color:var(--blue);
    font-size:14px;
    font-weight:600
}
.hero-copy h2{
    margin:6px 0 10px;
    font-size:44px;
    line-height:1.3;
    color:var(--navy)
}
.hero-copy p{
    margin:0 0 17px;
    max-width:520px;
    font-size:14px;
    line-height:1.75;
    color:#5c7486
}
.hero-buttons{display:flex;gap:9px;flex-wrap:wrap}
.btn-round{
    display:inline-block;
    padding:10px 18px;
    border-radius:17px;
    font-size:14px;
    font-weight:600
}
.btn-blue{background:var(--blue);color:#fff}
.btn-yellow{background:#9dcaf3;color:#34495a}
.hero-image{position:relative;min-height:390px;overflow:hidden}
.hero-image img{width:100%;height:390px;object-fit:cover}
.hero-image-empty{
    height:390px;
    display:grid;place-items:center;
    background:linear-gradient(145deg,#64c9ee,#dff7ff);
    color:#fff
}
.hero-image:before{
    content:"";
    position:absolute;inset:0;
    z-index:1;
    background:linear-gradient(90deg,#f5fcff 0%,rgba(245,252,255,.35) 18%,transparent 38%)
}
.dots{
    position:absolute;left:50%;bottom:9px;transform:translateX(-50%);
    z-index:5;display:flex;gap:5px
}
.dot{
    width:8px;height:8px;border-radius:50%;
    background:#fff;border:1px solid rgba(9,101,181,.5)
}
.dot.active{background:var(--blue)}

/* 3 columns */
.dashboard-row{
    display:grid;
    grid-template-columns:1.03fr 1.58fr .94fr;
    gap:16px;
    margin-top:16px
}
.box{
    border:1px solid var(--line);
    border-radius:12px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 3px 12px rgba(9,91,158,.06)
}
.box-head{
    height:50px;
    display:flex;align-items:center;justify-content:space-between;
    padding:0 15px;
    border-bottom:1px solid var(--line)
}
.box-title{
    display:flex;align-items:center;gap:10px;
    color:var(--navy);font-size:16px;font-weight:600
}
.box-title i{color:var(--blue)}
.more{
    font-size:10px;color:var(--blue);
    border:1px solid #cce5f5;
    padding:4px 10px;border-radius:12px
}

/* NEWS */
.news-list{padding:3px 9px}
.news-item{
    display:grid;
    grid-template-columns:88px 52px 1fr;
    gap:10px;
    padding:12px 0;
    border-bottom:1px solid #edf5fa
}
.news-item:last-child{border-bottom:0}
.news-img{
    width:88px;height:68px;object-fit:cover;
    border-radius:5px;background:#eaf8ff
}
.news-date{
    height:68px;
    border-radius:6px;
    background:#f5fbff;
    border:1px solid var(--line);
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    line-height:1.05
}
.news-date strong{font-size:17px;color:var(--blue)}
.news-date span{font-size:9px;color:#8496a4;margin-top:3px}
.news-info h4{
    margin:0 0 3px;
    font-size:12.5px;
    line-height:1.4;
    color:#2e4d65
}
.news-info p{
    margin:0;
    color:#8193a2;
    font-size:10px;
    line-height:1.35
}

/* ACTIVITY */
.activity{padding:13px}
.activity-main-img{
    width:100%;height:220px;object-fit:cover;
    border-radius:6px;background:#e7f7ff
}
.activity-empty{
    height:220px;border-radius:8px;
    display:grid;place-items:center;
    background:linear-gradient(145deg,#0763b3,#3fbce8);
    color:#fff
}
.activity h3{
    margin:8px 0 4px;color:var(--navy);
    font-size:17px;line-height:1.4
}
.activity p{
    margin:0;color:#60788b;
    font-size:11.5px;line-height:1.55
}
.activity-thumbs{
    display:grid;grid-template-columns:repeat(4,1fr);
    gap:5px;margin-top:7px
}
.activity-thumbs img,.thumb-empty{
    height:58px;width:100%;object-fit:cover;
    border-radius:4px;background:#dff4ff
}

/* QUICK LINKS */
.quick-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding:13px
}
.quick{
    min-height:78px;
    display:flex;align-items:center;gap:10px;
    padding:10px;
    border:1px solid #e1eef7;
    border-radius:6px;
    background:linear-gradient(145deg,#fff,#f5fbff)
}
.quick-icon{
    width:40px;height:40px;border-radius:8px;
    flex:0 0 40px;
    display:grid;place-items:center;
    background:#e6f7ff;color:var(--blue)
}
.quick span{font-size:11px;font-weight:500;color:#36536b;line-height:1.3}
.admission{
    margin:0 10px 10px;
    min-height:84px;
    padding:13px 14px;
    border-radius:7px;
    color:#fff;
    background:linear-gradient(110deg,#07509a,#0a86cc);
    position:relative;overflow:hidden
}
.admission:after{
    content:"";position:absolute;
    width:90px;height:90px;border-radius:50%;
    right:-35px;bottom:-38px;
    background:rgba(255,255,255,.14)
}
.admission h4{margin:0 0 2px;font-size:14px}
.admission p{margin:0 0 6px;font-size:10px;color:#dff4ff}
.admission a{
    display:inline-block;
    background:var(--yellow);
    color:#304455;
    padding:4px 9px;border-radius:11px;
    font-size:10px;font-weight:600
}

/* DOCUMENT */
.document-box{margin:16px 0 22px}
.doc-list{padding:10px 13px 14px;display:grid;gap:6px}
.doc-row{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    padding:10px 10px;
    border:1px solid #e5f0f6;
    border-radius:6px;background:#fbfdff
}
.doc-title{font-size:12px;color:#34536b}
.doc-meta{font-size:10px;color:#8798a6;margin-top:2px}
.doc-btn{
    flex:0 0 auto;
    background:var(--blue);color:#fff;
    padding:6px 11px;border-radius:11px;
    font-size:10px
}

/* FOOTER */
.footer{
    background:linear-gradient(110deg,#053b79,#07579f 58%,#0b86cb);
    color:#fff
}
.footer-grid{
    display:grid;
    grid-template-columns:1.45fr 1fr 1fr 1fr;
    gap:34px;
    padding:28px 0 24px
}
.footer h4{margin:0 0 7px;font-size:14px}
.footer p,.footer a{font-size:10.5px;line-height:1.8;color:#e0f3ff}
.footer-brand{display:flex;gap:10px}
.footer-logo{
    width:64px;height:64px;border-radius:50%;
    background:#fff;object-fit:cover
}
.footer-links{display:grid;gap:2px}
.socials{display:flex;gap:6px;margin-bottom:8px}
.social{
    width:30px;height:30px;border-radius:5px;
    display:grid;place-items:center;
    background:rgba(255,255,255,.15)
}
.qr{
    width:82px;height:82px;
    background:
      linear-gradient(90deg,#fff 25%,transparent 25% 50%,#fff 50% 75%,transparent 75%),
      linear-gradient(#fff 25%,transparent 25% 50%,#fff 50% 75%,transparent 75%);
    background-size:16px 16px;
    border:5px solid #fff;border-radius:4px
}

/* OTHER PAGES */
.page-head{
    padding:26px 0;
    background:linear-gradient(100deg,var(--navy),var(--sky));
    color:#fff
}
.page-head h2{margin:0;font-size:22px}
.section{padding:27px 0}
.cards{
    display:grid;grid-template-columns:repeat(3,1fr);gap:15px
}
.card{
    border:1px solid var(--line);
    border-radius:10px;
    overflow:hidden;background:#fff;
    box-shadow:0 5px 18px rgba(11,91,158,.08)
}
.card img{width:100%;height:185px;object-fit:cover}
.card-body{padding:13px}
.card h3{margin:0 0 6px;color:var(--navy);font-size:15px}
.card p{margin:0;color:#718699;font-size:11px;line-height:1.55}
.meta{font-size:9px;color:#8ca0af;margin-bottom:5px}
.content-box{
    border:1px solid var(--line);
    border-radius:12px;
    padding:20px;background:#fff
}
.content-box img{width:100%;max-height:520px;object-fit:cover;border-radius:12px;margin:10px 0 18px}
.rich{white-space:pre-line;line-height:1.85;color:#405c72}
.empty{text-align:center;color:#8296a6;font-size:11px;padding:22px}

@media(max-width:960px){
    .dashboard-row{grid-template-columns:1fr 1fr}
    .dashboard-row .box:last-child{grid-column:1/-1}
    .hero-slide{grid-template-columns:1fr}
    .hero-image img,.hero-image-empty{height:240px}
    .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
    .header-inner{flex-direction:column;align-items:flex-start;padding:14px 0}
    .header-right{width:100%;align-items:stretch}
    .top-links{width:40%}
    .search{width:50%}
    .main-nav{justify-content:flex-start;border-radius:0}
    .dashboard-row,.cards,.footer-grid{grid-template-columns:1fr}
    .dashboard-row .box:last-child{grid-column:auto}
    .hero-copy{padding:30px 25px}
    .hero-copy h2{font-size:30px}
}
