
    body {
        scroll-behavior: smooth;
    }

    

    html,
    body {
        margin: 0;
        padding: 0;
        height: 100%;

    }

    .objective-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .objective-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    * {
        box-sizing: border-box;
    }



#banner-slider {
            position: relative;
            width: 100%;
            /* height: 100vh; */
            min-height: 116vh;
            overflow: hidden;
        }

        .banner-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }

        .banner-slide.active {
            opacity: 1;
            z-index: 1;
        }

        /* Responsive Heights Based on Screen Size */
        @media (max-width: 1024px) {
            #banner-slider {
            height: 20vh;
            margin-top: 3.1rem;
            padding: 1.5rem 1rem;
            width: 100%;
            }
        }

        @media (max-width: 768px) {
            #banner-slider {
              min-height: 30vh;
            margin-top: 3rem;
            padding: 1.5rem 1rem;
            width: 100%;
            }
        }

        @media (max-width: 576px) {
            #banner-slider {
              min-height: 30vh;
            margin-top: 3.5rem;
            padding: 1.5rem 1rem;
            width: 100%;
            }
        }

        @media (max-width: 400px) {
            #banner-slider {
              min-height: 30vh;
            margin-top: 3.5rem;
            padding: 1.5rem 1rem;
            width: 100%;
            }
        }


    .hero {
        background: url('https://source.unsplash.com/1600x600/?marathon,running') no-repeat center center/cover;
        color: white;
        text-align: center;
        padding: 120px 20px;
    }

    .hero h1 {
        font-size: 3rem;
        font-weight: bold;
    }

    .navbar-nav a {
        font-weight: bold;
        
    }

    section {
        padding: 60px 0;
    }

    .footer {
        background-color: black;
        color: white;
        padding: 20px 0;
        text-align: center;
    }

    .card img {
        height: 200px;
        object-fit: cover;
    }


    #about {
        background-color: #f8f9fa;
    }

    #register {
        background-color: #fff3cd;
    }

    #gallery {
        background-color: #e9ecef;
    }

    #contact {
        background-color: #dee2e6;
    }

    .hero {
        background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('https://source.unsplash.com/1600x600/?marathon,running') no-repeat center center/cover;
        color: white;
        text-align: center;
        padding: 120px 20px;
    }

    .social-icon {
        font-size: 2rem;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .social-icon:hover {
        transform: scale(1.2);
    }

    .social-icon.facebook {
        color: #3b5998;
    }

    .social-icon.twitter {
        color: #000000;
        /* Twitter (X) black */
    }

    .social-icon.instagram {
        color: #e1306c;
    }

    .social-icon.linkedin {
        color: #0077b5;
    }

    .social-icon.youtube {
        color: #FF0000;
        /* YouTube Red */
    }

    .d-flex.bg-white {
        justify-content: center;
        gap: 10px;
    }




    .about-card {
        border-radius: 16px;
        transition: all 0.4s ease;
    }

    .about-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        border-radius: 20px;
    }

    #about {
        background: linear-gradient(135deg, rgba(189, 202, 173, 0.4), rgba(74, 66, 27, 0.4)),
            url('req/leg.jpeg') no-repeat center center;
        background-size: cover;
        padding: 60px 0;
        font-family: inherit;
    }

    .navbar-nav .nav-link {
        position: relative;
        font-family: inherit;
        padding-bottom: 4px;
        transition: color 0.3s;
    }

    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0%;
        height: 2px;
        background-color: #ffffff;
        transition: width 0.3s ease;
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }

    .navbar-nav .nav-link:hover {
        color:rgb(246, 123, 46) !important;
        /* Optional: Change text color on hover */
    }


    @media (max-width: 576px) {
        img[alt="QR Code"] {
            height: 50px;
        }
    }

    .navbar-brand img {
        height: 50px;
        width: auto;
    }

    @media (max-width: 576px) {
        .navbar-brand img {
            height: 40px;
            /* Even smaller for phones */
        }
    }



    /* Default: not fixed */
.mobile-fixed-top {
  position: static;
}

/* Fixed only for screens smaller than 992px (Bootstrap's md breakpoint) */
@media (max-width: 991.98px) {
  .mobile-fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030; /* Bootstrap navbar z-index */
  }
}




body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;

}
p,li {
      font-family: 'Poppins', sans-serif;
    }
.sticky-bg-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://t4.ftcdn.net/jpg/06/19/59/31/360_F_619593112_zqDs3TU1j6pOtDbOoD3EAC7DC2tp77bk.jpg') no-repeat center center fixed;
    background-size: cover;
    padding: 80px 0;
    color: white;
    position: relative;
    z-index: 1;
}

.card-content {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    color: #000;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.card-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .sticky-bg-section {
        background-attachment: scroll;
    }
}




/* Counter */
    .time-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
        background-color: #1e3d1e;
        border-radius: 8px;
        min-width: 80px;
    }

    .digit {
        font-size: 2.5rem;
        font-weight: bold;
    }

    .label {
        margin-top: 5px;
        font-size: 1rem;
    }

    @media (max-width: 600px) {
        .time-box {
            min-width: 20px;
            padding: 8px 10px;
        }

        .digit {
            font-size: 2rem;
        }

        .label {
            font-size: 0.9rem;
        }
    }
    
    
    @media (max-width: 1040px) {
        .time-box {
            min-width: 70px;
            padding: 8px 10px;
        }

        .digit {
            font-size: 2rem;
        }

        .label {
            font-size: 0.9rem;
        }
    }
  /*parteners*/
  
  .partner-logo {
    max-height: 100px;
    object-fit: contain;
}
  
  
  /*youtube channels*/
  
  .scroll-section {
    background-color: #f8f9fa;
    padding: 80px 0;
    overflow: hidden;
  }

  .scroll-container {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll-left 40s linear infinite;
  }

  .scroll-wrapper {
    overflow: hidden;
    white-space: nowrap;
  }

  .video-frame {
    flex: 0 0 auto;
    width: 350px;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  /* Optional: pause on hover */
  .scroll-wrapper:hover .scroll-container {
    animation-play-state: paused;
  }
 
 
 /*Associates Parteners*/
 
 /* Container for scrolling logos — this gets the background and border */
/* Section Styling */
    .section-title {
      /*font-size: 24px;*/
      font-weight: bold;
      margin-bottom: 20px;
      text-align: center;
    }

    .solid-box {
      border: 2px solid #333;
      padding: 20px;
      border-radius: 6px;
      margin-bottom: 40px;
      background-color: #fff;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }

    .logo-grid-two-rows {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .logo-row {
      display: flex;
      justify-content: center;
      flex-wrap: nowrap;
    }

    .logo-frame {
      text-align: center;
      width: 140px;
      padding: 10px 15px;
    }

    .bordered-right {
      border-right: 1px solid black;
    }

    .logo-frame img {
      max-width: 100%;
      height: 50px;
    }

    .logo-caption {
      margin-top: 10px;
      font-size: 14px;
      font-weight: 500;
    }

    .row-separator {
      border: 0;
      border-top: 1px solid #999;
      margin: 10px 0;
      width: 100%;
    }

    .partner-section {
      margin-bottom: 40px;
    }

    .partner-row {
      display: flex;
      justify-content: center;
      flex-wrap: nowrap;
      gap: 40px;
      align-items: flex-start;
    }

    .partner-box {
      text-align: center;
      width: 180px;
    }

    .partner-box img {
      width: 100%;
      height: auto;
    }

    .partner-name {
      font-weight: bold;
      margin-bottom: 10px;
      text-transform: uppercase;
      font-size: 14px;
    }

    .partner-divider {
      border-left: 1px solid #ccc;
      height: auto;
      margin: 0 10px;
    }

    @media (max-width: 768px) {
      .logo-row, .partner-row {
        flex-wrap: wrap;
        justify-content: center;
      }

      .bordered-right {
        border-right: none;
      }

      .partner-divider {
        display: none;
      }
    }






/*scrolling news*/


   .notice-banner {
      background: linear-gradient(to right, #004d7a, #008793);
      color: #fff;
      height: 35px;
      overflow: hidden;
      display: flex;
      align-items: center;
      position: relative;
      padding: 0 10px;
    }

    .scroll-wrapper {
      width: 100%;
      height: 100%;
      overflow: hidden;
      position: relative;
    }

    .scroll-text {
      position: absolute;
      white-space: nowrap;
      font-size: 1.1rem;
      font-weight: 500;
      will-change: transform;
    }
    
    @keyframes scrollLeft {
      0% {
        transform: translateX(100%);
      }
      100% {
        transform: translateX(-100%);
      }
    }
    
    
/*prize section css    */
.prize-section table th,
.prize-section table td {
    font-size: 15px;
}

.prize-section h4 {
    color: #d90000;
}

@media (max-width: 576px) {
    .prize-section table {
        font-size: 14px;
    }
}


/*for route map*/

.image-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 600px;
}

.image-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
