:root{--navy:#102c52;--navy2:#1d4f82;--gold:#e7b85f;--ink:#162d49;--muted:#576c84;--line:#d9e4ee;--bg:#f3f7fc;--green:#087d71}html{scroll-behavior:smooth;scroll-padding-top:24px}body{background:radial-gradient(ellipse at 100% 15%,#dceefa88,transparent 45%),var(--bg);font-family:Arial,'Noto Sans Sinhala',sans-serif}button,.button{min-height:46px;padding:11px 20px;font-weight:700;border-radius:11px;background:var(--navy);box-shadow:0 4px 12px #153d6415;line-height:1.5;transition:background .15s,transform .15s}button:hover,.button:hover{background:#245d93;transform:translateY(-1px)}.button.secondary{background:#fff;color:#153e69;border:1px solid #b5cbdf}.button.secondary:hover{background:#eaf3fb;color:#102c52}.button.gold{background:#f2c96f;border-color:#f2c96f;color:#152c47}.button.teal{background:#087d71;border-color:#087d71;color:#fff}.button.purple{background:#6348a8;border-color:#6348a8;color:#fff}.button.gold:hover{background:#ffdb8d}.danger{background:#a63549;border-color:#a63549}.topbar{max-width:1320px}header{background:linear-gradient(115deg,#0b2344,#174979);border-bottom:3px solid #e6b761}nav{gap:10px}nav a{padding:7px 11px;border-radius:8px;font-weight:600}nav a:hover{background:#ffffff18}nav a[href$="register"]{background:#edc575;color:#102c52}nav button{min-height:38px}.brand small{color:#f1d292}main{max-width:1280px}.hero{max-width:none}h1{letter-spacing:-.8px}h2{color:#173f68}.card{border-radius:18px;padding:26px;box-shadow:0 8px 28px #113e6508;border:1px solid #dce7f0}details{border-radius:13px}summary{min-height:32px;color:#173f68}.tabs a{padding:10px 16px;font-weight:bold;background:#e8f2fd;color:#174775}.notice{border-radius:12px;background:#e7f5f0}.badge{font-weight:bold;padding:5px 11px}.reading{line-height:1.9}button:focus-visible,.button:focus-visible{outline:3px solid #dd9a22;outline-offset:4px}.actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.actions>*{margin:0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 22px}.section-head h2{font-family:Georgia,serif;font-size:2rem;margin:0}.section-kicker{font-size:.72rem;letter-spacing:2px;color:#8e682a;font-weight:800;text-transform:uppercase}.home-section{margin:58px 0}.home-section p{max-width:850px}.home-hero{position:relative;border-radius:24px;overflow:hidden;color:#fff;min-height:520px;display:flex;align-items:center;background:#10233f}.home-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.home-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#071c36ee 0%,#0b2443c9 43%,#0a20332b 100%)}.home-hero-copy{position:relative;z-index:1;padding:54px;max-width:760px}.home-hero h1{font-size:clamp(2rem,4.2vw,3.5rem);line-height:1.4;color:#fff;margin:16px 0}.home-hero p{color:#e0e9f4;max-width:580px}.home-hero .section-kicker{color:#f4d48e}.home-hero .button.secondary{background:#ffffff15;border-color:#c8d8e8;color:#fff}.home-hero .button.secondary:hover{background:#ffffff30}.quicklinks{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.quicklinks a{padding:9px 15px;border:1px solid #d5e2ef;background:#fff;border-radius:30px;text-decoration:none;font-size:.9rem;font-weight:700}.accent-card{border-top:5px solid #2e76b7}.accent-card.teal{border-top-color:#119585}.accent-card.purple{border-top-color:#8260bc}.accent-card.amber{border-top-color:#dfab45}.feature-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:#e7f1fb;color:#205e97;font-size:1.6rem;margin-bottom:14px}.teal .feature-icon{background:#e0f5ed;color:#087d71}.purple .feature-icon{background:#efe8fb;color:#6348a8}.amber .feature-icon{background:#fff0ce;color:#926d24}.price{font-family:Georgia,serif;font-size:2.3rem;font-weight:bold;margin:10px 0}.price small{font:600 .9rem Arial,sans-serif;color:#607289}.band{border-radius:22px;background:linear-gradient(115deg,#103660,#176a84);color:#fff;padding:34px;display:flex;align-items:center;justify-content:space-between;gap:26px}.band h2{color:#fff;font-size:1.6rem}.band p{color:#dcebf4}.notice-image{width:100%;height:200px;object-fit:cover;border-radius:11px;margin-bottom:15px}.registration-number{font-family:monospace;font-size:1.15rem;font-weight:bold;color:#165587;background:#e7f2fc;padding:10px 15px;border-radius:9px;display:inline-block}.install-hint{background:#fff7e7;border:1px solid #efd49c;padding:18px;border-radius:12px}.website-admin label{margin-top:8px}.website-admin textarea{min-height:120px}.website-admin .section-head{margin-top:30px}fieldset{border:1px solid var(--line)}.subject-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;padding:0;list-style:none}.subject-grid li{background:#fff;border:1px solid var(--line);border-left:4px solid #299b9c;border-radius:10px;padding:13px 16px;font-weight:600}.compact-card{padding:20px}.home-footer{padding:36px;border-radius:20px;background:#e5edf6}.course-purchase{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 26px}.course-purchase .button{flex:1 1 190px;text-align:center}.study-tools a{min-height:42px;padding:8px 13px;border-radius:9px;background:#edf4fc;text-decoration:none;font-weight:700}.study-tools form{max-width:270px}input,select,textarea{border-color:#bdcede}th{background:#edf4fa}footer{background:#eaf0f8}
@media(max-width:760px){.home-hero{min-height:520px}.home-hero-copy{padding:32px 24px}.home-hero>img{object-position:65% center}.home-hero:after{background:linear-gradient(90deg,#071c36ef,#0b2443a8)}.home-hero h1{font-size:2rem}.home-section{margin:36px 0}.band{padding:25px;display:block}.band .actions{margin-top:16px}.section-head{align-items:start;flex-direction:column;gap:10px}.section-head h2{font-size:1.7rem}.card{padding:21px}.actions .button{width:100%;text-align:center}.topbar{gap:15px}nav{gap:4px}nav a{font-size:.83rem;padding:7px 9px}.brand{font-size:1.15rem}.price{font-size:2rem}.study-tools{display:block}.study-tools a{display:block;margin:7px 0}.study-tools form{max-width:none}.registration-number{font-size:1rem;overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}button,.button{transition:none}}

[hidden]{display:none!important}

.quicklinks a{color:#173f68}.quicklinks a:hover{background:#dfeefb;color:#102c52}
