@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600&display=swap');



@font-face {
    font-family: 'Maven Pro';
    src: url('../fonts/MavenPro-SemiBold.woff2') format('woff2'),
        url('../fonts/MavenPro-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Maven Pro';
    src: url('../fonts/MavenPro-Regular.woff2') format('woff2'),
        url('../fonts/MavenPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
   margin:0; padding:0;
   box-sizing: border-box;
   outline: none; border:none;
   text-decoration: none;   
   transition: all .2s linear;
}

body, p, span, h1, h2, h3, h4, h5, h6, a, .nav-link, .navbar-brand {
  font-family: 'Maven Pro', 'Montserrat', system-ui, sans-serif !important;
}

html,
body {
    color: #222222;
}

h1 {
    font-family: "Maven Pro", system-ui;
    font-weight: 600;
    font-style: normal;
    font-size: 52px;
    line-height: 1;
}

h2 {
    font-family: "Maven Pro", system-ui;
    font-weight: 600;
    font-style: normal;
    font-size: 40px;
    line-height: 1.1;
}

h3 {
    font-family: "Maven Pro", system-ui;
    font-weight: normal;
    font-style: normal;
    font-size: 32px;
    line-height: 1.1;
}

h4 {
    font-family: "Maven Pro", system-ui;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
}

h5 {
    font-family: "Maven Pro", system-ui;
    font-weight: normal;
    font-style: normal;
    font-size: 18px;
    line-height: 1.4;
}

p,
span {
    font-family: "Maven Pro", system-ui;
    font-weight: normal;
    font-style: normal;
    font-size: 15px;
    line-height: 1.8;
}

strong {
    font-weight: 600;
}

.navbar .nav-item #btn-register {
    border: 1px solid #0077D0;
    border-radius: 20px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    color: #0077D0;
}

.nav-link {
  font-size: 16px; /* adjust nav link size */
}

.navbar-nav .nav-link {
  font-size: 1rem; /* 16px */
  padding: 0.5rem 1rem;
}

#btn-register {
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 25px;
}

.navbar .nav-item #btn-register:hover {
    background-color: #0077D0;
    color: #FFFFFF;
}

.navbar .nav-item>.nav-link {
    font-family: "Maven Pro", system-ui;
    color: #222222;
}

.navbar .nav-item:not(:last-child)>.nav-link {
    /*padding: 0.5rem 1rem;*/
}

.navbar .nav-item>.nav-link.active,
.navbar .nav-item>.nav-link:hover {
    color: #0077D0;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  text-decoration: none;     /* no underline */
  color: #0077D0;            /* your brand blue */
  background-color: transparent; /* keep background clear */
  cursor: pointer;           /* show hand cursor */
}

.navbar .nav-item>.nav-link.active {
    font-weight: 700;
}

.navbar-toggler {
    width: 20px;
    height: 20px;
    position: relative;
    transition: .5s ease-in-out;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
    border: 0;
    position: relative;
}

.navbar-toggler span {
    margin: 0;
    padding: 0;
}

.toggler-icon {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #222222;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.middle-bar {
    margin-top: 0px;
}

/* State when the navbar is collapsed */

.navbar-toggler.collapsed .top-bar {
    position: absolute;
    top: 0px;
    transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    position: absolute;
    top: 10px;
    filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
    position: absolute;
    top: 20px;
    transform: rotate(0deg);
}

/* when navigation is clicked */

.navbar-toggler .top-bar {
    top: inherit;
    transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
    opacity: 0;
    top: inherit;
    filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
    top: inherit;
    transform: rotate(-135deg);
}

/* sticky*/


/* Color of 3 lines */

.navbar-toggler.collapsed .toggler-icon {
    background: #222222;
}

#banner {
    background-color: #004988;
    overflow: hidden;
}

#banner #logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

#banner #ijm-logo {
    max-width: 140px;
}

#banner .background~.container-fluid {
    position: absolute;
    top: 0;
    left: 0;
}

#banner #video-container {
    aspect-ratio: 4/5;
    position: relative;
}

#banner #video-container video {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#about {
    background-color: #0077D0;
    padding: 3rem 0;
    overflow: hidden;
}

#about .box {
    background-color: #004988;
    display: block !important;
    text-align: left;
}

#about .box .title {
    background-color: #25A0C3;
    padding: 0.75rem 4rem;
    min-width: 340px;
    display: inline-flex;
     justify-content: center; 
    border-radius: 30px;
    text-align: center;
}

#about .box .divider {
    width: 100%;
    height: 5px;
    background-color: #25A0C3;
    margin: 4rem 0;
}

#about .box ul {
    padding-left: 15px;
}

#about #disclaimer {
    font-size: 13px;
}

#projects {
    overflow: hidden;
}

#projects .btn {
    padding: 0.75rem 1.25rem;
    border: 1px solid #0077D0;
    border-radius: 30px;
    width: 100%;
    min-width: 240px;
    max-width: 280px;
    background-color: #25A0C3;
    color: #fff;
}

#projects .btn.active,
#projects .btn:hover {
    background-color: #004988;
    border: 1px solid #004988;
    color: #FFFFFF;
}

@media (max-width: 1399.98px) {

    h1 {
        font-size: 34px;
    }

    #about .box .title {
        padding: 0.75rem 2.75rem;
        min-width: 300px;
    }


}

@media (max-width: 991.98px) {

    @keyframes animatedBackground {
        from {
            transform: scale(1);
        }

        to {
            transform: scale(1.04);
        }
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 25px;
        line-height: 1.2;
    }

    h3{
        font-size: 28px;
    }

    .navbar .nav-item>.nav-link {
        font-size: 16px;
    }

    .navbar .nav-item:first-child>.nav-link {
        padding-top: 1.5rem;
    }

    .navbar .nav-item>.nav-link {
        padding: 0.5rem 1rem;
    }

    .navbar .nav-item #btn-register {
        margin-left: 0.5rem;
        margin-top: 0.5rem;
        max-width: fit-content;
    }

    #about .box .title {
        padding: 0.75rem 2rem;
        min-width: 200px;
    }

}

@media (max-width: 767.98px) {

    h1 {
        font-size: 26px;
    }

    #banner #ijm-logo {
        max-width: 90px;
    }

    #about .box h3{
        max-width: 72%;
    }

}

/* Footer (NEW)*/
footer{background: #004988;padding: 30px 0;color: #ffffff;font-family: 'Maven Pro', 'Arial', system-ui;}
.img-ijm{width: 80px;position: relative;top: -5px; margin-left: 10px;}
.footerinfo{color: #ffffff;float: left;}
.footerlist li{list-style: none; display: inline-block;border-right: 1px solid #808284;}
ul{padding-inline-start: 1em}
.footerlist li a{color: #ffffff; margin-right: 8px; margin-left: 8px;}
.footerlist li a:first-child{margin-left: 0;}
.footerlist li:last-child{border-right: 0;}
.footer-right,.sociallink{display: flex;flex-direction: column; justify-content: right;}
/*.footer-right p,.footer-right ul{float: left;}*/
.footer-link li {list-style: none; display: inline-block; text-align: right; margin-left: 15px} 
.footer-link img{width: 24px;}
.sociallink{display: flex;flex-direction: row; justify-content: right; align-items: center;}
a.maillink{text-align: right;color: #ffffff}
.maillink img{margin-right: 5px;}
.footerleft ul{padding-inline-start:0}
.footer-right ul{margin-bottom: 0}
/* Footer Ends */


/* Filter */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600&display=swap');

*{
   font-family: 'Montserrat', sans-serif;
   margin:0; padding:0;
   box-sizing: border-box;
   outline: none; border:none;
   text-decoration: none;   
   transition: all .2s linear;
}



.box {
  display: none;
}

.box.show {
  display: block;
}


.container{
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  padding:25px 20px;
}

.container .heading{
  font-size: 40px;
  margin-bottom: 20px;
  color:#334;
}

.container .box-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap:20px;
}

.container .box-container .box{
  background-color: #fff;
  padding:20px;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0,0,0,.2);
  display: none;

}

.container .box-container .box:nth-child(1),
.container .box-container .box:nth-child(2),
.container .box-container .box:nth-child(3){
  display: block;
}

.container .box-container .box .image{
  margin-bottom: 20px;
  overflow: hidden;
  height: 250px;
  border-radius: 5px;
}

.container .box-container .box .image img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.container .box-container .box:hover .image img{
  transform: scale(1.1);
}

.container .box-container .box .content h3{
  font-size: 20px;
  color:#334;
}

.container .box-container .box .content p{
  font-size: 15px;
  color:#777;
  line-height: 2;
  padding:15px 0;
}

.container .box-container .box .content .btn{
  display: inline-block;
  padding:10px 30px;
  border:1px solid #334;
  color:#334;
  font-size: 16px;
}

.container .box-container .box .content .btn:hover{
  background-color: crimson;
  border-color: crimson;
  color:#fff;
}

.container .box-container .box .content .icons{
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center;     /* Center horizontally */
  justify-content: center; /* Center vertically if needed */
  text-align: center;      /* Ensure text is centered */
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #334;

}

.container .box-container .box .content .icons span{
  font-size: 14px;
  color:#777;
}

.container .box-container .box .content .icons span i{
  color:crimson;
  padding-right: 5px;
}

#load-more{
  margin-top: 20px;
  display: inline-block;
  padding:13px 30px;
  border:1px solid #d3aa59;
  color:#fff;
  font-size: 16px;
  background-color: #d3aa59;
  cursor: pointer;
}

#load-more:hover{
  background-color: #d3aa59;
  border-color: #d3aa59;
  color:#000;
}

@media (max-width:450px){

  .container .heading{
    font-size: 25px;
  }

  .container .box-container{
    grid-template-columns: 1fr;
  }

  .container .box-container .box .image{
    height: 200px;
  }

  .container .box-container .box .content p{
    font-size: 12px;
  }

  .container .box-container .box .content .icons span{
    font-size: 12px;
  }

}

#register{
    background-color: lightgray;
    padding: 80px 0;
}

#register .submit-btn-2 {
    background: #ffffff;
    color: black;
    padding: 10px 30px;
    border-radius: 60px;
}
#register .submit-btn-2:hover{background-color: black; color: white; text-decoration: none; border-radius: 60px;}

.filterDiv {
  position: relative;
  overflow: hidden;
}


/* Non-clickable ribbon */
.ribbon {
  position: absolute;
  top: 30px;
  left: -45px;
  width: 180px;
  background: #d3aa59; /* red */
  color: #fff;
  text-align: center;
  line-height: 30px;
  transform: rotate(-45deg);
  font-weight: bold;
  font-size: 13px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 2;
  pointer-events: none; /* ensures it's non-interactive */
}