@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,200..900;1,200..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&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&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');


/* --- Global Styles & Variables --- */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #024063;
  --text-blue: #024063;
  --text-yellow: #ffea2b;
  --text-medium: #000000;
  --neon-blue: #024063;
  /* Our Neon Accent */
  --neon-yellow-light: #ffea2b;
  /* Lighter Neon Accent */
  --font-primary: 'Poppins';
  --font-secondary: 'Poppins', 'Opensans';
  --d: 700ms;
  --e: cubic-bezier(0.19, 1, 0.22, 1);
  --left-position: 55%;
  --transition-time: 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}


body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-blue);
  line-height: 1.6;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
}

.container {
  max-width: 100;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3 {
  font-family: var(--font-secondary);
  margin-bottom: 1rem;
  color: var(--text-blue);
  font-weight: 600;
}


h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

p {
  color: var(--text-medium);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

a {
  color: var(--neon-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--text-blue);
}

section {
  padding: 20px 0;
  min-height: 80vh;
  /* Ensure sections take up space */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.btn {
  display: inline-block;
  background-color: var(--neon-blue);
  color: var(--text-yellow);
  padding: 12px 25px;
  border-radius: 10px;
  border: var(--neon-yellow-light) solid 2px;
  font-family: var(--font-primary);
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  margin-bottom: 1rem;
}

.btn:hover {
  background-color: #ffea2b;
  color: #024063;
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--neon-yellow-light);
}

/* --- Header & Navigation --- */
#main-header {
  color: var(--text-blue);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: background-color 1s ease;
  background-color: #ffffff;
  box-shadow: var(--neon-blue) 0px 0px 6px;
}

#main-header.scrolled .register-btn {
  display: inline;
  padding: 4px 10px;
  background-color: var(--neon-yellow-light);
  color: var(--neon-blue);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
}

#logo {
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-blue);
  display: flex;
  flex-direction: row;
  align-items: center;
}

#logo .logo-img{
  border-radius: 100px;
}

#logo .logo-img img{
  height: 60px;
  cursor: pointer;
}

#main-header .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#navbar ul {
  list-style: none;
  display: flex;
  padding: 1rem 0 0 0;
}

#navbar ul li {
  margin-left: 25px;
}

#navbar ul li a {
  color: var(--text-blue);
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease, border-color 0.3s ease;
}

#navbar ul li a:hover {
  color: var(--neon-yellow-light);
  border-bottom-color: var(--neon-blue);
}

#navbar.active {
  background-color: #fff;
  /* dark ocean blue with transparency */
  backdrop-filter: blur(2px);
  /* optional: smooth glassy effect */
}



/* Mobile Nav Toggle - basic styling */
#menu-toggle {
  display: none;
  /* Hidden by default */
  background: none;
  margin-right: 6px;
  margin-left: auto;
  border: none;
  color: var(--text-blue);
  font-size: 2rem;
  font-weight: 700;
  cursor: pointer;
}

#menu-toggle ul {
  display: block;
  /* Show when active */
}

@media (width > 1024px) and (width < 1300px){
  #navbar ul li a {
    font-size: 1rem;
  }
  #logo {
    font-size: 1rem;
  }
  #logo .logo-img img{
    height: 40px;
  }
  #main-header.scrolled .register-btn {
    font-size: .8rem;
    padding: .3rem .5rem;
  }
}

@media (width > 100px) and (width < 1030px) {
  #navbar {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px 0;
    text-align: center;
    z-index: 999;
  }

  #navbar.active {
    display: block;
  }

  #navbar ul {
    flex-direction: column;
    gap: 15px;
  }

  #menu-toggle {
    display: inline;
    align-self: flex-end;
    margin-top: 10px;
    margin-right: 10px;
  }

  #main-header .container {
    display: flex;
    flex: row;
    justify-content: space-between;
    align-items: center;
  }

}

.roots{
  font-weight: 600;
  padding: 4.2rem 0 0.3rem 7.5rem;
  background-color: var(--bg-secondary);
  color: #fff;
}

@media (width > 500px) and (width < 1030px) {
  .roots{
    padding: 4.2rem 0 .3rem 3.5rem;
  }
}

@media (max-width: 500px){
  .roots{
    font-size: .8rem;
    padding: 5rem .5rem 0.2rem .5rem;
    text-align: center;
  }
}

/* -------------------------------- Hero Section ------------------------------------- */
#home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 88vh;
  position: relative;
}
#home h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0px 0px 10px #024063;
}
/* -------------------------------------Home Carousel-------------------------------------------- */
.item {
  width: 200px;
  height: 100px;
  list-style-type: none;
  position: absolute;
  top: 75%;
  transform: translateY(-50%);
  z-index: 1;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
  box-shadow: 0 20px 30px rgba(255,255,255,0.3) inset;
  transition: transform 0.3s ease, left 0.7s ease, top 0.7s ease, width 0.7s ease, height 0.7s ease;
  will-change: transform, left, top;
  backface-visibility: hidden;
  contain: layout paint;
  opacity: 0;
  pointer-events: none;
  
  &:nth-child(1), &:nth-child(2) {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
  }

  &:nth-child(3) { left: 50%; opacity: 1; }
  &:nth-child(4) { left: calc(50% + 220px); opacity: 1; }
  &:nth-child(5) { left: calc(50% + 440px); opacity: 1; }
}

.content {
  padding: 1.5rem;
  border-radius: 30px;
  width: min(70vw);
  position: absolute;
  top: 50%;
  text-align: left;
  left: 3rem;
  transform: translateY(-50%);
  font: 400 0.85rem var(--font-primary);
  color: white;
  text-shadow: 0 3px 8px rgba(0,0,0,0.5);
  opacity: 0;

  & .description {
    text-align: left;
    color: #fff;
    font-weight: 600;
    font-size: 2rem;
  }

  & button {
    width: fit-content;
    background-color: var(--neon-blue);
    color: #fff;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: .75rem;
    cursor: pointer;
    font-weight: 600;
  }
  & button:hover {
    background-color: var(--neon-yellow-light);
    color: var(--text-blue);
    border: 2px solid var(--neon-yellow-light);
    box-shadow: var(--neon-yellow-light) 0px 0px 4px;
    border-radius: 10px;
    padding: 0.75rem;
    cursor: pointer;
  }
}

.item:nth-of-type(2) .content {
  display: block;
  animation: show 0.75s ease-in-out 0.3s forwards;
}

@keyframes show {
  0% {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(calc(-50% + 75px));
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

.c-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  user-select: none;

  & .btn {
    background-color: rgba(255, 255, 255, 0.395);
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    margin: 0 0.25rem;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;

    &:hover {
      background-color: rgba(255,255,255,0.3);
    }
  }
}

@media (width > 650px) and (width < 900px) {
  .content {
    & .description  { font-size: 1.8rem; }
    & button        { font-size: 0.7rem; }
  }
  .item {
    width: 150px;
    height: 70px;

    &:nth-child(3) { left: 50%; }
    &:nth-child(4) { left: calc(50% + 170px); }
    &:nth-child(5) { left: calc(50% + 340px); }
    &:nth-child(6) { left: calc(50% + 510px); opacity: 0; }
  }
}

@media (width < 650px) {
  .content {
    width: 80vw;
    & .description  { font-size: 1.5rem; }
    & button        { font-size: 0.7rem; }
  }
  .item {
    width: 120px;
    height: 60px;

    &:nth-child(3) { left: 50%; }
    &:nth-child(4) { left: calc(50% + 140px); }
    &:nth-child(5) { left: calc(50% + 280px); }
  }
}

/* -------------------------------------- About Section ---------------------------------------------- */
#about .container {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  width: 80%;
}

#about iframe{
  border-radius: 20px;
  margin: auto;
  height: 70vh;
  width: 100%;
  min-width: 60vw;
}

#about .about-text p {
  text-align: left;
  font-size: 1.1rem;
  margin: 2rem;
  padding: 0 15rem;
  color: #333333;
}

#about .about-text .date {
  font-size: 1.5rem;
  color: #fff;
  text-align: center;
  font-weight: 600;
  background-color: var(--bg-secondary);
  padding: 1rem 2rem;
  width: 100vw;
}

@media (max-width: 900px) {
  #about iframe{
    height: 40vh;
    min-width: 80vw;
  }

  #about .about-text p{
    padding: 0 4rem;
  }
}

@media (max-width: 1024px) {
  #about .about-text p{
    padding: 0 2rem;
  }
}
/* -----------------------------------------Participants CSS---------------------------------------- */
#participants {
  background-color: var(--bg-secondary);
  width: 100vw;
  padding: 2rem 0 4rem 0;
  text-align: center;
}

#participants .container h2 {
  color: #fff;
  margin-top: 1rem;
  padding-bottom: 1rem;
}

#participants .flip-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.iconbox-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: .5rem 0 1rem;
}

.iconbox {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--neon-yellow-light);
  font-size: 32px;
  border-radius: 100px;
  border: var(--neon-blue) solid 2px;
  flex: none;
}

.iconbox i {
  font-size: 2rem;
  color: var(--neon-blue);
}


.flip > .front,
.flip > .back {
  display: block;
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition-duration: 0.5s;
  transition-property: transform, opacity;
}

.flip > .front {
  transform: rotateY(0deg);
}

.flip > .back {
  position: absolute;
  opacity: 0;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  transform: rotateY(-180deg);
}

.flip:hover > .front {
  transform: rotateY(180deg);
}

.flip:hover > .back {
  opacity: 1;
  transform: rotateY(0deg);
}

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

.flip.flip-vertical:hover > .front {
  transform: rotateX(180deg);
}

.flip.flip-vertical:hover > .back {
  transform: rotateX(0deg);
}

.flip > .front,
.flip > .back {
  display: block;
  width: inherit;
  background-size: cover !important;
  background-position: center !important;
  height: 220px;
  padding: 1em 2em;
  background: #ffffff;
  border-radius: 10px;
}

.flip > .front h1{
  font-size: 1.6rem;
}


.flip > .front p,
.flip > .back p {
  font-size: 1.4rem;
  line-height: 160%;
  color: var(--text-medium);
  margin: 2rem 0;
}

.text-shadow {
  text-shadow: 6px 6px rgba(0, 0, 0, 0.04),
               7px 7px rgba(0, 0, 0, 0.04),
               8px 8px rgba(0, 0, 0, 0.04),
               9px 9px rgba(0, 0, 0, 0.04),
               0.3125rem 0.3125rem rgba(0, 0, 0, 0.04),
               11px 11px rgba(0, 0, 0, 0.04),
               12px 12px rgba(0, 0, 0, 0.04),
               13px 13px rgba(0, 0, 0, 0.04),
               14px 14px rgba(0, 0, 0, 0.04);
}


/* custom */
.flip {
  position: relative;
  display: inline-block;
  width: 400px;
  margin-bottom:;
}

@media (max-width: 1030px) {
  .flip {
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
    
  .flip > .front h1{
    font-size: 1.4rem;
  }


  .flip > .front p,
  .flip > .back p {
    font-size: 1.3rem;
    color: var(--text-medium);
    margin: 1rem 0;
  }
}

@media (max-width: 500px) {    
  .flip > .front h1{
    font-size: 1.5rem;
  }


  .flip > .front p,
  .flip > .back p {
    font-size: 1.4rem;
    color: var(--text-medium);
    margin: 2rem 0;
  }
}

/* --------------------------------------- Awaits Section --------------------------------------------- */
#awaits .container3 {
  max-width: 1100px;
  margin: auto;
  padding: 0 2rem;
}

#awaits .container3 .register-button {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 0;
}

.awaits-section {
  background-color: var(--bg-primary);
  text-align: center;
}

.awaits-section h2{
  margin-bottom: 4rem;
}

.awaits-section p {
  font-size: 1.1rem;
  text-align: center;
  margin: 0 2rem 0 2rem;
  color: #333333
}

/* Grid Layout */
.awaits-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 1.5rem;
}

/* Style all cards */
.awaits-grid>div {
  flex: 1 1 calc(33.33% - 20px);
  /* 3 per row minus gap */
  max-width: calc(33.33% - 20px);
  background: #fff;
  padding: 20px;
  border-radius: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: left;
}

/* Force only 2 items in second row by stretching last 2 cards */
@media (min-width: 992px) {

  .awaits-grid>div:nth-child(4),
  .awaits-grid>div:nth-child(5) {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

/* Style all cards */
.await-card {
  background-color: #fff;
  padding: 25px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Card Text */
.await-card p {
  font-size: 1.2rem;
  color: var(--text-medium);
}

.await-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px #023f635b;
}

/* Center bottom two cards */
.await-card.bottom-row {
  grid-column: 1 / span 3;
  justify-self: center;
}

@media (max-width: 768px) {
  .awaits-grid>div {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

/* Small Devices Single Cards */
@media (max-width: 576px) {
  .awaits-grid>div {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/*-----------------Awaits Icon ------------------*/
.icon-circle {
  width: 60px;
  height: 60px;
  background-color: #024063;
  color: var(--text-yellow);
  font-size: 26px;
  border-radius: 100px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------Visual Map Experience--------------------------------- */

#visualmaps {
  background-color: #024063;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#visualmaps h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.container1 {
  display: flex;
  width: 90vw;
}

.panel {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 70vh;
  border-radius: 40px;
  color: #fff;
  cursor: pointer;
  flex: 0.5;
  margin: 10px;
  position: relative;
  -webkit-transition: all 700ms ease-in;
  transition: all 700ms ease-in;
  overflow: hidden;
}

.panel h3 {
  font-size: 2rem;
  font-weight: 600;
  position: absolute;
  bottom: 20px;
  left: 20px;
  margin: 1rem;
  opacity: 0;
  color: #fff;
  text-shadow: #000 0px 0px 10px;
}

.panel.active {
  flex: 5;
}

.panel.active h3 {
  opacity: 1;
  transition: opacity 0.3s ease-in 0.4s;
}

@media (max-width: 768px) {
  .container1 {
    flex-direction: column;
    width: 95vw;
    gap: 10px;
  }

  .panel {
    height: 15vh;
    flex: 0.5;
    width: 100%;
    min-height: 120px;
    transition: all 700ms ease-in;
    cursor: pointer;
  }

  .panel.active {
    flex: 3;
    height: 45vh;
    min-height: 300px;
  }

  .panel h3 {
    font-size: 0.1rem;
    bottom: 10px;
    left: 15px;
    margin: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease-in 0.4s;
    color: #fff;
    font-weight: 600;
    text-shadow: #000 0px 0px 10px;
  }

  .panel.active h3 {
    opacity: 1;
    font-size: 1.9rem;
  }
}

/* ------------------------------------------Explore Section CSS------------------------------------------ */

.page-content {
  display: flex;
  justify-content: space-around;
  gap: 3rem;
  padding: 2rem;
  width: auto;
  margin: 0 auto;
  font-family: var(--font-primary);
}

@media (max-width: 1200px) {
  .page-content {
    flex-direction: column;
    align-items: left;
  }
}

.e-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 1rem;
  width: 100%;
  color: whitesmoke;
  background-color: #fff;
  border-radius: 30px;
  border: var(--neon-yellow-light) solid 4px;
}


.e-card-img1:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background-image: url('https://vidhyavidhai.org/wp-content/uploads/2025/08/day1.png');
  background-size: cover;
  background-position: 0 0;
  transition: transform calc(var(--d) * 1.5) var(--e);
  pointer-events: none;
}


.e-card-img2 {
  background-image: url('https://vidhyavidhai.org/wp-content/uploads/2025/08/day2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 15px;
  overflow: hidden;
  color: white;
  padding: 30px;
}


.e-card-img3:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background-image: url('https://vidhyavidhai.org/wp-content/uploads/2025/08/day3-1.png');
  background-size: cover;
  background-position: 0 0;
  transition: transform calc(var(--d) * 1.5) var(--e);
  pointer-events: none;
}

.e-card:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  background: linear-gradient(to bottom, #00000011, #00000049, #0000006f, #023f639c, #023f63c5, #023f63ea);
  transform: translateY(-50%);
  transition: transform calc(var(--d) * 2) var(--e);
}

.e-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: left;
  width: 100%;
  padding: 0 1rem 1rem 1rem;
  transition: transform var(--d) var(--e);
  z-index: 1;
}

.e-content .e-title {
  text-align: left;
}

.e-content>*+* {
  margin-top: 1rem;
}

.e-title {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 10px var(--neon-blue);
}

.sub-title {
  font-size: 1.3rem;
  font-weight: 600;
  text-align: left;
  color: var(--text-yellow);
  margin-bottom: 0.5rem;
}

.copy {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  line-height: 1.35;
  color: #fff;
}

.e-btn {
  display: inline;
  padding: 6px;
  background-color: var(--neon-yellow-light);
  color: var(--neon-blue);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (hover: hover) and (min-width: 400px) {
  .e-card:after {
    transform: translateY(0);
  }

  .e-content {
    transform: translateY(calc(100% - 4.5rem));
  }

  .e-content>*:not(.e-title) {
    opacity: 0;
    transform: translateY(1rem);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e);
  }

  .e-card:hover,
  .e-card:focus-within {
    align-items: center;
  }

  .e-card:hover:before,
  .e-card:focus-within:before {
    transform: translateY(-4%);
  }

  .e-card:hover:after,
  .e-card:focus-within:after {
    transform: translateY(-50%);
  }

  .e-card:hover .e-content,
  .e-card:focus-within .e-content {
    transform: translateY(0);
  }

  .e-card:hover .e-content>*:not(.e-title),
  .e-card:focus-within .e-content>*:not(.e-title) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--d) / 8);
  }

  .e-card:focus-within:before,
  .e-card:focus-within:after,
  .e-card:focus-within .e-content,
  .e-card:focus-within .e-content>*:not(.e-title) {
    transition-duration: 0s;
  }
}

/* ------------------------------------------------Mentors CSS-------------------------------------- */


/* ---------------------------------------- Princing Section ----------------------------------- */
.pricing-section {
  padding: 20px 40px;
  background-color: var(--bg-primary);
}

.pricing-section p {
  font-size: 1.2rem;
  color: var(--text-medium);
  text-align: center;
}

.card3-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  width: 100%;
}

.card3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  height: auto;
  min-width: 280px;
  max-width: 500px;
  border-radius: 30px;
  border: var(--neon-yellow-light) solid 4px;
  padding: 30px;
  flex: 1 1 45%;
  transition: transform 0.2s ease-in-out;
}

@media (max-width: 400px) {
  .card3 {
    flex-direction: column;
    align-items: center;
    height: fit-content;
    width: 100%;
  }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .card3-container {
    flex-direction: column;
    align-items: stretch;
  }

  .card3 {
    width: 100%;
    flex: 1 1 auto;
  }
}

.register-btn {
  display: none;
}

.card3:hover {
  transform: translateY(-12px);
}

.price-card3 h2 {
  font-size: 2.2rem;
  color: var(--text-blue);
  margin-bottom: 1rem;
}

.price-card3 p {
  text-align: left;
  font-size: 1.1rem;
  opacity: .7;
  color: var(--text-medium);
}

.discount-card3 p {
  text-align: left;
  font-size: 1.1rem;
  opacity: .7;
  color: var(--text-medium);
}

.discount-card3 h3 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.discount-list {
  list-style: none;
  padding: 0;
}

.discount-list li {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  padding: 10px 0;
}

.discount-list li strong {
  text-align: right;
}

.discount-list .badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--neon-yellow-light);
  color: var(--text-blue);
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  margin-right: 15px;
  padding: 4px;
  flex-shrink: 0;
}

/* ---------------------------Partners Section CSS--------------------------- */

.partners-section{
  height: fit-content;
  padding: 2rem 2rem 4rem 2rem;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 8));
  }
}

.slider {
  background: white;
  box-shadow: 0 10px 20px var(--bg-secondary);
  border-radius: 30px;
  height: 100px;
  margin: auto;
  margin-top: 2rem;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 960px;
}

.slider::before,
.slider::after {
  content: "";
  height: 100px;
  width: 15%; /* responsive gradient fade */
  position: absolute;
  z-index: 2;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.slider::before {
  left: 0;
  top: 0;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slide-track {
  display: flex;
  animation: scroll 30s linear infinite;
  width: fit-content;
}

.slide {
  height: 100px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  height: 130px;
  width: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
}

/* Optional: Tweak animation speed or slide size on small screens */

@media (max-width: 600px) {
  .slide {
    width: calc(100vw * 0.4);
  }
  .slider::before,
  .slider::after {
    width: 10%;
  }

  /* Use mobile animation for mobile view */
  .slide-track {
    animation: scroll-mobile 40s linear infinite;
  }
}

@keyframes scroll-mobile {
  0% {
    transform: translateX(0);
  }
  100% {
    /* If you have 8 slides, change 8 here */
    transform: translateX(calc(-100vw * 0.8 * 8));
  }
}

/* ---------------------------FAQ Css------------------------------ */

#faq {
  height: auto;
  font-family: var(--font-primary);
  background-color: var(--bg-secondary);
  color: var(--text-medium);
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;

}


.faq-container {
  background-color: white;
  color: black;
  border-radius: 20px;
  box-shadow: 0 5px 10px 0 rgb(0, 0, 0, 0.25);
  margin: 10px auto;
  width: 65vw;
}

.question {
  font-size: 1.3rem;
  font-weight: 700;
  padding: .8rem 2.5rem .8rem 1rem;
  width: auto;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--text-blue);
}

@media (max-width: 790px) {
  .faq-container {
    width: 80vw;
  }
}

.question::after {
  content: "\002B";
  position: absolute;
  right: 20px;
  transition: 0.2s;
}

.question.active::after {
  transform: rotate(45deg);
}

.answercont {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
  color: #024063;

}


.answer {
  padding: 0 20px 20px;
  line-height: 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-medium);
}


@media screen and (max-width: 790px) {
  html {
    font-size: 14px;
  }

  .wrapper {
    width: 80%;
  }
}

/*------ Copyright ----------- */
.Copyright {
  text-align: center;
  background-color: var(--neon-yellow-light);
  position: relative;
}

.Copyright p {
  margin: 0;
  color: var(--neon-blue);
  font-size: 0.9rem;
  font-family: var(--font-primary);
  font-weight: 600;
  padding: 10px;
}


/* -------------------------- Scroll to Top ------------------------------ */

.to-top {
  background: #024063;
  position: fixed;
  bottom: 16px;
  right: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: all .4s;
  z-index: 10;
}

.to-top.active {
  bottom: 32px;
  pointer-events: auto;
  opacity: 1;
}