.edvdo-student-discover-section {
  background: #f7f8fc;
  padding: 20px;
  text-align: center;
}

.edvdo-student-container {
  max-width: 100%;
  margin: auto;
}

/* Title */
.edvdo-student-section-title {
  font-size: 28px;
  font-weight: 700;
  color: #1e1e2f;
  margin-bottom: 10px;
}

.edvdo-student-section-subtitle {
  color: #6b6b7a;
  font-size: 14px;
  margin-bottom: 40px;
}

/* Cards Layout */
.edvdo-student-cards-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
    padding: 10px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

/* Card */
.edvdo-student-card {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  background: #D7E3F0;
  border-radius: 15px;
  padding: 25px 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.3s;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.edvdo-student-card:hover {
  transform: translateY(-8px);
}

/* Icon */
.edvdo-student-icon {
  font-size: 30px;
  margin-bottom: 15px;
}

/* Text */
.edvdo-student-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.edvdo-student-card p {
  font-size: 13px;
  color: #666;
}

/* Scrollbar hide */
.edvdo-student-cards-wrapper::-webkit-scrollbar {
  display: none;
}

.edvdo-student-carousel-wrapper {
  background: #f7f8fc;
  padding:30px 30px;
  text-align: right;
}

/* Container */
.edvdo-student-nav-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Circular Button */
.edvdo-student-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;              /* makes it circle */
  border: 2px solid #007BFF;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

/* Arrow image */
.edvdo-student-nav-btn img {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;

  /* makes arrow act like a color */
  filter: invert(39%) sepia(94%) saturate(747%) hue-rotate(190deg);
}

/* Hover state */
.edvdo-student-nav-btn:hover {
  background-color: #007BFF;
}

/* Arrow turns white on hover */
.edvdo-student-nav-btn:hover img {
  filter: brightness(0) invert(1);
}

.edvdo-card-link {
  text-decoration: none;   /* remove underline */
  display: block;          /* makes full card clickable */
  color: inherit;          /* keeps text color same */
}

.edvdo-card-link:hover .edvdo-student-card {
  transform: translateY(-8px) scale(1.02);
  cursor: pointer;
}

/* ========================================================= */
/* ********************** MOBILE ***************************** */
/* ========================================================= */
@media screen and (min-width: 320px) and (max-width: 480px) {

  .edvdo-student-cards-wrapper {
    flex-direction: row;       /* keep horizontal */
    overflow-x: auto;          /* scroll like carousel */
    justify-content: flex-start;
  }

  .edvdo-student-card {
    width: 220px;              /* fixed size */
    min-width: 220px;
  }

  .edvdo-student-section-title {
    font-size: 22px;
  }
}

/* ========================================================= */
/* ********************** TABLET ***************************** */
/* ========================================================= */
@media screen and (min-width: 481px) and (max-width: 1024px) {

  .edvdo-student-cards-wrapper {
    flex-wrap: nowrap;   /*  no wrapping */
    overflow-x: auto;    /*  scroll */
  }

  .edvdo-student-card {
    width: 220px;
    min-width: 220px;
  }
}

/* ========================================================= */
/* ********************** LAPTOP ***************************** */
/* ========================================================= */
@media screen and (min-width: 1025px) and (max-width: 1440px) {

  .edvdo-student-cards-wrapper {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .edvdo-student-card {
    width: 220px;
    min-width: 220px;
  }
}








/*Discovring Section 

// ==========================================
//Student (activity_portal]
//Date- 08-04-26
//Task_id= 
//Shortcode_name- edvdo_landingpage_testimonial_carousel
//Section name- 
//Author- ananya mishra
// ==========================================
*/
/* WRAPPER (SCROLL) */
.edvdo-student-card-wrapper {
  display: flex;
  flex-wrap: nowrap; 
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 20px;
}

/* HIDE SCROLLBAR */
.edvdo-student-card-wrapper::-webkit-scrollbar {
  display: none;
}

/* CARD (PIC 1 STYLE) */
.edvdo-students-card {
  width: 320px;
  flex: 0 0 auto;
  min-width: 320px;
  max-width: 320px;
  background: #e9edf5;
  border-radius: 20px;
  padding: 25px;
  padding-bottom: 80px;
  text-align: center;
  flex-shrink: 0;
  position: relative;
}

/* QUOTE ICON */
.edvdo_image_style {
  flex-shrink: 0;
  width: 40px;
  margin-bottom: 20px;  /* control space above paragraph */
  opacity: 1;
  display: block;
  margin-left: 0;

}

/* TEXT */
.edvdo-students-card p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 25px;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* NAME */
.edvdo-students-card h5 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

/* SUBTEXT */
.edvdo-students-card h6 {
  font-size: 12px;
  color: #666;
  margin: 5px 0 0;
}

/* NAV BUTTONS */
.edvdo-students-carousels-wrapper {
  text-align: right;
  margin-top: 20px;
}

.edvdo-student-nav-button {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.edvdo-students-nav-bttn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #007BFF;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.edvdo-students-nav-bttn img {
  width: 20px;
  /* make arrow blue */
  filter: invert(39%) sepia(94%) saturate(747%) hue-rotate(190deg);
}

/* HOVER */
.edvdo-students-nav-bttn:hover {
  background: #007BFF;
}

.edvdo-students-nav-bttn:hover img {
  filter: brightness(0) invert(1);
}

.bottom-section {
  display: flex;
  align-items: center;
  gap: 12px; /* space between avatar and text */

  position: absolute;
  bottom: 20px;   /* distance from bottom */
  left: 20px;     /* distance from left */
}

.edvdo_student_avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;   
  background-color: #2d2a7f; 
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  margin-right: 12px;
}

.edh4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.edp4 {
  margin: 0;
  font-size: 12px;
  color: #666;
}

.text-wrapper {
  text-align: left;
  margin: 0;
  display: flex;
  flex-direction: column;
  margin-top: 25px;
}

.edvdo-main-wrapper {
  display: flex;
  gap: 2px;
  align-items: center;
}

.edvdo-static-card {
  flex: 0 0 320px; /* SAME WIDTH as other cards */
  position: relative;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.edvdo-static-card .edvdo-students-card {
  height: auto;
  background: #FFD54F;
  padding-bottom: 20px;
}

.edvdo-student-card-wrapper {
  flex: 1;
}

/*-----Mobile-----*/
@media screen and (min-width: 320px) and (max-width: 480px) {

.edvdo-student-card-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;      /* keep horizontal */
  flex-wrap: nowrap;        /* prevent stacking */
  overflow-x: auto;         /* enable scroll */
  gap: 15px;
    padding-bottom: 0;
}

.edvdo-students-card {
  flex: 0 0 auto;           /* prevent shrinking */
  width: 75%;
}

.edvdo-students-card p {
  -webkit-line-clamp: unset; /* show full text on mobile */
}

.edvdo_student_avatar {
  width: 45px;
  height: 45px;
  font-size: 18px;
}

.edvdo_image_style {
  margin-bottom: 15px;
}
.edvdo-main-wrapper {
  flex-direction: column;
  gap: 0;
}

.edvdo-static-card {
  width: 100%;
}

.edvdo-static-card .edvdo-students-card {
  width: 100%;
  min-width: 100%;
}

}

/*------Tablet-----*/
@media screen and (min-width: 481px) and (max-width: 1024px) {

.edvdo-student-card-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 15px;
  padding-bottom: 0;
}

.edvdo-students-card {
  flex: 0 0 auto;
  width: 75%;
}

.edvdo-main-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.edvdo-static-card {
  align-self: center;
  width: 100%;
}
  
.edvdo-static-card .edvdo-students-card {
  width: 100%;
  min-width: 100%;
}
}

/*-----Laptop-----*/
@media screen and (min-width: 1025px) and (max-width: 1440px) {

.edvdo-student-card-wrapper {
  width: 100%; 
}

.edvdo-students-card {
  flex: 0 0 auto;
  width: 75%;
}

.edvdo-main-wrapper {
  flex-direction: row;
  gap: 20px;
  align-items: center;
}

.edvdo-static-card {
  position: sticky;
}
}

/*-----Desktop-----*/
@media screen and (min-width: 1441px) {

.edvdo-student-card-wrapper {
  width: 100%;
}

.edvdo-students-card {
  flex: 0 0 auto;
  width: 75%;
}

.edvdo-main-wrapper {
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
  
.edvdo-static-card {
  position: relative;
  top: auto;
  transform: none;
}
}
