/* ==========================================================================
   DMAS Tech — Master Visual Styles
   ========================================================================== */

:root {
  --color-primary: #5B4DFF;
  --color-primary-hover: #4838FF;
  --color-primary-light: rgba(91, 77, 255, 0.08);
  --color-accent: #FF6B35;
  --color-accent-hover: #E05523;
  --color-dark: #0F172A;
  --color-light: #F8FAFC;
  --color-border: #E2E8F0;
  --color-text-muted: #64748B;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: #FFFFFF;
  color: var(--color-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-dark);
}

.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  background-color: var(--color-primary);
  color: white;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: #475569;
  transition: color 0.2s ease;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.nav-cta {
  background-color: var(--color-primary);
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.nav-cta:hover {
  background-color: var(--color-primary-hover);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-dark);
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 1024px) {
  .mobile-toggle {
    display: block;
  }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1.5rem;
  background-color: white;
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu.open {
  display: flex;
}

.mobile-nav-link {
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-light);
}

.mobile-nav-link.active {
  color: var(--color-primary);
}

/* ==========================================================================
   Page Views Framework
   ========================================================================== */

.page-view {
  display: none;
}

.page-view.active {
  display: block;
}

section {
  padding: 5rem 0;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  border: 1px solid rgba(91, 77, 255, 0.2);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.85rem;
  }
}

.section-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);

    max-width: 760px;      /* Increase/decrease to control line breaks */
    margin: 0 auto 2.5rem; /* Centers the block */

    text-align: center;
    line-height: 1.7;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  box-shadow: 0 4px 12px rgba(91, 77, 255, 0.3);
}

.btn-secondary {
  background-color: var(--color-light);
  color: var(--color-dark);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background-color: #E2E8F0;
}

.btn-accent {
  background-color: var(--color-accent);
  color: white;
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
}

/* Grid Layouts */

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .grid-2col {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 6rem 0 4rem;
  background: radial-gradient(circle at 90% 10%, rgba(91, 77, 255, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 10% 90%, rgba(255, 107, 53, 0.05) 0%, transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  padding: 0.4rem 0.85rem;
  border-radius: 2rem;
  border: 1px solid rgba(91, 77, 255, 0.2);
  margin-bottom: 1.5rem;
}

.hero-tag-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(91, 77, 255, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(91, 77, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(91, 77, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(91, 77, 255, 0); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Dashboard Mockup Showcase */

.dashboard-wrapper {
  background: white;
  border-radius: 1.25rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.db-header {
  background-color: #F1F5F9;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.db-dots {
  display: flex;
  gap: 0.4rem;
}

.db-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.db-dot:nth-child(1) { background-color: #EF4444; }
.db-dot:nth-child(2) { background-color: #F59E0B; }
.db-dot:nth-child(3) { background-color: #10B981; }

.dmas-active-card {
  padding: 2rem;
}

.dmas-active-visual {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background-color: var(--color-light);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
}

.dmas-large-badge {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  color: white;
  font-size: 2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.dmas-visual-canvas {
  flex-grow: 1; 
  height:100%;
  display:flex;
  align-items:center;
}

.dmas-canvas-div{
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:18px;
    margin-left:10px;
}

.dmas-line{
    height:18px;
    background:#CBD5E1;
    border-radius:999px;
}

.line-1{
    width:100%;
}

.line-2{
    width:65%;
}

.dmas-div-row{
    width:100%;
    height:16px;
    border-radius:999px;
    background:#CBD5E1;
}

.dmas-div-row:nth-child(2){
    width:65%;
}

.dmas-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.dmas-op-symbol {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
}

.dmas-op-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.dmas-op-tagline {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.4;
}

.dmas-tabs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-border);
  background-color: #F8FAFC;
}

.dmas-tab-btn {
  background: none;
  border: none;
  border-right: 1px solid var(--color-border);
  padding: 1rem 0.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease;
}

.dmas-tab-btn:last-child {
  border-right: none;
}

.dmas-tab-btn.active {
  background-color: white;
  box-shadow: inset 0 -2px 0 var(--color-primary);
}

.dmas-tab-letter {
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-dark);
}

.dmas-tab-label {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Case Study & Video Section
   ========================================================================== */

.case-study-section {
  background-color: #F8FAFC;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .case-study-grid {
    grid-template-columns: 1fr;
  }
}

.client-profile-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.client-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.client-blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.client-info-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-avatar img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.client-name {
  font-weight: 700;
  font-size: 1rem;
}

.client-role {
  font-size: 0.825rem;
  color: var(--color-text-muted);
}

.video-presentation-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
}

.video-cover-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.video-presentation-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.video-presentation-card:hover .video-presentation-overlay {
  background: rgba(15, 23, 42, 0.25);
}

.play-btn-large {
  width: 4.5rem;
  height: 4.5rem;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(91, 77, 255, 0.5);
  transition: transform 0.2s ease;
}

.video-presentation-card:hover .play-btn-large {
  transform: scale(1.1);
}

.video-info-badge {
  position: absolute;
  bottom: 1.25rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  background-color: #10B981;
  border-radius: 50%;
}

/* ==========================================================================
   Stats & Client Logos
   ========================================================================== */

.trusted-by-stats-section {
  padding: 4rem 0;
}

.trusted-by-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.trusted-by-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .trusted-by-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trusted-stat-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.trusted-stat-icon {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  display: inline-flex;
}

.trusted-stat-number {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--color-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trusted-stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.trusted-stat-text {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

/* Logos Grid */

.trusted-companies {
  background-color: #F8FAFC;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trusted-header {
  text-align: center;
  margin-bottom: 3rem;
}

.trusted-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .trusted-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.client-logo-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.client-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.client-logo-wrapper {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.client-logo-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.client-logo-card:hover .client-logo-wrapper img {
  filter: grayscale(0%);
  opacity: 1;
}

.client-card-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.client-card-industry {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.trusted-bottom-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */

.engineering-services-section {
  padding: 5rem 0;
}

.services-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3.5rem;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
  }
}

.service-card-item {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.service-card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(91, 77, 255, 0.3);
}

.service-card-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card-heading {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.service-card-summary {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.service-card-capabilities {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-card-capabilities li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}

.cap-check {
  color: #10B981;
}

.service-card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.service-card-cta:hover {
  gap: 0.75rem;
}

/* ==========================================================================
   Solutions Showcase
   ========================================================================== */

.solutions-engineered-section {
  background-color: #F8FAFC;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.solutions-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3.5rem;
}

.solutions-showcase-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.solution-showcase-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.solution-showcase-card.reverse-row {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 900px) {
  .solution-showcase-card, .solution-showcase-card.reverse-row {
    grid-template-columns: 1fr;
  }
}

.solution-browser-frame {
  background: #F1F5F9;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.browser-dots {
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1px solid var(--color-border);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-red { background-color: #EF4444; }
.dot-yellow { background-color: #F59E0B; }
.dot-green { background-color: #10B981; }

.browser-address {
  margin-left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.solution-image-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.solution-category-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 0.25rem;
  margin-bottom: 0.75rem;
}

.badge-purple { background: rgba(91, 77, 255, 0.1); color: var(--color-primary); }
.badge-green { background: rgba(16, 185, 129, 0.1); color: #10B981; }
.badge-blue { background: rgba(14, 165, 233, 0.1); color: #0EA5E9; }

.solution-project-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.solution-project-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.solution-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-pill {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 600;
  background: var(--color-light);
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.6rem;
  border-radius: 0.25rem;
  color: #334155;
}

.solution-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.solution-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* ==========================================================================
   Tech Stack Grid
   ========================================================================== */

.tech-stack-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3.5rem;
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .tech-stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tech-stack-grid {
    grid-template-columns: 1fr;
  }
}

.tech-stack-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.75rem;
}

.tech-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.tech-card-icon {
  color: var(--color-primary);
}

.tech-card-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.tech-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.tech-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-stack-pill {
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.6rem;
  border-radius: 0.25rem;
}

/* ==========================================================================
   Why DMAS Tech & Process
   ========================================================================== */

.why-us-section {
  background-color: #F8FAFC;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.why-us-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3.5rem;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }
}

.why-us-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.75rem;
}

.why-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.why-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.why-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.why-us-quote-block {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.why-us-quote {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.why-us-author {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-primary);
  font-style: normal;
  font-weight: 700;
}

/* Timeline Process */

.dev-process-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3.5rem;
}

.dev-process-trust-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: #334155;
  background: #F1F5F9;
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
}

.trust-badge-check {
  color: #10B981;
}

.process-timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .process-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .process-timeline-grid {
    grid-template-columns: 1fr;
  }
}

.dev-process-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.75rem;
  position: relative;
}

.process-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.process-num-badge {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary);
  opacity: 0.8;
}

.process-card-icon {
  color: var(--color-text-muted);
}

.process-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.process-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
  background-color: #F8FAFC;
  border-top: 1px solid var(--color-border);
}

.faq-section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3.5rem;
}

.faq-container {
  max-width: 52rem;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.faq-item {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--color-primary);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-dark);
}

.faq-icon {
  color: var(--color-text-muted);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-body {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.open .faq-body {
  display: block;
}

.faq-bottom-cta {
  text-align: center;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2.5rem;
}

.faq-cta-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.faq-cta-desc {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.faq-talk-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* ==========================================================================
   Shopify Sections View & Gallery
   ========================================================================== */

.shopify-hero {
  background: radial-gradient(circle at 50% 0%, rgba(91, 77, 255, 0.08) 0%, transparent 60%);
  text-align: center;
  padding: 5rem 0 3rem;
}

.shopify-hero-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #10B981;
  background-color: rgba(16, 185, 129, 0.1);
  padding: 0.4rem 0.85rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}

.shopify-hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.shopify-hero-desc {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.shopify-hero-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.shopify-how-works {
  background-color: #F8FAFC;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.shopify-steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.shopify-step-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2rem;
  width: 280px;
  text-align: center;
}

.shopify-step-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.shopify-step-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.shopify-step-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.shopify-step-arrow {
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .shopify-step-arrow {
    display: none;
  }
}

/* Gallery & Filters */

.shopify-filter-section {
  padding: 4rem 0;
}

.shopify-filter-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.shopify-filters-wrap {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.filter-btn {
  background: white;
  border: 1px solid var(--color-border);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.shopify-search-wrap {
  position: relative;
  min-width: 240px;
}

.shopify-search-input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  border-radius: 2rem;
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
  outline: none;
}

.shopify-search-input:focus {
  border-color: var(--color-primary);
}

.shopify-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
}

.shopify-sections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .shopify-sections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .shopify-sections-grid {
    grid-template-columns: 1fr;
  }
}

.shopify-section-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.shopify-section-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.section-card-img-wrap {
  position: relative;
  height: 200px;
  background-color: var(--color-light);
  overflow: hidden;
}

.section-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 0.25rem;
}

.section-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.section-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.section-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.section-card-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-dark);
}

.section-card-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  border-radius: 0.375rem;
}

/* Why Choose Us & Custom CTA */

.shopify-why-us {
  background-color: #F8FAFC;
  border-top: 1px solid var(--color-border);
}

.shopify-why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .shopify-why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .shopify-why-us-grid {
    grid-template-columns: 1fr;
  }
}

.shopify-why-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.shopify-why-icon {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.shopify-why-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.shopify-why-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.shopify-custom-cta {
  padding: 4rem 0;
}

.shopify-cta-inner {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: 1.5rem;
  padding: 3.5rem 2rem;
  text-align: center;
  color: white;
}

.shopify-cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.shopify-cta-desc {
  color: #94A3B8;
  max-width: 38rem;
  margin: 0 auto 2rem;
}

.btn-wa-cta {
  background-color: #25D366;
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-wa-cta:hover {
  background-color: #20BA5A;
}

.shopify-faq-section {
  background-color: #F8FAFC;
  border-top: 1px solid var(--color-border);
}

.shopify-faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

/* ==========================================================================
   Modals
   ========================================================================== */

.modal-overlay, .video-modal-overlay, .shopify-preview-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active, .video-modal-overlay.active, .shopify-preview-modal-overlay.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 1.25rem;
  padding: 2.5rem;
  width: 100%;
  max-width: 500px;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.modal-close, .video-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #F1F5F9;
  border: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 800;
  color: var(--color-dark);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  font-size: 0.95rem;
  outline: none;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--color-primary);
}

/* Video Modal */

.video-modal-content {
  background: #0F172A;
  border-radius: 1.25rem;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  position: relative;
}

.video-wrapper video {
  width: 100%;
  max-height: 450px;
  display: block;
}

.video-modal-details {
  padding: 1.25rem;
  color: white;
}

.video-modal-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.video-modal-details p {
  font-size: 0.85rem;
  color: #94A3B8;
}

/* Shopify Section Preview Modal */

.preview-modal-content {
  background: white;
  border-radius: 1.25rem;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2rem;
}

.preview-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .preview-modal-grid {
    grid-template-columns: 1fr;
  }
}

.preview-modal-img {
  width: 100%;
  border-radius: 0.75rem;
  object-fit: cover;
}

/* ==========================================================================
   Call To Action Final Block
   ========================================================================== */

.cta-section {
  padding: 6rem 0;
  background-color: white;
}

.cta-container {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: 2rem;
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
  color: white;
}

.cta-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .cta-layout-grid {
    grid-template-columns: 1fr;
  }
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}

.cta-badge-dot {
  width: 6px;
  height: 6px;
  background-color: #38BDF8;
  border-radius: 50%;
}

.cta-heading {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .cta-heading {
    font-size: 2rem;
  }
}

.cta-description {
  font-size: 1.05rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta-trust-indicators {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #CBD5E1;
}

.cta-trust-check {
  color: #10B981;
  font-weight: 900;
}

.cta-buttons-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.cta-btn-primary {
  background-color: var(--color-primary);
  color: white;
  padding: 0.9rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-btn-primary:hover {
  background-color: var(--color-primary-hover);
}

.cta-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.9rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.cta-contact-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.825rem;
  color: #64748B;
  flex-wrap: wrap;
}

.cta-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cta-tech-window {
  background: #090D16;
  border-radius: 1rem;
  border: 1px solid #334155;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.window-header {
  background: #1E293B;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-controls {
  display: flex;
  gap: 0.35rem;
}

.ctrl {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ctrl-red { background: #EF4444; }
.ctrl-yellow { background: #F59E0B; }
.ctrl-green { background: #10B981; }

.window-filename {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #94A3B8;
}

.window-content {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #E2E8F0;
}

.syntax-keyword { color: #F472B6; }
.syntax-type { color: #38BDF8; }
.syntax-string { color: #34D399; }
.syntax-comment { color: #64748B; }
.syntax-func { color: #FBBF24; }
.indent-1 { padding-left: 1.25rem; }

.cta-nodes-diagram {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.diagram-node {
  background: #1E293B;
  border: 1px solid #334155;
  padding: 0.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-grow: 1;
}

.node-icon-wrap {
  color: var(--color-primary);
}

.node-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
}

.node-sub {
  display: block;
  font-size: 0.65rem;
  color: #64748B;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background-color: var(--color-dark);
  color: white;
  padding: 5rem 0 2rem;
  border-top: 1px solid #1E293B;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-desc {
  color: #94A3B8;
  font-size: 0.9rem;
  max-width: 20rem;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #94A3B8;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #1E293B;
  padding-top: 2rem;
  font-size: 0.825rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.bold-accent {
  font-weight: 800;
  color: var(--color-primary);
}

.logo-icon.animate{
    animation:logoChange .45s ease;
}

@keyframes logoChange{

    0%{
        opacity:0;
        transform:scale(.5) rotate(-25deg);
    }

    50%{
        opacity:1;
        transform:scale(1.25) rotate(10deg);
    }

    100%{
        opacity:1;
        transform:scale(1) rotate(0);
    }

}

.whatsapp-float{
    position:fixed;
    right:25px;
    bottom:25px;
    width:65px;
    height:65px;
    background:#25D366;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    z-index:9999;
    transition:.3s;
}

.whatsapp-float:hover{
    transform:scale(1.1);
}

.whatsapp-float img{
    width:34px;
    height:34px;
}

.lead-form{

    display:flex;

    flex-direction:column;

    gap:22px;

}

.form-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;

}

.full-width{

    grid-column:1/-1;

}

.form-textarea{

    width:100%;

    min-height:140px;

    resize:none;

    padding:16px;

    border:1px solid #dbe2ea;

    border-radius:10px;

    font-size:16px;

    font-family:inherit;

}

.form-textarea:focus{

    outline:none;

    border-color:#5B4DFF;

}

.submit-btn{

    width:100%;

    margin-top:10px;

}

@media(max-width:768px){

.form-grid{

grid-template-columns:1fr;

}

}


/* ==========================================================================
   Our Projects — Website Showcase
   ========================================================================== */

.projects-page-section {
  padding: 5rem 0 6.5rem;
  background: #fff;
}

.projects-page-heading {
  max-width: 820px;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.projects-page-heading .section-tag {
  margin-bottom: 1rem;
}

.projects-page-heading .section-title {
  margin-bottom: .9rem;
  line-height: 1.08;
}

.projects-page-heading .section-title span {
  color: var(--color-primary);
}

.projects-page-heading .section-desc {
  max-width: 700px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.project-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe4ec;
  border-radius: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(15, 23, 42, .035);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(91, 77, 255, .35);
  box-shadow: 0 18px 40px rgba(54, 43, 122, .09);
  outline: none;
}

.project-browser {
  margin: .85rem .85rem 0;
  overflow: hidden;
  border: 1px solid #dce2ea;
  border-radius: .8rem;
  background: #fff;
}

.browser-toolbar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: 0 .6rem;
  background: #f7f8fa;
  border-bottom: 1px solid #e2e6ec;
}

.browser-dots {
  display: flex;
  gap: 5px;
  flex: 0 0 auto;
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-address {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  height: 22px;
  display: flex;
  align-items: center;
  padding: 0 .6rem;
  border: 1px solid #e1e5eb;
  border-radius: .35rem;
  background: #fff;
  color: #7b8492;
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 500;
}

.browser-menu {
  color: #8b94a2;
  font-size: 1rem;
  line-height: 1;
}

.browser-viewport {
  height: 235px;
  overflow: hidden;
  background: #f8fafc;
}

.browser-viewport img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform .55s ease;
}

.project-card:hover .browser-viewport img,
.project-card:focus-visible .browser-viewport img {
  transform: scale(1.02);
}

.project-info {
  min-height: 125px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.1rem 1.15rem;
}

.project-copy {
  min-width: 0;
}

.project-kicker {
  display: inline-block;
  margin-bottom: .5rem;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: var(--color-primary-light);
  border: 1px solid rgba(91, 77, 255, .12);
  color: var(--color-primary);
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .05em;
}

.project-info h2 {
  margin: 0 0 .4rem;
  color: #0f172a;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.project-info p {
  max-width: 330px;
  margin: 0;
  color: #64748b;
  font-size: .75rem;
  line-height: 1.5;
}

.project-arrow {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(91, 77, 255, .28);
  border-radius: .55rem;
  color: var(--color-primary);
  font-size: 1rem;
  transition: .25s ease;
}

.project-card:hover .project-arrow,
.project-card:focus-visible .project-arrow {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

@media (max-width: 1050px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .projects-page-section {
    padding: 3.5rem 0 5rem;
  }

  .projects-page-heading {
    margin-bottom: 2.5rem;
  }

  .projects-page-heading .section-title {
    font-size: 2rem;
  }

  .projects-page-heading .section-desc {
    font-size: .9rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .browser-viewport {
    height: 230px;
  }
}

/* ==========================================================================\n   Homepage Projects Replacement\n   Replaces the old Engineering Services + Process + FAQ area.\n   ========================================================================== */
.homepage-projects-section {
  background: #fff;
  border-top: 1px solid var(--color-border);
}

.homepage-projects-section .projects-page-heading {
  margin-bottom: 3rem;
}

.homepage-projects-section .projects-grid {
  margin-bottom: 0;
}

@media (max-width: 650px) {
  .homepage-projects-section {
    padding: 3.5rem 0 5rem;
  }
}
/* =========================================================
   MOBILE FIX — TRUSTED STATS CARDS
   ========================================================= */

@media (max-width: 600px) {

  .trusted-by-stats-section {
    padding: 3rem 0;
  }

  .trusted-by-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .trusted-stat-card {
    width: 100%;
    min-width: 0;
    min-height: 170px;
    padding: 1.5rem 0.75rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;
  }

  .trusted-stat-icon {
    margin-bottom: 0.7rem;
  }

  .trusted-stat-number {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.6rem;
  }

  .trusted-stat-label {
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 110px;
  }

  /* Countries */
  .trusted-stat-text {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    gap: 3px 7px;

    font-size: 0.95rem;
    line-height: 1.35;
    margin-bottom: 0.6rem;
  }
}


/* Extra-small phones */
@media (max-width: 380px) {

  .trusted-by-grid {
    gap: 10px;
  }

  .trusted-stat-card {
    min-height: 155px;
    padding: 1.25rem 0.5rem;
    border-radius: 0.9rem;
  }

  .trusted-stat-number {
    font-size: 2.25rem;
  }

  .trusted-stat-label {
    font-size: 0.8rem;
  }

  .trusted-stat-text {
    font-size: 0.85rem;
    gap: 2px 5px;
  }
}