/* ==========================================================================
   ZenixAI Solution - Global Design System & Light/Dark Color Engine
   IT Consulting Page - sizing synced to the Custom Software Development page
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --primary: #2d6df3;
  --primary-hover: #1b53c7;
  --primary-light: rgba(45, 109, 243, 0.08);
  --primary-glow: rgba(45, 109, 243, 0.25);

  --accent-yellow: #feb542;
  --accent-yellow-light: rgba(254, 181, 66, 0.12);

  --accent-green: #3fc68e;
  --accent-green-light: rgba(63, 198, 142, 0.12);

  /* Alternating Background Colors Requested by User */
  --bg-white: #ffffff;
  --bg-slate-light: #F8FAFC;

  /* Hero & Dark Theme Colors */
  --bg-hero: #0a0e17;
  --bg-dark-card: #161e30;

  /* Light Theme Text & Card Colors */
  --text-dark: #0f172a;
  --text-muted-dark: #475569;
  --text-dim-dark: #64748b;

  --card-bg-light: #ffffff;
  --card-border-light: #e2e8f0;
  --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  --card-shadow-hover: 0 20px 45px rgba(15, 23, 42, 0.1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

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

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-white);
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Typography Specifications (synced to Custom Software Development page)
   ========================================================================== */

h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-dark);
}

p {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted-dark);
  line-height: 28px;
}

button, .btn {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 14px 28px;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

/* Color Helpers */
.color-blue { color: var(--primary) !important; }
.color-yellow { color: #d97706 !important; } /* High contrast yellow for light bg */
.color-green { color: #059669 !important; } /* High contrast green for light bg */

/* Container & Alternating Background Classes */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.bg-white {
  background-color: var(--bg-white) !important;
}

.bg-slate-light {
  background-color: var(--bg-slate-light) !important;
}

.text-center {
  text-align: center;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 60px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.section-tag {
  font-size: 13px;
  font-weight: 700;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 16px;
  background: rgba(45, 109, 243, 0.08);
  border: 1px solid rgba(45, 109, 243, 0.15);
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted-dark);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 24px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(45, 109, 243, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--card-border-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.btn-arrow {
  margin-left: 8px;
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow {
  transform: translateX(4px);
}


/* ==========================================================================
   Section 1: Hero Section (Remains Ambient Dark)
   ========================================================================== */

.hero-section {
  background-color: var(--bg-hero);
  color: #ffffff;
  position: relative;
  width: 100%;
  padding: 90px 0 100px;
  display: flex;
  align-items: center;
}

.glow-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.glow-blue {
  width: 550px;
  height: 550px;
  background: var(--primary);
  top: -150px;
  left: -150px;
  opacity: 0.25;
}

.glow-yellow {
  width: 400px;
  height: 400px;
  background: var(--accent-yellow);
  bottom: -50px;
  right: -50px;
  opacity: 0.14;
}

.glow-green {
  width: 450px;
  height: 450px;
  background: var(--accent-green);
  top: 30%;
  right: 15%;
  opacity: 0.12;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(45, 109, 243, 0.15);
  border: 1px solid rgba(45, 109, 243, 0.35);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 2s infinite ease-in-out;
}

.badge-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title {
  color: #ffffff;
}

.hero-description {
  color: #94a3b8;
  max-width: 580px;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* IT Advisory Dashboard Visual in Hero */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.consulting-hub-card {
  background: linear-gradient(160deg, #182236 0%, #0e1524 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 20px;
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 2;
}

.hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hub-status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 2s infinite ease-in-out;
}

.hub-title-group h3 {
  font-size: 18px;
  color: #ffffff;
}

.hub-subtitle {
  font-size: 12px;
  color: #64748b;
}

.hub-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.chip-green {
  background: rgba(63, 198, 142, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(63, 198, 142, 0.3);
}

.hub-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-normal);
}

.pillar-card:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.06);
}

.border-blue:hover { border-color: var(--primary); }
.border-yellow:hover { border-color: var(--accent-yellow); }
.border-green:hover { border-color: var(--accent-green); }

.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bg-blue {
  background: rgba(45, 109, 243, 0.12);
  border: 1px solid rgba(45, 109, 243, 0.3);
}

.bg-yellow {
  background: rgba(254, 181, 66, 0.12);
  border: 1px solid rgba(254, 181, 66, 0.3);
}

.bg-green {
  background: rgba(63, 198, 142, 0.12);
  border: 1px solid rgba(63, 198, 142, 0.3);
}

.pillar-content {
  flex-grow: 1;
}

.pillar-content h4 {
  font-size: 16px;
  margin-bottom: 2px;
  color: #ffffff;
}

.pillar-content p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.3;
}

.pillar-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.badge-blue {
  background: rgba(45, 109, 243, 0.15);
  color: var(--primary);
}

.badge-yellow {
  background: rgba(254, 181, 66, 0.15);
  color: var(--accent-yellow);
}

.badge-green {
  background: rgba(63, 198, 142, 0.15);
  color: var(--accent-green);
}

.hub-terminal {
  background: #080c14;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.terminal-text {
  font-family: monospace;
  font-size: 12px;
  color: #94a3b8;
  margin-left: 6px;
}

.floating-glass-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(15, 22, 35, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  z-index: 3;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.glass-top-right {
  top: -20px;
  right: -20px;
}

.glass-bottom-left {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

.glass-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-val {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
  display: block;
}

.glass-lbl {
  font-size: 11px;
  color: #64748b;
  display: block;
}

/* ==========================================================================
   Section 2: Why Technology Decisions Need the Right Guidance (BG: #FFFFFF)
   Includes Image 1
   ========================================================================== */

.section-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-visual-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--card-border-light);
}

.section-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.image-card:hover .section-img {
  transform: scale(1.02);
}

.why-philosophy-card {
  background: var(--bg-slate-light);
  border: 1px solid rgba(254, 181, 66, 0.4);
  border-left: 4px solid var(--accent-yellow);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.philosophy-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-yellow-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.philosophy-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b45309;
  display: block;
  margin-bottom: 4px;
}

.philosophy-quote {
  font-size: 15px;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.6;
}

/* ==========================================================================
   Section 3: Our IT Consulting Services (BG: #F8FAFC)
   ========================================================================== */

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

.service-card {
  background: var(--card-bg-light);
  border: 1px solid var(--card-border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 109, 243, 0.3);
  box-shadow: var(--card-shadow-hover);
}

.service-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  font-size: 22px;
  color: var(--text-dark);
}

/* ==========================================================================
   Section 4: How a Consulting Engagement Unfolds (BG: #FFFFFF)
   ========================================================================== */

.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.process-step {
  background: var(--bg-slate-light);
  border: 1px solid var(--card-border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all var(--transition-normal);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 109, 243, 0.3);
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

.step-number {
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

/* ==========================================================================
   Section 5: What Makes ZenixAI Solution a Trusted Advisor (BG: #F8FAFC)
   Includes Image 2 Architecture Banner
   ========================================================================== */

.architecture-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
  border: 1px solid var(--card-border-light);
  box-shadow: var(--card-shadow);
  max-height: 380px;
}

.architecture-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.trusted-card {
  background: var(--card-bg-light);
  border: 1px solid var(--card-border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
}

.trusted-card:hover {
  transform: translateY(-5px);
  border-color: rgba(45, 109, 243, 0.3);
  box-shadow: var(--card-shadow-hover);
}

.trusted-badge {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.trusted-card h3 {
  font-size: 22px;
  color: var(--text-dark);
}

/* ==========================================================================
   Section 6: Outcomes Our Clients Achieve Through Consulting (BG: #FFFFFF)
   ========================================================================== */

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

.outcome-card {
  background: var(--bg-slate-light);
  border: 1px solid var(--card-border-light);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all var(--transition-normal);
}

.outcome-card:hover {
  transform: translateX(6px);
  background: #ffffff;
  border-color: rgba(45, 109, 243, 0.3);
  box-shadow: var(--card-shadow);
}

.outcome-check {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.outcome-info h3 {
  font-size: 20px;
  margin-bottom: 6px;
  color: var(--text-dark);
}

/* ==========================================================================
   Section 7: Final CTA Banner (BG: #F8FAFC)
   ========================================================================== */

.cta-banner {
  background: linear-gradient(145deg, #ffffff, #f1f5f9);
  border: 1px solid var(--card-border-light);
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  box-shadow: var(--card-shadow-hover);
}

.cta-content {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-content h2 {
  color: var(--text-dark);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}

/* Keyframe Animations */
@keyframes floatSlow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   Responsive Breakpoints & User Specific Rules
   ========================================================================== */

@media (max-width: 1024px) {
  .services-grid,
  .process-timeline,
  .trusted-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-container,
  .section-grid-2col {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content,
  .why-content {
    align-items: center;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .glass-top-right,
  .glass-bottom-left {
    display: none;
  }

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

@media (max-width: 680px) {
  .services-grid,
  .process-timeline,
  .trusted-grid {
    grid-template-columns: 1fr;
  }
}

/* Strict user requested mobile rules */
@media (max-width: 550px) {
  h1 {
    font-size: 32px !important;
    line-height: 1.3 !important;
  }

  h2 {
    font-size: 26px !important;
    line-height: 1.32 !important;
  }

  h3 {
    font-size: 22px !important;
    line-height: 1.35 !important;
  }

  p {
    font-size: 16px !important;
    line-height: 28px !important;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .consulting-hub-card {
    padding: 20px;
  }

  .cta-banner {
    padding: 40px 20px;
  }
}