@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton+SC&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Saira+Condensed:wght@100;200;300;400;500;600;700;800;900&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: white;
    z-index: 1;
    box-sizing: border-box;
    /* overflow-x: hidden; */
}


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

body{
    background: rgb(22, 14, 14);
}

.timeline-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; 
}

.timeline-heading{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Commissioner", sans-serif;
}

.timeline-heading .heading{
    margin-top: 20px;
    font-weight: bolder;
    color: #face52;
    font-size: 30px;
}

.timeline-heading .description{
    margin-top: 5px;
    font-weight:400;
    color: white;
    font-size: 15px;
    margin-bottom: 20px;
}

.line1, .line2, .line3, .line4, .line5{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 95%;
    margin: 25px;
    padding-left: 20px;
    padding-right: 20px;
}

.line1 .box2, .line2 .box2, .line3 .box2, .line4 .box2, .line5 .box2{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}


.circle1, .circle2, .circle3, .circle4, .circle5{
    height: 50px;
    width: 50px;
    border-radius: 100px;
    background: #ffd900;
    background: linear-gradient(140deg, rgb(255, 224, 49) 0%, rgb(255, 159, 85) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.linebox1, .linebox2, .linebox3, .linebox4, .linebox5{
    width: 520px;
    height: 140px;
    border-radius: 15px;
    background: rgba(92, 92, 92, 0.06);
    background: linear-gradient(124deg, rgba(92, 92, 92, 0.2) 0%, rgba(222, 220, 220, 0.45) 100%);
    font-family: "Roboto Condensed", sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.525);
    transition: all 0.2s ease;
}

.linebox1:hover, .linebox2:hover, .linebox3:hover, .linebox4:hover, .linebox5:hover{
    transform: scale(1.05);
}


.circle1 .img img, .circle2 .img img, .circle3 .img img, .circle4 .img img, .circle5 .img img{
    height: 60px;
    z-index: 100;
    opacity: 100%;
}

.linebox1 .title1, .linebox2 .title2, .linebox3 .title3, .linebox4 .title4, .linebox5 .title5{
    color: #00d4ff;
    font-size: larger;
    font-weight: bolder;
    width: 90%;
}

.linebox1 .describe1, .linebox2 .describe2, .linebox3 .describe3, .linebox4 .describe4, .linebox5 .describe5{
    color: white;
    font-weight: 300;
    width: 90%;
    font-size: medium;
}

.linedbba{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.B1line {
    position: absolute;
    top: 99px;
    left: 68px;
    width: 4px;
    background: linear-gradient(90deg, white, white);
    box-shadow: 0 0 15px #00f5ff;
    height: calc(100% - 190px);
    z-index: 0;
}


@media(max-width: 800px){
    .line1, .line2, .line3, .line4, .line5{
        gap: 10px;
    }

    .circle1, .circle2, .circle3, .circle4, .circle5{
        width: 30px;
        height: 30px;
    }

    .circle1 .img img, .circle2 .img img, .circle3 .img img, .circle4 .img img, .circle5 .img img{
        height: 50px; 
    }

    .linebox1, .linebox2, .linebox3, .linebox4, .linebox5{
        width: 85%;
        height: auto;
        padding: 12px;
    }

    .linebox1 .title1, .linebox2 .title2, .linebox3 .title3, .linebox4 .title4, .linebox5 .title5{
        font-size: 90%;
    }

    .linebox1 .describe1, .linebox2 .describe2, .linebox3 .describe3, .linebox4 .describe4, .linebox5 .describe5{
        font-size: 85%;
    }
        .B1line {
        position: absolute;
        top: 70px;
        left: 10%;
        width: 4px;
        background: linear-gradient(90deg, white, white);
        box-shadow: 0 0 15px #00f5ff;
        height: calc(100% - 145px);
        z-index: 0;
    }
}


.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.popup-overlay.active .popup {
    transform: scale(1);
}

.popup h2 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: #00d4ff;
}

.popup p {
    margin: 0 0 20px;
    font-size: 1rem;
    color: #d1d1d1;
}

.popup button {
    background-color: #00d4ff;
    color: #121212;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.popup button:hover {
    background-color: #00a6cc;
}

/* Welcome Section */
.welcome-section {
    position: relative;
    display: flex;
    height: 500px;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 50px;
}

.welcome-content{
    padding-bottom: 20px;
}

/* welcome-content fade and zoom in animation */
.welcome-content {
  opacity: 0;
  transform: scale(1.2);
  animation: zoomFadeIn 1.2s ease-out forwards;
}

@keyframes zoomFadeIn {
  from {
    transform: scale(1.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.welcome-content h1 {
    font-family: 'Titillium Web', sans-serif;
    font-size: 4rem;
    color: #face52;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    margin: 0;
    border-bottom: 2px solid #face52;

}

.Welcome-word{
    font-size:3.5rem
}
.welcome-content p {
    font-size: 1rem;
    margin: 10px 0 40px;
}

.joinbtn {
    color: black;
    background-color: #face52;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.joinbtn:hover{
    transform: translateY(-3px);
    background: linear-gradient(90deg, #f5c518, #f5a418); /* Reverse gradient on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.welcome-section a {
    font-family: 'Titillium Web', sans-serif;
    font-size: 18px;

}

.welcome-section .options{
    margin: 40px;
    display: none;
    justify-content: space-between;
}

.welcome-section .options a{
    color: #face52;
    margin: 0px;
    text-decoration: none;
    font-size: 12px;
    padding: 2px 5px;
    border-bottom: 1px solid #face52;

}

#blinkingBox {
    text-align: center;
    font-weight: 600;
    font-size: 5rem;
    color:#face52;
    border-radius: 8px;
    animation: fadeInOut 2s infinite;
    margin: 100px 0 50px 0;
    font-family: 'Titillium Web', sans-serif;

}

@keyframes fadeInOut {

    0%,
    80% {
        opacity: 1;
    }

    /* Visible for most of the cycle */
    100% {
        opacity: 0;
    }

    /* Smoothly fades out */
}

/* Events Section */
.events-section {
    width: 90%;
    max-width: 900px;
    margin: 50px auto;
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.1));
}

.events-section h1 {
    font-family: 'Saira Condensed', sans-serif;
    color: #ff9800;
    margin: 20px;
}

.events-section p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

.events-section a {
    display: inline-block;
    background-color: #face52;
    font-family: 'Saira Condensed', sans-serif;

    color: black;
    padding: 7px 20px;
    border-radius: 20px;
    text-decoration: none;
}

/* Pathflow Section */
.pathflow {
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: 'Saira Condensed', sans-serif;

}

.line {
    position: absolute;
    top: 110px;
    left: 11px;
    width: 4px;
    background: linear-gradient(90deg, white, white);
    box-shadow: 0 0 15px #00f5ff;
    height: calc(100% - 220px);
}

.node,
.root-node {
    position: relative;
    display: flex;
    align-items: center;
    margin: 40px 0;
    z-index: 3;
}
.root-node{
    font-size: large;
}
.root-node::before,
.node::before {
    content: '';
    position: absolute;
    left: 0;
    width: 25px;
    height: 25px;
    background: #face52;
    border-radius: 50%;
    box-shadow: 0 0 20px #00f5ff, 0 0 40px #00aaff;
}

.content {
    margin-left: 50px;
    padding: 5px 15px;
    width: 80%;
    max-width: 700px;
    background: transparent;
    border: 1px solid #face52;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.content h3 {
    color: #00f5ff;
}

.root-node .content h3 {
    color: #ffcc00;
}

/* Teams Section */
.Heading {
    text-align: center;
    font-size: 2rem;
    margin: 100px 0 0px 0;
}

/* Container Box Section */
.containerbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 50px 0;
}

.box {
    width: 250px;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    color: #face52;
}

.box h1 {
    margin: 10px 0;
}

/* Recruitment Box */
.recruitmentbox {
    width: 80%;
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.recruitmentbox a {
    display: inline-block;
    font-family: 'Saira Condensed', sans-serif;

    margin-top: 20px;
    background-color: #face52;
    color: black;
    padding: 7px 20px;
    border-radius: 20px;
    text-decoration: none;
}

/* Profile Card */
.profile-card {
    display: flex;
    align-items: center;
    border-radius: 12px;
    width: 80%;
    max-width: 700px;
    margin: 50px auto;
    padding: 20px;
}

.profile-card img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
}

.profile-content {
    flex: 1;
}

.profile-content h4 {
    margin: 0;
    font-size: 16px;
    color: #ff9800;
}

.profile-content h5 {
    margin: 5px 0;
    font-size: 10px;
    color: #00aaff;
}


.design-wrapper {
    display: flex;
    width: 70%;
    max-width: 800px;
    margin: 100px auto;
    padding-left: 18px;
    background:linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.2)); /* Slightly lighter container background */
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    opacity: 0;
    transform: translateX(-100px);
    position: relative;
  }

  .vertical-accent {
    width: 18px;
    background: linear-gradient(180deg, #f5c518, #7ed957); /* Yellow to light green gradient */
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
  }

  .text-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .text-content h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #face52;
    margin: 10px 0;
  }

  .text-content p {
    line-height: 1.8;
    font-size: 0.9rem;
    color: #c7c7d9;
    margin-bottom: 30px;
  }

  .eventdetail{
    font-family: Arial, sans-serif;
  }

  .eventdetail h2{
    color: #00f5ff; 
    margin-bottom: 5px;
  }

  .eventdetail h4{
    color: #c7c7d9; 
    margin-bottom: 15px; 
    font-weight: lighter;
  }

  .eventdetail p{
    color: #c7c7d9; 
    font-size: 16px; 
    line-height: 1.5;
  }

  .cta-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #1c1c28;
    background: linear-gradient(90deg, #f5c518, #face52);
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 70%;
  }

  .cta-button:hover {
    background: linear-gradient(90deg, #7ed957, #f5c518); /* Reverse gradient on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
    opacity: 100%;
  }

  .contIN{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .poster{
    width: 250px;
    height: 250px;
    margin-right: 30px;
    border-radius: 8px;
    overflow: hidden;
  }

  .poster img{
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
  }

  .poster img:hover{
    transform: scale(1.2);
  }


@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.design-wrapper.show {
  animation: slideInRight 0.8s ease-out forwards;
}


.design-wrapper {
  animation: slideInRight 0.8s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}
@media (max-width:1020px){
    .contIN{
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }    
    .poster{
    width: 300px;
    height: 300px;
    margin-right: 0;
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
  }

  .poster img{
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
  }

  .poster img:hover{
    transform: scale(1.2);
  }
}
/* Media Queries */
@media (max-width: 768px) {
    .welcome-content h1 {
        font-size: 2.5rem;
    }

    .welcome-content p {
        font-size: 0.9rem;
    }

    .containerbox {
        flex-direction: column;
        align-items: center;
    }

    .box {
        width: 90%;
    }

    .profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-card img {
        margin-bottom: 20px;
    }

    .content {
        margin-left: 20px;
    }

    .poster{
    width: 200px;
    height: 200px;
    margin-right: 0px;
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
  }

  .poster img{
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
  }

  .poster img:hover{
    transform: scale(1.2);
  }
    
}

@media (max-width: 480px) {
    .welcome-section {
        position: relative;
        display: flex;
        height: 90vh;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: hidden;
        
        margin: 0 15px;
    }
    .B1line{
        display: none;
    }
    .circle1, .circle2, .circle3, .circle4, .circle5{
        display: none;
    }
    .box2{
        gap: 0;
    }
    .Welcome-word{
        font-size: 1.7rem;
    }
    
    .welcome-content h1 {
        font-size: 1.8rem;
        color: #face52;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
        margin: 0;
        border-bottom: 2px solid #face52;
    
    }
    
    .welcome-content p {
        font-size: 0.6rem;
        margin: 10px 0 40px;
    }
    .welcome-section a {
        font-family: 'Titillium Web', sans-serif;
        font-size: 13px;
        padding: 5px 14px;
        margin-top: 0;
    
    }

    .welcome-section .options{
        display: flex;
    }
    .pathflow {
        width: 100%;
    }

    #blinkingBox {
        font-size: 3rem;
        margin: 0;

    }

    .pathflow {
        width: 90%;
        max-width: 800px;
        margin: 50px auto;
        position: relative;
        display: flex;
        flex-direction: column;
        font-family: 'Saira Condensed', sans-serif;
    
    }
    
    .line {
        display: none;
    }
    
    .node,
    .root-node {
        position: relative;
        display: flex;
        align-items: center;
        margin: 10px 0;
        z-index: 3;
    }
    .root-node{
        font-size: large;
    }
    .root-node::before,
    .node::before {
        display: none;
    }
    
    .content {
        margin-left: 0px;
        padding: 5px 15px;
        width: 80%;
        max-width: 700px;
        background: transparent;
        border: 1px solid #face52;
        margin: auto;
        border-radius: 10px;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    }
    
    .content h3 {
        color: #00f5ff;
        margin: 10px 0;
    }
    
    .root-node .content h3 {
        color: #ffcc00;
    }


    .content p{
        font-size: 13px;
        margin: 3px 0;
    }


    .design-wrapper {
        display: flex;
        width: 90%;
        max-width: 800px;
        margin: 100px auto;
        background:linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.2)); /* Slightly lighter container background */
        border-radius: 12px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
        overflow: hidden;
      }
    
      .vertical-accent {
        width: 13px;
        background: linear-gradient(180deg, #f5c518, #7ed957); /* Yellow to light green gradient */
      }
    
      .text-content {
        padding: 30px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
    
      .text-content h1 {
        font-size: 1.2rem;
        font-weight: bold;
        color: #face52;
        margin: 0;
      }
    
      .text-content p {
        line-height: 1.8;
        font-size: 0.6rem;
        color: #c7c7d9;
      }
    
      .cta-button {
        padding: 7px 15px;
        font-size: 0.6rem;
        font-weight: bold;
        color: #1c1c28;
        background: linear-gradient(90deg, #f5c518, #face52);
        border-radius: 8px;
        text-align: center;
        text-decoration: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        opacity: 70%;
      }
    

    
}



/* Teams Section Edit */
.teams {
  width: 90%;
  max-width: 1200px;
  margin: 50px auto;
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-content: center;
}

.team-name {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border: 1px solid rgba(255, 200, 0, 0.83);
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-name h3 {
  color: #face52;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.team-name p {
  opacity: 0;
  color: #afafe7;
  font-size: 0.9rem;
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-name:hover {
  transform: scale(1.05);
  padding: 0px;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.423);
  border: 2px solid rgba(255, 200, 0, 0.83);
}

.team-name:hover p {
  opacity: 1;
  height: auto;
}

.team-name:active {
  h3,
  p {
    color: #1f154f;
  }
  transform: scale(0.95);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.423);
  background: rgba(23, 30, 46, 0.251);
}

/* team link anchor tag properties */
.team-name a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    padding: 20px;
}

.team-name:hover a {
    color: inherit;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

@media (max-width: 900px) {
  .teams {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .teams {
    grid-template-columns: 1fr;
  }
}

