/* Header Section */
.main-header {
  background: var(--blue-header);
  padding: 18px 0;
  top: 0;
  z-index: 9999;
  position:sticky;
}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(-30px);
  animation: headerSlide 0.8s ease forwards;
  animation-delay: 0.4s;
}

@keyframes headerSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.devtrails-logo img { height: 125px; }
.header-right img { height: 60px; }

.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;
}

.header-left{
  display:flex;
  align-items:center;
  gap:18px;
}

.logo-separator{
  width:1px;
  height:85px;
  background:rgba(255,255,255,0.4);
}

.ey-partner{
  display:flex;
  flex-direction:column;
  align-items:center;
  line-height:1.2;
}

.ey-partner img{
  height:70px;
}

.ey-partner span{
  font-size:10px;
  color:var(--white);
  margin-bottom:20px;
}

@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: 50px;
  }

   .header-left{
    gap:10px;
  }

  .header-left img{
    height:66px;
  }

  .logo-separator{
    height:60px;
  }

  .ey-partner img{
    height:42px;
  }

  .ey-partner span{
    font-size:8px;
    text-align:center;
    margin-bottom: 10px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {

  .header-nav{
    margin-right: 30px;
  }

  .header-nav ul{
    gap: 20px;
  }

  .header-nav a{
    font-size: 13px;
  }
  
  .devtrails-logo img {
    height: 95px;
  }

  .ey-partner img {
    height: 62px;
  }

  .ey-partner span {
    margin-bottom: 16px;
  }
}

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

.devtrails-hero {
  position: relative;
  overflow: visible;
}

.devtrails-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../images/hero-banner.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1EB7E0;
  z-index: -1;
  transform-origin: center;
  animation: heroBgZoom 2s ease-out forwards;
}


@keyframes heroBgZoom {
  from {
    transform: scale(1.25);
  }
  to {
    transform: scale(1);
  }
}


.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;
  /* opacity: 0;
  transform: translateY(40px);
  animation: heroFadeUp 1.5s ease forwards; */
}


.hero-content > * {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
  animation: heroFadeUp 1s ease-out forwards;
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

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

.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;
}

.banner-element img {
 animation: waveFloat 2s ease-in-out infinite;
}

@keyframes waveFloat {
  0% {
    transform: translateY(0px);
  }
  25% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(-12px);
  }
  75% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0px);
  }
}

.hero-desc {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 15px;
  line-height: 1.5;
  font-weight: normal;
}
.flip-countdown-wrapper {
  margin-top: 30px;
}
.flip-countdown {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  margin-top: 10px;
}


.flip-unit {
  text-align: center;
}

.flip-card {
  width: 85px;
  height: 100px;
  perspective: 1000px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.flip-card.flip .flip-inner {
  transform: rotateX(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(145deg, #3b6d9c, #2b4f75); */
  background: linear-gradient(145deg, #00739d, #004d69);
  color: #fff;
  font-size: 36px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  backface-visibility: hidden;
}

.flip-back {
  transform: rotateX(180deg);
}

.flip-unit small {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--white);
  font-weight: bold;
}

.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;
  font-size: 16px;
}

.btn-register:hover{
  color:var(--white);
  background: var(--primary-trusted-blue);
}

.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);
}


.hero-content .badge {
  animation-delay: 0.3s;
}

.hero-content .hero-desc {
  animation-delay: 0.9s;
}

.hero-content .flip-countdown {
  animation-delay: 1.2s;
}

.hero-content .btn-register {
  animation-delay: 1.5s;
}


/* Responsive */
@media (max-width: 768px) {
  .flip-countdown {
    justify-content: center;
    gap: 10px;
  }

  .flip-card {
    width: 60px;
    height: 75px;
  }

  .flip-front,
  .flip-back {
    font-size: 30px;
  }
}
@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);

  opacity: 0;
  transform: translateY(80px);
  transition:
    opacity 1.2s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.participate-card.show {
  opacity: 1;
  transform: translateY(0);
}

.participate-section .col-lg-3:nth-child(1) .participate-card {
  transition-delay: 0.2s;
}
.participate-section .col-lg-3:nth-child(2) .participate-card {
  transition-delay: 0.5s;
}
.participate-section .col-lg-3:nth-child(3) .participate-card {
  transition-delay: 0.8s;
}
.participate-section .col-lg-3:nth-child(4) .participate-card {
  transition-delay: 1.1s;
}


.participate-card .icon-wrapper,
.participate-card h5,
.participate-card p {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}


/* CARD 1 */
.participate-section .col-lg-3:nth-child(1) .participate-card.show .icon-wrapper {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}
.participate-section .col-lg-3:nth-child(1) .participate-card.show h5 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}
.participate-section .col-lg-3:nth-child(1) .participate-card.show p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}

/* CARD 2 */
.participate-section .col-lg-3:nth-child(2) .participate-card.show .icon-wrapper {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}
.participate-section .col-lg-3:nth-child(2) .participate-card.show h5 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}
.participate-section .col-lg-3:nth-child(2) .participate-card.show p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.3s;
}

/* CARD 3 */
.participate-section .col-lg-3:nth-child(3) .participate-card.show .icon-wrapper {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}
.participate-section .col-lg-3:nth-child(3) .participate-card.show h5 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.3s;
}
.participate-section .col-lg-3:nth-child(3) .participate-card.show p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.6s;
}

/* CARD 4 */
.participate-section .col-lg-3:nth-child(4) .participate-card.show .icon-wrapper {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.3s;
}
.participate-section .col-lg-3:nth-child(4) .participate-card.show h5 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.6s;
}
.participate-section .col-lg-3:nth-child(4) .participate-card.show p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.9s;
}


.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);
}

.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); }

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

.footer-partners{
  display:flex;
  align-items:center;
  gap:18px;
}

/* separator line */
.footer-separator{
  width:1px;
  height:75px;
  background:rgba(255,255,255,0.4);
}

/* EY block */
.footer-ey{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.footer-ey img{
  height:60px;
}

.footer-ey span{
  font-size:10px;
  margin-bottom:14px;
  opacity:0.9;
}
@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;
  }
  .footer-partners{
    justify-content:center;
  }

  .footer-separator{
    height:35px;
  }

  .footer-ey img{
    height:50px;
  }
}

/* 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-content{
  padding-bottom: 35px;
}

.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;
    opacity: 0;
    transform: translateY(100px) scale(0.92);
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 1s ease;
}

.prize-card-wrapper.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.prize-card-wrapper.show:hover {
  transform: translateY(0) scale(1.03);
}
.prize-card-wrapper .trophy-icon,
.prize-card-wrapper .first-trophy,
.prize-card-wrapper .second-trophy {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.prize-card-wrapper:hover .trophy-icon,
.prize-card-wrapper:hover .first-trophy,
.prize-card-wrapper:hover .second-trophy {
  transform: translateX(-50%) scale(1.4);
}
.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);
}

/* Inside Devtrails 2026 section */
.inside-devtrails-2026 {
  background-image: url(../images/inside_devtrails_pattern.png);
  background-size: cover;
  background-position: center;
  overflow: visible;
}

.inside-devtrails-title {
  text-align: left;
  color: var(--white);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
}
.inside-devtrails-para {
  color: var(--white);
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}
.inside-devtrails-content {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.inside-devtrails-left-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px;
}

.intro-video {
  width: 100%;
  display: block;
  border-radius: 18px;
  /* border: 2px solid rgba(255, 255, 255, 0.6);  */
  transition: transform 0.4s ease;
}

.inside-devtrails-content.show {
  opacity: 1;
  transform: translateY(0);
}
.g-arrow-icon {
  position: absolute;
  top: 0;
  right: 0;
  width:35px;
  height: 45px;
}

.video-frame {
  position: relative;
  border-radius: 22px;
  overflow: visible;
  margin-bottom: 40px;
}

.video-frame::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -40px;
  height: 22px;
  background: rgba(0, 0, 0, 0.35);
  filter: blur(8px);
  border-radius: 50%;
  z-index: -1;
}

.video-frame:hover .intro-video {
  transform: scale(1.03);
}

@media screen and (max-width: 767px) {
  .inside-devtrails-left-content {
    padding:0px 20px 0px 20px;
    margin-bottom: 30px;
  }

  .inside-devtrails-title {
    font-size: 26px;
  }

  .inside-devtrails-para{
    font-size: 13px;
  }
}

/* University Collaboration owlcarousel */
.logos-carousel .item {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.logos-carousel .item img {
    width: 100%;
}
.logo {
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 10px;
    height: 120px;
    width: 175px;
}
.logo .w-45 {
    width: 45% !important;
}

.logo .w-60 {
    width: 60% !important;
}

/* Default (last two items) */
.carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 0 70px;
    box-sizing: border-box;
}
.logos-carousel .item {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.owl-item .item {
    transform: scale(0.75);
    opacity: 0.4;
}

.nav-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 30px;
    z-index: 10;
    background: none;
    color: var(--white);
}

/* Left button */
.prev-btn {
    left: 10px;
}

/* Right button */
.next-btn {
    right: 10px;
}

/* Positioning */
.prev-btn {
    margin-right: 20px;
}

.next-btn {
    margin-left: 20px;
}

.amrita-coimbatore-text {
    width: 100%;
    text-align: right;
    font-size: 16px;
}

/* Mobile adjustment */
@media (max-width: 767px) {
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

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

/* Responsive */
@media (max-width: 320px) {
    .logo {
        height: 100px;
        width: 150px;
    }
}
@media (max-width: 767px) {
    .owl-item .item {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .carousel-wrapper {
        padding: 0 50px;
    }
}
@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%);
    }
  }

/* Lookback Section */
.lookback-section {
  position: relative;
  padding: 60px 0;
  background: url('../images/lookback-bg.png') no-repeat center center;
  background-size: cover;
  background-color: #0e4a63;
  text-align: center;
}

.lookback-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 60, 0.6);
  z-index: 0;
}
.lookback-section .container {
  position: relative;
  z-index: 1;
}
.lookback-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}
.lookback-title span {
  color: var(--secondary-yellow);
}
.lookback-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  margin-top: 10px;
}

/* Video Card */
.lookback-video-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.lookback-video-card img {
  width: 100%;
  display: block;
}

.lookback-video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}

.lookback-video-card, .lookback-section-content {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.lookback-section-content.show {
  opacity: 1;
  transform: translateY(0);
}

.lookback-video-card.show {
  opacity: 1;
  transform: translateY(0);
}

.lookback-video-modal .modal-content {
  border-radius: 20px;
  overflow: hidden;
}

.lookback-video-modal .btn-close {
  filter: invert(1);
}

.lookback-video-modal .modal-dialog {
  max-width: 700px; 
}

.lookback-section .lookback-section-content{
  color: var(--white);
  text-align: left;
}
