
:root{
    --primary:#2563eb;
    --dark:#0f172a;
    --light:#f8fafc;
}
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body{
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    background:#f8fafc;
}

/* Topbar */
.topbar{
    background:#0f172a;
    color:#fff;
    padding:8px 0;
    font-size:14px;
}

/* Navbar */
/* Topbar */

.topbar{
    background:#0f172a;
    color:#fff;
    padding:8px 0;
    font-size:14px;
}

/* Navbar */

.navbar{
    background:#fff;
    box-shadow:0 2px 20px rgba(0,0,0,.05);
    padding:10px 0;
}

.navbar-brand img{
    max-height:65px;
}

.nav-link{
    color:#0f172a;
    font-weight:600;
    margin-left:20px;
    transition:.3s;
    font-size: 18px;
}

.nav-link:hover{
    color:#2563eb;
}

/* Offcanvas */

.offcanvas{
    width: 100% !important;
}

.offcanvas-header{
    border-bottom:1px solid #eee;
}

.offcanvas-body .nav-link{
    padding:15px 0;
    border-bottom:1px solid #eee;
    margin-left:0;
}

/* Floating Mobile Menu */

.mobile-menu-btn{
    position:fixed;
    bottom:25px;
    right:25px;

    width:65px;
    height:65px;

    border:none;
    border-radius:50%;

    background:#dc143c;
    color:#fff;

    font-size:24px;

    z-index:9999;

    box-shadow:0 10px 30px rgba(0,0,0,.25);

    transition:.3s;
}

.mobile-menu-btn:hover{
    transform:scale(1.08);
}

/* Hide on Desktop */

@media(min-width:992px){

    .mobile-menu-btn{
        display:none;
    }

}

/* Hide Desktop Menu on Mobile */

@media(max-width:991px){

    .desktop-menu{
        display:none;
    }

}

.custom-drawer{
    height:85vh !important;
    border-radius:30px 30px 0 0;
    border:none;
}

.drawer-handle{
    width:60px;
    height:6px;
    background:#cfcfcf;
    border-radius:50px;
    margin:8px auto;
}

.custom-drawer .offcanvas-header{
    padding:0 20px 10px;
}

.custom-drawer .offcanvas-body{
    padding:0 20px 20px;
}

.custom-drawer .nav-link{
    padding:18px 0;
    border-bottom:1px solid #eee;
    font-size:22px;
    font-weight:500;
    color:#1e355e;
}

.navbar .dropdown-menu{
    border:none;
    border-radius:15px;
    padding:0;
    overflow:hidden;
    min-width:220px;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
}

.navbar .dropdown-item{
    padding:14px 18px;
    font-size:15px;
    transition:.3s;
}

.navbar .dropdown-item:hover{
    background:#f8f9fa;
    color:#c92039;
    padding-left:25px;
}

.navbar .dropdown-toggle::after{
    vertical-align:middle;
}

@media(min-width:992px){

    .navbar .dropdown:hover .dropdown-menu{
        display:block;
        animation:fadeIn .3s ease;
    }

}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.submenu{
    list-style:none;
    margin:0;
    padding:0;
    background:#f8f9fa;
    border-radius:10px;
    overflow:hidden;
}

.submenu li{
    border-bottom:1px solid #e9ecef;
}

.submenu li:last-child{
    border-bottom:none;
}

.submenu a{
    display:block;
    padding:12px 20px;
    text-decoration:none;
    color:#444;
    font-size:15px;
}

.submenu a:hover{
    background:#eef3ff;
    color:#0d6efd;
}

.mobile-menu-btn{
    position:fixed;
    right:20px;
    bottom:20px;
    width:60px;
    height:60px;
    border:none;
    border-radius:50%;
    background:#dc143c;
    color:#fff;
    font-size:24px;
    z-index:9999;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

/* Hero */
.hero{
    background:
    linear-gradient(rgba(15,23,42,0.5), rgba(15,23,42,0.5)),
    url('assets/images/DBUU-Aerial-View.webp');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    color:#fff;
    padding:120px 0 180px;
}

.hero h1{
    font-size:4rem;
    font-weight:800;
}

.hero p{
    font-size:1.1rem;
}

.vision-mission{
    background:#f8fafc;
}

.section-subtitle{
    display:inline-block;
    background:#e0e7ff;
    color:#2563eb;
    padding:8px 18px;
    border-radius:50px;
    font-size:14px;
    font-weight:600;
    margin-bottom:15px;
}

.section-title{
    font-size:42px;
    font-weight:800;
    color:#0f172a;
}

.section-desc{
    max-width:700px;
    margin:auto;
    color:#64748b;
}

.vm-card{
    background: #172b52;
    padding:40px;
    border-radius:24px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.4s ease;
    position:relative;
    overflow:hidden;
}

.vm-card:hover{
    transform:translateY(-10px);
}

.vm-card::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
}

.vision-card::before{
    background:#f77708;
}

.mission-card::before{
    background:#f77708;
}

.vm-icon{
    width:80px;
    height:80px;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    margin-bottom:25px;
}

.vision-card .vm-icon{
    background:#dbeafe;
    color:#2563eb;
}

.mission-card .vm-icon{
    background:#ede9fe;
    color:#7c3aed;
}

.vm-card h3{
    font-weight:700;
    margin-bottom:20px;
    color: #fba215;
}

.vm-card p,
.mission-list{
    color: #fff;
    line-height:1.4;
    font-size: 17px;
}

.mission-list{
    padding-left:20px;
}

.mission-list li{
    margin-bottom:10px;
}

@media(max-width:768px){

.section-title{
    font-size:32px;
}

.vm-card{
    padding:30px;
}

}

.leadership-card{
    background:#fff;
    padding:35px;
    border-radius:25px;
    box-shadow:0 10px 40px rgba(0,0,0,.08);
    height:100%;
}

.leader-img img{
    width:100%;
    max-width:280px;
    aspect-ratio:1/1;
    object-fit:cover;
    border:6px solid #fff;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.objective-card{
    background:#fff;
    padding:25px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    transition:.4s;
}

.objective-card:hover{
    transform:translateY(-8px);
}

.icon-box{
    width:65px;
    height:65px;
    border-radius:18px;
    background: #c92039;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    margin-bottom:15px;
}

.objective-card h5{
    font-weight:700;
    margin-bottom:10px;
}

.objective-card p{
    color: #333;
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 15px;
}

/* Bento Grid */
.bento-card{
    background:#fff;
    border-radius:25px;
    padding:30px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s;
}

.bento-card:hover{
    transform:translateY(-8px);
}

.large{
    background: #172b52;
    color:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:420px;
}

.large h3{
    font-size:2rem;
    font-weight:700;
}

.gallery-slider img{
    width:100%;
    height:400px;
    object-fit:cover;
    border-radius:20px;
}

.certificate-card{
    background:#fff;
    padding:15px;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.certificate-card img{
    width:100%;
    border-radius:15px;
}

.cta{
    background: #c92039;
    color:white;
    border-radius:30px;
}

footer{
    background:#020617;
    color:#94a3b8;
}

footer h5{
    color:white;
}

@media(max-width:991px){

.hero h1{
    font-size:2.5rem;
}

.bento-grid{
    grid-template-columns:1fr;
}

.large{
    grid-column:span 1;
    grid-row:span 1;
}

}





/* Navbar */
.navbar{
    background:#fff;
    padding:12px 0;
}

/* Logo container */
.navbar-brand{
    display:flex;
    align-items:center;
    gap:15px;
}

/* DBUU Logo */
.dbuu-logo{
    height:55px;
    width:auto;
}

/* IIC Logo */
.iic-logo{
    height:55px;
    width:auto;
    object-fit:contain;
}

/* Mobile */
@media (max-width:991px){

    .navbar{
        padding:10px 0;
    }

    .dbuu-logo{
        height:42px;
    }

    .iic-logo{
        height:42px;
    }

    /* Leave space for menu button */
    .navbar-brand{
        max-width:calc(100% - 60px);
        gap:10px;
    }
}
