:root{--blue:#1e3a8a;--red:#e63946;--orange:#f77f00;--yellow:#fcbf49;--green:#2a9d8f;--purple:#7b2cbf;--light:#f4f7fc;--text:#27303f}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Segoe UI',Arial,sans-serif;color:var(--text);line-height:1.7}
a{color:inherit;text-decoration:none}.wrap{max-width:1150px;margin:auto;padding:0 20px}
.topbar{background:var(--blue);color:#fff;font-size:.82rem;padding:6px 20px;text-align:center}
header{background:#fff;position:sticky;top:0;z-index:10;box-shadow:0 2px 12px #0002;border-bottom:4px solid;border-image:linear-gradient(90deg,var(--red),var(--orange),var(--yellow),var(--green),var(--blue),var(--purple)) 1}
.bar{display:flex;align-items:center;justify-content:space-between;max-width:1300px;margin:auto;padding:10px 20px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:12px}
.logo{width:52px;height:52px;border-radius:14px;background:linear-gradient(135deg,var(--red),var(--orange));color:#fff;display:grid;place-items:center;font-weight:800;font-size:1.3rem}
.brand b{display:block;color:var(--blue);font-size:1.3rem;line-height:1.1;letter-spacing:1px}.brand small{color:var(--orange);font-weight:600;font-size:.75rem}
nav{display:flex;flex-wrap:wrap;gap:4px}nav a{padding:9px 13px;font-size:.88rem;font-weight:600;color:var(--blue);border-radius:30px}
nav a:hover,nav a.active{background:var(--blue);color:#fff}
#burger{display:none;background:none;border:0;font-size:1.9rem;color:var(--blue);cursor:pointer}
.hero{background:linear-gradient(120deg,#1e3a8a,#7b2cbf 50%,#e63946);color:#fff;text-align:center;padding:100px 20px;position:relative;overflow:hidden}
.hero:before,.hero:after{content:"";position:absolute;border-radius:50%;opacity:.25}
.hero:before{width:300px;height:300px;background:var(--yellow);top:-100px;left:-80px}.hero:after{width:380px;height:380px;background:var(--green);bottom:-160px;right:-100px}
.hero>*{position:relative}.hero h1{font-size:3.2rem;letter-spacing:2px}.hero h1 span{color:var(--yellow)}
.hero p{font-size:1.2rem;margin:12px auto;max-width:650px}.hero.small{padding:60px 20px}.hero.small h1{font-size:2.3rem}
.btn{display:inline-block;margin:10px 6px 0;background:var(--yellow);color:var(--blue);padding:13px 30px;border-radius:30px;font-weight:700;border:0;cursor:pointer;font-size:1rem;box-shadow:0 4px 12px #0003}
.btn.alt{background:#fff}.btn:hover{transform:translateY(-2px)}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));max-width:1000px;margin:-45px auto 0;position:relative;gap:14px;padding:0 20px}
.stats div{color:#fff;text-align:center;padding:22px;border-radius:14px;box-shadow:0 6px 18px #0003}.stats b{font-size:2rem;display:block}
.stats div:nth-child(1){background:var(--red)}.stats div:nth-child(2){background:var(--green)}.stats div:nth-child(3){background:var(--orange)}.stats div:nth-child(4){background:var(--purple)}
section{padding:70px 0}.alt-bg{background:var(--light)}
.tag{color:var(--orange);text-transform:uppercase;letter-spacing:2px;font-size:.8rem;font-weight:700;text-align:center}
h2{color:var(--blue);text-align:center;font-size:2.1rem;margin:6px 0 12px}.sub{text-align:center;max-width:700px;margin:0 auto 38px;color:#667}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px}
.card{background:#fff;border-radius:14px;padding:28px;box-shadow:0 4px 16px #0001;border-top:5px solid var(--blue);transition:.25s}
.card:hover{transform:translateY(-6px);box-shadow:0 10px 24px #0002}.card h3,.card h4{color:var(--blue);margin-bottom:8px}.ic{font-size:2.2rem}
.grid .card:nth-child(6n+1){border-color:var(--red)}.grid .card:nth-child(6n+2){border-color:var(--orange)}.grid .card:nth-child(6n+3){border-color:var(--green)}
.grid .card:nth-child(6n+4){border-color:var(--purple)}.grid .card:nth-child(6n+5){border-color:var(--yellow)}.grid .card:nth-child(6n+6){border-color:var(--blue)}
.cta{background:linear-gradient(120deg,var(--green),var(--blue));color:#fff;text-align:center}.cta h2{color:#fff}
.person{text-align:center}.ph{width:130px;height:130px;border-radius:50%;margin:0 auto 14px;background:linear-gradient(135deg,var(--orange),var(--red)) center/cover;color:#fff;display:grid;place-items:center;font-size:2.6rem;border:4px solid var(--yellow)}
.person em{color:var(--orange);font-style:normal;font-weight:700;display:block;margin-bottom:8px}
ul.tick{list-style:none}ul.tick li:before{content:"✔";color:var(--green);margin-right:8px;font-weight:700}
.gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.gal div{aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,var(--blue),var(--purple))}.gal div:nth-child(3n+2){background:linear-gradient(135deg,var(--orange),var(--red))}.gal div:nth-child(3n){background:linear-gradient(135deg,var(--green),var(--blue))}
.gal img{width:100%;height:100%;object-fit:cover;transition:.3s}.gal img:hover{transform:scale(1.08)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:30px}
form{display:grid;gap:12px}input,select,textarea{padding:12px;border:1px solid #ccd;border-radius:8px;font:inherit;width:100%}
iframe{width:100%;height:280px;border:0;border-radius:10px;margin-top:16px}
.docs{display:grid;grid-template-columns:310px 1fr;gap:20px}
.list button{display:block;width:100%;text-align:left;padding:10px 14px;margin-bottom:6px;border:1px solid #dde;background:#fff;border-radius:8px;cursor:pointer;font:inherit}
.list button:hover,.list button.on{background:var(--blue);color:#fff}
.viewer{background:#fff;border:1px solid #dde;border-radius:10px;min-height:480px;display:flex;flex-direction:column}
.viewer .top{padding:10px 16px;background:var(--light);display:flex;justify-content:space-between}.viewer iframe{margin:0;flex:1;height:480px;border-radius:0}
.empty{margin:auto;text-align:center;color:#889;padding:60px}
footer{background:#10204f;color:#cdd5ee;padding:45px 0 14px;font-size:.92rem}footer h5{color:var(--yellow);margin-bottom:8px;font-size:1.05rem}footer a{display:block}footer a:hover{color:var(--yellow)}
.copy{text-align:center;border-top:1px solid #ffffff30;margin-top:24px;padding-top:14px;font-size:.82rem}
@media(max-width:900px){#burger{display:block}nav{display:none;width:100%;flex-direction:column}nav.open{display:flex}.two,.docs{grid-template-columns:1fr}.hero h1{font-size:2.1rem}}
html{scroll-behavior:smooth}#home,#about,#team,#gallery,#academics,#contact,#disclosure{scroll-margin-top:90px}
.secbar{background:linear-gradient(120deg,var(--blue),var(--purple));color:#fff;text-align:center;padding:42px 20px}.secbar h1{font-size:2.1rem}.secbar p{color:var(--yellow)}
/* ===== Extra colour theme ===== */
:root{--pink:#ff4d8d;--sky:#00b4d8;--lime:#80c342}
body{background:#fffdf7}
.topbar{background:linear-gradient(90deg,var(--red),var(--orange),var(--yellow),var(--green),var(--sky),var(--purple));color:#fff;font-weight:600;text-shadow:0 1px 2px #0005}
.logo{background:linear-gradient(135deg,var(--pink),var(--orange),var(--yellow));box-shadow:0 4px 10px #f77f0066}
.brand b{background:linear-gradient(90deg,var(--blue),var(--purple),var(--pink));-webkit-background-clip:text;background-clip:text;color:transparent}
nav a:nth-child(7n+1):hover,nav a:nth-child(7n+1).active{background:var(--red)}nav a:nth-child(7n+2):hover,nav a:nth-child(7n+2).active{background:var(--orange)}
nav a:nth-child(7n+3):hover,nav a:nth-child(7n+3).active{background:var(--green)}nav a:nth-child(7n+4):hover,nav a:nth-child(7n+4).active{background:var(--sky)}
nav a:nth-child(7n+5):hover,nav a:nth-child(7n+5).active{background:var(--purple)}nav a:nth-child(7n+6):hover,nav a:nth-child(7n+6).active{background:var(--pink)}nav a:nth-child(7n+7):hover,nav a:nth-child(7n+7).active{background:var(--blue)}
.hero{background:linear-gradient(125deg,#1e3a8a,#7b2cbf,#ff4d8d,#f77f00);background-size:300% 300%;animation:flow 12s ease infinite}
@keyframes flow{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}
.hero:before{animation:float 7s ease-in-out infinite}.hero:after{animation:float 9s ease-in-out infinite reverse;background:var(--sky)}
@keyframes float{50%{transform:translateY(30px) scale(1.1)}}
.hero h1 span{background:linear-gradient(90deg,var(--yellow),#fff,var(--yellow));-webkit-background-clip:text;background-clip:text;color:transparent}
.btn{background:linear-gradient(90deg,var(--yellow),var(--orange));color:#3a1c00}.btn.alt{background:#fff;color:var(--purple)}
.stats div:nth-child(1){background:linear-gradient(135deg,var(--red),var(--pink))}.stats div:nth-child(2){background:linear-gradient(135deg,var(--green),var(--lime))}
.stats div:nth-child(3){background:linear-gradient(135deg,var(--orange),var(--yellow))}.stats div:nth-child(4){background:linear-gradient(135deg,var(--purple),var(--sky))}
h2{background:linear-gradient(90deg,var(--blue),var(--purple),var(--pink));-webkit-background-clip:text;background-clip:text;color:transparent;display:block}
h2:after{content:"";display:block;width:90px;height:5px;border-radius:5px;margin:8px auto 0;background:linear-gradient(90deg,var(--red),var(--yellow),var(--green),var(--sky))}
.grid .card:nth-child(6n+1){background:linear-gradient(180deg,#fff0f1,#fff)}.grid .card:nth-child(6n+2){background:linear-gradient(180deg,#fff4e6,#fff)}
.grid .card:nth-child(6n+3){background:linear-gradient(180deg,#e6f7f4,#fff)}.grid .card:nth-child(6n+4){background:linear-gradient(180deg,#f3e8fb,#fff)}
.grid .card:nth-child(6n+5){background:linear-gradient(180deg,#fff8e1,#fff)}.grid .card:nth-child(6n+6){background:linear-gradient(180deg,#e8eefc,#fff)}
.ic{display:inline-grid;place-items:center;width:62px;height:62px;border-radius:18px;background:#fff;box-shadow:0 4px 12px #0002;margin-bottom:8px}
#home section.alt-bg{background:linear-gradient(135deg,#e0f2fe,#fce7f3)}#about,#academics{background:#fffaf0}#team{background:linear-gradient(135deg,#ede9fe,#e0f7fa)}
#gallery{background:linear-gradient(135deg,#fff1e6,#ffe4ef)}#contact{background:linear-gradient(135deg,#e6fff5,#e8f0ff)}#disclosure{background:linear-gradient(135deg,#fff8dc,#f3e8ff)}
.secbar{background:linear-gradient(120deg,var(--blue),var(--purple),var(--pink))}
#about .secbar{background:linear-gradient(120deg,var(--orange),var(--red))}#team .secbar{background:linear-gradient(120deg,var(--purple),var(--sky))}
#gallery .secbar{background:linear-gradient(120deg,var(--pink),var(--orange))}#academics .secbar{background:linear-gradient(120deg,var(--green),var(--blue))}
#contact .secbar{background:linear-gradient(120deg,var(--sky),var(--green))}#disclosure .secbar{background:linear-gradient(120deg,var(--blue),var(--purple))}
.hero.small{background-size:200% 200%}.about .hero.small{background:linear-gradient(120deg,var(--orange),var(--red),var(--pink))}
.team .hero.small{background:linear-gradient(120deg,var(--purple),var(--sky))}.gallery .hero.small{background:linear-gradient(120deg,var(--pink),var(--orange),var(--yellow))}
.academics .hero.small{background:linear-gradient(120deg,var(--green),var(--blue))}.contact .hero.small{background:linear-gradient(120deg,var(--sky),var(--green))}
.disclosure .hero.small{background:linear-gradient(120deg,var(--blue),var(--purple),var(--pink))}
.cta{background:linear-gradient(120deg,var(--green),var(--sky),var(--purple));background-size:200% 200%;animation:flow 10s ease infinite}
.list button:nth-child(5n+1){border-left:5px solid var(--red)}.list button:nth-child(5n+2){border-left:5px solid var(--orange)}.list button:nth-child(5n+3){border-left:5px solid var(--green)}.list button:nth-child(5n+4){border-left:5px solid var(--sky)}.list button:nth-child(5n+5){border-left:5px solid var(--purple)}
.ph{background:linear-gradient(135deg,var(--pink),var(--orange))}.grid .person:nth-child(2) .ph{background:linear-gradient(135deg,var(--green),var(--sky))}.grid .person:nth-child(3) .ph{background:linear-gradient(135deg,var(--purple),var(--pink))}.grid .person:nth-child(4) .ph{background:linear-gradient(135deg,var(--blue),var(--sky))}
footer{background:linear-gradient(135deg,#1e3a8a,#4c1d95 60%,#9d174d);border-top:5px solid var(--yellow)}
