/* DSIT Core UI Components Styling Rules */

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  gap: var(--space-sm);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

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

.btn-primary {
  background-color: var(--brand-sapphire);
  color: var(--text-on-accent);
}

.btn-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--border-color);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--brand-sapphire);
  color: var(--brand-sapphire);
}

.btn-outline:hover {
  background-color: var(--brand-sapphire);
  color: var(--text-on-accent);
  transform: translateY(-1px);
}

.btn-white {
  background-color: #ffffff;
  color: #0f172a;
}

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

/* --- CARDS & ACCENTS --- */
.card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  background-color: var(--bg-accent-soft);
  color: var(--brand-sapphire);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.card:hover .card-icon {
  transform: scale(1.1);
  background-color: var(--brand-sapphire);
  color: #ffffff;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--brand-sapphire);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: var(--space-md);
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

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

/* Badge tags */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.badge-primary {
  background-color: var(--bg-accent-soft);
  color: var(--brand-sapphire);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  overflow: hidden;
  background-color: var(--bg-primary);
}

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

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xxl);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  z-index: 2;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 12px;
  background-color: var(--bg-accent-soft);
  border-radius: var(--border-radius-full);
  color: var(--brand-sapphire);
  font-size: 0.875rem;
  font-family: var(--font-heading);
  font-weight: 600;
  width: fit-content;
}

@media (max-width: 992px) {
  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-tagline svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--text-primary) 50%, var(--brand-sapphire) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.hero-subtext {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero-subtext {
    font-size: 1.1rem;
  }
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
}

@media (max-width: 992px) {
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
}

/* Counters Stats */
.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-lg);
}

@media (max-width: 992px) {
  .hero-stats {
    justify-content: center;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-sapphire);
}

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

/* Hero Interactive Visuals */
.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 420px;
  width: 100%;
}

.hero-network {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

/* --- WHY DSIT SECTION --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: center;
}

@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.why-item {
  display: flex;
  gap: var(--space-md);
}

.why-item-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--border-radius-full);
  background-color: var(--bg-accent-soft);
  color: var(--brand-sapphire);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-xs);
}

.why-item-content h4 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.why-item-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- TECHNICAL PIPELINE DIAGRAM --- */
.pipeline-sandbox {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  background-color: var(--bg-secondary);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.pipeline-diagram {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: var(--space-xl);
  padding: var(--space-xl) 0;
}

@media (max-width: 768px) {
  .pipeline-diagram {
    flex-direction: column;
    gap: var(--space-xl);
  }
}

.pipeline-diagram::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

[data-theme="dark"] .pipeline-diagram::after {
  background: var(--border-color);
}

@media (max-width: 768px) {
  .pipeline-diagram::after {
    top: 10%;
    bottom: 10%;
    left: 50%;
    width: 2px;
    height: auto;
  }
}

.pipeline-node {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-full);
  background-color: var(--bg-primary);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.pipeline-node:hover, .pipeline-node.active {
  border-color: var(--brand-sapphire);
  box-shadow: 0 0 15px var(--brand-sapphire-glow);
  transform: scale(1.08);
}

.pipeline-node.active {
  background-color: var(--brand-sapphire);
  color: #ffffff;
}

.pipeline-node svg {
  width: 32px;
  height: 32px;
}

.pipeline-node-label {
  position: absolute;
  top: 90px;
  width: 120px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.pipeline-node.active .pipeline-node-label {
  color: var(--brand-sapphire);
}

@media (max-width: 768px) {
  .pipeline-node-label {
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
    width: 150px;
    text-align: left;
  }
}

.pipeline-info {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
  min-height: 150px;
}

.pipeline-info h4 {
  font-size: 1.25rem;
  color: var(--brand-sapphire);
  margin-bottom: var(--space-xs);
}

.pipeline-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- INDUSTRIES SEGMENTS --- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
}

@media (max-width: 992px) {
  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.industry-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: all var(--transition-fast);
}

.industry-card:hover {
  border-color: var(--brand-sapphire);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.industry-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.industry-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0;
}

/* --- DYNAMIC BLOG SECTION --- */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  margin-bottom: var(--space-md);
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-meta {
  display: flex;
  gap: var(--space-md);
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-sm);
}

.blog-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: var(--space-xs);
  transition: color var(--transition-fast);
}

.blog-card:hover h3 {
  color: var(--brand-sapphire);
}

.blog-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-md);
}

.blog-author-img {
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius-full);
  background-color: var(--bg-tertiary);
}

.blog-author-info {
  display: flex;
  flex-direction: column;
}

.blog-author-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.blog-author-title {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* Search Page Layout */
.blog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.blog-search-bar {
  flex-grow: 1;
  max-width: 450px;
  position: relative;
}

.blog-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: all var(--transition-fast);
}

.blog-search-input:focus {
  outline: none;
  border-color: var(--brand-sapphire);
  box-shadow: 0 0 0 2px var(--brand-sapphire-glow);
}

.blog-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  pointer-events: none;
}

.blog-tabs {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  padding-bottom: var(--space-xs);
}

.blog-tab {
  padding: 0.5rem 1rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-full);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-heading);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.blog-tab:hover, .blog-tab.active {
  background-color: var(--brand-sapphire);
  color: #ffffff;
  border-color: var(--brand-sapphire);
}

/* Modal Popup Reader */
.reader-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.reader-modal.open {
  opacity: 1;
  visibility: visible;
}

.reader-modal-body {
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xxl) var(--space-xl) var(--space-xl);
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.reader-modal.open .reader-modal-body {
  transform: scale(1);
}

.reader-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 4px;
  border-radius: var(--border-radius-full);
  transition: all var(--transition-fast);
}

.reader-close-btn:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

.reader-content {
  font-family: var(--font-body);
}

.reader-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.reader-content-meta {
  display: flex;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--space-md);
}

.reader-content-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.reader-content-body p {
  margin-bottom: var(--space-lg);
}

.reader-content-body h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.reader-content-body ul {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-lg);
}

.reader-content-body li {
  margin-bottom: var(--space-xs);
}

/* --- TEAM / EMPLOYEES SHOWCASE --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.25);
}

.team-img-wrapper {
  height: 240px;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.team-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-accent-soft);
  color: var(--brand-sapphire);
}

.team-avatar-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.7;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: var(--space-lg);
}

.team-info h4 {
  font-size: 1.15rem;
  margin-bottom: 2px;
  font-weight: 700;
}

.team-role {
  font-size: 0.85rem;
  color: var(--brand-sapphire);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
  margin-bottom: var(--space-md);
}

.team-linkedin {
  color: var(--text-tertiary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius-full);
  background-color: var(--bg-secondary);
  transition: all var(--transition-fast);
}

.team-linkedin:hover {
  background-color: #0077b5;
  color: #ffffff;
}

.team-linkedin svg {
  width: 16px;
  height: 16px;
}

/* --- METHODOLOGY / TIMELINE (ABOUT PAGE) --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) 0;
}

.timeline::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32px;
  width: 2px;
  background-color: var(--border-color);
}

.timeline-item {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-xxl);
  position: relative;
}

.timeline-badge {
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-full);
  background-color: var(--bg-primary);
  border: 2px solid var(--border-color);
  color: var(--brand-sapphire);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.timeline-item:hover .timeline-badge {
  border-color: var(--brand-sapphire);
  background-color: var(--brand-sapphire);
  color: #ffffff;
  box-shadow: 0 0 15px var(--brand-sapphire-glow);
}

.timeline-content {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  flex-grow: 1;
}

.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
  color: var(--brand-navy);
}

[data-theme="dark"] .timeline-content h3 {
  color: var(--text-primary);
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.timeline-skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

/* --- SERVICES INTERACTIVE tab system (SERVICES PAGE) --- */
.services-tabs-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 768px) {
  .services-tabs-container {
    grid-template-columns: 1fr;
  }
}

.services-tab-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  border-left: 2px solid var(--border-color);
  padding-left: 0;
  margin-left: 2px;
}

@media (max-width: 768px) {
  .services-tab-list {
    flex-direction: row;
    overflow-x: auto;
    border-left: none;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: var(--space-xs);
  }
}

.services-tab-btn {
  text-align: left;
  background: none;
  border: none;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  cursor: pointer;
  border-left: 3px solid transparent;
  margin-left: -2px;
  transition: all var(--transition-fast);
}

@media (max-width: 768px) {
  .services-tab-btn {
    border-left: none;
    border-bottom: 3px solid transparent;
    margin-left: 0;
    margin-bottom: -2px;
    white-space: nowrap;
    padding: var(--space-sm) var(--space-md);
  }
}

.services-tab-btn:hover {
  color: var(--text-primary);
  background-color: var(--bg-secondary);
}

.services-tab-btn.active {
  color: var(--brand-sapphire);
  background-color: var(--bg-accent-soft);
  border-left-color: var(--brand-sapphire);
}

@media (max-width: 768px) {
  .services-tab-btn.active {
    border-left-color: transparent;
    border-bottom-color: var(--brand-sapphire);
  }
}

.services-tab-content-panel {
  display: none;
  animation: fadeIn var(--transition-normal);
}

.services-tab-content-panel.active {
  display: block;
}

.service-spec-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-xl);
}

@media (max-width: 992px) {
  .service-spec-grid {
    grid-template-columns: 1fr;
  }
}

.service-spec-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.service-spec-details h3 {
  font-size: 1.75rem;
  font-weight: 800;
}

.service-spec-details p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.service-spec-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.service-spec-bullets li {
  position: relative;
  padding-left: 28px;
  color: var(--text-secondary);
}

.service-spec-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-sapphire);
  font-weight: bold;
}

.service-spec-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  height: fit-content;
}

.service-spec-card h4 {
  font-size: 1.15rem;
  color: var(--brand-navy);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--space-sm);
  margin-bottom: 0;
}

[data-theme="dark"] .service-spec-card h4 {
  color: var(--text-primary);
}

.service-spec-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-spec-meta-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-spec-meta-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- CAREERS VACANCIES (CAREERS PAGE) --- */
.careers-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.career-item {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  transition: all var(--transition-normal);
}

@media (max-width: 768px) {
  .career-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

.career-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.25);
  transform: translateX(4px);
}

.career-info h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
  font-weight: 700;
}

.career-meta {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
}

.career-meta-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.career-meta-item svg {
  width: 14px;
  height: 14px;
}

.career-actions {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .career-actions {
    width: 100%;
  }
  .career-actions .btn {
    width: 100%;
  }
}

/* Career Application Drawer / Form overlay */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer-body {
  width: 100%;
  max-width: 500px;
  height: 100%;
  background-color: var(--bg-primary);
  border-left: 1px solid var(--border-color);
  padding: var(--space-xxl) var(--space-xl) var(--space-xl);
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.drawer-overlay.open .drawer-body {
  transform: translateX(0);
}

.drawer-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 4px;
  border-radius: var(--border-radius-full);
  transition: all var(--transition-fast);
}

.drawer-close-btn:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

.drawer-body h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.drawer-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--space-xl);
}

/* --- CONTACT & FORMS (CONTACT PAGE) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xxl);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-info-panel p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-method-card {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-md);
  background-color: var(--bg-accent-soft);
  color: var(--brand-sapphire);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-method-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-method-text a:hover {
  color: var(--brand-sapphire);
}

.office-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
}

.office-card h4 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  color: var(--brand-navy);
}

[data-theme="dark"] .office-card h4 {
  color: var(--text-primary);
}

.office-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

/* Forms general */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-sapphire);
  box-shadow: 0 0 0 2px var(--brand-sapphire-glow);
}

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

/* Toast notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  z-index: 3000;
}

.toast {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--border-radius-md);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  animation: slideInRight var(--transition-normal);
}

.toast-success {
  background-color: var(--color-success);
}

.toast-error {
  background-color: var(--color-error);
}

/* --- CTA SECTION BLOCK --- */
.cta-block {
  background: var(--brand-gradient);
  color: #ffffff;
  border-radius: var(--border-radius-lg);
  padding: var(--space-xxl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-block h2 {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
  .cta-block h2 {
    font-size: 1.85rem;
  }
}

.cta-block p {
  color: #e2e8f0;
  font-size: 1.15rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-xl);
}

.cta-block-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  pointer-events: none;
}
