/* ==========================================================================
   Nex-IT Solutions – Pure CSS3 Design System
   Modern, Corporate, Responsive & Accessible
   ========================================================================== */

:root {
  /* Brand Palette */
  --navy-darkest: #060D17;
  --navy-dark: #0A192F;
  --navy-base: #0F2445;
  --navy-light: #1E3A8A;
  
  --blue-vibrant: #0062FF;
  --blue-hover: #004ECC;
  --cyan-bright: #00D4FF;
  --cyan-glow: rgba(0, 212, 255, 0.2);
  
  /* Neutral Palette */
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  /* Service Delivery Badges */
  --online-bg: #EFF6FF;
  --online-border: #BFDBFE;
  --online-text: #1D4ED8;
  
  --onsite-bg: #FFFBEB;
  --onsite-border: #FDE68A;
  --onsite-text: #B45309;

  --success-bg: #ECFDF5;
  --success-border: #A7F3D0;
  --success-text: #047857;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Elevations */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 50px rgba(15, 23, 42, 0.18);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Layout */
  --max-width: 1240px;
}

/* Base Reset & Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: #FFFFFF;
  color: var(--slate-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-vibrant) 0%, #004ECC 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 98, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 98, 255, 0.4);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--navy-dark);
  border-color: var(--slate-200);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  border-color: var(--blue-vibrant);
  color: var(--blue-vibrant);
  background: var(--slate-50);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-icon-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.badge-online {
  background: var(--online-bg);
  border: 1px solid var(--online-border);
  color: var(--online-text);
}

.badge-onsite {
  background: var(--onsite-bg);
  border: 1px solid var(--onsite-border);
  color: var(--onsite-text);
}

.badge-hybrid {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #15803D;
}

/* Header & Sticky Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
  transition: all 0.3s ease;
  padding: 14px 0;
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
}

/* Exact Logo Sizing (Desktop: 280–300px, Mobile: 205–240px) */
.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 320px;
  object-contain: contain;
  transition: height 0.25s ease;
}

.site-header.scrolled .brand-logo-img {
  height: 44px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-600);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--blue-vibrant);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-vibrant), var(--cyan-bright));
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  color: var(--navy-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.header-phone-btn:hover {
  border-color: var(--blue-vibrant);
  color: var(--blue-vibrant);
}

.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--slate-700);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: #FFFFFF;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
}

.mobile-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-200);
}

.mobile-nav-links {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-700);
  border-radius: var(--radius-md);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: var(--slate-100);
  color: var(--blue-vibrant);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 70px 0 90px;
  background: radial-gradient(circle at 85% 15%, rgba(0, 212, 255, 0.08), transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(0, 98, 255, 0.06), transparent 45%),
              #FFFFFF;
  border-bottom: 1px solid var(--slate-200);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.12;
  color: var(--navy-dark);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--blue-vibrant) 0%, var(--cyan-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 580px;
}

.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: #FFFFFF;
  border: 1px solid #BAE6FD;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 32px;
  box-shadow: var(--shadow-xs);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero Showcase Card */
.hero-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-200);
}

.pulse-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #15803D;
  background: #DCFCE7;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.coverage-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.coverage-block.online {
  background: #F0F9FF;
  border: 1px solid #E0F2FE;
}

.coverage-block.onsite {
  background: #FEF3C7;
  border: 1px solid #FDE68A;
}

.coverage-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.coverage-block.online .coverage-icon {
  background: #0284C7;
  color: #FFFFFF;
}

.coverage-block.onsite .coverage-icon {
  background: #D97706;
  color: #FFFFFF;
}

.coverage-text h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.coverage-text p {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.45;
}

/* Stats Row */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-200);
  text-align: center;
}

.stat-item h5 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-vibrant);
}

.stat-item span {
  font-size: 0.75rem;
  color: var(--slate-500);
  font-weight: 600;
}

/* Section Common Styling */
.section {
  padding: 90px 0;
}

.section-bg-slate {
  background-color: var(--slate-50);
}

.section-bg-navy {
  background-color: var(--navy-dark);
  color: #FFFFFF;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-vibrant);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* Services Filter Tabs */
.filter-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-tabs {
  display: inline-flex;
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
  box-shadow: var(--shadow-xs);
}

.filter-tab {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  color: var(--navy-dark);
}

.filter-tab.active {
  background: var(--navy-dark);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(10, 25, 47, 0.2);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.service-card-top {
  margin-bottom: 24px;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #EFF6FF;
  color: var(--blue-vibrant);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-top: 12px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-checklist {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--slate-700);
  font-weight: 600;
}

.check-icon {
  color: var(--blue-vibrant);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Where We Serve (Coverage) Section */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.coverage-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.coverage-card.online-scope {
  border-top: 4px solid var(--blue-vibrant);
}

.coverage-card.onsite-scope {
  border-top: 4px solid #D97706;
}

.coverage-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.coverage-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.coverage-tag {
  background: var(--slate-100);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
}

/* Why Choose Us & Tech Stack */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-box {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #F0F9FF;
  color: var(--blue-vibrant);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
}

.tech-badges-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.tech-badge {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-800);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-xs);
}

/* How It Works Workflow */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.workflow-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
}

.workflow-step-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue-vibrant);
  margin-bottom: 12px;
}

.workflow-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.workflow-card p {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* Testimonials / Case Studies */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars-row {
  color: #F59E0B;
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--slate-700);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
}

.client-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--navy-dark);
}

.client-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy-dark);
}

.client-info span {
  font-size: 0.75rem;
  color: var(--slate-500);
}

/* Blog / Articles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-thumb {
  height: 180px;
  background-color: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.blog-date {
  font-size: 0.75rem;
  color: var(--slate-400);
  margin-bottom: 8px;
}

.blog-content h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.35;
  margin-bottom: 10px;
}

.blog-content p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 16px;
}

/* Contact & CTA Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: var(--navy-dark);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}

.contact-info-card h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-info-card p {
  color: var(--slate-300);
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-bright);
}

.contact-method-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-method-text strong {
  font-size: 1rem;
  color: #FFFFFF;
}

.contact-form-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--slate-800);
  background: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-vibrant);
  box-shadow: 0 0 0 4px rgba(0, 98, 255, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Footer */
.site-footer {
  background: var(--navy-darkest);
  color: #FFFFFF;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  color: var(--slate-400);
  font-size: 0.9rem;
  margin-top: 18px;
  line-height: 1.65;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--cyan-bright);
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--slate-500);
  font-size: 0.82rem;
}

/* Modal Popup Framework */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.96) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #FFFFFF;
  z-index: 10;
}

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.modal-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--slate-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background: var(--slate-100);
  color: var(--navy-dark);
}

.modal-body {
  padding: 28px;
}

/* Floating Quick Actions */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-whatsapp {
  background: #25D366;
}

.floating-phone {
  background: var(--blue-vibrant);
}

/* Accordion FAQs inside Modal */
.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  background: var(--slate-50);
  border: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.55;
  background: #FFFFFF;
  display: none;
  border-top: 1px solid var(--slate-200);
}

.faq-item.active .faq-answer {
  display: block;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .features-grid, .testimonials-grid, .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-menu, .header-phone-btn {
    display: none;
  }

  .mobile-toggle-btn {
    display: block;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .brand-logo-img {
    height: 44px;
    max-width: 240px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.95rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .features-grid, .testimonials-grid, .blog-grid, .workflow-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .brand-logo-img {
    height: 38px;
    max-width: 210px;
  }

  .filter-tabs {
    flex-direction: column;
    width: 100%;
    border-radius: var(--radius-lg);
  }

  .filter-tab {
    text-align: center;
    border-radius: var(--radius-md);
  }
}

/* ==========================================================================
   Nex-IT PDF Tools – Design System & Component Styles
   ========================================================================== */

/* Category Colors */
:root {
  --pdf-organize: #3B82F6;
  --pdf-compress: #10B981;
  --pdf-convert-to: #8B5CF6;
  --pdf-convert-from: #F59E0B;
  --pdf-edit: #EC4899;
  --pdf-security: #EF4444;
  --pdf-advanced: #6366F1;
}

/* PDF Tools Hero */
.pdf-hero {
  position: relative;
  padding: 60px 0 50px;
  background: radial-gradient(circle at 80% 20%, rgba(0, 98, 255, 0.08), transparent 45%),
              radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.06), transparent 45%),
              #FFFFFF;
  border-bottom: 1px solid var(--slate-200);
  text-align: center;
}

.pdf-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--blue-vibrant);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pdf-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.pdf-hero-sub {
  font-size: 1.12rem;
  color: var(--slate-600);
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.pdf-trust-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--slate-600);
  font-weight: 600;
  padding: 8px 20px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-pill);
}

.pdf-trust-dot {
  color: var(--slate-300);
}

/* Search Bar */
.pdf-search-container {
  max-width: 580px;
  margin: 32px auto 0;
  position: relative;
}

.pdf-search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--slate-200);
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-900);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.pdf-search-input:focus {
  outline: none;
  border-color: var(--blue-vibrant);
  box-shadow: 0 0 0 4px rgba(0, 98, 255, 0.15);
}

.pdf-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
  pointer-events: none;
}

/* Category Filter Tabs */
.pdf-categories-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 36px 0 10px;
}

.pdf-category-pill {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdf-category-pill:hover {
  background: var(--slate-100);
  color: var(--navy-dark);
}

.pdf-category-pill.active {
  background: var(--navy-dark);
  color: #FFFFFF;
  border-color: var(--navy-dark);
  box-shadow: var(--shadow-xs);
}

/* PDF Tools Grid */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.pdf-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  position: relative;
}

.pdf-card:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.pdf-card-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 14px;
  width: fit-content;
}

.pdf-card-badge.cat-organize { background: #EFF6FF; color: #1D4ED8; }
.pdf-card-badge.cat-compress { background: #ECFDF5; color: #047857; }
.pdf-card-badge.cat-convert-to { background: #F5F3FF; color: #6D28D9; }
.pdf-card-badge.cat-convert-from { background: #FFFBEB; color: #B45309; }
.pdf-card-badge.cat-edit { background: #FDF2F8; color: #BE185D; }
.pdf-card-badge.cat-security { background: #FEF2F2; color: #B91C1C; }
.pdf-card-badge.cat-advanced { background: #EEF2FF; color: #4338CA; }

.pdf-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform 0.2s ease;
}

.pdf-card:hover .pdf-card-icon {
  transform: scale(1.08);
}

.pdf-card-icon.cat-organize { background: #EFF6FF; color: #2563EB; }
.pdf-card-icon.cat-compress { background: #ECFDF5; color: #059669; }
.pdf-card-icon.cat-convert-to { background: #F5F3FF; color: #7C3AED; }
.pdf-card-icon.cat-convert-from { background: #FFFBEB; color: #D97706; }
.pdf-card-icon.cat-edit { background: #FDF2F8; color: #DB2777; }
.pdf-card-icon.cat-security { background: #FEF2F2; color: #DC2626; }
.pdf-card-icon.cat-advanced { background: #EEF2FF; color: #4F46E5; }

.pdf-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.pdf-card-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 18px;
}

.pdf-card-action {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-vibrant);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.pdf-card:hover .pdf-card-action {
  gap: 10px;
}

/* Tool Interactive Studio / Workspace */
.pdf-workspace-overlay {
  display: none;
  padding: 40px 0 80px;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}

.pdf-workspace-overlay.active {
  display: block;
}

.pdf-workspace-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.pdf-workspace-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
}

.pdf-workspace-title-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pdf-workspace-body {
  padding: 36px;
}

/* Drag & Drop Upload Zone */
.pdf-dropzone {
  border: 2px dashed #93C5FD;
  background: #F8FAFC;
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
}

.pdf-dropzone:hover, .pdf-dropzone.dragover {
  border-color: var(--blue-vibrant);
  background: #EFF6FF;
}

.pdf-dropzone-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #DBEAFE;
  color: var(--blue-vibrant);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.pdf-dropzone h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.pdf-dropzone p {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: 20px;
}

.pdf-file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

/* Uploaded Files List */
.pdf-file-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.pdf-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 12px 18px;
}

.pdf-file-info {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.pdf-file-meta strong {
  font-size: 0.92rem;
  color: var(--navy-dark);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
}

.pdf-file-meta span {
  font-size: 0.78rem;
  color: var(--slate-500);
}

.pdf-file-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdf-btn-icon {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 0.78rem;
  cursor: pointer;
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pdf-btn-icon:hover {
  background: var(--slate-100);
  color: var(--navy-dark);
}

.pdf-btn-icon.danger {
  color: #DC2626;
  border-color: #FECACA;
}

.pdf-btn-icon.danger:hover {
  background: #FEF2F2;
}

/* Tool Settings & Options Panel */
.pdf-tool-options {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
}

.pdf-tool-options h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Processing Progress */
.pdf-progress-box {
  display: none;
  text-align: center;
  padding: 36px 20px;
}

.pdf-progress-box.active {
  display: block;
}

.pdf-progress-bar-wrap {
  width: 100%;
  height: 8px;
  background: var(--slate-200);
  border-radius: 4px;
  overflow: hidden;
  margin: 16px 0 10px;
}

.pdf-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-vibrant), var(--cyan-bright));
  transition: width 0.3s ease;
}

/* Success Result Box */
.pdf-result-box {
  display: none;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin-top: 24px;
}

.pdf-result-box.active {
  display: block;
}

.pdf-result-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #22C55E;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

/* Signature Canvas */
.signature-canvas-box {
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  width: 100%;
  max-width: 440px;
  height: 160px;
  touch-action: none;
}

/* Homepage Featured PDF Tools Section */
.pdf-home-section {
  padding: 85px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-bottom: 1px solid var(--slate-200);
}

.pdf-home-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
}

.pdf-home-cta-wrap {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .pdf-hero-title {
    font-size: 2.1rem;
  }
  .pdf-workspace-body {
    padding: 20px;
  }
  .pdf-grid {
    grid-template-columns: 1fr;
  }
}

