
/* -----------------------------
   GLOBAL DESIGN
------------------------------*/
body {
    font-family: 'Inter', sans-serif;
    background: #eef1f6;
    color: #1c1c1c;
    overflow-x: hidden;
}

/* Custom section spacing */
section {
    padding: 90px 0;
}

/* -----------------------------
   ADVANCED NAVBAR (floating)
------------------------------*/
.navbar-custom {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.navbar-custom .nav-link {
    font-weight: 500;
    padding: 10px 18px !important;
    border-radius: 8px;
}

.navbar-custom .nav-link:hover {
    background: rgba(0,0,0,0.05);
}


/* -----------------------------
   MODERN SPLIT-ABOUT SECTION
------------------------------*/
.about-img {
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

.about-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #e3e4e8;
    box-shadow: 0 10px 35px rgba(0,0,0,0.06);
}

/* -----------------------------
   LABS – custom grid, NOT bootstrap cards
------------------------------*/
.lab-box {
    background: white;
    padding: 40px 32px;
    border-radius: 26px;
    border: 1px solid #dadde4;
    position: relative;
    overflow: hidden;
    transition: 0.35s;
}

.lab-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0,0,0,0.1);
}

.lab-box::after {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 160px;
    height: 160px;
    background: #0d6efd22;
    border-radius: 50%;
    transition: 0.35s;
}

.lab-box:hover::after {
    width: 240px;
    height: 240px;
    background: #0d6efd33;
}

.lab-icon {
    height: 70px;
    object-fit: contain;
    margin-bottom: 25px;
}
.lab-icon1 {
    height: 50px;
    object-fit: contain;
    margin-bottom: 25px;
}

/* -----------------------------
   PROJECTS – custom tiles
------------------------------*/
.project-tile {
    border-radius: 22px;
    padding: 35px;
    background: white;
    border: 1px solid #dbe0ea;
    transition: 0.25s;
}

.project-tile:hover {
    background: #f4f7fc;
    transform: translateY(-5px);
}

.project-icon {
    height: 55px;
    margin-bottom: 15px;
}

/* -----------------------------
   NEWS – simplified clean list
------------------------------*/
.news-item {
    padding: 22px 28px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #ddd;
    transition: .2s;
}

.news-item:hover {
    background: #f0f2f7;
    transform: translateX(6px);
}

/* -----------------------------
   FOOTER – premium dark
------------------------------*/
footer {
    background: #0d0f12;
    color: #bbb;
}

footer a {
    color: #d7e4ff;
    text-decoration: none;
}

#backTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0d6efd;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: none;
    border: none;
    z-index: 999;
}


.hero-img {
    height: 88vh; 
    object-fit: cover;
    filter: brightness(0.55) saturate(1.2);
}

.carousel-caption {
    text-shadow: 0 6px 20px rgba(0,0,0,0.45);
    padding-bottom: 7rem;
    animation: fadeUp 1s ease;
}

.carousel-item .badge {
    backdrop-filter: blur(4px);
    padding: 6px 12px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.carousel-control-prev,
.carousel-control-next {
    opacity: .6;
    transition: .3s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Text entrance animation */
.fade-up {
    animation: fadeUp .8s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* International projects*/

.project-box{
    display:grid !important;
    gap:40px;
    align-items:flex-start;
    border:1px solid #3c376924; 
    border-radius: 10px;
    padding: 20px;
    margin-block: 2.5rem;
    box-shadow: 3px 4px 3px rgba(29, 23, 112, 0.173);
    background-color: white;
    
     @media (width > 700px) {
        grid-template-columns: 1fr 3fr;
    }
}

/* National projects*/

.grid-design {
    display:grid;
    gap:2rem;
    padding-bottom: 3rem;
    justify-content:space-between;
    border-radius: 10px;
    
    @media (width > 750px) {
        grid-template-columns: 1fr 2fr;
    }
}
/* applied research projects*/

.content-box {
    display:block;
    background-color: #ffffff;
    border:2px solid #3c376921; 
    padding: 20px;
    margin-block: 2.5rem;
    box-shadow: 4px 3px 4px 3px rgba(29, 23, 112, 0.094);
    border-radius: 10px;
}

/* tools*/

.tools{
    display:grid !important;
    grid-template-columns: 1fr 1fr;
    gap:01rem;
    
     @media (width < 700px) {
        grid-template-columns: 1fr;
}
.tools-box{
 
    gap:40px;
    align-items: center;
    border:1px solid #3c376924; 
    border-radius: 10px;
    padding: 20px;
    box-shadow: 3px 4px 3px rgba(29, 23, 112, 0.173);
    background-color: #ffffff;
    
   
     /* @media (width > 700px) {
        grid-template-columns: 1fr 3fr;
    } */
}
.tools-box img{
    display: flex;
    max-inline-size: 250px;
    max-block-size: 250px;
    margin-inline: auto;
    padding: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
    border: solid 1px #617aa0dc;
    border-radius: 12px;
}



