/* Transparent navbar initially */
@import url("https://fonts.googleapis.com/css2?family=Fira+Sans+Extra+Condensed: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=Fira+Sans+Extra+Condensed&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");

* {
  font-family: "Fira Sans Extra Condensed", sans-serif;
}
#mainNav {
  background: transparent;
  transition: 0.3s ease;
}

#mainNav.scrolled {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#mainNav .nav-link {
  color: black;
  transition: 0.3s;
}

/* MOBILE UI OVERRIDE */
@media (max-width: 991px) {
  /* Mobile Menu (slide down) */
  .mobile-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 20px;
    border-radius: 0 0 20px 20px;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Nav Links – Bigger, Touch Friendly */
  #mainNav .nav-link {
    padding: 12px 0;
    font-size: 18px;
    font-weight: 600;
  }

  /* Hamburger Menu Styling */
  .navbar-toggler {
    padding: 0;
    outline: none !important;
    box-shadow: none !important;
  }

  .hamburger {
    width: 28px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s ease;
  }

  .hamburger span {
    height: 3px;
    background: #000;
    border-radius: 10px;
    transition: 0.3s ease;
  }

  /* X animation when menu opened */
  .navbar-toggler.collapsed .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .navbar-toggler.collapsed .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .navbar-toggler.collapsed .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

.hero {
  min-height: 100svh; /* full screen height */
  width: 100%;
  padding-top: 10svh;
  background-image: url("/assets/images/hero/bg.jpg"); /* your image */
  background-size: cover; /* image covers full area */
  background-position: center; /* center image */
  background-repeat: no-repeat;
  background-attachment: fixed; /* parallax effect (optional) */
  position: relative;
}

.sub-hero {
  height: 40vh;
  width: 100%;

  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Title font style */
.hero-title {
  font-weight: 900;
  font-size: 5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Optional: Light shadow for readability */
/* .hero-title {
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
} */

/* Mobile adjustments */
@media (max-width: 768px) {
  .sub-hero {
    height: 20svh;
    padding: 40px 0;
    background-position: center;
  }

  .hero-title {
    text-align: right;
    font-size: 2rem;
    letter-spacing: 2px;
  }
}

.bg-gradient-center {
  background: linear-gradient(90deg, #f36100, #fb8f15, #f36100);
  background-size: 200%;
  animation: gradientMove 8s linear infinite;
  color: #fff;
  overflow: hidden;
  width: 100%;
}

@keyframes gradientMove {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 200%;
  }
}

.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: transparent;
  padding: 10px 0;
}

.marquee-content {
  display: inline-flex;
  gap: 40px;
  animation: scroll 30s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused; /* optional */
}

.logo-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-item img {
  height: 50px;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* DUPLICATE CONTENT AUTOMATICALLY */
.marquee-content::after {
  content: attr(data-duplicate);
  display: inline-flex;
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .logo {
    height: 35px; /* smaller logos on mobile */
  }
  .logo-track {
    gap: 25px;
    animation-duration: 20s; /* slightly faster for smaller screens */
  }
}

@media (max-width: 480px) {
  .logo-track {
    display: flex;
    animation: marquee 2s linear infinite;
  }
  .logo {
    height: 28px;
  }
  .logo-track {
    gap: 15px;
  }
}

/* EVENT BOX BORDER STYLE */
.event-box {
  /* max-width: 400px; */
  margin: 0px 40px;
  border: 2px solid #000;
  border-radius: 4px;
  position: relative;
  /* background-color: white; */
  padding: 50px 0px 20px 0px;
}

.event-box-header {
  font-family: "Poppins", sans-serif;
  font-size: 22px;;
  position: absolute;
  background: linear-gradient(90deg, #ffffff00, #ffffff,#ffffff,#ffffff, #ffffff00);
  top: -25px;
  padding: 10px 20px;
  left: 10%;
  right: 10%;
  /* transform: translateX(-50%); */
}

.font-pop {
  font-family: "Poppins", sans-serif !important;
}
.text-gradient {
  background: linear-gradient(90deg, #fbaa15, #fb8f15);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox */
}

.text-gradient-2 {
  background: linear-gradient(180deg, #FB8F15, #FFCD94);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox */
}
/* SHARED BUTTON STYLE */
.btn-outline-anim,
.btn-gradient-anim {
  width: 80%;
  font-size: 20px;
  font-weight: 600;
  padding: 5px 7px;
  border-radius: 50px;
  display: flex;
  justify-content:space-between;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: 0.35s ease;
  /* position: relative; */
  overflow: hidden;
}

/* ------------------------------------
   OUTLINE BUTTON
------------------------------------ */
.btn-outline-anim {
  border: 2px solid #f5a623;
  color: #f5a623;
  background-color: white;
}

/* Arrow circle */
.btn-outline-anim .arrow {
  font-family: sans-serif !important;
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  background: #f5a623;
  color: white;
  font-size: 18px;
  transition: 0.35s ease;
}

/* Hover state */
.btn-outline-anim:hover {
  background: #f5a623;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
}

/* Arrow change on hover */
.btn-outline-anim:hover .arrow {
  background: white;
  color: #f5a623;
  transform: translateX(5px) translateY(-5px);
}

/* ------------------------------------
   GRADIENT BUTTON WITH SLIDE HOVER
------------------------------------ */
.btn-gradient-anim {
  color: #fff;
  /* border: 1px solid white; */
  background: linear-gradient(90deg, #fb8f15, #fbb215);
  background-size: 200%; /* for slide effect */
  background-position: left;
  box-shadow: 0 5px 20px #FB8F15;

}

/* Gradient hover slide */
.btn-gradient-anim:hover {
  background-position: right;
  transform: translateY(-4px);
  box-shadow: 0 5px 20px rgba(240, 138, 0, 0.4);
}

/* Arrow for gradient button */
.btn-gradient-anim .arrow {
  height: 40px;
  width: 40px;
  background: white;
  color: #f5a623;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.35s ease;
}

/* Arrow slide */
.btn-gradient-anim:hover .arrow {
  transform: translateX(5px) translateY(-5px);
}

.btn-outline-anim:hover .arrow,
.btn-gradient-anim:hover .arrow {
  transform: rotate(45deg);
}

.bg-gradient-center {
  background: linear-gradient(90deg, #f36100, #fb8f15, #f36100);
  background-size: 200%;
  background-position: center; /* Center the gradient */
  color: #fff;
}

.bg-gray {
  background-color: #f7f7f7;
}


/* Big text */
.title-large {
  font-size: 12rem !important;
  line-height: 1;
}

/* Small text auto-expands to match width */
.title-small {
  font-size: 6rem !important; /* scales automatically */
  width: 100%; /* stretch to match DAY width */
  display: block;
  line-height: 0.3;
}

/* Optional: fine tune for large screens */
@media (min-width: 992px) {
  .title-small {
    font-size: 70px; /* adjust until visually equal width */
  }
}

.left-border {
  border-left: 4px solid #fb8f15;
  padding-left: 10px;
}

.footer {
  background: #1e1e1e;
}

.footer-link {
  color: #dcdcdc;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  transition: 0.3s;
}

.footer-link:hover {
  color: #ffffff;
  padding-left: 4px;
}

footer p {
  color: #dcdcdc;
}
/* Speaker Card */
.speaker-card {
  background: linear-gradient(-135deg, #ffba42, #fb8f15);
  border-radius: 10px 40px 0 0;
  padding: 30px 20px 0;
  position: relative;
  height: auto; /* natural height */
  min-height: 480px; /* stable visual height */
  overflow: hidden;
}

/* Name */
.speaker-name {
  font-size: 36px;
  font-weight: 900;
  line-height: 0.7;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Sub Name */
.speaker-sub {
  font-size: 26px;
  font-weight: 700;
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 10px;
  opacity: 0.85;
  letter-spacing: 1px;
}

/* Image */
.speaker-img {
  position: absolute;
  /* left: 0; */
  right: 0;
  bottom: 0;
  width: 100%;
  height: 75%; /* keeps proportion stable */
  object-fit: fill; /* avoids stretching */
}

/* Gradient Overlay */
.speaker-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(#0000, #fba315);
}

/* MOBILE SETTINGS */
@media (max-width: 576px) {
  .speaker-card {
    min-height: 350px; /* more space for tall images */
  }

  .speaker-img {
    height: 75%;
  }

  .speaker-name {
    font-size: 26px;
  }

  .speaker-sub {
    font-size: 18px;
  }
}

.count-title {
  font-size: 32px;
  font-weight: 900;
}
.count-title .orange {
  color: #f39c12;
}

.digit-group {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
}

.digit-box {
  background: #ee9334;
  color: white;
  font-size: 46px;
  font-weight: 700;
  width: 100px !important;
  height: 110px;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 15px rgba(238, 147, 52, 0.5);
}

/* Mobile Adjust */
@media (max-width: 576px) {
  .digit-box {
    border-radius: 10px;
    font-size: 26px !important;
    min-width: 30px !important;
    height: 40px;
  }
}

.competition-card {
  width: 100%;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Top image section */
.card-image {
  position: relative;
  width: 100%;
  height: 300px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradient overlay */
.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  padding-bottom: 15px;
  font-size: 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
}

/* Category pill */
.category-pill {
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 20px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
}

/* Bottom Card Content */
.card-content {
  padding: 30px 25px;
}

.title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.desc {
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Top banner */
.top-banner {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
}

.top-banner img {
  width: 100%;
  height: auto;
  border-radius: 30px;
}

/* Right-side stacked labels */
.prize-labels {
  position: absolute;
  right: 20px;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.label-box {
  background: rgba(0, 0, 0, 0.55);
  padding: 15px 22px;
  color: #fff;
  border-radius: 18px;
  width: 140px;
  text-align: center;
  font-size: 18px;
}

.label-box strong {
  font-size: 20px;
}

.category {
  padding: 12px 18px;
}

.price strong {
  font-size: 22px;
}

/* Content section */
.main-title {
  font-weight: 800;
  font-size: 26px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.intro-text {
  max-width: 90%;
  color: #444;
  line-height: 1.7;
}

.section-heading {
  font-size: 20px;
  font-weight: 700;
  margin-top: 25px;
  margin-bottom: 8px;
}

/* Bottom action bar */
.bottom-register {
  bottom: 10px;
  padding: 10px 20px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  display: flex;
  /* width: 100%; */
  justify-content: space-between;
  align-items: center;
  background-color: #F1F1F1;
}

.tab-left {
  font-weight: 700;
}

.tab-left .open {
  color: #f6a400;
  font-weight: 900;
}

.fest-day strong {
  font-weight: 800;
}

/* Responsive */
@media (max-width: 768px) {
  .prize-labels {
    right: 10px;
    top: 10px;
    gap: 8px;
  }
  .label-box {
    width: 110px;
    font-size: 14px;
    padding: 10px;
  }

  .bottom-register {
    padding-top: 18px;
    padding-bottom: 18px;

    flex-direction: column;
    gap: 9px;
    text-align: center;
  }

    .bottom-register .tab-left {
    font-size: 23px;
  }

  .bottom-register .fest-day {
    font-size: 15px;
    font-family: "Poppins";
  }
  .bottom-register .fest-day span{
    font-size: 15px;
    font-family: "Poppins";
    font-weight: bold;
  }

}

/* Wrapper */
.competition-hero {
  width: 100%;
}

/* Outer container */
.hero-wrapper {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
}

/* Main Image */
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* Right dark gradient fade */
.hero-overlay {
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.7));
  pointer-events: none;
}

/* Glass cards on right side */
.hero-cards {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Card style */
.hero-card {
  padding: 18px 30px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 22px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  backdrop-filter: blur(5px);
  margin-bottom: 10px !important;
}

.hero-card strong {
  color: #ffc27a;
  font-size: 24px;
}

/* ---------------------- */
/*       MOBILE VIEW      */
/* ---------------------- */
@media (max-width: 768px) {
  .hero-wrapper {
    border-radius: 25px;
  }

  .hero-overlay {
    width: 100%;
    height: 50%;
    bottom: 0;
    top: auto;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
  }

  .hero-cards {
    position: static;
    transform: none;
    margin-top: -60px;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
  }

  .hero-card {
    width: 80%;
    font-size: 18px;
    padding: 15px;
  }
}


.pill.filled {
    background: #e8a434;
    color: white;
    padding: 16px 60px;
    border-radius: 50px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

/* Outline pill */
.pill.outline {
    padding: 14px 40px;
    border-radius: 50px;
    border: 2px solid #e8a434;
    background: white;
    font-size: 22px;
    display: flex;
    gap: 8px;
    font-weight: 700;
}

/* Black part */
.label {
    color: #000;
}

/* Golden gradient text */
.gradient {
    background: linear-gradient(to right, #e8a434, #f6d08e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Make text superscript smaller */
sup {
    font-size: 14px;
}

/* competition table  */

.category-table h5 {
    color: #525252;
}

.category-table table thead th {
    background-color: #FB8F15 !important;
    color: #000 !important;
}

@media (max-width: 576px) {
  .category-table .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .category-table table {
    min-width: 650px !important; 
    width: auto !important;    
    display: block;            
  }
}

