@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Poppins:wght@400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Reddit+Mono:wght@200..900&display=swap');

:root {
  --primary-color: #040919;
  --secondary-color: #e9c675;
  --text-light: #cbd5e1;
  --white: #ffffff;
  --max-width: 1200px;
  --header-font: "Playfair Display", serif;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /* text-align: justify; */
  /* text-justify: inter-word; */
}


.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__subheader {
  position: relative;
  isolation: isolate;
  margin-bottom: 1rem;
  padding-left: 5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--secondary-color);
}

.section__subheader::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 2px;
  width: 4rem;
  background-color: var(--secondary-color);
}

.section__subheader::after {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-60%, -50%);
  font-size: 8rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0.1;
  z-index: -1;
}

.section__header {
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 400;
  font-family: var(--header-font);
  color: var(--white);
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  outline: 1px solid rgb(197, 197, 197);
  outline-offset: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--text-light);
  background-color: rgba(10, 30, 39, .5);
  border-radius: 30px;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: rgba(10, 30, 39, 1);
  color: var(--white);
}

.scroll__btn{
  margin: 30px 10px 20px 10px;
}

.logo__img{
  width: 170px;
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: url(./assets/background.jpg);
  background-color: rgba(255, 255, 255, 0.2);
} 


::-webkit-scrollbar { width: 5px; }

::-webkit-scrollbar-track { background: transparent; }

::-webkit-scrollbar-thumb {
  background-color: rgb(0, 0, 0);
}

.header {
  position: relative;
  height: 100vh;
  
}

.header::before {
  /* position: absolute; */
  content: "";
  /* top: 0;
  left: 0; */
  width: 100%;
  height: calc(100% + 15rem);
  /* background-color: var(--primary-color); */
  z-index: -1;

}

nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  max-width: var(--max-width);
  width: 100%;
  border-radius: 40px;
  padding: 1rem;
  z-index: 9;
  background-color: rgba(4,9,25,0.3);
  box-shadow: 0 6px 4px -2px rgba(0, 0, 0, 0.3);
}

.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__links {
  position: absolute;
  right: 1rem;
  top: 68px;
  width: calc(100% - 2rem);
  max-width: 350px;
  padding: 2rem;
  list-style: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  background-color: rgba(10, 30, 39, 0.8);
  border-radius: 10px;
  display: none;
}

.nav__links.open {
  display: flex;
  animation: show-nav 0.3s linear forwards;
}

.nav__links.close {
  animation: hide-nav 0.3s linear forwards;
}

@keyframes show-nav {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes hide-nav {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.nav__links a {
  font-weight: 400;
  font-size: 1rem;
  color: var(--white);
}

.nav__links a:hover {
  color: var(--secondary-color);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__action__btn {
  display: none;
}

.header__container {
  position: relative;
  isolation: isolate;
  height: calc(100% - 75px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
}

.header__content {
  max-width: 700px;
}

.header__content .section__header {
  font-size: 4rem;
  font-weight: 600;
  line-height: 5rem;
}

.header__content a {
  color: var(--white);
}

.header__content a:hover {
  color: var(--secondary-color);
}

.header__socials {
  position: absolute;
  left: 0;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  transform: translateX(calc(-50% + 1rem)) rotate(90deg);
  display: none;
}

.header__socials a {
  font-size: 1.2rem;
  color: var(--white);
  transform: rotate(-90deg);
}

.header__socials a:hover {
  color: var(--secondary-color);
}

.title__discription{
  color: var(--text-light);
  font-weight: 100;
  margin: 15px 10px;
}

.time{
  color: var(--secondary-color);
  font-family: "Syne", sans-serif;
  font-weight: 100;
  font-size: 1.5rem;
  margin: 15px 10px;
}

.countdown{
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 50px;
  padding: 20px 0 20px 20px;
  font-family: "Reddit Mono", monospace;
  font-weight: 600;
  color: var(--text-light);
  border: 2px solid var(--text-light);
  box-shadow: rgba(255, 255, 255, 0.35) 0px 5px 15px;
  background-color: rgba(0, 0, 0, 0.534);
}

.countdown-container {
  display: inline-block;
  margin-right: 20px;
}

.countdown-element {
  font-size: 2.6rem;
  text-align: center;
}

.countdown-label {
  font-size: 1rem;
  text-align: center;
}


/* introduction */

.introduction{
  /* background-color: #3D4354; */
  background: url(./assets/unitedbackground.jpg);
  background-size: cover;
  background-color: rgb(0, 0, 0, 0.5);
  background-position: center;
  padding-block: 10px;
}

.intro__border{
  border: 1px solid var(--text-light);
  box-shadow: rgba(255, 255, 255, 0.35) 0px 5px 15px;
  padding: 30px;
  background-color: rgb(61, 67, 84, 0.94);
}

.intro__about{
  display: flex;
  gap: 2rem;
}

.intro__about :nth-child(1){
  flex: 3;
}

.intro__about :nth-child(2){
  flex: 1;
}

.intro__about :nth-child(3){
  flex: 1;
}

.intro__info{
  padding: 10px;
}

.intro__info p{
  color: white;
  font-family: "Nunito Sans", sans-serif;
}

.intro__info h1{
  color: #ffd97f;
  margin-bottom: 10px;
  font-family: var(--header-font);
}

.intro__clg{
  margin-bottom: 50px;
  padding: 10px;
}

.intro__clg h1{
  color: #e9c675;
  padding: 4px 0;
  margin-bottom: 15px;
  font-size: 1.7rem;
  font-weight: 600;
}

.intro__clg p{
  color: white;
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.1rem;
}

/* schedule */

.schedule__intro{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.schedule__icons{
  width: 70px;
  height: 1000px;
  position: relative;
  font-size: 3rem;
  color: white;
  text-align: center;
}

.schedule__icons :nth-child(1){
  position: absolute;
  top: 4%;
  left: 0;
}
.schedule__icons :nth-child(2){
  position: absolute;
  top: 26%;
  left: 0;
}
.schedule__icons :nth-child(3){
  position: absolute;
  top: 48%;
  left: 0;
}
.schedule__icons :nth-child(4){
  position: absolute;
  top: 70%;
  left: 0;
}
.schedule__icons :nth-child(5){
  position: absolute;
  top: 92%;
  left: 0;
}


.schedule__timeline{
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-block: 50px;
  max-width: 500px;
  width: 100%;
  height: 1000px; /* Height of the line */
}

/* Style for the vertical line */
.vertical-line {
  position: absolute;
  width: 3px; /* Width of the line */
  height: 100%; /* Height of the line */
  background-color: rgb(110, 110, 110); /* Color of the line */
  left: 0; /* Position it on the left side */
}

/* Style for the points */
.point {
  position: absolute;
  width: 15px; /* Width of the point */
  height: 15px; /* Height of the point */
  background-color: var(--secondary-color); /* Color of the point */
  border-radius: 50%; /* To make it circular */
  left: 0;
  transform: translate(-40%, -50%);
}

/* Style for the content */
.content {
  position: absolute;
  top: 0;
  left: 30px; /* Adjust this value to create space between line and content */
  color: white;
  font-size: 1.1rem;
  font-weight: 500;

}

.timeline__date{
  font-family: "Reddit Mono", monospace;
  color: var(--text-light);
  font-size: 1rem;
}

.timeline__info{
  margin-top: 15px;
}

.timeline__info h1{
  color: #e9cc88;
  font-size: 1.6rem;
  font-family: "Syne", sans-serif;
  font-weight: 600;
  margin-bottom: 5px;
}

.timeline__info p{
  font-size: 1rem;
  font-weight: 400;
}


/* register */

.register__problems{
  margin-bottom: 50px;

}

.accordion{
  width: 100%;
  background: rgb(255, 255, 255, 0);
  padding: 15px;
}
.accordion .accordion-content{
  margin: 20px 0;
  border-radius: 5px;
  background: #FFF7F0;
  border: 1px solid #FFD6B3;
  overflow: hidden;
}
.accordion-content:nth-child(2){
  background-image: linear-gradient(120deg, #fccb90 0%, #d57eeb 100%);
  border-color: #CCEEFF;
}
.accordion-content:nth-child(3){
  background-color: #FFF0F3;
  border-color: #FFCCD6;
}
.accordion-content:nth-child(4){
  background-image: linear-gradient(to top, #fbc2eb 0%, #a6c1ee 100%);
  border-color: #CCCCFF;
}
.accordion-content:nth-child(5){
  background-color: #F0FAFF;
  border-color: #CCEEFF;
}
.accordion-content:nth-child(7){
  background-image: linear-gradient(120deg, #a6c0fe 0%, #f68084 100%);
  border-color: #000000;
}

.accordion-content.open{
  padding-bottom: 10px;
}
.accordion-content problem{
  display: flex;
  min-height: 50px;
  padding: 5px 20px;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s linear;
}
.accordion-content.open problem{
  min-height: 35px;
}
.accordion-content problem .title{
  font-size: 16px;
  font-weight: 500;
  color: #333;
}
.accordion-content problem i{
  font-size: 18px;

  color: #333;
}
.accordion-content .description{
  height: 0;
  font-size: 14px;
  color: #333;
  font-weight: 400;
  padding: 0 23px;
  transition: all 0.2s linear;
}


.register{
  background-color: rgb(61, 67, 84, 0.6);
}

.register__border{
  border: 1px solid var(--text-light);
  box-shadow: rgba(255, 255, 255, 0.35) 0px 5px 15px;
  padding: 40px;
}

.register__info h1{
  color: #e9c675;
  font-size: 2.1rem;
}

.register__info p{
  color: white;
  font-family: "Reddit Mono", monospace;
  font-size: 1.07rem;
  margin-bottom: 40px;
  padding-left: 5px;
}

.register__btn{
  padding: 20px 40px;
  border: none;
  font-size: 1.2rem;
  border-radius: 50px;
  background-color: #cbd5e1;
  font-family: "Reddit Mono", monospace;
  transition: .3s;
}

.register__btn:hover{
  background-color: #ffffff;
  cursor: pointer;
}

.register__ppt{
  margin-bottom: 50px;
  background-color: rgb(44, 74, 141, 1);
  padding: 20px;
  text-align: center;
}

.register__ppt h1{
  color: #e9c675;
  font-family: var(--header-font);
  font-size: 2rem;
  margin-bottom: 10px;
}

.register__ppt p{
  color: white;
  font-family: "Reddit Mono", monospace;
  font-size: 1.15rem;
}

.register__ppt button{
  margin-top: 20px;
  cursor: pointer;
  color: rgb(255, 255, 255);
  background-color: rgb(0, 0, 0, 0);
  font-size: 1.3rem;
  font-weight: 600;
  border: 2px solid white;
  padding: 10px;
  transition: .2s;
}

.register__ppt button:hover{
  border-color: rgb(241, 85, 28);
  color: rgb(241, 87, 31);
}


.about {
  /* background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    var(--primary-color) 8rem
  ); */
  overflow: hidden;
}

.about__container {
  padding-top: 5rem;
  display: grid;
  gap: 5rem 2rem;
  overflow: hidden;
}

.about__image img {
  max-width: 300px;
  margin-inline: auto;
  border-radius: 5px;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.4);
}

.about__content-1 .section__subheader::after {
  content: "01";
}

.about__content-2 .section__subheader::after {
  content: "02";
}

.about__content-3 .section__subheader::after {
  content: "03";
}
.about__content-4 .section__subheader::after {
  content: "04";
}
.about__content-5 .section__subheader::after {
  content: "05";
}
.about__content-6 .section__subheader::after {
  content: "06";
}
.about__content-7 .section__subheader::after {
  content: "07";
}
.about__content-8 .section__subheader::after {
  content: "08";
}


.about__content p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.about__content a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary-color);
}

.about__content a span {
  transition: 0.3s;
}

.about__content a:hover span {
  transform: translateX(10px);
}


/* gallery */

.gallery{
  background-color: rgb(61, 67, 84, 0.6);
}

.slider__container {
  max-width: 1200px;
  width: 95%;
}
.slider-wrapper {
  position: relative;
}
.slider-wrapper .slide-button {
  position: absolute;
  top: 50%;
  outline: none;
  border: none;
  height: 50px;
  width: 50px;
  z-index: 5;
  color: #fff;
  display: flex;
  cursor: pointer;
  font-size: 2.2rem;
  background: #000;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: translateY(-50%);
}
.slider-wrapper .slide-button:hover {
  background: #404040;
}
.slider-wrapper .slide-button#prev-slide {
  left: -25px;
  display: none;
}
.slider-wrapper .slide-button#next-slide {
  right: -25px;
}
.slider-wrapper .image-list {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 18px;
  font-size: 0;
  list-style: none;
  margin-bottom: 30px;
  overflow-x: auto;
  scrollbar-width: none;
}
.slider-wrapper .image-list::-webkit-scrollbar {
  display: none;
}
.slider-wrapper .image-list .image-item {
  width: 325px;
  height: 400px;
  border-radius: 10px;
  object-fit: cover;
}
.container .slider-scrollbar {
  height: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
.slider-scrollbar .scrollbar-track {
  background: #ccc;
  width: 100%;
  height: 2px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  position: relative;
}
.slider-scrollbar:hover .scrollbar-track {
  height: 4px;
}
.slider-scrollbar .scrollbar-thumb {
  position: absolute;
  background: #000;
  top: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  cursor: grab;
  border-radius: inherit;
}
.slider-scrollbar .scrollbar-thumb:active {
  cursor: grabbing;
  height: 8px;
  top: -2px;
}
.slider-scrollbar .scrollbar-thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  bottom: -10px;
}
/* Styles for mobile and tablets */
@media only screen and (max-width: 1023px) {
  .slider-wrapper .slide-button {
    display: none !important;
  }
  .slider-wrapper .image-list {
    gap: 10px;
    margin-bottom: 15px;
    scroll-snap-type: x mandatory;
  }
  .slider-wrapper .image-list .image-item {
    width: 280px;
    height: 380px;
  }
  .slider-scrollbar .scrollbar-thumb {
    width: 20%;
  }
}


/* team */



.team__container .card_Container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap; /* Prevent wrapping */
  width: 100%;
  max-width: 1200px; /* Adjust as needed */
  margin: 40px auto; /* Center the container */
}

.card_Container .card {
  position: relative;
  width: 160px; /* Reduce width to fit six cards */
  height: 240px;
  margin: 10px; /* Reduce margin to optimize space */
  overflow: hidden;
  box-shadow: 0 30px 30px -20px rgba(0, 0, 0, 1),
              inset 0 0 0 1000px rgba(67, 52, 109, .6);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.card .imbBx, .imbBx img{
  width: 100%;
  height: 100%;
}

.card .card__content{
  position: absolute;
  bottom: -130px;
  width: 100%;
  height: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  backdrop-filter: blur(15px);
  box-shadow: 0 -10px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: bottom 0.5s;
  transition-delay: 0.55s;
}

.card:hover .card__content{
  bottom: 0;
  transition-delay: 0s;
}

.card__content .contentBx h3{
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 2px;
  font-weight: 500;
  font-size: 15px;
  text-align: center;
  margin: 20px 0 15px;
  line-height: 1.1em;
  transition: 0.4s;
  transition-delay: 0.5s;
  opacity: 0;
  transform: translateY(-20px);
}

.card:hover .card__content .contentBx h3{
  opacity: 1;
  transform: translateY(0);
}

.card__content .contentBx h3 span{
  font-size: 12px;
  font-weight: 300;
  text-transform: initial;
}

.card__content .sci{
  position: relative;
  bottom: 10px;
  display: flex;/* ✅ Mobile Responsive (for screens below 768px) */
@media (max-width: 768px) {
  .team__container .card_Container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .card_Container .card {
    width: 100%;
    max-width: 300px;
    height: 240px;
  }
}

}

.card__content .sci li{
  list-style: none;
  margin: 0 10px;
  transform: translateY(40px);
  transition: 0.5s;
  opacity: 0;
  transition-delay: .2s;
}

.card:hover .card__content .sci li{
  transform: translateY(0);
  opacity: 1;
}

.card__content .sci li a{
  color: #fff;
  font-size: 20px;
}
/* ✅ Move this OUTSIDE any other CSS blocks */
@media (max-width: 768px) {
  .team__container .card_Container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .card_Container .card {
    /* width: 100%;
    max-width: 300px;
    height: 240px; */
    aspect-ratio: 9 / 16;
  }
}


.footer {
  background-color: var(--primary-color);
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
  place-content: center;
}

.footer__col:first-child {
  max-width: 300px;
}

.footer__logo {
  margin-bottom: 1rem;
}

.footer__col p {
  color: var(--text-light);
  font-family: "Reddit Mono", monospace;
}

.footer__col h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.footer__links {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.footer__links a {
  color: var(--text-light);
}

.footer__links a:hover {
  color: var(--secondary-color);
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
  font-family: "Reddit Mono", monospace;
}


@media (width < 500px){
  .intro__about{
    display: block;
  }

  /* .card_Container .card{
    width: 240px;
    height: 320px;
  } */

  nav{
    border-radius: 0;
  }

}


@media (width > 768px) {
  .nav__logo {
    flex: 1;
  }

  .nav__links {
    position: static;
    padding: 0;
    display: flex;
    flex-direction: row;
    background-color: transparent;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__action__btn {
    justify-content: flex-end;
    display: flex;
    flex: 1;
  }

  .header__container {
    height: calc(100% - 10rem);
    padding-top: 180px;
    margin-top: 60px;
  }

  .header__socials {
    display: flex;
  }



  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 10rem 2rem;
  }

  .about__image-1 {
    grid-area: 1/2/2/3;
  }

  .about__image-3 {
    grid-area: 3/2/4/3;
  }

  .about__content {
    margin-left: 6rem;
  }

  .footer__container {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* last minute addition by dev */
#guidelines{
  color: #e9c675;
}

p{
  text-wrap: pretty;
  text-align: justify;
  /* word-spacing:-2px; */
  /* hyphenation */
  hyphens: auto;
  -webkit-hyphens: auto; /* For compatibility */
  word-spacing: -0.05em; /* Adjust as needed */
}

#final{
  /* font-family: 'Overpass Mono', monospace;
  font-weight: 500;
  font-size: 14px; */
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  transition: 0.5s;
  line-height: 1;
  /* margin: 10px; */
  color: #fff;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  background-color: rgba(0, 0, 0, 0.534);
  border: 2px solid #e9c675;
  box-shadow: 15px 1px 150px 
}

#finalspan{
  display: flex;
  justify-content: center;
}
