/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
}
* h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Preloader styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  border-top-color: #000;
  animation: spin 1s infinite linear;
}

/* Spinner animation */
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Initially hide the main content */
body.preloader-active #main-section {
  visibility: hidden;
}

@font-face {
  font-family: 'fredoka';
  src: url(/us/mathbuddy_assets/fonts/fredoka.ttf);
  font-display: swap;
}

@font-face {
  font-family: 'poppins';
  src: url(/us/mathbuddy_assets/fonts/poppins.ttf);
  font-display: swap;
}
/* utility classes */

.poppins-family {
  font-family: "poppins", sans-serif;
}

.fredoka-family {
  font-family: "fredoka", sans-serif;
}

.fw-700 {
  font-weight: 700;
}

.fw-400 {
  font-weight: 400;
}

.fw-600 {
  font-weight: 600;
}

.fw-500 {
  font-weight: 500;
}

.margin-100 {
  margin-block: 100px !important;
}

@media (min-width: 1200px) {
  .container {
    max-width: 95% !important;
  }
}

.main-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.main-section h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

/* #navbar {
  position: sticky !important;
  top: 5vh !important;
  z-index: 5000;
} */

.bg-container {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
  height: 1400px !important;
  width: 100%;
  z-index: -1;
}

.bg-container-signup{
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: -1;
}

.bg-container img,.bg-container-signup img {
  width: 100%;
  height: 100% !important;
}

/* first section */

#first-section {
  padding: 0 !important;
  margin-top: 155px !important;
  margin-bottom: 100px;
  position: relative;
}

#first-section-container {
  position: relative;
  padding-inline: 0px;
  display: flex;
  justify-content: space-evenly;
}

.fs-left-part {
  width: 50% !important;
  padding-top: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 20px;
}

#number-system-img {
  position: absolute;
  width: 124px;
  height: 124px;
  top: -5%;
  left: -17%;
}

#fraction-img {
  position: absolute;
  width: 140px;
  height: 140px;
  right: -15%;
  top: -10.5%;
  z-index: -1;
}

#trignometry-img {
  position: absolute;
  width: 178px;
  height: 178px;
  bottom: -7%;
  left: -18%;
}

.fs-left-part h6 {
  margin: 0;
  font-size: 13.8px;
  letter-spacing: 4.5px;
  color: #00000080;
  text-transform: uppercase;
}

.fs-left-part h1 {
  margin: 0;
  font-size: 37px;
  line-height: 45px;
  text-transform: uppercase;
  color: black;
}

.fs-features-container {
  width: 90%;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 15px;
}

.fs-feature {
  display: flex;
  align-items: start;
  gap: 10px;
}

.fs-feature p {
  margin: 0;
  font-size: 20px;
  color: black;
}

#scroll-down,
#scroll-up {
  color: black;
  cursor: pointer;
}

#scroll-down {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  width: 96px;
  position: absolute;
  bottom: -50px;
  right: 20px;
  z-index: 3000;
}

#scroll-down > div {
  position: relative;
  height: 100%;
  width: 100%;
}

#scroll-down > div i {
  font-size: 25px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#scroll-down img {
  width: 100%;
  height: 100%;
}

#scroll-down img {
  animation: rotate-scroll-down 5s linear infinite;
}

@keyframes rotate-scroll-down {
  100% {
    transform: rotate(360deg);
  }
}

.check {
  border: 2px solid #add3de;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px !important;
}

.check i {
  color: #14a312;
  font-size: 15px;
}

.fs-right-part {
  position: relative;
  width: 35% !important;
  border: 4px solid #84d89b !important;
  background-color: #c6f5d3;
  border-radius: 20px;
  padding-inline: 30px !important;
  padding-block: 10px;
  height: 680px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 450px !important;
  align-items: center;
}

#math-question{
  font-size: 14px;
  margin-bottom: 2px;
}

.sign-up-google-btn {
  border-radius: 14px;
  height: 72px;
  display: flex;
  border: 1px solid black;
  overflow: hidden;
  align-items: center;
  font-size: 16px;
  justify-content: center;
  gap: 10px;
  background-color: white;
}

.sign-up-google-btn img {
  object-fit: cover;
  width: 32px;
  height: 32px;
}

.input-field-container > p {
  font-size: 15px !important;
  margin: 0;
  color: black !important;
}

#country-dropdown {
  border: 1px solid #ccc;
  height: 180px;
  overflow-y: auto;
  position: absolute;
  background-color: white;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#country{
  width: 55% !important;
}

#dropdown-container {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  min-height: 200px !important;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

/* Scrollbar styling for dropdown */
#dropdown-container::-webkit-scrollbar {
  width: 8px;
}

#dropdown-container::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

#dropdown-container::-webkit-scrollbar-thumb:hover {
  background-color: #b3b3b3;
}

#country-dropdown div {
  padding: 10px;
  cursor: pointer;
}

#country-dropdown div:hover {
  background-color: #f0f0f0;
}

.highlight{
  background-color: lightblue;
}

.country-search-div{
  padding: 10px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#country-search{
  padding: 5px;
  border-bottom: 2px solid black;
  font-size: 15px;
  width: 90% !important;
}

.country-search-div i{
  font-size: 20px;
}

.confirmation-message {
  height: 100%;
  width: 100%;
  padding-block: 40px;
  padding-inline: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}

.confirm-message-part-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.confirm-message-part-1 img {
  width: 70px;
  height: 70px;
}

.confirm-message-part-1 h3 {
  font-size: 44px !important;
}

.confirm-message-part-2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 30px;
}

.confirm-message-part-2 h6 {
  font-size: 14px;
  font-weight: 600;
}

.confirm-message-part-2 p {
  font-size: 12px;
}

.submit-another-btn {
  margin-top: 30px;
  pointer-events: all;
  opacity: 1;
  padding-inline: 20px;
  padding-block: 14px;
  border-radius: 12px;
  height: 72px;
  border: none;
  font-size: 22px;
  color: black;
  background-color: white;
}

.confirm-message-part-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  gap: 5px;
}

.email-grp {
  display: flex;
  gap: 10px;
  align-items: center !important;
}

.email-grp img {
  width: 24px !important;
  height: 24px !important;
}

.email-grp h6 {
  font-size: 12px;
}

.email-grp h6 span {
  font-weight: 700;
}

.email-grp h6 a {
  color: black;
  font-weight: 400;
}

.hide-right-part {
  display: none !important;
}

.fs-right-part > img {
  width: 50px;
  height: 60px;
}

.fs-right-part h3 {
  font-size: 24px;
}

.input-field-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px !important;
}

.input-field {
  background-color: white;
  padding-inline: 20px;
  padding-block: 10px;
  border-radius: 12px;
}

.input-field p {
  margin: 0;
  font-size: 12px;
  color: #6c6c6c;
  line-height: 16.8px;
}

.input-field input {
  margin-top: 5px;
  font-size: 14px;
  color: black;
  line-height: 19.6px;
  outline: none;
  border: none;
  width: 100% !important;
  font-weight: 500;
}

.input-field input::placeholder {
  color: rgb(190, 190, 190) !important;
  font-size: 14px;
  font-weight: 500;
}

#phone-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

#country-code {
  width: 40%;
}

#phone-number {
  width: 60%;
}

#phone-number input {
  width: 100%;
}

.terms-container {
  display: flex;
  gap: 10px;
  align-items: start;
}

.contact-us-btn {
  opacity: 0.5;
  pointer-events: none;
  padding-inline: 32px;
  padding-block: 14px;
  border-radius: 12px;
  height: 72px;
  border: none;
  font-size: 22px;
  color: white;
  background-color: #14a312;
}

#whatsapp-msg{
  font-size: 12px;
  margin-top: 5px;
}

.active-btn {
  pointer-events: all;
  opacity: 1;
  padding-inline: 32px;
  padding-block: 14px;
  border-radius: 12px;
  height: 72px;
  border: none;
  font-size: 22px;
  color: white;
  background-color: #14a312;
}

.terms-container label {
  font-size: 12px;
}

.terms-container label > span {
  color: #14a312;
}

.error-message {
  color: red;
  font-size: 8px;
  display: none; /* Hidden by default */
  margin-top: 5px;
  position: absolute !important;
  bottom: 0;
  left: 20px;
}

.invalid .error-message {
  display: block;
}

/* Style the toggle password button to remove default button styles */
#toggle-password {
  text-decoration: none;
  background: none; /* Remove background */
  border: none; /* Remove border */
  padding: 0; /* Remove padding */
  cursor: pointer; /* Show pointer cursor on hover */
  outline: none; /* Remove focus outline */
  display: flex; /* Align icon properly */
  align-items: center; /* Vertically center the icon */
  justify-content: center; /* Horizontally center the icon */
  width: 30px; /* Set width for the button */
  height: 30px; /* Set height for the button */
  color: #b3b3b3 !important;
}

/* Style the eye icon */
#eye-icon {
  font-size: 18px; /* Adjust icon size */
}

/* Apply shake class */
input:invalid {
  animation: shake 0.2s ease-in-out 0s 2;
}

.invalid-country{
  animation: shake 0.2s ease-in-out 0s 2 !important;
  border: 1px solid red !important;
}

.input-field.invalid {
  /* border: 2px solid red; */
  border-radius: 5px;
  animation: shake 0.3s ease-in-out;
}

/* Shake animation */
@keyframes shake {
  0% {
    margin-left: 0rem;
  }
  25% {
    margin-left: 0.5rem;
  }
  75% {
    margin-left: -0.5rem;
  }
  100% {
    margin-left: 0rem;
  }
}

.input-field-container > p {
  font-size: 15px !important;
  font-weight: 600;
  margin: 0;
  color: black !important;
}

.terms-container {
  text-align: center;
  font-size: 12px;
  color: #6c6c6c;
  margin-top: 10px;
}

.terms-container label span {
  color: #14a312;
}

.loader {
  position: absolute;
  border-radius: 20px;
  top: 0;
  z-index: 20000000;
  height: 100%;
  width: 100%;
  background-color: #b8b5b5c4;
  opacity: 0.8;
}

#animation-container {
  height: 100px;
  width: 100px;
}

.hide-part {
  display: none !important;
}

#edit-email {
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  background-color: transparent;
  border: none;
}

.otp-container {
  margin-top: 30px;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 40px;
}

.otp-box {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 24px;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-left: 20px;
}

.resend-otp h6 {
  cursor: pointer;
  font-size: 14px;
  color: #14a312;
}

.resend-btn {
  text-decoration: underline;
  font-weight: 600;
}

.login-verify-btn {
  cursor: pointer;
  padding-inline: 60px;
  padding-block: 15px;
  font-size: 22px;
  background-color: #14a312;
  border-radius: 12px;
  color: white;
}

.otp-container-part-1 h3 {
  text-align: center;
}

.otp-container-part-1,
.otp-container-part-2,
.otp-container-part-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

#country-code select {
  border: none;
  margin-top: 5px;
  width: 100%;
  font-size: 14px;
  outline: none;
  background-color: transparent;
  font-weight: 500;
}

.fs-right-part p {
  font-size: 12px;
  color: #6c6c6c;
  margin-bottom: 0 !important;
}

.fs-right-part p span {
  color: #14a312;
}

/* video section  */

#video-section{
  margin-top: 200px;
}

#video-section-inner {
  background-image: url("/us/mathbuddy_assets/math_tutoring_assets/images/rise_frame1.webp");
  position: relative;
  background-size: cover;
  background-position: center;
  height: 100%;
  width: 100%;
  padding: 0;
}

#video-section-inner iframe{
  display: none;
}

#available-for {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 5px;
  margin: 0;
}

#phone-tablet-laptop {
  width: 32px;
  height: 32px;
}

#tablet-container {
  background-image: url(/us/mathbuddy_assets/home_assets/images/Tablet.webp);
  margin-top: 30px;
  height: 520px;
  width: 836px;
}

#adaptive-practice-img {
  position: absolute;
  left: -18%;
  width: 142px;
  height: 136px;
}

#gif-container {
  border-radius: 5px;
  top: 13.3%;
  left: 9.1%;
  position: absolute !important;
  /* width: 677px;
  height: 510px; */
  width: 81.2% !important;
  height: 73% !important;
  overflow: hidden;
  z-index: 10 !important;
}

#video-section {
  margin-bottom: 100px;
}

#play-button {
  border: none;
  background-color: transparent;
}

#play-button img {
  width: 80px;
  height: 80px;
}

#video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
}

#video-section iframe {
  display: none;
  width: 100%;
  border-radius: 5px;
  height: 100%;
}

/* mathbuddy program features section */

#program-features-section h2 {
  font-size: 42px;
  text-align: center;
}

.program-features-container {
  margin-top: 40px !important;
}

.program-feature-card {
  background-color: #e4fff1;
  border-radius: 32px;
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  padding: 20px;
  position: relative;
  height: 230px;
}

.program-feature-card img {
  top: -12%;
  position: absolute;
  width: 80px;
  height: 80px;
}

.program-feature-card h5 {
  width: 75%;
  font-size: 24px;
  margin: 0;
  margin-top: 60px;
}

.program-feature-card p {
  font-size: 12px;
  margin: 0;
  margin-top: 15px;
  color: #00000080;
}

#col-6 {
  flex: 0 0 auto;
  width: 50%;
}

#impact-container {
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-inline: 30px !important;
  background-color: #14a312 !important;
  border-radius: 32px !important;
  height: 230px !important;
}

#impact-container h4 {
  color: white;
  width: 60%;
  font-size: 26px;
  margin: 0;
  line-height: 35px;
}

.book-demo-btn {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  text-transform: capitalize;
  height: 72px;
  padding-inline: 20px;
  padding-block: 14px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 500;
  border: none;
}

.book-demo-btn-purple {
  background-color: #5d51fc;
  color: white;
}

.book-demo-btn-white {
  background-color: white;
  color: black;
}

/* comparison section */

#comparison-section h2{
  font-size: 42px;
  text-align: center;
}

.text-container{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.text-container p{
  margin-top: 10px;
  font-size: 18px;
  text-align: left;
  width: 90%;
}

.responsive-table-wrapper {
  width: 100%;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  margin-top: 20px;
}

.custom-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  table-layout: fixed; /* Ensures equal widths */
}

.custom-table th{
  text-align: center;
  font-size: 20px;
}

.custom-table td{
  text-align: left;
}

.custom-table th,
.custom-table td {
  width: 25%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  font-family: 'Poppins', sans-serif;
  word-wrap: break-word;
}

.custom-table th {
  background-color: #e4fff1;
  font-weight: 600;
}

@media (max-width: 768px) {
  .responsive-table-wrapper {
    margin-bottom: 16px;
  }

  .custom-table th,
  .custom-table td {
    font-size: 14px;
    padding: 10px 12px;
  }
}

/* cirriculum section */

.grade-slider-container {
  margin-top: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.grade-display-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  flex-wrap: nowrap;
}

.grade-display-container::-webkit-scrollbar {
  display: none;
}

.grade-display {
  height: 60px;
  width: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px solid #14A312;
  background-color: white;
  font-size: 20px;
  padding-inline: 14px;
  padding-block: 32px;
  font-weight: 600;
  border-radius: 32px !important;
  transition: opacity 0.3s, background-color 0.3s;
  flex-shrink: 0;
  cursor: pointer;
}

.grade-display.active-grade {
  color: #fff;
  height: 60px;
  width: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px solid #14A312;
  background-color: #14A312;
  font-size: 20px;
  padding-inline: 14px;
  padding-block: 32px;
  font-weight: 600;
  border-radius: 32px !important;
  flex-shrink: 0;
  transition: opacity 0.3s, background-color 0.3s;
}

.grade-nav-button {
  border: none;
  background-color: transparent;
  transition: background-color 0.3s;
}

.grade-nav-button img {
  width: 60px;
  height: 60px;
}

.grade-nav-button:disabled img {
  display: none;
}

#prevButton img {
  rotate: 180deg;
}

#cirriculum-section{
  margin-top: 50px;
}

#cirriculum-section h2 {
  font-size: 42px;
  margin-bottom: 30px;
  text-align: center;
}

#cirriculum-section p:nth-child(2) {
  text-align: center;
}

#cirriculum-section p:nth-child(3) {
  text-align: center;
  margin-bottom: 20px;
}

.cirriculum-container {
  margin-inline: auto !important;
  min-height: 200px;
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  margin-top: 40px !important;
  gap: 10px;
  border: 4px solid #14A312;
  border-radius: 32px;
  padding-inline: 40px;
  padding-block: 30px;
}

#cirr-container > .faq {
  width: 100%;
  padding-block: 10px;
  border-bottom: 2px solid rgba(173, 255, 47, 0.3);
  cursor: pointer;
}

.faq .faq {
  border-bottom: none;
  padding-bottom: 0;
}

.question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.question img {
  width: 24px;
  height: 24px;
  /* transition: all 0.5s ease !important; */
}

.question h3 {
  font-size: 20px;
  margin: 0;
}

.faq .answer .faq .question h3 {
  font-size: 17px;
  font-weight: 500;
}


/* Animate and show/hide answers */
.answer {
  margin-top: 10px;
  max-height: 0;
  overflow: hidden;
  /* transition: all 0.5s linear !important; */
}

.answer.open {
  max-height: 1000px;
  /* transition: all 0.5s ease !important; */
}

.answer ul {
  padding-left: 50px;
  margin: 0;
}

.answer ul li {
  font-size: 16px;
  list-style-type: disc;
  margin-bottom: 4px;
}

.answer .faq .question {
  position: relative;
  padding-left: 12px;
}


/* sample question section */

#sample-questions-section{
  margin-top: 70px;
}

#sample-questions-section h2 {
  font-size: 42px;
  margin: 0;
  text-align: center;
}

.sample-questions-container {
  margin-top: 30px !important;
}

.sample-question-card {
  height: 450px;
  padding-inline: 20px;
  padding-block: 30px;
  background-color: #c6f5d3;
  border: 4px solid #84d89b;
  border-radius: 20px;
}

.sample-question-card h6 {
  width: 100%;
  letter-spacing: 4px !important;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
  font-size: 14px;
  margin-top: 25px;
}

.correct-option {
  border: 2px solid #14a312 !important;
}

.incorrect-option {
  border: 2px solid #ff0000 !important;
}

.correct-ans {
  /* color: rgba(0, 0, 0, 0.5); */
  color: #14a312;
}

.hidden {
  display: none;
}

.incorrect-ans {
  color: #ff0000;
}

.question-div {
  height: 150px !important;
  margin-top: 15px;
  font-size: 14px;
  padding: 15px;
  border-radius: 12px;
  background-color: white;
}

.options-div {
  margin-top: 15px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.disabled-option {
  background-color: #f0f0f0; /* Light gray background */
  color: #888; /* Gray text */
  pointer-events: none; /* Disable clicks */
}

/* .col-6 {
  padding: 0 !important;
} */

.options-card {
  font-size: 18px;
  background-color: white;
  height: 50px;
  width: 48%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  border: 1px solid #84d89b;
  position: relative;
}

.options-card img {
  width: 24px;
  height: 24px;
  position: absolute;
  right: -5%;
  top: -25% !important;
}

.sample-question-card h3 {
  text-transform: capitalize;
  font-size: 24px;
  margin: 0;
}

/* pricing section */

#pricing-section{
  margin-top: 70px;
}

#pricing-section h2 {
  font-size: 42px;
  text-align: center;
}
#pricing-section h6 {
  font-size: 14px;
  text-align: center;
  color: rgba(0, 0, 0, 0.5);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-top: 20px;
}

.pricing-container {
  margin-top: 30px;
  padding-inline: 40px;
  padding-block: 60px;
  background-color: #e4fff1;
  border-radius: 32px;
}

.r-1 {
  display: grid;
  grid-template-columns: 37% 20% 20% 20%;
  grid-template-rows: 250px;
  column-gap: 10px;
}

.r-8 {
  display: grid;
  grid-template-columns: 37% 60%;

  column-gap: 10px;
  padding-top: 40px;
  border-top: 3px solid #c6f5d3;
}

.plan-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 10px;
  padding-top: 40px;
  grid-template-rows: 180px;
}

.r-2,
.r-3,
.r-4,
.r-5,
.r-6,
.r-7 {
  display: grid;
  grid-template-columns: 37% 20% 20% 20%;
  column-gap: 15px;
  padding: 20px;
  margin-top: 10px;
  border-radius: 12px;
}

.bg-white {
  background-color: white;
}

.r-2 h3,
.r-3 h3,
.r-4 h3,
.r-5 h3,
.r-6 h3,
.r-7 h3 {
  font-size: 22px;
  margin: 0;
}

.check-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.check-icon img {
  width: 24px;
  height: 24px;
}

.item1,
.r-8-item-1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  font-size: 24px;
  color: rgba(0, 0, 0, 0.4);
}

.item2,
.item3,
.item4 {
  background-color: cyan;
}

#most-popular {
  position: absolute;
  padding-inline: 26px;
  padding-block: 10px;
  background-color: black;
  color: white;
  font-size: 14px;
  border-radius: 10px;
  top: -5%;
  left: 0;
}

.row1 {
  width: 100%;
  /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 10px; */
  position: relative;
}

.text-part h3 {
  font-size: 24px;
  text-align: center;
  margin: 0;
}

.text-part h5 {
  font-size: 16px;
  text-align: center;
}

.text-part h6 {
  font-size: 16px;
  text-align: center;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 500;
  text-decoration: line-through;
  letter-spacing: 0px !important;
  margin: 0 !important;
}

.r-8-item-2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.r-8-item-2 a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-color: #14a312;
  padding-inline: 32px;
  padding-block: 14px;
  font-size: 22px;
  text-transform: capitalize;
  border-radius: 12px;
  border: none;
  color: white;
  font-weight: 500;
}

.row1 h6 {
  margin-top: 40px !important;
  text-align: left !important;
  margin-right: auto;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.5);
}

.row1 h3 {
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  font-size: 24px;
  width: 85%;
}

.row1 p {
  width: 80%;
  margin-top: 15px !important;
  font-size: 14px;
}

/* snippits section */

#snippits-section {
  margin-top: 50px !important;
}

#snippits-section h2 {
  font-size: 42px;
  text-align: center;
}

.snippits-container {
  display: flex !important;
  margin-top: 30px !important;
}
/* height: 246px;
border-radius: 23px;
overflow: hidden; */

.snippits-card {
  position: relative;
  /* background-image: url(/us/mathbuddy_assets/live_classes_assets/images/video-snippet-img.webp); */
  /* background-size: cover; */
  background-position: center;
  height: 246px;
  border-radius: 32px;
  /* border: 4px solid #b0cdf9; */
  padding: 0;
  z-index: 500;
  overflow: hidden;
}

.snippets-play-button {
  border: none;
  background-color: transparent;
}

.snippets-play-button img {
  width: 63px;
  height: 63px;
}

.snippets-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.snippits-card iframe {
  /* display: none; */
  width: 100%;
  height: 100%;
}

/* feedback section */

/* testimonials section */

#testimonials-section h2 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 30px;
}

#feedback-section {
  /* margin-block: 100px; */
  position: relative;
  z-index: 2000;
}

.testimonial-carousel-container {
  padding-top: 70px;
  position: relative;
  overflow-x: auto;
  scroll-behavior: smooth;
  display: flex;
  align-items: start;
  height: 570px !important;
  z-index: -1;
  padding-inline: 100px !important;
}

/* Left Overlay */
#feedback-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 150px; /* Width of the overlay */
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
  z-index: 2000; /* Make sure it's on top of the carousel content */
  pointer-events: none; /* Ensure it's not blocking clicks */
}

/* Right Overlay */
#feedback-section::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 150px; /* Width of the overlay */
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
  z-index: 2000; /* Make sure it's on top of the carousel content */
  pointer-events: none; /* Ensure it's not blocking clicks */
}
.testimonial-carousel-container::-webkit-scrollbar {
  display: none;
}

.prev-btn-test,
.next-btn-test,
.prev-disable,
.next-disable {
  background-color: transparent;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.next-btn-test {
  right: 0%;
  z-index: 3000 !important;
}
.prev-btn-test img,
.next-btn-test img {
  width: 50px;
  height: 50px;
}

.next-disable {
  right: 0%;
  z-index: 500 !important;
  display: none;
}

.prev-disable {
  left: 0%;
  z-index: 500 !important;
  display: none;
}

.prev-btn-test {
  left: 0%;
  z-index: 3000 !important;
}

.active {
  margin-inline: 20px !important;
  width: 750px !important;
  height: 450px !important;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 50px !important;
  position: relative;
  flex-shrink: 0 !important;
  padding-inline: 30px;
  padding-block: 30px !important;
  transition: all 0.3s ease-in-out;
  transform: scale(1);
}

.small-card {
  margin-inline: 20px !important;
  width: 700px !important;
  height: 300px !important;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 30px !important;
  position: relative;
  flex-shrink: 0 !important;
  padding-inline: 20px;
  padding-block: 80px !important;
  transition: all 0.3s ease-in-out;
  transform: scale(0.8);
  transform: translateY(0px);
}

.quotes {
  position: absolute;
  top: -13%;
  left: -2%;
  height: 70px;
  width: 200px;
  z-index: 2000;
}

.quotes-small {
  position: absolute;
  top: -13%;
  left: 2%;
  height: 50px;
  width: 90px;
  z-index: 2000;
}

.active h3 {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  margin: 0;
}

.small-card h3 {
  font-size: 14px;
  font-weight: 400;
}

.feedback-by {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  width: 100%;
}

.feedback-by-small {
  display: flex;
  justify-content: start;
  align-items: center;
  height: 30px !important;
  /* width: 130px !important; */
  width: 100%;
}

.feedback-by-small h5 {
  margin: 0;
  color: #14a312;
  font-size: 14px;
  font-weight: 700;
}

.feedback-by-small > div img {
  width: 50px !important;
  height: 50px !important;
}

.feedback-by-small p {
  width: 100%;
  margin: 0;
  color: black;
  font-size: 16px;
  font-weight: 700;
}
.feedback-by h5 {
  margin: 0;
  color: #14a312;
  font-size: 18px;
  font-weight: 700;
}

.feedback-by p {
  width: 100%;
  margin: 0;
  color: black;
  font-size: 20px;
  font-weight: 700;
}

.feedback-by div:nth-child(1) {
  width: 15%;
}

.feedback-by div:nth-child(2) {
  width: 85%;
}

.feedback-by-small div:nth-child(1) {
  width: 12% !important;
}

.feedback-by-small div:nth-child(2) {
  width: 85%;
}

.feedback-by img {
  height: 70px !important;
}

.feedback-by-img {
  border-radius: 50%;
}

.carousel-orange {
  background-color: #ffdb9e;
  border: 4px solid #ffbd80;
}

.carousel-blue {
  background-color: #cbf4ff;
  border: 4px solid #b0cdf9;
}

.carousel-green {
  background-color: #c6f5d3;
  border: 4px solid #84d89b;
}

.carousel-yellow {
  background-color: #fff1a2;
  border: 4px solid #ffe759;
}

.testimonials-left {
  height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: start;
  padding-block: 20px;
}

#name-part {
  width: 250px;
  display: flex;
  justify-content: space-evenly;
}

#name-part img {
  width: 75px;
  height: 75px;
}

#name {
  color: #5d51fc;
  font-size: 18px;
  margin: 0;
  font-weight: 700;
}

#designation {
  font-weight: 700;
  margin: 0;
  color: black;
  font-size: 18px;
}

.quotes-grp {
  margin-top: 30px !important;
  display: flex;
  gap: 5px;
}

.testimonials-left p {
  width: 90%;
  font-size: 18px;
  margin: 0;
}

.testimonials-right {
  overflow: hidden;
  height: 370px;
  border: 4px solid #b0cdf9;
  border-radius: 32px;
}

.testimonials-container-lower {
  margin-top: 50px !important;
  display: none !important;
}

.testimonials-card {
  height: 300px;
  border-radius: 32px;
  border: 4px solid #b0cdf9;
}

.testimonials-blue-card {
  background-color: #cbf4ff;
}

.testimonials-card-upper {
  overflow: hidden;
  padding: 7px;
  height: 70%;
  border-radius: 23px;
}

.testimonials-card-upper iframe {
  border-radius: 23px;
}

.testimonials-card-lower {
  height: 30%;
  padding-inline: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 5px;
}

/* faqs section */

#faqs-section {
  margin-top: 50px !important;
}

#faqs-section h2 {
  text-align: center;
  font-size: 42px;
}

.accordion {
  margin-inline: auto;
  margin-top: 30px;
  width: 914px;
  --bs-accordion-border-color: none !important;
}

.accordion-button:not(.collapsed) {
  box-shadow: none !important;
}

.accordion-button > div {
  width: 90%;
}

.accordion-item {
  background-color: #E4FFF1 !important;
  border-radius: 32px !important;
}

.accordion-item h2 {
  border-radius: 32px !important;
}

.accordion-button {
  color: black !important;
  position: relative;
  font-size: 18px !important;
  border-radius: 32px !important;
  border: 1px solid #e4fff1 !important;
  margin-top: 20px !important;
  height: 72px !important;
  background-color: #e4fff1 !important;
}

.accordion-button:focus {
  outline: none;
  box-shadow: none; /* Removes any default box-shadow or outline */
}

.accordion-button::after {
  content: none !important; /* Removes the default arrow */
}

.accordion-button .icon {
  position: absolute;
  right: 1.25rem; /* Adjust the icon position */
  transition: transform 0.5s linear;
}

.accordion-button:not(.collapsed) .icon {
  content: url("/us/mathbuddy_assets/math_tutoring_assets/images/minus.webp");
}

.accordion-button.collapsed .icon {
  content: url("/us/mathbuddy_assets/math_tutoring_assets/images/plus.webp");
}

#faq-btn {
  display: flex;
  text-decoration: none;
  padding-inline: 32px;
  padding-block: 14px;
  border: 3px solid rgba(20, 163, 18, 0.3);
  font-size: 22px;
  border-radius: 12px;
  color: #14a312;
  margin-inline: auto;
  margin-top: 30px;
  background-color: white;
  width: fit-content;
}

/* view cirriculum section */

#curriculum-section {
  background-image: url(/us/mathbuddy_assets/math_tutoring_assets/images/bg-2.webp);
  background-size: cover;
  height: 210px;
  position: relative;
  padding-inline: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-position: top left;
  border-radius: 32px;
  background-color: #14a312;
}

#curriculum-section .col-8 h4 {
  font-size: 22px;
  margin: 0;
  line-height: 35px;
  color: black;
}

.program-features-container-mobile {
  display: none !important;
}

.pricing-container-mobile {
  display: none;
}

.snippits-container-mobile {
  display: none !important;
}

@media (max-width: 475px) {
  .main-section {
    min-height: 100vh;
    overflow: hidden !important;
    z-index: 200;
  }

  .bg-container {
    display: none;
  }

  .bg-container-signup{
    display: block !important;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    width: 100% !important;
    height: 100vh !important;
    z-index: -1;
  }

  #first-section {
    margin-bottom: 50px !important;
  }

  #first-section-container {
    z-index: 3000 !important;
    flex-wrap: wrap !important;
    margin-bottom: 0px !important;
  }
  .mobile-bg-container {
    display: block !important;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    height: 1600px !important;
    width: 100%;
    z-index: -1;
  }

  .mobile-bg-container img,.bg-container-signup img {
    width: 100%;
  }

  .fs-left-part {
    width: 90% !important;
    margin-top: -70px !important;
  }

  .fs-left-part h6 {
    display: none;
  }

  #scroll-down,
  #scroll-up {
    display: none !important;
  }

  #trignometry-img {
    position: absolute;
    width: 68px;
    height: 68px;
    bottom: -10%;
    left: -5.5%;
    z-index: -1;
  }

  #number-system-img {
    position: absolute;
    width: 68px;
    height: 68px;
    top: -10%;
    left: -12%;
  }

  #fraction-img {
    position: absolute;
    width: 84px;
    height: 84px;
    right: -17%;
    top: -2%;
    z-index: -1;
  }

  #first-section-container {
    justify-content: center !important;
  }

  .fs-left-part {
    gap: 0px;
  }

  .fs-left-part h1 {
    width: 100% !important;
    margin: 0;
    font-size: 22px;
    line-height: 30px;
    text-transform: uppercase;
  }

  .fs-features-container {
    margin-top: 20px;
  }

  .fs-feature {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .fs-feature .check {
    background-color: white !important;
    flex-shrink: 0 !important;
  }

  .fs-feature p {
    margin: 0;
    font-size: 12px;
  }

  .fs-features-container {
    width: 100% !important;
  }

  .check {
    margin: 0 !important;
  }

  .fs-right-part {
    position: relative;
    height: 680px !important;
    margin-top: 30px !important;
    padding-inline: 10px !important;
    width: 95% !important;
  }

  .fs-right-part > img {
    width: 37px;
    height: 44px;
  }

  .fs-right-part h3 {
    font-size: 20px;
  }

  #normal-content {
    display: none !important;
  }

  #mobile-content {
    display: block !important;
    font-weight: 700;
  }

  #phone-container {
    gap: 10px;
  }

  .input-field {
    padding-inline: 10px;
  }

  .input-field p {
    margin: 0;
    font-size: 12px;
    color: #6c6c6c;
    line-height: 15px;
  }

  #country-code select {
    border: none;
    margin-top: 5px;
    width: 100% !important;
    font-size: 14px;
    outline: none;
    background-color: transparent;
    font-weight: 500;
  }

  .contact-us-btn {
    padding-inline: 32px;
    padding-block: 14px;
    border-radius: 12px;
    font-size: 14px;
    height: 48px;
  }

  .contact-us-btn span {
    font-weight: 800;
  }

  .input-field-container > p {
    font-size: 15px !important;
    font-weight: 600;
    margin: 0;
    color: black !important;
  }

  .terms-container {
    text-align: center;
    font-size: 12px;
    color: #6c6c6c;
    width: 85%;
    /* margin-top: 10px; */
  }

  .terms-container label > span {
    color: #14a312 !important;
  }

  .confirmation-message {
    height: 100%;
    width: 100%;
    padding-block: 20px;
    padding-inline: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
  }

  .confirm-message-part-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .confirm-message-part-1 img {
    width: 50px;
    height: 50px;
  }

  .confirm-message-part-1 h3 {
    font-size: 30px !important;
  }

  .confirm-message-part-2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
  }

  .confirm-message-part-2 h6 {
    font-size: 16px;
    font-weight: 600;
  }

  .confirm-message-part-2 p {
    text-align: center;
    font-size: 14px;
  }

  .submit-another-btn {
    margin-top: 30px;
    pointer-events: all;
    opacity: 1;
    padding-inline: 20px;
    padding-block: 14px;
    border-radius: 12px;
    height: 55px;
    border: none;
    font-size: 18px;
    color: black;
    background-color: white;
  }

  .confirm-message-part-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 80px;
    gap: 5px;
  }

  .email-grp {
    display: flex;
    gap: 10px;
    align-items: center !important;
  }

  .email-grp img {
    width: 24px !important;
    height: 24px !important;
  }

  .email-grp h6 {
    font-size: 14px;
  }

  .email-grp h6 span {
    font-weight: 700;
  }

  .email-grp h6 a {
    color: black;
    font-weight: 400;
  }

  /* video section  */

  #video-section {
    margin-block: 30px;
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center; /* Ensures content is centered vertically */
    padding-inline: 0;
}

#tablet-container {
    background-image: url('/us/mathbuddy_assets/home_assets/images/mobile-tablet-img.svg');
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center; /* Centers the background image */
    width: 100%; /* Adjust width relative to the container */
    height: 0;
    padding-bottom: 70%; /* Aspect ratio 327px x 230px = 327 / 230 = 1.42 -> 100 / 1.42 ≈ 70% */
    position: relative;
    margin-top: 0 !important;
}


  #video-section-inner {
    background-image: url("/us/mathbuddy_assets/math_tutoring_assets/images/rise_frame1.webp");
    position: relative;
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    padding: 0;
    /* display: none; */
  }


  #play-button img {
    width: 40px;
    height: 40px;
  }

  #gif-container {
    position: absolute;
    top: 17.5%; /* Adjust as needed */
    left: 9% !important; /* Adjust as needed */
    width: 81.5% !important; /* Adjust to fit tablet screen width */
    height: 65% !important;
    border-radius: 3px !important;
  }

  #video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000 !important;
  }
  
  #video-section iframe {
    display: none;
    width: 100%;
    border-radius: 5px;
    height: 100%;
  }

  /* mathbuddy program features section */

  #program-features-section {
    margin-block: 50px !important;
  }

  #program-features-section h2 {
    font-size: 22px;
    text-align: center;
  }

  .program-features-container {
    display: none !important;
  }

  .program-features-container-mobile {
    display: flex !important;
  }

  .program-features-scrollable {
    margin-top: 30px;
    overflow-x: auto;
    display: flex !important;
    gap: 15px; /* Add space between cards */
    scroll-snap-type: x mandatory;
  }

  .program-features-scrollable::-webkit-scrollbar {
    display: none;
  }

  .program-feature-card-mobile {
    margin-top: 20px;
    flex-shrink: 0 !important;
    height: 150px;
    width: 250px;
    background-color: #e4fff1;
    position: relative !important;
    /* display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center; */
    padding-inline: 20px;
    padding-block: 35px;
    border-radius: 20px;
  }

  #impact-container-mobile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    margin-top: 20px;
    width: 90% !important;
    padding: 30px;
    height: 160px;
    background-color: #14a312;
    border-radius: 32px;
    margin-inline: auto;
  }

  #impact-container-mobile a {
    color: black;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 10px;
    font-weight: 500;
    padding-inline: 40px;
    padding-block: 12px !important;
    border: 0px;
    font-size: 14px;
    background-color: white;
    border-radius: 15px;
  }

  #impact-container-mobile h4 {
    font-size: 14px;
    font-weight: 600;
  }

  .program-feature-card-mobile img {
    top: -13%;
    position: absolute !important;
    width: 40px !important;
    height: 40px !important;
    z-index: 30000 !important;
  }

  .program-feature-card-mobile h5 {
    font-size: 14px !important;
    margin: 0;
  }
  .program-feature-card-mobile p {
    font-size: 12px !important;
    margin: 0;
    margin-top: 10px;
  }

  #comparison-section h2{
    font-size: 22px;
    text-align: center;
  }
  
  .text-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .text-container p{
    margin-top: 10px;
    font-size: 14px;
    text-align: left;
    width: 90%;
  }

  /* cirriculum section */

  #cirriculum-section h2 {
    font-size: 22px;
  }

  .cirriculum-container {
    margin-inline: auto !important;
    min-height: 200px;
    width: 95%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    margin-top: 40px !important;
    gap: 10px;
    border: 4px solid #14A312;
    border-radius: 20px;
    padding-inline: 20px;
    padding-block: 15px;
  }

  .faq .answer .faq .question h3 {
    font-size: 14px;
    font-weight: 500;
  }

  .faq {
    width: 100%;
    padding-bottom: 0px !important;
    border-bottom: 2px solid rgba(173, 255, 47, 0.3);
    cursor: pointer;
    align-items: center;
  }


  .question h3{
    font-size: 15px;
  }

  .answer ul {
    padding-left: 40px;
    margin: 0;
  }

  .answer ul li{
    font-size: 12px;
  }

  /* sample question section */

  #sample-questions-section {
    margin-top: 50px !important;
    margin-bottom: 50px !important;
  }

  #sample-questions-section h2 {
    font-size: 22px;
  }

  .sample-questions-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
  }

  .sample-questions-container::-webkit-scrollbar {
    display: none;
  }

  .sample-questions-container .col-4 {
    width: 90%;
  }

  .sample-question-card {
    width: 100% !important;
    flex-shrink: 0;
    flex-wrap: nowrap;
    height: 400px;
  }

  .sample-question-card h3 {
    font-size: 14px;
    text-transform: capitalize;
  }

  .options-card {
    font-size: 14px;
    width: 46%;
  }

  .question-div {
    font-size: 12px;
  }
  .options-div {
    gap: 10px;
  }

  /* pricing section */
  .pricing-container {
    display: none !important;
  }

  #pricing-section {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }

  #pricing-section h2 {
    font-size: 22px;
    text-align: center;
  }
  #pricing-section h6 {
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 20px;
    width: 65%;
    margin-inline: auto;
    font-weight: 600;
  }

  .pricing-container-mobile {
    margin-top: 20px !important;
    position: relative;
    margin-bottom: 40px;
    padding-block: 30px;
    border-radius: 20px;
    background-color: #e4fff1;
    width: 90% !important;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }

  .pricing-container-mobile .price-container h6 span{
    text-decoration: line-through;
  }

  #most-popular {
    top: -20px !important;
    left: 105px !important;
    position: absolute;
    padding-inline: 20px;
    padding-block: 8px;
    background-color: black;
    color: white;
    font-size: 12px;
    border-radius: 10px;
    top: -5%;
    left: 0;
  }

  .pricing-container-mobile h6 {
    margin: 0 !important;
    letter-spacing: 3px;
    font-size: 12px;
  }

  .pricing-container-mobile h3 {
    margin: 0 !important;
    font-size: 16px;
  }

  .pricing-features-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 10px;
  }

  .pricing-feature {
    width: 100%;
    padding: 15px;
    background-color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
  }

  .pricing-feature img {
    width: 24px;
    height: 24px;
  }

  .pricing-feature p {
    font-size: 14px;
    margin: 0;
  }

  .price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .price-container h4 {
    font-size: 16px;
    margin: 0;
  }
  .price-container h5 {
    font-size: 12px;
    margin: 0;
  }
  .price-get-started {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-transform: capitalize;
    color: white;
    border-radius: 12px;
    border: none;
    width: 90%;
    height: 48px;
    background-color: #14a312;
  }

  .price-container h5 span {
    text-decoration: line-through;
    color: rgba(0, 0, 0, 0.5);
  }

  /* snippits section */

  #snippits-section {
    margin-top: 20px !important;
    margin-bottom: 50px !important;
  }

  .snippits-container {
    display: none !important;
  }

  #snippits-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .snippits-container-mobile {
    display: flex !important;
    overflow-x: auto !important;
    gap: 20px;
  }

  .snippits-container-mobile::-webkit-scrollbar {
    display: none;
  }

  .snippits-container-mobile .col-4 {
    width: 85% !important;
  }
  .snippits-card {
    height: 200px;
    background-size: cover;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
  .snippets-play-button img {
    width: 32px;
    height: 32px;
  }

  /* feedback section */

  /* testimonials section */

  #testimonials-section {
    margin-block: 20px !important;
  }

  #testimonials-section h2 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
  }

  .testimonial-carousel-container {
    width: 95% !important;
    padding-top: 35px;
    position: relative;
    overflow-x: auto;
    scroll-behavior: smooth;
    display: flex;
    align-items: start;
    height: 550px !important;
    z-index: -1;
    padding-inline: 0px !important;
  }

  #feedback-section::before,
  #feedback-section::after,
  .prev-btn-test,
  .next-btn-test {
    display: none !important;
  }

  .active,
  .small-card {
    margin-inline: 10px !important;
    width: 260px !important;
    height: 500px !important;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 30px !important;
    position: relative;
    flex-shrink: 0 !important;
    padding-inline: 10px;
    padding-block: 30px !important;
    transition: all 0.3s ease-in-out;
    transform: scale(1);
  }

  .quotes,
  .quotes-small {
    position: absolute;
    top: -7%;
    left: 5%;
    height: 50px;
    width: 100px;
    z-index: 2000;
  }

  .active h3,
  .small-card h3 {
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    margin: 0;
  }

  .feedback-by,
  .feedback-by-small {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: fit-content !important;
    width: fit-content;
  }

  .feedback-by-small h5,
  .feedback-by h5 {
    margin: 0;
    color: #14a312;
    font-size: 12px;
    font-weight: 700;
  }

  .feedback-by-small > div img,
  .feedback-by > div img {
    width: 50px !important;
    height: 50px !important;
  }

  .feedback-by-small p,
  .feedback-by p {
    width: 100%;
    margin: 0;
    color: black;
    font-size: 13px;
    font-weight: 700;
  }

  /* faqs section */

  #faqs-section {
    margin-block: 40px !important;
  }

  #faqs-section h2 {
    text-align: center;
    font-size: 22px;
  }

  .accordion {
    margin-inline: auto;
    margin-top: 30px;
    width: 95%;
    --bs-accordion-border-color: none !important;
  }

  .accordion-item {
    background-color: #e4fff1 !important;
    border-radius: 20px !important;
    height: fit-content !important;
  }

  .accordion-button {
    padding-block: 40px !important;
    display: flex !important;
    justify-content: space-between !important;
    color: black !important;
    font-size: 14px !important;
    border-radius: 20px !important;
    margin-top: 20px !important;
    /* min-height: 100px !important; */
    background-color: #e4fff1 !important;
  }

  .accordion-button > div {
    width: 80%;
  }

  .accordion-button .icon {
    transition: transform 0.5s linear;
  }

  .accordion-body {
    font-size: 12px;
    font-family: "Poppins";
  }

  .accordion-button img {
    width: 25px !important;
    height: 25px !important;
  }

  #faq-btn {
    display: flex;
  }

  /* view cirriculum section */

  #curriculum-section {
    margin-top: 50px !important;
    margin-bottom: 50px !important;
    background-image: url(/us/mathbuddy_assets/math_tutoring_assets/images/main-bg-img.webp);
    background-size: cover;
    height: 180px !important;
    padding-inline: 20px;
    width: 90%;
    padding-block: 30px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: start;
    background-position: top left;
    border-radius: 20px;
    background-color: #14a312;
  }

  #curriculum-section .col-8 h4 {
    width: 150% !important;
    font-size: 14px;
    margin: 0;
    line-height: 20px;
    color: black;
  }

  .book-demo-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-transform: capitalize;
    height: 40px;
    padding-inline: 30px;
    padding-block: 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    width: 100%;
  }
}

@media (min-width: 476px) and (max-width: 730px) {
  #first-section {
    margin-bottom: 50px !important;
  }

  .main-section {
    min-height: 100vh;
    overflow: hidden !important;
    z-index: 200;
  }

  .bg-container ,.bg-container-signup{
    display: block !important;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    height: 1200px !important;
    width: 150%;
    z-index: -1;
  }

  #first-section {
    z-index: 3000 !important;
  }

  #first-section-container {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  .mobile-bg-container {
    display: none !important;
  }

  .bg-container img,.bg-container-signup img {
    width: 100%;
  }

  .fs-left-part {
    width: 90% !important;
    gap: 0px;
    margin-top: -50px !important;
  }

  .fs-left-part h6 {
    display: none;
  }

  #scroll-down,
  #scroll-up {
    display: none !important;
  }

  #number-system-img {
    position: absolute;
    width: 72px;
    height: 72px;
    top: 0%;
    left: -12%;
  }

  #fraction-img {
    position: absolute;
    width: 90px;
    height: 90px;
    right: -13%;
    top: -10%;
    z-index: -1;
  }

  #trignometry-img {
    display: none !important;
  }

  #first-section-container {
    justify-content: center !important;
  }

  .fs-left-part h1 {
    margin: 0;
    font-size: 30px;
    line-height: 40px;
    text-transform: uppercase;
  }

  .fs-features-container {
    margin-top: 30px;
    gap: 15px;
  }

  .fs-feature {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .fs-feature .check {
    background-color: white !important;
  }

  .fs-feature p {
    margin: 0;
    font-size: 16px;
  }

  .fs-right-part {
    position: relative;
    height: 680px !important;
    margin-top: 60px !important;
    padding-inline: 10px !important;
    width: 75% !important;
  }

  .fs-right-part > img {
    width: 55px;
    height: 70px;
  }

  .fs-right-part h3 {
    font-size: 24px;
  }

  #normal-content {
    display: none !important;
  }

  #mobile-content {
    display: block !important;
    font-weight: 700;
  }

  #phone-container {
    gap: 10px;
  }

  .input-field {
    padding-inline: 10px;
  }

  .input-field p {
    margin: 0;
    font-size: 12px;
    color: #6c6c6c;
    line-height: 15px;
  }

  #country-code {
    width: 35%;
  }

  #phone-number {
    width: 65%;
  }

  #country-code select {
    border: none;
    margin-top: 5px;
    width: 70%;
    font-size: 13px;
    outline: none;
    background-color: transparent;
    font-weight: 500;
  }

  .contact-us-btn {
    padding-inline: 32px;
    padding-block: 14px;
    border-radius: 12px;
    font-size: 14px;
    height: 48px;
  }

  .contact-us-btn span {
    font-weight: 800;
  }

  .input-field-container > p {
    font-size: 15px !important;
    font-weight: 600;
    margin: 0;
    color: black !important;
  }

  .terms-container {
    text-align: center;
    font-size: 12px;
    color: #6c6c6c;
    width: 80%;
    margin-top: 10px;
  }

  .terms-container label span {
    color: #14a312;
  }

  .confirmation-message {
    height: 100%;
    width: 100%;
    padding-block: 20px;
    padding-inline: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
  }

  .confirm-message-part-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .confirm-message-part-1 img {
    width: 50px;
    height: 50px;
  }

  .confirm-message-part-1 h3 {
    font-size: 30px !important;
  }

  .confirm-message-part-2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
  }

  .confirm-message-part-2 h6 {
    font-size: 16px;
    font-weight: 600;
  }

  .confirm-message-part-2 p {
    text-align: center;
    font-size: 14px;
  }

  .submit-another-btn {
    margin-top: 30px;
    pointer-events: all;
    opacity: 1;
    padding-inline: 20px;
    padding-block: 14px;
    border-radius: 12px;
    height: 55px;
    border: none;
    font-size: 18px;
    color: black;
    background-color: white;
  }

  .confirm-message-part-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 80px;
    gap: 5px;
  }

  .email-grp {
    display: flex;
    gap: 10px;
    align-items: center !important;
  }

  .email-grp img {
    width: 24px !important;
    height: 24px !important;
  }

  .email-grp h6 {
    font-size: 14px;
  }

  .email-grp h6 span {
    font-weight: 700;
  }

  .email-grp h6 a {
    color: black;
    font-weight: 400;
  }

  /* video section  */

  #video-section {
    margin-block: 30px;
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center; /* Ensures content is centered vertically */
    padding-inline: 0;
}

#tablet-container {
    background-image: url('/us/mathbuddy_assets/home_assets/images/mobile-tablet-img.svg');
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center; /* Centers the background image */
    width: 100%; /* Adjust width relative to the container */
    height: 0;
    padding-bottom: 70%; /* Aspect ratio 327px x 230px = 327 / 230 = 1.42 -> 100 / 1.42 ≈ 70% */
    position: relative;
    margin-top: 0 !important;
}


  #video-section-inner {
    background-image: url("/us/mathbuddy_assets/math_tutoring_assets/images/rise_frame1.webp");
    position: relative;
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    padding: 0;
    /* display: none; */
  }


  #play-button img {
    width: 40px;
    height: 40px;
  }

  #gif-container {
    position: absolute;
    top: 17.5%; /* Adjust as needed */
    left: 9% !important; /* Adjust as needed */
    width: 81.5% !important; /* Adjust to fit tablet screen width */
    height: 65% !important;
    border-radius: 3px !important;
  }

  #video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000 !important;
  }
  
  #video-section iframe {
    display: none;
    width: 100%;
    border-radius: 5px;
    height: 100%;
  }

  /* mathbuddy program features section */

  #program-features-section {
    margin-block: 50px !important;
  }

  #program-features-section h2 {
    font-size: 30px;
    text-align: center;
  }

  .program-features-container {
    display: none !important;
  }

  .program-features-container-mobile {
    display: flex !important;
  }

  .program-features-scrollable {
    margin-top: 30px;
    overflow-x: auto;
    display: flex !important;
    gap: 15px; /* Add space between cards */
    scroll-snap-type: x mandatory;
  }

  .program-features-scrollable::-webkit-scrollbar {
    display: none;
  }

  .program-feature-card-mobile {
    margin-top: 20px;
    flex-shrink: 0 !important;
    height: 150px;
    width: 250px;
    background-color: #e4fff1;
    position: relative !important;
    /* display: flex;
      flex-direction: column;
      align-items: start;
      justify-content: center; */
    padding-inline: 20px;
    padding-block: 35px;
    border-radius: 20px;
  }

  #impact-container-mobile {
    color: white;
    margin-top: 20px;
    width: 100% !important;
    padding: 30px;
    background-color: #14a312;
    border-radius: 32px;
    margin-inline: auto;
  }

  #impact-container-mobile a {
    width: 100%;
    color: black;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    font-weight: 500;
    padding-inline: 40px;
    padding-block: 12px !important;
    border: 0px;
    font-size: 14px;
    background-color: white;
    border-radius: 15px;
  }

  #impact-container-mobile h4 {
    font-size: 18px;
    font-weight: 600;
  }

  .program-feature-card-mobile img {
    top: -13%;
    position: absolute !important;
    width: 40px !important;
    height: 40px !important;
    z-index: 30000 !important;
  }

  .program-feature-card-mobile h5 {
    font-size: 14px !important;
    margin: 0;
  }
  .program-feature-card-mobile p {
    font-size: 12px !important;
    margin: 0;
    margin-top: 10px;
  }

  #comparison-section h2{
    font-size: 30px;
    text-align: center;
  }
  
  .text-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .text-container p{
    margin-top: 10px;
    font-size: 16px;
    text-align: left;
    width: 90%;
  }

  /* cirriculum section */

  #cirriculum-section h2 {
    font-size: 30px;
  }

  .cirriculum-container {
    margin-inline: auto !important;
    width: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    margin-top: 40px !important;
    gap: 10px;
    border: 4px solid #14A312;
    border-radius: 20px;
    padding-inline: 20px;
    padding-block: 15px;
  }

  .faq {
    width: 100%;
    padding-bottom: 0px !important;
    border-bottom: 2px solid rgba(173, 255, 47, 0.3);
    cursor: pointer;
    align-items: center;
  }

  .faq .answer .faq .question h3 {
    font-size: 16px;
    font-weight: 500;
  }

  .question h3{
    font-size: 18px;
  }

  .answer ul li{
    font-size: 15px;
  }

  /* sample question section */

  #sample-questions-section {
    margin-top: 50px !important;
    margin-bottom: 50px !important;
  }

  #sample-questions-section h2 {
    font-size: 30px;
  }

  .sample-questions-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
  }

  .sample-questions-container::-webkit-scrollbar {
    display: none;
  }

  .sample-questions-container .col-4 {
    width: 65%;
  }

  .sample-question-card {
    width: 100% !important;
    flex-shrink: 0;
    flex-wrap: nowrap;
    height: 400px;
  }

  .sample-question-card h3 {
    font-size: 14px;
    text-transform: capitalize;
  }

  .options-card {
    font-size: 14px;
    width: 46%;
  }

  .question-div {
    font-size: 12px;
  }
  .options-div {
    gap: 10px;
  }

  /* pricing section */
  .pricing-container {
    display: none !important;
  }

  #pricing-section {
    margin-block: 50px !important;
  }

  #pricing-section h2 {
    font-size: 30px;
    text-align: center;
  }
  #pricing-section h6 {
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 20px;
    width: 65%;
    margin-inline: auto;
    font-weight: 600;
  }

  .pricing-container-mobile {
    margin-top: 20px !important;
    margin-bottom: 30px;
    position: relative;
    padding-block: 30px;
    border-radius: 20px;
    background-color: #e4fff1;
    width: 70% !important;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }

  .pricing-container-mobile .price-container h6 span{
    text-decoration: line-through;
  }

  #most-popular {
    top: -20px !important;
    left: 125px !important;
    position: absolute;
    padding-inline: 20px;
    padding-block: 8px;
    background-color: black;
    color: white;
    font-size: 12px;
    border-radius: 10px;
    top: -5%;
    left: 0;
  }

  .pricing-container-mobile h6 {
    margin: 0 !important;
    letter-spacing: 3px;
    font-size: 12px;
  }

  .pricing-container-mobile h3 {
    margin: 0 !important;
    font-size: 16px;
  }

  .pricing-features-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 10px;
  }

  .pricing-feature {
    width: 100%;
    padding: 15px;
    background-color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
  }

  .pricing-feature img {
    width: 24px;
    height: 24px;
  }

  .pricing-feature p {
    font-size: 14px;
    margin: 0;
  }

  .price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .price-container h4 {
    font-size: 16px;
    margin: 0;
  }
  .price-container h5 {
    font-size: 12px;
    margin: 0;
  }
  .price-get-started {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-transform: capitalize;
    color: white;
    border-radius: 12px;
    border: none;
    width: 90%;
    height: 48px;
    background-color: #14a312;
  }

  .price-container h5 span {
    text-decoration: line-through;
    color: rgba(0, 0, 0, 0.5);
  }

  /* snippits section */

  #snippits-section {
    margin-top: 0px !important;
    margin-bottom: 50px !important;
  }

  .snippits-container {
    display: none !important;
  }

  #snippits-section h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .snippits-container-mobile {
    display: flex !important;
    overflow-x: auto !important;
    gap: 20px;
  }

  .snippits-container-mobile::-webkit-scrollbar {
    display: none;
  }

  .snippits-container-mobile .col-4 {
    width: 60% !important;
  }
  .snippits-card {
    height: 200px;
    background-size: cover;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
  .snippets-play-button img {
    width: 36px;
    height: 36px;
  }

  /* feedback section */

  /* testimonials section */

  #testimonials-section {
    margin-block: 20px !important;
  }

  #testimonials-section h2 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
  }

  .testimonial-carousel-container {
    width: 95% !important;
    padding-top: 35px;
    position: relative;
    overflow-x: auto;
    scroll-behavior: smooth;
    display: flex;
    align-items: start;
    height: 420px !important;
    z-index: -1;
    padding-inline: 0px !important;
  }

  #feedback-section::before,
  #feedback-section::after,
  .prev-btn-test,
  .next-btn-test {
    display: none !important;
  }

  .active,
  .small-card {
    margin-inline: 10px !important;
    width: 350px !important;
    height: 380px !important;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 30px !important;
    position: relative;
    flex-shrink: 0 !important;
    padding-inline: 10px;
    padding-block: 30px !important;
    transition: all 0.3s ease-in-out;
    transform: scale(1);
  }

  .quotes,
  .quotes-small {
    position: absolute;
    top: -7%;
    left: 5%;
    height: 50px;
    width: 100px;
    z-index: 2000;
  }

  .active h3,
  .small-card h3 {
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    margin: 0;
  }

  .feedback-by,
  .feedback-by-small {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: fit-content !important;
    width: fit-content;
  }

  .feedback-by-small h5,
  .feedback-by h5 {
    margin: 0;
    color: #14a312;
    font-size: 12px;
    font-weight: 700;
  }

  .feedback-by-small > div img,
  .feedback-by > div img {
    width: 50px !important;
    height: 50px !important;
  }

  .feedback-by-small p,
  .feedback-by p {
    width: 100%;
    margin: 0;
    color: black;
    font-size: 13px;
    font-weight: 700;
  }

  /* faqs section */

  #faqs-section {
    margin-block: 40px !important;
  }

  #faqs-section h2 {
    text-align: center;
    font-size: 30px;
  }

  .accordion {
    margin-inline: auto;
    margin-top: 30px;
    width: 95%;
    --bs-accordion-border-color: none !important;
  }

  .accordion-item {
    background-color: #e4fff1 !important;
    border-radius: 20px !important;
    height: fit-content !important;
  }

  .accordion-button {
    padding-block: 40px !important;
    display: flex !important;
    justify-content: space-between !important;
    color: black !important;
    font-size: 14px !important;
    border-radius: 20px !important;
    margin-top: 20px !important;
    /* min-height: 100px !important; */
    background-color: #e4fff1 !important;
  }

  .accordion-button > div {
    width: 80%;
  }

  .accordion-button .icon {
    transition: transform 0.5s linear;
  }

  .accordion-body {
    font-size: 12px;
    font-family: "Poppins";
  }

  .accordion-button img {
    width: 25px !important;
    height: 25px !important;
  }

  #faq-btn {
    display: flex;
  }

  /* view cirriculum section */

  #curriculum-section {
    margin-block: 50px !important;
    background-image: url(/us/mathbuddy_assets/math_tutoring_assets/images/main-bg-img1.webp);
    background-size: cover;
    height: 180px !important;
    padding-inline: 20px;
    width: 90%;
    height: 150px !important;
    padding-block: 30px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: start;
    background-position: top left;
    border-radius: 20px;
    background-color: #14a312;
  }

  #curriculum-section .col-8 h4 {
    width: 150% !important;
    font-size: 14px;
    margin: 0;
    line-height: 20px;
    color: black;
  }

  .book-demo-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-transform: capitalize;
    height: 40px;
    padding-inline: 30px;
    padding-block: 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    width: 100%;
  }
}

@media (min-width: 731px) and (max-width: 991px) {
  .main-section {
    min-height: 100vh;
    overflow: hidden !important;
    z-index: 200;
  }

  .bg-container,.bg-container-signup {
    display: block !important;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    height: 1200px !important;
    width: 150%;
    z-index: -1;
  }

  #first-section {
    z-index: 3000 !important;
    margin-bottom: 50px !important;
  }

  #first-section-container {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  .mobile-bg-container {
    display: none !important;
  }

  .bg-container img,.bg-container-signup {
    width: 100%;
  }

  .fs-left-part {
    width: 90% !important;
    gap: 0px;
    margin-top: -50px !important;
  }

  .fs-left-part h6 {
    display: none;
  }

  #scroll-down,
  #scroll-up {
    display: none !important;
  }

  #number-system-img {
    position: absolute;
    width: 72px;
    height: 72px;
    top: 0%;
    left: -12%;
  }

  #fraction-img {
    position: absolute;
    width: 90px;
    height: 90px;
    right: -13%;
    top: -5%;
    z-index: -1;
  }

  #trignometry-img {
    display: none !important;
  }

  #first-section-container {
    justify-content: center !important;
  }

  .fs-left-part h1 {
    margin: 0;
    font-size: 38px;
    line-height: 48px;
    text-transform: uppercase;
  }

  .fs-features-container {
    margin-top: 30px;
    gap: 15px;
  }

  .fs-feature {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .fs-feature .check {
    background-color: white !important;
  }

  .fs-feature p {
    margin: 0;
    font-size: 20px;
  }

  .fs-right-part {
    position: relative;
    height: 680px !important;
    margin-top: 60px !important;
    padding-inline: 10px !important;
    width: 70% !important;
  }

  .fs-right-part > img {
    width: 55px;
    height: 70px;
  }

  .fs-right-part h3 {
    font-size: 24px;
  }

  #normal-content {
    display: none !important;
  }

  #mobile-content {
    display: block !important;
    font-weight: 700;
  }

  #phone-container {
    gap: 10px;
  }

  .input-field {
    padding-inline: 10px;
  }

  .input-field p {
    margin: 0;
    font-size: 12px;
    color: #6c6c6c;
    line-height: 15px;
  }

  #country-code {
    width: 35%;
  }

  #phone-number {
    width: 65%;
  }

  #country-code select {
    border: none;
    margin-top: 5px;
    width: 70%;
    font-size: 13px;
    outline: none;
    background-color: transparent;
    font-weight: 500;
  }

  .contact-us-btn {
    padding-inline: 32px;
    padding-block: 14px;
    border-radius: 12px;
    font-size: 14px;
    height: 48px;
  }

  .contact-us-btn span {
    font-weight: 800;
  }

  .input-field-container > p {
    font-size: 15px !important;
    font-weight: 600;
    margin: 0;
    color: black !important;
  }

  .terms-container {
    text-align: center;
    font-size: 12px;
    color: #6c6c6c;
    width: 80%;
    margin-top: 10px;
  }

  .terms-container label span {
    color: #14a312;
  }

  /* video section  */

  #video-section {
    margin-block: 30px;
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center; /* Ensures content is centered vertically */
    padding-inline: 0;
}

#tablet-container {
    background-image: url('/us/mathbuddy_assets/home_assets/images/mobile-tablet-img.svg');
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center; /* Centers the background image */
    width: 100%; /* Adjust width relative to the container */
    height: 0;
    padding-bottom: 70%; /* Aspect ratio 327px x 230px = 327 / 230 = 1.42 -> 100 / 1.42 ≈ 70% */
    position: relative;
    margin-top: 0 !important;
}


  #video-section-inner {
    background-image: url("/us/mathbuddy_assets/math_tutoring_assets/images/rise_frame1.webp");
    position: relative;
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    padding: 0;
    /* display: none; */
  }


  #play-button img {
    width: 50px;
    height: 50px;
  }

  #gif-container {
    position: absolute;
    top: 17.5%; /* Adjust as needed */
    left: 9% !important; /* Adjust as needed */
    width: 81.5% !important; /* Adjust to fit tablet screen width */
    height: 65% !important;
    border-radius: 3px !important;
  }

  #video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000 !important;
  }
  
  #video-section iframe {
    display: none;
    width: 100%;
    border-radius: 5px;
    height: 100%;
  }

  /* mathbuddy program features section */

  #program-features-section {
    margin-block: 50px !important;
  }

  #program-features-section h2 {
    font-size: 38px;
    text-align: center;
  }

  .program-features-container {
    display: none !important;
  }

  .program-features-container-mobile {
    display: flex !important;
  }

  .program-features-scrollable {
    margin-top: 30px;
    overflow-x: auto;
    display: flex !important;
    gap: 15px; /* Add space between cards */
    scroll-snap-type: x mandatory;
  }

  .program-features-scrollable::-webkit-scrollbar {
    display: none;
  }

  .program-feature-card-mobile {
    margin-top: 30px;
    flex-shrink: 0 !important;
    height: 190px;
    width: 270px;
    background-color: #e4fff1;
    position: relative !important;
    /* display: flex;
      flex-direction: column;
      align-items: start;
      justify-content: center; */
    padding-inline: 20px;
    padding-block: 35px;
    border-radius: 20px;
  }

  #impact-container-mobile {
    color: white;
    margin-top: 20px;
    width: 100% !important;
    padding: 40px;
    background-color: #14a312;
    border-radius: 32px;
    margin-inline: auto;
  }

  #impact-container-mobile a {
    width: 100%;
    color: black;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    font-weight: 500;
    padding-inline: 50px;
    padding-block: 12px !important;
    border: 0px;
    font-size: 18px;
    background-color: white;
    border-radius: 15px;
  }

  #impact-container-mobile h4 {
    font-size: 22px;
    font-weight: 600;
  }

  .program-feature-card-mobile img {
    top: -13%;
    position: absolute !important;
    width: 50px !important;
    height: 50px !important;
    z-index: 30000 !important;
  }

  .program-feature-card-mobile h5 {
    font-size: 20px !important;
    width: 90%;
    margin: 0;
  }
  .program-feature-card-mobile p {
    font-size: 14px !important;
    margin: 0;
    margin-top: 10px;
  }

  #comparison-section h2{
    font-size: 38px;
    text-align: center;
  }
  
  .text-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .text-container p{
    margin-top: 10px;
    font-size: 18px;
    text-align: left;
    width: 90%;
  }

  /* cirriculum section */

  #cirriculum-section h2 {
    font-size: 38px;
  }

  .cirriculum-container {
    margin-inline: auto !important;
    min-height: 200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    margin-top: 40px !important;
    gap: 10px;
    border: 4px solid #14A312;
    border-radius: 20px;
    padding-inline: 20px;
    padding-block: 15px;
  }

  .faq {
    width: 100%;
    padding-bottom: 0px !important;
    border-bottom: 2px solid rgba(173, 255, 47, 0.3);
    cursor: pointer;
    align-items: center;
  }

  .faq .answer .faq .question h3 {
    font-size: 16px;
    font-weight: 500;
  }

  .question h3{
    font-size: 18px;
  }

  .answer ul li{
    font-size: 15px;
  }

  /* sample question section */

  #sample-questions-section {
    margin-block: 50px !important;
  }

  #sample-questions-section h2 {
    font-size: 38px;
  }

  .sample-questions-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center;
  }

  .sample-questions-container::-webkit-scrollbar {
    display: none;
  }

  .sample-questions-container .col-4 {
    width: 50%;
  }

  .sample-question-card {
    width: 100% !important;
    flex-shrink: 0;
    flex-wrap: nowrap;
    height: 400px;
    margin-top: 20px;
  }

  .sample-question-card h3 {
    font-size: 18px;
    text-transform: capitalize;
  }

  .options-card {
    font-size: 14px;
    width: 46%;
  }

  .question-div {
    font-size: 14px;
  }
  .options-div {
    gap: 10px;
  }

  /* pricing section */
  .pricing-container {
    display: none !important;
  }

  #pricing-section {
    margin-block: 50px !important;
  }

  #pricing-section h2 {
    font-size: 38px;
    text-align: center;
  }
  #pricing-section h6 {
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 20px;
    width: 75%;
    margin-inline: auto;
    font-weight: 600;
  }

  .pricing-container-mobile {
    position: relative;
    margin-bottom: 30px;
    margin-top: 20px;
    padding-block: 30px;
    border-radius: 20px;
    background-color: #e4fff1;
    width: 70% !important;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }

  .pricing-container-mobile .price-container h6 span{
    text-decoration: line-through;
  }

  #most-popular {
    top: -20px !important;
    left: 165px !important;
    position: absolute;
    padding-inline: 40px;
    padding-block: 8px;
    background-color: black;
    color: white;
    font-size: 16px;
    border-radius: 10px;
    top: -5%;
    left: 0;
  }

  .pricing-container-mobile h6 {
    margin: 0 !important;
    letter-spacing: 3px;
    font-size: 14px !important;
  }

  .pricing-container-mobile h3 {
    margin: 0 !important;
    font-size: 18px;
  }

  .pricing-features-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 10px;
    width: 80%;
  }

  .pricing-feature {
    width: 100%;
    padding: 15px;
    background-color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 12px;
  }

  .pricing-feature p {
    font-size: 16px !important;
  }

  .pricing-feature img {
    width: 24px;
    height: 24px;
  }

  .pricing-feature p {
    font-size: 14px;
    margin: 0;
  }

  .price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .price-container h4 {
    font-size: 18px;
    margin: 0;
  }
  .price-container h5 {
    font-size: 14px;
    margin: 0;
  }
  .price-get-started {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-transform: capitalize;
    color: white;
    border-radius: 12px;
    border: none;
    width: 90%;
    height: 48px;
    background-color: #14a312;
  }

  .price-container h5 span {
    text-decoration: line-through;
    color: rgba(0, 0, 0, 0.5);
  }
  .price-get-started {
    width: 80%;
    font-size: 18px;
    font-weight: 600;
  }

  /* snippits section */

  #snippits-section {
    margin-block: 50px !important;
  }

  .snippits-container {
    display: none !important;
  }

  #snippits-section h2 {
    font-size: 38px;
    margin-bottom: 20px;
  }

  .snippits-container-mobile {
    display: flex !important;
    overflow-x: auto !important;
    gap: 20px;
  }

  .snippits-container-mobile::-webkit-scrollbar {
    display: none;
  }

  .snippits-container-mobile .col-4 {
    width: 60% !important;
  }
  .snippits-card {
    height: 300px;
    background-size: cover;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
  .snippets-play-button img {
    width: 45px;
    height: 45px;
  }

  /* feedback section */

  /* testimonials section */

  #testimonials-section {
    margin-block: 20px !important;
  }

  #testimonials-section h2 {
    font-size: 38px;
    text-align: center;
    margin-bottom: 20px;
  }

  .testimonial-carousel-container {
    width: 95% !important;
    padding-top: 35px;
    position: relative;
    overflow-x: auto;
    scroll-behavior: smooth;
    display: flex;
    align-items: start;
    height: 450px !important;
    z-index: -1;
    padding-inline: 0px !important;
  }

  #feedback-section::before,
  #feedback-section::after,
  .prev-btn-test,
  .next-btn-test {
    display: none !important;
  }

  .active,
  .small-card {
    margin-inline: 10px !important;
    width: 450px !important;
    height: 400px !important;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 30px !important;
    position: relative;
    flex-shrink: 0 !important;
    padding-inline: 10px;
    padding-block: 30px !important;
    transition: all 0.3s ease-in-out;
    transform: scale(1);
  }

  .quotes,
  .quotes-small {
    position: absolute;
    top: -7%;
    left: 5%;
    height: 50px;
    width: 100px;
    z-index: 2000;
  }

  .active h3,
  .small-card h3 {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    margin: 0;
  }

  .feedback-by,
  .feedback-by-small {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: fit-content !important;
    width: fit-content;
  }

  .feedback-by-small h5,
  .feedback-by h5 {
    margin: 0;
    color: #14a312;
    font-size: 12px;
    font-weight: 700;
  }

  .feedback-by-small > div img,
  .feedback-by > div img {
    width: 50px !important;
    height: 50px !important;
  }

  .feedback-by-small p,
  .feedback-by p {
    width: 100%;
    margin: 0;
    color: black;
    font-size: 13px;
    font-weight: 700;
  }

  /* faqs section */

  #faqs-section {
    margin-block: 50px !important;
  }

  #faqs-section h2 {
    text-align: center;
    font-size: 38px;
  }

  .accordion {
    margin-inline: auto;
    margin-top: 30px;
    width: 95%;
    --bs-accordion-border-color: none !important;
  }

  .accordion-item {
    background-color: #e4fff1 !important;
    border-radius: 20px !important;
    height: fit-content !important;
  }

  .accordion-button {
    padding-block: 40px !important;
    display: flex !important;
    justify-content: space-between !important;
    color: black !important;
    font-size: 16px !important;
    border-radius: 20px !important;
    margin-top: 20px !important;
    /* min-height: 100px !important; */
    background-color: #e4fff1 !important;
  }

  .accordion-button > div {
    width: 80%;
  }

  .accordion-button .icon {
    transition: transform 0.5s linear;
  }

  .accordion-body {
    font-size: 14px;
    font-family: "Poppins";
  }

  .accordion-button img {
    width: 25px !important;
    height: 25px !important;
  }

  #faq-btn {
    display: flex !important;
  }

  /* view cirriculum section */

  #curriculum-section {
    margin-block: 50px !important;
    background-image: url(/us/mathbuddy_assets/math_tutoring_assets/images/main-bg-img1.webp);
    background-size: cover;
    height: 180px !important;
    padding-inline: 20px;
    width: 90%;
    height: 200px !important;
    padding-block: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    background-position: top left;
    border-radius: 20px;
    background-color: #14a312;
  }

  #curriculum-section .col-8{
    width: 100%;
  }

  #curriculum-section .col-8 h4 {
    width: 90% !important;
    font-size: 20px;
    margin: 0;
    line-height: 32px;
    color: black;
  }

  .book-demo-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-transform: capitalize;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-inline: 40px;
    padding-block: 25px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 500;
    border: none;
    width: 100%;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .bg-container {
    display: block !important;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    height: 1200px !important;
    width: 100%;
    z-index: -1;
  }

  #first-section {
    z-index: 3000 !important;
    margin-block: 80px !important;
  }
  .mobile-bg-container {
    display: none !important;
  }

  .mobile-bg-container img {
    width: 100%;
  }

  .fs-left-part {
    width: 90% !important;
    margin-top: 0px !important;
  }

  .fs-left-part h6 {
    display: none;
  }

  #scroll-down,
  #scroll-up {
    display: none !important;
  }

  #number-system-img {
    position: absolute;
    width: 72px;
    height: 72px;
    top: -10%;
    left: -12%;
  }

  #fraction-img {
    position: absolute;
    width: 90px;
    height: 90px;
    right: -8.5%;
    top: -9%;
    z-index: -1;
  }

  #trignometry-img {
    display: none !important;
  }

  #first-section-container {
    justify-content: center !important;
  }

  .fs-left-part {
    width: 50% !important;
  }

  .fs-left-part h1 {
    margin: 0;
    font-size: 34px;
    line-height: 48px;
    text-transform: uppercase;
  }

  .fs-features-container {
    margin-top: 30px;
    gap: 20px;
  }

  .fs-feature {
    display: flex;
    justify-content: center;
    align-items: start;
  }

  .fs-feature .check {
    flex-shrink: 0 !important;
    background-color: white !important;
  }

  .fs-feature p {
    margin: 0;
    font-size: 18px;
  }

  .fs-right-part {
    position: relative;
    height: 680px !important;
    margin-top: 0px !important;
    padding-inline: 20px !important;
    width: 45% !important;
  }

  /* .fs-features-container{
   width: 90%;
 } */

  .fs-right-part > img {
    width: 70px;
    height: 75px;
  }

  .fs-right-part h3 {
    font-size: 24px;
  }

  #normal-content {
    display: none !important;
  }

  #mobile-content {
    display: block !important;
    font-weight: 700;
  }

  #phone-container {
    gap: 10px;
  }

  .input-field {
    padding-inline: 10px;
  }

  .input-field p {
    margin: 0;
    font-size: 12px;
    color: #6c6c6c;
    line-height: 15px;
  }

  #country-code {
    width: 30%;
  }

  #phone-number {
    width: 70%;
  }

  #country-code select {
    border: none;
    margin-top: 5px;
    width: 70%;
    font-size: 13px;
    outline: none;
    background-color: transparent;
    font-weight: 500;
  }

  .contact-us-btn {
    padding-inline: 32px;
    padding-block: 14px;
    border-radius: 12px;
    font-size: 14px;
    height: 48px;
  }

  .contact-us-btn span {
    font-weight: 800;
  }

  /* video section  */

  #video-section {
    margin-block: 30px;
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center; /* Ensures content is centered vertically */
    padding-inline: 0;
}

#tablet-container {
    background-image: url('/us/mathbuddy_assets/home_assets/images/mobile-tablet-img.svg');
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center; /* Centers the background image */
    width: 100%; /* Adjust width relative to the container */
    height: 0;
    padding-bottom: 70%; /* Aspect ratio 327px x 230px = 327 / 230 = 1.42 -> 100 / 1.42 ≈ 70% */
    position: relative;
    margin-top: 0 !important;
}


  #video-section-inner {
    background-image: url("/us/mathbuddy_assets/math_tutoring_assets/images/rise_frame1.webp");
    position: relative;
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    padding: 0;
    /* display: none; */
  }


  #play-button img {
    width: 30px;
    height: 30px;
  }

  #gif-container {
    position: absolute;
    top: 17.5%; /* Adjust as needed */
    left: 9% !important; /* Adjust as needed */
    width: 81.5% !important; /* Adjust to fit tablet screen width */
    height: 65% !important;
    border-radius: 3px !important;
  }

  #video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000 !important;
  }
  
  #video-section iframe {
    display: none;
    width: 100%;
    border-radius: 5px;
    height: 100%;
  }

  /* mathbuddy program features section */

  #program-features-section {
    margin-block: 80px !important;
  }

  #program-features-section h2 {
    font-size: 38px;
    text-align: center;
  }

  .program-features-container {
    display: none !important;
  }

  .program-features-container-mobile {
    display: flex !important;
  }

  .program-features-scrollable {
    margin-top: 30px;
    overflow-x: auto;
    display: flex !important;
    gap: 15px; /* Add space between cards */
    scroll-snap-type: x mandatory;
  }

  .program-features-scrollable::-webkit-scrollbar {
    display: none;
  }

  .program-feature-card-mobile {
    margin-top: 30px;
    flex-shrink: 0 !important;
    height: 190px;
    width: 270px;
    background-color: #e4fff1;
    position: relative !important;
    /* display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center; */
    padding-inline: 20px;
    padding-block: 35px;
    border-radius: 20px;
  }

  #impact-container-mobile {
    
    color: white;
    margin-top: 20px;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    background-color: #14a312;
    border-radius: 32px;
    margin-inline: auto;
  }

  #impact-container-mobile a {
    width: 100%;
    color: black;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    font-weight: 500;
    padding-inline: 60px;
    padding-block: 20px !important;
    border: 0px;
    font-size: 22px;
    background-color: white;
    border-radius: 15px;
  }

  #impact-container-mobile h4 {
    font-size: 26px;
    margin: 0 !important;
    font-weight: 600;
  }

  .program-feature-card-mobile img {
    top: -13%;
    position: absolute !important;
    width: 50px !important;
    height: 50px !important;
    z-index: 30000 !important;
  }

  .program-feature-card-mobile h5 {
    font-size: 20px !important;
    width: 90%;
    margin: 0;
  }
  .program-feature-card-mobile p {
    font-size: 14px !important;
    margin: 0;
    margin-top: 10px;
  }

  #comparison-section h2{
    font-size: 38px;
    text-align: center;
  }
  
  .text-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .text-container p{
    margin-top: 10px;
    font-size: 18px;
    text-align: left;
    width: 90%;
  }

  /* cirriculum section */

  #cirriculum-section h2 {
    font-size: 38px;
  }

  .cirriculum-container {
    margin-inline: auto !important;
    min-height: 200px;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 40px !important;
    gap: 15px;
    border: 4px solid #14A312;
    border-radius: 20px;
    padding-inline: 20px;
    padding-block: 15px;
  }

  .faq {
    width: 100%;
    padding-bottom: 0px !important;
    border-bottom: 2px solid rgba(173, 255, 47, 0.3);
    cursor: pointer;
    align-items: center;
  }

  .faq .answer .faq .question h3 {
    font-size: 16px;
    font-weight: 500;
  }

  .question h3{
    font-size: 18px;
  }

  .answer ul li{
    font-size: 15px;
  }

  /* sample question section */

  #sample-questions-section {
    margin-block: 80px !important;
  }

  #sample-questions-section h2 {
    font-size: 38px;
  }

  .sample-questions-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center;
  }

  .sample-questions-container::-webkit-scrollbar {
    display: none;
  }

  .sample-questions-container .col-4 {
    width: 50%;
  }

  .sample-question-card {
    width: 100% !important;
    flex-shrink: 0;
    flex-wrap: nowrap;
    height: 400px;
    margin-top: 20px;
  }

  .sample-question-card h3 {
    font-size: 18px;
    text-transform: capitalize;
  }

  .options-card {
    font-size: 14px;
    width: 46%;
  }

  .question-div {
    font-size: 14px;
  }
  .options-div {
    gap: 10px;
  }

  /* pricing section */
  .pricing-container {
    display: none !important;
  }

  #pricing-section {
    margin-block: 80px !important;
  }

  #pricing-section h2 {
    font-size: 38px;
    text-align: center;
  }
  #pricing-section h6 {
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 20px;
    width: 75%;
    margin-inline: auto;
    font-weight: 600;
  }

  .pricing-container-mobile {
    margin-bottom: 50px;
    position: relative;
    margin-top: 20px;
    padding-block: 30px;
    border-radius: 20px;
    background-color: #e4fff1;
    width: 70% !important;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }

  .pricing-container-mobile .price-container h6 span{
    text-decoration: line-through;
  }

  #most-popular {
    top: -20px !important;
    left: 245px !important;
    position: absolute;
    padding-inline: 40px;
    padding-block: 8px;
    background-color: black;
    color: white;
    font-size: 16px;
    border-radius: 10px;
    top: -5%;
    left: 0;
  }

  .pricing-container-mobile h6 {
    margin: 0 !important;
    letter-spacing: 3px;
    font-size: 14px !important;
  }

  .pricing-container-mobile h3 {
    margin: 0 !important;
    font-size: 18px;
  }

  .pricing-container-mobile a{
    text-decoration: none;
    display:flex;
    align-items: center;
    justify-content: center;
  }

  .pricing-features-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 10px;
    width: 80%;
  }

  .pricing-feature {
    width: 100%;
    padding: 15px;
    background-color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 12px;
  }

  .pricing-feature p {
    font-size: 16px !important;
  }

  .pricing-feature img {
    width: 24px;
    height: 24px;
  }

  .pricing-feature p {
    font-size: 14px;
    margin: 0;
  }

  .price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .price-container h4 {
    font-size: 18px;
    margin: 0;
  }
  .price-container h5 {
    font-size: 14px;
    margin: 0;
  }
  .price-get-started {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-transform: capitalize;
    color: white;
    border-radius: 12px;
    border: none;
    width: 90%;
    height: 48px;
    background-color: #14a312;
  }

  .price-container h5 span {
    text-decoration: line-through;
    color: rgba(0, 0, 0, 0.5);
  }
  .price-get-started {
    width: 80%;
    font-size: 18px;
    font-weight: 600;
  }

  /* snippits section */

  #snippits-section {
    margin-block: 80px !important;
  }

  .snippits-container {
    display: none !important;
  }

  #snippits-section h2 {
    font-size: 38px;
    margin-bottom: 20px;
  }

  .snippits-container-mobile {
    display: flex !important;
    overflow-x: auto !important;
    gap: 20px;
  }

  .snippits-container-mobile::-webkit-scrollbar {
    display: none;
  }

  .snippits-container-mobile .col-4 {
    width: 60% !important;
  }
  .snippits-card {
    height: 300px;
    background-size: cover;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
  .snippets-play-button img {
    width: 45px;
    height: 45px;
  }

  /* feedback section */

  /* testimonials section */

  #testimonials-section {
    margin-block: 80px !important;
  }

  #testimonials-section h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 30px;
  }

  #feedback-section {
    /* margin-block: 100px; */
    position: relative;
    z-index: 2000;
  }

  .testimonial-carousel-container {
    padding-top: 60px;
    position: relative;
    overflow-x: auto;
    scroll-behavior: smooth;
    display: flex;
    align-items: start;
    height: 520px !important;
    z-index: -1;
    padding-inline: 100px !important;
  }

  /* Left Overlay */
  #feedback-section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 150px; /* Width of the overlay */
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    );
    z-index: 2000; /* Make sure it's on top of the carousel content */
    pointer-events: none; /* Ensure it's not blocking clicks */
  }

  /* Right Overlay */
  #feedback-section::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 150px; /* Width of the overlay */
    background: linear-gradient(
      to left,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    );
    z-index: 2000; /* Make sure it's on top of the carousel content */
    pointer-events: none; /* Ensure it's not blocking clicks */
  }
  .testimonial-carousel-container::-webkit-scrollbar {
    display: none;
  }

  .prev-btn-test,
  .next-btn-test,
  .prev-disable,
  .next-disable {
    background-color: transparent;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
  }

  .next-btn-test {
    right: 0%;
    z-index: 3000 !important;
  }
  .prev-btn-test img,
  .next-btn-test img {
    width: 50px;
    height: 50px;
  }

  .next-disable {
    right: 0%;
    z-index: 500 !important;
    display: none;
  }

  .prev-disable {
    left: 0%;
    z-index: 500 !important;
    display: none;
  }

  .prev-btn-test {
    left: 0%;
    z-index: 3000 !important;
  }

  .active {
    margin-inline: 20px !important;
    width: 750px !important;
    height: 450px !important;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 50px !important;
    position: relative;
    flex-shrink: 0 !important;
    padding-inline: 30px;
    padding-block: 30px !important;
    transition: all 0.3s ease-in-out;
    transform: scale(1);
  }

  .small-card {
    margin-inline: 20px !important;
    width: 700px !important;
    height: 300px !important;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 30px !important;
    position: relative;
    flex-shrink: 0 !important;
    padding-inline: 20px;
    padding-block: 80px !important;
    transition: all 0.3s ease-in-out;
    transform: scale(0.8);
    transform: translateY(0px);
  }

  .quotes {
    position: absolute;
    top: -13%;
    left: -2%;
    height: 70px;
    width: 200px;
    z-index: 2000;
  }

  .quotes-small {
    position: absolute;
    top: -13%;
    left: 2%;
    height: 50px;
    width: 90px;
    z-index: 2000;
  }

  .active h3 {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    margin: 0;
  }

  .small-card h3 {
    font-size: 14px;
    font-weight: 400;
  }

  .feedback-by {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 100%;
  }

  .feedback-by-small {
    display: flex;
    justify-content: start;
    align-items: center;
    height: 30px !important;
    /* width: 130px !important; */
    width: 100%;
  }

  .feedback-by-small h5 {
    margin: 0;
    color: #14a312;
    font-size: 14px;
    font-weight: 700;
  }

  .feedback-by-small > div img {
    width: 50px !important;
    height: 50px !important;
  }

  .feedback-by-small p {
    width: 100%;
    margin: 0;
    color: black;
    font-size: 16px;
    font-weight: 700;
  }
  .feedback-by h5 {
    margin: 0;
    color: #14a312;
    font-size: 18px;
    font-weight: 700;
  }

  .feedback-by p {
    width: 100%;
    margin: 0;
    color: black;
    font-size: 20px;
    font-weight: 700;
  }

  .feedback-by div:nth-child(1) {
    width: 15%;
  }

  .feedback-by div:nth-child(2) {
    width: 85%;
  }

  .feedback-by-small div:nth-child(1) {
    width: 12% !important;
  }

  .feedback-by-small div:nth-child(2) {
    width: 85%;
  }

  .feedback-by img {
    height: 70px !important;
  }

  .feedback-by-img {
    border-radius: 50%;
  }

  .carousel-orange {
    background-color: #ffdb9e;
    border: 4px solid #ffbd80;
  }

  .carousel-blue {
    background-color: #cbf4ff;
    border: 4px solid #b0cdf9;
  }

  .carousel-green {
    background-color: #c6f5d3;
    border: 4px solid #84d89b;
  }

  .carousel-yellow {
    background-color: #fff1a2;
    border: 4px solid #ffe759;
  }

  /* view cirriculum section */

  #curriculum-section {
    /* margin-block: 80px !important; */
    background-image: url(/us/mathbuddy_assets/math_tutoring_assets/images/main-bg-img1.webp);
    background-size: cover;
    height: 180px !important;
    padding-inline: 20px;
    width: 90%;
    height: 150px !important;
    padding-block: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-position: top left;
    border-radius: 20px;
    background-color: #14a312;
  }

  #curriculum-section .col-8 h4 {
    width: 90% !important;
    font-size: 20px;
    margin: 0;
    line-height: 32px;
    color: black;
  }

  .book-demo-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-transform: capitalize;
    width: 800px !important;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding-inline: 60px; */
    padding-block: 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    border: none;
  }

  #cirriculum-section h2 {
    font-size: 38px;
    margin: 0;
    text-align: center;
  }

  #cirriculum-section > p {
    margin-inline: auto !important;
    width: 95%;
    margin-top: 30px;
    text-align: center;
  }

  .custom-carousel-container {
    width: 100%;
    position: relative;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px; /* Space between cards */
    padding: 10px;
    align-items: end;
  }

  .custom-carousel-container::-webkit-scrollbar {
    display: none;
  }

  .parents-div {
    height: 388px;
    border-radius: 32px;
    background-color: #84d89b;
    display: flex;
    justify-content: center;
  }

  .prev-btn,
  .next-btn,
  .prev-disable,
  .next-disable {
    background-color: transparent;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
  }

  .next-btn {
    right: 0%;
    z-index: 500 !important;
  }

  .prev-btn {
    left: 0%;
    z-index: 500 !important;
  }

  /* ---------------------------------------- */

  .cirriculum-card-div {
    height: 450px;
    width: 330px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    flex-shrink: 0;
  }

  .overlay-right {
    top: 2%;
    right: 0%;
    height: 450px;
    width: 175px;
    position: absolute;
    z-index: 33;
  }

  .overlay-left {
    top: 2%;
    left: 0%;
    height: 450px;
    width: 175px;
    position: absolute;
    z-index: 33;
    rotate: -180deg;
  }

  .overlay-right img,
  .overlay-left img {
    width: 100%;
    height: 100%;
  }

  .week-div {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: black;
    width: 129px;
    height: 44px;
    background-color: #c6f5d3;
    border-radius: 22px;
  }

  .cirriculum-card {
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-direction: column;
    width: 100%;
    height: 388px;
    border: 1px solid #c4c4c4;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    padding-inline: 50px;
    padding-block: 25px;
  }

  .timeline {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 25.5px;
    left: 18px;
  }

  .circle-icon {
    width: 18px;
    height: 18px;
  }

  .line-icon {
    width: 1px;
    height: 160px;
  }

  .cirriculum-card-upper {
    height: 47%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
  }

  .cirriculum-card-upper p {
    margin-top: 10px;
    font-size: 14px;
    text-align: left;
    color: rgba(0, 0, 0, 0.8);
  }

  .cirriculum-card-upper h4 {
    font-size: 16px;
    margin: 0;
  }

  .cirriculum-card-lower {
    height: 47%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
  }

  .cirriculum-card-lower p {
    margin-top: 10px;
    font-size: 14px;
    text-align: left;
    color: rgba(0, 0, 0, 0.8);
  }

  .cirriculum-card-lower h4 {
    font-size: 16px;
    margin: 0;
  }

  .custom-carousel-control-prev,
  .custom-carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
  }

  .custom-carousel-control-prev {
    left: 10px;
  }

  .custom-carousel-control-next {
    right: 10px;
  }

  .custom-carousel-control-prev:hover,
  .custom-carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
}

@media (max-width: 300px) {
  .input-field input {
    width: 100%;
  }

  #country-code select {
    border: none;
    margin-top: 5px;
    width: 80%;
    font-size: 12px;
    outline: none;
    background-color: transparent;
    font-weight: 500;
  }

  #country-code p {
    font-size: 9px;
  }
}
