* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.topbar-buttons {
  display: flex;
  justify-content: flex-end; /* Align buttons right */
  padding: 8px 80px;
  background-color: #FF2400; /* Your red shade */
  border-bottom: 2px solid #8B0000;
}

.topbar-btn {
  background: transparent;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 16px;
  position: relative;
  transition: color 0.3s ease;
}

/* Hover effect */
.topbar-btn:hover {
  color: #FF6347; /* lighter red/orange shade on hover */
}

/* Vertical line separator except last button */
.topbar-btn:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1.5px;
  background: white;
}




.header {
  background-color: #FF2400;
  color: white;
  padding: 0px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, white 70%, #FF0000 100%);
}




/*.header {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: flex-start;*/
/*  padding: 20px 60px;*/
/*  background: linear-gradient(to right, white 70%, #FF0000 100%);*/
/*}*/
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to right, white 60%, #FF0000);
  padding: 20px 60px;
}

/*.header {*/
/*  background: linear-gradient(to right, white, #FF2400);*/
/*  transition: background 0.9s ease;*/
/*}*/



.logo-and-name {
  display: flex;
  align-items: center;
  gap: 20px; /* space between logo and text */
}

.logo {
  width: 80px;   /* adjust size as needed */
  height: auto;
}

.institute-name h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
  color: #FF0000;
  display : flex;
  align-items: center;
}

.animated-text {
  margin-top: 5px;
  font-family: 'Play', sans-serif;
  color: white;
  font-size: 14px;

}

#type-text {
  font-weight: bold;
  border-right: 2px solid white;
  white-space: nowrap;
  overflow: hidden;
}
.divider {
  width: 2px;
  height: 60px;
  background-color: #FF0000;
  margin: 0 20px;
  flex-shrink: 0;
}

/*.right-section {*/
/*  background-color: red;*/
/*  padding: 10px 20px;*/
/*  border-radius: 8px;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  gap: 10px;*/
/*}*/



.right-section {
  background-color: red;
  padding: 10px 10px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  color: red;
  background: transparent;
}
.typewriter {
  height: 24px; /* Adjust based on your font-size */
  position: relative;
  margin-left: -3px;
}

#type-text {
  font-size: 16px;
  font-family: 'Play', sans-serif;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  border-right: 2px solid white;
  animation: blink 0.8s step-end infinite;
  color: #8B0000 ;
}

@keyframes blink {
  from, to { border-color: transparent }
  50% { border-color: white }
}

.fade-out {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}






.main-nav {
  background-color: #B22222; /* red shade */
  padding: 10px 0;
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  gap: 20px;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 10px 15px;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
  overflow: hidden;
}

/* Hover text color */
.nav-menu li a:hover {
  color: #ff2400;
}

/* Progress bar effect */
.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: white;
  transition: width 0.4s ease-in-out;
}

.nav-menu li a:hover::after {
  width: 100%;
}



.pdf-slider-container {
  width: 100%;
  overflow: hidden;
  padding: 0px 0;
  margin-top: 10px;
  border-top: 2px solid #FF2400;
  border-bottom: 2px solid #FF2400;
  background: transparent; /* removes background */
}

.pdf-slider {
  display: flex;
  gap: 30px;
  animation: slidePDFs 60s linear infinite; /* slower speed */
  white-space: nowrap;
}



.pdf-slider a {
  background: none; /* remove button background */
  color: #FF2400;   /* red text */
  text-decoration: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 0;
  font-size: 16px;
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
}

.pdf-slider:hover {
  animation-play-state: paused; /* pauses scroll on hover */
}

.pdf-slider a:hover {
  color: #b30000; /* darker red on hover */
  border-bottom: 2px solid #b30000;
}




@keyframes slidePDFs {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}


.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  padding: 15px;
  font-size: 24px;
  z-index: 1000;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  color: white;
}

.whatsapp-icon {
  font-family: 'Font Awesome 5 Brands';
}







/* Slider container centered with fixed width */
.slider-container {
  width: 100%;    /* Fixed width */
  height: 500px;
  margin: 0px ;        /* Center horizontally with margin on top/bottom */
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;

}

/* Slider images */
.slider {
  position: relative;
  height: 500px;    /* Set height */
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.slide.active {
  display: block;
}

/* Prev/Next buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.3);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.6);
}


/* Wrap everything in a flex container */
/* Wrap everything in a flex container with margin from the edges */
.slider-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px 80px; /* Top/Bottom, Left/Right spacing from page edges */
  margin: 40px;         /* Space between slider and button columns */
}

/* Side button panel layout */
.side-buttons {
  display: flex;
  flex-direction: column;
  margin: 20px;         /* Vertical space between buttons */
}

/* Consistent button style */
.side-buttons a {
  text-decoration: none;
}

.side-buttons button {
  display: flex;
  align-items: center;
  margin : 10px;
  padding: 12px 20px;          /* Larger padding for bigger buttons */
  font-size: 1.05rem;          /* Slightly larger text */
  background-color: #FF2400;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  min-width: 180px;            /* Wider buttons */
  text-align: left;
  white-space: normal;
  word-break: break-word;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* subtle shadow */
  transition: background-color 0.3s, transform 0.2s;
}

.side-buttons button:hover {
     background: linear-gradient(to top, white 5%, #FF0000 100%);
  /*background-color: #0059b3;*/
  /*transform: translateY(-2px);*/
}


.message-notification-section {
  display: flex;
  justify-content: space-between;
  margin: 50px 80px;
  gap: 40px;
}


/* LEFT BOX */
.message-box {
  flex: 1.5;
  background: #f8f8f8;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tabs button {
  padding: 8px 16px;
  background-color: #FF2400;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.tabs button:hover {
  background-color: #0059b3;
}

.message-content {
  display: none;
}

.message-content.active {
  display: block;
}

.message-img {
  width: 100%;
  max-width: 200px;
  float: left;
  margin: 0 20px 20px 0;
  border-radius: 10px;
}


/* RIGHT BOX */
.notification-box {
  flex: 1;
  max-height: 350px;
  overflow-y: auto;
  background-color: #eef6ff;
  border-left: 4px solid #004080;
  padding: 20px;
  border-radius: 10px;
}
.notifications {
  max-height: 250px;
  overflow: hidden;
  position: relative;
}

.notification-box h3 {
  margin-top: 0;
  color: #004080;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

.notifications ul {
  animation: scrollNotices 20s linear infinite;
}


.notifications li {
  margin-bottom: 10px;
}

.notifications a {
  color: #004080;
  text-decoration: none;
}

.notifications a:hover {
  text-decoration: underline;
}
.notifications ul:hover {
  animation-play-state: paused;
}

@keyframes scrollNotices {
  0% { transform: translateY(0%); }
  100% { transform: translateY(-100%); }
}




.image-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 30px;
}

.image-box {
  position: relative;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 10px;
  z-index: 0;
}

.image-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}



.short-desc {
  padding: 10px;
  font-weight: bold;
  text-align: center;
  transition: opacity 0.3s ease;
}

.hover-desc {
  display: none;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  color: #004080;
  transition: opacity 0.3s ease;
}

.image-box:hover .short-desc {
  display: none;
}

.image-box:hover .hover-desc {
  display: block;
}
/* Faded Gradient Border */
.image-box::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(to top, white 5%, #FF0000 100%);
  /*background: linear-gradient(45deg,*/
  /*  rgba(255, 36, 0, 0.2),*/
  /*  rgba(255, 36, 0, 0.4),*/
  /*  rgba(255, 36, 0, 0.2)*/
  /*);*/
  z-index: -1;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.image-box:hover::before {
  opacity: 1;
}





/*.image-section {*/
/*  display: flex;*/
/*  justify-content: space-between;*/
/*  gap: 20px;*/
/*  margin: 80px auto;*/
  /*max-width: 1200px;      
/*  padding: 0 30px;*/
  /*flex-wrap: nowrap;      
/*}*/


/*.image-box {*/
  /*width: 30%;             */
  /*min-width: 250px;        */
/*  background: #fff;*/
/*  border-radius: 10px;*/
/*  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
/*  overflow: hidden;*/
/*  position: relative;*/
/*  transition: transform 0.3s ease;*/
/*}*/


/*.image-box img {*/
/*  width: 100%;*/
/*  height: 200px;*/
/*  object-fit: cover;*/
/*}*/

/*.short-desc {*/
/*  padding: 10px;*/
/*  font-weight: bold;*/
/*  text-align: center;*/
/*  font-size: 16px;*/
/*}*/

/*.hover-desc {*/
/*  position: absolute;*/
/*  bottom: -100%;*/
/*  left: 0;*/
/*  right: 0;*/
/*  background: rgba(255, 255, 255, 0.95);*/
/*  padding: 15px;*/
/*  text-align: center;*/
/*  font-size: 14px;*/
/*  color: #333;*/
/*  transition: bottom 0.4s ease;*/
/*}*/

/*.image-box:hover .hover-desc {*/
  /*bottom: 60px; */
/*}*/

/*.image-box:hover {*/
/*  transform: scale(1.03);*/
/*}*/

/* Existing styles above remain unchanged */

/* RESPONSIVE DESIGN - MEDIA QUERIES */





footer {
  background-color: #FF2400;
  color: white;
  text-align: center;
  padding: 10px 0;
}
