/* Global */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background-color: white;
  color: #333;
}


/* Header Section */
.dsa-learning-path {
  background: linear-gradient(to bottom, #edd2f8, #bdd3ff);
  text-align: center;
  padding: 70px 20px 170px 20px;
  color: #333;
  position: relative;
  overflow: hidden;
}
.ai-feedback-badge {
  display: inline-block;
  font-size: 0.9rem;
  background: #f4f4f6;
  color: #7a7a7a;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgb(226, 224, 224);
  font-weight: 500;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease;
}

.ai-feedback-badge span {
  font-weight: bold;
  color: #937bca;
}

.dsa-learning-path h1 {
  font-size: 50px;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.2;
}

.dsa-learning-path p {
  font-size: 1.2rem;
  margin: 20px auto 0;
  max-width: 900px;
  line-height: 1.5;
  color: inherit;
  text-align: center;
}

.dsa-learning-path .highlight {
  background: linear-gradient(to right, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Waves */
.waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 100px;
}

/* Animation */
.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

/* Responsive */
@media (max-width: 768px) {
  .dsa-learning-path {
    padding: 50px 16px 80px;
    text-align: left;
  }

  .dsa-learning-path h1 {
    font-size: 2rem;
    margin-left: 10px;
  }

  .dsa-learning-path p {
    font-size: 1rem;
  }

  .header-buttons {
    flex-direction: column;
    align-items: center;
  }
}


/* ================= DSA Learning Path Buttons ================= */

.dsa-learning-path .header-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.dsa-learning-path .header-btn {
  padding: 0.75rem 3.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Primary CTA */
.dsa-learning-path .header-btn.internship {
  background: linear-gradient(to right, #6366f1, #ec4899);
  color: #fff;
}

/* Secondary CTA */
.dsa-learning-path .header-btn.jobs {
  background: #ffffff;
  color: #191717;
}

/* Dark Mode Support */
body.dark-mode .dsa-learning-path .header-btn.jobs {
  background: #2a2a2a;
  color: #ffffff;
}

/* Hover Effect */
.dsa-learning-path .header-btn:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* ================= Responsive (Mobile) ================= */
@media (max-width: 768px) {

  .dsa-learning-path .header-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .dsa-learning-path .header-btn {
    width: 100%;
    max-width: 320px;
    padding: 0.75rem 2rem;
  }
}



/* ================= DSA Categories Section ================= */

.dsa-larning-path-cat {
  padding: 60px 16px;
  max-width: 1300px;
  margin: auto;
  text-align: center;
}

.dsa-larning-path-cat .section-heading-text {
  margin-bottom: 35px;
}

/* Grid */
.dsa-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Card */
.dsa-cat-card {
  height: 170px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dsa-cat-card {
  cursor: pointer;
}

.dsa-cat-card h3 {
  margin-top: 10px;
  font-size: 18px;
}

/* Icon */
.dsa-cat-icon {
  font-size: 42px;
}

/* Different Colors */
.dsa-cat-card.roadmap {
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
}

.dsa-cat-card.free {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
}

.dsa-cat-card.interview {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.dsa-cat-card.premium {
  background: linear-gradient(135deg, #fae8ff, #f5d0fe);
}

/* Hover */
.dsa-cat-card:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* ================= Responsive ================= */

/* Tablet */
@media (max-width: 1024px) {
  .dsa-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .dsa-larning-path-cat .section-heading-text {
    font-size: 24px;
  }

  .dsa-cat-card {
    height: 140px;
  }

  .dsa-cat-icon {
    font-size: 36px;
  }
}
















/* ========================
   DSA ROADMAP – PREMIUM UI
========================= */

.dsa-roadmap-wrapper {
  max-width: 1300px;
  margin: 60px auto;
  padding: 0px 24px 40px;
  background: linear-gradient(180deg, #f8fbff, #eef3ff);
  border-radius: 26px;
  position: relative;
  overflow: hidden;
}

/* subtle background glow */
.dsa-roadmap-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(99,102,241,.15), transparent 40%);
  pointer-events: none;
}

.dsa-main-heading {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(90deg, #f163ea, #7f3ef8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeUp 0.8s ease both;
}

.dsa-subtitle {
  text-align: center;
  font-size: 18px;
  margin-top: -20px;
  color: #555;
  margin-bottom: 20px;
  animation: fadeUp 0.9s ease both;
}

/* ========================
   HORIZONTAL CARD TRACK
========================= */

.dsa-roadmap-cards {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0px 6px 30px;
}

.dsa-roadmap-cards::-webkit-scrollbar {
  height: 6px;
}
.dsa-roadmap-cards::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #6366f1, #22c55e);
  border-radius: 10px;
}

/* ========================
   CARD DESIGN
========================= */

.dsa-card {
  min-width: 300px;
 background-color: #d6e9fa;
  backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 26px;

  flex-shrink: 0;
  position: relative;
  transition: all .35s ease;
  animation: fadeUp 1s ease both;
}

.dsa-card:hover {
  transform: translateY(-10px) scale(1.02);
}

/* step badge */
.dsa-step {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #6366f1, #22c55e);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
}

/* card text */
.dsa-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
}

.dsa-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* tags */
.dsa-tags {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.dsa-tags span {
  background: linear-gradient(135deg, #eef2ff, #ecfdf5);
  color: #4f46e5;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  transition: transform .25s ease;
}

.dsa-tags span:hover {
  transform: scale(1.08);
}

/* footer */
.dsa-footer {
  display: flex;
  justify-content: space-between;

  align-items: center;
  margin-top: 18px;
}

.dsa-duration {
  font-size: 13px;
  color: #047857;
  background: #ecfdf5;
  padding: 6px 12px;
  border-radius: 10px;
  font-weight: 600;
}

/* inside card button */
.dsa-btn {
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 20px;
  background: linear-gradient(90deg, #6366f1, #22c55e);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all .3s ease;
}

.dsa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(99,102,241,.4);
}


/* ========================
   SCROLL BUTTONS – BELOW CARDS (FIXED)
========================= */

.scroll-btn {
  position: relative;            /* IMPORTANT: make it visible */
  display: inline-flex;          /* ensure rendering */
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #6366f1, #22c55e);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(99,102,241,.35);
  transition: all .25s ease;
  align-items: center;
  justify-content: center;
  margin: 24px 10px 0;           /* space from cards */
  z-index: 2;                    /* stay above cards */
}

/* hover effect */
.scroll-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 14px 35px rgba(99,102,241,.45);
}

/* ========================
   CENTER BUTTONS BELOW CARDS
========================= */
.scroll-btn.left,
.scroll-btn.right {
  align-self: center;
}

/* ========================
   MOBILE ONLY – SHOW BUTTONS
========================= */
@media (max-width: 768px) {
  .scroll-btn {
    width: 44px;
    height: 44px;
    font-size: 22px;
    display: inline-flex;   /* FORCE show */
  }
}




/* ========================
   MAIN CTA BUTTON
========================= */

.dsa-main-btn-wrap {
  text-align: center;
  margin-top: 20px;
}

.dsa-main-btn {
  display: inline-block;
  padding: 14px 34px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(90deg, #6366f1, #22c55e);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(99,102,241,.35);
  transition: all .3s ease;
}

.dsa-main-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 45px rgba(99,102,241,.45);
}

/* ========================
   ANIMATIONS
========================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .scroll-btn { display: none; }
  .dsa-main-heading { font-size: 32px; }
  .dsa-card { min-width: 260px; }
}

/* ===============================
   MOBILE: Scroll button after cards
================================ */
@media (max-width: 768px) {
  .dsa-roadmap-wrapper{
    margin: 10px;
    order: 1;
  }

  /* Parent container must be flex */
  .dsa-roadmap-section {
    display: flex;
    flex-direction: column;
  }
.dsa-main-heading{
  font-size: 2rem;
}
.dsa-subtitle {
  font-size: 16px;

}
.dsa-roadmap-cards {
  gap: 8px;
  padding: 0px 5px 30px;
}
 .dsa-card {
  width: 200px;
  padding: 20px;

}

  /* Scroll buttons move below cards */
  .scroll-btn {
    order: 2;
    margin-top: 16px;
    display: inline-flex;
    align-self: center;
  }

}

/* ===============================
   DESKTOP: Hide buttons
================================ */
@media (min-width: 769px) {
  .scroll-btn {
    display: none;
  }
}







   /* ===============================
   DSA INTERVIEWS
================================ */

        .dsa-interviews {
          padding: 70px 20px;

        }

        /* GRID */
        .dsa-interview-cards {
          max-width: 1100px;
          margin: 0 auto;
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 28px;
        }

        /* COMMON CARD */
        .dsa-card {
          border-radius: 20px;
          padding: 20px 22px;
          text-align: center;
          text-decoration: none;
          color: #111827;
          box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
          transition: all .35s ease;
        }

        .dsa-card:hover {
          transform: translateY(-10px) scale(1.02);
          box-shadow: 0 18px 45px rgba(0, 0, 0, .15);
        }

        .dsa-card img {
          width: 72px;
          height: 72px;

        }

        .dsa-card h3 {
          font-size: 20px;
          font-weight: 800;
          margin-bottom: 5px;
        }

        .dsa-card p {
          font-size: 14px;
          color: #374151;
          line-height: 1.6;
        }

        /* ===============================
   SOFT DIFFERENT COLORS
================================ */

        /* Product based – blue */
        .card-product {
          background: linear-gradient(180deg, #eff6ff, #dbeafe);
        }

        /* Service based – green */
        .card-service {
          background: linear-gradient(180deg, #ecfdf5, #d1fae5);
        }

        /* Topic based – purple */
        .card-topic {
          background: linear-gradient(180deg, #f5f3ff, #ede9fe);
        }

        /* ===============================
   LONG CTA CARD
================================ */

        .dsa-interview-cta {
          max-width: 900px;
          margin: 30px auto 0;
          padding: 25px 40px;
          border-radius: 26px;
          background: linear-gradient(135deg, #abadff, #74ca94);
          color: #ffffff;
          box-shadow: 0 20px 50px rgba(99, 102, 241, .35);
        }

        .cta-content {
          display: flex;
          flex-direction: column;
          align-items: center;
          text-align: center;
        }

        .dsa-interview-cta h3 {
          font-size: 30px;
          font-weight: 900;
          margin: 0px;
        }

        .dsa-interview-cta p {
          font-size: 16px;
          opacity: .95;
          max-width: 700px;
          margin-bottom: 52px;
        }

        .dsa-cta-btn {
          display: inline-block;
          padding: 14px 34px;
          border-radius: 999px;
          background: #ffffff;
          color: #111827;
          font-weight: 800;
          text-decoration: none;
          transition: all .3s ease;
        }

        .dsa-cta-btn:hover {
          transform: translateY(-3px) scale(1.06);
          box-shadow: 0 14px 35px rgba(0, 0, 0, .25);
        }


        @media (max-width: 768px) {
          .dsa-interview-cards {
            grid-template-columns: 1fr;
            justify-items: center;
            /* ⭐ KEY FIX */
          }

          .dsa-card {
            width: 100%;
            max-width: 340px;
            /* ⭐ card center & balanced */
          }

          .dsa-interview-cta {
            padding: 36px 22px;
          }

          .dsa-interview-cta h3 {
            font-size: 24px;
          }
        }




           /* ============================
   📘 DSA Ebook Bundle Section
============================= */

        .dsa-ebook-bundle-section {
          max-width: 1300px;
          color: #555;
          display: flex;
          flex-wrap: wrap;
          margin: auto;
          margin-bottom: 100px;
        }

        .dsa-ebook-bundle-content,
        .dsa-ebook-bundle-image {
          flex: 1;
          display: flex;
          flex-direction: column;
          justify-content: center;
          padding: 0 5%;
          box-sizing: border-box;
        }

        /* Heading */
        .dsa-ebook-bundle-content h2 {
          font-size: 2.8rem;
          font-weight: 900;
          line-height: 1.2;
          color: #1f2937;
          max-width: 650px;
        }

        .dsa-ebook-bundle-highlight {
          background: linear-gradient(to right, #6366f1, #f349c8);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
        }

        /* Paragraph */
        .dsa-ebook-bundle-content p {
          font-size: 1.2rem;
          color: #6b7280;
          max-width: 600px;
          margin: 1px 0 30px;
        }

        /* Features */
        .dsa-ebook-bundle-features {
          display: flex;
          flex-wrap: wrap;
          gap: 18px;
          margin-bottom: 40px;
        }

        .dsa-ebook-bundle-feature {
          background: rgba(99, 102, 241, 0.1);
          padding: 14px 20px;
          border-radius: 10px;
          min-width: 240px;
          font-weight: 600;
        }

        /* CTA Button */
        .dsa-ebook-bundle-cta-button {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          padding: 14px 70px;
          border-radius: 12px;
          background: #ffffff;
          color: #4f46e5;
          font-size: 1.1rem;
          font-weight: 800;
          text-decoration: none;
          box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
          transition: all 0.3s ease;
          align-self: flex-start;
        }

        .dsa-ebook-bundle-cta-button:hover {
          transform: translateY(-3px);
          box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
        }

        /* Image */
        .dsa-ebook-bundle-image {
          align-items: center;
        }

        .dsa-ebook-bundle-image img {
          width: 120%;
        }

        /* ============================
   📱 Responsive
============================= */

        @media (max-width: 768px) {

          .dsa-ebook-bundle-section {
            flex-direction: column;
          }

          .dsa-ebook-bundle-content,
          .dsa-ebook-bundle-image {
            width: 100%;
            padding: 30px 5%;
            text-align: center;
            align-items: center;
          }

          .dsa-ebook-bundle-content h2 {
            font-size: 2rem;
          }

          .dsa-ebook-bundle-content p {
            font-size: 1rem;
          }

          .dsa-ebook-bundle-features {
            justify-content: center;
          }

          .dsa-ebook-bundle-feature {
            min-width: 85%;
            text-align: left;
          }

          .dsa-ebook-bundle-cta-button {
            align-self: center;
            padding: 14px 60px;
          }

          .dsa-ebook-bundle-image img {
            width: 100%;
          }
        }


















  /* .tech-stat-section  */


        .tech-stat-section {
        background: #000000;
        border-radius: 40px;
        padding: 20px 30px;
        max-width: 1300px;
        margin: 50px auto;
        color: white;
        text-align: center;
      }

      .tech-stat-section {
        background: linear-gradient(to bottom, #edd2f8, #bdd3ff);
      }

      .tech-stats h2 {
        color: #464545;
      }

      .tech-stats p {
        color: #464545;
      }

      .format-subtext {
        background: linear-gradient(to right, #6366f1, #ec4899);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }

      .format-icon {
        background: #abc6fc;
      }