:root {
  --font-open-sans: "Open Sans", serif;
  --color-white: hsla(0, 0%, 100%, 1);
  --color-black: hsla(0, 0%, 0%, 1);
}


.main {
  max-width: 100vw;
  overflow-x: hidden;
}

.intro {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

.intro__heading {
  font-size: clamp(1.875rem, 8.083vw + -0.217rem, 6.25rem);
  line-height: clamp(2.813rem, 9.815vw + 0.273rem, 8.125rem);
  text-align: center;
}


div:has(.hero-reveal) + .content {
  padding: 6.25rem 0;
}



/** 
 * Hero reveal
 */
.hero-reveal {
  background-color: var(--color-black);
  position: relative;
  min-height: 100vh !important;
}

.hero-reveal__header {
  align-items: center;
  background-color: var(--color-white);
  color: var(--color-black);
  display: flex;
  font-size: clamp(3.125rem, 12.61vw + -0.138rem, 15.625rem);
  line-height: clamp(4.688rem, 15.763vw + 0.609rem, 20.313rem);
  font-weight: 900;
  justify-content: center;
  left: 0;
  min-height: 100vh;
  position: relative;
  top: 0;
  will-change: transform;
  z-index: 1;
}

.hero-reveal_split {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 100%;
}

.hero-reveal_split_item {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
}
.hero-reveal_split_item:nth-child(1) {
  -webkit-clip-path: inset(0 0 calc(50% - 1px) 0);
  clip-path: inset(0 0 calc(50% - 1px) 0);
}
.hero-reveal_split_item:nth-child(2) {
  -webkit-clip-path: inset(calc(50% - 1px) 0 0 0);
  clip-path: inset(calc(50% - 1px) 0 0 0);
  left: 0;
  position: absolute;
  top: 0;
}

.hero-reveal__content {
  color: var(--color-white);
  display: flex;
  justify-content: center;
  padding: 0;
  position: relative;
  margin-top: 0vh;
}

.hero-reveal__content-inner {
  max-width: 85.25rem;
  position: relative;
}

.hero-reveal__content-p {
  padding-bottom: 8rem;
}

.hero-reveal__parallax {
  position: absolute;
  z-index: 0;
}

.hero-reveal__parallax-clock {
  position: absolute;
  left: -100px;
  top: -400px;
}

.hero-reveal__parallax-book {
  position: absolute;
  left: -200px;
  top: -400px;
}

.hero-reveal__parallax-alice {
  position: absolute;
  top: -500px;
}

.hero-reveal__parallax-kattle {
  position: absolute;
  left: 500px;
  filter: blur(2px);
  top: -300px;
}

.hero-reveal__parallax-card {
  position: absolute;
  left: 400px;
  filter: blur(2px);
  z-index: 1;
  top: -400px;
}
.hero-reveal__content {
  margin-top: -105vh;   /* gap adjust */
}

div:has(.hero-reveal) + .content {
  padding: 2rem 0;     /* content ka gap kam */
}

.ikx-gallery-carousel,

 


/* ===== InkingKings ADD-ON SECTIONS (scoped, non-destructive) ===== */
:root{
  --ikx-accent:#1FE3C2;
  --ikx-bg-dark:#0a0a0a;
  --ikx-card:#121212;
  --ikx-stroke:#1c1c1c;
  --ikx-muted:#bfbfbf;
  --ikx-white:#ffffff;
  --ikx-offwhite:#f5f5f5;
  --ikx-btn:#f5efe7;
  --ikx-btn-hover:#ddd0c5;
}
.ikx { font-family: inherit; color: inherit; }
.ikx .section { padding:72px 0; }
.ikx .container { width:min(1200px, 92%); margin:0 auto; }
.ikx .title { font-size:48px; font-weight:700; letter-spacing:2px; text-transform:uppercase; text-align:center; padding-bottom: 30px; }
.ikx .title span{ color:var(--ikx-accent); }
.ikx .muted{ color:var(--ikx-muted); }
.ikx .btn{ display:inline-block; padding:12px 26px; background:var(--ikx-btn); color:#000; text-transform:uppercase; font-weight:700; letter-spacing:.5px; border-radius:8px; }
.ikx .btn:hover{ background:var(--ikx-btn-hover); }

/* Stats */
.ikx-stats{ background:var(--ikx-bg-dark); border-top:1px solid var(--ikx-stroke); border-bottom:1px solid var(--ikx-stroke); }
.ikx-stats .grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.ikx-stat{ text-align:center; }
.ikx-stat .value{ font-size:28px; font-weight:800; color:var(--ikx-accent); }
.ikx-stat .label{ font-size:12px; letter-spacing:1px; text-transform:uppercase; color:#d5d5d5; }
/* Force stats into one single row on mobile */
@media (max-width: 720px) {
  .ikx-stats .grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;        /* small gap */
    padding: 8px 4px;
  }

  .ikx-stat {
    flex: 1;         /* all equal width */
    text-align: center;
  }

  .ikx-stat .value {
    font-size: 10px; /* smaller numbers */
    font-weight: 70;
  }

  .ikx-stat .label {
    font-size: 10px;  /* tiny labels */
    line-height: 1.1;
  }
}


/* Tighter layout for Excellence section */
.ikx-excellence .cols {
  display: grid;
  grid-template-columns: 60% 40%; /* text wider, image smaller */
  gap: 20px;
  align-items: center;
}

.ikx-excellence .ikx-frame {
  max-width: 380px;   /* prevent oversized image */
  margin: 0 auto;     /* center on desktop */
}

.ikx-excellence img {
  border-radius: 6px;
  width: 100%;
  height: auto;
}


.ikx-excellence .muted,
.ikx .muted {
  position: relative;
  transition: color 0.3s ease;
  cursor: default;
}

.ikx-excellence .muted:hover,
.ikx .muted:hover {
  color: var(--ikx-accent); /* highlight whole text */
  transition: color 0.3s ease;
}

.ikx-excellence .muted:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--ikx-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.ikx-excellence .muted:hover::after {
  transform: scaleX(1);
}



/* New 3D sliding gallery */
/* Balanced 3D sliding gallery */
.ikx-gallery {
  background: #000; 
  color: #fff;
  overflow: hidden;
  position: relative;
}

.ikx-gallery .title { color: #fff; }
.ikx-gallery .muted { color: #aaa; }

.ikx-gallery-carousel {
  overflow: hidden;
  width: 100%;
  perspective: 1000px; 
  margin-top: 10px;
}

.ikx-gallery-track {
  display: flex;

  width: calc(300px * 16); /* 16 images (8 duplicated) */
  animation: ikx-slide 60s linear infinite;
}

.ikx-gallery-track img {
  width: 400px;
  height: 
00px;
  object-fit: cover;
  margin: 0 12px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  transform: rotateY(6deg);
  transition: transform 0.3s ease;
}

.ikx-gallery-track img:hover {
  transform: rotateY(0) scale(1.05);
}

@keyframes ikx-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Mobile: 2 videos side by side but larger */
@media (max-width: 720px) {
  .hero-content {
    flex-direction: row;
    gap: 8px;                 /* small gap between videos */
  }

  .hero-content video {
    flex: 1;
    max-width: 48% !important; /* take more width */
    height: 350px !important;  /* increase height slightly */
    object-fit: cover;
  }
}



/* Responsive tweaks */
/* Force bigger gallery images on mobile */
@media (max-width: 768px) {
  .ikx-gallery-track img {
    width: 100% !important;   /* full width */
    max-width: 360px;         /* prevent overflow */
    height: 480px !important; /* taller images */
    object-fit: cover !important;
  }
}

/* Institute (offwhite) */
.ikx-institute{ background:var(--ikx-offwhite); color:#000; }
.ikx-institute .title span{ color:#0b8; }
.ikx-institute .muted{ color:#333; }
.ikx-institute .cols{ display:grid; grid-template-columns:1.1fr .9fr; gap:28px; align-items:center; }
.ikx-list{ list-style:none; padding-left:0; margin:18px 0 0; }
.ikx-list li{ background:#fff; border:1px solid #e9e9e9; border-radius:12px; padding:12px 14px; margin-bottom:10px; box-shadow:0 6px 20px rgba(0,0,0,.06); }
.ikx-frame {
  background:#fff;
  border:2px solid #e9e9e9;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  border-radius:10px;

  display:inline-block;
}

.ikx-frame img {
  display:block;
  width: 100%;
  height: 460px;;
  object-fit:cover;   /* image box ke hisaab se crop/fit hogi */
  border-radius:8px;  /* andar ke image ke corners round */
}


/* Why Choose */
.ikx-why{ background:var(--ikx-bg-dark); }
.ikx-why .grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.ikx-why .ikx-card p{ color:var(--ikx-muted); font-size:14px; margin:0; }

/* Reviews (light) */
.ikx-reviews{ background:#fff; color:#000; }
.ikx-reviews .title{ color:#000; }
.ikx-review{ max-width:560px; margin:0 auto; background:#fff; border:1px solid #ececec; border-radius:16px; padding:20px; box-shadow:0 12px 36px rgba(0,0,0,.08); text-align:center; }
.ikx-stars{ color:#ffb400; letter-spacing:2px; font-size:18px; }
.ikx-quote{ font-size:18px; margin:10px 0; color:#222; }
.ikx-author{ font-weight:700; }
.ikx-author small{ display:block; color:#666; }

/* Contact (dark gradient) */
.ikx-contact{ background: radial-gradient(90% 120% at 0% 100%, rgba(31,227,194,.15) 0%, rgba(31,227,194,0) 50%), linear-gradient(#070707, #0f0f0f); }
.ikx-contact .cols{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.ikx-form input, .ikx-form textarea{ width:100%; padding:12px; border-radius:10px; background:#0d0d0d; border:1px solid #202020; color:#fff; }
.ikx-form ::placeholder{ color:#9b9b9b; }
.ikx-visit{ background:linear-gradient(145deg, rgba(31,227,194,.1), rgba(31,227,194,.05)); border:1px solid #173e38; padding:20px; border-radius:16px; color:#dff9f4; }
.ikx-visit ul{ list-style:none; padding-left:0; margin:0; }
.ikx-visit li{ display:flex; gap:10px; margin-bottom:10px; }

/* Utility */
.ikx.center{text-align:center}

/* Responsive */

.ikx-stat .value {
  font-size: 36px;
  font-weight: 700;
  color: #1fe3c2;
  transition: all 0.3s ease;
}
/* logo image css */
/* LOGO image: force size + remove filters */
.center-badge img {
  display: block;
  width: 120px;   /* width badhaya */
  height: 120px;  /* height badhaya */
  
  filter: none !important;
  -webkit-filter: none !important;
  image-rendering: auto;
  pointer-events: none;
  /* edge visibility on any bg */
}

/* caption */
.center-badge .cap {
  font-size: 14px;   /* thoda bada font */
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1fe3c2;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}


.contact-list {
  list-style: none;       /* bullets remove */
  padding: 0;
  margin: 0;
}

.contact-list li {
  padding: 8px 0;         /* har line ke upar-niche equal space */
  font-size: 15px;        /* readable text */
  line-height: 1.6;       /* thoda airy feel */
  
}

.contact-list li:last-child {
  border-bottom: none;    /* last line me divider na ho */
}

.footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 10px 5px;
  margin-top: 40px;
}

.footer-socials {
  display: flex;
  justify-content: center;   /* center align */
  gap: 40px;                 /* icons ke beech space */
  margin-bottom: 20px;
}

.footer-socials .social-icon {
  font-size: 26px;          /* icon size */
  color: #aaa;
  transition: all 0.3s ease;
}

.footer-socials .social-icon.instagram:hover { color: #E4405F; transform: scale(1.2); }
.footer-socials .social-icon.facebook:hover { color: #1877F2; transform: scale(1.2); }
.footer-socials .social-icon.twitter:hover { color: #1DA1F2; transform: scale(1.2); }
.footer-socials .social-icon.whatsapp:hover { color: #25D366; transform: scale(1.2); }

.footer-copy {
  font-size: 18px;
  color: #888;
}/* ===== 3D Hover Nav (desktop) ===== */
.navbar { perspective: 900px; } /* depth for children */ /* b-no-services-linked.html me navbar present hai */ 
.navbar-nav .nav-link{
  position: relative;
  display:inline-block;
  padding:8px 12px;
  color:#fff !important;
  transform-style: preserve-3d;
  transition: transform .35s ease, color .35s ease, text-shadow .35s ease;
}

/* Navbar socials (mobile only) */
.nav-socials {
  display: flex;
  gap: 14px;
  margin-left: auto;
  margin-right: 5px;
  align-items: center;
}

.nav-socials a {
  font-size: 20px;
  color: #fff;
  transition: color 0.3s ease;
}

.nav-socials a:hover {
  color: #1FE3C2;
}

/* Fix offcanvas menu background full height */
.offcanvas {
  background: rgba(20,20,20,0.95) !important;
  height: 100vh !important;   /* full screen */
}


/* 3D “plate” behind text */
.navbar-nav .nav-link::before{
  content:"";
  position:absolute;
  inset:-8px -12px;
  background: rgba(31,227,194,.08);
  border:1px solid rgba(31,227,194,.18);
  border-radius:10px;
  transform: translateZ(-8px) scale(.96) rotateX(0deg);
  opacity:0;
  box-shadow: 0 16px 30px rgba(0,0,0,.35);
  transition: transform .35s ease, opacity .35s ease, box-shadow .35s ease;
  pointer-events:none;
}

/* glowing gradient underline (on Z layer) */
.navbar-nav .nav-link::after{
  content:"";
  position:absolute;
  left:50%; bottom:-6px;
  width:0; height:2px;
  background: linear-gradient(90deg, var(--ikx-accent), #00c6ff);
  transform: translateX(-50%) translateZ(6px);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(31,227,194,.65);
  transition: width .35s ease;
  pointer-events:none;
}

/* Hover state = lift + tilt + glow */
.navbar-nav .nav-link:hover{
  color: var(--ikx-accent) !important;
  transform: translateZ(10px) rotateX(8deg);
  text-shadow: 0 6px 18px rgba(31,227,194,.35);
}
.navbar-nav .nav-link:hover::before{ 
  opacity:1; 
  transform: translateZ(-2px) scale(1) rotateX(6deg);
  box-shadow: 0 24px 40px rgba(0,0,0,.45);
}
.navbar-nav .nav-link:hover::after{ width:84%; }

/* Active page state = subtle persistent highlight */
.navbar-nav .nav-link.active{
  color: var(--ikx-accent) !important;
}
.navbar-nav .nav-link.active::after{ width:60%; }


/* Navbar link */
.navbar-nav .nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 10px;
  font-size: 0.95rem;
  color: #fff !important;
  transition: color 0.25s ease;
}

/* Underline with gradient fade ends */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent 0%, 
    var(--ikx-accent, #1FE3C2) 20%, 
    var(--ikx-accent, #1FE3C2) 80%, 
    transparent 100%
  );
  transform: translateX(-50%);
  border-radius: 2px;
  opacity: 0;
  transition: width 0.3s ease, opacity 0.2s ease;
}

/* Hover state */
.navbar-nav .nav-link:hover {
  color: var(--ikx-accent, #1FE3C2) !important;
}
.navbar-nav .nav-link:hover::after {
  width: 70%;   /* underline size */
  opacity: 1;   /* fade-in effect */
}

/* Active link (persistent underline) */
.navbar-nav .nav-link.active {
  color: var(--ikx-accent, #1FE3C2) !important;
}
.navbar-nav .nav-link.active::after {
  width: 50%;
  opacity: 1;
}


/* Reduce vertical gap below stats on mobile */
@media (max-width: 720px) {
  .ikx-stats.section {
    padding-bottom: 10px !important; /* reduce bottom space */
    padding-top: 30px !important;    /* also shrink top space */
  }
}
@media (max-width: 768px) {
  /* Force navbar to stretch fully */
  .navbar .container-fluid.nav-bar-custom {
    padding-left: 6px !important;
    padding-right: 0 !important;  /* remove right gap */
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  /* Right section: socials + menu */
  .nav-right {
    display: flex;
    align-items: center;
    gap: 05px; /* spacing between IG, WA and menu */
    margin-right: 0 !important;
  }

  /* Push menu toggler to the very edge */
  .navbar-toggler {
    margin: 0 !important;
    padding-right: 0 !important;
    right: 0 !important;
  }
}


/* animation *.

/* ===== Global smooth scroll + motion safety ===== */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* ===== Hero videos: TOP/BOTTOM converge to center ===== */
.hero-content { overflow: visible; }

.video-left, .video-right {
  position: relative;
  z-index: 1;
  animation-fill-mode: forwards;
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
  will-change: transform, opacity, filter;
}

/* New keyframes: one falls from top, one rises from bottom */
@keyframes enterFromTop {
  0%   { transform: translateY(-140px) scale(.98); opacity: 0; filter: saturate(.6) blur(1px); }
  60%  { transform: translateY(10px)   scale(1.02); opacity: 1; filter: none; }
  100% { transform: translateY(0)      scale(1); }
}
@keyframes enterFromBottom {
  0%   { transform: translateY(140px)  scale(.98); opacity: 0; filter: saturate(.6) blur(1px); }
  60%  { transform: translateY(-10px)  scale(1.02); opacity: 1; filter: none; }
  100% { transform: translateY(0)      scale(1); }
}

/* Subtle idle float (optional) */
@keyframes idleFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* Map classes: left one comes from TOP, right one comes from BOTTOM */
.video-left  { animation: enterFromTop 2.2s ease-out .15s both, idleFloat 6s ease-in-out 1.3s infinite; }
.video-right { animation: enterFromBottom 2.2s ease-out .15s both, idleFloat 6s ease-in-out 1.5s infinite; }

/* Hover par idle float pause (optional) */
.video-left:hover, .video-right:hover { animation-play-state: paused; }

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
  .video-left, .video-right { animation: none !important; }
}
/* Overlay parallax same rahega on .overlay-wrapper (JS se X-translate) */
.overlay-wrapper { will-change: transform; transition: transform .25s ease-out; }

/* New: text ka entrance from bottom */
.overlay-inner {
  will-change: transform, opacity;
  opacity: 0;
  transform: translateY(50px);
  /* Delay ~1.5s = videos (1.5s + .10s buffer) ke baad start */
  animation: overlayEnterFromBottom 1.2s ease-out 2.5s both;
}

@keyframes overlayEnterFromBottom {
  0%   { opacity: 0; transform: translateY(50px); }
  60%  { opacity: 1; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .overlay-inner { animation: none !important; opacity: 1; transform: none; }
}

/* Overlay text: half overlap on top of video (move up) */
.overlay-wrapper{
  position: absolute;
  bottom: -90px;                 /* pehle -20px tha; 30px se text upar aayega */
  left: 50%;
  transform: translateX(-50%);  /* center lock */
  z-index: 5;
  /* baki tumhara styling same rahe */
  opacity: 0;
  animation: overlayStraightUp 1.2s ease-out 2.5s forwards;
}

@keyframes overlayStraightUp{
  0%   { opacity:0; transform: translate(-50%, 40px); }
  100% { opacity:1; transform: translate(-50%, 0); }
}

/* Mobile tweak (thoda kam) */
@media (max-width:720px){
  .overlay-wrapper{ bottom: 18px; }
}

}
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  will-change: transform, opacity;
  transition: transform .9s cubic-bezier(.2,.65,.2,1), opacity .9s ease;
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.in-view.reveal-up    { opacity: 1; transform: translateY(0); }
.in-view.reveal-left  { opacity: 1; transform: translateX(0); }
.in-view.reveal-right { opacity: 1; transform: translateX(0); }
/* Overlay on videos: half overlap & bottom entrance */
.overlay-wrapper{
  position: absolute;
  bottom: -15px;             /* half-overlap adjust: -10 to -30 try kar sakte ho */
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 5;
  display: flex;
  gap: 10px;
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  justify-content: center;
  pointer-events: none;

  opacity: 0;
  animation: overlayStraightUp 1.3s ease-out 2.4s forwards;
}
@keyframes overlayStraightUp{
  0%   { opacity:0; transform: translate(-50%, 40px); }
  100% { opacity:1; transform: translate(-50%, 0); }
}
.reveal-up, .reveal-left, .reveal-right, .reveal-top {
  opacity: 0;
  will-change: transform, opacity;
  transition: transform .9s cubic-bezier(.2,.65,.2,1), opacity .9s ease;
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-top   { transform: translateY(-40px); }

.in-view.reveal-up,
.in-view.reveal-left,
.in-view.reveal-right,
.in-view.reveal-top { opacity: 1; transform: translate(0,0); }
.gallery-reveal.reveal-right { transition-delay: .15s; }
/* ===== InkingKings THEME ===== */
:root{
  --ikx-accent:#1FE3C2;
  --ikx-bg-dark:#0a0a0a;
  --ikx-card:#121212;
  --ikx-stroke:#1c1c1c;
  --ikx-muted:#bfbfbf;
  --ikx-white:#ffffff;
  --ikx-offwhite:#f5f5f5;
  --ikx-btn:#f5efe7;
  --ikx-btn-hover:#ddd0c5;
}
.ikx{ font-family:inherit; color:inherit; }
.ikx .section{ padding:72px 0; }
.ikx .container{ width:min(1200px,92%); margin:0 auto; }
.ikx .title{ font-size:48px; font-weight:700; letter-spacing:2px; text-transform:uppercase; text-align:center; padding-bottom:30px; }
.ikx .title span{ color:var(--ikx-accent); }
.ikx .muted{ color:var(--ikx-muted); }
.ikx .btn{ display:inline-block; padding:12px 26px; background:var(--ikx-btn); color:#000; text-transform:uppercase; font-weight:700; letter-spacing:.5px; border-radius:8px; }
.ikx .btn:hover{ background:var(--ikx-btn-hover); }

/* Stats */
.ikx-stats{ background:var(--ikx-bg-dark); border-top:1px solid var(--ikx-stroke); border-bottom:1px solid var(--ikx-stroke); }
.ikx-stats .grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.ikx-stat{ text-align:center; }
.ikx-stat .value{ font-size:36px; font-weight:700; color:var(--ikx-accent); transition:all .3s ease; }
.ikx-stat .label{ font-size:12px; letter-spacing:1px; text-transform:uppercase; color:#d5d5d5; }
/* Mobile stats in one row */


/* Excellence */
.ikx-excellence .cols{ display:grid; grid-template-columns:60% 40%; gap:20px; align-items:center; }
.ikx-excellence .ikx-frame{ max-width:380px; margin:0 auto; }
.ikx-excellence img{ border-radius:6px; width:100%; height:auto; }

/* Gallery (3D sliding strip) */
.ikx-gallery{ background:#000; color:#fff; overflow:hidden; position:relative; }
.ikx-gallery-carousel{ overflow:hidden; width:100%; perspective:1000px; margin-top:10px; }
.ikx-gallery-track{ display:flex; width:calc(300px * 16); animation: ikx-slide 60s linear infinite; }
.ikx-gallery-track img{
  width:400px; height:600px; object-fit:cover; margin:0 12px; border-radius:14px;
  box-shadow:0 6px 18px rgba(0,0,0,.6); transform:rotateY(6deg); transition:transform .3s ease;
}
.ikx-gallery-track img:hover{ transform:rotateY(0) scale(1.05); }
@keyframes ikx-slide{ 0%{ transform:translateX(0); } 100%{ transform:translateX(-50%); } }

/* Reviews slider */
.ikx-reviews{ background:#fff; color:#000; }
.ikx-reviews .title{ color:#000; }
.ikx-reviews-carousel{ overflow:hidden; width:100%; perspective:1000px; margin-top:18px; }
.ikx-reviews-track{ display:flex; gap:18px; animation: ikx-reviews-slide 8s linear infinite; will-change:transform; }
.ikx-review-slide{ flex:0 0 auto; width:420px; transform:rotateY(6deg); transition:transform .3s ease; }
.ikx-review-slide:hover{ transform:rotateY(0) scale(1.03); }
.ikx-review-card{ background:#fff; border:1px solid #ececec; border-radius:16px; padding:20px; box-shadow:0 12px 36px rgba(0,0,0,.08); height:100%; }
.ikx-stars{ color:#ffb400; letter-spacing:2px; font-size:18px; }
.ikx-quote{ font-size:18px; margin:10px 0; color:#222; }
.ikx-author{ font-weight:700; }
.ikx-author small{ display:block; color:#666; }
@keyframes ikx-reviews-slide{ 0%{ transform:translateX(0); } 100%{ transform:translateX(-50%); } }

/* Contact */
/* Layout */
.ikx-contact .ikx-grid-2{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:28px;
}
@media (max-width: 980px){
  .ikx-contact .ikx-grid-2{ grid-template-columns:1fr; }
}

/* Form card */
.ikx-contact .ikx-form-card{
  border-radius:24px;
  border:1px solid rgba(42, 222, 243, 0.246);
  background:#0e0e0e;
  padding:22px;
}
.ikx-contact .ikx-form-title{ color:#ffffff; margin:0 0 6px; }

/* Inputs grid */
.ikx-contact .row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:640px){ .ikx-contact .row{ grid-template-columns:1fr; } }

.ikx-contact .field{ display:flex; flex-direction:column; gap:6px; }
.ikx-contact label{ font-size:12px; color:#bdbdbd; }
.ikx-contact input, .ikx-contact textarea{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(42, 222, 243, 0.246);
  background:#0a0a0a;
  color:#fff;
  outline:none;
}
.ikx-contact input:focus, .ikx-contact textarea:focus{
  border-color:#1FE3C2;
  box-shadow:0 0 0 5px rgba(31,227,194,.20);
}

/* Buttons */
.btn-pill{ border-radius:999px; }
.ikx-contact .actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:10px; }

/* Map card with inner frame */
.ikx-contact .ikx-map-card{
  border-radius:24px;
  border:1px solid rgba(42, 222, 243, 0.246);
  background:#0e0e0e;
  padding:18px;
}
.ikx-contact .ikx-map-frame{
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(42, 222, 243, 0.246);
}
.ikx-contact .ikx-map-actions{
  display:flex; justify-content:flex-end;
  padding-top:18px;
}

/* Quick info */
.ikx-contact .ikx-quick-info{ border-radius:22px; border:1px solid rgba(42, 222, 243, 0.246); background:#0e0e0e; padding:16px; }
.ikx-contact .ikx-quick-info .qi-item{
  padding:10px 12px; border:1px solid rgba(42, 222, 243, 0.246);
  border-radius:12px; background:#0a0a0a; margin-bottom:10px;
}


/* Footer */
.footer{ background:#000; color:#fff; text-align:center; padding:15px 10px; margin-top:40px; }
.footer-socials{ display:flex; justify-content:center; gap:100px; margin-bottom:20px; }
.footer-socials .social-icon{ font-size:26px; color:#aaa; transition:all .3s ease; }
.footer-socials .social-icon.instagram:hover{ color:#E4405F; transform:scale(1.2); }
.footer-socials .social-icon.facebook:hover{ color:#1877F2; transform:scale(1.2); }
.footer-socials .social-icon.twitter:hover{ color:#1DA1F2; transform:scale(1.2); }
.footer-socials .social-icon.whatsapp:hover{ color:#25D366; transform:scale(1.2); }
.footer-copy{ font-size:18px; color:#888; }

/* Logo image (strap) */
.center-badge img{ display:block; width:120px; height:120px; filter:none!important; image-rendering:auto; pointer-events:none; }
.center-badge .cap{ font-size:14px; letter-spacing:3px; text-transform:uppercase; color:#1fe3c2; font-weight:600; line-height:1; text-align:center; }


/* Navbar 3D hover + underline (desktop) */
.navbar{ perspective:900px; }
.navbar-nav .nav-link{ position:relative; display:inline-block; padding:8px 12px; color:#fff!important; transform-style:preserve-3d; transition: transform .35s ease, color .35s ease, text-shadow .35s ease; }
.navbar-nav .nav-link::before{
  content:""; position:absolute; inset:-8px -12px; background:rgba(31,227,194,.08);
  border:1px solid rgba(31,227,194,.18); border-radius:10px; transform:translateZ(-8px) scale(.96) rotateX(0);
  opacity:0; box-shadow:0 16px 30px rgba(0,0,0,.35); transition: transform .35s ease, opacity .35s ease, box-shadow .35s ease; pointer-events:none;
}
.navbar-nav .nav-link::after{
  content:""; position:absolute; left:50%; bottom:-6px; width:0; height:2px;
  background:linear-gradient(90deg, var(--ikx-accent), #00c6ff); transform:translateX(-50%) translateZ(6px);
  border-radius:2px; box-shadow:0 0 10px rgba(31,227,194,.65); transition:width .35s ease; pointer-events:none;
}
.navbar-nav .nav-link:hover{ color:var(--ikx-accent)!important; transform:translateZ(10px) rotateX(8deg); text-shadow:0 6px 18px rgba(31,227,194,.35); }
.navbar-nav .nav-link:hover::before{ opacity:1; transform:translateZ(-2px) scale(1) rotateX(6deg); box-shadow:0 24px 40px rgba(0,0,0,.45); }
.navbar-nav .nav-link:hover::after{ width:84%; }
.navbar-nav .nav-link.active{ color:var(--ikx-accent)!important; }
.navbar-nav .nav-link.active::after{ width:60%; }


/* ===== Global smooth scroll + motion safety ===== */
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; scroll-behavior:auto!important; }
}

/* ===== Hero videos: TOP/BOTTOM converge to center + idle float ===== */
.hero-content{ overflow:visible; }
.video-left,.video-right{
  position:relative; z-index:1; animation-fill-mode:forwards; border-radius:10px;
  box-shadow:0 14px 40px rgba(0,0,0,.45); will-change:transform, opacity, filter;
}
@keyframes enterFromTop{
  0%{ transform:translateY(-140px) scale(.98); opacity:0; filter:saturate(.6) blur(1px); }
  60%{ transform:translateY(10px) scale(1.02); opacity:1; filter:none; }
  100%{ transform:translateY(0) scale(1); }
}
@keyframes enterFromBottom{
  0%{ transform:translateY(140px) scale(.98); opacity:0; filter:saturate(.6) blur(1px); }
  60%{ transform:translateY(-10px) scale(1.02); opacity:1; filter:none; }
  100%{ transform:translateY(0) scale(1); }
}
@keyframes idleFloat{ 0%{ transform:translateY(0); } 50%{ transform:translateY(-6px); } 100%{ transform:translateY(0); } }
.video-left{  animation: enterFromTop 2.2s ease-out .15s both,   idleFloat 6s ease-in-out 1.3s infinite; }
.video-right{ animation: enterFromBottom 2.2s ease-out .15s both, idleFloat 6s ease-in-out 1.5s infinite; }
.video-left:hover,.video-right:hover{ animation-play-state:paused; }
@media (prefers-reduced-motion: reduce){ .video-left,.video-right{ animation:none!important; } }

/* --- Overlay: center locked (X) + smooth Y-only entry --- */
.overlay-wrapper{
  position: absolute;
  left: 50%;
  bottom: -15px;                 /* half overlap: -10 to -30 adjust kar sakte ho */
  transform: translateX(-50%);   /* X lock only */
  z-index: 5;
  pointer-events: none;
  will-change: transform;        /* wrapper ko GPU hint */
}

.overlay-inner{
  opacity: 0;
  transform: translateY(46px) translateZ(0);  /* Y-only; translateZ(0) = no jitter */
  will-change: transform, opacity;
  animation: overlayYIn 1.3s cubic-bezier(.2,.65,.2,1) 2.4s forwards;
}

@keyframes overlayYIn{
  0%   { opacity:0; transform: translateY(46px) translateZ(0); }
  60%  { opacity:1; transform: translateY(-6px) translateZ(0); }
  100% { opacity:1; transform: translateY(0) translateZ(0); }
}

/* ===== Scroll reveal system ===== */
.reveal-up,.reveal-left,.reveal-right,.reveal-top{
  opacity:0; will-change:transform, opacity;
  transition: transform .9s cubic-bezier(.2,.65,.2,1), opacity .9s ease;
}
.reveal-up{    transform:translateY(40px); }
.reveal-left{  transform:translateX(-40px); }
.reveal-right{ transform:translateX(40px); }
.reveal-top{   transform:translateY(-40px); }

.in-view.reveal-up,
.in-view.reveal-left,
.in-view.reveal-right,
.in-view.reveal-top{ opacity:1; transform:translate(0,0); }

/* Stagger support via --stagger */
.reveal-right,.reveal-left,.reveal-up,.reveal-top{ transition-delay: var(--stagger, 0ms); }

/* Navbar logo image */
.logo img {
  height: 42px;     /* navbar ke liye perfect size */
  display: block;
}

/* Track ko responsive banado (fixed width hatao) */
.ikx-gallery-track {
  display: flex;
  flex-wrap: nowrap;
  min-width: 100% !important;
  width: max-content !important; /* sirf jitni images ho utna hi */
  animation: ikx-slide 60s linear infinite;
}
/* ===== Custom Global Scrollbar (super thin + brand color) ===== */
::-webkit-scrollbar {
  width: 1px;                /* और ज्यादा पतला */
}

::-webkit-scrollbar-track {
  background: #000;          /* black track (match site bg) */
}

::-webkit-scrollbar-thumb {
  background: #000000;       /* brand accent color */
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: #000000;       /* hover पर थोड़ा dark */
}

@media (max-width: 900px){
  .ikx-services .grid, .ikx-why .grid{ grid-template-columns:repeat(2,1fr); }
  .ikx-gallery .grid{ grid-template-columns:repeat(2,1fr); }
  .ikx-excellence .cols, .ikx-institute .cols, .ikx-contact .cols{ grid-template-columns:1fr; }
  .ikx-excellence .cols {
    grid-template-columns: 1fr; /* stack text + image */
    text-align: center;
  }
  .ikx-excellence .ikx-frame {
    max-width: 280px; /* smaller image on small screens */
  }
  .ikx-services .grid, .ikx-why .grid{ grid-template-columns:repeat(2,1fr); }
  .ikx-gallery .grid{ grid-template-columns:repeat(2,1fr); }
  .ikx-excellence .cols, .ikx-institute .cols, .ikx-contact .cols{ grid-template-columns:1fr; }
   .ikx-excellence .cols{ grid-template-columns:1fr; text-align:center; }
  .ikx-excellence .ikx-frame{ max-width:280px; }

}
@media (max-width: 520px){
  .ikx-stats .grid{ grid-template-columns:repeat(2,1fr); }
  .ikx-gallery img{ height:140px; }
   .ikx-stats .grid{ grid-template-columns:repeat(2,1fr); }
  .ikx-gallery img{ height:140px; }
}
/* ---- Mobile fix for overlay text ---- */
@media (max-width: 720px)
 {
  .center-badge img { 
    width: 80px;    /* mobile pe thoda chhota */
    height: 80px; 
  }
  .center-badge .cap { 
    font-size: 11px; 
    letter-spacing: 2.5px; 
  }
  .navbar-nav .nav-link{
    transform:none !important;
    text-shadow:none !important;
  }
  .navbar-nav .nav-link::before{ display:none; }
  .navbar-nav .nav-link::after{
    bottom:-4px; height:2px; width:0;
    transition: width .25s ease;
  }
  .offcanvas .nav-link:hover::after{ width:70%; }
  .ikx-stats .grid
  { 
    display:flex;
    justify-content:space-between; 
    align-items:center; 
    gap:6px;
     padding:8px 4px; 
  }
  .ikx-stat
  {
     flex:1;
      text-align:center;
   }
  .ikx-stat .value
  {
     font-size:18px; 
  }
  .ikx-stat .label
  {
     font-size:10px;
      line-height:1.1; 
  }
  
  .center-badge img
  {
     width:80px;
      height:80px;
  }
  .center-badge .cap
  {
     font-size:11px;
      letter-spacing:2.5px; 
  }

  .navbar-nav .nav-link
  {
     transform:none!important; 
     text-shadow:none!important; 
  }
  .navbar-nav .nav-link::before
  { 
    display:none;
  }
  .navbar-nav .nav-link::after
  {
     bottom:-4px; height:2px; width:0; transition:width .25s ease; 
  }
  .offcanvas .nav-link:hover::after
  {
     width:70%; 
  }
  .overlay-wrapper
  {
     bottom: -10px;
  }
  .overlay-inner
  { 
    animation-delay: 2.4s; 
  }
   /* same delay; change if videos timing change */
  .hero-content
  {
     flex-direction:row;
      gap:8px;
  }
  .hero-content video
  {
     flex:1; max-width:48%!important;
      height:250px!important;
       object-fit:cover;
  }

  .overlay-wrapper {
    bottom: -35px;               /* -15 ki jagah +ve (upar laaya) */
    transform: translateX(-50%);
    max-width: 95%;            /* screen ke andar rahe */
    white-space: normal;       /* allow wrapping */
    text-align: center;        /* center align when wrapped */
  }
  .overlay-inner {
    font-size: 32px;           /* thoda chhota text */
    line-height: 1.2;
  }
  .overlay-inner span {
    display: block;            /* har word apni line me (wrap fix) */
  } 
  .center-badge {
display: none !important;
}
}
/* === Equal height for Form & Map cards (desktop) === */
:root{
  /* change this once to tune the height */
  --ikx-equal-card-height: 620px; /* 520–620 try kar sakte ho */
}

/* Make both tall cards share the same height */
.ikx-contact .ikx-form-card,
.ikx-contact .ikx-map-card{
  min-height: var(--ikx-equal-card-height);
}

/* Map card: make inner layout fill vertically so border heights match cleanly */
.ikx-contact .ikx-map-card{
  display: flex;
  flex-direction: column;
}

/* Map frame should grow to fill; button row stays at bottom */
.ikx-contact .ikx-map-frame{
  flex: 1 2 auto;
  min-height: 0;          /* prevents overflow in some browsers */
  display: block;
}

/* Let the iframe stretch to fill the available space */
.ikx-contact .ikx-map-frame iframe{
  width: 100%;
  height: 500px;
  display: block;
}

/* Actions row sits at the bottom of the map card */
.ikx-contact .ikx-map-actions{
  margin-top: 12
  px;
}

/* Mobile/tablet: stack naturally – remove forced equal height */
@media (max-width: 980px){
  .ikx-contact .ikx-form-card,
  .ikx-contact .ikx-map-card{
    min-height: initial;
  }
}

/* nav buttons: fix at screen center */
.ikx-lb-prev,
.ikx-lb-next {
  position: fixed;              /* was absolute */
  top: 50%;
  transform: translateY(-50%);  /* always center vertically */
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: 0;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 28px;
  z-index: 10000;               /* above everything */
  transition: background .2s ease, transform .1s ease;
}

.ikx-lb-prev { left: 20px; }   /* fixed 20px from left */
.ikx-lb-next { right: 20px; }  /* fixed 20px from right */

.ikx-lb-prev:hover,
.ikx-lb-next:hover {
  background: rgba(31,227,194,0.2);
  transform: translateY(-50%) scale(1.1);
}

/* Close button stays at top-right */
.ikx-lb-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: 0;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 30px;
  z-index: 10001;
}

/* Hide prev/next on very small screens */
@media (max-width: 520px) {
  .ikx-lb-prev,
  .ikx-lb-next {
    display: none;
  }
}
/* Gallery strip items */
.ikx-gallery-carousel { overflow: hidden; width: 100%; perspective: 1000px; }
.ikx-gallery-track { display:flex; gap:18px; align-items:center; will-change:transform; user-select:none; touch-action: pan-y; }
.ikx-gallery-item { flex:0 0 auto; width:360px; border-radius:14px; overflow:hidden; transition: transform .35s ease; }
.ikx-gallery-item img.gallery-img { width:100%; height:420px; object-fit:cover; display:block; transform: rotateY(6deg); transition: transform .35s ease, box-shadow .25s ease; cursor: zoom-in; }
.ikx-gallery-item:hover img.gallery-img { transform: rotateY(0deg) scale(1.03); box-shadow: 0 18px 40px rgba(0,0,0,0.6); z-index:5; }

/* responsive sizes */
@media (max-width: 980px) {
  .ikx-gallery-item { width:300px; }
  .ikx-gallery-item img.gallery-img { height:360px; }
}
@media (max-width: 520px) {
  .ikx-gallery-item { width:260px; }
  .ikx-gallery-item img.gallery-img { height:240px; }
}

/* Lightbox styles (same as earlier provided) */
.ikx-lightbox { position:fixed; inset:0; display:none; align-items:center; justify-content:center; z-index:9999; pointer-events:none; }
.ikx-lightbox.open { display:flex; pointer-events:auto; }
.ikx-lightbox .ikx-lb-backdrop { position:absolute; inset:0; background:rgba(6,6,6,0.88); backdrop-filter: blur(6px); }
.ikx-lb-inner { position:relative; max-width:min(1100px,95%); max-height:85vh; width:100%; z-index:3; padding:18px; box-sizing:border-box; display:flex; flex-direction:column; align-items:center; }
.ikx-lb-img { max-width:100%; max-height:80vh; object-fit:contain; border-radius:8px; box-shadow: 0 28px 80px rgba(0,0,0,0.7); transition: transform .3s ease, opacity .25s ease; background:#111; }
.ikx-lb-caption { margin-top:12px; color:#ddd; text-align:center; font-size:15px; z-index:3; }
.ikx-lb-close, .ikx-lb-prev, .ikx-lb-next { position:absolute; z-index:4; background:rgba(0,0,0,0.6); color:#fff; border:0; padding:10px 14px; border-radius:8px; cursor:pointer; font-size:24px; }
.ikx-lb-close { top:18px; right:18px; font-size:30px; line-height:1; }
.ikx-lb-prev { left:18px; top:50%; transform:translateY(-50%); }
.ikx-lb-next { right:18px; top:50%; transform:translateY(-50%); }
@media (max-width:520px) { .ikx-lb-prev, .ikx-lb-next { display:none; } .ikx-lb-caption { font-size:13px; } }
/* Gallery container: hide overflow but keep centering */
.ikx-gallery-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  perspective: 1000px;
  display: flex;
  justify-content: center;   /* center align */
}

/* Track: auto width but center inside container */
.ikx-gallery-track {
  display: flex;
  gap: 18px;
  align-items: center;
  will-change: transform;
  user-select: none;
  touch-action: pan-y;
  justify-content: center;   /* important for centering */
}


/*  newwww   */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
/* heavy -> lighter */
.some-el { filter: none; box-shadow: 0 6px 18px rgba(0,0,0,0.45); }

/* or only on hover, not always */
.some-el:hover { box-shadow: 0 16px 36px rgba(0,0,0,0.45); transition: box-shadow .28s ease; }


/* only for elements you animate frequently */
.hero-video, .ikx-gallery-item img {
  will-change: transform, opacity;
  backface-visibility: hidden; /* reduce subpixel aliasing */
}
/* ---------- Mobile-friendly gallery tweaks ---------- */
/* 1) Use native horizontal scroll + snap on small screens */
@media (max-width: 980px) {
  /* make carousel scrollable by touch */
  .ikx-gallery-carousel {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* allow track to be intrinsic width so native scroll works */
  .ikx-gallery-track {
    display: inline-flex;
    gap: 14px;
    padding: 12px;
    scroll-snap-type: x mandatory;      /* snap by item */
    scroll-padding: 50px;               /* visual center padding */
  }

  .ikx-gallery-item {
    flex: 0 0 auto;
    width: 70vw;                        /* bigger, mobile-friendly thumbnails */
    min-width: 220px;
    border-radius: 12px;
    scroll-snap-align: center;          /* snap to center */
    touch-action: pan-x;
    transition: transform .18s ease;
  }

  .ikx-gallery-item img.gallery-img {
    height: auto;
    max-height: 55vh;
    object-fit: cover;
    transform: none;                    /* remove 3D tilt on mobile */
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  }

  /* remove hover-only heavy styles on mobile */
  .ikx-gallery-item:hover img.gallery-img { transform: none; box-shadow: 0 10px 30px rgba(0,0,0,0.45); }

  /* bigger tap targets for accessibility */
  .ikx-gallery-item { padding: 6px; }
}

/* For very small phones, make the thumb almost full width */
@media (max-width: 460px) {
  .ikx-gallery-item { width: 86vw; min-width: 200px; }
  .ikx-gallery-item img.gallery-img { max-height: 50vh; }
}

/* reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .ikx-gallery-track,
  .ikx-gallery-item img { transition: none !important; animation: none !important; }
}

/* ================= Team section — final layout ================= */

/* container/viewport for carousel track */
.team-carousel { display:flex; align-items:center; gap:14px; justify-content:center; width:100%; }
.team-arrow { background:transparent; border:1px solid rgba(255,255,255,0.06); color:#fff; width:48px;height:48px;border-radius:10px;cursor:pointer; }

/* track is a fixed-width viewport (holds visible cards) */
.team-track {
  display:flex;
  gap:24px;
  overflow:hidden;
  align-items:flex-start;
  justify-content:center;
  width: min(1200px, 92%);
  padding: 8px 4px;
  box-sizing: border-box;
}

/* each card: two-per-row on desktop, one on mobile */
.team-card {
  background: #0a0a0a;
  border-radius: 14px;
  overflow: visible;
  flex: 0 0 calc(50% - 20px);   /* two cards per row */
  max-width: calc(50% - 20px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  transition: transform .26s ease, box-shadow .26s ease;
  position: relative;
  cursor: pointer;
}

/* hover lift */
.team-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(0,0,0,0.7); }

/* cover image big and fixed at top of card */
.team-cover { width:100%; height: 320px; overflow:hidden; border-radius: 20px 20px 0 0; background:#111; }
.team-cover img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .6s ease; }
.team-card:hover .team-cover img { transform: scale(1.03); }

/* caption (always visible under image) */
.team-caption { padding: 14px; background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0)); border-radius: 0 0 0 0; }
.team-name { font-family:'Oswald',sans-serif; font-size:18px; font-weight:700; color:#fff; margin-bottom:6px; }
.team-role { font-size:13px; color: #bdbdbd; }

/* bio (IN-FLOW PANEL under caption — hidden by default) */
.team-bio {
  display: none;
  padding: 14px;
  margin: 0 14px 14px 14px;  /* spacing from card edges */
  background: #0b0b0b;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 12px 40px rgba(0,0,0,0.65);
  color:#d6d6d6;
  font-size:14px;
  line-height:1.55;
}


/* only show description text — hide duplicate title/role if present inside .team-bio */
.team-bio .team-bio-title,
.team-bio .team-bio-role { display: none !important; }
.team-bio .team-bio-text { display:block; color:#dcdcdc; }

/* when open, bio shows */
.team-card.show-bio .team-bio { display:block; }

/* close button inside bio (right) */
.team-bio-close { float:right; background:transparent; border:none; color:#fff; font-size:20px; cursor:pointer; }

/* dots */
.team-dots { display:flex; gap:8px; justify-content:center; margin-top:12px; }
.team-dots button { width:10px;height:10px;border-radius:50%;border:none;background:rgba(255,255,255,0.12);cursor:pointer; }
.team-dots button.active { background: var(--ikx-accent); box-shadow: 0 6px 18px rgba(31,227,194,0.12); }

/* responsive: mobile 1 card per page */
@media (max-width: 768px) {
  .team-track { width: 94%; gap:18px; }
  .team-card { flex: 0 0 100%; max-width: 100%; }
  .team-cover { height: 220px; }
  .team-bio { margin-left: 12px; margin-right: 12px; }
  .team-arrow { display:none; } /* hide arrows on mobile */
}
/* ENSURE main cover stays visible when bio opens */
.team-card.show-bio .team-cover { display: block; }

/* Hide the duplicate small thumb inside the bio so only main image exists */
.team-bio .team-bio-thumb { display: none !important; }

/* Make sure bio sits neatly under caption and doesn't overlap the cover */
.team-bio {
  margin-top: 12px; /* spacing below caption */
  margin-left: 14px;
  margin-right: 14px;
  display: none; /* default hidden, toggled by .show-bio */
  position: relative;
}

/* Reveal */
.team-card.show-bio .team-bio {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* If you want the bio to appear full width of the card (aligned with cover) */
.team-card .team-bio {
  width: calc(100% - 28px); /* account for margins */
  box-sizing: border-box;
}

/* Small tweak: if bio text block looks cramped on mobile */
@media (max-width:768px) {
  .team-bio { margin-left: 12px; margin-right: 12px; }
}

/* cancel button hidden */
.team-bio-close { display: none !important; }

/* remove border & shadow around description */
.team-bio {
  border: none !important;
  box-shadow: none !important;
  background: transparent; /* अगर पूरा बैकग्राउंड dark चाहिए तो इस लाइन को हटा देना */
}
  /* Bio hidden state */
.team-bio {
  display: none;
  opacity: 0;
  transform: translateY(12px); /* नीचे से slide */
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* When bio is visible */
.team-card.show-bio .team-bio {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.team-bio .team-bio-text {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.team-card.show-bio .team-bio .team-bio-text {
  opacity: 1;
  transform: translateY(0);
}
.team-card.show-bio {
  box-shadow: 0 0 20px rgba(31,227,194,0.3); /* आपकी accent color */
  transition: box-shadow 0.35s ease;
}
.team-wrap {
  text-align: center;
  margin: 0 auto;
  max-width: 900px;
  padding: 40px 20px;
}

.team-title {
  font-family: 'Oswald', sans-serif;
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.team-title .accent {
  color: #1fe3c2; /* accent color like TRAINING */
}

.team-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #dcdcdc; /* light grey */
  margin-bottom: 10px;
}

.team-lead {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #a8a8a8;
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto;
}
.team-title {
  font-family: 'Oswald', sans-serif; /* SAME as Training Institute */
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-subtitle,
.team-lead {
  font-family: 'Roboto', sans-serif; /* SAME as Training Institute */
}
.team-title {
  font-size: 46px;       /* heading बड़ा और bold */
  font-weight: 700;
  letter-spacing: 0.5px; /* थोड़ी spacing clean look के लिए */
}

.team-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #dcdcdc;
  margin-top: 8px;
  margin-bottom: 10px;
}

.team-lead {
  font-size: 15px;
  font-weight: 300;
  color: #a8a8a8;
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto;
}
.team-title .accent {
  color: #1fe3c2; /* same accent as TRAINING */
}
.team-title {
  color: #ffffff; /* rest white on dark background */
}
.team-subtitle {
  color: #dcdcdc; /* light grey */
}
.team-lead {
  color: #a8a8a8; /* muted grey */
}

.team-wrap {
  text-align: center;
  margin: 0 auto;
  max-width: 900px;
  padding: 60px 20px;  /* ऊपर-नीचे spacing */
}

.team-title {
  margin-bottom: 12px;
}

.team-subtitle {
  margin-bottom: 8px;
}

.team-lead {
  margin-bottom: 40px; /* 👈 यह main gap cards से पहले */
}
.team-card {
  flex: 0 0 calc(50% - 12px);
  max-width: calc(50% - 12px);
}
.team-track {
  display: flex;
  gap: 24px;
  overflow: hidden;
  align-items: flex-start;
  justify-content: flex-start; /* पहले center था → अब start */
  width: min(1200px, 92%);     /* 👈 1000px से बढ़ाकर 1200px */
  padding: 8px 4px;
  box-sizing: border-box;
}

/* ====== Unified Team section sizing - paste AFTER existing team CSS ====== */

/* 1) set the site content max width here so team aligns with other sections
   Adjust --wrap-w to match the main content container of your site (e.g. 1200px or 1100px) */
:root {
  --wrap-w: 1200px;   /* <-- change this to your site's container width */
  --card-gap: 24px;   /* gap between cards */
}

/* ensure the section wrapper matches site width and centers */
.team-wrap {
  max-width: var(--wrap-w);
  margin: 0 auto;
  padding: 48px 20px; /* vertical spacing; adjust if needed */
  box-sizing: border-box;
  text-align: center;
}

/* make the track take the full available wrapper width and center its content */
.team-track {
  display: flex;
  gap: var(--card-gap);
  justify-content: center;  /* center cards inside wrapper */
  align-items: flex-start;
  overflow: hidden;         /* carousel behavior */
  width: 100%;              /* use full width of the wrapper */
  box-sizing: border-box;
  margin: 0 auto;
}

/* calculate exact card width so exactly 3 cards fit the wrapper (accounting for 2 gaps) */
/* formula: (wrapperWidth - totalGaps) / 3 */
.team-card {
  flex: 0 0 calc((100% - (2 * var(--card-gap))) / 3);
  max-width: calc((100% - (2 * var(--card-gap))) / 3);
  box-sizing: border-box;
}

/* keep card internals stable */
.team-cover { height: 260px; }
.team-cover img { width:100%; height:100%; object-fit:cover; display:block; }

/* ===== Team Card Height & Bigger Portrait ===== */

/* Card को थोड़ा लम्बा बनाने के लिए min-height बढ़ा दें */
.team-card {
  min-height: 460px;   /* default ~400px था, अब और ऊँचा */
  display: flex;
  flex-direction: column;
}

/* Cover image (portrait area) की height बढ़ा दी */
.team-cover {
  height: 460px;   /* पहले 260px था → अब बड़ा portrait look */
}
.team-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px 14px 0 0;
}

/* Caption और Bio नीचे fit रहे */
.team-caption {
  flex: 0 0 auto;
  padding: 16px;
}
.team-bio {
  flex: 1 1 auto;
  margin-top: 12px;
}

/* Responsive tweaks */
@media (max-width: 1100px) {
  .team-cover { height: 300px; }   /* टैबलेट पर थोड़ा छोटा */
}
@media (max-width: 768px) {
  .team-cover { height: 240px; }   /* मोबाइल पर adjust */
  .team-card { min-height: auto; } /* मोबाइल पर auto height */
}






/* Responsive: tablet -> 2 cards, mobile -> 1 card */



@media (max-width: 1100px) {
  /* show 2 cards — calc with 1 gap */
  .team-card {
    flex: 0 0 calc((100% - var(--card-gap)) / 2);
    max-width: calc((100% - var(--card-gap)) / 2);
  }
}

@media (max-width: 768px) {
  /* single column mobile */
  .team-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .team-cover { height: 360px; } /* optional smaller cover on mobile */
}

/* review */
/* Reviews carousel */
.ikx-reviews-carousel { position: relative; margin: 28px 0; overflow: hidden; }
.ikx-reviews-track { display: flex; gap: 18px; transition: transform 500ms cubic-bezier(.22,.9,.3,1); will-change: transform; align-items: stretch; }

.ikx-review-slide { flex: 0 0 calc(33.333% - 12px); box-sizing: border-box; padding: 8px; }
.ikx-review-card { background: #0f0f10; color: #fff; border-radius: 14px; padding: 18px; box-shadow: 0 6px 18px rgba(0,0,0,0.35); min-height: 180px; display:flex; flex-direction:column; justify-content:space-between; }

.ikx-stars { font-size: 14px; color: #ffd166; margin-bottom:8px; }
.ikx-quote { font-size: 14px; line-height:1.45; margin: 6px 0 12px; color: #e6e6e6; }
.ikx-author { font-weight:600; color:#fff; display:flex; flex-direction:column; gap:2px; }
.ikx-author small { font-weight:400; color:#bdbdbd; font-size:12px; }

/* Dots */
.ikx-dots { display:flex; gap:8px; justify-content:center; margin-top:16px; }
.ikx-dot { width:9px; height:9px; border-radius:50%; background: rgba(255,255,255,0.25); cursor:pointer; border: none; }
.ikx-dot.active { background: rgba(255,255,255,0.95); }

/* Responsive */
@media (max-width: 900px) {
  .ikx-review-slide { flex: 0 0 calc(50% - 9px); }
}
@media (max-width: 560px) {
  .ikx-review-slide { flex: 0 0 100%; }
  .ikx-review-card { padding: 14px; border-radius:10px; }
}
:root { --ikx-scroll-duration: 7s; }

.ikx-gallery-track {
  animation: ikx-slide var(--ikx-scroll-duration) linear infinite;
}

/* pause on hover */
.ikx-gallery-carousel:hover .ikx-gallery-track {
  animation-play-state: paused;
}

/* ===== Reviews scroll speed control (paste near :root or top of file) ===== */
:root {
  --ikx-gallery-duration: 60s;    /* tum already use kar rahe ho / example */
  --ikx-reviews-duration: 8s;    /* default reviews speed — chhota = faster */
}

/* Replace any direct animation declarations on .ikx-reviews-track */
.ikx-reviews-track {
  display: flex;
  gap: 18px;
  transition: transform 500ms cubic-bezier(.22,.9,.3,1);
  will-change: transform;
  align-items: stretch;
  animation: ikx-reviews-slide var(--ikx-reviews-duration) linear infinite;
}

/* pause reviews on hover for better UX */
.ikx-reviews-carousel:hover .ikx-reviews-track {
  animation-play-state: paused;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .ikx-reviews-track { animation: none !important; transition: none !important; }
}
