/* Investalk selected option – modern layout */
:root{
  --bg:#132837;
  --surface:#0f1a30;
  --surface2:#101f3a;
  --text:#e9eefc;
  --muted:rgba(233,238,252,.72);
  --border:rgba(255,255,255,.10);
  --accent:#4da3ff;
  --accent2:#22c55e;
  --shadow: 0 14px 46px rgba(0,0,0,.28);
}

html{scroll-behavior:smooth;}
body{
  font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1400px 800px at 40% 0%, rgba(77,163,255,.5), transparent 80%),
              radial-gradient(1000px 700px at 30% 0%, rgba(34,197,94,.7), transparent 35%),
              var(--bg);
  color: var(--text);
	font-size: 15px;
	line-height: 22px;
}
p { padding: 15px 0px 0px 0px; margin: 0px;}
.gold-color {color: #b78a2c !important;}
.ceo-message p { padding: 10px 0px 0px 0px}
/* --- Sticky top nav --- */
.navbar{
  background: rgba(11,18,32,.78) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
	padding: 5px 0px;
}
.navbar-brand{letter-spacing:.5px; font-weight:800;}
.navbar-toggler-icon {border: solid 1px #FFF !important; background-color: #FFF;}
.nav-link{    color: var(--muted) !important;
    font-weight: 400;
    padding: .2rem .7rem !important;
    border-radius: 30px;
    font-size: 15px;}
.nav-link:hover{color: var(--text) !important; background: rgba(255,255,255,.06);}
.nav-link.active{color: var(--text) !important; background: rgba(7,52,83,.5); border: 1px solid rgba(77,163,255,.28);}

/* prevent anchor jump hiding under sticky nav */
section{scroll-margin-top:90px;}
.gap { height: 25px; clear: both;}

/* --- Hero / Home --- */
.hero{
  padding: 60px 0 60px;
}
.hero-card{
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 48px 38px;
  box-shadow: var(--shadow);
}
.hero h1{
  font-size: clamp(34px, 40px, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.hero p{color: var(--muted); font-size: 18px; max-width: 72ch;}
.quick-links{display:flex; flex-wrap:wrap; gap:10px; margin-top: 20px;}
.quick-links a{
  text-decoration:none;
  color: var(--text);
  border:1px solid var(--border);
  padding:10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.03);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.quick-links a:hover{transform: translateY(-1px); border-color: rgba(77,163,255,.55); background: rgba(255,255,255,.06);}

/* --- Sections --- */
.section{padding: 70px 0;}
.section-title{
  font-size: clamp(22px, 2.5vw, 33px);
  font-weight: 800;
  letter-spacing: -.4px;
  margin-bottom: 26px;
}
.section-lead{color: var(--muted); margin-top:-6px; margin-bottom: 26px;}

/* --- Modern cards --- */
.card-shell{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}
.card-shell .card-body{padding: 14px 18px 20px;}
.tag{
display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .2px;
    color: var(--text);
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(77, 163, 255, .12);
}
.tag.green{background: rgba(34,197,94,.14);}
.tag.orange{background: rgba(249,115,22,.14);}
.tag-1{background: rgba(33,194,173,.35);}
.tag-2{background: rgba(230,209,65,.60);}
.card-title{font-weight:800; margin-top: 10px; margin-bottom: 6px;}
.card-text{color: var(--muted);}

/* carousel images */
.news-carousel .carousel-item img{
  width:100%;
  height: 220px;
  object-fit: cover;
}

/* --- Masonry layout for news --- */
.masonry{
  column-count: 3;
  column-gap: 18px;
}
@media (max-width: 992px){ .masonry{column-count:2;} }
@media (max-width: 576px){ .masonry{column-count:1;} }
.masonry-item{break-inside: avoid; margin: 0 0 18px;}

/* --- Reveal on scroll --- */
.reveal{/*opacity:0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease;*/}
.reveal.is-visible{opacity:1; transform: translateY(0);}

/* --- Well-being --- */
.well-grid{display:grid; gap:18px; grid-template-columns: repeat(12, 1fr);} 
.well-card{grid-column: span 4;} 
@media (max-width: 992px){ .well-card{grid-column: span 6;} }
@media (max-width: 576px){ .well-card{grid-column: span 12;} }
.icon-pill{
  width: 54px; height: 54px; display:grid; place-items:center;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  font-size: 24px;
  margin-bottom: 12px;
}

/* --- Footer --- */
.footer{
  border-top: 1px solid var(--border);
  padding: 26px 0;
  color: var(--muted);
}

/* === KPI Flip Cards === */
.kpi-flip-section{
  padding: 80px 0;
}

.kpi-flip-head{
  margin-bottom: 28px;
}

.kpi-flip-title{
  margin: 0 0 8px;
  font-weight: 800;
  color: #073353;
  letter-spacing: -0.3px;
}

.kpi-flip-subtitle{
  margin: 0;
  color: #6b7280;
}

/* Grid */
.kpi-flip-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.kpi-flip-card{
  grid-column: span 3;
  perspective: 1200px;
  outline: none;
}

@media (max-width: 992px){
  .kpi-flip-card{ grid-column: span 6; }
}
@media (max-width: 576px){
  .kpi-flip-card{ grid-column: span 12; }
}

/* Card inner */
.kpi-flip-inner{
  position: relative;
  width: 100%;
  min-height: 240px;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
  border-radius: 18px;
}

/* Flip on hover + keyboard focus */
.kpi-flip-card:hover .kpi-flip-inner,
.kpi-flip-card:focus .kpi-flip-inner,
.kpi-flip-card:focus-within .kpi-flip-inner{
  transform: rotateY(180deg);
}

/* Faces */
.kpi-flip-face{
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(0,0,0,.10);
  border: 1px solid rgba(7,51,83,.12);
}

/* Front (subsidiary) */

.kpi-front{

/*background:
        linear-gradient(
            180deg,
            rgba(17, 24, 39, 0.92),
            rgba(11, 18, 32, 0.96)
        );*/
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255,255,255,0.04);
    border-radius: 18px;
    color: #e5e7eb;



  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kpi-badge{
  display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 11px;
    color: #aaaaaa;
    background: rgba(7, 51, 83, .6);
    border: 1px solid rgba(7, 51, 83, .4);
    border-radius: 999px;
    padding: 3px 10px;
    width: fit-content;
	display: none;
}

.kpi-name{
  margin: 60px 0 0;
  font-weight: 600;
  color: #cccccc;
  font-size: 20px;
  text-align: center;
}

.kpi-front-meta{
  margin-top: 14px;
}

.kpi-chip{
  display: inline-flex;
 align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #4b5563;
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 999px;
    padding: 0px 7px;
    float: right;
}

/* Back (metrics) */
.kpi-back{
  transform: rotateY(180deg);
  background: #ffffff;
  padding: 18px;
  display: block;
  flex-direction: column;
  justify-content: space-between;
}

.kpi-back-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

.kpi-tag{
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: #073353;
  padding: 6px 10px;
  border-radius: 999px;
}

.kpi-period{
  font-size: 12px;
  color: #6b7280;
}

.kpi-metrics{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 25px;
}

.kpi-metric{
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  border: 1px solid rgba(7,51,83,.10);
  border-radius: 14px;
  padding: 12px;
	margin-bottom: 5px;
}

.kpi-number{
  font-size: 22px;
  font-weight: 900;
  color: #073353;
  line-height: 1.1;
}
.kpi-metricss {color: #073353;margin-top: 25px;}
.kpi-label{
  margin-top: 6px;
  font-size: 14px;
  color: #6b7280;
}

/* CTA */
.kpi-cta{
  margin-top: 14px;
  border: none;
  background: #ba8b3c;
  color: #fff;
  font-weight: 800;
  border-radius: 12px;
  padding: 10px 12px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.kpi-cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(186,139,60,.25);
}

/* VIDEO CARD OVERLAY */
.video-thumb {
    position: relative;
    cursor: pointer;
}



.video-thumb:hover::after {
    opacity: 1;
}

/* VIDEO MODAL */
.video-modal {
    background: linear-gradient(
        180deg,
        rgba(11, 18, 32, 0.95),
        rgba(5, 8, 14, 0.98)
    );
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 30px 80px rgba(0,0,0,.75);
}

.video-modal video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    border-radius: 12px;
}

.section-divider {
  position: relative;
  height: 40px;
  overflow: hidden;
}

.wave-divider span {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(77,163,255,0.0),
      rgba(77,163,255,0.25),
      rgba(186,139,60,0.25),
      rgba(77,163,255,0.25),
      rgba(77,163,255,0.0)
    );
  animation: waveMove 8s linear infinite;
  opacity: .7;
}

@keyframes waveMove {
  from { transform: translateX(-50%); }
  to   { transform: translateX(50%); }
}

.particle-divider {
  height: 70px;
  position: relative;
  background: transparent;
}

.particle-divider::before,
.particle-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(77,163,255,.35) 2px, transparent 3px),
    radial-gradient(circle, rgba(186,139,60,.35) 2px, transparent 3px);
  background-size: 40px 40px;
  animation: floatParticles 14s linear infinite;
  opacity: .35;
}

@keyframes floatParticles {
  from { background-position: 0 0; }
  to   { background-position: 200px 200px; }
}

.line-divider {
  height: 20px;
  margin: 20px 0;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(77,163,255,.4),
      rgba(186,139,60,.4),
      rgba(77,163,255,.4),
      transparent
    );
  animation: lineGlow 6s ease-in-out infinite;
}

@keyframes lineGlow {
  0%,100% { opacity: .4; }
  50%     { opacity: 1; }
}
button.btn.btn-outline-light {
    font-size: 14px;
    border-radius: 30px;
    padding: 3px 10px;
	margin-bottom: 10px;
}

/* WELLBEING SECTION */
.wellbeing-section {
  background: transparent;
}

.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.filter-btn.active {
  background: #ba8b3c;
  border-color: #ba8b3c;
  color: #000;
}

/* GRID */
.wellbeing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 992px) {
  .wellbeing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .wellbeing-grid { grid-template-columns: 1fr; }
}

/* --- Masonry layout for news --- */
/* MASONRY LAYOUT */
.wellbeing-masonry {
  column-count: 3;
  column-gap: 22px;
}

@media (max-width: 1200px) {
  .wellbeing-masonry { column-count: 3; }
}
@media (max-width: 992px) {
  .wellbeing-masonry { column-count: 2; }
}
@media (max-width: 576px) {
  .wellbeing-masonry { column-count: 1; }
}

.well-item {
  break-inside: avoid;
  margin-bottom: 22px;
}

/* DISTINCT BACKGROUNDS (NOT like News) */
.wb-bg-1 { background: linear-gradient(180deg, rgba(17,24,39,.95), rgba(11,18,32,.98)); }
.wb-bg-2 { background: linear-gradient(180deg, rgba(24,18,45,.95), rgba(14,10,28,.98)); }
.wb-bg-3 { background: linear-gradient(180deg, rgba(15,38,30,.95), rgba(9,26,20,.98)); }
.wb-bg-4 { background: linear-gradient(180deg, rgba(40,30,18,.95), rgba(28,20,12,.98)); }

/* CARD */
.wellbeing-section .card-shell {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0,0,0,.55);
}

/* ANIMATIONS (DIFFERENT PER ITEM) */
.fade-up { transform: translateY(40px); transition: .7s; }
.fade-up.visible { transform: none; }

.zoom-in { transform: scale(.92); transition: .7s; }
.zoom-in.visible { transform: scale(1); }

.slide-left { transform: translateX(-40px); transition: .7s; }
.slide-left.visible { transform: none; }

.slide-right { transform: translateX(40px); transition: .7s; }
.slide-right.visible { transform: none; }

.card-shell{
  overflow: hidden;          /* ensures nothing exceeds rounded corners */
}

.card-shell img{
  display: block;            /* removes inline-image gaps & overflow quirks */
  width: 100%;               /* force fit to container width */
  max-width: 100%;
  height: auto;              /* keep aspect ratio */
  object-fit: cover;         /* if a fixed height is set */
}


/* --- Footer --- */
.footer{
  border-top: 1px solid var(--border);
  padding: 26px 0;
  color: var(--muted);
}


/* BACKGROUND VARIATIONS (different from News) */
.wellbeing-bg-1 { background: linear-gradient(180deg, rgba(15,24,39,.9), rgba(11,18,32,.95)); }
.wellbeing-bg-2 { background: linear-gradient(180deg, rgba(24,15,39,.9), rgba(18,11,32,.95)); }
.wellbeing-bg-3 { background: linear-gradient(180deg, rgba(15,39,28,.9), rgba(11,32,20,.95)); }
.wellbeing-bg-4 { background: linear-gradient(180deg, rgba(39,28,15,.9), rgba(32,22,11,.95)); }

/* ITEM ANIMATIONS */
.zoom-in { transform: scale(.95); transition: .6s; }
.zoom-in.visible { transform: scale(1); }

.float-up { transform: translateY(40px); transition: .6s; }
.float-up.visible { transform: none; }

.slide-left { transform: translateX(-40px); transition: .6s; }
.slide-left.visible { transform: none; }

.slide-right { transform: translateX(40px); transition: .6s; }
.slide-right.visible { transform: none; }
/* Motion accessibility */
@media (prefers-reduced-motion: reduce){
  .kpi-flip-inner{ transition: none; }
}
/* NEW JOINERS SECTION */
.new-joiners-section {
  background: transparent;
}

.joiners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 992px) {
  .joiners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .joiners-grid { grid-template-columns: 1fr; }
}

/* CARD */
.joiner-card {
  background: linear-gradient(
    180deg,
    rgba(17,24,39,.95),
    rgba(11,18,32,.98)
  );
  border-radius: 18px;
  padding: 10px 15px;
  text-align: center;
  box-shadow: 0 18px 46px rgba(0,0,0,.55);
  border: 1px solid rgba(181,139,51,.26);
}

.joiner-card img {
  width: 125px !important;
  height: 125px !important;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 2px solid rgba(255,255,255,.15);
}

.joiner-card h5 {
  margin: 8px 0 4px;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
}

.joiner-card .designation {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  margin-bottom: 15px;
}

.joiner-card .company {
  font-size: 13px;
  color: rgba(186,139,60,.9);
  margin-bottom: 2px;
	line-height: 13px;
}

.joiner-card .date {
  font-size: 12px;
  color: rgba(255,255,255,.55);
}

/* ANIMATION */
.fade-up {
  transform: translateY(30px);
  transition: .6s ease;
}
.fade-up.visible {
  transform: none;
}
/* PROGRESS BAR */
#progressBarContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 9999;
}

#progressBar {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    #073353,
    #ba8b3c
  );
  transition: width 0.15s ease-out;
}

/* Cinematic typewriter title */
.cinematic-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #ffffff;
}

#twText {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

/* Activated state */
#twText.is-on {
  opacity: 1;
  transform: translateY(0);
}

/* Gold shimmer pass after typing completes */
#twText.shimmer::after {
  content: '';
  position: absolute;
  inset: -6px -24px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(186,139,60,0.0),
    rgba(186,139,60,0.75),
    rgba(186,139,60,0.0),
    transparent
  );
  transform: translateX(-120%);
  animation: shimmerSweep 1.2s ease-out forwards;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes shimmerSweep {
  to { transform: translateX(120%); }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  #twText {
    opacity: 1;
    transform: none;
    transition: none;
  }
  #twText.shimmer::after {
    animation: none;
  }
}