/* ==========================================================================
   Consultant Services Page Styles
   CDA Infra Projects - Home Planning, Interior Design & Civil Engineering
   ========================================================================== */

/* Hero Section */
.consultant-hero {
  position: relative;
  padding-top: 150px;
  padding-bottom: var(--space-xl);
  background: radial-gradient(circle at 50% 20%, rgba(245, 124, 0, 0.08) 0%, rgba(9, 9, 9, 0.98) 70%), var(--bg-primary);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.consultant-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 124, 0, 0.12);
  border: 1px solid rgba(245, 124, 0, 0.35);
  color: var(--accent-orange);
  font-family: var(--font-headings);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: var(--space-sm);
  box-shadow: 0 0 15px rgba(245, 124, 0, 0.15);
}

.hero-tagline-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.typewriter-text {
  display: inline-block;
  min-height: 1em;
}

.typewriter-cursor {
  display: inline-block;
  color: var(--accent-orange);
  font-weight: 900;
  margin-left: 2px;
  animation: typewriterCursorBlink 0.75s infinite;
}

@keyframes typewriterCursorBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.consultant-hero h1 {
  font-size: clamp(2.4rem, 4vw + 1rem, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, #ffffff 40%, var(--steel-gray-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.consultant-hero .lead {
  max-width: 680px;
  margin: 0 auto var(--space-lg);
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  align-items: center;
}

.btn-whatsapp-hero {
  background: #25d366;
  color: #ffffff;
  border: 1px solid #20ba5a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: var(--text-sm);
  padding: 12px 24px;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.btn-whatsapp-hero:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  color: #ffffff;
}

/* 8 Services Grid */
.services-matrix-section {
  padding: var(--space-xl) 0;
  background: var(--bg-secondary);
}

.services-grid-8 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (min-width: 640px) {
  .services-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid-8 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card-item {
  background: var(--glass-bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.service-card-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent-orange);
  transition: height var(--transition-normal);
}

.service-card-item:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-5px);
  box-shadow: var(--glass-shadow-hover);
}

.service-card-item:hover::before {
  height: 100%;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background: rgba(245, 124, 0, 0.1);
  border: 1px solid rgba(245, 124, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.service-card-item:hover .service-card-icon {
  background: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 0 15px var(--accent-orange-glow);
}

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

.service-card-number {
  font-family: var(--font-headings);
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.service-card-title {
  font-family: var(--font-headings);
  font-size: var(--text-lg);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.service-card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: var(--space-sm);
  flex-grow: 1;
}

.service-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--space-xs);
}

.service-card-features li {
  font-size: var(--text-xs);
  color: var(--steel-gray-light);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

.service-card-features li svg {
  width: 12px;
  height: 12px;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.service-card-action {
  margin-top: auto;
}

.service-card-action .btn-inquire-sm {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-headings);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.service-card-item:hover .btn-inquire-sm {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #ffffff;
}

/* Poster Showcase & Visual Pillars */
.showcase-visual-section {
  padding: var(--space-xl) 0;
  background: var(--bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 992px) {
  .showcase-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.poster-frame-wrap {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border-accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 124, 0, 0.1);
  background: #12151b;
}

.poster-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.poster-frame-wrap:hover .poster-img {
  transform: scale(1.02);
}

.showcase-pillars-box h3 {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: var(--space-sm);
}

.showcase-steps-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.step-item {
  display: flex;
  gap: var(--space-md);
  background: var(--glass-bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  transition: border-color var(--transition-fast);
}

.step-item:hover {
  border-color: var(--accent-orange);
}

.step-badge {
  width: 42px;
  height: 42px;
  background: rgba(245, 124, 0, 0.15);
  border: 1px solid var(--accent-orange);
  color: var(--accent-orange);
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: var(--text-base);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-text h4 {
  font-family: var(--font-headings);
  font-size: var(--text-base);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.step-text p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}
