* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100%;
   width: 1024px;
  margin:0 auto;  
}



/* Mobile first CSS */

.hero-area {
  margin-top: 100px;   
  height: 50%;
  overflow: hidden;
  /*background: url("../img//mobile_background.jpg");  /* Chrome 10-25, Safari 5.1-6 */
  /*background: url("../img//mobile_background.jpg"); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  background-size: cover;
  background-repeat: no-repeat;
}

.navbar-brand{
  text-align: center;
  display: inline-block;
  float: none;
  font-size: 18px;
  height: 100%;
  padding: 0;
  vertical-align: middle;
}

.hero-img-jiit {
  width: auto;
  height: 17vh;
  margin: auto;
}


.footer-link {
  color: white;
  text-decoration: none;
}

.hero-head {
  font-size: 1.1rem;
}

.redHead {
  font-size: 1.1rem;
  color: #A93226;
}

.redHead2 {
  color: #A93226;
}

.redHead3 {
  color: #A93226;
  font-size: 1.25rem;
}

.readHeadVb {
  font-size: 2rem;
  color: #A93226;
}

.hero-subhead-1 {
  font-size: 1rem;
}

.hero-subhead-2 {
  font-size: 0.75rem;
}

.borderLine2 {
  border-left-style: solid;
  border-width: thick;
  border-color: #A93226;
}

.borderLine {
  border-left-style: solid;
  border-width: thick;
  border-color: #111;
}

.nav-link{
  text-align: center;
}

.tbu{
  animation: blinker 2.5s linear infinite;
  font-size: 1.5rem;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.fixed-top.scrolled {
  background-color: white !important;
  transition: background-color 200ms linear;
}

#navbarNavDropdown{
  background-color: white;
}

.section-head{
  font-size: 1.5rem;
}

.frame {
  height: 70vh;
  width: 90vw;
}

.messageImg{
  height: 20vh;
}

.prevConfImg
{
  max-height: 30vh;
  margin: 7% 5%;
  object-fit: contain;
}
.committeeImg
{
  max-height: 30vh;
  margin: 7% 5%;
}
.prevConfImg2
{
  max-height: 20vh;
  margin: 7% 5%;
  object-fit: contain;
}

#preLoader
  {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-self: center;
    align-items: center;
    align-content: center;
  }
  
  /* Oval-shaped text box styles */
  .oval-text-box {
      position: absolute;
      top: 120px; /* Adjust to position vertically */
      left : 20px; /* Adjust to position horizontally */
      width: 160px;
      padding: 20px;
      border-radius: 50px;
      
      color: #333;
      font-size: 16px;
      font-weight: bold;
      text-align: center;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      border: 2px solid #ff9900; /* Optional border color */
      z-index: 900
  }
  .navbar {
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}
.navbar-logo img {
    max-height: 30px; /* Adjust logo size for smaller screens */
}
.navbar-title {
    font-size: 18px; /* Adjust font size for smaller screens */
    text-align: left;
    width: 100%; /* Place the title on a new line */
}
@media (max-width: 768px) {
      .navbar-left {
        flex-direction: column;
        align-items: flex-start;
      }

      .navbar-right {
        flex-direction: column;
        align-items: flex-end;
        margin-top: 10px;
      }

      .search-box {
        margin-bottom: 10px;
      }}
@media (min-width: 768px) {
  .oval-text-box {
      right: 20px; /* Align to the right */
    
      background-color: #c9b06d;
  }
}
/* Position for Mobile */
@media (max-width: 767px) {
  .oval-text-box {
      left: 20px; /* Align to the left */
      
  }
 
}
/* CSS for screen width greater than 768px goes here! */

@media only screen  and (min-width: 768px) {
  #navbarNavDropdown{
    background-color:transparent;
  }
  .navbar-light .navbar-brand{
    text-align:right;
    display: inline-block;
  float: none;
  color: #003366 !important; /* Deep blue title */
  font-weight: 700;
  font-size: 1.1rem;
  height: 100%;
  padding: 0;
  vertical-align: middle;
  }
  .navbar {
    background-color: #ffffff;
      border-bottom: 4px solid #2e3192;
      padding: 8px 15px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center; /* Vertically center items */
    justify-content: space-between;
    width: 100%;
    position: fixed; /* Fixed navbar at the top */
    top: 0;
    z-index: 1030;
         }

          /* Logo styles */
          .navbar-logo img {
            max-height: 70px; /* Adjust logo size */
            height: auto;
            width: auto;
        }

        /* Title styles */
        .navbar-title {
            font-size: 20px;
            font-weight: bold;
        }
  .navbar-nav .nav-link{
    color: #eee !important;
  padding: 8px 15px;
  transition: color 0.2s ease-in-out;
    text-align: right;    
  }
  .navbar-left {
    display: flex;
    align-items: center;
  }

  .navbar-left img {
    height: 80px;
    margin-right: 15px;
  }

  .institute-info {
    color: #0078d7;
  }

  .institute-info h1 {
    font-size: 20px;
    color: #00a3e0;
    margin-bottom: 0;
  }
  .institute-info p {
    font-size: 13px;
    color: #333;
  }

  .navbar-right {
    display: flex;
    align-items: center;
  }

  .search-box input {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 2px;
    width: 180px;
  }
  search-box button {
    background: #ccc;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
  }

  .social-icons {
    display: flex;
    margin-left: 20px;
  }

  .social-icons a {
    margin-left: 10px;
  }
  .social-icons img {
    width: 24px;
    height: 24px;
  }
  .navbar-nav .nav-link:hover {
    color: #ffd700 !important; /* Gold hover effect */
  }
  .navbar.scrolled {
    background-color: rgba(0, 51, 102, 0.95) !important;
    transition: background-color 0.3s ease;
  }
  .navbar-light .navbar-nav .nav-link {
    color: #003366 !important;  /* Deep blue for contrast */
  }
  .navbar-light .navbar-nav .nav-link:hover {
    color: #007bff !important;  /* Lighter blue on hover */
  }
  .navbar-brand img {
    max-width: 70px; /* Set the maximum width of the logo */
    height: auto; /* Maintain aspect ratio */
    }
    .logo-img {
      height: 70px !important;
      max-height: 70px !important;
    }
    .custom-bg {
       background-color: #ffffff;
      border-bottom: 4px solid #2e3192;
    }
    
    .nav-btn-bar {
  background-color: #00a3e0; /* Cyan blue background */
  width: 100%;
  z-index: 999;  
}

.nav-btn-bar .btn {
  color: #fff !important;
  border: 2 px solid white !important; 
  font-weight: bold;
  padding: 4px 10px;
  transition: all 0.3s ease-in-out;
}

.nav-btn-bar .btn:hover {
  background-color: #ffffff !important;
  color: #0056b3 !important;
}
   
    
    .announcement-inside-bar {
      background: #2e3192;
      color: #fff;
      font-weight: bold;
      padding: 5px;
    } 
    
    
    
.logo {
  width: 100px;
  height: 50px;
  position: absolute;
  top: 10px;
  left: 5px;
}
.logo2 {
  width: 100px;
  height: 50px;
  position: absolute;
  top: 10px;
  left: 30px;
  float: inherit;
}
 
  .hero-area {
    margin-top: 100px;   
    height: 50%;
    overflow: hidden;
    /*background: url("../img/background.avif");  /* Chrome 10-25, Safari 5.1-6 */
    /*background: url("../img/background.avif"); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-repeat: no-repeat;
  }

  .footer-link {
    color: white;
    text-decoration: none;
  }

  .hero-img-jiit {
    width: auto;
    height: 35vh;
    margin: auto;
  }

  .hero-head {
    font-size: 2rem;
  }

  .hero-subhead-1 {
    font-size: 1.65rem;
  }
  .readHeadVb {
    font-size: 2rem;
    color: #A93226;
  }

  @keyframes blink {
    50% { opacity: 0; }
  }

.blink-text {
    animation: blink 1s step-end infinite;
}
.hero-subhead-1 {
  color: #0c0a09;
  font-size: 1.5rem;
  font-style: bold;
  font-family: Papyrus;
  text-align:  center;
}
  .hero-subhead-2 {
    color: #0c0a09;
    font-size: 1.5rem;
    font-style: italic;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
  }

  .hero-subhead-3{
    color: #d91212;
    font-size: 1.6rem;
    font-family: cursive;
  }
 
  .center-align {
    text-align: center;
  }
  .redHead {
    font-size: 2.25rem;
    color: #A93226;
  }

  .hero-area {
    height: auto;
  }

  .section-head{
    font-size: 2rem;
  }

  .frame {
    height: 70vh;
    width: 40vw;
  }
  
  #preLoader
  {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-self: center;
    align-items: center;
    align-content: center;
  }
  #postLoader
  {
    display: none;
  }

  .about-box-1
  {
    margin: 1% 2%;
    padding: 5%;
    min-height: 65vh;
  }
  .news-box-1
  {
    margin: 1% 2%;
    padding: 5%;
    min-height: auto;
  }
  .about-box-2
  {
    margin: 1%;
    padding: 3% 5%;
    border-top: 1px solid black;
  }
  .dates{
    width: 100%;
    font-size: 1.2rem;
    margin-top: 10%;
  }

.gallery-img {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
}

.gallery-img img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}
  .messageImg{
    height: 45vh;
  }

  .prevConfImg
{
  max-height: 50vh;
  margin: 7% 5%;
   object-fit: cover;
}
.committeeImg
{
  max-height: 70vh;
  margin: 7% 5%;
}
.prevConfImg2
{
  max-height: 40vh;
  margin: 7% 5%;
  object-fit: contain;
background-color: #f8f9fa;  
}

}
.color-strip {
  background-color: #EED9C4; /* Set the background color */
  height: 100px; /* Set the height of the strip */
  width: 100%; /* Span the full width of the page */
  position: fixed; /* Fixed position to stay behind the navbar */
  top: 0; /* Position at the top of the page */
  z-index: 1000; /* Set a high z-index to ensure it's behind the navbar */
}
.author-box-1 {
  margin: 1% 2%;
  padding: 5%;
  min-height: auto;
}

.lds-grid {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-grid div {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #A93226;
  animation: lds-grid 1.2s linear infinite;
}
.lds-grid div:nth-child(1) {
  top: 8px;
  left: 8px;
  animation-delay: 0s;
}
.lds-grid div:nth-child(2) {
  top: 8px;
  left: 32px;
  animation-delay: -0.4s;
}
.lds-grid div:nth-child(3) {
  top: 8px;
  left: 56px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(4) {
  top: 32px;
  left: 8px;
  animation-delay: -0.4s;
}
.lds-grid div:nth-child(5) {
  top: 32px;
  left: 32px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(6) {
  top: 32px;
  left: 56px;
  animation-delay: -1.2s;
}
.lds-grid div:nth-child(7) {
  top: 56px;
  left: 8px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(8) {
  top: 56px;
  left: 32px;
  animation-delay: -1.2s;
}
.lds-grid div:nth-child(9) {
  top: 56px;
  left: 56px;
  animation-delay: -1.6s;
}
@keyframes lds-grid {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.text-justify{
  text-align: justify;
  text-justify: inter-word;
}

.prev-conf{
  list-style-type: none;
}
.prev-conf li a{
  text-decoration: none;
  color: black;
  font-size: 1.2rem;
}

.prev-conf li a:hover{
  color: blue;
}

.multi-color{
  animation: colors 1s linear infinite;
}

@keyframes colors {
  0%, 100%{
    color: blue;
  }
  25%{
    color: red;
  }
  50%
  {
    color: yellow;
  }
  75%{
    color: green;
  }
}

/* .carousel-control-prev-icon,
.carousel-control-next-icon {
  height: 100px;
  width: 100px;
  background-size: 100%, 100%;
  background-image: none;
} */

/* .carousel-control-next-icon:after
{
  content: '>';
  font-size: 55px;
  color: #A93226;
} */

/* .carousel-control-prev-icon:after {
  content: '<';
  font-size: 55px;
  color: #A93226;
} */

#previousConferences{
  margin: 2% 5%;
  min-height: 60vh;
}

.speakerImg
{
  width: auto;
  height: 200px;
}
.hero-banner {
      position: relative;
      width: 100%;
      height: 70vh;
      background: url("../img//RAMSA25_1.jpg") no-repeat center center;
      background-size: cover;
      opacity: 0.5; /* Watermark effect */
      /*border: 5px solid red; */
    }

    .overlay-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: #2e3192;
      font-size: 2.0rem;
      font-weight: bold;
      text-align: center;
      text-shadow: 2px 2px 5px #fff;
      z-index: 1;
      opacity: 1;
    }

    .hero-container {
      position: relative;
      width: 100%;
      overflow: hidden;
    }
    @media (min-width: 768px) {
      .overlay-text {
        font-size: 2rem;
      }}

      .animated-boxes {
      position: absolute;
      top: 10px;
      left: 10px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      z-index: 3;
    }

    .box {
      background-color: #2e3192;
      color: white;
      padding: 10px 20px;
      border-radius: 10px;
      font-size: 0.9rem;
      font-weight: bold;
      animation: floatBox 1s ease-in-out infinite alternate;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
      width: 180px;
    }

    @keyframes floatBox {
      0% { transform: translateY(0); }
      100% { transform: translateY(20px); }
    }
.contain-fit {
  object-fit: contain;
  background-color: #fff; /* to avoid gray bars behind */
}