/* 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: #005182; 
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
  animation: moveLeft 25s linear infinite; 
}

.yellow-ticker { color: var(--secondary-yellow); }
.white-ticker { color: var(--white); }
.green-ticker { color: var(--secondary-guiding-green); }

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


/* Participate Section */
.participate-section {
  background-color: var(--white);
}
.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: 14px;
  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);
}

/* 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: 14px;
  color: #374151;
  line-height: 1.6;
}

/* 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; 
}

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

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

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

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

@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(-30%);
}
.playtowin-section .section-title {
  font-size: 36px;
  color: #003b5c;
  margin-bottom: 10px;
  padding-top: 40px;
}

.playtowin-section .section-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 50px;
}

.prize-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 50px;
}

.prize-card {
  width: 260px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.prize-card img {
  width: 60%;
  max-width: 160px;
  border-radius: 20px;
}
.prize-card:hover {
  transform: scale(1.08);
}


/* 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;
    padding-top: 20px;
  }

  .playtowin-section .section-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }
  .prize-grid {
    gap: 24px;
    padding-bottom: 30px;
  }

  .prize-card {
    width: 100%;
    max-width: 240px;
  }

  .prize-card img {
    width: 70%;
    margin: 0 auto;
  }
}

