/* =========================================================
   NAVIRAH INNOVATIONS — DESIGN TOKENS
   Primary Navy: #0b3c5d   Primary Green: #37d837
========================================================= */

:root{
  --navy: #0b3c5d;
  --navy-deep: #082a42;
  --navy-darker: #061e30;
  --green: #37d837;
  --green-deep: #24a824;
  --green-soft: rgba(55,216,55,0.14);
  --white: #ffffff;
  --off-white: #f3f7f8;
  --ink: #0b1c28;
  --muted: #5f7a8c;
  --muted-light: #b7c8d3;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

h1, h2, h3, h4{
  font-family: var(--font-display);
}

section{
  padding: 110px 9%;
}

img{ max-width:100%; }

::selection{
  background: var(--green);
  color: var(--navy-darker);
}

::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background: var(--navy-darker); }
::-webkit-scrollbar-thumb{
  background: var(--green);
  border-radius:10px;
}

/* =========================================================
   NAVBAR
========================================================= */

.ni-navbar{
  background: var(--white);
  padding: 16px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 24px rgba(11,60,93,0.08);
  position: fixed;
  top: 0;
  z-index: 500;
  height: 100px; /* Navbar height same */
  position: fixed;
  left: 0;
  width: 100%;
  transition: transform 0.4s ease;
}

.ni-navbar.hide{
  transform: translateY(-100%);
}

.ni-logo{
  display: flex;
  align-items: center;
  gap: 12px;
}

.ni-logo img{
  width: auto;
  max-height: 110px; /* Logo bada hoga lekin navbar ki height nahi badhegi */
  object-fit: contain;
  display: block;
}

.ni-nav-links{
  display: flex;
  list-style: none;
  gap: 42px;
  align-items: center;
}

.ni-nav-links a{
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

.ni-nav-links a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--green);
  transition: width 0.3s;
}

.ni-nav-links a:hover{
  color: var(--green-deep);
}

.ni-nav-links a:hover::after{
  width: 100%;
}

.ni-login-nav-btn,
.ni-green-btn{
  background: var(--green);
  color: var(--navy-darker);
  border: none;
  padding: 13px 32px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.ni-login-nav-btn:hover,
.ni-green-btn:hover{
  background: var(--green-deep);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--green-soft);
}

.ni-nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}

.ni-nav-toggle span{
  width: 100%;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.3s;
}

.ni-nav-toggle.active span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.ni-nav-toggle.active span:nth-child(2){ opacity: 0; }
.ni-nav-toggle.active span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   HERO / BANNER
========================================================= */

.ni-banner-section{
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(55,216,55,0.10), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(55,216,55,0.08), transparent 40%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 165px 9% 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto 1fr;
  gap: 20px 60px;
  align-items: center;
  overflow: hidden;
}

.ni-banner-glow{
  position: absolute;
  top: -180px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: var(--green);
  filter: blur(110px);
  opacity: 0.28;
  border-radius: 50%;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

.ni-banner-tag{
  grid-column: 1 / -1;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
}

.ni-company-name{
  grid-column: 1 / -1;
  text-align: center;
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  margin-top: 10px;
  margin-bottom: -10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ni-company-name span{
  color: var(--green);
  text-shadow: 0 0 20px rgba(55,216,55,0.4);
}

@media(max-width: 900px){
  .ni-company-name{
    font-size: 22px;
  }
}

.ni-banner-heading{
  grid-column: 1 / -1;
  text-align: center;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding-bottom: 30px;
  border-bottom: 1px solid white;
}

.ni-white-text{ color: var(--white); }

.ni-green-text{
  color: var(--green);
  text-shadow: 0 0 30px rgba(55,216,55,0.45);
}

.ni-home-content h2{
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 22px;
}

.ni-home-content h2 span{
  color: var(--green);
}

.ni-home-content p{
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted-light);
  max-width: 560px;
}

.ni-home-buttons{
  margin-top: 36px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.ni-outline-btn{
  padding: 13px 30px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.ni-outline-btn:hover{
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-3px);
}

.ni-home-right{
  display: flex;
  justify-content: center;
  align-items: center;
}

.ni-glow-circle{
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 3px solid var(--green);
  box-shadow:
    0 0 25px rgba(55,216,55,0.4),
    0 0 60px rgba(55,216,55,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floaty 5s ease-in-out infinite;
}

@keyframes floaty{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-16px); }
}

.ni-glow-circle img{
  width: 92%;
  height: 92%;
  object-fit: cover;
  border-radius: 50%;
}

@media(max-width: 900px){
  .ni-banner-section{ grid-template-columns: 1fr; }
  .ni-banner-heading{ font-size: 34px; }
  .ni-home-content{ text-align: center; }
  .ni-home-content p{ margin: 0 auto; }
  .ni-home-buttons{ justify-content: center; }
  .ni-glow-circle{ width: 260px; height: 260px; margin-top: 40px; }
}

/* =========================================================
   SHARED EYEBROW LABEL
========================================================= */

.ni-eyebrow{
  display: inline-block;
  color: var(--green-deep);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ni-eyebrow-center{
  display: block;
  text-align: center;
}

/* =========================================================
   ABOUT
========================================================= */

.ni-about-section{
  position: relative;
  display: flex;
  gap: 80px;
  align-items: center;
  background: var(--off-white);
  overflow: hidden;
}

.ni-about-section::before{
  content: "";
  position: absolute;
  top: -140px;
  left: -140px;
  width: 380px;
  height: 380px;
  background: var(--green);
  filter: blur(100px);
  opacity: 0.10;
  border-radius: 50%;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

.ni-about-left{ flex: 1; position: relative; z-index: 1; }

.ni-about-left h2{
  font-size: 42px;
  margin-bottom: 24px;
  color: var(--navy);
}

.ni-about-left p{
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--muted);
}

.ni-about-visual{
  flex: 1;
  position: relative;
  z-index: 1;
}

.ni-about-illustration{
  width: 100%;
  max-width: 420px;
  margin: 0 auto 30px;
  display: block;
}

.ni-about-right{
  display: grid;
  gap: 22px;
}

.ni-about-box{
  background: var(--white);
  border: 1px solid rgba(11,60,93,0.08);
  box-shadow: 0 10px 30px rgba(11,60,93,0.06);
  padding: 30px 36px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.ni-about-icon{
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: linear-gradient(145deg, var(--navy), var(--navy-deep));
  color: var(--green);
  box-shadow: 0 8px 18px rgba(11,60,93,0.25);
}

.ni-card:hover,
.ni-about-box:hover{
  transform: translateY(-8px);
  border-color: var(--green);
  box-shadow: 0 20px 40px rgba(11,60,93,0.14), 0 0 0 1px var(--green-soft);
}

@media(max-width: 900px){
  .ni-about-section{ flex-direction: column; text-align: center; }
  .ni-about-box{ justify-content: center; }
}

/* =========================================================
   ABOUT POPUP  (separate id/class from the course popup)
========================================================= */

.ni-about-popup{
  position: fixed;
  inset: 0;
  background: rgba(6,20,32,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.ni-about-popup-box{
  width: 620px;
  max-width: 100%;
  background: var(--navy-deep);
  border: 1px solid var(--green);
  color: var(--white);
  padding: 45px;
  border-radius: 22px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 60px rgba(55,216,55,0.25);
}

.ni-about-popup-box h2{
  font-size: 34px;
  margin-bottom: 20px;
  color: var(--green);
}

.ni-about-popup-box p{
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted-light);
}

.ni-close-about{
  position: absolute;
  top: 14px;
  right: 22px;
  font-size: 34px;
  cursor: pointer;
  color: var(--white);
  line-height: 1;
}

.ni-close-about:hover{ color: var(--green); }

/* =========================================================
   TRAINING
========================================================= */

.ni-training-section{
  position: relative;
  background:
    radial-gradient(circle at 90% 10%, rgba(55,216,55,0.09), transparent 40%),
    radial-gradient(circle at 5% 90%, rgba(55,216,55,0.07), transparent 40%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  text-align: center;
  overflow: hidden;
}

.ni-training-section h2{
  color: var(--white);
  font-size: 40px;
  margin-bottom: 55px;
  font-weight: 800;
}

.ni-contact-section h2{
  color: var(--white);
  font-size: 40px;
  margin-bottom: 55px;
  font-weight: 800;
}

.ni-training-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  text-align: left;
  position: relative;
  z-index: 1;
}

.ni-card{
    position: relative;
    overflow: hidden;
    padding: 38px 34px;
    border-radius: 20px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.08);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

/* Dark overlay */
.ni-card::before{
  content:"";
    position:absolute;
    inset:0;
    background:rgba(0,20,35,.65);
    z-index:-1;
}

.ni-card-icon{
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 30px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(5px);
}

.ni-card-icon svg{
  width: 30px;
  height: 30px;
}

/* =========================================================
   TRAINING - STICKY IMAGE GALLERY
========================================================= */

.ni-sticky-img.active{
  opacity: 1;
  transform: translateZ(0) scale(1);
}

.ni-sticky-text{
  display: flex;
  flex-direction: column;
  gap: 260px;
  padding-bottom: 200px;
}

.ni-sticky-item{
  opacity: 0.35;
  transition: opacity .4s ease;
}

.ni-sticky-item.active{
  opacity: 1;
}

.ni-sticky-item h3{
  color: var(--white);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
}

.ni-sticky-item p{
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  line-height: 1.7;
  max-width: 460px;
}

@media (max-width: 900px){
  .ni-sticky-gallery{
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .ni-sticky-visual{
    position: sticky;
    top: 70px;
    height: 280px;
  }
  .ni-sticky-text{
    gap: 140px;
    padding-bottom: 100px;
  }
}

/* Navbar - Visit Centre of Excellence button */
.ni-coe-btn{
  color: #37d837;
  border: 2px solid rgba(55,216,55,0.5);
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.ni-coe-btn:hover{
  background: #092e48;
  border-color: var(--green);
  transform: translateY(-1px);
}

.ni-nav-coe-mobile{ display: none; }

@media (max-width: 900px){
  .ni-coe-btn{
    display: none; /* keep it in the mobile menu instead of crowding the navbar */
  }
  .ni-nav-coe-mobile{ display: list-item; }
}

.ni-card h3{
  font-size: 20px;
  margin-bottom: 12px;
  color: #fff;
}

.ni-card p{
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  font-size: 15px;
}

.ni-card-link{
  display: inline-block;
  margin-top: 20px;
  color: #37d837;
  font-weight: 700;
  font-size: 14px;
}

.ni-card:hover{
    transform: translate3d(0,-6px,0);
    border-color:#37d837;
}

.ni-card:nth-child(1){
  background-image: url("/public/images/FillD1.jpg");
}

.ni-card:nth-child(2){
  background-image: url("/public/images/AI1.jpg");
}

.ni-card:nth-child(3){
  background-image: url("/public/images/R1.jpg");
}

.ni-card:nth-child(4){
  background-image: url("/public/images/EM1.jpg");
}

.ni-card:nth-child(5){
  background-image: url("/public/images/D1.jpg");
}

.ni-card:nth-child(6){
  background-image: url("/public/images/nano1.jpg");
}

/* =========================================================
   TRAINING COURSE POPUP (unique id — bug fix target)
========================================================= */

.ni-course-popup{
  position: fixed;
  inset: 0;
  background: rgba(6,20,32,0.88);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  overflow: hidden
}

.ni-course-box{
  width: 780px;
  max-width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  background-color: #637270;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border: 1px solid var(--green);
  border-radius: 40px 0px 0px 0px;
  padding: 46px;
  box-shadow: 0 0 60px rgba(55,216,55,0.25);
  overflow-x: hidden;
  padding-right: 20px;
  box-sizing: border-box;
  
}

.ni-course-icon{
  display: block;
  font-size: 46px;
  margin-bottom: 14px;
}

.ni-course-box h2{
  color: #092e48;
  font-size: 32px;
  margin-bottom: 22px;
}

.ni-course-box p{
  line-height: 1.85;
  color: black;
  font-size: 16px;
  text-align: justify;
}

.ni-close-course{
  position: absolute;
  top: 18px;
  right: 26px;
  font-size: 36px;
  cursor: pointer;
  color: black;
  line-height: 1;
}

.ni-close-course:hover{ color: red; }

.ni-course-box::-webkit-scrollbar{ width: 6px; }
.ni-course-box::-webkit-scrollbar-thumb{ background: #37d837; border-radius: 10px; }
.ni-course-box::-webkit-scrollbar-track{
  background: transparent;
}

@media(max-width: 768px){
  .ni-course-box{ padding: 30px; }
  .ni-course-box h2{ font-size: 26px; }
}

/* =========================================================
   EXPLORE PROGRAMS BUTTON + MODULES VIEW
========================================================= */

.ni-explore-btn{
  display: inline-block;
  margin-top: 26px;
  background: var(--green);
  color: var(--navy-darker);
  border: none;
  padding: 13px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.ni-explore-btn:hover{
  background: var(--green-deep);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--green-soft);
}

.ni-modules-wrap{
  display: none;
  margin-top: 8px;
}

.ni-modules-wrap.open{
  display: block;
}

.ni-modules-back{
  display: inline-block;
  color: var(--green);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: 0.25s;
}

.ni-modules-back:hover{
  color: var(--green-deep);
  transform: translateX(-4px);
  display: inline-block;
}

.ni-modules-tabs{
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.ni-modules-tab{
  background: rgba(55,216,55,0.08);
  color: var(--muted-light);
  border: 1px solid rgba(55,216,55,0.25);
  padding: 9px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: 0.25s;
}

.ni-modules-tab:hover{
  border-color: green;
  color: #092e48;
}

.ni-modules-tab.active{
  background: var(--green);
  color: var(--navy-darker);
  border-color: var(--green);
}

.ni-modules-label{
  color: var(--green);
  font-size: 18px;
  margin-bottom: 18px;
}

.ni-modules-group-title{
  color: #092e48;
  font-size: 15px;
  margin: 20px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ni-modules-group-title:first-of-type{
  margin-top: 0;
}

.ni-modules-list{
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ni-modules-list li{
  position: relative;
  padding-left: 26px;
  color: black;
  font-size: 15px;
  line-height: 1.5;
}

.ni-modules-list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}

@media(max-width: 480px){
  .ni-modules-tabs{ gap: 8px; }
  .ni-modules-tab{ padding: 8px 16px; font-size: 12.5px; }
}

/* =========================================================
   ENROLL NOW BAR (inside the modules popup)
========================================================= */

.ni-enroll-bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding: 20px 24px;
  border-radius: 18px;
  background: lightcyan;
  border: 1px dashed rgba(55,216,55,0.4);
}

.ni-enroll-bar-text{
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ni-enroll-bar-text strong{
  color: #092e48;
  font-size: 15.5px;
}

.ni-enroll-bar-text span{
  color: #5b6b76;
  font-size: 13.5px;
}

.ni-enroll-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(120deg, var(--green), var(--green-deep));
  color: var(--navy-darker);
  border: none;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.ni-enroll-btn:hover{
  background: linear-gradient(120deg, var(--green-deep), var(--green));
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(55,216,55,0.35);
}

.ni-enroll-arrow{
  transition: transform .25s ease;
}

.ni-enroll-btn:hover .ni-enroll-arrow{
  transform: translateX(4px);
}

@media(max-width: 560px){
  .ni-enroll-bar{ flex-direction: column; align-items: flex-start; }
  .ni-enroll-btn{ width: 100%; justify-content: center; }
}

/* =========================================================
   FAQ
========================================================= */

.ni-faq-section {
  position: relative;
  overflow: hidden; /* contain the fixed child to this section's stacking context, if needed */
}

.ni-faq-section::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.2)),
    url("/public/images/huy.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  will-change: transform; /* nudges it onto its own compositor layer */
}
.faq-heading{
  text-align: center;
  margin-bottom: 40px;
}

.faq-heading h2{
  color: #092e48;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 10px;
}

.faq-heading p{
  font-size: 17px;
  color: #092e48;
}

.faq-container{
  max-width: 820px;
  margin: auto;
}

.faq-box{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(11,60,93,0.08);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s;
  backdrop-filter: blur(8px);
}

.faq-box.active{
  border-color: var(--green);
}

.faq-question{
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #092e48;
  border: none;
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.faq-icon{
  margin-left: 20px;
  font-size: 26px;
  color: var(--green-deep);
  transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 26px;
    background-color: #ffffff;
}

.faq-answer p{
  color: rgb(0, 0, 0);
  padding: 22px 0 22px;
  line-height: 1.7;
  font-size: 15px;
}

.faq-box.active .faq-answer{
  max-height: 260px;
}

.faq-box.active .faq-icon{
  transform: rotate(180deg);
}

@media(max-width: 768px){
  .faq-heading h2{ font-size: 30px; }
  .faq-question{ font-size: 15px; padding: 18px 20px; }
}

/* =========================================================
   Our Team
========================================================= */

.leadership {
    padding: 100px 8%;
    background: #526776;
}

.title{

    text-align:center;
    margin-bottom:60px;

}

.title span{

    color:#3ddb3d;
    letter-spacing:3px;
    text-transform:uppercase;
    font-weight:700;

}

.title h2{

    color:#fff;
    font-size:50px;
    margin-top:10px;

}

.category{

    margin-bottom:70px;

}

.category h3{

    color:#fff;
    font-size:34px;
    text-align:center;
    margin-bottom:40px;
    position:relative;

}

.category h3::after{

    content:"";
    width:90px;
    height:4px;
    background:#38d738;
    display:block;
    margin:15px auto;
    border-radius:20px;

}

.leader-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;

}
.leader-grid-4{
    grid-template-columns:repeat(4,1fr);
}

.leader-grid-3{
    grid-template-columns:repeat(3,1fr);
    width:75%;
    margin:0 auto;
}

@media(max-width:992px){

.leader-grid-4{

    grid-template-columns:repeat(2,1fr);
    width:100%;

}

}
@media(max-width:576px){

.leader-grid-4,
.leader-grid-3{

    grid-template-columns:1fr;

}

}

.leader-card {
  background-color: #0b3c5d;
    border: 1px solid #00ffbc;
    border-radius: 22px;
    text-align: center;
    padding: 35px 25px;
    backdrop-filter: blur(15px);
    transition: .4s;
    box-shadow:0 20px 50px rgba(55,216,55,.35);
}

.leader-card img{

    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #37d837;
    margin-bottom:20px;
    object-position: top;
}

.leader-card h4{

    color:#fff;
    font-size:16px;
    margin-bottom:7px;

}

.leader-card p{

    color:#b9cbd8;
    font-size:13px;
    line-height:1.6;

}

/* 3 Cards Row */
.leader-grid-3{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 75%;
    margin: 40px auto 0;
}

/* Tablet */
@media (max-width:992px){
    .leader-grid-3{
        grid-template-columns: repeat(2,1fr);
        width:100%;
    }
}

/* Mobile */
@media (max-width:576px){
    .leader-grid-3{
        grid-template-columns:1fr;
    }
}


/* =========================================================
   CONTACT
========================================================= */

.ni-contact-section{
  position: relative;
  text-align: center;
  background:
    radial-gradient(circle at 12% 15%, rgba(55,216,55,0.10), transparent 42%),
    radial-gradient(circle at 92% 85%, rgba(55,216,55,0.08), transparent 42%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  overflow: hidden;
}

.ni-contact-wrap{
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: stretch;
  text-align: left;
}

.ni-contact-info{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 44px 15px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.ni-contact-info-illustration{
  width: 100%;
  max-width: 220px;
  margin-bottom: 6px;
}

.ni-contact-info h3{
  color: var(--white);
  font-size: 24px;
  margin-bottom: 6px;
}

.ni-contact-info > p{
  color: var(--muted-light);
  line-height: 1.7;
  font-size: 15px;
}

.ni-contact-detail{
  display: flex;
  align-items: center;
  gap: 16px;
}

.ni-contact-detail-icon{
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ni-contact-detail-icon svg{ width: 20px; height: 20px; }

.ni-contact-detail span{
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 14.5px;
}

.ni-contact-detail small{
  color: var(--muted-light);
  font-size: 12.5px;
}

.ni-contact-form-panel{
  /* background: rgba(255,255,255,0.03); */
  background-color: #092e48;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 44px 20px;
  border: 1px solid #37d837;
}

.ni-contact-form-panel h3{
  color: #37d837;
  font-size: 22px;
  margin-bottom: 26px;
}

.ni-contact-form{
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: left;
}

.ni-contact-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media(max-width: 900px){
  .ni-contact-wrap{ grid-template-columns: 1fr; }
  .ni-contact-row{ grid-template-columns: 1fr; }
}

.ni-contact-form input,
.ni-contact-form textarea{
  padding: 16px 18px;
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.3s;
}

.ni-contact-form input:focus,
.ni-contact-form textarea:focus{
  outline: none;
  border-color: var(--green);
}

.ni-contact-form textarea{
  height: 200px;
  min-height: 200px;
  resize: vertical; 
}

.ni-contact-form button{
  width: fit-content;
  padding: 16px 32px;
  background: var(--green);
  color: var(--navy-darker);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
  margin: 0 auto;
}

.ni-contact-form button:hover{
  background: var(--green-deep);
  color: var(--white);
}

/* =========================================================
   LOGIN / SIGNUP POPUPS
========================================================= */

.ni-popup-overlay{
  position: fixed;
  inset: 0;
  background: rgba(6,20,32,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.ni-popup-box{
  width: 420px;
  max-width: 100%;
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 42px;
  border-radius: 20px;
  position: relative;
}

.ni-popup-box h2{
  margin-bottom: 24px;
  font-size: 26px;
  text-align: center;
}

.ni-popup-box input{
  width: 100%;
  padding: 14px 16px;
  margin: 10px 0;
  background: var(--navy-darker);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  font-family: var(--font-body);
}

.ni-popup-box input:focus{
  outline: none;
  border-color: var(--green);
}

.ni-popup-btn{
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  background: var(--green);
  color: var(--navy-darker);
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.ni-popup-btn:hover{
  background: var(--green-deep);
  color: var(--white);
}

.ni-popup-box p{
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--muted-light);
}

.ni-popup-box a{
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
}

.ni-close-btn{
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  cursor: pointer;
  color: var(--white);
}

.ni-close-btn:hover{ color: var(--green); }

/* =========================================================
   FOOTER
========================================================= */

.ni-footer{
  background: var(--white);
  color: var(--navy);
  padding-top: 80px;
}

.footer-contact a{
  color: black;
  text-decoration: none;
  font-size: 13px;
}

.footer-top{
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 60px;
}

.footer-logo h2{
  color: var(--navy);
  font-size: 30px;
  margin-bottom: 18px;
}

.footer-logo p {
    line-height: 1.7;
    color: var(--muted);
    text-align: center;
}

.footer-links h3,
.footer-contact h3{
  color: var(--navy);
  margin-bottom: 22px;
  font-size: 17px;
}

.footer-links{
  display: flex;
  flex-direction: column;
}

.footer-links a{
  text-decoration: none;
  color: var(--muted);
  margin-bottom: 16px;
  transition: 0.3s;
}

.footer-links a:hover{
  color: var(--green-deep);
  transform: translateX(6px);
  display: inline-block;
}

.footer-contact p{
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.footer-btn{
  background: var(--green);
  color: var(--navy-darker);
  border: none;
  padding: 13px 25px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.3s;
  display: inline-block;
  margin-top: 25px; /* Jitna space chahiye utna badha lo */
}

.footer-btn:hover{
  background: var(--green-deep);
  color: var(--white);
}

.footer-social {
    margin-top: 5px;
    display: flex;
    gap: 12px;
    justify-content: start;
}

.footer-social a{
  width: 42px;
  height: 42px;
  background: var(--off-white);
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 25px;
  transition: 0.3s;
}

.footer-social a:hover{
  background: var(--green);
  transform: translateY(-6px);
}

.footer-bottom{
  border-top: 1px solid rgba(11,60,93,0.1);
  text-align: center;
  padding: 22px;
  color: var(--muted);
  font-size: 14px;
}

.footer-logo{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-row{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
    margin-bottom: 25px;
}

.footer-logo-img {
    width: 200px;
    height: 160px;
    object-fit: contain;
    transition: 0.3s;
}

.footer-logo-img:hover{
    transform: scale(1.05);
}

.footer-logo p{
    max-width: 500px;
    line-height: 1.7;
    color: var(--muted);
    text-align: center;
    font-size: 16px;
}

.footer-logo-img.mau-logo{
    width: 160px;
}

@media(max-width: 900px){
  .footer-top{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-social{ justify-content: center; }
}

/* =========================================================
   SCROLL TO TOP
========================================================= */

.scroll-buttons{
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: none;
  z-index: 998;
}

.scroll-buttons button{
  width: 46px;
  height: 46px;
  font-size: 16px;
  border: none;
  border-radius: 50%;
  background: var(--green);
  color: var(--navy-darker);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(55,216,55,0.4);
  transition: 0.3s;
}

.scroll-buttons button:hover{
  background: var(--green-deep);
  transform: translateY(-4px);
}

/* =========================================================
   CHATBOT WIDGET
========================================================= */
/*

.ni-chat-toggle{
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--green);
  color: var(--navy-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(55,216,55,0.45);
  z-index: 999;
  transition: transform 0.3s, background 0.3s;
}

.ni-chat-toggle:hover{
  background: var(--green-deep);
  transform: translateY(-4px);
}

.ni-chat-toggle svg{ width: 26px; height: 26px; }

.ni-chat-badge{
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--off-white);
}

.ni-chat-window{
  position: fixed;
  left: 24px;
  bottom: 96px;
  width: 340px;
  max-width: calc(100vw - 48px);
  height: 460px;
  max-height: calc(100vh - 140px);
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
}

.ni-chat-window.open{ display: flex; }

.ni-chat-header{
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ni-chat-avatar{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ni-chat-header-text strong{
  display: block;
  color: var(--white);
  font-size: 14.5px;
}

.ni-chat-header-text span{
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-light);
  font-size: 12px;
}

.ni-chat-status-dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 8px var(--green);
}

.ni-chat-close{
  margin-left: auto;
  background: none;
  border: none;
  color: var(--muted-light);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.ni-chat-close:hover{ color: var(--green); }

.ni-chat-body{
  flex: 1;
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ni-chat-body::-webkit-scrollbar{ width: 6px; }
.ni-chat-body::-webkit-scrollbar-thumb{ background: rgba(255,255,255,0.15); border-radius: 10px; }

.ni-chat-msg{
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.55;
}

.ni-chat-msg.bot{
  background: rgba(255,255,255,0.06);
  color: var(--white);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.ni-chat-msg.user{
  background: var(--green);
  color: var(--navy-darker);
  font-weight: 600;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.ni-chat-quick{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 14px;
}

.ni-chat-chip{
  background: rgba(55,216,55,0.1);
  color: var(--green);
  border: 1px solid rgba(55,216,55,0.3);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

.ni-chat-chip:hover{
  background: var(--green);
  color: var(--navy-darker);
}

.ni-chat-form{
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px;
  gap: 10px;
}

.ni-chat-form input{
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 11px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13.5px;
}

.ni-chat-form input:focus{
  outline: none;
  border-color: var(--green);
}

.ni-chat-form button{
  background: var(--green);
  color: var(--navy-darker);
  border: none;
  border-radius: 12px;
  width: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
}

.ni-chat-form button:hover{ background: var(--green-deep); }
.ni-chat-form button svg{ width: 18px; height: 18px; }

@media(max-width: 480px){
  .ni-chat-window{ left: 12px; right: 12px; width: auto; bottom: 88px; }
  .ni-chat-toggle{ left: 16px; bottom: 16px; }
}

*/

/* =========================================================
   RESPONSIVE NAV
========================================================= */

@media(max-width: 900px){

  .ni-nav-links{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  }

  .ni-nav-links.open{
    max-height: 320px;
  }

  .ni-nav-links li{
    width: 100%;
    text-align: center;
  }

  .ni-nav-links a{
    display: block;
    padding: 16px 0;
  }

  .ni-nav-toggle{
    display: flex;
  }

  .ni-login-nav-btn{
    display: none;
  }
}


/* Animations */

/*==========================
 HERO PREMIUM
==========================*/

/* Hidden until the hero section scrolls into view */
.ni-home-content h2{
    opacity: 0;
    transform: translateX(-120px);
}

.ni-home-content p{
    opacity: 0;
    transform: translateY(70px);
}

.ni-home-buttons{
    opacity: 0;
    transform: translateY(80px);
}

.ni-home-right{
    opacity: 0;
    transform: translateX(180px) scale(.85);
}

.ni-banner-tag,
.ni-company-name,
.ni-banner-heading{
    opacity: 0;
    transform: translateY(-35px);
}

/* Animations only play once the hero section is scrolled into view */
.ni-banner-section.ni-in-view .ni-home-content h2{
    animation: heroTitle 2.2s cubic-bezier(.22,1,.36,1) forwards;
}

.ni-banner-section.ni-in-view .ni-home-content p{
    animation: heroText 2.2s cubic-bezier(.22,1,.36,1) 0.3s forwards;
}

.ni-banner-section.ni-in-view .ni-home-buttons{
    animation: heroBtn 2.2s cubic-bezier(.22,1,.36,1) 0.6s forwards;
}

.ni-banner-section.ni-in-view .ni-home-right{
    animation: heroImage 2.4s cubic-bezier(.22,1,.36,1) 0.4s forwards;
}

.ni-banner-section.ni-in-view .ni-banner-tag{
    animation: fadeTop 1.6s ease forwards;
}

.ni-banner-section.ni-in-view .ni-company-name{
    animation: fadeTop 1.6s ease 0.3s forwards;
}

.ni-banner-section.ni-in-view .ni-banner-heading{
    animation: fadeTop 1.6s ease 0.6s forwards;
}

@keyframes heroTitle{
    from{
        opacity:0;
        transform:translateX(-120px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}

@keyframes heroText{
    from{
        opacity:0;
        transform:translateY(70px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes heroBtn{
    from{
        opacity:0;
        transform:translateY(80px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes heroImage{
    from{
        opacity:0;
        transform:translateX(180px) scale(.85);
    }
    to{
        opacity:1;
        transform:translateX(0) scale(1);
    }
}

@keyframes fadeTop{

0%{

opacity:0;
transform:translateY(-35px);

}

100%{

opacity:1;
transform:none;

}

}

.ni-home-content h2 span{

background:linear-gradient(
90deg,
#38d938,
#ffffff,
#38d938);

background-size:250%;

-webkit-background-clip:text;

-webkit-text-fill-color:transparent;

animation:gradientMove 4s linear infinite;

}

@keyframes gradientMove{

100%{

background-position:250%;

}

}

.ni-glow-circle{

animation:
floatHero 5s ease-in-out infinite;

}

@keyframes floatHero{

0%,100%{

transform:translateY(0);

}

50%{

transform:translateY(-16px);

}

}

/*=========================
ABOUT SECTION ANIMATION
==========================*/

.ni-about-left{
    transform:translateX(-80px);
    filter:blur(8px);
}

.ni-about-box{
    transform:translateY(80px);
    filter:blur(8px);
}

.ni-about-section.ni-in-view .ni-about-left{
    animation: aboutLeft 2.0s ease both;
}

.ni-about-section.ni-in-view .ni-about-box:nth-child(1){
    animation: aboutCard 1.8s ease 0.3s both;
}

.ni-about-section.ni-in-view .ni-about-box:nth-child(2){
    animation: aboutCard 1.8s ease 0.6s both;
}

.ni-about-section.ni-in-view .ni-about-box:nth-child(3){
    animation: aboutCard 1.8s ease 0.9s both;
}

@keyframes aboutLeft{

from{

transform:translateX(-80px);

filter:blur(8px);

}

to{

transform:translateX(0);

filter:blur(0);

}

}

@keyframes aboutCard{

from{

transform:translateY(80px);

filter:blur(8px);

}

to{

transform:translateY(0);

filter:blur(0);

}

}

.ni-about-box{

transition:.4s;

}

.ni-about-box:hover{

transform:translateY(-10px);

box-shadow:0 15px 40px rgba(0,255,120,.25);

}


/*==========================================
 TRAINING PREMIUM ANIMATION
==========================================*/

.ni-training-section{
    overflow: hidden;
}

/* Heading */

.ni-training-section .ni-eyebrow,
.ni-training-section h2{
    opacity: 0;
    transform: translateY(40px);
}

.ni-training-section.ni-in-view .ni-eyebrow{
    animation: trainingHeading 1.6s ease forwards;
}

.ni-training-section.ni-in-view h2{
    animation: trainingHeading 1.6s ease 0.2s forwards;
}

/* Cards */

.ni-card{
    opacity: 0;
    transform: translateY(60px);
}

.ni-training-section.ni-in-view .ni-card:nth-child(1){
    animation: cardReveal 1.6s ease 0.3s both;
}

.ni-training-section.ni-in-view .ni-card:nth-child(2){
    animation: cardReveal 1.6s ease 0.6s both;
}

.ni-training-section.ni-in-view .ni-card:nth-child(3){
    animation: cardReveal 1.6s ease 0.9s both;
}

.ni-training-section.ni-in-view .ni-card:nth-child(4){
    animation: cardReveal 1.6s ease 1.2s both;
}

.ni-training-section.ni-in-view .ni-card:nth-child(5){
    animation: cardReveal 1.6s ease 1.5s both;
}

.ni-training-section.ni-in-view .ni-card:nth-child(6){
    animation: cardReveal 1.6s ease 1.8s both;
}

/* Hover */

.ni-card{
    transition:
        transform .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;
}

.ni-card:hover{
    transform: translateY(-12px);
    box-shadow:0 20px 40px rgba(0,255,120,.20);
}

/* Icon Float */

.ni-card-icon{
    display:inline-flex;
    animation: iconFloat 3s ease-in-out infinite;
}

/* Keyframes */

@keyframes trainingHeading{

    from{
        transform:translateY(40px);
        opacity:0;
    }

    to{
        transform:translateY(0);
        opacity:1;
    }

}

@keyframes cardReveal{

    from{
        transform:translateY(60px);
        opacity:0;
    }

    to{
        transform:translateY(0);
        opacity:1;
    }

}

@keyframes iconFloat{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

}


/*==========================================
        FAQ PREMIUM ANIMATION
==========================================*/

.faq-heading .ni-eyebrow,
.faq-heading h2,
.faq-heading p{
    opacity: 0;
    transform: translateY(45px);
}

.ni-faq-section.ni-in-view .faq-heading .ni-eyebrow{
    animation: faqTop 1.6s ease forwards;
}

.ni-faq-section.ni-in-view .faq-heading h2{
    animation: faqTop 1.6s ease 0.2s forwards;
}

.ni-faq-section.ni-in-view .faq-heading p{
    animation: faqTop 1.6s ease 0.4s forwards;
}

/* FAQ Boxes */

.faq-box{
    opacity: 0;
    transform: translateY(70px) scale(.96);
}

.ni-faq-section.ni-in-view .faq-box:nth-child(1){
    animation: faqCard 1.6s ease 0.3s both;
}

.ni-faq-section.ni-in-view .faq-box:nth-child(2){
    animation: faqCard 1.6s ease 0.6s both;
}

.ni-faq-section.ni-in-view .faq-box:nth-child(3){
    animation: faqCard 1.6s ease 0.9s both;
}

.ni-faq-section.ni-in-view .faq-box:nth-child(4){
    animation: faqCard 1.6s ease 1.2s both;
}

.ni-faq-section.ni-in-view .faq-box:nth-child(5){
    animation: faqCard 1.6s ease 1.5s both;
}

/* Hover */

.faq-box{

transition:
transform .45s ease,
box-shadow .45s ease,
border-color .45s ease;

}

.faq-box:hover{

transform:translateY(-10px);

box-shadow:0 18px 45px rgba(36,168,36,.18);

}

/* Icon */

.faq-icon{

display:inline-block;

transition:.5s;

}

.faq-box.active .faq-icon{

transform:rotate(180deg);

color:#24a824;

}

/* Question Hover */

.faq-question{

transition:.35s;

}

.faq-question:hover{

padding-left:10px;

}

/* Keyframes */

@keyframes faqTop{

0%{

opacity:0;

transform:translateY(45px);

}

100%{

opacity:1;

transform:translateY(0);

}

}

@keyframes faqCard{

0%{

opacity:0;

transform:
translateY(70px)
scale(.96);

}

100%{

opacity:1;

transform:
translateY(0)
scale(1);

}

}


/*==========================================
      LEADERSHIP PREMIUM ANIMATION
==========================================*/

/* Section Heading */

.leadership .title span,
.leadership .title h2{
    opacity: 0;
    transform: translateY(40px);
}

.leadership.ni-in-view .title span{
    animation: titleFade 1.8s ease forwards;
}

.leadership.ni-in-view .title h2{
    animation: titleFade 1.8s ease 0.2s forwards;
}

/* Category */

.category h3{
    opacity: 0;
    transform: translateX(-50px);
}

.leadership.ni-in-view .category h3{
    animation: categorySlide 1.6s ease forwards;
}

/* Cards */

.leader-card{
    opacity: 0;
    transform: translateY(70px);
}

.leadership.ni-in-view .category:nth-of-type(1) .leader-card:nth-child(1){
    animation: leaderReveal 1.6s ease 0.2s both;
}

.leadership.ni-in-view .category:nth-of-type(1) .leader-card:nth-child(2){
    animation: leaderReveal 1.6s ease 0.4s both;
}

.leadership.ni-in-view .category:nth-of-type(1) .leader-card:nth-child(3){
    animation: leaderReveal 1.6s ease 0.6s both;
}

.leadership.ni-in-view .category:nth-of-type(1) .leader-card:nth-child(4){
    animation: leaderReveal 1.6s ease 0.8s both;
}

/* Advisory */

.leadership.ni-in-view .category:nth-of-type(2) .leader-card:nth-child(1){
    animation: leaderReveal 1.6s ease 0.2s both;
}

.leadership.ni-in-view .category:nth-of-type(2) .leader-card:nth-child(2){
    animation: leaderReveal 1.6s ease 0.4s both;
}

.leadership.ni-in-view .category:nth-of-type(2) .leader-card:nth-child(3){
    animation: leaderReveal 1.6s ease 0.6s both;
}

.leadership.ni-in-view .category:nth-of-type(2) .leader-card:nth-child(4){
    animation: leaderReveal 1.6s ease 0.8s both;
}

/* Management */

.leadership.ni-in-view .category:nth-of-type(3) .leader-card:nth-child(1){
    animation: leaderReveal 1.6s ease 0.2s both;
}

.leadership.ni-in-view .category:nth-of-type(3) .leader-card:nth-child(2){
    animation: leaderReveal 1.6s ease 0.4s both;
}

.leadership.ni-in-view .category:nth-of-type(3) .leader-card:nth-child(3){
    animation: leaderReveal 1.6s ease 0.6s both;
}

.leadership.ni-in-view .category:nth-of-type(3) .leader-card:nth-child(4){
    animation: leaderReveal 1.6s ease 0.8s both;
}

.leadership.ni-in-view .leader-grid-3 .leader-card:nth-child(1){
    animation: leaderReveal 1.6s ease 0.2s both;
}

.leadership.ni-in-view .leader-grid-3 .leader-card:nth-child(2){
    animation: leaderReveal 1.6s ease 0.4s both;
}

.leadership.ni-in-view .leader-grid-3 .leader-card:nth-child(3){
    animation: leaderReveal 1.6s ease 0.6s both;
}

/* Hover */

.leader-card{

transition:
transform .45s ease,
box-shadow .45s ease;

}

.leader-card:hover{

transform:translateY(-14px);

box-shadow:0 20px 45px rgba(36,168,36,.25);

}

/* Image */

.leader-card img{

transition:.5s;

}

.leader-card:hover img{

transform:scale(1.08);

}

/* Name */

.leader-card h4{

transition:.4s;

}

.leader-card:hover h4{

color:#24a824;

}

/* Keyframes */

@keyframes titleFade{

from{

opacity:0;

transform:translateY(40px);

}

to{

opacity:1;

transform:translateY(0);

}

}

@keyframes categorySlide{

from{

opacity:0;

transform:translateX(-50px);

}

to{

opacity:1;

transform:translateX(0);

}

}

@keyframes leaderReveal{

from{

opacity:0;

transform:translateY(70px);

}

to{

opacity:1;

transform:translateY(0);

}

}

/*===============================
 MANAGEMENT PREMIUM ANIMATION
================================*/

/*==========================================
 LEADERSHIP ANIMATION
==========================================*/

/* Heading, category heading and mentor/advisory cards reuse the
   scroll-triggered rules defined above (.leadership.ni-in-view ...) */

/* ---------- Management (uses its own slide-in animation) ---------- */

.category:last-child .leader-grid-4 .leader-card,
.category:last-child .leader-grid-3 .leader-card{
    opacity: 0;
    transform: translateX(-80px);
}

.leadership.ni-in-view .category:last-child .leader-grid-4 .leader-card:nth-child(1){
    animation: managementReveal 1.8s ease 0.2s both;
}

.leadership.ni-in-view .category:last-child .leader-grid-4 .leader-card:nth-child(2){
    animation: managementReveal 1.8s ease 0.4s both;
}

.leadership.ni-in-view .category:last-child .leader-grid-4 .leader-card:nth-child(3){
    animation: managementReveal 1.8s ease 0.6s both;
}

.leadership.ni-in-view .category:last-child .leader-grid-4 .leader-card:nth-child(4){
    animation: managementReveal 1.8s ease 0.8s both;
}

.leadership.ni-in-view .category:last-child .leader-grid-3 .leader-card:nth-child(1){
    animation: managementReveal 1.8s ease 1.0s both;
}

.leadership.ni-in-view .category:last-child .leader-grid-3 .leader-card:nth-child(2){
    animation: managementReveal 1.8s ease 1.2s both;
}

.leadership.ni-in-view .category:last-child .leader-grid-3 .leader-card:nth-child(3){
    animation: managementReveal 1.8s ease 1.4s both;
}

/* Hover */

.leader-card{
transition:.45s;
}

.leader-card:hover{

transform:translateY(-12px);

box-shadow:0 20px 40px rgba(36,168,36,.25);

}

.leader-card img{

transition:.5s;

}

.leader-card:hover img{

transform:scale(1.08);

}

/* Keyframes */

@keyframes titleFade{

from{

opacity:0;

transform:translateY(35px);

}

to{

opacity:1;

transform:none;

}

}

@keyframes categorySlide{

from{

opacity:0;

transform:translateX(-40px);

}

to{

opacity:1;

transform:none;

}

}

@keyframes leaderReveal{

from{

opacity:0;

transform:translateY(60px);

}

to{

opacity:1;

transform:none;

}

}

@keyframes managementReveal{

from{

opacity:0;

transform:translateX(-80px);

}

to{

opacity:1;

transform:none;

}

}


/*==========================================
        CONTACT PREMIUM ANIMATION
==========================================*/

/* Heading */

.ni-contact-section .ni-eyebrow,
.ni-contact-section h2{
    opacity: 0;
    transform: translateY(45px);
}

.ni-contact-section.ni-in-view .ni-eyebrow{
    animation: contactTop 1.6s ease forwards;
}

.ni-contact-section.ni-in-view h2{
    animation: contactTop 1.6s ease 0.2s forwards;
}

/* Left Side */

.ni-contact-info{
    opacity: 0;
    transform: translateX(-90px);
}

.ni-contact-section.ni-in-view .ni-contact-info{
    animation: contactLeft 2.0s ease forwards;
}

/* SVG */

.ni-contact-info-illustration{

animation:floatMail 5s ease-in-out infinite;

}

/* Contact Details */

.ni-contact-detail:nth-child(1){
animation-delay:.3s;
}

.ni-contact-detail:nth-child(2){
animation-delay:.5s;
}

.ni-contact-detail:nth-child(3){
animation-delay:.7s;
}

/* Right Form */

.ni-contact-form-panel{
    opacity: 0;
    transform: translateX(90px);
}

.ni-contact-section.ni-in-view .ni-contact-form-panel{
    animation: contactRight 2.0s ease forwards;
}

/* Inputs */

.ni-contact-form input,
.ni-contact-form textarea{

transition: all .35s ease;
border: 1px solid green;

}

.ni-contact-form input:focus,
.ni-contact-form textarea:focus{

transform:translateY(-4px);

box-shadow:0 0 18px rgba(55,216,55,.18);

border-color:#37d837;

}

/* Button */

.ni-contact-form button{

transition:.4s;

}

.ni-contact-form button:hover{

transform:translateY(-6px);

box-shadow:0 15px 35px rgba(55,216,55,.30);

}

/* Contact Cards */

.ni-contact-detail{

transition:.4s;

}

.ni-contact-detail:hover{

transform:translateX(12px);

}

/* Icon */

.ni-contact-detail-icon{

display:flex;

animation:iconFloat 3s ease-in-out infinite;

}

/*=========================
KEYFRAMES
==========================*/

@keyframes contactTop{

from{

opacity:0;

transform:translateY(45px);

}

to{

opacity:1;

transform:none;

}

}

@keyframes contactLeft{

from{

opacity:0;

transform:translateX(-90px);

}

to{

opacity:1;

transform:none;

}

}

@keyframes contactRight{

from{

opacity:0;

transform:translateX(90px);

}

to{

opacity:1;

transform:none;

}

}

@keyframes contactItem{

from{

opacity:0;

transform:translateY(40px);

}

to{

opacity:1;

transform:none;

}

}

@keyframes floatMail{

0%,100%{

transform:translateY(0);

}

50%{

transform:translateY(-12px);

}

}

@keyframes iconFloat{

0%,100%{

transform:translateY(0);

}

50%{

transform:translateY(-6px);

}

}
/* =========================================================
   SCROLL REVEAL ANIMATIONS
   Applied via JS (initScrollReveal) with IntersectionObserver.
   Elements fade + slide into place the first time they enter
   the viewport while scrolling, then stay visible.
========================================================= */

.ni-reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}

.ni-reveal-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Respect users who've asked for less motion: show content instantly */
@media (prefers-reduced-motion: reduce){
  .ni-reveal{
    opacity: 1;
    transform: none;
    transition: none;
  }
}