/* ========================= */
/* FLOATING ANIMATION        */
/* ========================= */

@keyframes floatingAstronaut {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-18px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* ========================= */
/* 1199px — LARGE TABLET     */
/* ========================= */

@media (max-width: 1199px) {
  /* ASTRONAUT */
  .astronaut {
    min-height: auto;
    gap: 20px;
  }

  .text-box {
    width: 35%;
    min-height: 260px;
  }

  .txt-box1 h2 {
    font-size: 20px;
    line-height: 28px;
  }

  .txt-box1 p {
    width: 100%;
    font-size: 13px;
    line-height: 22px;
  }

  .asto {
    width: 30%;
  }

  .asto img {
    width: 90%;
    max-width: 260px;
  }

  .lft-hndlr,
  .rgt-hndlr {
    display: none;
  }

  /* PARTICIPATE + CHALLENGES */
  .partsipt-sect .container-fluid,
  .chlng-cont {
    padding-left: 40px;
    padding-right: 40px;
  }

  .prticipt-contr h3 {
    font-size: 20px;
  }

  .prticipt-contr p {
    font-size: 15px;
  }

  .challenge-text {
    font-size: 18px;
  }

  /* SCHEDULE + FAQ */
  .schedule-container {
    padding-left: 80px;
    padding-right: 80px;
  }

  .faq-section {
    padding: 0 80px;
  }

  /* NAVBAR */
  .custom-navbar {
    padding: 0 24px;
  }

  .nav-container {
    max-width: 100%;
    gap: 14px;
    padding: 12px 20px;
  }

  /* HERO */
  .hero-text {
    left: 180px;
    top: 200px;
  }

  .hero-text h1 {
    font-size: 80px;
    line-height: 82px;
  }

  .hero-text h2 {
    font-size: 88px;
    line-height: 90px;
    padding-left: 60px;
  }

  .hero-image {
    left: 60px;
    bottom: 80px;
  }

  .hero-image img {
    width: 240px;
  }

  .hero-btn {
    right: 80px;
    bottom: 120px;
  }
}

/* ========================= */
/* 991px — TABLET            */
/* ========================= */

@media (max-width: 991px) {
  /* ASTRONAUT */
  .astronaut {
    flex-direction: column;
    background: none;
    padding: 40px 15px;
    gap: 30px;
  }

  .asto {
    order: 1;
    width: 100%;
  }

  .asto::after {
    display: none;
  }

  .asto img {
    width: 220px;
    max-width: 100%;
  }

  .text-box {
    width: 100%;
    max-width: 600px;
    min-height: auto;
    padding: 30px 25px !important;
    text-align: center !important;
    align-items: center !important;
    border-radius: 16px;
  }

  .txt-box1 {
    width: 100%;
  }

  .txt-box1 h2 {
    font-size: 22px;
    line-height: 30px;
  }

  .txt-box1 p,
  .lft .txt-box1 p,
  .rgt .txt-box1 p {
    width: 100%;
    margin: 0;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
  }

  .lft-hndlr,
  .rgt-hndlr {
    display: none;
  }

  /* PARTICIPATE */
  .partsipt-sect {
    padding: 60px 0 20px;
  }

  .partsipt-sect .container-fluid {
    padding: 0 30px 30px;
  }

  .prtcipt-head {
    font-size: 24px;
    margin-bottom: 2.5rem;
  }

  .prticipt-contr {
    text-align: center;
  }

  .icon-box {
    margin: 0 auto 24px;
  }

  .prticipt-contr h3 {
    font-size: 22px;
  }

  .prticipt-contr p {
    font-size: 16px;
  }

  /* CHALLENGES */
  .challenge-sect {
    padding: 80px 0;
  }

  .chlng-cont {
    padding: 0 30px;
  }

  .challenge-head {
    font-size: 24px;
    margin-bottom: 50px;
  }

  .challenge-item {
    padding: 25px 0;
  }

  .challenge-number {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .challenge-text {
    font-size: 16px;
    line-height: 1.6;
  }

  .challenge-arrow {
    font-size: 24px;
    margin-top: 10px;
  }

  .challenge-img img {
    height: 80px;
  }

  .sn7 img {
    height: 130px;
  }

  .learn-btn {
    padding: 9px 18px;
    font-size: 13px;
  }

  .challenge-sect::before,
  .challenge-sect::after,
  .chlng-cont::before,
  .chlng-cont::after {
    opacity: 0.7;
    transform: scale(0.8);
  }

  /* SCHEDULE */
  .schedule-container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .schedule-head {
    margin-bottom: 60px;
    font-size: 24px;
  }

  .schedule-item h3 {
    font-size: 20px;
    min-height: auto;
  }

  .schedule-item p {
    font-size: 17px;
  }

  /* REWARD */
  .reward-card {
    min-height: auto;
    padding: 40px;
  }

  .reward-card h3 {
    font-size: 20px;
  }

  .reward-card p {
    font-size: 17px;
    width: 100%;
  }

  .card1 {
    width: 100%;
  }

  /* BRAIN */
  .brain-img {
    height: auto;
    max-height: 500px;
  }

  /* FAQ */
  .faq-section {
    padding: 0 40px;
    margin-top: -200px;
    gap: 30px;
  }

  .faq-item {
    grid-template-columns: 50px 1fr;
    grid-template-rows: auto auto;
    gap: 16px 20px;
  }

  .faq-answer {
    grid-column: 1 / -1;
    font-size: 16px;
  }

  .faq-question {
    font-size: 18px;
  }

  .faq-number {
    font-size: 16px;
    width: 36px;
    height: 36px;
  }

  /* NAVBAR */
  .custom-navbar {
    position: fixed;
    top: 0;
    padding: 0;
    background: transparent;
    align-items: flex-start;
  }

  .nav-container {
    width: 100%;
    max-width: 100%;
    border-radius: 0 0 20px 20px;
    padding: 14px 20px;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    background: #e5e5e5;
  }

  .navbar-brand.logo {
    flex: 1;
  }

  .navbar-collapse {
    width: 100%;
    padding-top: 10px;
  }

  .navbar-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px;
    margin: 0 !important;
    width: 100%;
  }

  .nav-links .nav-link {
    font-size: 15px;
    padding: 10px 8px;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .nav-links .nav-link:last-child {
    border-bottom: none;
  }

  .signin-link {
    display: block;
    width: 100%;
    margin-top: 10px;
  }

  .signin-btn {
    width: 100%;
    padding: 10px 20px;
    text-align: center;
    font-size: 15px;
  }

  /* HERO */
  .hero-section {
    height: 100svh;
    min-height: 580px;
    max-height: 760px;
  }

  .hero-section::after {
    content: "";
    position: absolute;
    right: 0;
    top: -20px;
    width: 100%;
    height: 760px;
    background: linear-gradient(
      180deg,
      rgba(124, 58, 237, 0.96),
      rgba(79, 70, 229, 0.18)
    );
    border-radius: 120px;
    filter: blur(70px);
    opacity: 0.76;
    pointer-events: none;
    z-index: 0;
  }

  .hero-text {
    left: 24px;
    top: 120px;
    z-index: 2;
  }

  .hero-text h1 {
    font-size: 52px;
    line-height: 58px;
  }

  .hero-text h2 {
    font-size: 56px;
    line-height: 60px;
    padding-left: 40px;
    -webkit-text-stroke: 2px #a855f7;
    margin-top: -8px;
  }

  .hero-image {
    left: 50%;
    transform: translateX(-50%);
    bottom: 80px;
    z-index: 8;
  }

  .hero-image img {
    width: 160px;
    padding: 0;
  }

  .tagline {
    font-size: 10px;
    width: 160px;
    color: rgba(255, 255, 255, 0.82);
  }

  .hero-btn {
    right: 24px;
    bottom: 40px;
  }

  .register-btn {
    min-width: 160px;
    padding: 12px 28px;
    font-size: 14px;
  }
}

/* ========================= */
/* 767px — MOBILE LANDSCAPE  */
/* ========================= */

@media (max-width: 767px) {
  /* SCHEDULE */
  .schedule-sect {
    padding: 40px 20px;
  }

  .schedule-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .schedule-head {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .schedule-item {
    text-align: center;
  }

  .schedule-item h3 {
    font-size: 17px;
    margin-bottom: 16px;
    min-height: auto;
  }

  .schedule-item p {
    font-size: 15px;
    margin-top: 14px;
  }

  .progress-line {
    height: 10px;
  }

  /* REWARD + FAQ */
  .reward-faq-section {
    padding: 40px 0px;
  }

  .reward-head {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .reward-card {
    padding: 28px 24px;
    border-radius: 20px;
    min-height: auto;
  }

  .reward-card h3 {
    font-size: 18px;
    line-height: 1.4;
  }

  .reward-card p {
    font-size: 15px;
    width: 100%;
  }

  /* BRAIN */
  .brain-wrapper {
    margin-top: -40px;
  }

  .brain-img {
    width: 100%;
    height: 450px;
    max-height: 450px;
    object-fit: cover;
  }

  /* FAQ */
  .faq-section {
    padding: 0 20px;
    margin-top: -180px;
    gap: 24px;
  }

  .faq-head {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .faq-item {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    gap: 12px 16px;
    padding: 20px 0;
  }

  .faq-answer {
    grid-column: 1 / -1;
    font-size: 14px;
    padding-left: 0;
  }

  .faq-question {
    font-size: 16px;
    align-self: center;
  }

  .faq-number {
    font-size: 14px;
    width: 32px;
    height: 32px;
  }

  /* HERO */
  .hero-section {
    min-height: 520px;
    max-height: 680px;
  }

  .hero-text {
    left: 16px;
    top: 100px;
  }

  .hero-text h1 {
    font-size: 42px;
    line-height: 48px;
  }

  .hero-text h2 {
    font-size: 46px;
    line-height: 50px;
    padding-left: 28px;
  }

  .hero-image {
    left: 16px;
    transform: none;
    bottom: 60px;
  }

  .hero-image img {
    width: 130px;
  }

  .tagline {
    font-size: 9px;
    width: 130px;
    letter-spacing: 0.2px;
  }

  .hero-btn {
    right: 16px;
    bottom: 30px;
  }

  .register-btn {
    min-width: 140px;
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 0px;
  }
}

/* ========================= */
/* 576px — MOBILE PORTRAIT   */
/* ========================= */

@media (max-width: 576px) {
  /* ASTRONAUT */
  .astronaut {
    padding: 30px 12px;
    gap: 20px;
  }

  .text-box {
    padding: 25px 20px !important;
  }

  .txt-box1 h2 {
    font-size: 18px;
    line-height: 26px;
  }

  .txt-box1 p {
    font-size: 13px;
    line-height: 22px;
  }

  .asto img {
    width: 180px;
  }

  /* PARTICIPATE */
  .partsipt-sect {
    padding: 50px 0 10px;
  }

  .partsipt-sect::before {
    width: 250px;
    height: 220px;
    right: -80px;
    filter: blur(120px);
  }

  .partsipt-sect .container-fluid {
    padding: 0 20px 20px;
  }

  .prtcipt-head {
    font-size: 22px;
    margin-bottom: 2rem;
  }

  .icon-box {
    width: 65px;
    height: 65px;
    margin-bottom: 18px;
  }

  .icon-box img {
    width: 65px;
    height: 65px;
  }

  .prticipt-contr h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .prticipt-contr p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* CHALLENGES */
  .challenge-sect {
    padding: 40px 0;
  }

  .chlng-cont {
    padding: 0 20px;
  }

  .challenge-head {
    font-size: 22px;
    margin-bottom: 40px;
  }

  .challenge-item {
    padding: 20px 0;
  }

  .challenge-number {
    font-size: 14px;
  }

  .challenge-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .challenge-img img {
    height: 70px;
  }

  .sn7 img {
    height: 110px;
  }

  .challenge-arrow {
    font-size: 22px;
  }

  .learn-btn {
    margin-top: 14px;
    padding: 6px 22px;
    font-size: 12px;
  }

  .challenge-sect::before,
  .challenge-sect::after,
  .chlng-cont::before,
  .chlng-cont::after {
    opacity: 0.4;
    transform: scale(0.6);
  }
}

/* ========================= */
/* 480px — SMALL MOBILE      */
/* ========================= */

@media (max-width: 480px) {
  /* SCHEDULE */
  .schedule-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .schedule-head {
    font-size: 18px;
  }

  .schedule-item h3 {
    font-size: 15px;
  }

  /* REWARD */
  .reward-card {
    padding: 24px 18px;
  }

  .reward-card h3 {
    font-size: 17px;
  }

  .reward-card p {
    font-size: 14px;
  }

  /* FAQ */
  .faq-section {
    padding: 0 16px;
  }

  .faq-question {
    font-size: 15px;
  }

  .faq-answer {
    font-size: 13px;
  }

  /* HERO */
  .hero-section {
    min-height: 480px;
    max-height: 580px;
  }

  .hero-text {
    left: 54px;
    top: 110px;
  }

  .hero-text h1 {
    font-size: 34px;
    line-height: 40px;
  }

  .hero-text h2 {
    font-size: 38px;
    line-height: 42px;
    padding-left: 20px;
    -webkit-text-stroke: 1.5px #a855f7;
  }

  .hero-image {
    left: 98px;
    top: 210px;
    height: 246px;
  }

  .hero-image img {
    width: 110px;
  }

  .tagline {
    font-size: 8px;
    width: 110px;
  }

  .hero-btn {
    right: 104px;
    bottom: 80px;
  }

  .register-btn {
    min-width: 120px;
    padding: 9px 16px;
    font-size: 12px;
  }
}

/* ========================= */
/* 400px — EXTRA SMALL       */
/* ========================= */

@media (max-width: 400px) {
  .prticipt-contr h3 {
    font-size: 18px;
  }

  .prticipt-contr p {
    font-size: 14px;
  }

  .challenge-text {
    font-size: 13px;
  }

  .challenge-number {
    font-size: 13px;
  }

  .challenge-arrow {
    font-size: 20px;
  }
  .abt-container {
    padding: 40px 0px;
    width: 100%;
  }
  .section-title {
    font-family: Manrope;
    font-size: 22px;
    margin-top: -82px;
    position: absolute;
    left: 50px;
  }
  .title {
    font-size: 22px;
    line-height: 28px;
  }
  .container-flud {
    padding: 0px 20px;
  }
  .welcome-area p {
    font-family: Manrope;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.6px;
  }
  .catgry-heading {
    font-size: 22px;
  }
  .categry-prtcpnt {
    padding: 0px 20px;
  }
  .catgry-box h3 {
    font-size: 22px;
  }
  .catgry-note {
    font-size: 14px;
  }
  .txtdiv h2 {
    font-size: 22px;
    line-height: 30px;
    text-align: center;
    width: 100%;
  }
  .hackthon {
    padding: 30px 20px;
  }
  .txtdiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .txtdiv p {
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.4px;
  }
  .hck-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .timer {
    padding: 10px 17px !important;
  }
  .hck-btn span {
    transform: translateX(-8px);
  }
  .hck-btn a {
    padding: 16px 9px !important;
  }
  .grd .col12 {
    width: 50%;
  }
  .challenge-wrapper {
    padding: 0px 20px;
  }
  .reward-section {
    padding: 40px 20px;
  }
}
/* Mobile Responsive */
  .back-to-top {
    width: 50px;
    height: 50px;
    right: 20px;
    bottom: 20px;
  }

  .back-to-top span {
    font-size: 24px;
  }
