*{
    box-sizing:border-box;
}

html,
body{
    margin:0;
    padding:0;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    color:#173b59;
    background:#fff;
}

a{
    text-decoration:none;
    color:inherit;
}

.wrap{
    width:100%;
    max-width:1440px;
    margin:0 auto;
    padding-left:32px;
    padding-right:32px;
}


/* =========================================================
   TOP BAR
========================================================= */

.topbar{
    height:31px;
    background:#07568d;
    color:#fff;
    font-size:11px;
}

.topbar-inner{
    height:31px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.top-left,
.top-right{
    display:flex;
    align-items:center;
    gap:19px;
}

.top-right{
    gap:7px;
}

.top-right i{
    font-style:normal;
    opacity:.6;
}


/* =========================================================
   HEADER
========================================================= */

.header-row{
    height:104px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
}

.brand img{
    width:92px;
    height:86px;
    object-fit:contain;
}

.brand h1{
    font:700 28px/1.01 Georgia,serif;
    color:#064778;
    margin:0;
}

.brand p{
    margin:3px 0 2px;
    font-size:14px;
    color:#394d5e;
}

.brand small{
    font-size:11px;
    color:#465967;
}

.header-tools{
    display:flex;
    align-items:center;
    gap:9px;
}

.search{
    display:flex;
    width:170px;
    height:31px;
    border:1px solid #d1dde6;
}

.search input{
    border:0;
    outline:0;
    min-width:0;
    flex:1;
    padding:0 10px;
}

.search button{
    width:34px;
    border:0;
    background:#07568d;
    color:#fff;
}

.social{
    width:28px;
    height:28px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#12639b;
    color:#fff;
    font-weight:bold;
}

.social.yt{
    background:#e41d2b;
}


/* =========================================================
   MAIN NAVIGATION
========================================================= */

.mainnav{
    height:42px;
    border-top:1px solid #e3ebf0;
    border-bottom:1px solid #e3ebf0;
}

.nav-row{
    height:42px;
    display:flex;
    align-items:stretch;
}

.nav-row>a{
    display:flex;
    align-items:center;
    padding:0 14px;
    font-size:11px;
    font-weight:600;
    color:#064778;
}

.nav-row>a.active{
    background:#087dc2;
    color:#fff;
}

.nav-row .apply{
    margin-left:auto;
    background:#075080;
    color:#fff;
    font:700 17px Georgia,serif;
    padding:0 21px;
}


/* =========================================================
   HERO
   Full-width / less-cropped photograph
========================================================= */

.hero{
    height:550px;
    position:relative;
    overflow:hidden;
    background:#dcecf5;
}

.hero-photo{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    transform:none;
}

.hero-shade{
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(0,44,72,.68),
        rgba(0,44,72,.31) 34%,
        rgba(0,0,0,0) 61%
    );
}

.hero-inner{
    height:100%;
    position:relative;
    display:flex;
    align-items:center;
}

.hero-copy{
    color:#fff;
    margin-left:15px;
    margin-top:20px;
}


/* =========================================================
   HERO MOTTO
========================================================= */

.motto-copy{
    color:#fff;
    margin-left:15px;
    margin-top:20px;
}

.motto-title{
    font-size:14px;
    font-weight:700;
    letter-spacing:4px;
    margin-bottom:15px;
}

.motto-sanskrit{
    font-family:Georgia,"Times New Roman",serif;
    font-size:35px;
    line-height:1.3;
    margin-bottom:7px;
}

.motto-malayalam{
    font-size:27px;
    line-height:1.4;
    margin-bottom:10px;
}

.motto-english{
    font-family:Georgia,"Times New Roman",serif;
    font-size:30px;
    line-height:1.3;
    font-weight:700;
    font-style:italic;
}


/* =========================================================
   QUICK LINKS
========================================================= */

.quickbar{
    height:91px;
    background:#f0faff;
}

.quick-grid{
    height:91px;
    display:grid;
    grid-template-columns:repeat(6,1fr);
    align-items:center;
}

.quick-grid>a{
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 8px;
}

.qicon{
    width:48px;
    height:48px;
    border-radius:6px;
    color:#fff;
    display:grid;
    place-items:center;
    font-size:23px;
    flex:none;
}

.blue{
    background:#07568d;
}

.green{
    background:#139b68;
}

.red{
    background:#df1745;
}

.purple{
    background:#6f2dbd;
}

.orange{
    background:#f7a900;
}

.teal{
    background:#0b9fa4;
}

.quick-grid strong,
.quick-grid small{
    display:block;
}

.quick-grid strong{
    font-size:11px;
    color:#064778;
}

.quick-grid small{
    font-size:9px;
    color:#536879;
    margin-top:5px;
    line-height:1.35;
}


/* =========================================================
   WHAT'S NEW
========================================================= */

.whatsnew{
    padding:13px 0 21px;
}

.section-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.section-title h2,
.subhead h2{
    font:700 22px Georgia,serif;
    color:#064778;
    margin:0 0 10px;
}

.slider-controls{
    display:flex;
    gap:7px;
}

.slider-controls button{
    width:27px;
    height:27px;
    border-radius:50%;
    border:1px solid #0b70ae;
    background:#fff;
    color:#07568d;
}

.slider-controls .filled{
    background:#07568d;
    color:#fff;
}

.news-window{
    overflow:hidden;
}

.news-cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    transition:transform .35s ease;
}

.news-cards a{
    display:block;
    overflow:hidden;
    border-radius:7px;
}

.news-cards img{
    display:block;
    width:100%;
    height:163px;
    object-fit:cover;
}


/* =========================================================
   LOWER SECTION
========================================================= */

.lower{
    padding:8px 0 27px;
}

.lower-grid{
    display:grid;
    grid-template-columns:340px 1fr;
    gap:35px;
}

.subhead{
    height:33px;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    border-bottom:2px solid #e5edf2;
    position:relative;
}

.subhead:after{
    content:"";
    position:absolute;
    left:0;
    bottom:-2px;
    width:33px;
    height:2px;
    background:#0b8bd4;
}

.subhead h2{
    font-size:17px;
}

.subhead>a{
    font-size:9px;
    color:#07568d;
    font-weight:bold;
    margin-top:5px;
}


/* =========================================================
   LATEST NEWS
========================================================= */

.latest-list>a{
    min-height:55px;
    border-bottom:1px solid #e5edf2;
    display:grid;
    grid-template-columns:42px 1fr 33px;
    gap:10px;
    align-items:center;
    font-size:10px;
}

.latest-list time{
    background:#edf7fd;
    color:#07568d;
    border-radius:5px;
    text-align:center;
    padding:5px;
}

.latest-list time b,
.latest-list time small{
    display:block;
}

.latest-list time b{
    font-size:14px;
}

.latest-list time small{
    font-size:9px;
}

.latest-list em{
    font-style:normal;
    background:red;
    color:#fff;
    padding:4px 5px;
    border-radius:3px;
    font-size:9px;
}


/* =========================================================
   FACILITIES
========================================================= */

.facility-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
    padding-top:13px;
}

.facility-grid img{
    width:100%;
    height:102px;
    object-fit:cover;
    border-radius:4px;
    display:block;
}

.facility-grid b,
.facility-grid small{
    display:block;
}

.facility-grid b{
    font-size:11px;
    color:#064778;
    margin-top:6px;
}

.facility-grid small{
    font-size:8px;
    color:#526675;
    margin-top:3px;
}


/* =========================================================
   FOOTER
========================================================= */

footer{
    background:linear-gradient(110deg,#075084,#00649d);
    color:#fff;
    padding:28px 0 18px;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.15fr .8fr 1.1fr 1fr;
    gap:38px;
}

.footer-grid h3{
    font:700 16px Georgia,serif;
    margin:0 0 14px;
}

.footer-grid p,
.footer-grid a{
    display:block;
    font-size:10px;
    line-height:1.55;
    margin:0 0 6px;
}

.footer-social{
    display:flex;
    gap:9px;
    margin-top:11px;
}

.footer-social span{
    width:26px;
    height:26px;
    border-radius:5px;
    background:#0786d1;
    display:grid;
    place-items:center;
}

.footer-grid input{
    width:100%;
    height:35px;
    border:0;
    border-radius:4px;
    padding:0 11px;
    margin:7px 0;
}

.footer-grid button{
    background:#0786d1;
    color:#fff;
    border:0;
    border-radius:4px;
    padding:10px 23px;
    font-weight:bold;
}

.copyright{
    border-top:1px solid rgba(255,255,255,.35);
    margin-top:25px;
    padding-top:16px;
    display:flex;
    justify-content:space-between;
    font-size:9px;
}



@media(max-width:1200px) and (min-width:801px){
    .wrap{
        max-width:100%;
        padding-left:24px;
        padding-right:24px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:800px){

    .top-right,
    .header-tools{
        display:none;
    }

    .top-left{
        gap:8px;
        font-size:9px;
    }

    .header-row{
        height:88px;
    }

    .brand img{
        width:70px;
        height:68px;
    }

    .brand h1{
        font-size:20px;
    }

    .brand small{
        display:none;
    }

    .mainnav{
        overflow-x:auto;
    }

    .nav-row{
        width:max-content;
        max-width:none;
    }

.hero{
    height:390px;
    position:relative;
    overflow:hidden;
    background:#dcecf5;
}

.hero-photo{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center center;
}

    .motto-copy{
        margin-left:10px;
        margin-top:10px;
    }

    .motto-title{
        font-size:12px;
        letter-spacing:3px;
        margin-bottom:10px;
    }

    .motto-sanskrit{
        font-size:27px;
    }

    .motto-malayalam{
        font-size:22px;
    }

    .motto-english{
        font-size:24px;
    }

    .quickbar,
    .quick-grid{
        height:auto;
    }

    .quick-grid{
        grid-template-columns:repeat(2,1fr);
        gap:10px;
        padding:14px 0;
    }

    .news-cards{
        display:flex;
        overflow-x:auto;
    }

    .news-cards a{
        min-width:250px;
    }

    .lower-grid{
        grid-template-columns:1fr;
    }

    .facility-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .footer-grid{
        grid-template-columns:1fr 1fr;
    }

    .copyright{
        gap:20px;
    }

    .wrap{
        max-width:100%;
        padding-left:16px;
        padding-right:16px;
    }
}