/* Header Section */
.main-header {
  background: var(--blue-header);
  padding: 10px 0;
  top: 0;
  z-index: 9999;
  position:sticky;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left img { height: 80px; }
.header-right img { height: 55px; }

.header-nav {
  margin-left: auto;
  margin-right: 90px;
}

.header-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: normal;
  color: var(--white);
  transition: font-weight 0.2s ease;
}

.header-nav a:hover {
  font-weight: bold;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}

.mobile-logo {
  display: none;
  text-align: center;
  padding: 20px;
}

.mobile-logo img {
  height: 42px;
}

@media (max-width: 991px) {

  .hamburger {
    display: flex;
  }

  .header-right {
    display: none;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--blue-header);
    display: none;
  }

  .header-nav.active {
    display: block;
  }

  .header-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .header-nav li {
    border-top: 1px solid rgba(255,255,255,0.2);
  }

  .header-nav a {
    padding: 14px 20px;
    display: block;
  }
  .header-nav.active .mobile-logo {
    display: block;
    text-align: center;
    padding: 20px;
  }

  .mobile-logo img {
    height: 42px;
  }
}

/* banner section */
.devtrails-hero {
  background-image: url(../images/hero-banner.jpg);
  background-size: cover;     
  background-position: center;
  background-repeat: no-repeat; 
  position: relative;
  overflow: visible; 
}

.hero-wrapper {
  /* display: flex; */
  /* align-items: center;
  justify-content: space-between;
  gap: 40px; */
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 50px 0px 50px 0px;
}

.badge {
  display: inline-block;
  background: #0b7db3;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
}

.hero-content-wrapper{
  position: relative;
}

.banner-element{
  position: absolute;
  z-index: 10;
  right: 0;
  bottom: -70px;
  max-width: 200px;
  width: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-desc {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 15px;
  line-height: 1.5;
  font-weight: 600;
}

/* COUNTDOWN */
.countdown {
  display: flex;
  gap: 25px;
  margin-bottom: 20px;
}


.countdown div {
  text-align: center;
  position: relative;
}

.countdown div:not(:last-child)::after {
  content: ":";          
  position: absolute;
  right: -15px;          
  top: 30%;
  transform: translateY(-50%);
  font-size: 32px;       
  font-weight: 700;
  color: #000;
}

.countdown span {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--solid-black);
}

.countdown small {
  font-size: 12px;
  color: var(--solid-black);
}

.btn-register {
  display: inline-block;
  background: var(--tertiary-creative-coral);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.btn-register:hover{
  color:var(--solid-black);
}

.hero-image {
    position: relative;
    z-index: 10;
    transform: scale(1.11);       
}

.hero-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease; 
}

.hero-image img:hover {
  transform: translateY(-10px);
}

@media (max-width: 991px) {
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    position: relative; 
    bottom: 0;
    right: 0;
    margin-top: 20px;
  }

  .countdown {
    justify-content: center;
  }
  .banner-element{
    position: static;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 30px;
  }
}

/* devtrails gameverse */
.gameverse-section {
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.gamverse-content{
  background-image: url(../images/gameverse-bg.jpg);
  background-size: cover;
  background-position: center;
  padding:40px 0px 40px 0px;
}
.gameverse-heading {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.ticker-wrapper {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding: 10px 0;
  position: relative;
  background: var(--tertiary-confident-gold); 
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 600;
  animation: movePauseMove 30s linear infinite;
}

.black-ticker { color: var(--solid-black); }

@keyframes movePauseMove {
  
  0% {
    transform: translateX(100%);
  }

  40% {
    transform: translateX(0);
  }

  55% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}



/* Participate Section */
.participate-section {
  background-color: var(--white);
  scroll-margin-top: 80px;
  margin-top: 0;

}
.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: var(--Title-font);
  color: var(--secondary-nautical-navy);
}
.participate-card {
  height: 100%;
  padding: 30px 20px;
  border-radius: 16px;
  color: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.participate-card h5 {
  margin-top: 16px;
  font-weight: 600;
  text-align: center;
  font-family: var(--Title-font);
}
.participate-card p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  font-family: var(--Main-font);
  color: var(--white);
}
.participate-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.icon-wrapper {
  width: 52px;  
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}
.card-blue {
  background: var(--secondary-bright-sky);
}
.card-green {
  background: var(--primary-trusted-blue);
}
.card-orange {
  background: var(--secondary-guiding-green);
}

.card-purple {
  background: var(--secondary-nautical-navy);
}
@media (max-width: 768px) {
  .participate-section {
    scroll-margin-top: 80px;
  }
}

/* University Logo Section */
.university-carousel-section {
  background: #0b7db3;
  padding: 55px 0;
}
.section-title {
  font-size: 32px;
  font-weight: 700;
}
.section-subtitle {
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.4;
  max-width: 800px;
}
.logo-carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top:30px;
}
.logo-viewport {
  width: 100%;
  overflow: hidden;
  position: relative; /* helps with centering */
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 30px;
  transition: transform 0.4s ease;
}

.logo-item {
  flex: 0 0 160px;
  opacity: 0.5;
  transform: scale(0.8);
  transition: all 0.4s ease;
}

.logo-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.logo-item.active {
  opacity: 1;
  transform: scale(1.2);
}

.logo-item.prev,
.logo-item.next {
  opacity: 0.6;
  transform: scale(0.9);
}
.carousel-nav-btn {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}

.carousel-nav-btn::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
}

.carousel-nav-btn.prev::before {
  transform: translate(-50%, -50%) rotate(-135deg);
}

.carousel-nav-btn.next::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

/* FAQ Section */
.faq-section {
  background: var(--tertiary-proven-gray1);
  padding: 60px 0;
}

.faq-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-blue);
}


.faq-title span {
  color: var(--secondary-bright-sky);
}

.faq-accordion .accordion-item {
  border: none;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.faq-accordion .accordion-button {
  border-radius: 14px;
  font-weight: 600;
  color: var(--tertiary-solid-black);
  background: var(--white);
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--secondary-transfomative-teal);
  box-shadow: none;
}
.faq-accordion .accordion-button:focus {
  box-shadow: none;
}
.faq-accordion .accordion-body {
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
}
.faq-section {
  scroll-margin-top: 80px;
  margin-top: 0;
}

@media (max-width: 768px) {
  .faq-section {
    scroll-margin-top: 80px;
  }
}
/* footer section */

.site-footer {
  background: #054f67;
  color: #ffffff;
  padding: 35px 0 20px;
  font-size: 14px;
}
.footer-top {
  padding-bottom: 20px;
}
.footer-text {
  margin: 0;
  line-height: 1.5;
  opacity: 0.9;
  color: var(--white);
}
.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 6px;
}

.footer-social span {
  font-size: 13px;
  opacity: 0.8;
}

.footer-social a {
  width: 24px;
  height: 24px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
}
.privacy-link {
  color: #ffffff;
  font-size: 13px;
  text-decoration: none;
  opacity: 0.85;
}
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  margin: 15px 0;
}
.footer-bottom {
  font-size: 13px;
  opacity: 0.85;
}
@media (max-width: 991px) {
  .footer-left,
  .footer-center,
  .footer-right {
    margin-bottom: 15px;
  }

  .footer-social {
    justify-content: center;
  }
  .footer-logo{
    margin: 0 auto;
    padding-bottom:10px;
  }
  .footer-text{
    padding-bottom:10px;
  }
}

/* Game Unfolds Section */
.gameunfold-section {
  color: #fff;
  text-align: center;
  background-image: url(../images/gameunfolds-bg.png);
  background-size: cover;
  background-position: center;
  padding: 60px 20px; 
  scroll-margin-top: 80px;
  margin-top: 0;
}

.gameunfold-img {
  padding-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;    
}

.gameunfold {
  max-width: 900px;
}

.gameunfold-img img {
  max-width: 80%; 
  height: auto;   
  border-radius: 10px; 
  padding-bottom: 100px;
}

.timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin: 200px auto 300px auto;
  display: flex;
  justify-content: space-between;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  background: #fff;
  width: 0;
  transition: width 0.8s ease;
}

.timeline-step {
  position: relative;
  width: 20%;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
/* Show when active */
.timeline-step.active {
  opacity: 1;
}


/* Circle ring */
.timeline-step .circle::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 6px solid currentColor;
  transform: scale(0);
  transition: transform 0.4s ease;
}

.timeline-step.active .circle::before {
  transform: scale(1);
}

/* Content animation */
.timeline-step .content {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.timeline-step.active .content {
  opacity: 1;
  transform: translateY(0);
}

.circle {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  margin: auto;
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Dots arrow (NO animation) */
.dots-arrow {
  height: 20px;
  margin: 10px auto;
  position: relative;
}

.dots-arrow::before {
  content: "••••••••••";
  letter-spacing: 4px;
  font-size: 12px;
}

.dots-arrow::after {
  content: "▶";
  margin-left: 6px;
  font-size: 12px;
}



.timeline-step.top .content {
  position: absolute;
  bottom: 110%;
}

.timeline-step.bottom .content {
  position: absolute;
  top: 60%;
}


.content span{
  font-size: 14px;
  padding-bottom: 3px;
  font-weight: bold;
}

.timeline-content{
  color: var(--white);
  line-height: normal;
  font-size: 15px;
}


.blue { color:var(--secondary-bright-sky); font-family: var(--Medium-font);font-size: 1.3rem; padding-bottom: 3px;}
.red { color:var(--tertiary-creative-coral);  font-family: var(--Medium-font);font-size: 1.3rem; padding-bottom: 3px;}
.green { color:var(--secondary-guiding-green); font-family: var(--Medium-font);font-size: 1.3rem; padding-bottom: 3px;}
.cyan { color:var(--secondary-bright-sky); font-family: var(--Medium-font);font-size: 1.3rem; padding-bottom: 3px;}
.yellow { color:var(--tertiary-confident-gold); font-family: var(--Medium-font);font-size: 1.3rem; padding-bottom: 3px;}


@media (max-width: 992px) {
  .gameunfold-section {
    padding: 50px 15px;
  }
  .gameunfold-img img {
    max-width: 70%;
    padding-bottom: 0px;
  }
  
}

@media (max-width: 768px) {
  .gameunfold-section {
    padding: 40px 10px;
    scroll-margin-top: 80px;
  }
  .gameunfold-section .section-title {
    font-size: 28px;
  }
  .gameunfold-section .section-subtitle {
    font-size: 16px;
  }
  .gameunfold-img img {
    max-width: 90%;
  }

  .timeline-wrapper {
  flex-direction: column;
  align-items: flex-start;
  max-width: 100% !important;
  width: 100%;
  margin: 80px 0 0 0;
  padding-left: 40px;
  position: relative;
}

/* Vertical Line */
.timeline-line {
  position: absolute;
  left: 20px;
  top: 0;
  width: 3px;
  height: 0;
  background: #fff;
  transition: height 0.8s ease;
}

.timeline-step {
  width: 100% !important;
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
}

.timeline-step.top .content,
.timeline-step.bottom .content {
  position: static !important;
}

.circle {
  margin-right: 20px;
  background: transparent !important;
  border: 2px solid #fff;
  color: #fff;
  flex: 0 0 44px;  
}

.content {
  text-align: left;
}

}



@media (max-width: 480px) {
  .gameunfold-section {
    padding: 30px 10px;
  }
  .gameunfold-section .section-title {
    font-size: 24px;
  }
  .gameunfold-section .section-subtitle {
    font-size: 14px;
  }
  .gameunfold-img img {
    max-width: 100%;
  }
}

/* playtowin section */

.playtowin-section {
  background: var(--light-gray-border);
  text-align: center;
  margin-bottom: -100px;
}

.playtowin-content {
  background-color: var(--white);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  transform: translateY(-22.5%);
  position: relative;        
  padding: 0 70px 40px;     
  overflow: hidden;
}

.playtowin-section .section-title {
  font-size: 32px;
  color: var(--primary-trusted-blue);
  margin-bottom: 10px;
  margin-top: 50px;
  position: relative;
  display: inline-block;
}

.playtowin-section .section-title::before,
.playtowin-section .section-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 370px;
    height: 1px;
    background: var(--light-gray-border);
    transform: translateY(-50%);
}

.playtowin-section .section-title::before {
    right: 100%;
    margin-right: 20px;
}

.playtowin-section .section-title::after {
    left: 100%;
    margin-left: 20px;
}

.playtowin-section .section-subtitle {
  font-size: 16px;
  color: var(--solid-black);
  margin-bottom: 50px;
}

.prize-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.prize-card-wrapper {
    position: relative;
    display: inline-block;
}

.prize-card {
    width: 180px;
    height: 230px;
    padding: 70px 20px 30px; 
    text-align: center;
    position: relative;
    /* Mask properties */
    -webkit-mask-image: url('../images/prizecard-shape.svg');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center top;
    -webkit-mask-size: contain;

    mask-image: url('../images/prizecard-shape.svg');
    mask-repeat: no-repeat;
    mask-position: center top;
    mask-size: contain;

    color: #fff;
    overflow: visible;
    transition: 0.3s ease;
}

/* 
.prize-card::before {
    content: "";
    position: absolute;
    top: -35px;           
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;         
    background: var(--white);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 8px 0 var(--white);
} */

.prize-card h3 {
    font-size: 30px;
    font-weight: 700;
    margin-top: 10px;
}
.prize-card h5{
font-size: 1.5rem;
}

.prize-card h5,
.prize-card h6 {
    font-weight: 600;
}

.prize-card p {
    font-size: 12px;
    margin-top: 10px;
}

.trophy-icon {
    width: 25%;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.first-trophy{
  width: 25%;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.second-trophy{
  width: 25%;
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.first {
    background: var(--tertiary-creative-coral);
}
.second {
    background: var(--tertiary-confident-gold);
}
.third {
    background: var(--secondary-bright-sky);
}
.fourth {
    background: var(--primary-trusted-blue);
}
.fifth {
    background: var(--secondary-guiding-green);
}

.prize-card-wrapper:hover{
  transform: translateY(-18px);
  transition: transform 0.5s ease-in-out;
}
.prize-card:hover {
    transform: translateY(-8px);
}

/* Responsive */

@media (max-width: 768px) {
  .playtowin-content {
    transform: translateY(0);
    border-radius: 16px;
  }

  .playtowin-section {
    margin-bottom: 0;
    padding: 40px 16px;
  }
  .playtowin-section .section-title {
    font-size: 26px;
    margin-top: 30px;
  }

  .playtowin-section .section-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .prize-card::before{
    width: 60px;
    height: 60px;
  }
  .prize-card-wrapper{
    margin-top: 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .playtowin-content {
        padding-bottom: 60px; 
        transform: translateY(-14.5%);
    }
  }


