/* ============================================================
   Nine Tails — Custom CSS  v2
   ============================================================ */

/* ── Selectric — disable on .no-selectric elements ──────── */
.no-selectric+.selectric-wrapper,
.no-selectric+.selectric {
  display: none !important;
}

.no-selectric {
  display: block !important;
  -webkit-appearance: auto !important;
  appearance: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  clip: auto !important;
  width: 100% !important;
}

/* ── CSS Variable fix ────────────────────────────────────── */
:root {
  --clr-primary: #02126a;
}

/* ── Brand/Clients carousel — disable hover swap effect ─────
   Template mein brand-before upar jaata hai hover pe aur brand-after
   neeche se aata hai. Hamare paas brand-after images nahi hain
   toh logo gayab ho jaata hai. Hover effect disable karo.      */
.brand-card .swiper-slide:hover .brand-before {
  -webkit-transform: translateY(0) !important;
  transform: translateY(0) !important;
  opacity: 1 !important;
}

.brand-card .swiper-slide:hover .brand-after {
  top: 150% !important;
  opacity: 0 !important;
}

.brand-card .swiper-slide img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* ── Global overflow fix ─────────────────────────────────── */
body {
  overflow-x: hidden;
}

/* ── AOS: kill horizontal shift on mobile ────────────────── */
@media (max-width: 991px) {

  [data-aos="fade-right"],
  [data-aos="fade-left"] {
    transform: translateY(20px) !important;
    opacity: 0;
  }

  [data-aos="fade-right"].aos-animate,
  [data-aos="fade-left"].aos-animate {
    transform: translateY(0) !important;
    opacity: 1;
  }
}

/* ── Section title: label ABOVE h2 ───────────────────────── */
.section-title {
  display: block !important;
  /* NOT flex — flex breaks col-12 children */
}

.nt-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--clr-primary, #02126a);
  margin-bottom: 10px;
  line-height: 1;
}

.nt-section-label::before,
.nt-section-label::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #02126a, #f13f01);
  flex-shrink: 0;
}

/* Process section label — white */
.section-title.process .nt-section-label {
  color: rgba(255, 255, 255, .85);
}

.section-title.process .nt-section-label::before,
.section-title.process .nt-section-label::after {
  background: rgba(255, 255, 255, .5);
}

/* ── Brand/Clients carousel — disable hover swap effect ─────
   Template mein brand-before upar jaata hai hover pe aur brand-after
   neeche se aata hai. Hamare paas brand-after images nahi hain
   toh logo gayab ho jaata hai. Hover effect disable karo.        */
.brand-card .swiper-slide:hover .brand-before {
  -webkit-transform: translateY(0) !important;
  transform: translateY(0) !important;
  opacity: 1 !important;
}

.brand-card .swiper-slide:hover .brand-after {
  top: 150% !important;
  opacity: 0 !important;
}

/* Brand section background thoda lighten karo for better visibility */
.brand-card {
  background-color: #02126a !important;
}

.brand-card .swiper-slide img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.section-pb-150 {
  padding-bottom: 80px !important;
}

.section-pt-150 {
  padding-top: 80px !important;
}

.section-pt-100 {
  padding-top: 60px !important;
}

.section-pb-100 {
  padding-bottom: 60px !important;
}

.pb-100 {
  padding-bottom: 60px !important;
}

.pb-90 {
  padding-bottom: 50px !important;
}

.bread-crumb-section {
  padding: 50px 0 !important;
}

.hero-section {
  padding-bottom: 30px;
}

.about-section,
.about-section2 {
  padding-top: 60px;
  padding-bottom: 60px;
}

.working-process-section {
  padding-top: 50px;
  padding-bottom: 60px;
}

.case-studies-section {
  padding-top: 60px;
}

.faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.testimonial-section {
  padding-top: 60px;
}

.brand-section.section-pb-150 {
  padding-bottom: 50px !important;
}

/* ── Section title h2 — always dark on light bg ──────────── */
.section-title .title,
.section-title h2.title,
.section-title h3.title {
  color: #02126a !important;
  margin-top: 4px;
  margin-bottom: 10px;
}

.section-title.process .title,
.section-title.process h2.title {
  color: #fff !important;
}

/* ── hr-secodary / hr-primary vivid ─────────────────────── */
.hr-secodary {
  display: block !important;
  width: 60px !important;
  height: 3px !important;
  border-radius: 3px !important;
  background: linear-gradient(90deg, #02126a, #f13f01) !important;
  margin: 12px auto 0 !important;
  border: none !important;
}

.hr-primary {
  display: block !important;
  width: 60px !important;
  height: 3px !important;
  border-radius: 3px !important;
  background: linear-gradient(90deg, #02126a, #2637c8) !important;
  margin-top: 12px !important;
  border: none !important;
}

/* ── Service card ─────────────────────────────────────────── */
.service-card {
  border-radius: 14px;
  transition: transform .3s ease, box-shadow .3s ease;
  background: #fff;
  border: 1px solid rgba(2, 18, 106, .08);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(2, 18, 106, .14);
}

.service-card .service-content h4.title,
.service-card .service-content h3.title {
  color: #02126a !important;
  font-weight: 700;
}

.service-card .service-content p {
  color: #555 !important;
}

.service-card .service-content li {
  color: #555 !important;
}

/* ── Service icon — vivid ─────────────────────────────────── */
.service-icon>span[class*="icofont"],
.service-icon>i[class*="icofont"] {
  color: #02126a !important;
}

.roted-around.dagnger span {
  background: rgba(241, 63, 1, .12);
  border-color: #f13f01 !important;
}

.roted-around.warning span {
  background: rgba(241, 63, 1, .10);
  border-color: #f13f01 !important;
}

.roted-around.primary span {
  background: rgba(2, 18, 106, .12);
  border-color: #02126a !important;
}

.roted-around.secondary span {
  background: rgba(38, 55, 200, .12);
  border-color: #2637c8 !important;
}

.roted-around.success span {
  background: rgba(50, 182, 24, .12);
  border-color: #32b618 !important;
}

.roted-around.info span {
  background: rgba(13, 202, 240, .12);
  border-color: #0dcaf0 !important;
}

/* ── Working process numbers ─────────────────────────────── */
.nt-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #02126a 0%, #2637c8 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(2, 18, 106, .25);
}

.working-process-list h4.title,
.working-process-list .title {
  color: #fff !important;
}

/* ── Hero stat bar ───────────────────────────────────────── */
.hero-stat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.hero-stat-bar .stat-item h3 {
  font-size: 2rem;
  font-weight: 900;
  margin: 0 0 2px;
  background: linear-gradient(135deg, #f13f01, #ff7c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-bar .stat-item p {
  margin: 0;
  font-size: 12px;
  opacity: .75;
}

@media (max-width: 575px) {
  .hero-stat-bar {
    gap: 18px;
  }

  .hero-stat-bar .stat-item h3 {
    font-size: 1.5rem;
  }
}

/* ── Blog cards — text always visible ────────────────────── */
.blog-card,
div[style*="border-radius:12px"][style*="background:#fff"] {
  background: #fff !important;
}

.blog-card h5,
.blog-card h5 a,
.blog-card h4,
.blog-card h4 a {
  color: #02126a !important;
  font-weight: 700;
}

.blog-card p,
.blog-card .small,
.blog-card small {
  color: #555 !important;
}

/* ── Case / portfolio content ────────────────────────────── */
.case-content .title,
.case-content h3.title,
.case-content h4.title {
  color: #02126a !important;
}

.case-content p {
  color: #767988 !important;
}

/* ── Contact info cards — vivid icons & text ─────────────── */
.contact-info-card {
  background: #fff !important;
  border: 1px solid rgba(2, 18, 106, .08) !important;
}

.contact-info-card span[class*="icofont"],
.contact-info-card i[class*="icofont"] {
  color: #f13f01 !important;
  font-size: 36px !important;
}

.contact-info-card h5.title {
  color: #02126a !important;
  font-weight: 700;
}

.contact-info-card a,
.contact-info-card p,
.contact-info-card small {
  color: #555 !important;
}

/* ── Contact media list icons ────────────────────────────── */
.contact-media .icon span[class*="icofont"],
.contact-media .icon span[class*="icofont-"] {
  color: #f13f01 !important;
  font-size: 28px !important;
}

.contact-media .content .text {
  color: #f13f01 !important;
  font-weight: 600;
  font-size: 12px;
}

.contact-media .content .number,
.contact-media .content p {
  color: #02126a !important;
  font-weight: 700;
}

.contact-media .content a {
  color: #02126a !important;
}

/* ── Accordion vivid ─────────────────────────────────────── */
.accordion2 .accordion-button {
  color: #02126a !important;
  font-weight: 600;
}

.accordion2 .accordion-button:not(.collapsed) {
  color: #02126a !important;
  background: rgba(2, 18, 106, .05) !important;
}

/* ── Desktop navbar: horizontal layout fix ──────────────── */
ul.main-menu {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.main-menu>li.main-menu-item {
  display: inline-flex !important;
  align-items: center;
  position: relative !important;
}

/* ── Desktop dropdown — show on hover ───────────────────── */
ul.main-menu>li.has-dropdown {
  position: relative !important;
}

ul.main-menu>li.has-dropdown>ul.sub-menu {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  display: block !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  z-index: 9999 !important;
  min-width: 260px !important;
  margin-top: 0 !important;         /* margin-top 0 — gap padding-top se */
  padding-top: 10px !important;     /* invisible hover bridge — mouse slip nahi hoga */
  transition: opacity 0.2s ease !important;
}

ul.main-menu>li.has-dropdown:hover>ul.sub-menu {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  margin-top: 0 !important;
}

/* ── Offcanvas mobile sub-menu — accordion style ─────────── */
/* Offcanvas ke sub-menu pe desktop rules APPLY NAHI hone chahiye */
#offcanvas-menu ul.sub-menu {
  display: none !important;
  position: static !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  margin-top: 0 !important;
  z-index: auto !important;
  min-width: unset !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 0 0 16px !important;
  background: transparent !important;
}

#offcanvas-menu .menu-item-has-children.open>ul.sub-menu {
  display: block !important;
}

/* ── Header top bar ──────────────────────────────────────── */
.header-top {
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}

.header-top .social-link {
  color: rgba(255, 255, 255, .82) !important;
  font-size: 15px;
}

.header-top .social-link:hover {
  color: #f13f01 !important;
}

.header-top .select-item a {
  color: rgba(255, 255, 255, .85) !important;
  font-size: 13px;
}

.header-top .select-item a:hover {
  color: #f13f01 !important;
}

.header-bottom {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* ── Testimonial section bg ──────────────────────────────── */
.testimonial-section {
  padding-top: 60px;
}

/* ── Footer links ────────────────────────────────────────── */
.footer-link {
  color: rgba(255, 255, 255, .72) !important;
}

.footer-link:hover {
  color: #f13f01 !important;
}

/* ── Wave title animation ────────────────────────────────── */
.wave-anim .wl {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .35s ease, transform .35s ease;
}

.wave-anim.wave-in .wl {
  opacity: 1;
  transform: translateY(0);
}

/* ── CTA sections — text always white ───────────────────────*/
section[style*="linear-gradient(135deg,var(--clr-primary)"] h2,
section[style*="linear-gradient(135deg,var(--clr-primary)"] p,
section[style*="background:linear-gradient"] h2,
section[style*="background:linear-gradient"] p {
  color: #fff !important;
}

/* ── Industries cards on clients page ───────────────────── */
.nt-industry-card {
  background: #fff;
  border: 1px solid rgba(2, 18, 106, .08);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
  height: 100%;
}

.nt-industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(2, 18, 106, .12);
}

.nt-industry-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(2, 18, 106, .1), rgba(241, 63, 1, .1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.nt-industry-card .icon-wrap span {
  font-size: 32px;
  color: #f13f01;
}

.nt-industry-card h5 {
  color: #02126a !important;
  font-weight: 700;
  margin-bottom: 8px;
}

.nt-industry-card p {
  color: #767988 !important;
  font-size: 14px;
  margin: 0;
}

/* ── text-muted override — always visible ────────────────── */
/* Bootstrap .text-muted is #6c757d — fine, but inside white cards
   some themes override --bs-secondary-color to near-white. Fix: */
.text-muted {
  color: #767988 !important;
}

small.text-muted,
p.text-muted,
.small.text-muted {
  color: #767988 !important;
}

/* Force blog card text visible */
.blog-card .card-body p,
.blog-card .card-body small,
[style*="border-radius:12px"] p,
[style*="border-radius:12px"] small {
  color: #555 !important;
}

[style*="border-radius:12px"] h5,
[style*="border-radius:12px"] h4 {
  color: #02126a !important;
}

/* ── Bootstrap gray-600/gray-700 fix ─────────────────────── */
.bs-body-color {
  color: #333 !important;
}

/* ── Contact info card icon large ───────────────────────── */
.contact-info-card .mb-3 span[class*="icofont"] {
  font-size: 40px !important;
  color: #f13f01 !important;
}

/* ── Case card content always visible ───────────────────── */
.case-content {
  padding: 14px 0 6px;
}

.case-content h3.title,
.case-content h4.title,
.case-content .title {
  color: #02126a !important;
  font-weight: 700;
  font-size: 16px;
}

.case-content p,
.case-content .small,
.case-content small {
  color: #767988 !important;
}

.case-content .sub-title {
  color: #f13f01 !important;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Section title wrapper — kill flex completely ────────── */
.section-title,
.section-title.primary,
.section-title.process,
.section-title.primary.text-center,
.about-content.section-title,
.about-content.section-title.primary {
  display: block !important;
  text-align: center;
}

.section-title .title,
.section-title h2.title,
.section-title h3.title {
  color: #02126a !important;
  display: block;
}

/* ── About content section-title left-align ─────────────── */
.offset-about .about-content.section-title,
.offset-about .about-content.section-title.primary {
  text-align: left;
}

/* ── All h5/h6 in white card backgrounds ─────────────────── */
.card-body h5,
.card-body h6,
[style*="background:#fff"] h5,
[style*="background:#fff"] h6,
[style*="background: #fff"] h5 {
  color: #02126a !important;
}

/* ── All paragraphs in white areas ──────────────────────── */
[style*="background:#fff"] p,
[style*="background:#f8f9ff"] p {
  color: #555 !important;
}

/* ── Contact section info text ───────────────────────────── */
.contact-section-page .contact-media .number {
  color: #02126a !important;
  font-weight: 700;
}

.contact-section-page .contact-media .text {
  color: #f13f01 !important;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
}

/* ── Sidebar about-banner text ───────────────────────────── */
.about-banner.sidebar h4.title {
  color: #02126a !important;
}

.about-banner.sidebar p {
  color: #555 !important;
}

/* ── FAQ section bg fix — content always visible ────────── */
.faq-section {
  background: #fff;
  position: relative;
}

.faq-section .faq-bg {
  opacity: .08;
}

/* Accordion text in faq-section */
.faq-section .accordion2 .accordion-button span,
.faq-section .accordion-body p {
  color: #333 !important;
}

/* ── Working process section — override inline white ─────── */
.working-process-section {
  background: linear-gradient(135deg, #02126a 0%, #1a237e 100%);
}

.working-process-section .section-title.process {
  background: transparent;
}

/* ── CTA gradient sections — always white text ───────────── */
[style*="background:linear-gradient(135deg,#02126a"] h2,
[style*="background:linear-gradient(135deg,#02126a"] h3,
[style*="background:linear-gradient(135deg,#02126a"] p {
  color: #fff !important;
}

[style*="background:linear-gradient(135deg,var(--clr-primary)"] h2,
[style*="background:linear-gradient(135deg,var(--clr-primary)"] p {
  color: #fff !important;
}

/* ── About-us specific fixes ─────────────────────────────── */
.about-content.section-title.primary,
.about-content.section-title {
  display: block !important;
  text-align: left !important;
}

.about-content.section-title h5.sub-title {
  color: #f13f01 !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.about-content.section-title h2.title {
  color: #02126a !important;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 16px;
}

.about-content.section-title p {
  color: #555 !important;
}

/* About object list */
.about-object-list {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.about-object-list .about-object-content h4.title {
  color: #02126a !important;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-object-list .about-object-content p {
  color: #555 !important;
  font-size: 14px;
  margin: 0;
}

/* About section2 bg */
.about-section2 {
  background: #fff;
  padding-top: 60px;
  padding-bottom: 60px;
}

.about-section2 .about-bg2 {
  opacity: .06;
}

/* Stats row bg */
.aboutus-section .py-5[style*="background:#f8f9ff"] {
  padding: 32px !important;
}

/* About-us stat icons */
.aboutus-section .col-6 .icofont-users-alt-5,
.aboutus-section .col-6 .icofont-briefcase,
.aboutus-section .col-6 .icofont-trophy,
.aboutus-section .col-6 .icofont-heart {
  color: #f13f01 !important;
}

/* About-us check list items */
.about-cards ul li {
  color: #333 !important;
}

.about-cards ul li i.icofont-check-circled {
  color: #f13f01 !important;
}

/* About-us welcome heading */
.about-cards .about-card-list h2 {
  color: #02126a !important;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.about-cards .about-card-list p {
  color: #555 !important;
}

/* Team section */
.team-section .content h3.title {
  color: #fff !important;
  font-weight: 700;
}

.team-section .content p {
  color: #fff !important;
}

/* Values grid on about page */
.about-section .col-6 p.mb-0.small {
  color: #444 !important;
}

.about-section .col-6 span[class*="icofont"] {
  color: #f13f01 !important;
}

/* ── Wave title — globally ensure it fires ───────────────── */
.wave-title {
  display: inline-block;
}

.wave-anim {
  display: inline-block;
}

/* ── CRITICAL: Label + Wave Title stacking fix ───────────── */
/* Label (Since 2020 / nt-section-label) must be BLOCK above h2 */
.nt-section-label,
span[style*="letter-spacing:3px"],
span[style*="text-transform:uppercase"][style*="color:#f13f01"],
span[style*="text-transform: uppercase"][style*="color: #f13f01"] {
  display: block !important;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* wave-title h2 must be block so label goes above it */
h1.wave-title,
h2.wave-title,
h3.wave-title,
h4.wave-title {
  display: block !important;
  margin-top: 0;
}

/* wave-anim spans — keep inline but ensure parent is block */
.wave-anim {
  display: block !important;
}

.wave-anim .wl {
  display: inline-block !important;
}

/* Parent wave-anim ko word-wrap allow karo */
h1.wave-anim,
h2.wave-anim,
h3.wave-anim,
h4.wave-anim {
  word-break: normal !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  word-spacing: normal !important;
}


/* ============================================================
   HERO BANNER CAROUSEL  — Tile / Puzzle Transition Effect
   ============================================================ */

/* ── Carousel container ──────────────────────────────────── */
.nt-hero-carousel {
  width: 100%;
  overflow: hidden;
}

.nt-hero-carousel .carousel-item {
  transition: none !important; /* Bootstrap default fade/slide off — tile handles it */
}

/* ── Tile wrapper — full-height slide ───────────────────── */
.nt-tile-wrapper {
  position: relative;
  width: 100%;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .nt-tile-wrapper {
    min-height: 100vh;
  }
}

/* ── Background image ────────────────────────────────────── */
.nt-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.05);
  transition: transform 6s ease;
}

.carousel-item.active .nt-banner-bg {
  transform: scale(1);
}

/* ── Dark overlay ────────────────────────────────────────── */
.nt-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2,18,106,0.82) 0%,
    rgba(2,18,106,0.55) 60%,
    rgba(2,18,106,0.30) 100%
  );
  z-index: 1;
}

/* ── Tile grid — 5 columns × 4 rows = 20 puzzle pieces ──── */
.nt-tile-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 1fr);
  z-index: 2;
  pointer-events: none;
}

.nt-tile {
  background: #02126a;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.4s ease calc(var(--tile-index, 0) * 0.05s),
    transform 0.4s ease calc(var(--tile-index, 0) * 0.05s);
}

/* When slide is active — tiles fade/scale OUT revealing content */
.carousel-item.active .nt-tile {
  opacity: 0;
  transform: scale(0.85);
}

/* When leaving — tiles snap back IN covering old content */
.carousel-item:not(.active) .nt-tile {
  opacity: 1;
  transform: scale(1);
}

/* ── Banner content ──────────────────────────────────────── */
.nt-banner-content {
  position: relative;
  z-index: 10;
  padding: 80px 0 60px;
}

.min-vh-60 {
  min-height: 60vh;
}

/* Badge */
.nt-banner-badge {
  display: inline-block;
  background: rgba(241,63,1,0.15);
  border: 1px solid rgba(241,63,1,0.4);
  color: #f13f01;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

/* Title */
.nt-banner-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* Subtitle */
.nt-banner-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 0;
}

/* ── Carousel controls ───────────────────────────────────── */
.nt-carousel-prev,
.nt-carousel-next {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.15) !important;
  border: 2px solid rgba(255,255,255,0.3) !important;
  border-radius: 50% !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  transition: background 0.3s, border-color 0.3s !important;
}

.nt-carousel-prev:hover,
.nt-carousel-next:hover {
  background: rgba(241,63,1,0.8) !important;
  border-color: #f13f01 !important;
}

.nt-carousel-prev { left: 20px !important; }
.nt-carousel-next { right: 20px !important; }

.nt-carousel-prev i,
.nt-carousel-next i {
  font-size: 22px;
  color: #fff;
}

/* Override default Bootstrap carousel arrow icon */
.nt-carousel-prev .carousel-control-prev-icon,
.nt-carousel-next .carousel-control-next-icon {
  display: none;
}

/* ── Indicators ──────────────────────────────────────────── */
#heroBannerCarousel .carousel-indicators {
  bottom: 20px;
  z-index: 20;
}

#heroBannerCarousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  margin: 0 5px;
  transition: background 0.3s, transform 0.3s;
}

#heroBannerCarousel .carousel-indicators button.active {
  background: #f13f01;
  transform: scale(1.3);
}

/* ── Stat bar in banner ──────────────────────────────────── */
.nt-banner-content .hero-stat-bar {
  border-top: 1px solid rgba(255,255,255,0.2);
}

.nt-banner-content .hero-stat-bar .stat-item p {
  color: rgba(255,255,255,0.7) !important;
}

/* ── Mobile adjustments ──────────────────────────────────── */
@media (max-width: 575px) {
  .nt-banner-title {
    font-size: 1.6rem;
  }
  .nt-banner-content {
    padding: 100px 0 40px;
  }
  .nt-carousel-prev,
  .nt-carousel-next {
    display: none !important;
  }
}


/* ============================================================
   CLIENTS LOGO STRIP — Redesigned
   ============================================================ */

.nt-clients-strip {
  background: #ffffff;
  padding: 50px 0 60px;
  margin-top: 60px;          /* gap from banner above */
  border-top: 1px solid rgba(2,18,106,.06);
  border-bottom: 1px solid rgba(2,18,106,.06);
}

/* Heading */
.nt-clients-heading p {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #767988;
  margin: 0 0 28px;
}

.nt-clients-heading p span {
  color: #f13f01;
  font-weight: 900;
}

/* Each logo card — white box with shadow */
.nt-client-card {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(2,18,106,.08);
  border-radius: 12px;
  padding: 18px 24px;
  height: 90px;
  box-shadow: 0 2px 12px rgba(2,18,106,.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s;
  text-decoration: none;
  overflow: hidden;
  margin: 0 10px;
}

.nt-client-card:hover {
  box-shadow: 0 8px 28px rgba(2,18,106,.14);
  transform: translateY(-3px);
  border-color: rgba(241,63,1,.25);
}

.nt-client-card img {
  max-height: 54px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s;
}

.nt-client-card:hover img {
  filter: grayscale(0%);
}

/* Fallback text when image missing */
.nt-client-fallback {
  font-size: 13px;
  font-weight: 700;
  color: #02126a;
  text-align: center;
  line-height: 1.3;
}

/* ── Override old brand-card dark background ─────────────── */
.nt-clients-carousel .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Remove old dark brand-card styles that conflict */
.nt-clients-carousel.brand-carousel {
  background: transparent !important;
  background-image: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}


/* ============================================================
   SERVICE CARDS — Image on top, content below (index page)
   ============================================================ */

.nt-service-card {
  background: #fff;
  border: 1px solid rgba(2,18,106,.08);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 4px 16px rgba(2,18,106,.06);
}

.nt-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(2,18,106,.14);
}

/* Image area on top */
.nt-service-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f3ff 0%, #e8ecff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nt-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.nt-service-card:hover .nt-service-img img {
  transform: scale(1.05);
}

/* Icon fallback shown until image is uploaded */
.nt-service-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(2,18,106,.1), rgba(241,63,1,.08));
}

.nt-service-icon-wrap span[class*="icofont"] {
  font-size: 38px;
  color: #02126a;
}

.nt-service-icon-wrap.dagnger   { background: linear-gradient(135deg,rgba(241,63,1,.1),rgba(241,63,1,.05)); }
.nt-service-icon-wrap.dagnger span { color: #f13f01; }
.nt-service-icon-wrap.warning   { background: linear-gradient(135deg,rgba(241,63,1,.1),rgba(255,124,0,.05)); }
.nt-service-icon-wrap.warning span { color: #f13f01; }
.nt-service-icon-wrap.primary   { background: linear-gradient(135deg,rgba(2,18,106,.12),rgba(38,55,200,.06)); }
.nt-service-icon-wrap.primary span { color: #02126a; }
.nt-service-icon-wrap.secondary { background: linear-gradient(135deg,rgba(38,55,200,.12),rgba(2,18,106,.06)); }
.nt-service-icon-wrap.secondary span { color: #2637c8; }

/* Content below */
.nt-service-body {
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nt-service-title {
  font-size: 17px;
  font-weight: 700;
  color: #02126a;
  margin-bottom: 10px;
}

.nt-service-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}

/* ============================================================
   BANNER CAROUSEL — Fix prev/next button z-index (clickable)
   ============================================================ */

/* Tile grid was covering the buttons — set lower z-index */
.nt-tile-grid {
  z-index: 2 !important;
  pointer-events: none !important;   /* tiles should never block clicks */
}

/* Banner content must be above tiles */
.nt-banner-content {
  z-index: 10 !important;
}

/* Carousel buttons must be above EVERYTHING */
.nt-carousel-prev,
.nt-carousel-next {
  z-index: 30 !important;
  pointer-events: auto !important;
}

/* Dark overlay also must not block buttons */
.nt-banner-overlay {
  z-index: 1 !important;
  pointer-events: none !important;
}


/* ============================================================
   HEADER ENHANCEMENTS
   ============================================================ */

/* ── Tagline Ticker (sliding marquee effect) ─────────────── */
.nt-header-ticker {
  overflow: hidden;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nt-ticker-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: nt-ticker-scroll 14s linear infinite;
}

.nt-ticker-inner span {
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding-right: 48px;
}

@keyframes nt-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* ── Header bottom — subtle shadow when not sticky ──────── */
.header-bottom {
  background: #fff;
  box-shadow: 0 2px 16px rgba(2,18,106,.07);
}

.header-bottom.is-sticky {
  box-shadow: 0 4px 24px rgba(2,18,106,.13) !important;
}

/* ── Nav link hover — underline slide effect ────────────── */
.main-menu-link {
  position: relative;
}

.main-menu-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #02126a, #f13f01);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.main-menu-link:hover::after,
.main-menu-link.active::after {
  width: 100%;
}

.main-menu-link.active {
  color: #f13f01 !important;
}

/* ── Enhanced Dropdown menu ──────────────────────────────── */
ul.main-menu > li.has-dropdown > ul.nt-dropdown-menu {
  border-radius: 12px !important;
  border: none !important;
  box-shadow: 0 16px 48px rgba(2,18,106,.18) !important;
  border-top: 3px solid #f13f01 !important;
  padding: 8px 0 !important;
  min-width: 260px !important;
  top: 20px !important;
  overflow: visible !important;  /* visible so caret shows above */
}

/* Small orange caret above dropdown */
ul.main-menu > li.has-dropdown > ul.nt-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 24px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #f13f01;
  pointer-events: none;
}

/* View all item — styled differently */
.nt-dropdown-viewall .sub-menu-link {
  background: rgba(2,18,106,.04);
  font-weight: 700 !important;
  color: #02126a !important;
  border-bottom: 1px solid rgba(2,18,106,.08);
  padding: 10px 18px !important;
}

.nt-dropdown-viewall .sub-menu-link:hover {
  background: rgba(2,18,106,.08) !important;
}

/* Dropdown item with icon */
.nt-dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 18px !important;
  transition: background 0.2s, color 0.2s, padding-left 0.2s !important;
}

.nt-dropdown-item:hover {
  background: rgba(241,63,1,.06) !important;
  padding-left: 24px !important;
  color: #f13f01 !important;
}

/* Icon circle in dropdown */
.nt-dropdown-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(2,18,106,.1), rgba(241,63,1,.08));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.nt-dropdown-icon i {
  font-size: 14px;
  color: #02126a;
}

.nt-dropdown-item:hover .nt-dropdown-icon {
  background: linear-gradient(135deg, rgba(241,63,1,.15), rgba(241,63,1,.08));
}

.nt-dropdown-item:hover .nt-dropdown-icon i {
  color: #f13f01;
}


/* ============================================================
   SECTION BACKGROUND ALTERNATION — index page flow
   ============================================================
   Banner (dark blue)
   → Clients strip (#fff white)
   → Services (#f8f9ff light)
   → Why Choose Us (#fff white)
   → Working Process (dark blue gradient) ← already dark
   → Portfolio (#f8f9ff light)
   → Testimonials (original template bg)
   → Blog (#f8f9ff) ← already set inline
   → FAQ (#fff)
   → CTA (dark blue) ← already set
   ============================================================ */

/* Services section on light bg — card border slightly more visible */
[style*="background:#f8f9ff"] .nt-service-card,
.service-section[style*="background:#f8f9ff"] .nt-service-card {
  border-color: rgba(2,18,106,.1);
}

/* About section — make bg.png visible as subtle texture */
.about-section[style*="background:#fff"] .about-bg {
  opacity: .04;
}

/* Portfolio section divider */
.case-studies-section[style*="background:#f8f9ff"] {
  border-top: 1px solid rgba(2,18,106,.06);
  border-bottom: 1px solid rgba(2,18,106,.06);
}

/* Clients strip — pure white, slight bottom shadow to separate from services */
.nt-clients-strip {
  box-shadow: 0 4px 20px rgba(2,18,106,.05);
}
