*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:#12365c;background:#fff;line-height:1.55}.container{width:min(1180px,92%);margin:auto}.topbar{height:34px;background:#fff;color:#163b61;font-size:11px}.topbar-inner{display:flex;justify-content:flex-end;align-items:center;height:100%}.top-links{display:flex;align-items:center;gap:14px}.top-links a{color:#173b5e;text-decoration:none}.top-links span{height:14px;width:1px;background:#d8e0e8}.language-btn{border:0;background:transparent;color:#173b5e;font-size:11px;cursor:pointer}.site-header{height:82px;background:#fff;border-bottom:1px solid #e8eef3;position:sticky;top:0;z-index:50}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#12365c}.crest{width:54px;height:62px;background:linear-gradient(145deg,#0c3156,#174d7b);clip-path:polygon(12% 0,88% 0,100% 12%,90% 72%,50% 100%,10% 72%,0 12%);display:grid;place-items:center;box-shadow:0 4px 12px #12365c20}.crest span{width:30px;height:30px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;font-size:18px}.brand-text{display:flex;flex-direction:column;line-height:1.05}.brand-text strong{font-size:18px;letter-spacing:.2px}.brand-text small{font-size:11px;margin-top:4px}.brand-text em{font-family:"Playfair Display",serif;font-size:12px;margin-top:4px;color:#27547b}.main-nav{display:flex;align-items:center;gap:28px;height:100%;font-size:12px;font-weight:600}.main-nav a{color:#173c61;text-decoration:none;height:100%;display:flex;align-items:center;border-bottom:3px solid transparent}.main-nav a:hover,.main-nav a.active{border-color:#123f68;color:#0a335a}.mobile-toggle{display:none;background:none;border:0;font-size:23px;color:#12365c}.hero{height:430px;position:relative;overflow:hidden;color:#fff}.hero-image{position:absolute;inset:0;background-image:url("https://rehendi.edu.mv/img/front.jpg?auto=format&fit=crop&w=1800&q=90");background-size:cover;background-position:center}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,35,65,.82) 0%,rgba(8,54,88,.55) 42%,rgba(0,30,55,.12) 75%)}.hero-content{position:relative;z-index:2;padding-top:82px}.eyebrow,.section-kicker{font-size:11px;font-weight:800;letter-spacing:1.6px;margin:0 0 9px}.hero h1{font-size:38px;line-height:1.1;margin:0;font-weight:800}.hero-tagline{font:italic 25px "Playfair Display",serif;margin:4px 0 8px}.hero-copy{max-width:410px;font-size:14px;margin:0 0 20px;color:#eef7ff}.btn{display:inline-flex;gap:10px;align-items:center;text-decoration:none;padding:11px 18px;border-radius:4px;font-size:11px;font-weight:700}.btn-primary{background:#0b3b68;color:#fff;box-shadow:0 4px 12px #092c4d30}.btn-primary:hover{background:#082f54}.hero-dots{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);z-index:3;display:flex;gap:7px}.dot{width:8px;height:8px;border-radius:50%;border:1px solid #fff;background:transparent}.dot.active{background:#fff}.stats{background:#fff;box-shadow:0 4px 18px #12365c10}.stats-grid{display:grid;grid-template-columns:repeat(5,1fr);padding:22px 0}.stat{text-align:center;border-right:1px solid #dbe4ec;display:flex;flex-direction:column;align-items:center;gap:2px}.stat:last-child{border:0}.stat i{font-size:20px;color:#103d68;margin-bottom:4px}.stat strong{font-size:18px;color:#0e3962}.stat span{font-size:11px;color:#56708a}.section{padding:52px 0}.vision{background:linear-gradient(90deg,#f4faff,#fff)}.split{display:grid;grid-template-columns:1fr 1fr;gap:58px;align-items:center}.section-kicker{color:#50718f}.section h2{font-size:24px;margin:0 0 18px;line-height:1.2;color:#123b62}.info-item{display:flex;gap:15px;margin:0 0 18px}.info-icon{width:34px;flex:0 0 34px;font-size:21px;color:#174d7c}.info-item h3{font-size:13px;margin:0 0 3px}.info-item p,.history-copy p{font-size:12px;color:#526b81;margin:0;max-width:590px}.feature-photo{height:330px;position:relative;border-radius:5px;overflow:hidden;box-shadow:0 8px 25px #0d3b5c18}.feature-photo img,.student-photo img{width:100%;height:100%;object-fit:cover}.photo-caption{position:absolute;bottom:0;left:0;right:0;padding:42px 20px 15px;background:linear-gradient(transparent,rgba(0,25,50,.8));color:#fff;text-align:right;font-size:12px}.photo-caption strong{font-size:14px}.about-school{padding-top:38px}.about-grid{display:grid;grid-template-columns:280px 1fr 250px;gap:26px;align-items:center}.history-photo{height:245px;position:relative;border-radius:4px;overflow:hidden}.history-photo img{width:100%;height:100%;object-fit:cover;filter:grayscale(1)}.history-label{position:absolute;bottom:12px;left:12px;background:#fff;padding:5px 9px;font-size:10px;font-weight:700}.history-copy h2{margin-bottom:10px}.history-copy .btn{margin-top:8px}.school-levels{background:#f1f7fb;padding:28px 22px;text-align:center;border-radius:4px;color:#173f63}.school-levels>i{font-size:28px;margin-bottom:12px}.school-levels strong,.school-levels span,.school-levels em{display:block;font-size:11px}.school-levels span{margin-top:6px}.school-levels hr{border:0;border-top:1px solid #cddbe5;width:45%;margin:18px auto}.school-levels em{font-size:11px;color:#526c82}.academics{background:#f7fbfe}.section-heading{margin-bottom:20px}.section-heading h2{margin-bottom:3px}.section-heading p{font-size:12px;color:#61788d;margin:0}.section-heading.inline{display:flex;align-items:flex-end;justify-content:space-between}.view-all{font-size:11px;color:#123f68;text-decoration:none;font-weight:700}.academic-grid{display:grid;grid-template-columns:repeat(3,1fr) 1fr;gap:15px}

.academic-card{
	background:#fff;
	border-radius:5px;
	overflow:hidden;
	box-shadow:0 3px 14px #0b3a5c12;
}

.academic-card>img{
	height:112px;
	width:100%;
	object-fit:cover;
}

.foundation-image {
    width: 261.52px;
    height: 248.8px;
    overflow: hidden;
    border-radius: 5px;
}

.foundation-image img {
    width: 261.52px;
    height: 248.8px;
    object-fit: cover;
    display: block;
}


.academic-card.foundation-image-card {
    width: 261.52px !important;
    height: 248.8px !important;
    padding: 0 !important;
    overflow: hidden;
}

.academic-card.foundation-image-card > img {
    width: 261.52px !important;
    height: 248.8px !important;
    max-width: none !important;
    object-fit: cover !important;
    display: block !important;
}

.academic-card>div{
	padding:15px;
	position:relative;
	min-height:130px;
}

.academic-card i{
	font-size:18px;
	color:#123f68;
}

.academic-card h3{
	font-size:12px;
	margin:6px 0;
}

.academic-card p{
	font-size:10px;
	color:#5d7388;
	margin:0;
	max-width:220px;
}

.academic-card a{
	position:absolute;
	right:15px;
	bottom:13px;
	color:#123f68;
	text-decoration:none;
	font-size:18px
}


.stages-card{background:#0b3a63;color:#fff;border-radius:5px;padding:20px;position:relative;overflow:hidden}.stages-card:after{content:"";position:absolute;width:160px;height:160px;border:1px solid #fff2;border-radius:50%;right:-80px;bottom:-70px}.stages-card h3{font-size:13px;margin:0 0 12px}.stage{display:flex;align-items:center;gap:10px;margin:10px 0}.stage b{border:1px solid #d8e8f7;border-radius:50%;width:27px;height:27px;display:grid;place-items:center;font-size:12px}.stage span{font-size:10px}.student-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:45px;align-items:center}.muted{font-size:11px;color:#647b8f}.houses{display:flex;gap:10px;margin:18px 0 20px}.house{width:75px;height:112px;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;clip-path:polygon(0 0,100% 0,100% 82%,50% 100%,0 82%);font-size:10px}.house span{font-size:23px;margin-bottom:5px}.house strong{font-size:11px}.house small{font-size:8px}.red{background:#cf2830}.green{background:#16a05a}.orange{background:#f27c18}.purple{background:#743477}.student-photo{height:310px;position:relative;overflow:hidden;border-radius:5px}.student-photo .photo-caption{font-family:"Playfair Display",serif;text-align:left;font-style:italic;font-size:17px}.news-section{background:#f3f8fc}.news-layout{display:grid;grid-template-columns:1fr 260px;gap:28px}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.news-card{background:#fff;border-radius:5px;overflow:hidden;box-shadow:0 2px 10px #0d3b5c10}.news-card>img{height:110px;width:100%;object-fit:cover}.news-body{padding:12px}.news-body time{font-size:9px;color:#61778b}.news-body h3{font-size:12px;line-height:1.3;margin:5px 0}.news-body p{font-size:9px;color:#607487;margin:0}.quick-links{background:#fff;padding:17px;border-radius:5px}.quick-links h2{font-size:18px;margin-bottom:12px}.quick-links a{display:flex;align-items:center;gap:9px;padding:10px 4px;border-top:1px solid #e5edf3;text-decoration:none;color:#244d70;font-size:10px}.quick-links a i{width:17px}.quick-links a span{flex:1}.quick-links a b{font-size:17px;font-weight:400}.gallery-section{padding-top:35px}.gallery{display:grid;grid-template-columns:repeat(6,1fr);gap:5px}.gallery-item{height:95px;overflow:hidden;border-radius:3px}.gallery-item img{width:100%;height:100%;object-fit:cover;transition:.25s}.gallery-item:hover img{transform:scale(1.06)}footer{background:#062d50;color:#dceaf5}.footer-top{padding:32px 0;display:grid;grid-template-columns:1.25fr 1fr 1fr .65fr;gap:25px;align-items:start}.footer-brand{display:flex;gap:12px;align-items:center}.crest.small{width:47px;height:54px}.footer-brand strong{font-size:12px;display:block}.footer-brand small{font-size:9px;display:block}.footer-brand em{font-size:10px;color:#aac0d1}.footer-contact p{font-size:10px;margin:0 0 8px;color:#c4d7e6}.footer-contact i{width:17px;color:#fff}.social span{font-size:10px;display:block;margin-bottom:8px}.social div{display:flex;gap:8px}.social a{width:28px;height:28px;border:1px solid #7893aa;border-radius:50%;display:grid;place-items:center;color:#fff;text-decoration:none;font-size:11px}.footer-bottom{border-top:1px solid #41617a;padding:14px 0;display:flex;justify-content:space-between;font-size:9px;color:#a9bdce}.footer-bottom div{display:flex;gap:18px}.footer-bottom a{color:#a9bdce;text-decoration:none}.lightbox{position:fixed;inset:0;background:#00182acc;z-index:100;display:none;place-items:center;padding:40px}.lightbox.show{display:grid}.lightbox img{max-width:90vw;max-height:85vh;border-radius:5px}.lightbox button{position:absolute;right:25px;top:20px;border:0;background:#fff;color:#12365c;width:38px;height:38px;border-radius:50%;font-size:18px}@media(max-width:1050px){.main-nav{gap:16px}.academic-grid{grid-template-columns:repeat(2,1fr)}.stages-card{min-height:250px}.about-grid{grid-template-columns:220px 1fr}.school-levels{grid-column:1/-1}.gallery{grid-template-columns:repeat(3,1fr)}}@media(max-width:780px){.topbar{display:none}.site-header{height:68px}.brand-text strong{font-size:14px}.brand-text small{font-size:9px}.brand-text em{font-size:10px}.crest{width:44px;height:51px}.mobile-toggle{display:block}.main-nav{position:absolute;top:68px;left:0;right:0;height:auto;background:#fff;display:none;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 8px 20px #0002}.main-nav.open{display:flex}.main-nav a{height:auto;padding:13px 5%;border-bottom:1px solid #edf2f6}.hero{height:420px}.hero-content{padding-top:80px}.hero h1{font-size:31px}.stats-grid{grid-template-columns:repeat(3,1fr);gap:15px}.stat:nth-child(3){border:0}.stat:nth-child(4),.stat:nth-child(5){padding-top:12px}.stat strong{font-size:15px}.split,.student-grid,.news-layout{grid-template-columns:1fr}.feature-photo,.student-photo{height:270px}.about-grid{grid-template-columns:1fr}.history-photo{height:220px}.academic-grid{grid-template-columns:1fr 1fr}.news-grid{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(3,1fr)}.footer-top{grid-template-columns:1fr 1fr}.footer-bottom{flex-direction:column;gap:8px}}@media(max-width:480px){.container{width:90%}.section{padding:38px 0}.hero{height:400px}.hero-content{padding-top:75px}.hero-copy{font-size:12px;max-width:330px}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat{border-right:1px solid #dbe4ec}.stat:nth-child(2n){border:0}.academic-grid{grid-template-columns:1fr}.houses{gap:6px}.house{width:66px;height:102px}.section-heading.inline{align-items:flex-start;gap:10px}.view-all{white-space:nowrap}.gallery{grid-template-columns:repeat(2,1fr)}.gallery-item{height:110px}.footer-top{grid-template-columns:1fr}.footer-bottom div{flex-wrap:wrap}.brand-text{min-width:0}.brand-text strong{white-space:nowrap;font-size:12px}.crest{flex:0 0 40px}.hero-tagline{font-size:22px}}


