/* ==========================================================================
   NanoRa Technologies — Main Stylesheet
   ========================================================================== */

:root {
  /* Colors */
  --bg: #060816;
  --bg-alt: #0a0e21;
  --card: rgba(255, 255, 255, 0.08);
  --card-solid: #0d1128;
  --primary: #4F46E5;
  --secondary: #06B6D4;
  --accent: #8B5CF6;
  --success: #10B981;
  --text: #FFFFFF;
  --subtext: #B6C2CF;
  --border: rgba(255, 255, 255, 0.1);

  --grad-primary: linear-gradient(135deg, var(--primary), var(--accent));
  --grad-secondary: linear-gradient(135deg, var(--secondary), var(--primary));
  --grad-full: linear-gradient(135deg, var(--secondary), var(--primary), var(--accent));

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-glow: 0 0 40px rgba(79, 70, 229, 0.35);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.35);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }

::selection { background: var(--primary); color: #fff; }

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Background layer
   ========================================================================== */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.35;
}
.blob-1 { width: 500px; height: 500px; background: var(--primary); top: -100px; left: -100px; }
.blob-2 { width: 550px; height: 550px; background: var(--secondary); top: 30%; right: -150px; }
.blob-3 { width: 450px; height: 450px; background: var(--accent); bottom: -150px; left: 30%; }

/* Cursor glow */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,0.15), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: transform;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  z-index: 1000;
  background: transparent;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--grad-full);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-display);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  white-space: nowrap;
}
.btn i { transition: transform 0.3s var(--ease); font-size: 13px; }
.btn:hover i { transform: translateX(4px); }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.45);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(79, 70, 229, 0.65); transform: translateY(-2px); }

.btn-outline {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); transform: translateY(-2px); }

.btn-white {
  background: #fff;
  color: var(--bg);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255,255,255,0.25); }

.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 18px 34px; font-size: 16px; }

/* shine sweep */
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
}
.btn:hover::before { animation: shine 0.9s ease; }

/* Ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transform: scale(0);
  animation: ripple-effect 0.6s ease-out;
  pointer-events: none;
}

/* ==========================================================================
   Section generics
   ========================================================================== */
main, header, footer { position: relative; z-index: 2; }

section { padding: 120px 0; position: relative; }

.section-header { max-width: 640px; margin: 0 auto 64px; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--secondary);
  display: inline-block;
}
.section-tag.center { justify-content: center; width: 100%; }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.section-title.center { text-align: center; }

.section-desc { color: var(--subtext); font-size: 17px; }
.section-desc.center { text-align: center; margin: 0 auto; }

/* .grad-text {
  background: var(--grad-secondary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
} */

.glass-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  padding: 14px 0;
  background: rgba(6, 8, 22, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 21px; font-weight: 700; }
/* .logo-mark {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--grad-primary);
  font-size: 16px;
} */

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--subtext);
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad-secondary);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.navbar-actions { display: flex; align-items: center; gap: 20px; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 26px; }
.hamburger span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--subtext);
  margin-bottom: 26px;
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
  animation: pulse-dot 2s infinite;
}

.hero-title {
  font-size: clamp(36px, 4.6vw, 58px);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text-anim {
  background: linear-gradient(90deg, var(--secondary), var(--primary), var(--accent), var(--secondary));
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-flow 6s linear infinite;
}

.hero-desc { color: var(--subtext); font-size: 18px; max-width: 520px; margin-bottom: 36px; }

.hero-cta { display: flex; gap: 18px; margin-bottom: 56px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 44px; }
.hero-stat h3 { font-size: 32px; background: var(--grad-secondary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat p { color: var(--subtext); font-size: 14px; margin-top: 4px; }

.hero-right { position: relative; }
.hero-visual { position: relative; max-width: 480px; margin: 0 auto; }

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,8,22,0.7) 100%);
}
.hero-image { width: 100%; height: 520px; object-fit: cover; }

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(13, 17, 40, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  font-family: var(--font-display);
}
.floating-card i { font-size: 20px; color: var(--secondary); }
.floating-card strong { display: block; font-size: 13.5px; }
.floating-card span { font-size: 11.5px; color: var(--subtext); }

.fc-1 { top: 8%; left: -12%; }
.fc-2 { bottom: 22%; right: -10%; }
.fc-3 { top: 46%; left: -16%; }

.code-block {
  position: absolute;
  bottom: -6%;
  right: -8%;
  width: 230px;
  padding: 16px 18px;
  background: rgba(8, 10, 26, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  font-family: 'Courier New', monospace;
}
.code-dots { display: flex; gap: 6px; margin-bottom: 10px; }
.code-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }
.code-block p { font-size: 12.5px; color: var(--secondary); min-height: 16px; }
.cursor-blink { animation: blink 1s step-end infinite; color: var(--text); }

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--border);
  border-radius: 20px;
}
.scroll-indicator span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--secondary);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scroll-dot 1.6s ease infinite;
}

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.trust-track { display: flex; width: max-content; animation: scroll-left 28s linear infinite; }
.trust-slide { display: flex; gap: 64px; padding-right: 64px; }
.trust-slide span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--subtext);
  white-space: nowrap;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.trust-slide span:hover { opacity: 1; color: var(--text); }
.trust-slide i { font-size: 22px; color: var(--secondary); }

/* ==========================================================================
   About
   ========================================================================== */
.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-image { position: relative; }
.about-img-main {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.about-glass {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 280px;
  padding: 24px;
}
.about-glass h4 { font-size: 15px; margin-bottom: 18px; }
.progress-item { margin-bottom: 14px; }
.progress-item:last-child { margin-bottom: 0; }
.progress-label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--subtext); margin-bottom: 6px; }
.progress-bar { width: 100%; height: 6px; border-radius: 4px; background: rgba(255,255,255,0.08); overflow: hidden; }
.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: var(--grad-secondary);
  transition: width 1.4s var(--ease);
}

.about-counters {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 30px;
  margin: 34px 0;
}
.about-counter h3 { font-size: 28px; background: var(--grad-secondary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-counter p { font-size: 13px; color: var(--subtext); margin-top: 4px; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--grad-full);
  opacity: 0;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(79, 70, 229, 0.25);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-primary);
  font-size: 22px;
  margin-bottom: 22px;
  transition: transform 0.4s var(--ease);
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); }

.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { color: var(--subtext); font-size: 14.5px; margin-bottom: 18px; }
.card-link { font-size: 14px; font-weight: 600; color: var(--secondary); display: inline-flex; align-items: center; gap: 8px; }
.card-link i { font-size: 11px; transition: transform 0.3s ease; }
.card-link:hover i { transform: translateX(4px); }

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.why-img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.why-list { display: flex; flex-direction: column; gap: 26px; margin-top: 30px; }
.why-list li { display: flex; gap: 18px; align-items: flex-start; }
.check-anim {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  color: var(--success);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.why-list strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 16.5px; }
.why-list p { color: var(--subtext); font-size: 14.5px; }

/* ==========================================================================
   Process timeline
   ========================================================================== */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
}
.timeline-line { display: none; }
.timeline-item {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  transition: transform 0.4s var(--ease);
}
.timeline-item:hover { transform: translateY(-6px); }
.timeline-icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.timeline-item h4 { font-size: 16px; margin-bottom: 8px; }
.timeline-item p { color: var(--subtext); font-size: 13.5px; }

/* ==========================================================================
   Technologies
   ========================================================================== */
.tech-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 20px; }
.tech-item {
  padding: 28px 14px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.35s var(--ease), background 0.35s ease;
}
.tech-item i { font-size: 30px; color: var(--secondary); margin-bottom: 10px; display: block; }
.tech-item span { font-size: 12.5px; color: var(--subtext); font-weight: 600; }
.tech-item:hover { transform: translateY(-6px) scale(1.04); background: rgba(255,255,255,0.12); }

/* ==========================================================================
   Projects
   ========================================================================== */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--card); }
.project-img-wrap { position: relative; overflow: hidden; height: 260px; }
.project-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.project-card:hover .project-img-wrap img { transform: scale(1.1); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,8,22,0.1), rgba(6,8,22,0.9));
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-badge {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  font-size: 12px;
  font-weight: 700;
}
.project-info { padding: 22px 24px; }
.project-info h4 { font-size: 17px; margin-bottom: 6px; }
.project-info p { color: var(--subtext); font-size: 14px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-slider { max-width: 720px; margin: 0 auto; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.6s var(--ease); }
.testimonial-card {
  min-width: 100%;
  padding: 44px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  text-align: center;
}
.stars { color: #FBBF24; font-size: 15px; margin-bottom: 20px; letter-spacing: 3px; }
.testimonial-card p { font-size: 18px; margin-bottom: 26px; color: var(--text); font-style: italic; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 14.5px; }
.testimonial-author span { font-size: 12.5px; color: var(--subtext); }
.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.testimonial-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border);
  transition: all 0.3s ease;
}
.testimonial-dots button.active { background: var(--secondary); width: 26px; border-radius: 6px; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-box { padding: 42px 20px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border); }
.stat-box h3 { font-size: 40px; background: var(--grad-full); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-box p { color: var(--subtext); margin-top: 8px; font-size: 14px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}
.faq-question i { transition: transform 0.35s var(--ease); color: var(--secondary); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 26px 22px; color: var(--subtext); font-size: 14.5px; }

/* ==========================================================================
   Contact CTA
   ========================================================================== */
.contact-cta { padding: 100px 0; }
.cta-inner {
  text-align: center;
  padding: 80px 40px;
  border-radius: var(--radius-lg);
  background: var(--grad-primary);
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 50%);
}
.cta-inner h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 10px; position: relative; }
.cta-inner h3 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 500; color: rgba(255,255,255,0.9); margin-bottom: 36px; position: relative; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding: 90px 0 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 0.9fr) 1.3fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-brand p { color: var(--subtext); font-size: 14px; margin: 18px 0 22px; max-width: 260px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.social-links a:hover { background: var(--grad-primary); border-color: transparent; transform: translateY(-4px); }

.footer-col h4 { font-size: 15px; margin-bottom: 20px; }
.footer-col a { display: block; color: var(--subtext); font-size: 14px; margin-bottom: 12px; transition: color 0.3s ease, transform 0.3s ease; }
.footer-col a:hover { color: var(--secondary); transform: translateX(4px); }

.footer-newsletter p { color: var(--subtext); font-size: 14px; margin-bottom: 16px; }
.newsletter-form { display: flex; border: 1px solid var(--border); border-radius: var(--radius-full); overflow: hidden; background: rgba(255,255,255,0.04); }
.newsletter-form input { flex: 1; background: transparent; border: none; padding: 12px 18px; color: var(--text); font-size: 13.5px; }
.newsletter-form input::placeholder { color: var(--subtext); }
.newsletter-form button {
  padding: 0 20px;
  background: var(--grad-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0;
  border-top: 1px solid var(--border);
}
.footer-bottom p { color: var(--subtext); font-size: 13.5px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--subtext); font-size: 13.5px; transition: color 0.3s ease; }
.footer-legal a:hover { color: var(--text); }

.footer-bottom { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s var(--ease);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* Mobile-only elements — hidden by default, shown via responsive.css breakpoints */
.hero-mobile { display: none; }
.service-modal { display: none; }



.logo{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    flex-shrink:0;
}

.logo-img{
    display:block;
    width:auto;
    height:48px;
    object-fit:contain;
    transition:transform .35s var(--ease);
}

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


/* ==========================================================================
   NanoRa Technologies — breadcrumb.css
   Shared breadcrumb component for inner pages (about, contact, services,
   project/service detail pages, 404, etc.). Built entirely on the
   existing design tokens from style.css — no new colors, radii or
   easing introduced. Include this ONE file once per inner page rather
   than redefining .breadcrumb-* rules in every page-specific stylesheet.

   Usage:
     <nav class="breadcrumb-bar" aria-label="Breadcrumb">
       <ol class="breadcrumb-list">
         <li><a href="/index.html">Home</a></li>
         <li><i class="fa-solid fa-chevron-right"></i></li>
         <li aria-current="page">About</li>
       </ol>
     </nav>

   Place it wherever it needs to sit in the page flow — inside a hero's
   content wrapper (it inherits z-index: 2 from its parent there), or
   as its own bar just below the fixed navbar via .breadcrumb-bar's
   built-in top padding.
   ========================================================================== */

.breadcrumb-bar {
  position: relative;
  z-index: 2;
  padding-top: 8px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--subtext);
  margin-bottom: 24px;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb-list a {
  color: var(--subtext);
  transition: color 0.3s ease;
}
.breadcrumb-list a:hover {
  color: var(--secondary);
}

.breadcrumb-list i {
  font-size: 10px;
  opacity: 0.55;
}

.breadcrumb-list li[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
  font-family: var(--font-display);
}

/* --------------------------------------------------------------------------
   Optional: use when the breadcrumb sits directly on a light/image
   background rather than inside a dark hero overlay, e.g. a plain
   section at the top of a page with no hero image behind it.
   Add the extra class: <nav class="breadcrumb-bar breadcrumb-bar--bare">
   -------------------------------------------------------------------------- */
.breadcrumb-bar--bare {
  padding: 130px 0 4px;
}

/* --------------------------------------------------------------------------
   Optional: pill-style variant for pages where the breadcrumb needs to
   stand on its own (no surrounding hero content block for context).
   Add the extra class: <nav class="breadcrumb-bar breadcrumb-bar--pill">
   -------------------------------------------------------------------------- */
.breadcrumb-bar--pill .breadcrumb-list {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 0;
}

