/* Highlight the active nav tab in red */
.navigation .nav-alumni {
  border-bottom: 4px solid #ff1717;
}
/*parthiv space*/
/* Black and Red Theme for Achievements Page */
body, .profile {
  background: #18191c !important;
  color: #fff !important;
}

/* Achievements Section Styles */
.achievements-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}

.achievement-card {
  width: 90vw;
  max-width: 900px;
  min-width: 260px;
  margin: 0 auto 24px auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 32px 32px;
  background: rgba(25, 29, 34, 0.95);
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(255,23,23,0.10), 0 2px 8px rgba(0,0,0,0.18);
  border-left: 6px solid #ff1717;
  transition: transform 0.15s, box-shadow 0.15s;
}

.achievement-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 32px rgba(255,23,23,0.18), 0 10px 10px rgba(0,0,0,0.22);
  border-left: 8px solid #ff1717;
}

.achievement-details {
  flex: 1;
  min-width: 0;
}

.achievement-details h2 {
  font-size: 2.1rem;
  margin: 0 0 12px 0;
  color: #ff1717;
  text-align: left;
  font-family: 'Archivo Black', Arial, sans-serif;
  letter-spacing: 1px;
}

.achievement-description {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
  text-align: left;
  font-family: 'Poppins', sans-serif;
}

.achievement-year {
  font-size: 1rem;
  color: #ffb3b3;
  margin-bottom: 8px;
  text-align: left;
}

.achievement-details a {
  color: #ff1717;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  border-bottom: 1px dashed #ff1717;
}

.achievement-details a:hover {
  color: #fff;
  border-bottom: 2px solid #ff1717;
  background: #ff1717;
  padding: 2px 6px;
  border-radius: 6px;
  transition: 0.2s;
}
:root {
  --ibot-red: #ff1717;
  --ibot-bg: #18191c;
  --ibot-white: #fff;
  --bg_shadow: #b43030;
}

/* Glow Text - Red Glow */
.glow-text {
  font-family: 'Arial Black', sans-serif;
  font-size: 100px;
  font-weight: bold;
  color: #ff0000;
  letter-spacing: 10px;
  text-align: center;
  -webkit-text-stroke: 1px #ff0000; /* Red outline */
  text-stroke: 2px #ff1717;         /* For Firefox (optional) */
  text-shadow:
    0 0 10px var(--bg_shadow),
    0 0 20px var(--bg_shadow),
    0 0 40px var(--bg_shadow),
    0 0 60px var(--bg_shadow),
    0 0 80px var(--bg_shadow),
    0 0 100px var(--bg_shadow);
  animation: red-flicker 2s infinite;
  background: none;
  margin-bottom: 40px;
  display: inline-block;
}

@keyframes red-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow:
      0 0 10px var(--bg_shadow),
      0 0 20px var(--bg_shadow),
      0 0 40px var(--bg_shadow),
      0 0 60px var(--bg_shadow),
      0 0 80px var(--bg_shadow),
      0 0 100px var(--bg_shadow);
  }      
  20%, 24%, 55% {
    text-shadow: none;
  }
}

/*parthiv space*/
.team-sec {
  position: relative;
  font-family: 'Love Ya Like A Sister', cursive;
  line-height: 1;
  font-weight: 500;
  font-size: 60px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.cordi-section>.team-sec {
  color: #f5f5f5;
}

.cordi-section {
  position: relative;
  background-color: #263238;
  padding-bottom: 50px;
}

.cordi-card.mdl-card {
  width: 100%;
  margin: auto;
  height: 23vw;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);

}

.cordi-card:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.cordi-details {
  font-family: 'Saira Condensed', sans-serif;
  background-color: #fff;
  color: #616161;
  padding: 15px;
  font-size: 18px;
}

.cordi-name {
  font-family: 'Archivo Black', sans-serif;
  font-size: 18px;
  line-height: 1.2;
  color: #f3f3f3;
  padding: 15px;
  background-color: #EF5350;
}

.cordi-card>.mdl-card__title {
  color: #fff;
}

.seci-section>.team-sec {
  color: #414141;
}

.seci-section {
  position: relative;
  background-color: #EEEEEE;
  padding-bottom: 50px;
}

.seci-card.mdl-card {
  width: 100%;
  margin: auto;
  height: 21vw;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.seci-card:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);

}

.seci-details {
  font-family: 'Saira Condensed', sans-serif;
  background-color: #fff;
  color: #616161;
  padding: 15px;
  font-size: 18px;
}

.seci-name {
  font-family: 'Archivo Black', sans-serif;

  font-size: 18px;
  line-height: 1.2;
  color: #f3f3f3;
  padding: 15px;
  background-color: #EF5350;
}

.seci-card>.mdl-card__title {
  color: #fff;
}

/*##### For Mobile #####*/
@media (max-width: 900px) {

  .seci-card.mdl-card {
    height: 350px;
  }

  .cordi-card.mdl-card {
    height: 350px;
  }


  .team-sec {
    font-size: 40px;
    margin: 0;
    padding-top: 20px;
  }
}



.profile {
  font-family: 'Poppins', sans-serif;
  color: #0e2431;
  background: #f3f2f2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 40px 0px;
}

.section-title-01 {
  font-family: 'Poppins', sans-serif;
  font-size: 4.5em;
  font-weight: 800;
  margin-bottom: 2rem;
  background: linear-gradient(to top, transparent 0%, #0e2431 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.1;
}

.section-title-02 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8em;
  font-weight: 700;
  transform: translateY(-80px);
  margin: 16px 0px;
}

.section-title-02::before {
  content: '';
  position: absolute;
  width: 70px;
  height: 5px;
  right: 0;
  bottom: 0;
  background: #004d69;
}


.card-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  top: -50px;
}

.card {
  /* top:50%;
    left:50%;
    transform: translate(-50%,-50%); */
  position: relative;
  width: 255px;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgb(0 0 0 / 60%);
  cursor: pointer;
  transition: 0.5s;
  margin: 20px 20px;
}

.card .card-image {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: #000;
  transition: 0.5s;
}

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

.card:hover img {
  opacity: 0.3;
  transition: 0.5s;
}

.card:hover .card-image {
  /* transform:translateY(-100px); */
  transition: all 0.9s;
}

.social-icons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-58%, -50%);
  z-index: 3;
  display: flex;
}

.social-icons li {
  list-style: none;
}

.social-icons li a {
  position: relative;
  display: block;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  background-color: #fff;
  font-size: 21px;
  color: #333;
  font-weight: bold;
  margin: 0 6px;
  transition: 0.4s;
  transform: translateY(200px);
  opacity: 0;
}

.card:hover .social-icons li a {
  transform: translateY(0px);
  opacity: 1;
}

.social-icons li a:hover {
  background: #000;
  transition: 0.2s;
}

.social-icons li a:hover .fab {
  color: #fff;
}

.social-icons li a .fab {
  transition: 0.8s;
}

.social-icons li a .fab:hover {
  transform: rotateY(360deg);
  color: #fff;
}

.card:hover li:nth-child(1) a {
  transition-delay: 0.1s;
}

.card:hover li:nth-child(2) a {
  transition-delay: 0.2s;
}

.card:hover li:nth-child(3) a {
  transition-delay: 0.3s;
}

.card:hover li:nth-child(4) a {
  transition-delay: 0.4s;
}

.details {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #fff;
  width: 100%;
  height: 70px;
  z-index: 1;
  padding: 10px 0px;
  transform: translateY(100px);
}

.card:hover .details {
  z-index: 2;
  transition: all 0.9s ease;
  transform: translateY(0px);
}

.details h2 {
  font-family: 'Poppins', sans-serif;
  margin: 0px 0px;
  padding: 0;
  text-align: center;
  font-size: 25px;
}

.details .job-title {
  font-size: 1.1rem;
  /* line-height: 2.5rem; */
  color: #333;
  text-align: center;
  font-weight: 500;
  margin: 0px 0px;
  font-family: 'Poppins', sans-serif;
}

/* Responsive for mobile */
@media (max-width: 700px) {
  .achievement-card {
    flex-direction: column;
    align-items: stretch;
    width: 94vw;
    min-width: unset;
    max-width: 99vw;
    padding: 18px 5vw 18px 5vw; /* More padding on sides for phone */
    margin: 0 0 18px 0;
    border-radius: 14px;
    box-sizing: border-box;
  }
  .achievement-details {
    text-align: center;
    padding: 0 2vw;
  }
  .achievement-details h2 {
    font-size: 1.1rem;
    text-align: center;
    word-break: break-word;
  }
  .achievement-description,
  .achievement-year {
    font-size: 0.98rem;
    text-align: center;
    word-break: break-word;
  }
  .glow-text {
    font-size: 1.5em;
    letter-spacing: 3px;
    padding: 0 2vw;
    margin-bottom: 24px;
    word-break: break-word;
  }
  .achievements-wrapper {
    gap: 18px;
    margin-top: 18px;
    padding: 0 0 10vw 0;
  }
}