/* ===== NEXUS CONSULTING - Corporate Business Template ===== */
/* Clean / Minimal Business Design */

/* === CSS Variables === */
:root {
  --color-primary: #1a1a2e;
  --color-secondary: #0f0f1a;
  --color-accent: #2563eb;
  --color-accent-dark: #1d4ed8;
  --color-text: #1a1a2e;
  --color-text-light: #64748b;
  --color-text-white: #ffffff;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-dark: #0f172a;
  --color-border: #e2e8f0;
  --color-border-dark: rgba(255,255,255,0.1);
  
  --font-heading: 'DM Serif Display', serif;
  --font-body: 'Outfit', sans-serif;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-xl: 0 25px 50px rgba(0,0,0,0.15);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
}

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

ul, ol {
  list-style: none;
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

/* === Container === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

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

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

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

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

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.header.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary);
}

.logo-icon {
  color: var(--color-accent);
  font-size: 1.25rem;
}

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

.nav-link {
  font-size: 0.95rem;
  color: var(--color-text-light);
  font-weight: 400;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}

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

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

.nav-cta {
  padding: 0.75rem 1.5rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* === Section Base === */
.section {
  padding: 6rem 0;
}

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

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 6rem;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 70% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 40%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

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

.hero-title em {
  font-style: normal;
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-light);
  font-size: 0.85rem;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}

/* === Services === */
.services {
  background: var(--color-bg);
}

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

.service-card {
  padding: 2.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
}

.service-title {
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.25rem;
}

.service-description {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent);
  font-weight: 500;
  font-size: 0.95rem;
}

.service-link:hover {
  gap: 0.75rem;
}

/* === USP Section === */
.usp {
  background: var(--color-bg-alt);
}

.usp-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.usp-text {
  color: var(--color-text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.usp-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.usp-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.usp-icon {
  width: 28px;
  height: 28px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.usp-icon svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

.usp-item strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.usp-item span {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.usp-visual {
  position: relative;
}

.usp-image-container {
  position: relative;
}

.usp-pattern {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, transparent 60%);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.usp-image {
  position: relative;
  z-index: 1;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.usp-placeholder {
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--color-text-light);
  background: var(--color-bg-alt);
}

.usp-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.3;
}

.usp-accent-box {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--color-accent);
  color: var(--color-text-white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.accent-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
}

.accent-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* === Logos Section === */
.logos {
  padding: 4rem 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.logos-title {
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.logos-carousel {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.logos-track {
  display: flex;
  gap: 4rem;
  animation: logoScroll 30s linear infinite;
}

.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.logo-item span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text-light);
  opacity: 0.5;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === Process Section === */
.process {
  background: var(--color-bg-alt);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--color-border);
}

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

.process-number {
  width: 80px;
  height: 80px;
  background: var(--color-bg);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent);
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.process-content h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.process-content p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === Testimonials === */
.testimonials {
  background: var(--color-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  padding: 2.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

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

.testimonial-quote {
  margin-bottom: 1.5rem;
}

.testimonial-quote svg {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
  opacity: 0.3;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: var(--color-text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.author-info strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.125rem;
}

.author-info span {
  color: var(--color-text-light);
  font-size: 0.875rem;
}

/* === CTA Section === */
.cta {
  padding: 0;
}

.cta-wrapper {
  background: var(--color-bg-dark);
  border-radius: var(--radius-xl);
  padding: 5rem;
  text-align: center;
}

.cta-title {
  color: var(--color-text-white);
  margin-bottom: 1rem;
}

.cta-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-actions {
  margin-bottom: 1.5rem;
}

.cta-note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* === Footer === */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-white);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--color-text-white);
  margin-bottom: 1rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

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

.social-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-nav h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

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

.footer-contact address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
  color: var(--color-accent);
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}

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

/* === Animations === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s ease forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .stat-divider {
    width: 40px;
    height: 1px;
  }
  
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .usp-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .cta-wrapper {
    padding: 3rem 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}






