/*
Theme Name: Nextura Consultancy Corporate
Theme URI: https://nexturaconsultancy.com
Author: Nextura Consultancy Sdn Bhd
Author URI: https://nexturaconsultancy.com
Description: Corporate WordPress theme tailored for Nextura Consultancy Sdn Bhd, reflecting the official dual-arrow brand identity (Sapphire Blue, Electric Cyan, and Growth Emerald).
Version: 1.2.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: nextura-consultancy
Tags: business, corporate, consulting, management, custom-logo, custom-colors, full-site-editing
*/

:root {
  --nx-navy: #0c1930;
  --nx-navy-dark: #081225;
  --nx-blue: #0d528a;
  --nx-cyan: #06b6d4;
  --nx-emerald: #10b981;
  --nx-text: #334155;
  --nx-muted: #64748b;
  --nx-light: #f8fafc;
  --nx-border: #e2e8f0;
  --nx-radius: 14px;
  --nx-gradient: linear-gradient(135deg, #0d528a 0%, #06b6d4 45%, #10b981 100%);
  --nx-gradient-subtle: linear-gradient(135deg, rgba(13, 82, 138, 0.08) 0%, rgba(6, 182, 212, 0.08) 50%, rgba(16, 185, 129, 0.08) 100%);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--nx-text);
  background-color: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--nx-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nx-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nx-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nx-border);
}

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

.nx-brand-logo {
  height: 48px;
  width: auto;
  display: block;
}

.nx-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nx-nav a {
  color: var(--nx-navy);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.nx-nav a:hover {
  color: var(--nx-cyan);
}

.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.nx-btn-primary {
  background: var(--nx-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.25);
}

.nx-btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

.nx-btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.nx-btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
}

.nx-hero {
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.2), transparent 45%),
              radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.2), transparent 45%),
              linear-gradient(180deg, var(--nx-navy-dark) 0%, var(--nx-navy) 100%);
  color: #ffffff;
  padding: 6.5rem 0 5.5rem;
}

.nx-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.nx-hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.35rem;
}

.nx-hero p {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.nx-section {
  padding: 5.5rem 0;
}

.nx-section-light {
  background-color: var(--nx-light);
}

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

.nx-section-header h2 {
  font-size: 2.35rem;
  color: var(--nx-navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

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

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

.nx-card {
  background: #ffffff;
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  padding: 2.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nx-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 16px 36px -12px rgba(12, 25, 48, 0.12);
}

.nx-card h3 {
  color: var(--nx-navy);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.nx-footer {
  background: var(--nx-navy-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
}

.nx-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.nx-footer h4 {
  color: #ffffff;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nx-footer ul {
  list-style: none;
}

.nx-footer li {
  margin-bottom: 0.6rem;
}

.nx-footer a {
  color: #94a3b8;
}

.nx-footer a:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .nx-hero-grid, .nx-footer-grid, .nx-grid-2 {
    grid-template-columns: 1fr;
  }
  .nx-hero h1 {
    font-size: 2.2rem;
  }
  .nx-nav {
    display: none;
  }
}
