@import url("https://fonts.googleapis.com/css2?family=Inika:wght@400;700&display=swap");

.slide-one-bg-copy {
  height: auto;
  min-height: 80vh;
  background: url("../slider-img/gurugram-bg.jpg") repeat-y center;
  background-size: cover;
  animation: moveBg 10s ease-in-out infinite alternate;
  padding: 30px;
}
@keyframes moveBg {
  0% {
    background-position: right center;
  }
  100% {
    background-position: left center;
  }
}
.slider-two-bg {
  height: auto;
  /*background: linear-gradient(*/
  /*  135deg,*/
  /*  #ffaef1a1,*/
  /*  #c8ee72,*/
  /*  #cfe8ca,*/
  /*  #e39df5,*/
  /*  #b0ffbd,*/
  /*  #848bf8d4*/
  /*);*/
  background: linear-gradient(
    158deg,
    #ff85ebb0,
    #ff858e,
    #e1fd89,
    #bda0ff,
    #70e583,
    #363fd3
  );
  background-size: cover;
  padding-top: 20px;
  border-radius: 30px;
}
.api-main {
  border-radius: 20px;
  font-size: 42px;
  /*color: #056900;*/
  color: #7805c8;
  font-family: "Inter", sans-serif;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}
.date {
  font-family: "Inika", serif;
  line-height: 1;
  border-radius: 20px;
  width: 80%;
  margin-left: 10%;
  font-size: 25px;
  padding: 10px;
  margin-top: 10px;
  text-align: center;
  color: #000dff;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.date1 p,
.date1 h5 {
  margin: 0;
  padding: 0;
  color: #fa003f;
  font-size: 29px;
}
.bg-star {
  position: relative;
  height: 28%;
  width: 100%;
  overflow: hidden;
  background: url(../slider-img/web.png) no-repeat center center;
  background-size: cover;
  z-index: 1;
  padding: 7%;
}
.bg-star:hover .star-field .layer {
  animation: explode 1s ease-out forwards;
}
.bg-star:hover .star-field .layer::after {
  animation: explode 1s ease-out forwards;
}
/* Star field scoped inside bg-star */
.bg-star .star-field {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  perspective: 600px;
  z-index: 0;
}
.bg-star .star-field .layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: white;
  box-shadow: 10px 20px white, -100px 150px #fff, 200px -50px #ccc,
    -250px -100px #eee, 300px 400px #fff, -400px 300px #ccc, 150px -300px #ddd,
    500px -200px #fff, -600px 100px #ccc, 0px 0px white, 100px -150px #ccc,
    -200px 250px #ddd, 350px -250px #eee, -450px 350px #fff, 550px 150px #ccc,
    -700px 50px #ccc, 750px -350px #fff, -800px 250px #eee, 850px 350px #ccc,
    950px -100px #fff, -320px 180px #fff, 290px -220px #ddd, -150px 330px #ccc,
    420px 280px #eee, -500px -120px #fff, 600px 300px #eee, -640px -210px #ddd,
    310px 420px #fff, 700px -100px #ccc, -750px 100px #eee, 850px 200px #ddd,
    920px -220px #fff, -960px 180px #ccc, 1030px -100px #fff, 1050px 150px #ccc,
    -1100px -150px #eee, 1150px 100px #fff, -1170px 170px #ddd,
    1200px -80px #fff, -1230px 230px #eee, 1250px 50px #ccc, -1280px -50px #fff,
    1300px -30px #ddd, 1330px 70px #ccc;
  animation: starMove 60s linear infinite;
  opacity: 0.8;
  filter: drop-shadow(0 0 2px white);
}
.bg-star .star-field .layer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: white;
  box-shadow: -120px 100px white, 180px -140px #fff, -300px 200px #eee,
    400px -250px #fff, -500px 100px #ccc, 600px 150px #fff, -650px -200px #eee,
    700px 100px #fff, -750px 150px #ddd, 800px -200px #fff, -850px 180px #eee,
    900px 120px #ccc;
  opacity: 0.6;
  filter: drop-shadow(0 0 3px white);
}
.bg-star .star-field .layer:nth-child(1) {
  animation: sf-fly-by-1 5s linear infinite;
}
.bg-star .star-field .layer:nth-child(2) {
  animation: sf-fly-by-2 5s linear infinite;
}
.bg-star .star-field .layer:nth-child(3) {
  animation: sf-fly-by-3 5s linear infinite;
}
/* Keep content above star field */
.bg-star > *:not(.star-field) {
  position: relative;
  z-index: 1;
  margin-top: -7%;
  text-align: center;
}
/* KEYFRAMES for animation */
@keyframes sf-fly-by-1 {
  from {
    transform: translateZ(-600px);
  }
  to {
    transform: translateZ(0);
  }
}
@keyframes sf-fly-by-2 {
  from {
    transform: translateZ(-1200px);
  }
  to {
    transform: translateZ(-600px);
  }
}
@keyframes sf-fly-by-3 {
  from {
    transform: translateZ(-1800px);
  }
  to {
    transform: translateZ(-1200px);
  }
}
@keyframes explode {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 1;
  }
  30% {
    transform: scale(0.6) translate(-20%, -20%);
    opacity: 0.8;
  }
  60% {
    transform: scale(1.2) translate(20%, 20%);
    opacity: 0.5;
  }
  100% {
    transform: scale(2) translate(100px, 100px);
    opacity: 0;
  }
}
/* ====================tau css start====================  */
.apicon-tau {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 180px;
  z-index: 999;
  transform: translateY(100%);
  animation: tauSpringUp 1s ease-out forwards;
}
@keyframes tauSpringUp {
  0% {
    transform: translateY(100%) scaleY(0.5);
    opacity: 0;
  }
  40% {
    transform: translateY(-30%) scaleY(1.2);
    opacity: 1;
  }
  60% {
    transform: translateY(10%) scaleY(0.9);
  }
  80% {
    transform: translateY(-5%) scaleY(1.05);
  }
  100% {
    transform: translateY(0%) scaleY(1);
  }
}

.apicon-tau {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.apicon-tau:hover {
  transform: scale(1.05);
}

/* Modal Styling */
.tau-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.tau-modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.modal-content {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-50px);
  transition: transform 0.4s ease;
  position: relative;
  overflow: hidden;
}

.tau-modal.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  background: linear-gradient(135deg, #1a6da1 0%, #0c4a6e 100%);
  color: white;
  padding: 1.2rem;
  text-align: center;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.modal-title {
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0;
}

.modal-body {
  padding: 2rem;
  text-align: center;
}

.important-message {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  font-weight: 600;
}

.qr-code-container {
  margin: 1.5rem 0;
  padding: 15px;
  background-color: white;
  border-radius: 10px;
  display: inline-block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-footer {
  padding: 1rem 2rem 2rem;
  text-align: center;
}

.close-btn {
  background: linear-gradient(135deg, #1a6da1 0%, #0c4a6e 100%);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .modal-content {
    width: 95%;
  }

  .important-message {
    font-size: 1.1rem;
  }
}

/* ===================== tau css end ======================== */

.video-card {
  position: relative;
  overflow: hidden;
}

.video-wrapper {
  position: relative;
}

.card-video {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top;
  display: block;
}

#muteBtn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  padding: 6px 10px;
  font-size: 16px;
  z-index: 10;
  cursor: pointer;
}

.video-card {
  border-radius: 20px;

  margin-top: 10%;
}

.card-body {
  background-color: #6c0847;
}

@media only screen and (max-width: 768px) {
  .bg-star {
    padding: 7% 4% 30% 4%;
  }
}
@media only screen and (max-width: 600px) {
  .bg-star {
    padding: 7% 4% 44% 4%;
  }
}

/* ========================scientific committee start=========================== */

.committee-card {
  /* background: rgba(255, 255, 255, 0.1);
  color: #fff; */
  /* padding: 1rem; */
  border-radius: 10px;
  text-align: center;
  /* height: 100%; */
  transition: transform 0.3s ease, background 0.3s ease;
}

.committee-card:hover {
  transform: translateY(-5px);
  /* background: rgba(255, 255, 255, 0.15); */
}

.section-title {
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  display: inline-block;
  padding-bottom: 0.3rem;
}
.section-heading {
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.3rem;
}

.list-card {
  /* background: rgba(255, 255, 255, 0.08);
  color: #fff; */
  padding: 1rem;
  border-radius: 8px;
  /* height: 100%;
  font-size: 0.95rem; */
  /* line-height: 1.8; */
  /* transition: background 0.3s ease; */
   transition: transform 0.3s ease, background 0.3s ease;
}
.list-card:hover {
  transform: translateY(-5px);
  /* background: rgba(255, 255, 255, 0.15); */
}

/* .list-card:hover {
  background: rgba(255, 255, 255, 0.15);
} */
/* ===================scientific committee end========================== */
