*{
    box-sizing:border-box;
}

    

/* body{
    font-family:'Times New Roman', Times, serif;
    color: rgb(0, 0, 0);
    line-height: 1.5; */
body {
    font-family: 'Inter', sans-serif;
    background: #eef1f6;
    color: #1c1c1c;
    overflow-x: hidden;
}

/* Custom section spacing */
section {
    padding: 70px 0;
}
 
/* section{
    margin-block:2rem;
} */
main {
    margin-block:5rem;
}

.bg-body-tertiary{
    background-color: #02417b !important; 
    /* background-color: #4d4d4ceb !important;  */
   /* background-image: radial-gradient(circle at 70% 300%, hsla(89, 71%, 59%, 0.279),hsla(223, 86%, 11%, 0.51)),
   linear-gradient(hsla(221, 97%, 15%, 0.927),hsla(215, 98%, 26%, 0.784)), radial-gradient(circle at 50%, hsla(0, 100%, 28%, 0.844),hsla(230, 100%, 50%, 0.782)) !important; */
    background-image: radial-gradient(circle at 50% 160%, hsla(89, 50%, 45%, 0.348),hsla(222, 86%, 11%, 0.407)),
   linear-gradient(rgba(1, 22, 59, 0.927),#00389aba), radial-gradient(circle at 50%, hsla(0, 100%, 50%, 0.57),hsla(229, 83%, 23%, 0.296));
    padding-bottom: 1.6rem;
}

.navbar-nav{
    padding-inline-end:10% !important;
}
.nav-item {
   font-family:sans-serif;
    text-transform:uppercase;
    font-weight:500;
}
.navbar-toggler-icon{
    width: 2.2em;
    height: 2.2em;
}

.navbar-toggler{
    margin-top:10%;
}
a{
    color:#08044cd3;
    font-weight:500;
    text-decoration: none;
}

a:hover,
a:focus-visible{
    color: #9f404b;
}
/* -----------------------------
   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;
}

/* footer{
    display:grid;
    margin:0;
    background-color: #325193fd ;
    background-image: radial-gradient(circle at 50% 160%, hsla(89, 71%, 59%, 0.348),hsla(222, 86%, 11%, 0.407)),
   linear-gradient(rgba(1, 22, 59, 0.927),#00389aba), radial-gradient(circle at 50%, hsla(0, 100%, 50%, 0.57),hsla(229, 97%, 28%, 0.296));
    padding-block-start:16px;
    text-align: center;
    justify-content: center;
  
    @media (width > 700px) {
        grid-template-columns: 2fr 3fr 2fr;
    }
}

footer img{
    max-inline-size: 290px;
    max-block-size: 210px;
    margin:auto;
    justify-content: center;
    padding: 2rem;   
}

.footer-navigation{
    grid-row:span 2;
    padding-inline-start: 0px;
}

.footer-navigation ul{
    list-style: none;
    text-transform: uppercase;
    padding-top: 20px;
    padding-inline-start: 0px;
}


.footer-navigation a{
    color:#f5f2f2be;
    font-family: sans-serif;
    font-weight: 0.7rem;
    text-decoration: none;
    text-transform:uppercase;
}

.footer-navigation a:hover,
.footer-navigation a:focus-visible{
    color: #cf1515;
}

.copyright-text{
    color:#f5f2f2be ;   
} */



h1{
    font-size: 1.8rem;
    line-height: 1.1;
    font-family: sans-serif;
    color: #ea121296;
    text-shadow: 1px 1px 1px#09321ac4; 
    /* color: #281414b8;
    text-shadow: 0.7px 0.7px 0.4px#030502ab; */
} 

h2{
    /* color:#2a3431;
    font-size: 1.9rem;  */
   font-family: sans-serif;
    font-size: 1.5rem;
    font-weight:bold;
    color: #1c2b55b4;
    text-shadow: 0.5px 0.5px 0.4px#253f28aa;
}

h3{
    color:#151414;
    font-size:1.6rem;
}

h4{
    color: #242121;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

h5 {
    color: #242121;
    font-size: 1.1rem;
}

.h4-list {
    line-height: 0.5;
    padding:0;   
}

img{
    display:block;
    max-inline-size:100%;
    margin-inline: auto;
}
.img-header{
    max-inline-size:600px;
    padding-inline:10%;
}

.cover-img{
    display:block;
    /* max-inline-size: 80%; */
    margin:auto;
    padding:30px;
}


.h1-page-title {
    font-family: sans-serif;
} 

 ul,
ol{
    color:#203167;
}

li{
    color:#2b1b1b;
    padding:0.5rem;
}

hr {
    color: #0f047224;
    width: 90%;
}
 


.titlef {
   font-weight: 3rem;
   color:#f5f2f2be;
    text-shadow: 3px 3px 3px  #0d0f17;
   font-family: sans-serif;
    margin:auto;
    justify-content: center;
    padding-block-end: 2rem;
}

.tools-box{
    display:grid !important;
    grid-template-columns: 1fr 1fr;
    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);
    margin-block: 2rem;
    background-color: #ffffff;
    
   
     /* @media (width > 700px) {
        grid-template-columns: 1fr 3fr;
    } */
}

.tools-box img{
    max-inline-size: 250px;
    max-block-size: 250px;
    margin-inline: auto;
}

.people-bg{
    background-color: #f5f2f2be;
}

.flex-box-people {
    display: flex;
    flex: 1 1 auto;
    flex-wrap:wrap;
    table-layout: fixed;
    justify-content:start;
    gap:1rem;     
}

.person-box {
    background-color: #ffffffc2;
    padding-inline: 1.8rem;
    padding-top: 1.8rem;
    padding-bottom: 0.7rem;
    box-shadow: 5px 7px 5px gray;
    border:2px solid #3c376949; 
    text-wrap: 1;
    margin-block: 1rem;
    margin-inline: .5rem;   
}

.person-box img{
     inline-size: 190px;
     block-size: 190px;
     object-fit: cover;
     object-position: 100%;
     border:3px solid #3d386964;
     margin:auto;
     margin-bottom: 1rem;
}

.person-groups {
    margin:5rem;
}

.btn {
    color:white;
    background-color: #658dfb;
    background-image: radial-gradient(circle at 50% 160%, hsla(89, 71%, 59%, 0.348),hsla(223, 72%, 24%, 0.407)),
   linear-gradient(rgba(1, 22, 59, 0.778),#00389aba), radial-gradient(circle at 50%, hsla(0, 100%, 50%, 0.57),hsla(171, 97%, 28%, 0.296));
    border:#151414;
}

.btn{
    --bs-btn-hover-color: #ffffff; 
    --bs-btn-hover-bg: #dbfb4f;
    --bs-btn-hover-border: 1px solid #00000024;     
}

.contact-box{
    display:grid;
    gap:3rem;
    padding: 40px;
    justify-content:space-between;
    background-color: #efedec5e;
    border: #3e3d4145 2px solid;
    box-shadow: 3px 4px 3px rgba(29, 23, 112, 0.331);

    @media (width > 750px) {
        grid-template-columns: 1fr 2fr;
    }
}

.comm-heading{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap:wrap;
}

.project-box{
    display:grid;
    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;
    }
}

/* .project-logos{
    display:flex;
    display: flex;
    flex:1;
    gap:3rem;
    flex-wrap:wrap;
    padding-block-start: 5% ;
}

.project-image{
   max-inline-size: 300px;
    max-block-size: 200px;
    margin:auto;
} */

.grid-design {
 display:grid;
    gap:2rem;
    padding: 1rem;
    justify-content:space-between;
    
    @media (width > 750px) {
        grid-template-columns: 1fr 2fr;
    }
}

.content-box {
    display:block;
    background-color: #e6e5e819;
    border:2px solid #3c376921; 
    padding: 20px;
    margin-block: 2.5rem;
    box-shadow: 4px 3px 4px 3px rgba(29, 23, 112, 0.094);
}

.small-image img{
   max-inline-size: 300px;
    max-block-size: 250px;
}

.news {
    margin:2rem;
    background-color: #ffffff;
    padding: 2rem;
    box-shadow: 5px 5px 5px rgba(36, 77, 18, 0.286);
    border:2px outset #0921444e; 
    text-wrap: 1;
    margin-block: 1rem;
    margin-inline: .5rem;
    
} 

.news p{
    font-size: 1.1rem;
}

.grid-news{
    display:grid;
    align-items: center;
    padding: 20px;
    border: 0.3px solid #c4c1c162;
    box-shadow: 5px 7px 5px gray;
    background-color: #efedec5e;
    margin-block: 2rem;
   
     @media (width > 700px) {
        grid-template-columns: 1fr;
    }
}

.project-box-home{
    font-family: sans-serif;
    align-items: center;
    padding: 20px;
    /* border: 0.3px solid #c4c1c162;
    box-shadow: 3px 3px 3px #80808072; */
    background-color: #f5f2f2be;
    /* margin-bottom: 1em; */
}

.project-box-home-news{ 
    font-family: sans-serif;
    align-items: center;
    padding: 20px;
    border-radius:0.7rem;
    border: 0.2px solid #c4c1c162;
    box-shadow: 3px 3px 3px #80808072;
    /* background-color: #233360bf; */
    background-color: #adc69c4f;
    background-image: radial-gradient(circle at 50% 160%, hsla(90, 7%, 52%, 0.348),hsla(224, 17%, 39%, 0.268)),
   linear-gradient(rgb(248, 248, 248),#0d1420a8), radial-gradient(circle at 50%, hsla(0, 43%, 48%, 0.31),hsla(230, 50%, 28%, 0.296));
    margin-bottom: 1em;
}

.projects{
   background-color: #e5e3e3be;
   border: 0.2px solid #f2ececdf ;
   border-radius: 12%;
   box-shadow: 3px 3px 3px #32303072;
   margin-bottom: 0.5rem;
   max-width: 30rem;
  
}


.responsive-iframe{
    width:100%;
    height:0;
    padding-bottom: 56.25%;
    position: relative;
}

.responsive-iframe iframe{
    position:absolute;
    width:100%;
    height:100%;
}

.bg-image{
    height:81%;
    width: 100%;
    object-fit: cover;
    filter:brightness(90%);
    position:absolute;
    top:0;
    left:0;
    z-index: -1;
}

.e6{
   padding-top: 5rem;

}

.e6-3lab{
    margin-top: 2em;
}

.e6-title{
    background-size:cover;
    background-position: center;
    min-height:30dvw;
    object-fit: cover;
    border: 0.7rem solid #f5f2f2be;
   box-shadow: 3px 3px 3px #32303072;
   margin-block: 0.5rem;   
   }

.e6-title-3lab{
    background-size:cover;
    background-position: center;
    min-height:30dvw;
    object-fit: cover;
    border: 0.7rem solid #f5f2f2be;
   /* box-shadow: 3px 3px 3px #32303072; */
   margin-block: 0.5rem;
}

.e6-text{
    padding-block:1vh;
    background-color: #f5f2f2be; 
    font-family: serif;
    font-size:1.2rem;
    border: 0.2px solid #f2ececdf; 
   box-shadow: 3px 3px 3px #32303072;
   margin-block: 0.5rem;  
}

.e6-text-3lab{
    padding-block:1vh;
    /* background-color: #f5f2f2be; */
    font-family: serif;
    font-size:1.2rem;
    /* border: 0.2px solid #f2ececdf; */
   /* box-shadow: 3px 3px 3px #32303072; */
   margin-block: 0.5rem;  
}

.after-hero-section{
    margin-block:12%;
}

.labs{
    padding-block: 2.5vh;
}

.labs h2{
    font-family: sans-serif;
    font-weight: bold;
    color: #d11212fc;
    text-shadow: 1px 1px 1px#08044cd3;
}

.space{
    height: 20vh;;
}

.labs p{
    font-family: serif;
    font-size:1.2rem;
    padding-block:2rem;    
}

.lab{
   /* margin-top: 5vh;  */
   /* margin-bottom:1rem; */
   z-index:100;
   padding:2rem;
   /* background-color: #061004b8; */
   /* border: 4px solid transparent ; */
   box-shadow: 3px 3px 3px #32303098;
   min-height:11dvw;
   /* border-radius: 16%; */
   /* background-color: var(--surface-6);
   /* background-image: radial-gradient(circle at 50% 400%, #86cf6958,rgba(0, 0, 0, 0.87)),
   linear-gradient(rgba(255, 0, 0, 0.677),rgba(187, 255, 0, 0.715)); */
   /*background-origin: ;  */
    border-radius:0.9rem;
    position:relative;
    background: hsla(120, 16%, 22%, 0.677);
    backdrop-filter:blur(4px);    
}

.lab::before{
    content:'';
    position: absolute;
    z-index:-1;
    inset:0;
    border-radius:inherit;
    border:2px solid transparent;
    background: linear-gradient(rgba(14, 4, 4, 0.736),rgba(187, 255, 0, 0.445)) border-box;
    mask: linear-gradient(black, black) border-box, 
        linear-gradient(black, black) padding-box;
    mask-composite: subtract;
}

.lab a{
    color:#e8e2e2;
    font-size:2.2vh;
}

.lab h3 a:hover,
.lab h3 a:focus-visible{
    color:#d11212fc;

}

.card-footer{
    background-color: #233360bf;
    background-image: radial-gradient(circle at 50% 160%, hsla(89, 46%, 41%, 0.455),hsla(222, 86%, 11%, 0.407)),
   linear-gradient(rgba(1, 22, 59, 0.927),#00389aba), radial-gradient(circle at 50%, hsla(0, 100%, 50%, 0.57),hsla(229, 97%, 28%, 0.296));
}

/* .project1{
    margin-bottom: 1em;
    margin-top:4rem;
    padding:1rem;
    color:#233360;
    border: 0.3px solid #87828262;
    box-shadow: 3px 2px 2px  rgba(46, 104, 46, 0.418);
    background-color: #f8f8fda9;
}
.project1 h4{
    padding:2vh;
    text-align: center;
}
.project1 img{
    max-width: 70% ;
}
.project2{
    margin-bottom: 1em;
    margin-top:3rem;
    padding:1rem;
    color:#233360;
    border: 0.3px solid #87828262;
    box-shadow: 3px 2px 2px rgba(44, 58, 114, 0.564);
    background-color: #f8f8fda9;
}
.project2 h4{
    padding:2vh; 
    text-align: center; 
}
.project2 img{
    max-width: 70% ;
}
.project3{
    margin-bottom: 1em;
    margin-top:2rem;
    padding:1rem;
    color:#233360;
    border: 0.3px solid #87828262;
    box-shadow: 3px 2px 2px rgba(46, 104, 46, 0.418);
    background-color: #f8f8fda9;
    
}
.project3 h4{
    padding:2vh; 
    text-align: center;
}
.project3 img{
    max-width: 70% ;
}
.project4{
    margin-bottom: 1em;
    margin-top:3.5rem;
    padding:1rem;
    color:#233360;
    border: 0.3px solid #87828262;
    box-shadow: 3px 2px 2px rgba(44, 58, 114, 0.564);
    background-color: #f8f8fda9;
}
.project4 h4{
    padding:2vh;
    text-align: center;
}
.project4 img{
    max-width: 70% ;
} */


.news-home p{
    font-size: smaller;
}
.news-home{
   z-index:100;
   padding:1rem;
   box-shadow: 3px 5px 5px #654b4b98;
   min-height:11dvw;
   /*background-origin: ;  */
    border-radius:0.9rem;
    position:relative;
    background: hsla(0, 0%, 100%, 0.837);
    backdrop-filter:blur(4px);
    margin-top: 1.2rem;
}

.news-home::before{
    content:'';
    position: absolute;
    z-index:-1;
    inset:0;
    border-radius:inherit;
    border:2.5px solid transparent;
    background: linear-gradient(rgba(5, 32, 141, 0.71),rgba(144, 209, 46, 0.445)) border-box;
    mask: linear-gradient(rgb(222, 219, 219), rgb(240, 235, 235)) border-box, 
    linear-gradient(rgb(237, 233, 233), rgb(245, 242, 242)) padding-box;
    mask-composite: subtract;
}


#marigine-main-index{
    margin-block:0;
}

#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display:none;
  
}
.carousel-caption{
    text-align: center;
    max-width: 70%;
}
.carousel-caption h4{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 2.7rem;
    color:rgb(219, 7, 7);
    text-transform: lowercase;
    text-shadow: 3px 3px 3px#08044cd3;
}
.carousel-caption p{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.5rem;
    color:rgb(220, 228, 247);
    text-shadow: 3px 2px 2px#08044cd3;   
}

/* -----------------------------
   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;
}