/* ============================================
   NEBLOOM TECH SOLUTIONS - Global Stylesheet
   Minimalist | Modern | Black & White
   ============================================ */

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

:root {
  --black: #0a0a0a;
  --dark: #1a1a1a;
  --dark-2: #222222;
  --gray-dark: #333333;
  --gray: #666666;
  --gray-mid: #888888;
  --gray-light: #aaaaaa;
  --gray-lighter: #cccccc;
  --border: #e0e0e0;
  --off-white: #f5f5f5;
  --white: #ffffff;
  --accent: #0a0a0a;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --max-width: 1200px;
}

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

body {
  font-family: var(--font-primary);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

ul,
ol {
  list-style: none;
}

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

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

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--gray);
  line-height: 1.8;
  font-size: 1rem;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section --- */
.section {
  padding: 100px 0;
}

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

.section-header .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-mid);
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-primary {
  background-color: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--gray-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--black);
  border: 1.5px solid var(--border);
}

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

.btn-white {
  background-color: var(--white);
  color: var(--black);
}

.btn-white:hover {
  background-color: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn i {
  font-size: 0.85rem;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.03em;
}

.nav-logo span {
  font-weight: 300;
  color: var(--gray-mid);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 450;
  color: var(--gray);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--black);
  transition: var(--transition);
}

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

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

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-dropdown-toggle i {
  font-size: 0.65rem;
  transition: var(--transition);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 8px);
}

.nav-dropdown:hover .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
  font-size: 0.88rem;
  color: var(--gray);
}

.nav-dropdown-item:hover {
  background-color: var(--off-white);
  color: var(--black);
}

.nav-dropdown-item i {
  width: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-light);
}

.nav-dropdown-item:hover i {
  color: var(--black);
}

/* Nav CTA */
.nav-cta {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--black);
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.hero-content {
  max-width: 780px;
}

.hero .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-mid);
  margin-bottom: 24px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--white);
}

.hero h1 {
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.15rem;
  max-width: 600px;
  margin-bottom: 40px;
}

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

.hero-grid {
  position: absolute;
  top: 0;
  right: -5%;
  width: 45%;
  height: 100%;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--black) 1px, transparent 1px),
    linear-gradient(90deg, var(--black) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ============================================
   SERVICES (Homepage)
   ============================================ */
.services-section {
  background: var(--white);
}

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

.service-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--gray-lighter);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border-radius: 12px;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card-icon i {
  font-size: 1.2rem;
  color: var(--black);
}

.service-card:hover .service-card-icon {
  background: var(--black);
}

.service-card:hover .service-card-icon i {
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-mid);
  transition: var(--transition);
}

.service-card .card-link i {
  font-size: 0.75rem;
  transition: var(--transition);
}

.service-card:hover .card-link {
  color: var(--black);
}

.service-card:hover .card-link i {
  transform: translateX(4px);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-mid);
  margin-bottom: 16px;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 32px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stat {
  text-align: center;
  padding: 24px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.why-card:hover {
  background: var(--off-white);
}

.why-card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  transition: var(--transition);
}

.why-card-icon i {
  font-size: 1.2rem;
  color: var(--gray);
  transition: var(--transition);
}

.why-card:hover .why-card-icon {
  background: var(--black);
  border-color: var(--black);
}

.why-card:hover .why-card-icon i {
  color: var(--white);
}

.why-card h4 {
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.88rem;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
  background: var(--black);
  color: var(--white);
}

.process-section .section-header .label {
  color: var(--gray-light);
}

.process-section .section-header h2 {
  color: var(--white);
}

.process-section .section-header p {
  color: var(--gray-light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.step-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  transition: var(--transition);
}

.step-icon i {
  font-size: 1.1rem;
  color: var(--white);
}

.process-step:hover .step-icon {
  background: var(--white);
  border-color: var(--white);
}

.process-step:hover .step-icon i {
  color: var(--black);
}

.process-step h4 {
  color: var(--white);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--gray-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--off-white);
}

.cta-box {
  text-align: center;
  padding: 80px 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.cta-box h2 {
  margin-bottom: 16px;
}

.cta-box p {
  max-width: 500px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 0;
}

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

.footer-brand .nav-logo {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-brand .nav-logo span {
  color: var(--gray-light);
}

.footer-brand p {
  color: var(--gray-light);
  font-size: 0.9rem;
  max-width: 300px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--gray-light);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--gray-light);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.82rem;
  color: var(--gray);
}

.footer-bottom a {
  color: var(--gray-light);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ============================================
   SERVICE DETAIL PAGE - HERO
   ============================================ */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero-grid {
  position: absolute;
  top: 0;
  right: -5%;
  width: 40%;
  height: 100%;
  opacity: 0.03;
  background-image:
    linear-gradient(var(--black) 1px, transparent 1px),
    linear-gradient(90deg, var(--black) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray-mid);
  margin-bottom: 24px;
}

.page-hero .breadcrumb a {
  color: var(--gray-mid);
}

.page-hero .breadcrumb a:hover {
  color: var(--black);
}

.page-hero .breadcrumb i {
  font-size: 0.6rem;
}

.page-hero-content {
  max-width: 700px;
}

.page-hero-content .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-mid);
  margin-bottom: 16px;
}

.page-hero-content .label i {
  font-size: 0.85rem;
}

.page-hero-content h1 {
  margin-bottom: 20px;
}

.page-hero-content>p {
  font-size: 1.1rem;
  max-width: 600px;
}

/* ============================================
   SERVICE DETAIL - CONTENT SECTIONS
   ============================================ */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.detail-grid.reverse {
  direction: rtl;
}

.detail-grid.reverse>* {
  direction: ltr;
}

.detail-content .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-mid);
  margin-bottom: 12px;
}

.detail-content h2 {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.detail-content>p {
  margin-bottom: 24px;
}

.detail-list {
  margin-bottom: 24px;
}

.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--gray);
}

.detail-list li i {
  color: var(--black);
  font-size: 0.7rem;
  margin-top: 7px;
  flex-shrink: 0;
}

.detail-visual {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 380px;
  justify-content: center;
}

/* Image within detail visual */
.detail-visual-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 8px;
}

.detail-visual-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.detail-visual-img:hover img {
  transform: scale(1.04);
}

/* Standalone section image (for about, hero, etc.) */
.section-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.section-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

/* About section image */
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 360px;
  transition: transform 0.6s ease;
}

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

.visual-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.visual-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.visual-item i {
  font-size: 1.1rem;
  color: var(--gray);
  flex-shrink: 0;
}

.visual-item-text {
  flex: 1;
}

.visual-item-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--black);
  margin-bottom: 2px;
}

.visual-item-text span {
  font-size: 0.82rem;
  color: var(--gray-mid);
}

/* ============================================
   DELIVERABLES SECTION
   ============================================ */
.deliverables-section {
  background: var(--off-white);
}

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

.deliverable-card {
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

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

.deliverable-card i {
  font-size: 1.4rem;
  color: var(--black);
  margin-bottom: 20px;
  display: block;
}

.deliverable-card h4 {
  margin-bottom: 10px;
}

.deliverable-card p {
  font-size: 0.88rem;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

.feature-card i {
  font-size: 1.3rem;
  color: var(--black);
  margin-bottom: 16px;
  display: block;
}

.feature-card h4 {
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
}

/* ============================================
   DARK FEATURE BOX
   ============================================ */
.dark-section {
  background: var(--black);
  color: var(--white);
}

.dark-section .section-header .label {
  color: var(--gray-light);
}

.dark-section .section-header h2 {
  color: var(--white);
}

.dark-section .section-header p {
  color: var(--gray-light);
}

.dark-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.dark-feature-card {
  padding: 36px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.dark-feature-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
}

.dark-feature-card i {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}

.dark-feature-card h4 {
  color: var(--white);
  margin-bottom: 10px;
}

.dark-feature-card p {
  color: var(--gray-light);
  font-size: 0.88rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-item-icon i {
  font-size: 1rem;
  color: var(--black);
}

.contact-item-text h4 {
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.contact-item-text p {
  font-size: 0.9rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-size: 0.92rem;
  color: var(--black);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--black);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .detail-grid.reverse {
    direction: ltr;
  }

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

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

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

  .dark-features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-link {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    padding: 0;
    min-width: auto;
    display: none;
  }

  .nav-dropdown.mobile-open .nav-dropdown-menu {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 130px 0 70px;
  }

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

  .hero p {
    font-size: 1rem;
  }

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

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

  .page-hero {
    padding: 120px 0 60px;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 48px 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   LEGAL PAGES (Privacy / Terms)
   ============================================ */
.legal-block {
  margin-bottom: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--border);
}

.legal-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-block h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--black);
}

.legal-block p {
  margin-bottom: 16px;
  line-height: 1.95;
  font-size: 0.95rem;
  color: var(--gray);
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block .detail-list {
  margin-top: 16px;
  margin-bottom: 0;
}

.legal-block .detail-list li {
  padding: 8px 0;
  line-height: 1.7;
  font-size: 0.93rem;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 900;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gray-dark);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* ============================================
   HERO ANIMATED GLOW
   ============================================ */
.hero {
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroGlow {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 1;
  }
}

/* ============================================
   PAGE LOAD ANIMATION
   ============================================ */
body {
  animation: pageLoad 0.6s ease-out;
}

@keyframes pageLoad {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* ============================================
   ENHANCED MICRO-INTERACTIONS
   ============================================ */

/* Staggered animation delay for grid items */
.services-grid .service-card:nth-child(1) {
  transition-delay: 0.05s;
}

.services-grid .service-card:nth-child(2) {
  transition-delay: 0.1s;
}

.services-grid .service-card:nth-child(3) {
  transition-delay: 0.15s;
}

.services-grid .service-card:nth-child(4) {
  transition-delay: 0.2s;
}

.services-grid .service-card:nth-child(5) {
  transition-delay: 0.25s;
}

.services-grid .service-card:nth-child(6) {
  transition-delay: 0.3s;
}

/* Smooth focus states for form elements */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
}

/* Enhanced button press effect */
.btn:active {
  transform: translateY(0) scale(0.98);
}

/* Subtle line separator between process steps */
.process-step::after {
  content: '';
  position: absolute;
  top: 68px;
  right: -16px;
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.process-step:last-child::after {
  display: none;
}

/* Enhanced stat counter animation */
.stat {
  transition: var(--transition);
}

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

/* CTA box gradient border effect */
.cta-box {
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--black), var(--gray-mid), var(--black));
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Footer brand without social - better spacing */
.footer-brand p {
  margin-bottom: 0;
}

/* Improved header logo on scroll */
.header.scrolled .nav-logo {
  letter-spacing: -0.02em;
}

/* Selection color */
::selection {
  background-color: var(--black);
  color: var(--white);
}

/* Scrollbar styling (WebKit) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-lighter);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-mid);
}

/* ============================================
   RESPONSIVE - BACK TO TOP
   ============================================ */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 0.8rem;
  }

  .process-step::after {
    display: none;
  }
}