/* ============================================================
   ✅ PROJECTS PAGE V2 (Index Vibe)
============================================================ */

.projectsHeroSlider {
  position: relative;
  height: 72vh;
  min-height: 520px;
  overflow: hidden;
  background: #071a33;
}

.heroSlides {
  position: absolute;
  inset: 0;
}

.heroSlide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 1.4s ease;
}

.heroSlide.is-active {
  opacity: 1;
  transform: scale(1);
}

.heroOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7,26,51,0.15) 0%,
    rgba(7,26,51,0.65) 55%,
    rgba(255,255,255,0.98) 100%
  );
}

.heroContent {
  position: relative;
  z-index: 2;
  padding: 130px 0 40px;
  text-align: center;
  max-width: 880px;
  margin: auto;
}

.sectionTagHero {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.20);
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,0.85);
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.heroTitle {
  margin-top: 18px;
  font-size: clamp(2.4rem, 3.6vw, 4rem);
  font-weight: 950;
  color: white;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.heroTitle span {
  color: var(--cyan);
  font-family: "Georgia", serif;
  font-style: italic;
  font-weight: 600;
}

.heroText {
  margin-top: 16px;
  max-width: 75ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 600;
  color: rgba(255,255,255,0.80);
}

.heroActions {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.heroBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.25s ease;
  border: 1px solid rgba(255,255,255,0.20);
}

.heroBtnPrimary {
  background: var(--cyan);
  color: white;
  border: none;
  box-shadow: 0 20px 45px rgba(10,162,212,0.28);
}

.heroBtnPrimary:hover {
  transform: translateY(-2px);
}

.heroBtnGhost {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
}

.heroBtnGhost:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.16);
}

/* ============================================================
   ✅ Sticky Filter + Search
============================================================ */

.projectsControlsV2 {
  position: sticky;
  top: 74px;
  z-index: 60;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(7,26,51,0.10);
  padding: 20px 0;
}

.projectsControlsWrapV2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.projectsFilterRowV2 {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.projFilterV2 {
  border: 1px solid rgba(7,26,51,0.12);
  background: rgba(255,255,255,0.75);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.22s ease;
  color: rgba(7,26,51,0.72);
}

.projFilterV2:hover {
  transform: translateY(-2px);
  border-color: rgba(10,162,212,0.40);
}

.projFilterV2.is-active {
  background: var(--cyan);
  color: white;
  border-color: transparent;
}

.projectsSearchWrapV2 {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.projectsSearchV2 {
  width: min(330px, 100%);
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(7,26,51,0.14);
  outline: none;
  font-weight: 700;
  transition: 0.25s ease;
}

.projectsSearchV2:focus {
  border-color: rgba(10,162,212,0.55);
  box-shadow: 0 22px 55px rgba(10,162,212,0.16);
}

/* ============================================================
   ✅ Group Blocks + Grid Cards
============================================================ */

.projectsGridSectionV2 {
  padding: 80px 0 110px;
  background: #ffffff;
}

.projectsGroupBlock {
  margin-top: 65px;
}

.projectsGroupBlock.altBlock {
  background: rgba(10,162,212,0.05);
  border-radius: 32px;
  padding: 55px 34px;
}

.projectsGroupTitle {
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  font-weight: 950;
  color: #071a33;
}

.projectsGroupSub {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 600;
  color: rgba(7,26,51,0.70);
  max-width: 80ch;
}

.projectsGridV2 {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.projectsGridTwo {
  grid-template-columns: repeat(2, 1fr);
}

.projectCardV2 {
  border-radius: 22px;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(7,26,51,0.10);
  transition: 0.28s ease;
  box-shadow: 0 18px 40px rgba(15,23,42,0.06);
}

.projectCardV2:hover {
  transform: translateY(-6px);
  border-color: rgba(10,162,212,0.40);
  box-shadow: 0 40px 95px rgba(15,23,42,0.12);
}

.projectImgV2 {
  height: 210px;
  overflow: hidden;
}

.projectImgV2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.projectCardV2:hover .projectImgV2 img {
  transform: scale(1.08);
}

.projectContentV2 {
  padding: 18px 18px 20px;
}

.projectMetaRow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.projectMetaTag {
  font-size: 0.78rem;
  font-weight: 900;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(10,162,212,0.10);
  color: var(--cyan);
}

.projectMetaYear {
  font-size: 0.78rem;
  font-weight: 900;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(214,81,132,0.10);
  color: #d65184;
}

.projectContentV2 h3 {
  font-size: 1.05rem;
  font-weight: 950;
  color: #071a33;
  line-height: 1.35;
}

.projectContentV2 p {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 600;
  color: rgba(7,26,51,0.70);
}

/* ============================================================
   ✅ RESPONSIVE GRID
============================================================ */

@media(max-width: 980px) {
  .projectsGridV2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .projectsGridTwo {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 600px) {
  .projectsGridV2 {
    grid-template-columns: 1fr;
  }
  .projectsGroupBlock.altBlock {
    padding: 45px 18px;
  }
}

/* ============================================================
   ✅ Netflix Continuous Drift Slider
============================================================ */

.eduNetflixWrap {
  position: relative;
  margin-top: 34px;
}

.eduNetflixWrap::before,
.eduNetflixWrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 95px;
  z-index: 5;
  pointer-events: none;
}

.eduNetflixWrap::before {
  left: 0;
  background: linear-gradient(to right, #fff, rgba(255,255,255,0));
}

.eduNetflixWrap::after {
  right: 0;
  background: linear-gradient(to left, #fff, rgba(255,255,255,0));
}

.eduNetflixSlider {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px 10px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.eduNetflixSlider::-webkit-scrollbar {
  display: none;
}

.eduNetflixSlider .projectCardV2 {
  flex: 0 0 360px;
}

.eduNetflixSlider.is-dragging {
  cursor: grabbing;
}

@media(max-width: 980px) {
  .eduNetflixWrap::before,
  .eduNetflixWrap::after {
    width: 55px;
  }

  .eduNetflixSlider .projectCardV2 {
    flex: 0 0 86%;
  }
}
/* ============================================================
   ✅ CARD LINK OVERLAY + KNOW MORE BUTTON
============================================================ */

.projectCardV2.hasLink{
  position: relative;
  overflow: hidden;
}

.cardLinkOverlay{
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* ✅ Ensure inner content is above overlay */
.projectCardV2.hasLink .projectContentV2,
.projectCardV2.hasLink .projectImgV2{
  position: relative;
  z-index: 3;
}

/* ✅ Hover lift feels premium */
.projectCardV2.hasLink:hover{
  transform: translateY(-5px);
  box-shadow: 0 24px 70px rgba(15,23,42,0.12);
}

/* ✅ Know More button */
.cardKnowBtn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.92rem;
  color: #fff;
  background: #0B4AA2;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(11,74,162,0.20);
  transition: 0.22s ease;
  position: relative;
  z-index: 5; /* ✅ above overlay so it remains clickable */
}

/* ✅ button hover */
.cardKnowBtn:hover{
  transform: translateY(-2px);
  background: #00A3D9;
  box-shadow: 0 22px 55px rgba(0,163,217,0.25);
}

.cardKnowBtn span{
  font-size: 1.05rem;
  font-weight: 900;
}
