.hero-sec {
  position: relative;
  height: 100vh; 
  width: 100%;
  background: url("../assets/about/uniquely.png") no-repeat center center;
  background-size: cover; 
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-sec .overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-sec .content1 {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-sec .content1 h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.2;
}

.usp-video-section {
  position: relative;
  width: 100%;
  height: 80vh;          
  overflow: hidden;      
  margin: 0;
  padding: 30px;       
}

.usp-video-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.usp-video {
  position: absolute;
  inset: 0;               
  width: 100%;
  height: 100%;
  object-fit: cover;     
  display: block;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

:root {
  --brand: #6C17BD;
  --ink: #0f172a;
}

/* ===== WRAP / HEADING ===== */
.stories-wrap {
  background: #fff;
  font-family: 'Poppins', sans-serif;
  position: relative;
}

.stories-head {
  /* display: flex; 
  align-items: center; 
  justify-content: space-between; */
  gap: 16px; 
  margin-bottom: clamp(16px, 3vw, 22px);
}

.stories-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 800;
  color: var(--brand);
  padding: 30px 0px;
}
.stories-nav .stories-prev{
 position: absolute;
 left: 2%;
 top: 60%;
}
.stories-nav .stories-next{
  position: absolute;
  right: 2%;
  top: 60%;
}
/* ===== ARROWS ===== */
/* .stories-nav {
  display: flex; 
  gap: 10px;
  margin-top: 75px;
} */

.stories-btn {
  width: 40px; height: 40px; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  border: 1px solid #e6e6ea; 
  border-radius: 50%; 
  background: #6C17BD;; 
  color: #ffffff;
  cursor: pointer; 
  transition: transform .15s ease, border-color .2s ease, background .2s ease;
}

.stories-btn:hover {
   transform: translateY(-1px);
    border-color: #d5d5da; background: #fafafa;
    color: #4d0e8f;
   }

.stories-btn:disabled { opacity: .45; cursor: not-allowed; }

/* ===== SCROLL ROW ===== */
.stories-row {
  display: flex; 
  gap: 22px;
  overflow-x: auto; 
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; 
  scroll-padding-left: 1px;
  padding-bottom: 0;
}
.stories-row::-webkit-scrollbar { display: none; }

/* ===== CARD ===== */
.story-card { flex: 0 0 auto; width: clamp(86%, 46vw, 31.5%); scroll-snap-align: start; }

.story-link { display: block; text-decoration: none; color: inherit; }

.story-media {
  position: relative; 
  margin: 0; 
  border-radius: 14px; 
  overflow: hidden; 
  background: #000;              
  aspect-ratio: 4 / 3; 
}

.story-media img {
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%;
  object-fit: cover;             
  object-position: center; 
  display: block;                
  transform: scale(1.0);
  filter: brightness(0.72);
  transition: transform .5s ease, filter .4s ease;
}

/* Zoom + brighten on hover/touch */
.story-link:hover .story-media img,
.story-link:focus .story-media img,
.story-link:active .story-media img {
  transform: scale(1.08);
  filter: brightness(0.9);
}

/* ===== CAPTION ===== */
.story-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 18px 16px;
  color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .45);
}

.story-title {
  margin: 0 0 8px; font-weight: 700;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.15;
  color: #fff;
}

.story-desc {
  margin: 0 0 14px; 
  font-size: 16px; 
  line-height: 1.5;
  color: #fff;
  /* background: rgba(0, 0, 0, 0.4); */
  transition: opacity 0.3s ease;
}

.story-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.18);
  padding: 7px 10px; border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}
.story-link:hover .story-more { background: var(--brand); }

/* ===== JOURNEY CSS ===== */
:root {
  --brand: #6C17BD;
  --ink: #0f172a;
  --soft: #eef1f6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

.journey-wrap {
   padding: clamp(28px,5vw,64px) 0;
    background: #fff; 
  }

.journey-grid {
  display: grid;
  grid-template-columns: 240px 2px 1fr;
  gap: clamp(18px,3vw,32px);
}

.journey-aside { 
  position: sticky; 
  top: 160px;          
  align-self: start; 
}

.journey-year {
  font-family: Poppins,system-ui,sans-serif;
  font-size: clamp(48px,8.2vw,108px);
  line-height: .9; font-weight: 800; letter-spacing: 2px; color: #111;
}

.journey-month {
  position: relative; 
  height: 36px; 
  margin-top: 10px; 
  overflow: hidden;
  font: 700 clamp(16px,2.2vw,22px)/1 Poppins,system-ui,sans-serif; 
  color: var(--brand);
}

.journey-month .jm-cur,
.journey-month .jm-next { 
  position: absolute; left: 0; right: 0; transition: transform .38s ease;
}

.journey-month .jm-next { transform: translateY(110%); opacity: .9; }

.journey-line { background: linear-gradient(#ddd,#cfd4df); width: 2px; border-radius: 1px; position: relative; }

.journey-line::before {
  content: ""; position: sticky; top: 188px; 
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--brand); display: block; transform: translateX(-4px);
}

.journey-list { display: grid; gap: clamp(26px,4vw,40px); }

.journey-item {
  min-height: 78vh; 
  display: flex; gap: clamp(20px,3.2vw,28px);
  align-items: center; justify-content: center;
  padding: clamp(12px,1.5vw,18px);
  border-radius: 16px;
  transition: opacity .35s ease, transform .35s ease, filter .35s ease;
  opacity: .15; transform: scale(.94);
  filter: grayscale(25%);
  scroll-margin-top: 180px;
}

.journey-item.is-active {
  opacity: 1; transform: scale(1);
  filter: none;
}

.ji-media {
  flex: 0 0 clamp(340px,36vw,520px);
  border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: #000;
}

.ji-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ji-body { max-width: clamp(360px,40vw,560px); color: #2a2f3a; text-align: left; }

.ji-title { margin: 0 0 .5rem; font: 800 clamp(22px,3vw,32px)/1.15 Poppins,system-ui,sans-serif; color: #121519; }

.ji-text { margin: 0 0 .6rem; font-size: clamp(14px,1.4vw,17px); line-height: 1.6; color: #475163; }

.ji-link { color: var(--brand); font-weight: 700; text-decoration: none; }

.ji-link:hover { text-decoration: underline; }

.ji-time { display: block; color: #8a90a3; font-size: 14px; }

/* ===================== SECTION WRAPPER ===================== */
.career-sections-wrapper {
  width: 100%;
  background: #faf8fc;
  padding: 60px 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

/* ===================== HEADING ===================== */
.career-heading {
  max-width: 850px;
  margin: 0 auto 40px;
  padding: 100px 16px;
}

.career-heading h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #6C17BD;
  margin-bottom: 14px;
  letter-spacing: 0.6px;
  line-height: 1.2;
}

.career-heading p {
  font-size: clamp(15px, 1.5vw, 18px);
  color: #5c5c5c;
  margin-bottom: 20px;
  line-height: 1.6;
}

.heading-line {
  display: inline-block;
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, #6C17BD, #9c4dff);
  border-radius: 2px;
}

/* ===================== FULL-WIDTH CARDS ===================== */
.career-sections-full {
  display: flex;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.career-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.4s ease;
  display: flex;
  align-items: flex-end;
}

.career-card + .career-card {
  margin-left: 0;
}

.career-card-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.career-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.career-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 18px;
  background: rgba(0, 0, 0, 0.45);
  text-align: center;
}

.career-card-content button {
  background-color: #6C17BD;
  color: #fff;
  padding: 10px 24px;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
.stories-row.is-marquee { scroll-snap-type: none; }


.career-card-content button:hover {
  background-color: #4d0e8f;
  transform: translateY(-2px);
}

/* ===================== HOVER EFFECT ===================== */
.career-sections-full:hover .career-card {
  filter: brightness(0.5) grayscale(100%);
}

.career-sections-full .career-card:hover {
  transform: scale(1.05);
  filter: brightness(1) grayscale(0%);
  z-index: 3;
}

.career-sections-full .career-card:hover img {
  transform: scale(1.1);
}

/* ============ OUR SPARKING JOURNEY SECTION ============ */
.journey-marquee {
  /* background: #faf8fc; */
  padding: 64px 0;
  text-align: center;
  overflow: hidden;
}

.journey-title {
  font-size: clamp(28px, 3vw, 44px);
  color: #6C17BD;
  font-weight: 800;
  margin-bottom: 8px;
}

.journey-subtitle {
  color: #7a6f8e;
  font-size: clamp(14px, 1.5vw, 18px);
  margin-bottom: 40px;
}

.journey-viewport {
  position: relative;
  overflow: hidden;
}

.journey-track {
  display: flex;
  gap: 80px;
  will-change: transform;
  padding: 40px 0px;
}

.journey-card {
  flex: 0 0 calc((100% - (28px * 2)) / 3);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--brand);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-align: center;
}

.journey-card.is-center {
  transform: scale(1.15);
  /* box-shadow: 0 26px 46px rgba(15, 14, 35, 0.22); */
    box-shadow: 1px 1px 10px 8px rgb(132, 128, 216);
  z-index: 2;
}

.journey-media {
  margin: 0;
  height: 280px;
  overflow: hidden;
}

.journey-media img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  display: block;
}

.journey-year {
  font-size: 16px;
  color: #6C17BD;
  font-weight: 700;
  margin: 12px 0 6px;
}

.journey-card p {
  font-size: 14px;
  color: #444;
  margin: 0 12px 16px;
}

/* ===================== MEDIA QUERIES (All moved to end) ===================== */

@media (max-width: 768px) {
  .hero-sec { height: 70vh; }
  .hero-sec .content1 h1 { font-size: 32px; }
}

@media (max-aspect-ratio: 3/4) {

}

@media (max-width: 768px) {
  .usp-video-section { height: 60vh; }
}

@media (min-width: 1200px) { 
  .story-card { width: 31.5%; } 
}

@media (max-width: 576px) {
  .story-media { aspect-ratio: 3 / 2; }
}

@media (max-width: 980px) {
  .journey-grid { grid-template-columns: 170px 2px 1fr; }
  .journey-item { flex-direction: column; min-height: 74vh; }
}

@media (max-width: 680px) {
  .journey-grid { grid-template-columns: 1fr; }
  .journey-line { display: none; }
  .journey-aside {
    position: sticky; top: 72px; background: #fff; z-index: 5;
    padding: 8px 0 12px; border-bottom: 1px solid var(--soft); margin-bottom: 8px;
    text-align: center;
  }
  .journey-item { min-height: 76vh; }
}

@media (max-width: 992px) {
  .career-sections-full { flex-direction: column; height: auto; }
  .career-card { height: 40vh; }
  .career-heading{
     padding: 14px 13px;
  }
  .career-heading h2 { font-size: 28px; }
}

@media (max-width: 992px) {
  .journey-card { flex: 0 0 calc((100% - 22px) / 2); }
}

@media (max-width: 640px) {
  .journey-card { flex: 0 0 100%; }
}
