html{

    scroll-behavior:smooth;

}
*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

body{

    font-family:'Poppins',sans-serif;

    background:#f7f7f7;

}


header{

    width:100%;

    position:fixed;

    top:0;

    left:0;

    z-index:1000;

}

.navbar{
    background:#8B0000;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    width:65px;

    height:65px;

    object-fit:contain;

}

.logo h2{

    color:white;

    font-size:22px;

    font-family:'Merriweather',serif;

}

.logo span{

    color:#f3d8d8;

    font-size:14px;

}

.nav-links{
    display:flex;
    align-items:center;
    gap:40px;
    list-style:none;
}

.nav-links a{

    color:white;

    text-decoration:none;

    font-size:17px;

    font-weight:500;

    transition:.3s;

    position:relative;

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:3px;

    background:white;

    transition:.3s;

}

.nav-links a:hover::after{

    width:100%;

}
.dropdown{

    position:relative;

}

.dropdown-menu{

    position:absolute;

    top:60px;

    left:0;

    min-width:220px;

    background:white;

    list-style:none;

    border-radius:12px;

    overflow:visible; /* IMPORTANT */

    box-shadow:0 10px 30px rgba(0,0,0,.15);

    opacity:0;

    visibility:hidden;

    transform:translateY(10px);

    transition:.3s;

    z-index:1000;

}

.dropdown:hover .dropdown-menu{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.dropdown-menu li{

    width:100%;

}

.dropdown-menu li a{

    display:block;

    color:#8B0000;

    padding:14px 18px;

    text-decoration:none;

    transition:.3s;

}

.dropdown-menu li a:hover{

    background:#8B0000;

    color:white;

}

.submenu{

    position:relative;

}

.submenu > a{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 18px;

}

.submenu-content{

    display:none;

    position:absolute;

    top:0;

    right:100%;
    left:auto;

    min-width:300px;

    background:#fff;

    list-style:none;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 10px 20px rgba(0,0,0,.15);

    z-index:9999;

}

.submenu-content li{

    width:100%;

}

.submenu-content li a{

    display:block;

    padding:14px 18px;

    color:#8B0000;

    text-decoration:none;

    transition:.3s;

}

.submenu-content li a:hover{

    background:#8B0000;

    color:white;

}

.submenu:hover > .submenu-content{

    display:block;

}


.navbar.scrolled{

    background:#8B0000;

}
.hero{

    width:100%;

    margin-top:90px;

}

.hero img{
    width:100%;
    height:auto;
    display:block;
}


.welcome{

    background:white;

    text-align:center;

    padding:70px 15%;

}

.welcome h1{

    font-family:'Merriweather',serif;

    font-size:50px;

    color:#8B0000;

}

.welcome h2{

    margin-top:15px;

    color:#555;

    font-size:30px;

}

.welcome p{

    margin:30px auto;

    max-width:900px;

    font-size:19px;

    line-height:1.8;

    color:#666;

}

.hero-btn{

    display:inline-block;

    margin-top:20px;

    padding:18px 40px;

    background:#8B0000;

    color:white;

    text-decoration:none;

    border-radius:40px;

    transition:.3s;

}

.hero-btn:hover{

    background:#b10000;

}
.overview{

    padding:100px 10%;

    background:#f8f8f8;

}

.overview-container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:60px;

    flex-wrap:wrap;

}

.overview-image{

    flex:1;

}

.overview-image img{

    width:100%;

    border-radius:15px;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}

.overview-content{

    flex:1;

}

.overview-content h2{

    font-family:'Merriweather',serif;

    color:#8B0000;

    font-size:42px;

    margin-bottom:25px;

}

.overview-content p{

    font-size:18px;

    line-height:1.8;

    color:#555;

}
.latest-research{

    padding:90px 8%;

    background:#f7f7f7;

}

.section-title{

    text-align:center;

    margin-bottom:50px;

}

.section-title h2{

    font-family:'Merriweather',serif;

    font-size:42px;

    color:#8B0000;

}

.section-title p{

    color:#666;

    margin-top:12px;

    font-size:18px;

}

.research-container{

    display:flex;

    justify-content:center;

    gap:35px;

    flex-wrap:wrap;

}

.research-card{

    width:350px;

    background:white;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.35s;

}

.research-card:hover{

    transform:translateY(-10px);

    box-shadow:0 15px 35px rgba(0,0,0,.15);

}

.research-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

.research-content{

    padding:25px;

}

.year{

    display:inline-block;

    background:#8B0000;

    color:white;

    padding:6px 15px;

    border-radius:30px;

    font-size:14px;

    margin-bottom:15px;

}

.research-content h3{

    margin-bottom:15px;

    color:#333;

}

.research-content p{

    color:#666;

    line-height:1.7;

    margin-bottom:25px;

}

.read-btn{

    display:inline-block;

    background:#8B0000;

    color:white;

    padding:12px 25px;

    border-radius:30px;

    text-decoration:none;

    transition:.3s;

}

.read-btn:hover{

    background:#b00000;

}
.latest-projects{

    padding:90px 8%;

    background:white;

}

.project-container{

    display:flex;

    justify-content:center;

    gap:35px;

    flex-wrap:wrap;

}

.project-card{

    width:350px;

    background:#f8f8f8;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.35s;

}

.project-card:hover{

    transform:translateY(-10px);

    box-shadow:0 15px 35px rgba(0,0,0,.15);

}

.project-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

.project-content{

    padding:25px;

}

.project-content h3{

    margin:15px 0;

    color:#333;

}

.project-content p{

    color:#666;

    line-height:1.7;

    margin-bottom:25px;

}
.research-title{

    margin-top:90px;

    padding:60px 20px;

    text-align:center;

    background:white;

}

.research-title h1{

    font-size:48px;

    color:#8B0000;

    margin-bottom:15px;

}

.research-title p{

    color:#666;

    font-size:18px;

}

.research-page{

    display:flex;

    gap:30px;

    padding:40px;

    background:#f5f5f5;

}

.research-sidebar{

    width:300px;

    background:white;

    border-radius:15px;

    padding:25px;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    position:sticky;

    top:120px;

    height:fit-content;

}
.research-sidebar h2{

    color:#8B0000;

    margin-bottom:20px;

}

.research-sidebar details{

    margin-bottom:15px;

}

.research-sidebar summary{

    cursor:pointer;

    font-weight:bold;

    padding:10px;

    background:white;

    border-radius:8px;

}

.research-sidebar ul{

    list-style:none;

    padding-left:15px;

}

.research-sidebar li{

    margin:8px 0;

}

.research-sidebar a{

    text-decoration:none;

    color:#333;

}

.research-sidebar a:hover{

    color:#8B0000;

}

.research-details{

    flex:1;

    background:white;

    padding:35px;

    border-radius:15px;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

}

.research-details h2{

    color:#8B0000;

}
.footer{
    background:#8B0000;
    color:#fff;
    text-align:center;
    padding:20px 15px;
    margin-top:50px;
}

.footer-content p{
    margin:6px 0;
    font-size:15px;
    line-height:1.6;
}

.footer strong{
    color:#FFD700;
    font-weight:600;
}
.project-title{

    margin-top:110px;

    text-align:center;

    padding:60px 20px;

    background:white;

}

.project-title h1{

    font-size:48px;

    color:#8B0000;

    margin-bottom:15px;

    font-family:'Merriweather',serif;

}

.project-title p{

    color:#666;

    font-size:18px;

}

.project-page{

    display:flex;

    gap:35px;

    padding:50px;

    background:#f5f5f5;

    align-items:flex-start;

}
.project-sidebar{

    width:320px;

    background:white;

    border-radius:15px;

    padding:30px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    position:sticky;

    top:120px;

    height:fit-content;

}

.project-sidebar h2{

    color:#8B0000;

    margin-bottom:20px;

}

.project-sidebar details{

    margin-bottom:15px;

}

.project-sidebar summary{

    cursor:pointer;

    padding:12px;

    border-radius:10px;

    background:#f7f7f7;

    font-weight:bold;

}

.project-sidebar ul{

    list-style:none;

    padding-left:20px;

}

.project-sidebar li{

    margin:10px 0;

}

.project-sidebar a{

    text-decoration:none;

    color:#444;

    transition:.3s;

}

.project-sidebar a:hover{

    color:#8B0000;

}

.project-details{

    flex:1;

    background:#fff;

    border-radius:20px;

    padding:40px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.project-details h2{

    color:#8B0000;

    font-size:42px;

    margin-bottom:5px;

}

.project-details h4{

    color:#555;

    margin-bottom:25px;

}

.project-details p{

    color:#555;

    line-height:1.8;

    margin-bottom:35px;

}

.project-details iframe{

    width:100%;

    height:650px;

    border:1px solid #ddd;

    border-radius:15px;

}
.read-btn{

    display:inline-block;

    margin-top:25px;

    background:#8B0000;

    color:#fff;

    padding:14px 28px;

    border-radius:30px;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;

}

.read-btn:hover{

    background:#b00000;

}
/* ===========================
   ABOUT PAGE
=========================== */

.about-hero{
    margin-top:90px;
    height:60vh;
    background:url("../images/about/about-banner.jpg") center/cover no-repeat;
    position:relative;
}

.about-overlay{
    width:100%;
    height:100%;
    background:rgba(139,0,0,.70);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
    padding:20px;
}

.about-overlay h1{
    font-size:52px;
    margin-bottom:20px;
}

.about-overlay p{
    max-width:800px;
    font-size:20px;
    line-height:1.8;
}

.about-school{
    padding:90px 8%;
    background:white;
}

.about-container{
    display:flex;
    align-items:center;
    gap:60px;
    flex-wrap:wrap;
}

.about-image{
    flex:1;
}

.about-image img{
    width:100%;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.about-content{
    flex:1;
}

.about-content h2{
    color:#8B0000;
    font-size:40px;
    margin-bottom:20px;
}

.about-content p{
    line-height:1.9;
    color:#555;
    font-size:18px;
}

.website-purpose,
.importance,
.about-gallery,
.about-cta{
    padding:80px 8%;
    text-align:center;
}

.website-purpose{
    background:#f8f8f8;
}

.website-purpose h2,
.importance h2,
.about-gallery h2,
.about-cta h2{
    color:#8B0000;
    font-size:40px;
    margin-bottom:20px;
}

.website-purpose p,
.importance p,
.about-cta p{
    max-width:900px;
    margin:auto;
    line-height:1.9;
    color:#555;
    font-size:18px;
}

.mvv-section{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
    padding:90px 8%;
    background:white;
}

.mvv-card{
    width:340px;
    background:#fff;
    border-radius:15px;
    padding:35px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.mvv-card:hover{
    transform:translateY(-8px);
}

.mvv-card h3{
    color:#8B0000;
    margin-bottom:15px;
}

.gallery-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-top:40px;
}

.gallery-container img{
    width:100%;
    border-radius:15px;
    transition:.3s;
}

.gallery-container img:hover{
    transform:scale(1.05);
}

.about-cta{
    background:#8B0000;
    color:white;
}

.about-cta h2,
.about-cta p{
    color:white;
}
/*==============================
CONTACT PAGE
==============================*/
.contact-hero{

    margin-top:95px;

    height:40vh;

    background:url("../images/contact/contact-banner.jpg") center center/cover no-repeat;

    position:relative;

}
.contact-overlay{

    position:absolute;

    inset:0;

    background:rgba(139,0,0,.75);

    display:flex;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    text-align:center;

    color:white;

    padding:20px;

}
.contact-overlay h1{

    font-size:64px;

    font-family:'Merriweather', serif;

    margin-bottom:20px;

    font-weight:700;

}
.contact-overlay p{

    font-size:24px;

    max-width:800px;

    line-height:1.8;

}
.contact-section{

    padding:80px 8%;

    background:#f5f5f5;

}

.contact-wrapper{
    display:grid;
    grid-template-columns:55% 45%;
    gap:40px;
}

/* LEFT */

.contact-info{

    background:white;

    padding:50px;
    border-radius:18px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    min-height:720px;   /* <-- makes the box taller */

}

.contact-info h2{

    color:#8B0000;

    margin-bottom:35px;

    font-size:34px;

}

/* EACH CONTACT */

.contact-item{
    display:flex;
    align-items:center;
    padding:22px 0;
    gap:20px;
}

.contact-item:last-child{

    border-bottom:none;

}

.contact-item img{
    width:100px;
    height:100px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #8B0000;
    margin-right:20px;
    flex-shrink:0;
}

.contact-item h3{
    font-size:30px;
    color:#8B0000;
    margin-bottom:8px;
}

.contact-item a,
.contact-item p{
    font-size:24px;
    line-height:1.6;
    color:#444;
    text-decoration:none;
}

.contact-item a:hover{

    color:#8B0000;

    text-decoration:underline;

}

/* RIGHT */

.right-column{

    display:flex;

    flex-direction:column;

    gap:35px;

}

.contact-form{

    background:white;

    padding:40px;

    border-radius:18px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    height:100%;

}

.contact-form h2{

    color:#8B0000;

    margin-bottom:30px;

}

.contact-form form{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.contact-form input,

.contact-form textarea{

    padding:15px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:16px;

}

.contact-form textarea{

    resize:none;

}

.contact-form button{

    padding:15px;

    background:#8B0000;

    color:white;

    border:none;

    border-radius:30px;

    cursor:pointer;

    font-size:17px;

    transition:.3s;

}

.contact-form button:hover{

    background:#a60000;

}

/* MAP */

.map-box{
    width:100%;
    margin-top:40px;
}

.map-box iframe{
    width:100%;
    height:600px;
    border:none;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

/* MOBILE */

@media(max-width:900px){

.contact-wrapper{

    grid-template-columns:1fr;

}

}
/*==============================
SCHOOL RESEARCH COMMITTEE
==============================*/

.committee-section{

    padding:90px 8%;

    background:white;

    text-align:center;

}

.committee-section h2{

    color:#8B0000;

    font-size:42px;

    margin-bottom:15px;

    font-family:'Merriweather', serif;

}

.committee-section>p{

    max-width:700px;

    margin:0 auto 60px;

    color:#666;

    font-size:18px;

    line-height:1.8;

}

.committee-container{

    display:flex;

    justify-content:center;

    gap:50px;

    flex-wrap:wrap;

}

.committee-card{

    width:340px;

    background:#fff;

    padding:35px;

    border-radius:18px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.committee-card:hover{

    transform:translateY(-8px);

}

.committee-card img{

    width:180px;

    height:180px;

    object-fit:cover;

    border-radius:50%;

    border:6px solid #8B0000;

    margin-bottom:25px;

    cursor:pointer;

}

.committee-card h3{

    color:#8B0000;

    margin-bottom:10px;

}

.committee-card h4{

    color:#444;

    margin-bottom:15px;

}

.committee-card p{

    color:#666;

    line-height:1.7;

}
/*=========================
IMAGE LIGHTBOX
=========================*/

.zoom-image{

    cursor:pointer;

    transition:.35s;

}

.zoom-image:hover{

    transform:scale(1.05);

}

#lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.75);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:99999;

    padding:60px;

}

#lightbox img{

    max-width:85%;

    max-height:85%;

    border-radius:15px;

    box-shadow:0 20px 40px rgba(0,0,0,.4);

    animation:zoomIn .3s ease;

}

@keyframes zoomIn{

from{

    transform:scale(.7);

    opacity:0;

}

to{

    transform:scale(1);

    opacity:1;

}

}
/*====================================
AWARDS & RECOGNITIONS
====================================*/

.awards-section{

    padding:90px 8%;

    background:#f8f8f8;

}

.awards-section h2{

    text-align:center;

    font-size:46px;

    color:#8B0000;

    margin-bottom:15px;

    font-family:'Merriweather',serif;

}

.awards-section>p{

    text-align:center;

    color:#666;

    max-width:800px;

    margin:0 auto 70px;

    font-size:18px;

    line-height:1.8;

}

/* YEAR */

.year-title{

    margin:70px 0 35px;

    text-align:center;

}

.year-title h3{

    display:inline-block;

    background:#8B0000;

    color:white;

    padding:14px 45px;

    border-radius:40px;

    font-size:30px;

    letter-spacing:2px;

    box-shadow:0 8px 20px rgba(0,0,0,.15);

}

/* CARD */

.award-card{

    background:white;

    border-radius:20px;

    overflow:hidden;

    margin-bottom:45px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

}

.award-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,0,0,.18);

}

/* HEADER */

.award-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:25px 35px;

    background:#8B0000;

    flex-wrap:wrap;

}

.award-header h3{

    color:white;

    font-size:24px;

    width:70%;

    line-height:1.5;

}

.award-header a{

    background:white;

    color:#8B0000;

    text-decoration:none;

    padding:12px 22px;

    border-radius:30px;

    font-weight:bold;

    transition:.3s;

}

.award-header a:hover{

    background:#f1f1f1;

}

/* IMAGE */

.award-card img{

    width:100%;

    height:550px;

    object-fit:cover;

    cursor:pointer;

    transition:.4s;

}

.award-card img:hover{

    transform:scale(1.02);

}

/* MOBILE */

@media(max-width:900px){

.award-header{

    flex-direction:column;

    align-items:flex-start;

    gap:20px;

}

.award-header h3{

    width:100%;

    font-size:21px;

}

.award-card img{

    height:320px;

}

}
/*========================================
MISSION • VISION • CORE VALUES POPUP
========================================*/

.mvv-card{

    cursor:pointer;

    transition:.35s;

}

.mvv-card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.18);

}

.mvv-popup{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.6);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:9999;

}

.mvv-popup.active{

    display:flex;

}

.mvv-popup-content{

    background:#fff;

    width:70%;

    max-width:700px;

    max-height:80vh;

    border-radius:18px;

    padding:35px;

    position:relative;

    animation:zoomIn .35s;

    overflow:hidden;

}

.popup-text{

    margin-top:20px;

    max-height:55vh;

    overflow-y:auto;

    line-height:1.8;

    font-size:18px;

    padding-right:10px;

}

.popup-text::-webkit-scrollbar{

    width:8px;

}

.popup-text::-webkit-scrollbar-thumb{

    background:#8B0000;

    border-radius:20px;

}

.close-popup{

    position:absolute;

    top:15px;

    right:20px;

    font-size:32px;

    cursor:pointer;

    color:#8B0000;

}

.mvv-popup-content h2{

    color:#8B0000;

    text-align:center;

    margin-bottom:10px;

}

@keyframes zoomIn{

    from{

        transform:scale(.7);

        opacity:0;

    }

    to{

        transform:scale(1);

        opacity:1;

    }

}
/* Hero Buttons */

.hero-buttons{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:20px;

    margin-top:40px;

    flex-wrap:wrap;

}

.hero-btn{

    display:inline-block;

    padding:16px 35px;

    background:#ffffff;

    color:#8B0000;

    text-decoration:none;

    font-size:18px;

    font-weight:600;

    border-radius:50px;

    transition:.3s;

    box-shadow:0 8px 20px rgba(0,0,0,.15);

}

.hero-btn:hover{

    background:#f5f5f5;

    transform:translateY(-4px);

}

.secondary-btn{

    background:transparent;

    color:white;

    border:2px solid white;

}

.secondary-btn:hover{

    background:white;

    color:#8B0000;

}
.dropdown-menu,
.submenu-content{

    list-style:none;

    margin:0;

    padding:0;

}
.datetime{
    color:#fff;
    font-size:14px;
    font-weight:600;
    text-align:center;
    line-height:1.3;
    min-width:170px;
}