/* ==========================================================================
   NexioraX - Full-Service Digital Agency Design System
   Color Palette:
   - Main navy: #071b3b
   - Secondary navy: #0a2e68
   - Electric blue: #176cff
   - Light blue: #40c8ff
   - White: #ffffff
   - Soft background: #f4f8ff
   - Main text: #142342
   - WhatsApp green: #25d366
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Root Design System Tokens --- */
:root {
  /* Colors */
  --main-navy: #071b3b;
  --secondary-navy: #0a2e68;
  --electric-blue: #176cff;
  --light-blue: #40c8ff;
  --white: #ffffff;
  --soft-bg: #f4f8ff;
  --main-text: #142342;
  --wa-green: #25d366;
  --wa-green-hover: #1da851;

  /* Global Surface Tokens */
  --bg-body: #f4f8ff;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-dark: #071b3b;
  --border-color: rgba(7, 27, 59, 0.08);
  --border-color-hover: rgba(23, 108, 255, 0.3);

  /* Text Colors */
  --text-primary: #142342;
  --text-muted: #52627a;
  --text-white: #ffffff;
  --text-light-blue: #40c8ff;

  /* Gradients */
  --grad-hero: linear-gradient(125deg, #06162f 0%, #0a2e68 58%, #176cff 150%);
  --grad-electric: linear-gradient(135deg, #176cff 0%, #40c8ff 100%);
  --grad-green: linear-gradient(135deg, #25d366 0%, #12b855 100%);
  --grad-text-white: linear-gradient(135deg, #ffffff 40%, #40c8ff 100%);
  --grad-text-blue: linear-gradient(135deg, #176cff 0%, #0a2e68 100%);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Radius */
  --shadow-sm: 0 4px 12px rgba(7, 27, 59, 0.05);
  --shadow-md: 0 8px 24px rgba(7, 27, 59, 0.08);
  --shadow-lg: 0 16px 40px rgba(7, 27, 59, 0.12);
  --shadow-glow-blue: 0 0 30px rgba(23, 108, 255, 0.25);
  --shadow-glow-wa: 0 0 25px rgba(37, 211, 102, 0.35);

  --container-max: 1240px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--soft-bg);
  color: var(--main-text);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--main-navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.gradient-text-light {
  background: var(--grad-text-white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-blue {
  background: var(--grad-text-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-wa-green {
  color: var(--wa-green);
}

/* --- Container & Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-dark {
  background: var(--grad-hero);
  color: var(--white);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--white);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.mx-auto { margin-left: auto; margin-right: auto; }

.section-header {
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(23, 108, 255, 0.1);
  border: 1px solid rgba(23, 108, 255, 0.25);
  border-radius: var(--radius-full);
  color: var(--electric-blue);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.section-dark .badge {
  background: rgba(64, 200, 255, 0.15);
  border-color: rgba(64, 200, 255, 0.35);
  color: var(--light-blue);
}

.badge-wa {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.3);
  color: var(--wa-green);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-top: 1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--electric-blue);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(23, 108, 255, 0.3);
}

.btn-primary:hover {
  background: #1157d4;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(23, 108, 255, 0.45);
}

.btn-wa {
  background: var(--wa-green);
  color: var(--white);
  font-weight: 700;
  box-shadow: var(--shadow-glow-wa);
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
  background: var(--wa-green-hover);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--light-blue);
  background: rgba(64, 200, 255, 0.15);
  color: var(--light-blue);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--main-navy);
}

.btn-outline-dark:hover {
  border-color: var(--electric-blue);
  color: var(--electric-blue);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

/* --- Navigation Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: rgba(7, 27, 59, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header.scrolled {
  background: rgba(6, 22, 47, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-navy);
  border: 1px solid rgba(64, 200, 255, 0.4);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(23, 108, 255, 0.3);
}

.logo-mark svg {
  width: 24px;
  height: 24px;
}

.logo-text span {
  color: var(--light-blue);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--electric-blue);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

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

/* --- Floating WhatsApp CTA Button --- */
.floating-wa-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--wa-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all var(--transition-normal);
  animation: pulse-green 2.5s infinite;
}

.floating-wa-btn svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.floating-wa-btn:hover {
  transform: scale(1.1);
  background: var(--wa-green-hover);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.floating-wa-tooltip {
  position: absolute;
  right: 70px;
  background: var(--main-navy);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  pointer-events: none;
}

.floating-wa-btn:hover .floating-wa-tooltip {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Hero Section --- */
.hero {
  padding-top: calc(var(--header-height) + 4.5rem);
  padding-bottom: 6rem;
  background: var(--grad-hero);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero h1, .hero h2, .hero h3 {
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--light-blue);
  font-weight: 800;
}

.stat-item p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-card-glass {
  background: rgba(10, 46, 104, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.visual-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--light-blue);
  letter-spacing: 0.08em;
}

/* --- Service Cards Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--electric-blue);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(23, 108, 255, 0.08);
  border: 1px solid rgba(23, 108, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--electric-blue);
  margin-bottom: 1.5rem;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon {
  transform: scale(1.08);
  background: rgba(23, 108, 255, 0.15);
}

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

.service-title {
  margin-bottom: 0.85rem;
  font-size: 1.35rem;
  color: var(--main-navy);
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.service-features {
  margin-bottom: 1.75rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--main-text);
  margin-bottom: 0.6rem;
}

.service-features li svg {
  width: 16px;
  height: 16px;
  color: var(--wa-green);
  flex-shrink: 0;
}

.service-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

/* --- Target Audience Grid --- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.audience-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.audience-card:hover {
  border-color: var(--electric-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.audience-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.25);
  color: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.audience-icon svg {
  width: 26px;
  height: 26px;
}

.audience-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.audience-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
}

/* --- Process Grid --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--electric-blue);
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.925rem;
}

/* --- Portfolio Showcase --- */
.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--electric-blue);
  border-color: var(--electric-blue);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(23, 108, 255, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.portfolio-item:hover {
  transform: translateY(-6px);
  border-color: var(--electric-blue);
  box-shadow: var(--shadow-md);
}

.portfolio-thumb {
  height: 200px;
  background: var(--secondary-navy);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--electric-blue);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.portfolio-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.portfolio-desc {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.portfolio-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.deliverable-tag {
  background: rgba(7, 27, 59, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.6rem;
  font-size: 0.78rem;
  color: var(--main-navy);
}

/* --- Contact & Form --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon.wa {
  background: rgba(37, 211, 102, 0.12);
  color: var(--wa-green);
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.contact-icon.email {
  background: rgba(23, 108, 255, 0.12);
  color: var(--electric-blue);
  border: 1px solid rgba(23, 108, 255, 0.3);
}

.contact-icon.li {
  background: rgba(10, 102, 194, 0.12);
  color: #0A66C2;
  border: 1px solid rgba(10, 102, 194, 0.3);
}

.contact-icon svg { width: 26px; height: 26px; }

.contact-details h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.contact-details p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.35rem; }
.contact-details a { color: var(--main-navy); font-weight: 600; }
.contact-details a:hover { color: var(--electric-blue); }

.form-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--main-navy); margin-bottom: 0.5rem; }
.form-control {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: var(--soft-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--main-text);
  font-size: 0.975rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 3px rgba(23, 108, 255, 0.15);
  background: var(--white);
}

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

.form-status {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: none;
  font-size: 0.9rem;
}

.form-status.success {
  display: block;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #0b7031;
}

/* --- FAQ Accordion --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--main-navy);
  text-align: left;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--electric-blue);
  transition: transform var(--transition-normal);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal) ease-out;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* --- Global WhatsApp Banner CTA --- */
.wa-banner {
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.wa-banner h2 { font-size: 2.25rem; margin-bottom: 1rem; color: var(--white); }
.wa-banner p { max-width: 640px; margin: 0 auto 2rem auto; color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; }

/* --- Footer --- */
.site-footer {
  background: var(--main-navy);
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4.5rem 0 2rem 0;
  margin-top: 4rem;
}

.site-footer h4 { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 3rem; margin-bottom: 4rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.7); font-size: 0.925rem; margin-top: 1.25rem; max-width: 320px; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; }
.footer-links a:hover { color: var(--light-blue); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(7, 27, 59, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }

  .nav-menu.active { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-link { font-size: 1.25rem; color: var(--white); }
  .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
  .services-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .floating-wa-btn { bottom: 1.5rem; right: 1.5rem; width: 54px; height: 54px; }
}
/* Services hover dropdown */
.services-dropdown-wrap {
  position: relative;
}

.services-nav-link {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
}

.services-nav-link svg {
  fill: none;
  height: 15px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
  transition: transform var(--transition-fast);
  width: 15px;
}

.services-dropdown {
  background: var(--white);
  border: 1px solid rgba(64, 200, 255, 0.25);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(3, 18, 50, 0.28);
  left: 50%;
  min-width: 260px;
  opacity: 0;
  padding: 0.55rem;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 16px);
  transform: translate(-50%, -10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  visibility: hidden;
  z-index: 1100;
}

.services-dropdown::before {
  content: "";
  height: 20px;
  left: 0;
  position: absolute;
  right: 0;
  top: -20px;
}

.services-dropdown a {
  border-radius: 9px;
  color: var(--main-text);
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.75rem 0.85rem;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.services-dropdown a:hover {
  background: var(--soft-bg);
  color: var(--electric-blue);
  transform: translateX(4px);
}

.services-dropdown-wrap:hover .services-dropdown,
.services-dropdown-wrap:focus-within .services-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.services-dropdown-wrap:hover .services-nav-link svg,
.services-dropdown-wrap:focus-within .services-nav-link svg {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .services-dropdown-wrap {
    text-align: center;
    width: 100%;
  }

  .services-nav-link {
    justify-content: center;
  }

  .services-dropdown {
    display: none;
  }
}
/* Border around every service section on Services page */
#graphic-design,
#web-development,
#ai-automation,
#youtube,
#smm,
#seo,
#lead-gen {
  padding: 1.5rem 0;
  background: var(--soft-bg) !important;
}

#graphic-design > .container,
#web-development > .container,
#ai-automation > .container,
#youtube > .container,
#smm > .container,
#seo > .container,
#lead-gen > .container {
  width: calc(100% - 2rem);
  padding: 3rem;
  background: #ffffff;
  border: 2px solid rgba(23, 108, 255, 0.3);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(7, 27, 59, 0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#graphic-design > .container:hover,
#web-development > .container:hover,
#ai-automation > .container:hover,
#youtube > .container:hover,
#smm > .container:hover,
#seo > .container:hover,
#lead-gen > .container:hover {
  border-color: #176cff;
  box-shadow: 0 14px 35px rgba(23, 108, 255, 0.15);
}

/* Mobile adjustment */
@media (max-width: 768px) {
  #graphic-design > .container,
  #web-development > .container,
  #ai-automation > .container,
  #youtube > .container,
  #smm > .container,
  #seo > .container,
  #lead-gen > .container {
    padding: 1.5rem;
    border-radius: 16px;
  }
}
/* NexioraX logo */

/* Premium NexioraX logo */

.brand-logo {
  display: block;
  width: 172px;
  height: auto;
  padding: 3px 6px;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.96),
    rgba(225, 239, 255, 0.90)
  );

  border: 1px solid rgba(64, 200, 255, 0.35);
  border-radius: 12px;

  box-shadow:
    0 5px 16px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);

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

/* Premium hover effect */

.logo:hover .brand-logo {
  transform: translateY(-1px);
  border-color: rgba(64, 200, 255, 0.7);

  box-shadow:
    0 7px 20px rgba(23, 108, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Footer logo */

.site-footer .brand-logo {
  width: 190px;
}

/* Mobile logo */

@media (max-width: 768px) {
  .site-header .brand-logo {
    width: 145px;
    padding: 3px 5px;
    border-radius: 10px;
  }

  .site-footer .brand-logo {
    width: 170px;
  }
}

/* Footer logo */

.site-footer .brand-logo {
  width: 210px;
}

/* Mobile logo */

@media (max-width: 768px) {
  .site-header .brand-logo {
    width: 145px;
  }

  .site-footer .brand-logo {
    width: 180px;
  }
}
.footer-brand .logo img {
  width: 190px;
  height: auto;
  display: block;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.96),
    rgba(225, 239, 255, 0.90)
  );
}