/* PROFILE PAGE */

.school-card {
  background: #f1f2f6;
  border-radius: 12px;
  padding: 8px 16px 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.school-info h3 {
  margin: 0 49px 2px 0;

  font-size: 16px;
  font-weight: 500;
  color: #5468ff;
  line-height: 1.5;
}

.school-info p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #676ea0;
  line-height: 1.5;
  letter-spacing: 0.2px;
  font-weight: 400;
}

.dropdown-btn {
  border: none;
  background: transparent;
  color: #4c63f1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.dropdown-btn svg {
  width: 28px;
  height: 28px;
}

.container-profile {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
}

.profile-page-wrapper {
  background-color: #f3f5f9;
  padding-top: 100px;
  padding-bottom: 28px;
}

.info-section {
  background-color: #fff;
  padding: 28px;
  border-radius: 12px;
  height: fit-content;
  max-width: 370px;
}

.info-header {
  font-family: "Baloo Da 2", sans-serif;
  font-size: 22px;
  line-height: 1.5;
  color: #232c6a;
  height: 33px;
}

.info-title {
  font-family: "Baloo Da 2", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #454c7e;
  margin-bottom: 4px;
}

.info-value {
  font-family: "Baloo Da 2", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #232c6a;
}

.main-section {
  border-radius: 12px;
  min-width: 770px;
}

.profile-card {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Serif Bengali", serif;
  font-size: 24px;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}

.gpa5 {
  background-color: #014d9e;
  color: #fff;
}
.profile-card {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}

.wishing-card {
  width: 100%;
  padding: 54px 10%;
  background-image:
    url(../assets/images/bg-wishing.png),
    url(../assets/images/bg-wishing-right.png),
    url(../assets/images/bg-wishing-shadow.png);
  background-repeat: no-repeat;
  background-position:
    left bottom,
    right bottom,
    center top 70%;
}
.exam-title {
  font-family: "Baloo Da 2", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: #ffc8fa;
}
.nibondhon-text {
  font-family: "Baloo Da 2", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}

.congratulation-text {
  font-family: "Baloo Da 2", sans-serif;
  font-size: 40px;
  font-weight: bold;
  line-height: 1.3;
  color: #f5c738;
}

.free-learning-text {
  font-family: "Noto Serif Bengali", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  color: #232c6a;
}

.ai-description-text {
  font-family: "Noto Serif Bengali", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #626262;

  /* replaces stretch/flex behavior safely */
  display: block;
  max-width: 100%;
}

.profile-course-section {
  background-color: #fff;
  border-radius: 12px;
  padding: 24px;
}

.mb-md-32 {
  margin-bottom: 32px !important;
}

.profile-course-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px 12px 12px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.9) 60%,
    rgba(0, 0, 0, 0.3) 80%,
    rgba(0, 0, 0, 0) 100%
  );
}

.profile-course-content .title-wrapper .title {
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  text-align: left;
  color: #fff;
}

.profile-course-content .title-wrapper .subtitle {
  font-size: 8px;
  font-weight: normal;
  line-height: 1.6;
  text-align: left;
  color: #fff;
}

.profile-tag-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}

.profile-course-tag {
  font-family: "Noto Serif Bengali", serif;
  padding: 2px 6px;
  border-radius: 18px;
  border: solid 0.7px #e5e5e5;
  font-size: 8px;
  font-weight: normal;
  line-height: 1.2;
  text-align: left;
  color: #fff;
}

.profile-course-btn {
  display: block;
  font-family: "Noto Serif Bengali", serif;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  background-color: #5468ff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}

.profile-course-btn:hover {
  background-color: #e64126;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(84, 104, 255, 0.25);
}

/* coupon profile */
.coupon-area {
  background: #fff;
  padding: 24px 24px 32px 24px;
  border-radius: 12px;
}

.coupon-text {
  font-family: "Noto Serif Bengali", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: #232c6a;
  max-width: 705px;
  margin: 0 auto; /* keeps center alignment */
}

.coupon-area .coupon-details {
  display: flex;
  flex-wrap: wrap;
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  justify-content: center;
  align-items: center;
}

.coupon-box {
  background: #354895;
  transition: all 0.1s linear;
  border-radius: 12px;
  grid-template-columns: 6fr 6fr;
  display: grid;
  cursor: pointer;
  max-width: 230px;
}

.coupon-open {
  background: #354895;
  transition: all 0.1s linear;
  border-radius: 12px;
  grid-template-columns: 5fr 7fr;
  display: grid;
  cursor: pointer;
  flex-basis: 31%;
}
.promo-rule {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 145%;
  color: #354895;
}

.btn-close {
  cursor: pointer;
  z-index: 10;
  pointer-events: auto;
}

.btn-close:hover,
.btn-close:focus {
  cursor: pointer;
}

.modal-content {
  position: relative;
}

.coupon-box:hover {
  transform: scale(1.02);
}

.coupon-box .img {
  border-radius: 12px;
  height: 100%;
  padding: 1px;
}

.modal img {
  padding: 2px;
  border-radius: 12px;
}

.modal .coupon-open {
  cursor: default;
}

.coupon-box.epaper-area {
  background: #7e7271;
}

.coupon-box.kia-bc-area {
  background: #966c68;
}
.coupon-box.bc-area {
  background: #c56159;
}
.coupon-box.prothoma-area {
  background: #ee3050;
}
.coupon-box.prokashon-area {
  background: #5468ff;
}

.coupon-open.epaper-area {
  background: #7e7271;
}

.coupon-open.kia-bc-area {
  background: #966c68;
}
.coupon-open.bc-area {
  background: #c56159;
}
.coupon-open.prothoma-area {
  background: #ee3050;
}
.coupon-open.prokashon-area {
  background: #5468ff;
}

.promo-code-text {
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 10px;
  font-family: "Baloo Da 2", sans-serif;
  font-weight: 700;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quiz {
  background-image: url("../assets/images/quiz.png");
  /* height: 200px; */
  /* width: 100%; */
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 45px;
}
.logo-box {
  height: 98px;
  width: 98px;
}

.logo-box img {
  width: 98px;
  height: 98px;
  max-width: max-content;
}

.quiz-title {
  display: inline-block;
  font-family: "Noto Serif Bengali", serif;
  font-size: 28px;
  color: #fff;
}

.quiz-description {
  display: inline-block;
  font-family: "Noto Serif Bengali", serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #fff;
}

/* extra */

.gradient-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border: none;
  border-radius: 50px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(254deg, rgb(255, 68, 67) 101%, rgb(34, 47, 233) 29%)
      border-box;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* Gradient border */
.gradient-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2.5px;
  border-radius: inherit;
  background: linear-gradient(135deg, #2230e9, #fd5050);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gradient-btn:hover {
  background:
    linear-gradient(#ffd8d8, #ffd8d8) padding-box,
    linear-gradient(254deg, rgb(255, 68, 67) 101%, rgb(34, 47, 233) 29%)
      border-box;
}

/* Gradient text */
.text {
  font-size: 20px; 
  font-weight: 500;
  background: linear-gradient(135deg, #ff6b6b, #a855f7, #3b82f6);
  font-family: "Baloo Da 2", sans-serif;
  line-height: 1.6;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* SVG size */
/* .icon {
  width: 24px;
  height: 24px;
} */

/* video section */
.profile-video-section {
  background: #fff;
  padding: 24px 24px 32px 24px;
  border-radius: 12px;
}

.profile-video-heading {
  font-family: "Baloo Da 2", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: #434343;

  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-video-subheading {
  color: #626262;
  font-family: "Baloo Da 2", sans-serif;
  font-size: 16px;
}

.profile-video-card {
  height: 320px;
  border: 1px solid #f5f5f5;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  border: solid 1px #f5f5f5;
  background-color: #fff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.profile-video-card:hover {
  transform: translateY(-6px);
  border-color: #bfbfbf;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.08),
    0 16px 28px rgba(0, 0, 0, 0.12);
}

.profile-video-thumbnail {
  width: 100%;
  height: 184px;
  padding: 70px 0 0 141px;
  border-radius: 16px;
  background-color: #c4c4c4;
}

.duration {
  /* width: 106px;
  margin: 3px 0 0 36px;
  padding: 45px 10px 10px 58px; */
  height: 67px;
  background-image: radial-gradient(
    circle at 96% 95%,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.12) 43%,
    rgba(0, 0, 0, 0) 64%
  );
}

.card-body {
  padding-top: 12px;
}

.chip {
  display: inline;
  width: 48px;
  height: 24px;
  flex-grow: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 10px;
  border-radius: 1000px;
  border: solid 1.1px #efefef;
}

.exam-tag {
  font-family: "Baloo Da 2", sans-serif;
  font-size: 14px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: normal;
  text-align: left;
  color: #626262;
}

.instructor-name {
  font-family: "Baloo Da 2", sans-serif;
  color: #626262;
  font-size: 14px;
}

.gap-12 {
  gap: 2px;
}

.video-title-text {
  font-family: "Baloo Da 2", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #434343;
}

.text-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.more-video-btn {
  width: 200px;
  height: 42px;
  background-color: #5468ff;
  border-color: #5468ff;
  border-radius: 8px;
  color: #fff;
}

.more-video-btn:hover,
.more-video-btn:focus {
  background-color: rgb(46, 70, 253);
  border-color: #5468ff;
  color: #fff;
}

.notice-text {
  font-family: "Baloo Da 2", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}

.gpa5-text {
  font-family: "Baloo Da 2", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  color: #ffcd58;
}

.info-section-mobile {
  display: none;
}

/* modal more info */

.modal-content {
  background: #fff;
  border-radius: 12px;
}
.modal-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  color: #354895;
}

.form-label-fs {
  font-size: 14px;
}

.form-control {
  height: 58px;
  border: solid 1.5px #d0deef;
  border-radius: 8px;
  font-size: 16px;
}

.form-control:focus {
  border-color: #4f5cf0;
  box-shadow: 0 0 0 0.2rem rgba(79, 92, 240, 0.15);
}

.btn-primary {
  background: #4f5cf0;
  border-color: #4f5cf0;
  height: 52px;
  font-weight: 600;
}

.copy-text {
  cursor: copy;
  user-select: none;
}

.copy-text:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .mb-md-32 {
    margin-bottom: 16px !important;
  }
  .main-section {
    min-width: 100%;
  }

  .custom-navbar .navbar-nav {
    width: 100%;
  }
  .mobile-full {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .profile-page-wrapper {
    padding-top: 64px;
  }

  .profile-card {
    border-radius: 0;
  }

  .nibondhon-text {
    font-size: 20px;
  }

  .congratulation-text {
    font-size: 32px;
  }

  .profile-course-section {
    padding: 16px;
  }

  .course-mobile {
    flex-direction: column;
  }

  .promo-code-text {
    font-size: 16px;
    line-height: 1.5;
  }

  .coupon-details {
    flex-direction: column;
  }

  .mobile-padding {
    margin: 0 24px;
  }

  .quiz {
    padding: 0 16px;
  }
  .quiz-title {
    font-size: 20px;
  }

  .quiz-description {
    font-size: 13px;
  }

  .quiz .gradient-btn {
    padding: 6px 34px;
  }

  .quiz .gradient-btn .content {
    gap: 4px;
  }

  .quiz .gradient-btn .text {
    font-size: 16px;
  }

  .quiz .gradient-btn svg {
    width: 20px;
    height: 20px;
  }
  .logo-box {
    height: 100%;
  }

  .mobile-width {
    margin-top: 16px;
    width: 100%;
    border-radius: 8px;
  }

  .exam-tag {
    font-size: 12px;
  }

  .coupon-box .img {
    height: 120px;
  }

  .info-section-mobile {
    display: block;
    padding: 0 24px;
  }

  .info-section {
    display: none;
  }

  .profile-video-heading {
    font-size: 20px;
  }

  .profile-video-card {
    border-radius: 12px;
  }

  .profile-course-content .title-wrapper .title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    color: #fff;
  }

  .profile-course-content .title-wrapper .subtitle {
    font-size: 12px;
    font-weight: normal;
    line-height: 1.6;
    text-align: left;
    color: #fff;
  }

  .profile-course-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 18px 16px 16px;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.9) 60%,
      rgba(0, 0, 0, 0.3) 80%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .profile-tag-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
  }

  .profile-course-tag {
    font-family: "Noto Serif Bengali", serif;
    padding: 3px 7.5px;
    border-radius: 22.4px;
    border: solid 0.7px #e5e5e5;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.6;
    text-align: left;
    color: #fff;
  }

  .profile-course-btn {
    display: block;
    font-family: "Noto Serif Bengali", serif;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    background-color: #5468ff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .profile-course-btn:hover {
    background-color: #e64126;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(84, 104, 255, 0.25);
  }
}
