/* ==============================
       TABLET
    ============================== */

@media (max-width: 1100px) {
  .header-inner {
    width: calc(100% - 40px);
  }

  .main-nav {
    gap: 20px;
    padding: 0 18px;
  }

  .brand img {
    width: 130px;
  }

  /* .site-header .header-actions .btn {
        padding: 0 13px;
      } */
}

/* ==============================
       MOBILE NAVIGATION
    ============================== */

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .header-inner {
    width: calc(100% - 32px);
    min-height: 72px;
  }

  .brand img {
    width: 135px;
  }

  .menu-toggle {
    display: block;
    margin-left: 10px;
  }

  .header-actions {
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: -16px;
    right: -16px;
    z-index: 1060;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;

    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    padding: 12px 18px 20px;
    margin: 0;

    background: #fff;
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 18px 35px rgba(16, 38, 92, 0.12);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);

    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  }

  .main-nav.mobile-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header .nav-item {
    display: block;
    width: 100%;
    border-bottom: 1px solid #eef1f6;
  }

  .site-header .nav-item:last-child {
    border-bottom: 0;
  }

  .site-header .nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 16px 2px;
    font-size: 14px;
  }

  /* Override Bootstrap dropdown positioning on mobile */
  .site-header .main-nav .nav-item .dropdown-menu {
    position: static;
    inset: auto;
    display: none;
    float: none;
    width: 100%;
    min-width: 0;
    padding: 4px 0 12px 10px;
    margin: 0;

    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .site-header .main-nav .has-dropdown.dropdown-open > .dropdown-menu {
    display: block;
  }

  .site-header
    .main-nav
    .has-dropdown.dropdown-open
    > .nav-link
    .dropdown-arrow {
    transform: rotate(225deg) translate(-1px, -1px);
  }

  .site-header .main-nav .dropdown-menu a {
    padding: 11px 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 480px;
    padding: 70px 24px;
  }
}

@media (min-width: 320px) and (max-width: 767px) {
  .section-padd{
    padding: 50px 0px 30px 0px;
  }
  .section-padd .content p {
    font: 400 14px/1.6 var(--font);
  }
  .hero-bg {
    height: 780px;
    background: url("../img/mobile.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
  .powered_by {
    width: 230px;
    bottom: 20px;
  }
  .powered_by_logo {
    height: 50px;
  }
  .powered_by_text {
    font-size: 12px;
  }
  .hero-label {
    font: 700 12px/1.5 var(--font);
  }
  .hero-sec {
    padding: 20px 0;
  }
  .hero-inner h1 {
    font: 600 clamp(30px, 5vw, 4rem) / 1.12 var(--font2);
  }
  .hero-inner p {
    font: 12px/23px var(--font);
  }
  .team-btn,
  .sponsor-btn {
    display: block;
    text-align: center;
    margin-bottom: 20px;
  }
  .sponsor-btn {
    margin-bottom: 0px;
  }
  .dates_hero {
    padding: 10px;
  }
  .header-inner {
    width: calc(100% - 30px);
    min-height: 68px;
  }

  .brand img {
    width: 150px;
  }

  .header-actions {
    gap: 20px;
  }

  .site-header .header-actions .btn {
    min-height: 40px;
    padding: 0 20px;
    font-size: 14px;
  }

  .site-header .btn-login {
    display: none;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    margin-left: 0;
  }

  .menu-toggle span {
    left: 10px;
    width: 18px;
  }

  .menu-toggle span:nth-child(1) {
    top: 12px;
  }

  .menu-toggle span:nth-child(2) {
    top: 18px;
  }

  .menu-toggle span:nth-child(3) {
    top: 24px;
  }

  .menu-toggle.active span:nth-child(1),
  .menu-toggle.active span:nth-child(3) {
    top: 18px;
  }

  .hero {
    min-height: 430px;
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 38px;
    letter-spacing: -1.3px;
  }

  .hero p {
    font-size: 14px;
  }

  .content-section {
    padding: 75px 20px;
  }
  .section-padd h4 {
    font: 600 14px/1.5 var(--font2);
    margin-bottom: 10px;
  }
  .section-padd .heading_main h2 {
    font: 700 1.8rem/1.1 var(--font);
  }

  .advisory_council .advisory-name {
    font: 700 13px / 1.5 var(--font2);
 
}
.advisory_council .advisory-role {
    font: 600 12px var(--font);
    
}
.advisory_council .advisory-description {
    font: 500 11px/18px var(--font);

}
.hackathon_works .hack-announcement-tag{
  display: none;
}
   .timeline_section  .timeline-row{
            grid-template-columns: 1fr;
        gap: 42px;

   } 
     .who_can_enter .who_can_enter_box {
    height: auto;
    margin-bottom: 20px;
  }
.timeline_section .timeline-track::before,
      .timeline-node {
        display: none;
      }
     .timeline_section .timeline-card{
          min-height: auto;
        padding: 55px 24px 25px;
      }
      .timeline-icon-wrap{
        width: 66px !important;
        height: 66px !important;
                top: -30px !important;
      }
      .hackathon_works .hack-stage{
        margin-bottom: 20px;
        height: auto;
      }
}

@media (min-width: 768px) and (max-width: 1024px) {

  .section-padd {
    padding: 60px 0 40px;
  }

  .section-padd .content p {
    font: 400 15px/1.7 var(--font);
  }

  .hero-bg {
    height: 700px;
    background: url("../img/mobile.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }

  .powered_by {
    width: 250px;
    bottom: 25px;
  }

  .powered_by_logo {
    height: 55px;
  }

  .powered_by_text {
    font-size: 13px;
  }

  .hero-label {
    font: 700 13px/1.5 var(--font);
  }

  .hero-sec {
    padding: 30px 0;
  }

  .hero-inner h1 {
    font: 600 clamp(36px, 4.5vw, 3.5rem)/1.12 var(--font2);
  }

  .hero-inner p {
    font: 14px/25px var(--font);
  }

  .team-btn,
  .sponsor-btn {
    text-align: center;
    margin-bottom: 20px;
  }

  .sponsor-btn {
    margin-bottom: 0;
  }

  .dates_hero {
    padding: 15px;
  }

  .header-inner {
    width: calc(100% - 40px);
    min-height: 75px;
  }

  .brand img {
    width: 165px;
  }

  .header-actions {
    gap: 15px;
  }

  .site-header .header-actions .btn {
    min-height: 42px;
    padding: 0 18px;
    font-size: 14px;
  }

  .site-header .btn-login {
    display: inline-flex;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    margin-left: 0;
  }

  .menu-toggle span {
    left: 10px;
    width: 20px;
  }

  .menu-toggle span:nth-child(1) {
    top: 13px;
  }

  .menu-toggle span:nth-child(2) {
    top: 19px;
  }

  .menu-toggle span:nth-child(3) {
    top: 25px;
  }

  .menu-toggle.active span:nth-child(1),
  .menu-toggle.active span:nth-child(3) {
    top: 19px;
  }

  .hero {
    min-height: 500px;
    padding: 80px 35px;
  }

  .hero h1 {
    font-size: clamp(40px, 5vw, 52px);
    letter-spacing: -1.5px;
  }

  .hero p {
    font-size: 15px;
  }

  .content-section {
    padding: 80px 35px;
  }

  .section-padd h4 {
    font: 600 15px/1.5 var(--font2);
    margin-bottom: 12px;
  }

  .section-padd .heading_main h2 {
    font: 700 2.2rem/1.15 var(--font);
  }

  .advisory_council .advisory-name {
    font: 700 14px/1.5 var(--font2);
  }

  .advisory_council .advisory-role {
    font: 600 13px/1.5 var(--font);
  }

  .advisory_council .advisory-description {
    font: 500 12px/19px var(--font);
  }

  .hackathon_works .hack-announcement-tag {
    display: none;
  }

  .timeline_section .timeline-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
  }

  .timeline_section .timeline-card {
    min-height: auto;
    padding: 50px 22px 25px;
  }

  .timeline-icon-wrap {
    width: 62px !important;
    height: 62px !important;
    top: -28px !important;
  }

  .hackathon_works .hack-stage {
    margin-bottom: 20px;
    height: auto;
  }


}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
