/* ==========================================================================
   TechNexa IT Infrastructure — Nanosoft Theme Full CSS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400&family=Poppins:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
  --nanosoft-navy: #0e2b5c;
  --nanosoft-topbar: #0b224a;
  --nanosoft-text: #627792;
  --nanosoft-cyan: #1dc2ef;
  --nanosoft-blue-link: #3ea9f5;
  --nanosoft-coral: #fc5546;
  --nanosoft-coral-hover: #e04436;
  --nanosoft-dark-bg: #231834;
  --nanosoft-dark-bg-2: #181123;
  --nanosoft-map-bg: #0a2044;
  --nanosoft-border: rgba(14,43,92,0.1);
  --nanosoft-bg-light: #ffffff;
  --nanosoft-gray-bg: #eceff3;
  --font-heading: 'Rubik','Poppins',sans-serif;
  --font-body: 'Rubik',sans-serif;
  --wrap-max: 1200px;
  --header-height: 110px;
  --sticky-header-height: 80px;
  --transition: all 0.3s cubic-bezier(0.25,0.8,0.25,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--nanosoft-bg-light);
  color: var(--nanosoft-text);
  line-height: 1.625;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--nanosoft-blue-link); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--nanosoft-coral); }
ul { list-style: none; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--nanosoft-navy);
  line-height: 1.2;
}

h1 { font-size: 3rem; letter-spacing: -1px; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }

.vc_custom_heading.style1 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--nanosoft-cyan);
  margin-bottom: 8px;
  display: block;
}

.section-padding { padding: 90px 0; }

/* ========== BUTTONS ========== */
.button, input[type="button"], input[type="submit"], button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  height: 55px;
  font-family: 'Rubik',sans-serif;
  font-weight: 500;
  color: var(--nanosoft-cyan);
  font-size: 1rem;
  line-height: 55px;
  padding: 0 40px;
  border: 1px solid rgba(14,43,92,0.1);
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.button:hover { background: var(--nanosoft-coral); color: #fff; border-color: var(--nanosoft-coral); }
.button.primary { background: var(--nanosoft-navy); color: #fff; border-color: var(--nanosoft-navy); }
.button.primary:hover { background: var(--nanosoft-coral); border-color: var(--nanosoft-coral); color: #fff; }
.button.coral { background: var(--nanosoft-coral); color: #fff; border-color: var(--nanosoft-coral); }
.button.coral:hover { background: var(--nanosoft-coral-hover); border-color: var(--nanosoft-coral-hover); color: #fff; }
.button.line { background: transparent; color: #fff; border: 2px solid #fff; }
.button.line:hover { background: #fff; color: var(--nanosoft-navy); }
.button.no-bg { background: transparent; border: none; padding: 0; height: auto; line-height: 1; color: var(--nanosoft-blue-link); }
.button.no-bg:hover { color: var(--nanosoft-coral); background: transparent; }
.button.small { height: 40px; line-height: 40px; padding: 0 24px; font-size: 0.875rem; }

/* ========== TOPBAR ========== */
.site-topbar {
  background-color: var(--nanosoft-topbar);
  font-family: 'Rubik',sans-serif;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  height: 40px;
  line-height: 40px;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.topbar-info { display: flex; gap: 24px; }
.topbar-info a { color: rgba(255,255,255,0.8); }
.topbar-info a:hover { color: #fff; }
.topbar-info i { margin-right: 6px; }

/* ========== MAIN HEADER ========== */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid rgba(14,43,92,0.08);
  position: relative;
  z-index: 100;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  height: 78px;
  flex-wrap: nowrap;
  overflow: visible;
  transition: var(--transition);
}
.header-brand { flex-shrink: 0; margin-right: 20px; }
.header-brand a {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0;
}

/* ── Native CSS Logo — Theme-matched ── */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
  user-select: none;
}
.site-logo .tn-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo .tn-mark svg {
  height: 48px;
  width: auto;
  display: block;
}
.site-logo .logo-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.site-logo .logo-name {
  font-family: 'Rubik', 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--nanosoft-navy);
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}
.site-logo .logo-name span {
  color: var(--nanosoft-cyan);
}
.site-logo .logo-private {
  font-family: 'Rubik', 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--nanosoft-navy);
  letter-spacing: 0.22em;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0.85;
}
.site-logo .logo-tagline {
  font-family: 'Rubik', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--nanosoft-text);
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.3;
  white-space: nowrap;
}

/* Sticky header — slightly smaller logo */
.site-header-sticky .site-logo .tn-mark svg { height: 38px; }
.site-header-sticky .site-logo .logo-name { font-size: 1.08rem; }
.site-header-sticky .site-logo .logo-private { font-size: 0.6rem; }
.site-header-sticky .site-logo .logo-tagline { display: none; }

/* Footer logo */
.site-footer .site-logo .tn-mark svg { height: 48px; }

/* Remove old img class if any */
.logo-img { display: none !important; }




/* Navigation */
.navigator { flex: 1; overflow: visible; }
.navigator .menu { display: flex; align-items: center; gap: 20px; white-space: nowrap; flex-wrap: nowrap; }
.navigator .menu > li { position: relative; flex-shrink: 0; }
.navigator .menu > li > a {
  font-family: 'Rubik',sans-serif;
  font-weight: 500;
  color: var(--nanosoft-navy);
  font-size: 0.88rem;
  padding: 26px 0;
  display: block;
  white-space: nowrap;
  transition: var(--transition);
}
.navigator .menu > li:hover > a,
.navigator .menu > li.current-menu-item > a { color: var(--nanosoft-coral); }

/* Submenu */
.navigator .sub-menu {
  position: absolute; top: 100%; left: 0; width: 220px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(14,43,92,0.1);
  border-radius: 0 0 6px 6px;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  padding: 10px 0; z-index: 200;
}
.navigator .menu > li:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.navigator .sub-menu li a { padding: 10px 20px; display: block; font-size: 0.9rem; color: var(--nanosoft-text); font-weight: 400; white-space: nowrap; }
.navigator .sub-menu li a:hover { color: var(--nanosoft-navy); background: #f8fafc; }

/* Header Extras */
.header-extras { display: flex; align-items: center; gap: 14px; flex-shrink: 0; white-space: nowrap; margin-left: 20px; }
.icons-info { display: flex; align-items: center; gap: 8px; white-space: nowrap; flex-shrink: 0; }
.icons-info .icons { width: 36px; height: 36px; background: rgba(29,194,239,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--nanosoft-cyan); font-size: 1rem; flex-shrink: 0; }
.icons-info .info { font-size: 0; line-height: 1; white-space: nowrap; }  /* hide label, show number only */
.icons-info .info a { font-weight: 700; color: var(--nanosoft-navy); font-size: 0.9rem; white-space: nowrap; display: block; }
.mobile-menu-toggle { display: none; font-size: 1.5rem; color: var(--nanosoft-navy); background: none; border: none; cursor: pointer; }
.header-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--nanosoft-navy);
  white-space: nowrap;
  padding: 8px 16px;
  border: 1.5px solid rgba(14,43,92,0.15);
  border-radius: 30px;
  background: #f4f7fa;
  transition: var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}
.header-phone-link i { color: var(--nanosoft-cyan); }
.header-phone-link:hover { background: var(--nanosoft-navy); color: #fff; border-color: var(--nanosoft-navy); }
.header-phone-link:hover i { color: #fff; }

/* Sticky Header */
.site-header-sticky {
  position: fixed; top: 0; left: 0; width: 100%;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  z-index: 999;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.site-header-sticky.is-sticky { transform: translateY(0); }
.site-header-sticky .site-header-inner { height: 70px; }

/* ========== HERO SLIDER ========== */
.hero-slider-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--nanosoft-navy);
}
.hero-slide {
  display: none;
  position: relative;
  height: 680px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-slide.active { display: block; }
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(14,43,92,0.85) 0%, rgba(14,43,92,0.45) 60%, transparent 100%);
}
.hero-slide .wrap { position: relative; z-index: 5; height: 100%; display: flex; align-items: center; }
.hero-slide-content { max-width: 680px; padding: 40px 0; }
.hero-slide-sub {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--nanosoft-cyan);
  margin-bottom: 20px;
  display: block;
}
.hero-slide-title {
  font-family: 'Rubik',sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 30px;
  text-transform: lowercase;
}
.hero-slide-divider {
  width: 60px; height: 3px;
  background: var(--nanosoft-coral);
  margin-bottom: 36px;
}
.hero-slider-nav {
  position: absolute;
  bottom: 40px; right: 40px;
  display: flex; gap: 8px;
  z-index: 10;
}
.hero-nav-btn {
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.hero-nav-btn:hover { background: var(--nanosoft-coral); border-color: var(--nanosoft-coral); }

/* Hero Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--nanosoft-coral); border-color: var(--nanosoft-coral); transform: translateY(-50%) scale(1.08); }
.hero-arrow-prev { left: 28px; }
.hero-arrow-next { right: 28px; }

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.hero-dot.active {
  background: var(--nanosoft-coral);
  width: 28px;
  border-radius: 6px;
  border-color: var(--nanosoft-coral);
}
.hero-dot:hover { background: rgba(255,255,255,0.8); }

/* ========== DARK OUR COMPANY SECTION ========== */
.vc_section_dark {
  background-color: var(--nanosoft-navy);
  padding: 70px 0 230px;
}
.vc_section_dark h3 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 10px;
}
.vc_section_dark p { color: rgba(255,255,255,0.7); line-height: 1.8; }

/* ========== OVERLAPPING CARDS ROW ========== */
.cards-overlap-row {
  margin-top: -160px;
  position: relative;
  z-index: 10;
}
.imagebox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(14,43,92,0.25);
}
.imagebox { position: relative; overflow: hidden; }
.box-image { position: relative; height: 340px; overflow: hidden; }
.box-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.imagebox:hover .box-image img { transform: scale(1.05); }
.box-header {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  background: linear-gradient(to top, rgba(14,43,92,0.85) 0%, transparent 60%);
  transition: var(--transition);
}
.box-subtitle {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.box-title {
  font-size: 1.5rem; font-weight: 700;
  color: #ffffff; margin-bottom: 16px;
  line-height: 1.2;
}
.box-button .button.no-bg { color: rgba(255,255,255,0.9); font-size: 0.9rem; }
.box-button .button.no-bg:hover { color: var(--nanosoft-cyan); }

.imagebox.card-red .box-header { background: linear-gradient(to top, rgba(252,85,70,0.85) 0%, transparent 60%); }
.imagebox.card-dark .box-header { background: linear-gradient(to top, rgba(14,43,92,0.92) 0%, transparent 60%); }
.imagebox.card-cyan .box-header { background: linear-gradient(to top, rgba(29,194,239,0.85) 0%, transparent 60%); }

.explore-company-bar {
  background: #f0f4f8;
  padding: 18px 28px;
  font-size: 0.95rem;
  color: var(--nanosoft-text);
  border-radius: 0 0 6px 6px;
}
.explore-company-bar a { font-weight: 600; color: var(--nanosoft-navy); }
.explore-company-bar a:hover { color: var(--nanosoft-coral); }

/* ========== SERVICES SECTION ========== */
.services-section {
  padding: 90px 0;
  background: var(--nanosoft-bg-light);
}
.services-section .text-center { margin-bottom: 50px; }
.services-section .text-center h2 { font-size: 2rem; font-weight: 700; color: var(--nanosoft-navy); margin-top: 10px; }

.iconbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.iconbox.style3 {
  background: #fff;
  border: 1px solid rgba(14,43,92,0.08);
  border-radius: 8px;
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.iconbox.style3::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--nanosoft-cyan);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}
.iconbox.style3:hover { box-shadow: 0 12px 40px rgba(14,43,92,0.12); transform: translateY(-4px); border-color: transparent; }
.iconbox.style3:hover::before { transform: scaleY(1); }
.iconbox.style3 .box-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(29,194,239,0.12), rgba(14,43,92,0.08));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  font-size: 1.5rem;
  color: var(--nanosoft-navy);
  transition: var(--transition);
}
.iconbox.style3:hover .box-icon { background: var(--nanosoft-navy); color: var(--nanosoft-cyan); }
.iconbox.style3 .box-title { font-size: 1.1rem; font-weight: 700; color: var(--nanosoft-navy); margin-bottom: 12px; }
.iconbox.style3 p { font-size: 0.9rem; color: var(--nanosoft-text); line-height: 1.7; margin-bottom: 16px; }
.iconbox.style3 .box-readmore a { font-size: 0.85rem; font-weight: 600; color: var(--nanosoft-cyan); }
.iconbox.style3 .box-readmore a:hover { color: var(--nanosoft-coral); }

/* ========== PARTNER LOGOS ========== */
.partner-logos-row {
  padding: 40px 0;
  background: #f5f8fb;
  border-top: 1px solid rgba(14,43,92,0.06);
  border-bottom: 1px solid rgba(14,43,92,0.06);
}
.logos-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}
.logo-item {
  display: flex; align-items: center; justify-content: center;
  padding: 10px 30px;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: var(--transition);
}
.logo-item:hover { filter: grayscale(0%); opacity: 1; }
.logo-item span {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--nanosoft-navy);
}

/* ========== INDUSTRIES DARK SECTION ========== */
.industries-dark-section {
  background-color: var(--nanosoft-dark-bg);
  padding: 90px 0;
}
.industries-dark-section .vc_custom_heading.style1 { color: var(--nanosoft-cyan); }
.industries-dark-section h3 { color: #fff; font-size: 2rem; font-weight: 700; margin-top: 10px; }
.industries-dark-section > .wrap > div:first-child { margin-bottom: 50px; }

.industries-icon-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.iconbox.style4 {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.iconbox.style4:hover { background: rgba(29,194,239,0.1); border-color: var(--nanosoft-cyan); transform: translateY(-4px); }
.iconbox.style4 .box-icon {
  font-size: 2rem;
  color: var(--nanosoft-cyan);
  margin-bottom: 16px;
}
.iconbox.style4 .box-title { font-size: 0.95rem; font-weight: 600; color: #fff; margin-bottom: 10px; }
.iconbox.style4 p { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 12px; }
.iconbox.style4 .box-readmore a { font-size: 0.8rem; color: var(--nanosoft-cyan); font-weight: 600; }
.iconbox.style4 .box-readmore a:hover { color: var(--nanosoft-coral); }

/* ========== CASE STUDIES / PROJECTS SECTION ========== */
.projects-masonry-section {
  background-color: var(--nanosoft-dark-bg-2);
  padding: 90px 0;
}
.projects-masonry-section .vc_custom_heading.style1 { color: var(--nanosoft-cyan); }

.projects-grid-nanosoft {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 10px;
}

.project-item-nanosoft {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transition: var(--transition);
}
.project-item-nanosoft:hover { transform: translateY(-6px); box-shadow: 0 16px 50px rgba(0,0,0,0.3); }

.project-thumbnail-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
  grid-column: 1 / -1;
}
.project-thumbnail-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-mask-overlay {
  position: absolute; inset: 0;
  opacity: 0.5;
  mix-blend-mode: multiply;
  transition: opacity 0.3s;
}
.project-item-nanosoft:hover .project-mask-overlay { opacity: 0.35; }

.project-info-content {
  padding: 24px;
  background: #fff;
  grid-column: 1 / -1;
}
.project-category-tag {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--nanosoft-cyan);
  margin-bottom: 8px;
}
.project-title { font-size: 1.1rem; font-weight: 700; color: var(--nanosoft-navy); margin-bottom: 10px; line-height: 1.3; }
.project-summary-text { font-size: 0.85rem; color: var(--nanosoft-text); line-height: 1.6; margin-bottom: 16px; }

/* ========== MAP SECTION ========== */
.map-section-nanosoft {
  background-color: var(--nanosoft-map-bg);
  padding: 80px 0 60px;
}
.map-wrapper {
  position: relative;
  height: 320px;
  margin-bottom: 50px;
  overflow: hidden;
  border-radius: 8px;
}
.map-svg-graphic { width: 100%; height: 100%; opacity: 0.5; }
.map-pin {
  position: absolute;
  width: 14px; height: 14px;
  background: var(--nanosoft-cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
  cursor: pointer;
}
.map-pin::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--nanosoft-cyan);
  animation: pulseRing 2s infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.2); } }
@keyframes pulseRing { 0% { opacity: 1; transform: translate(-50%,-50%) scale(1); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(2.5); } }

.iconlist-horizontal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.iconlist-item { display: flex; gap: 20px; align-items: flex-start; }
.iconlist-item-icon {
  width: 54px; height: 54px; flex-shrink: 0;
  background: rgba(29,194,239,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--nanosoft-cyan);
}
.iconlist-item-content h4 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.iconlist-item-content p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin: 0; }

/* ========== COUNTER SECTION ========== */
.counter-section {
  background: var(--nanosoft-navy);
  padding: 70px 0;
}
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.counter-item .number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  font-family: 'Rubik',sans-serif;
  display: block;
  margin-bottom: 8px;
}
.counter-item .label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== CTA BANNER SECTION ========== */
.cta-banner-section {
  position: relative;
  padding: 100px 0 160px;
  background: linear-gradient(180deg,#fff 0%,rgba(244,246,250,0.5) 100%);
  text-align: center;
  overflow: hidden;
}
.cta-banner-bg {
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 280px;
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center bottom;
  opacity: 0.25;
  filter: grayscale(100%);
  mask-image: linear-gradient(to top,rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to top,rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
}
.cta-banner-content { position: relative; z-index: 5; max-width: 650px; margin: 0 auto; }
.cta-banner-content .vc_custom_heading.style1 { font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--nanosoft-text); font-weight: 500; margin-bottom: 12px; }
.cta-banner-content h2 { font-size: 2.8rem; font-weight: 700; color: var(--nanosoft-navy); line-height: 1.15; margin-bottom: 20px; }
.cta-banner-content p { font-size: 1.05rem; color: var(--nanosoft-text); margin-bottom: 30px; line-height: 1.6; }

/* About page CTA override */
.cta-banner-section.dark-cta {
  background: var(--nanosoft-navy);
  padding: 90px 0;
}
.cta-banner-section.dark-cta .cta-banner-content h2 { color: #fff; }
.cta-banner-section.dark-cta .cta-banner-content p { color: rgba(255,255,255,0.75); }
.cta-label { font-size: 0.85rem; font-weight: 600; color: var(--nanosoft-cyan); letter-spacing: 1px; text-transform: uppercase; display: block; margin-bottom: 14px; }

/* ========== FOOTER ========== */
.site-footer {
  background-color: #fff;
  border-top: 1px solid rgba(14,43,92,0.1);
  padding-top: 80px;
}
/* Footer logo sizing */
.site-footer .logo-img { height: 60px; width: auto; }

.footer-widgets-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-widget .widget-title {
  font-family: 'Poppins',sans-serif;
  font-size: 1.125rem;
  color: var(--nanosoft-navy);
  margin-bottom: 24px;
  font-weight: 600;
}
.footer-links-list li { margin-bottom: 12px; }
.footer-links-list li a { color: var(--nanosoft-navy); font-size: 0.95rem; }
.footer-links-list li a:hover { color: var(--nanosoft-coral); }
.footer-copyright { border-top: 1px solid rgba(0,0,0,0.08); padding: 30px 0; font-size: 15px; color: var(--nanosoft-text); }
.footer-copyright-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-copyright a { color: var(--nanosoft-navy); }
.footer-copyright a:hover { color: var(--nanosoft-coral); }

/* Footer responsive layout */
@media (max-width: 992px) {
  .footer-widgets-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 576px) {
  .footer-widgets-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-copyright-inner { flex-direction: column; gap: 10px; text-align: center; }
}


/* ========== MODAL ========== */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(14,43,92,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(14,43,92,0.25);
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none;
  font-size: 1.2rem; color: var(--nanosoft-text);
  cursor: pointer;
}
.modal-close:hover { color: var(--nanosoft-coral); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--nanosoft-navy); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1px solid rgba(14,43,92,0.15);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: 'Rubik',sans-serif;
  color: var(--nanosoft-navy);
  transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--nanosoft-cyan); box-shadow: 0 0 0 3px rgba(29,194,239,0.1); }

/* ========== ABOUT HERO (About page) ========== */
.about-hero-section {
  background: linear-gradient(135deg,#0e2b5c 60%,#1dc2ef 100%);
  padding: 60px 0 0;
  overflow: hidden;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: flex-end;
  min-height: 240px;
}
.about-hero-img-left img, .about-hero-img-right img {
  width: 100%; height: 240px;
  object-fit: cover; object-position: top;
  display: block; border-radius: 8px 8px 0 0;
}
.about-hero-center { text-align: center; padding: 30px 40px 40px; color: #fff; }
.about-hero-center h1 { font-size: 2.5rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.about-hero-center p { font-size: 1.05rem; color: rgba(255,255,255,0.85); max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* Sub-nav tabs */
.subnav-tabs-bar {
  background: #fff;
  border-bottom: 1px solid #e8edf3;
  box-shadow: 0 2px 8px rgba(14,43,92,0.07);
  position: sticky; top: 70px; z-index: 99;
}
.subnav-tabs { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; overflow-x: auto; }
.subnav-tabs li { flex-shrink: 0; }
.subnav-tab-link { display: block; padding: 18px 22px; font-size: 0.9rem; font-weight: 600; color: #627792; text-decoration: none; border-bottom: 3px solid transparent; transition: all 0.2s; white-space: nowrap; cursor: pointer; }
.subnav-tab-link:hover { color: #0e2b5c; }
.subnav-tab-link.active { color: #fc5546; border-bottom-color: #fc5546; }

/* Team section */
.team-section { padding: 80px 0; background: var(--nanosoft-bg-light); }
.section-heading-center { text-align: center; margin-bottom: 50px; }
.section-heading-center h2 { font-size: 2rem; font-weight: 700; color: var(--nanosoft-navy); }
.section-heading-center p { color: var(--nanosoft-text); max-width: 550px; margin: 10px auto 0; }
.team-grid-5 { display: grid; grid-template-columns: repeat(5,1fr); gap: 24px; }
.team-card { border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(14,43,92,0.08); transition: transform 0.3s; background: var(--nanosoft-navy); }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(14,43,92,0.15); }
.team-card-img-wrap { position: relative; height: 220px; overflow: hidden; background: #9ab0c7; }
.team-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter 0.4s; }
.team-card:hover .team-card-img-wrap img { filter: grayscale(0%); }
.team-card-socials { position: absolute; inset: 0; background: rgba(14,43,92,0.45); display: flex; align-items: center; justify-content: center; gap: 10px; opacity: 0; transition: opacity 0.3s; }
.team-card:hover .team-card-socials { opacity: 1; }
.team-card-socials a { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #0e2b5c; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; transition: all 0.2s; text-decoration: none; }
.team-card-socials a:hover { background: #1dc2ef; color: #fff; }
.team-card-info { background: #0e2b5c; padding: 16px; }
.team-card-info h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.team-card-info p { font-size: 0.8rem; color: var(--nanosoft-cyan); margin: 0; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .industries-icon-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 1024px) {
  .hero-slide-title { font-size: 3rem; }
  .imagebox-grid { grid-template-columns: 1fr; }
  .iconbox-grid { grid-template-columns: repeat(2,1fr); }
  .projects-grid-nanosoft { grid-template-columns: 1fr; }
  .iconlist-horizontal { grid-template-columns: 1fr; gap: 24px; }
  .footer-widgets-grid { grid-template-columns: repeat(2,1fr); }
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-hero-img-left, .about-hero-img-right { display: none; }
  .team-grid-5 { grid-template-columns: repeat(3,1fr); }
  .counter-grid { grid-template-columns: repeat(2,1fr); }
  .industries-icon-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  .hero-slide { height: 500px; }
  .hero-slide-title { font-size: 2.5rem; }
  .vc_section_dark { padding-bottom: 200px; }
  .cards-overlap-row { margin-top: -120px; }
  .navigator { display: none; }
  .mobile-menu-toggle { display: block; }
  .icons-info { display: none; }
  .iconbox-grid { grid-template-columns: 1fr; }
  .logos-grid { gap: 20px; }
  .industries-icon-grid { grid-template-columns: repeat(2,1fr); }
  .projects-grid-nanosoft { grid-template-columns: 1fr; }
  .counter-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid-5 { grid-template-columns: repeat(2,1fr); }
  .footer-widgets-grid { grid-template-columns: 1fr; }
  .footer-copyright-inner { flex-direction: column; gap: 10px; text-align: center; }
  .subnav-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .cta-banner-content h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .hero-slide-title { font-size: 2rem; letter-spacing: -1px; }
  .counter-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .industries-icon-grid { grid-template-columns: 1fr; }
}

/* ========== HERO SLIDER ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-slide-content > * {
  opacity: 0;
  transform: translateY(20px);
}

.hero-slide.active .hero-slide-content > * {
  animation: fadeInUp 0.6s forwards;
}

/* Staggered delays via inline style set by JS */

@media (prefers-reduced-motion: reduce) {
  .hero-slide-content > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ========== FLOATING WHATSAPP & MOBILE CALL BAR ========== */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
}

.mobile-call-now {
  display: none;
}

@media (max-width: 768px) {
  .mobile-call-now {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--nanosoft-navy, #0e1b38);
    color: #fff;
    padding: 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 9999;
    text-decoration: none;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  }
  .mobile-call-now i {
    color: var(--nanosoft-cyan, #1dc2ef);
  }
  .floating-whatsapp {
    bottom: 60px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
  body {
    padding-bottom: 50px;
  }
}

/* ========== HOME PAGE REDESIGN RESPONSIVE STYLES ========== */
@media (max-width: 992px) {
  .services-top-cards-grid { grid-template-columns: 1fr !important; }
  .capabilities-strip-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .support-split-panel { grid-template-columns: 1fr !important; gap: 30px !important; }
  .support-split-panel .split-col-left { border-right: none !important; border-bottom: 1px solid #e2e8f4; padding-right: 0 !important; padding-bottom: 30px; }
  .support-split-panel .split-col-right { padding-left: 0 !important; }
  .blog-grid-5 { grid-template-columns: 1fr !important; }
  .blog-grid-5 > div { grid-column: span 1 !important; }
}

@media (max-width: 600px) {
  .capabilities-strip-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
