﻿/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f9fafb;
    color: #000000;
    min-height: 100vh;
    isolation: isolate;
}

/* Let the body gradient and PCB lines show through the page content area */
main.bg-white {
    background: transparent;
}

@keyframes greenGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(34, 197, 94, 0.2), 0 0 30px rgba(199, 228, 210, 0.1);
        transform: translateX(0);
    }
    50% {
        text-shadow: 0 0 15px rgba(34, 197, 94, 0.5), 0 0 25px rgba(34, 197, 94, 0.3), 0 0 35px rgba(62, 193, 110, 0.2);
        transform: translateX(3px);
    }
}

.green-glow-hover:hover {
    animation: greenGlow 0.2s ease-in forwards;
}

.engraved-text {
    color: #064e3b;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7), -1px -1px 2px rgba(0, 0, 0, 0.5);
}

.nav-bar,
footer,
#footer-bottom {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.pcb-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Full-page fixed background canvas on the body */
body > .pcb-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.welcome-heading {
    color: #064e3b;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Universal component styles */
.upper-nav,
.lower-nav,
.main-footer,
.footer-bottom {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.upper-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.lower-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 6px 20px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.upper-nav img {
    max-height: 50px !important;
    width: auto !important;
    object-fit: contain;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
    width: 100%;
    max-width: 800px;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
    list-style: none;
}

.nav-link {
    display: inline-block;
    font-weight: 600;
    font-size: 24px;
    padding: 10px 18px;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: #22c55e;
    transform: translateY(-1px);
}

.main-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
    background: #000;
    border-top: 2px solid #22c55e;
    padding: 40px 30px;
    box-shadow: 0 -4px 15px rgba(107, 114, 128, 0.2), inset 0 2px 10px rgba(255, 255, 255, 0.05);
    color: #9ca3af;
}

.footer-bottom {
    background: #000;
    border-top: 2px solid #1f2937;
    padding: 15px 30px;
    text-align: center;
    box-shadow: 0 -4px 15px rgba(107, 114, 128, 0.2), inset 0 2px 10px rgba(255, 255, 255, 0.05);
    color: #22c55e;
    font-size: 14px;
    line-height: 1.8;
}

.footer-col {
    flex: 1;
    padding: 0 20px;
}

.footer-heading {
    color: #22c55e;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.3), 0 0 3px rgba(255, 255, 255, 0.1);
}

.footer-text {
    color: #9ca3af;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-link {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0 5px;
}

.footer-link:hover {
    color: #22c55e;
}

.social-icons {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.social-link {
    display: block;
    padding: 10px 5px;
}

.footer-areas-section {
    width: 100%;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #1f2937;
}

.footer-areas-section .footer-heading {
    margin-bottom: 0.75rem;
    text-align: center;
}

.footer-areas-section .footer-text {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.footer-areas {
    list-style: none;
    margin: 1rem 0 0 0;
    padding: 0;
    column-count: 4;
    column-gap: 1.5rem;
}

.footer-areas li {
    color: #9ca3af;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.35rem;
    break-inside: avoid;
    transition: color 0.3s ease;
}

.footer-areas li:hover {
    color: #22c55e;
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

@media (max-width: 1024px) {
    .footer-areas {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .footer-areas {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .footer-areas {
        column-count: 1;
    }
}
.subhero{
  text-align: center;
}
.subhero-title,
.languages{
    font-size: 2.5rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 1rem;
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.3), 0 0 3px rgba(255, 255, 255, 0.1);
}
.subhero-subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    body {
        overflow-x: hidden;
    }

    .sticky > div,
    .nav-bar {
        flex-wrap: wrap !important;
        justify-content: center !important;
        padding: 10px 15px !important;
    }

    .nav-bar img {
        max-width: 180px !important;
        max-height: 70px !important;
        width: auto !important;
        height: auto !important;
    }

    .nav-bar li {
        margin: 4px 6px !important;
    }

    .nav-bar a.engraved-text {
        font-size: 16px !important;
        padding: 6px 10px !important;
    }

    main {
        padding: 20px 15px !important;
        min-height: auto !important;
    }

    .welcome-heading {
        font-size: 28px !important;
    }

    footer,
    #footer-bottom {
        padding: 20px 15px !important;
    }

    footer {
        flex-direction: column !important;
        text-align: center;
    }

    footer > div {
        width: 100% !important;
        padding: 10px 0 !important;
    }

    footer h2 {
        font-size: 16px !important;
    }

    footer p,
    footer a {
        font-size: 12px !important;
    }

    .social-icons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .map-container {
        width: min(300px, 90vw);
        height: min(300px, 90vw);
    }

    #footer-bottom {
        font-size: 12px !important;
    }
}

/* Mobile hamburger menu */
.mobile-menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: inline-flex;
        margin-left: 20px;
        padding: 6px 12px;
        font-size: 22px;
        line-height: 1;
        color: #064e3b;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10;
    }

    .mobile-menu-btn:hover {
        background: rgba(6, 78, 59, 0.1);
        transform: scale(1.05);
        border: 1px solid #064e3b;
    }

    .lower-nav {
        justify-content: flex-end !important;
        align-items: center !important;
    }

    .main-nav {
        overflow: visible !important;
    }

    .nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        width: 50% !important;
        max-width: 260px;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        background: #ffffff;
        border-top: 1px solid rgba(6, 78, 59, 0.2);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        padding: 10px 15px;
        text-align: left;
    }

    .main-nav.menu-open .nav-links {
        display: flex !important;
    }

    .nav-links li {
        width: 100%;
        margin: 8px 0 !important;
    }

    .nav-links a.engraved-text {
        display: inline-flex;
        align-items: center;
        font-size: 18px !important;
        padding: 0.5rem 0.75rem !important;
        border-radius: 9999px;
        text-align: left;
    }
}
/* TRAX Solutions glossy modern theme + dark mode */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f0fdf4;
  --text: #0f172a;
  --muted: #374151;
  --heading: #064e3b;
  --border: #22c55e;
  --accent: #22c55e;
  --accent-2: #16a34a;
  --accent-glow: rgba(34, 197, 94, 0.55);
  --shadow: 0 20px 40px -12px rgba(34, 197, 94, 0.25);
  --radius: 1rem;
  --transition: 0.25s ease;
}

html.dark {
  --bg: #000000;
  --surface: #111827;
  --surface-2: #064e3b;
  --text: #f9fafb;
  --muted: #9ca3af;
  --heading: #22c55e;
  --border: #22c55e;
  --accent: #22c55e;
  --accent-2: #34d399;
  --accent-glow: rgba(34, 197, 94, 0.6);
  --shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.7);
}

body {
  background: var(--bg) !important;
  color: var(--text) !important;
  transition: background var(--transition), color var(--transition);
}

/* Page-specific background images and blur layers */
body.page-blur > .pcb-canvas {
  z-index: -5;
}

body.page-blur::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.3);
}

html.dark body.page-blur::before {
  background: rgba(255, 255, 255, 0.15);
}

/* Navigation */
.upper-nav,
.lower-nav {
  background: #ffffff !important;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.main-footer,
.footer-bottom,
#footer-bottom {
  background: #000000 !important;
  border-color: #22c55e;
  box-shadow: 0 -4px 15px rgba(107, 114, 128, 0.2), inset 0 2px 10px rgba(255, 255, 255, 0.05);
}

html.dark .upper-nav,
html.dark .lower-nav {
  background: #000000 !important;
  border-bottom-color: #334155;
}

html.dark .main-footer,
html.dark .footer-bottom,
html.dark #footer-bottom {
  background: #000000 !important;
}

.nav-link {
  color: var(--heading) !important;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff !important;
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
}

html.dark .nav-link:hover,
html.dark .nav-link.active {
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.engraved-text {
  color: var(--heading) !important;
  text-shadow: none !important;
}

html.dark .engraved-text {
  color: var(--heading) !important;
  text-shadow: none !important;
}

.mobile-menu-btn {
  color: var(--heading) !important;
  background: var(--surface-2) !important;
  border: 1px solid var(--border);
}

/* Main content */
main,
.main-content {
  background: transparent !important;
  padding: 2.5rem 1.5rem;
  min-height: calc(100vh - 220px);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #22c55e, #000000);
  transition: transform var(--transition);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  color: #064e3b;
  background: #ffffff;
  border: 2px solid #22c55e;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-secondary:hover {
  background: #22c55e;
  color: #ffffff;
}

/* Sections */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.section-title {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--muted);
  text-align: center;
  max-width: 100%;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Cards */
.card,
.service-card,
.project-card,
.value-card,
.team-card,
.stat-card {
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.9);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.card:hover,
.service-card:hover,
.project-card:hover,
.value-card:hover,
.team-card:hover,
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.9), 0 25px 50px -12px rgba(34, 197, 94, 0.6);
  border-color: #16a34a;
}

/* Team cards */
.team-card {
  background: linear-gradient(145deg, #000000 0%, #111827 50%, #064e3b 100%);
  color: #ffffff;
  padding: 0;
  max-width: 14rem;
  width: 100%;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  border-color: #4ade80;
  box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.12), 0 0 30px rgba(34, 197, 94, 0.45);
}

.team-avatar {
  width: 8rem;
  height: 8rem;
  margin: 1rem auto 0.75rem;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid #22c55e;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.team-card:hover .team-avatar img {
  transform: scale(1.05);
}

.team-card h3,
.team-card p {
  color: #ffffff;
  margin: 0;
  padding: 0 0.75rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.team-card h3 {
  margin-top: 0.75rem;
  font-size: 1.1rem;
}

.team-card p {
  font-size: 0.875rem;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/*Why Choose Us/Call now cards */
.stat-card {
  background: linear-gradient(145deg, #064e3b 0%, #065f46 50%, #22c55e 100%) !important;
  color: #ffffff !important;
  border-color: #22c55e;
}

.stat-card:hover {
  background: linear-gradient(145deg, #22c55e 0%, #065f46 50%, #064e3b 100%) !important;
  color: #ffffff !important;
}

.stat-card .text-3xl,
.stat-card p {
  color: #ffffff !important;
}

.card-icon,
.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  font-size: 1.5rem;
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 10px 20px -8px rgba(34, 197, 94, 0.6);
  margin-bottom: 1.25rem;
}

.tech-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.tech-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-icon:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 14px rgba(34, 197, 94, 0.45);
}

.service-list {
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 0.5rem;
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--accent);
  font-size: 0.8rem;
}

.service-card {
  background: var(--surface);
  color: var(--text) !important;
  border-color: var(--border);
  box-shadow: none;
}

.service-card.core-dev {
  color: #ffffff !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-card.core-dev h3,
.service-card.core-dev p {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  align-self: stretch;
}

.service-card.core-dev .learn-more {
  display: inline-block;
  margin-top: auto;
  align-self: center;
  padding: 0.45rem 1.1rem;
  background: var(--accent);
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.service-card.core-dev:hover .learn-more {
  opacity: 1;
  transform: translateY(0);
}

.service-card.core-dev .service-icon {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 20px -8px rgba(34, 197, 94, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.service-card.core-dev:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(34, 197, 94, 0.55);
}

/* Enterprise Business Systems cards: no green border, subtle themed background image at 50% opacity */
.enterprise-service-card {
  position: relative;
  overflow: hidden;
  border-color: transparent !important;
  padding: 2.5rem;
}

html:not(.dark) .enterprise-service-card,
html.dark .enterprise-service-card {
  border-color: transparent !important;
}

html:not(.dark) .enterprise-service-card:hover,
html.dark .enterprise-service-card:hover {
  border-color: transparent !important;
}

.enterprise-service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
}

/* Larger white icon containers so the inserted images are visible */
.enterprise-service-card .service-icon {
  width: 10rem;
  height: 10rem;
  font-size: 2.5rem;
  background: #ffffff !important;
  color: rgb(31, 165, 209);
  overflow: hidden;
  box-shadow: none;
}

.enterprise-service-card .service-icon img {
  object-fit: contain;
  padding: 0.25rem;
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 5rem 1rem 6rem;
  margin-top: -2.5rem;
  border-radius: 0 0 0 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(6, 78, 59, 0.75) 50%, rgba(34, 197, 94, 0.55) 100%), url('https://picsum.photos/seed/traxshero/1600/900');
  background-size: cover;
  background-position: center top;
  margin-bottom: 2rem;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.4), 0 20px 40px -10px rgba(34, 197, 94, 0.3);
  color: #ffffff;
}

html.dark .hero {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.92) 0%, rgba(6, 78, 59, 0.85) 50%, rgba(34, 197, 94, 0.6) 100%), url('https://picsum.photos/seed/traxshero/1600/900');
  background-size: cover;
  background-position: center top;
}

.hero-title {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 0 25px rgba(34, 197, 94, 0.8);
}

.hero-subtitle {
  color: #d1fae5;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  max-width: 760px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

/* FAQ */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--heading);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: left;
  cursor: pointer;
}

.faq-question .icon {
  transition: transform var(--transition);
  color: var(--accent);
}

.faq-item.open .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
  color: var(--muted);
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

/* Forms */
.contact-form {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--text);
  box-shadow: var(--shadow);
}

html.dark .contact-form {
  background: var(--surface-2);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--heading);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form .form-input,
.contact-form .form-textarea,
.contact-form .form-select {
  background: var(--surface);
}

.contact-form .form-input::placeholder,
.contact-form .form-textarea::placeholder {
  color: var(--muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--accent-2);
  min-height: 1.5em;
}

/* Tag / pill */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  background: #000000;
  border: 1px solid #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.35);
}

/* Map container */
.map-container {
  width: min(350px, 90vw);
  height: min(350px, 90vw);
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.map-actions .btn-primary,
.map-actions .btn-primary:hover {
  box-shadow: none;
}

.green-pin {
  background: transparent !important;
  border: none !important;
  line-height: 0;
}

/* Footer overrides */
.main-footer {
  color: #9ca3af !important;
  padding: 3rem 1.5rem !important;
}

.footer-heading {
  color: #22c55e !important;
  text-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.footer-link {
  color: #9ca3af !important;
}

.footer-link:hover {
  color: #22c55e !important;
}

.footer-bottom,
#footer-bottom {
  color: #22c55e !important;
  border-top: 1px solid #22c55e !important;
}

/* Theme toggle */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--heading);
  cursor: pointer;
  transition: all var(--transition);
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent-2);
  transform: scale(1.05);
}

/* Project / service image placeholder */
.project-thumb,
.service-thumb {
  height: 160px;
  width: 100%;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #22c55e, #000000);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2.5rem;
  box-shadow: 0 12px 24px -10px rgba(34, 197, 94, 0.6);
}

/* Timeline / story */
.timeline {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.85rem;
  top: 0.35rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Main navigation bar */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 2rem;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

html.dark .main-nav {
    background: #000000;
    border-bottom: 1px solid #334155;
}

.main-nav-logo {
    display: flex;
    align-items: center;
}

.main-nav-logo img {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.main-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-direction: row;
    justify-content: flex-end;
}

.main-nav .nav-link {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    padding: 0.4rem 0.75rem;
    border-radius: 9999px;
    color: #000000 !important;
    text-decoration: none;
    transition: all var(--transition);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: #ffffff !important;
    background: var(--accent) !important;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.6) !important;
}

html.dark .main-nav .nav-link {
    color: var(--heading) !important;
}

html.dark .main-nav .nav-link:hover,
html.dark .main-nav .nav-link.active {
    color: #ffffff !important;
}

/* Mobile nav menu dark support */
@media (max-width: 768px) {
  .nav-links {
    background: #ffffff !important;
    backdrop-filter: blur(12px);
  }

  html.dark .nav-links {
    background: #000000 !important;
  }
}

/* Policy page */
.policy-section {
    padding-top: 1rem;
    padding-bottom: 4rem;
}

.policy-toolbar {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 950px;
    margin: 0 auto 1.75rem;
}

.policy-document {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.policy-letterhead {
    background: linear-gradient(135deg, var(--accent) 0%, #000000 100%);
    color: #ffffff;
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.policy-letterhead .policy-icon {
    width: 4rem;
    height: 4rem;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 1.75rem;
    backdrop-filter: blur(4px);
}

.policy-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.policy-meta {
    color: #d1fae5;
    font-size: 1rem;
    margin: 0;
}

.policy-body {
    padding: 2.5rem;
}

.policy-text {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text);
    white-space: pre-line;
    tab-size: 4;
    word-break: break-word;
}

.policy-header {
    display: none;
}

.print-only {
    display: none;
}

@media (max-width: 768px) {
    .policy-toolbar {
        justify-content: center;
    }

    .policy-body {
        padding: 1.5rem;
    }

    .policy-text {
        font-size: 0.95rem;
    }
}

@media print {
    .no-print,
    .main-nav,
    .main-footer,
    .footer-bottom,
    #footer-bottom,
    .subhero,
    .theme-toggle {
        display: none !important;
    }

    .print-only {
        display: block !important;
    }

    body {
        background: #111827 !important;
        color: #f9fafb !important;
    }

    .main-content,
    .policy-section,
    .policy-document {
        background: #111827 !important;
        border: none !important;
        box-shadow: none !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .policy-body {
        padding: 0 !important;
    }

    .policy-text {
        font-size: 11pt !important;
        line-height: 1.6 !important;
        color: #f9fafb !important;
        white-space: pre-line !important;
    }

    .policy-header {
        display: flex !important;
        align-items: center;
        gap: 1rem;
        border-bottom: 2px solid #22c55e;
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }

    .policy-header-logo {
        height: 60px;
        width: auto;
        object-fit: contain;
    }

    .policy-header-info h2 {
        font-size: 18pt;
        margin: 0;
    }

    .policy-header-info p {
        font-size: 11pt;
        color: #555;
        margin: 0;
    }
}

@page {
    margin: 2cm;
}

/* Solutions presentation (PowerPoint-style) */
.solutions-presentation {
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.solution-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
  background: var(--surface);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 0;
  padding: 2rem;
  text-align: center;
  will-change: transform, box-shadow;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.solution-card h3,
.solution-card p {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.solution-card h3 {
  font-size: 1.5rem !important;
}

.solution-card p {
  font-size: 1.05rem !important;
}

.solution-card .learn-more {
  display: inline-block;
  margin-top: auto;
  align-self: center;
  padding: 0.45rem 1.1rem;
  background: var(--accent);
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.solution-card:hover .learn-more {
  opacity: 1;
  transform: translateY(0);
}

.solution-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(34, 197, 94, 0.55);
}

.solution-card:nth-child(1) {
  background-image: linear-gradient(rgba(6, 78, 59, 0.35), rgba(0, 0, 0, 0.45)), url('https://image.pollinations.ai/prompt/dark%20green%20asset%20management%20warehouse%20technology%20background%20abstract?width=1200&height=600&nologo=true&seed=1');
}

.solution-card:nth-child(2) {
  background-image: linear-gradient(rgba(6, 78, 59, 0.35), rgba(0, 0, 0, 0.45)), url('https://images.unsplash.com/photo-1532012197267-da84d127e765?w=1200&h=600&fit=crop&q=80&auto=format&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.solution-card:nth-child(3) {
  background-image: linear-gradient(rgba(6, 78, 59, 0.35), rgba(0, 0, 0, 0.45)), url('https://images.unsplash.com/photo-1771931322109-180bb1b35bf8?w=1200&h=600&fit=crop&q=80&auto=format&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.solution-card:nth-child(4) {
  background-image: linear-gradient(rgba(6, 78, 59, 0.35), rgba(0, 0, 0, 0.45)), url('https://image.pollinations.ai/prompt/dark%20green%20on%20demand%20technology%20cloud%20speed%20background%20abstract?width=1200&height=600&nologo=true&seed=4');
}

.solution-card:nth-child(5) {
  background-image: linear-gradient(rgba(6, 78, 59, 0.35), rgba(0, 0, 0, 0.45)), url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?w=1200&h=600&fit=crop&q=80&auto=format&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.solution-card:nth-child(6) {
  background-image: linear-gradient(rgba(6, 78, 59, 0.35), rgba(0, 0, 0, 0.45)), url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?w=1200&h=600&fit=crop&q=80&auto=format&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.solution-card:nth-child(7) {
  background-image: linear-gradient(rgba(6, 78, 59, 0.35), rgba(0, 0, 0, 0.45)), url('https://images.unsplash.com/photo-1533749047139-189de3cf06d3?w=1200&h=600&fit=crop&q=80&auto=format&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.solution-card:nth-child(8) {
  background-image: linear-gradient(rgba(6, 78, 59, 0.35), rgba(0, 0, 0, 0.45)), url('https://plus.unsplash.com/premium_photo-1694088516778-186632fc2804?w=1200&h=600&fit=crop&q=80&auto=format&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

/* White cards: no green shadows, green borders, subtle dark hover shadow */
html:not(.dark) .card,
html:not(.dark) .service-card,
html:not(.dark) .project-card,
html:not(.dark) .value-card {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: none;
}

html.dark .card,
html.dark .service-card,
html.dark .project-card,
html.dark .value-card {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: none;
}

html:not(.dark) .card:hover,
html:not(.dark) .service-card:hover,
html:not(.dark) .project-card:hover,
html:not(.dark) .value-card:hover {
  border-color: var(--border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  transform: translateY(-6px);
}

html.dark .card:hover,
html.dark .service-card:hover,
html.dark .project-card:hover,
html.dark .value-card:hover {
  border-color: var(--border);
  box-shadow: 0 25px 50px -12px rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
}

/* Core Development Categories carousel */
.category-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  perspective: 1200px;
}

.category-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1.5rem 3rem;
  background: var(--bg);
  color: var(--text);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backface-visibility: hidden;
}

.category-slide h3 {
  color: #22c55e;
  margin-bottom: 1.5rem;
}

.category-slide .tech-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  --tech-size: clamp(4.5rem, 17vw, 8.5rem);
  --tech-font: clamp(2rem, 6.5vw, 3.5rem);
}

.category-slide .tech-icons.dense {
  --tech-size: clamp(3rem, 8vw, 4.5rem);
  --tech-font: clamp(1.25rem, 3.5vw, 2rem);
  gap: 0.75rem;
}

.category-slide .tech-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: var(--tech-size);
}

.category-slide .tech-icon {
  width: 100%;
  height: var(--tech-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid rgba(128, 128, 128, 0.2);
  color: var(--icon-color, var(--accent));
  font-size: var(--tech-font);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-slide .tech-label {
  font-size: 0.6rem;
  color: var(--text);
  font-weight: bold;
  text-align: center;
  width: 100%;
  line-height: 1.2;
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
}

.category-slide .tech-icon:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.category-slide .tech-icon img {
  width: 60%;
  height: auto;
  object-fit: contain;
}

.cat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  color: #ffffff;
  border: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.cat-arrow:hover {
  background: #16a34a;
  transform: translateY(-50%) scale(1.05);
}

.cat-prev {
  left: 0.5rem;
}

.cat-next {
  right: 0.5rem;
}

.category-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.cat-dot {
  width: 2rem;
  height: 0.4rem;
  background: rgba(34, 197, 94, 0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cat-dot.active {
  background: var(--accent);
  transform: scaleY(1.3);
}

/* Tech-Stack & Backend Solutions icons on white background */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  --tech-size: clamp(4.5rem, 17vw, 8.5rem);
  --tech-font: clamp(2rem, 6.5vw, 3.5rem);
}

.tech-stack .tech-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: var(--tech-size);
}

.tech-stack .tech-icon {
  width: 100%;
  height: var(--tech-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--icon-color, var(--accent));
  font-size: var(--tech-font);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-stack .tech-icon:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.tech-stack .tech-icon img {
  width: 60%;
  height: auto;
  object-fit: contain;
}

.tech-stack .tech-label {
  font-size: 0.75rem;
  color: var(--heading);
  font-weight: bold;
  text-align: center;
  width: 100%;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* About page value cards: shiny green */
.value-card {
  background: linear-gradient(145deg, #064e3b 0%, #22c55e 100%) !important;
  border-color: #22c55e !important;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.25), 0 10px 20px rgba(34, 197, 94, 0.35) !important;
  color: #ffffff !important;
}

.value-card h3,
.value-card p {
  color: #ffffff !important;
}

/* 4Ds of Software Development Process */
.process-4d {
  background: #ffffff !important;
  overflow: visible;
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
}

html.dark .process-4d {
  background: #000000 !important;
}

.process-4d .section-title,
.process-4d .section-subtitle {
  color: #0f172a;
}

html.dark .process-4d .section-title,
html.dark .process-4d .section-subtitle {
  color: #f9fafb;
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 560px;
  overflow: visible;
  padding: 1rem 0;
}

.process-chain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.process-chain path {
  fill: none;
  stroke: rgba(34, 197, 94, 0.2);
  stroke-width: 6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.process-stage {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  align-items: center;
  justify-items: center;
  position: relative;
  z-index: 1;
}

.process-node {
  position: relative;
  width: clamp(180px, 16vw, 260px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 4px solid var(--accent);
  background: #000000;
  overflow: hidden;
  z-index: 2;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.45s ease, z-index 0s;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(15, 148, 73, 0.45);
}

.process-node:hover,
.process-node.active {
  transform: scale(1.35);
  z-index: 30;
  box-shadow: 0 20px 55px rgba(15, 148, 73, 0.45);
}

.process-image,
.process-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.process-image {
  opacity: 1;
  z-index: 1;
}

.process-video {
  opacity: 0;
  z-index: 2;
}

.process-node:hover .process-image,
.process-node.active .process-image {
  opacity: 0;
}

.process-node:hover .process-video,
.process-node.active .process-video {
  opacity: 1;
}

.process-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 78, 59, 0.32);
  z-index: 3;
  transition: background 0.4s ease;
  pointer-events: none;
}

.process-node:hover .process-overlay,
.process-node.active .process-overlay {
  background: rgba(5, 40, 25, 0.58);
}

.process-node-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 4;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  transition: transform 0.4s ease, color 0.4s ease;
}

.process-node:hover .process-node-content,
.process-node.active .process-node-content {
  transform: scale(0.85);
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.75);
}

.process-number {
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
}

.process-name {
  font-size: clamp(0.95rem, 1.3vw, 1.25rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

.process-info {
  background: #ffffff;
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  max-width: 240px;
  width: 100%;
  z-index: 5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-info:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(34, 197, 94, 0.15);
}

.process-info h4 {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.process-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-info li {
  color: #374151;
  font-size: 0.88rem;
  line-height: 1.55;
  padding-left: 1.2em;
  position: relative;
  margin-bottom: 0.45rem;
}

.process-info li::before {
  content: '•';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 1.1em;
}

html.dark .process-info {
  background: #000000;
  border-color: var(--border);
}

html.dark .process-info li {
  color: var(--text);
}

/* Alternating snake layout */
.stage-up .process-node {
  grid-row: 1;
  align-self: start;
  justify-self: center;
}

.stage-up .process-info {
  grid-row: 2;
  align-self: end;
  justify-self: center;
}

.stage-down .process-info {
  grid-row: 1;
  align-self: start;
  justify-self: center;
}

.stage-down .process-node {
  grid-row: 2;
  align-self: end;
  justify-self: center;
}

/* Responsive: unified vertical column */
@media (max-width: 900px) {
  .process-track {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    min-height: auto;
    padding: 2rem 0;
    align-items: center;
  }

  .process-chain {
    display: none;
  }

  .process-track::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: rgba(34, 197, 94, 0.18);
    transform: translateX(-50%);
    z-index: 0;
    border-radius: 2px;
  }

  .process-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    max-width: 360px;
  }

  .process-stage .process-node,
  .process-stage .process-info {
    grid-row: auto;
    align-self: center;
    justify-self: center;
    order: 0;
  }

  .process-stage .process-node {
    order: 1;
    width: clamp(200px, 55vw, 280px);
  }

  .process-stage .process-info {
    order: 2;
    max-width: 100%;
    text-align: center;
  }

  .process-info li {
    display: inline-block;
    margin: 0 0.5rem 0.35rem 0;
  }

  .process-node:hover,
  .process-node.active {
    transform: scale(1.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-node,
  .process-image,
  .process-video,
  .process-overlay,
  .process-node-content,
  .process-info {
    transition: none;
  }
}

/* =====================================================
   Development Highlights - 3D Infographic Section
   ===================================================== */

.development-highlights {
  position: relative;
  width: 100%;
  background: #1d5151;
  color: #ffffff;
  padding: 4rem 0 0;
  overflow: hidden;
}

html.dark .development-highlights {
  background: #000000;
}

.dh-title {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.dh-subtitle {
  font-size: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.dh-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
  align-items: start;
  position: relative;
}

.dh-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 460px;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  isolation: isolate;
  overflow: hidden;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
  cursor: pointer;
  user-select: none;
}

/* Staggered height offsets: item 1 lowest, item 3 highest */
.dh-card:nth-child(1) {
  margin-top: 120px;
}

.dh-card:nth-child(2) {
  margin-top: 60px;
}

.dh-card:nth-child(3) {
  margin-top: 0;
}

.dh-card:hover,
.dh-card.is-lit {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 193, 7, 0.25);
}

/* --- Pendant light fixture --- */
.dh-light-fixture {
  position: relative;
  width: 100%;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 4;
}

.dh-cord {
  width: 2px;
  height: 60px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
}

.dh-lamp {
  width: 46px;
  height: 34px;
  background: #FFC107;
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0% 100%);
  position: relative;
  filter: brightness(0.85);
  transition: filter 0.4s ease;
}

.dh-lamp::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.7);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.dh-card:hover .dh-lamp,
.dh-card.is-lit .dh-lamp {
  filter: brightness(1.1) drop-shadow(0 0 18px rgba(255, 193, 7, 0.85));
}

.dh-card:hover .dh-lamp::after,
.dh-card.is-lit .dh-lamp::after {
  background: #fff8e1;
  box-shadow: 0 0 14px 4px rgba(255, 255, 255, 0.95);
}

/* --- Translucent spotlight beam --- */
.dh-beam {
  position: absolute;
  top: 95px;
  left: 50%;
  bottom: 130px;
  width: 160px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(255, 193, 7, 0.48) 0%, rgba(255, 193, 7, 0.12) 75%, rgba(255, 193, 7, 0) 100%);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.45s ease, filter 0.45s ease;
}

.dh-card:hover .dh-beam,
.dh-card.is-lit .dh-beam {
  opacity: 1;
  filter: blur(1.5px);
}

/* --- Centered text content --- */
.dh-content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 3;
}

.dh-step-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.35rem;
  transition: color 0.4s ease;
}

.dh-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.dh-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  max-width: 280px;
}

.dh-card:hover .dh-step-label,
.dh-card.is-lit .dh-step-label {
  color: #FFC107;
}

/* --- 3D blue podium --- */
.dh-podium {
  position: relative;
  width: 100%;
  height: 130px;
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 3;
}

.dh-podium-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 260px;
  height: 110px;
  background: linear-gradient(180deg, #2563eb 0%, #172554 100%);
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0% 100%);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
  z-index: 1;
}

.dh-podium-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 68%;
  max-width: 198px;
  height: 35px;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.dh-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 86%;
  max-width: 240px;
  font-size: clamp(0.85rem, 2.2vw, 1.05rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  transition: color 0.4s ease, text-shadow 0.4s ease;
  z-index: 3;
}

.dh-card:hover .dh-number,
.dh-card.is-lit .dh-number {
  color: #FFC107;
  text-shadow: 0 0 14px rgba(255, 193, 7, 0.85), 0 0 32px rgba(255, 193, 7, 0.5);
}

/* --- White wave section divider --- */
.dh-wave {
  display: block;
  width: 100%;
  height: 80px;
  position: relative;
  z-index: 5;
}

html.dark .dh-wave path {
  fill: #000000;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .dh-stage {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .dh-card:nth-child(1),
  .dh-card:nth-child(2),
  .dh-card:nth-child(3) {
    margin-top: 0;
    margin-bottom: 1.5rem;
  }

  .dh-card:nth-child(3) {
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .dh-card {
    min-height: 440px;
    padding: 1.25rem;
  }

  .dh-beam {
    width: 130px;
  }

  .dh-number {
    font-size: 0.9rem;
    line-height: 1.2;
    max-width: 210px;
  }
}

/* Contact page light-mode enhancements */
html:not(.dark) body.contact-page .contact-form {
  background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -16px rgba(34, 197, 94, 0.18);
}

html:not(.dark) body.contact-page .form-input,
html:not(.dark) body.contact-page .form-textarea {
  background: #f8fafc;
  border-color: #e2e8f0;
}

html:not(.dark) body.contact-page .form-input:focus,
html:not(.dark) body.contact-page .form-textarea:focus {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

html:not(.dark) body.contact-page .card {
  border-left: 4px solid var(--accent);
  box-shadow: 0 24px 50px -16px rgba(34, 197, 94, 0.12);
}

html:not(.dark) body.contact-page .card a {
  color: var(--heading);
  font-weight: 600;
  transition: color var(--transition);
}

html:not(.dark) body.contact-page .card a:hover {
  color: var(--accent);
}

html:not(.dark) body.contact-page .map-container {
  border: 2px solid var(--accent);
  box-shadow: 0 24px 50px -16px rgba(34, 197, 94, 0.18);
}

html:not(.dark) body.contact-page .card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--accent);
  margin-right: 0.75rem;
}

html:not(.dark) body.contact-page .contact-form .btn-primary:hover {
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);
  transform: translateY(-2px);
}

/* Demo tabs */
.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.demo-tab {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1rem;
}

.demo-tab.active,
.demo-tab:hover {
  border-bottom-color: var(--accent);
}

.demo-panels {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
}

.demo-panel {
  display: none;
  background: var(--surface);
  padding: 1.75rem;
}

.demo-panel.active {
  display: block;
}

/* Demo galleries */
.ecom-gallery,
.pos-gallery {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 2.5rem;
  padding-bottom: 2rem;
  align-items: center;
}

.ecom-shot,
.pos-shot {
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

.ecom-shot img,
.pos-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
}

.ecom-shot figcaption,
.pos-shot figcaption {
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

.pos-invoice {
  max-width: 450px;
  margin: 0 auto;
}

/* Solution detail page */
.solution-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  margin: -2.5rem -1.5rem 0;
  padding: 8rem 1.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.solution-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(6, 78, 59, 0.62) 50%, rgba(34, 197, 94, 0.45) 100%);
  z-index: 0;
}

.solution-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.solution-hero-label {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.solution-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 0 25px rgba(34, 197, 94, 0.8);
}

.solution-hero-headline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #d1fae5;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.solution-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.solution-overview {
  background: var(--bg);
}

.solution-capabilities {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.solution-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.capability-card {
  display: flex;
  gap: 1rem;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
}

.capability-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  background: var(--accent);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.95rem;
  border-radius: 50%;
}

.capability-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.4rem;
}

.capability-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.solution-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.stack-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
  text-align: left;
  border-radius: 0;
  box-shadow: none;
  transition: border-color 0.3s ease;
}

.stack-card:hover {
  border-color: var(--accent);
}

.stack-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.stack-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stack-card li {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.stack-card li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

.solution-cta {
  background: var(--surface);
}

.solution-card-link {
  text-decoration: none;
}

#solutions {
  scroll-margin-top: 120px;
  margin-bottom: 120px;
}

/* Sleep / screensaver overlay */
.sleep-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #000000;
  color: #ffffff;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.sleep-overlay.sleeping {
  opacity: 1;
  visibility: visible;
}

.sleep-overlay .sleep-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.sleep-overlay .sleep-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sleep-overlay .sleep-content img {
  max-width: 320px;
  width: 80%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(34, 197, 94, 0.15));
}

.sleep-overlay .sleep-content p {
  margin-top: 24px;
  font-size: 18px;
  color: #9ca3af;
  letter-spacing: 2px;
}

@media (min-width: 769px) {
  html:not(.dark) body.contact-page .map-container {
    width: min(700px, 90vw);
    height: min(420px, 60vw);
  }
}

/* About page: social impact banner + partner */
.impact-visual-section {
  padding-bottom: 1rem;
}

.impact-visual {
  position: relative;
  width: 100%;
  min-height: clamp(460px, 62vw, 720px);
  height: auto;
  background-image: url('https://images.unsplash.com/photo-1611843467160-25afb8df1074?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
}

.impact-visual-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 12%),
    linear-gradient(to top, var(--bg) 0%, transparent 6%, rgba(0, 0, 0, 0.55) 25%, transparent 60%),
    linear-gradient(135deg, rgba(6, 78, 59, 0.42) 0%, rgba(34, 197, 94, 0.28) 100%);
}

.impact-visual-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.impact-visual-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  margin-bottom: 0.75rem;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.impact-visual-title {
  font-size: clamp(1.6rem, 4.5vw, 2.75rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  max-width: 760px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.impact-panel {
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 2.5rem 2rem;
  width: 100%;
}

.impact-panel .section-title,
.impact-panel .impact-subtitle,
.impact-panel .impact-partners-heading,
.impact-panel .partner-name {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.impact-subtitle {
  margin-bottom: 1.75rem;
}

.impact-partners-heading {
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
  color: var(--heading);
  text-decoration: underline;
  margin-bottom: 1.25rem;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem;
  background: transparent;
}


.partner-logo {
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  background: #ffffff;
  padding: 0.25rem;
  flex-shrink: 0;
}

html.dark .partner-logo {
  background: #ffffff;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  text-align: center;
}

@media (max-width: 600px) {
  .impact-visual {
    min-height: clamp(540px, 130vw, 720px);
    height: auto;
  }

  .impact-visual-title {
    font-size: clamp(1.25rem, 6vw, 1.75rem);
  }

  .partner-card {
    flex-direction: column;
    text-align: center;
  }
}
