  html body a {
  text-decoration: none !important;
  color: inherit !important;
}

.card-title{
  color:#d72638;
  font-weight: bolder;
}
body {
            font-family: Arial, sans-serif;
          
        }
/*introduction and corousal css arrow button*/
.arrow-enroll-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start; 
  background-color: #d72638; 
  color: #000;
  border: none;
  padding: 12px 70px 12px 30px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
  overflow: visible; 
}

.arrow-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  width: 40px; 
  height: 40px; 
  border-radius: 50%;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  overflow: hidden;
}

.arrow {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  transition: transform 0.3s;
}

.arrow-hover {
  position: absolute;
  left: 50%;
  transform: translate(-300%, 0);
  transition: transform 0.3s;
}

.arrow-enroll-btn:hover .arrow {
  transform: translate(150%, 0);
}

.arrow-enroll-btn:hover .arrow-hover {
  transform: translate(-50%, 0); 
}



/*animation of cards*/
.animation-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
/*
.animation-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2); 
} */

/* Custom Tabs Styling */

 * { box-sizing: border-box; }

  body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
  }

  /* Tabs Container */
  .course-tab-categories {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    overflow-x: auto;
    border-bottom: 1.5px solid rgb(75, 75, 75);
    margin: 20px auto;
    padding: 0 10px;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    scroll-behavior: smooth;
  }

  .course-tab-categories::-webkit-scrollbar { height: 6px; }
  .course-tab-categories::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
  }

  /* Individual Tabs */
  .course-tab-categories div {
    padding: 14px 24px;
    font-weight: 600;
    color: #7a7a7a;
    cursor: pointer;
    text-align: center;
    white-space: normal;
    line-height: 1.2;
    flex: 1;
    min-width: 150px;
    transition: color 0.3s ease;
  }

  .course-tab-categories .active {
    color: #d32f2f;
    border-bottom: 2px solid #d32f2f;
  }

  /* Topic Content */
  .course-tab-topics {
    padding: 20px;
    text-align: center;
  }

  .course-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
  }

  .course-tab-content.active { display: block; }

  /* Cards Layout */
  .course-tab-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 30px;
    margin-top: 20px;
  }

  .course-tab-card {
    background: white;
    border-radius: 18px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    width: 360px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
  }

  .course-tab-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }

  .course-tab-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 3px solid #f0f0f0;
  }

  .course-tab-card-content { padding: 15px; }

  .course-tab-card h3 {
    font-size: 18px;
    margin: 10px 0 5px;
  }

  .course-tab-card p {
    color: #555;
    font-size: 14px;
  }

  @keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
  }

  @media (max-width: 768px) {
    .course-tab-categories {
      justify-content: flex-start;
      overflow-x: auto;
      padding: 0 15px;
    }

    .course-tab-categories div {
      flex: 0 0 auto;
      padding: 12px 18px;
      font-size: 14px;
      min-width: 160px;
    }

    .course-tab-card {
      width: 90%;
      max-width: 330px;
    }
  }
.course-tab-card-content h3 {
  color: #d72638;
}


/*points image css*/
@media (max-width: 768px) {
    .col-12.col-md-6.d-flex {
      min-height: 300px; /* Reduce min-height on small screens */
    }
    .col-12.col-md-6.d-flex > div:first-child {
      width: 90% !important; /* Make circle larger on small screens */
      max-width: 400px !important; /* Adjust max-width */
    }
    .col-12.col-md-6.d-flex > img {
      width: 80% !important; /* Make image larger on small screens */
      max-width: 350px !important; /* Adjust max-width */
    }
  }
  @media (min-width: 769px) {
    .col-12.col-md-6.d-flex > img {
      width: 80% !important; /* Make image slightly larger on desktop if needed */
      max-width: 450px !important; 
    }
  }


 /* Animation when element becomes visible */
.slide-in {
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.2s ease-out;
}

/* Active state — add this with JS when element is in view */
.slide-in.active {
  opacity: 2;
  transform: translateY(0);
}

/*courses cards*/
.card.custom-card {
      width: 350px;           
      height: 500px;          
      margin: auto;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      background-color: rgb(240, 246, 253);
     border: 1px solid rgb(226, 226, 226);
     border-radius: 10px;
     
    }

    .card.custom-card img {
      height: 200px;          
      object-fit: cover;
    }

    .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }


    /*slider*/
   .progress-bar-container {
  position: sticky;
  top: 80px;
  width: 90%;
  max-width: 1100px;
  margin: 10px auto;
  height: 60px;
  background-color: transparent;
  border-radius: 50px;
  z-index: 0;
  
}

/* Scrollable wrapper for smaller screens */
.progress-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: thin;
  scrollbar-color: #f8bafd #ececec;
  border-radius: 50px;
  position: relative;
}

.progress-scroll-wrapper::-webkit-scrollbar {
  height: 6px;
  
}

.progress-scroll-wrapper::-webkit-scrollbar-thumb {
  background-color: #f8bafd;
  border-radius: 10px;
}

.progress-scroll-wrapper::-webkit-scrollbar-track {
  background: #ececec;
  border-radius: 10px;
}

/* Inner bar */
.progress-bar-inner {
  position: relative;
  display: inline-block;
  min-width: 1100px;
  height: 60px;
  border-radius: 50px;
  background-color: #ececec;
  overflow: hidden; /* keep fill inside the shape */
  
}

/* Progress Fill (now visible again) */
.progress-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%; /* animate with JS */
  background-color: #f8bafd;
  border-radius: 50px;
  transition: width 0.4s ease-out;
  z-index: 0; /* keep behind text but visible */
  
}
/* Disable horizontal scroll only for tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  .progress-scroll-wrapper {
    overflow-x: hidden; /* no horizontal scroll on tablets */
  }

  .progress-bar-inner {
    min-width: 100%; /* make it fit nicely */
  }
}

/* Text styling */
.progress-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(12px, 1.5vw, 20px);
  color: #a72020;
  margin: 0;
  white-space: nowrap;
  z-index: 5; /* ensure text stays above fill */
}

/* Fixed text positions */
.progress-text-1 { left: 8%; }
.progress-text-2 { left: 50%; transform: translate(-50%, -50%); }
.progress-text-3 { right: 10%; }

/* Tablet adjustments */
@media (max-width: 768px) {
  .progress-bar-inner {
    min-width: 800px;
    height: 50px;
  }
  .progress-text {
    font-size: clamp(10px, 2.5vw, 16px);
  }
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .progress-bar-inner {
    min-width: 700px;
    height: 45px;
  }
  .progress-text {
    font-size: clamp(9px, 3.5vw, 14px);
  }
}


.page-section {
  height: calc(100vh - 60px);
  position: sticky;
  top: 150px; /* adds pause distance before touching the progress bar */
  display: flex;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  border-radius: 50px;
}

      .page-section-1 {
  background: linear-gradient(to bottom, #fff4c2, #ffffff);
  z-index: 1;
}

.page-section-2 {
  background: linear-gradient(to bottom, #fff4c2, #ffffff);
  z-index: 2;
}

.page-section-3 {
  background: linear-gradient(to bottom, #fff4c2, #ffffff);
  z-index: 3;
}

      .pages-container {
        max-width: 100%;
        margin: 100px auto 0 auto;
         
      }
      .pages-wrapper {
        /* height: 400vh;  */
        position: relative;
}
.image-group img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px; /* ✅ curved right edge for big screens */
  display: block;
  transition: all 0.3s ease;
}

/* Tablets */
@media (max-width: 992px) {
  .image-group img {
    max-height: 320px;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
  }
}

/* Small screens (phones) */
@media (max-width: 576px) {
  .image-group img {
    max-height: 260px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 65px; /* ✅ now curves from bottom */
    border-bottom-right-radius: 65px; /* ✅ nice smooth bottom curve */
  }
}

/*ai and blockchain card*/
 @media (max-width: 600px) {
      .two-card {
         width: 100% !important; 
        height: 380px !important;
       
      }
    }