/* ===============================
   ARGO SYSTEMS STYLESHEET
   styles.css
================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #141211;
    --accent: #F59E0B;
    --accent-hover: #DC8A04;
    --secondary: #3A3A3A;
    --text-light: rgba(255,255,255,0.9);
    --text-dim: rgba(255,255,255,0.6);
    --border: rgba(255,255,255,0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--primary);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease forwards;
    animation-delay: 1.5s;
}

.loader-logo {
    width: 120px;
    opacity: 0;
    animation: logoReveal 1.5s ease forwards;
}

@keyframes logoReveal {
    to { opacity: 1; transform: scale(1.1); }
}

@keyframes fadeOut {
    to { opacity: 0; pointer-events: none; }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(20, 18, 17, 0);
    backdrop-filter: blur(0);
    transition: all 0.3s ease;
    padding: 1.5rem 0;
    overflow: visible;
}

nav.scrolled {
    background: rgba(20, 18, 17, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Dropdown container */
.dropdown {
    position: relative;
}

/* Dropdown hover buffer (prevents flicker) */
.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    height: 16px;
    width: 100%;
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 120%;
    right: 0;
    min-width: 260px;

    background: rgba(15, 15, 15, 0.92);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 193, 7, 0.15);
    border-radius: 14px;

    padding: 12px 8px;

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: all 0.25s ease;

    z-index: 1100; /* MUST be on the menu container */
}

/* Show on hover */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Adjust position when nav is scrolled */
nav.scrolled .dropdown-menu {
    top: 110%;
}

/* Dropdown links */
.dropdown-menu a {
    display: block;
    padding: 12px 16px;

    font-size: 0.95rem;
    font-weight: 500;

    color: #ffffff;
    text-decoration: none;

    border-radius: 10px;
    transition: all 0.2s ease;
}

/* Hover state */
.dropdown-menu a:hover {
    background: rgba(255, 193, 7, 0.12);
    color: #ffc107;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo img {
    height: 120px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Make Services button look EXACTLY like the other nav links */
.dropdown-trigger {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background: transparent;
  border: 0;
  outline: none;

  padding: 0;
  margin: 0;

  font: inherit;              /* inherits family, size, weight */
  color: var(--text-light);
  letter-spacing: 0.3px;
  font-weight: 500;
  font-size: 0.95rem;

  cursor: default;
  line-height: 1;             /* avoids extra height */
}

/* Match your existing hover behaviour */
.dropdown:hover .dropdown-trigger,
.dropdown-trigger:hover {
  color: var(--accent);
}

/* Optional: remove focus ring glow but keep accessible outline */
.dropdown-trigger:focus-visible {
  outline: 2px solid rgba(245, 158, 11, 0.35);
  outline-offset: 6px;
  border-radius: 6px;
}

.nav-links .dropdown {
  display: flex;
  align-items: center;
}

.nav-links .dropdown > a {
  pointer-events: none;
}

.nav-cta {
    background: var(--accent);
    color: var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, #1f1d1a 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background-image: 
        radial-gradient(circle at 20% 50%, var(--accent) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--secondary) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 2s;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent) 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 2.2s;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 2.4s;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.btn-secondary {
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--primary);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Industry Focus Section */
.industry-focus {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--primary) 0%, #1a1815 100%);
    position: relative;
}

.section-header {
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
    text-align: center;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto;
}

.industry-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.industry-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: shimmer 3s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.industry-card:hover::before {
    opacity: 1;
}

.industry-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(255,255,255,0.01) 100%);
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.industry-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, #FFD700 100%);
    border-radius: 10px; /* slightly sharper */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;

    /* premium cues */
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.25),
        0 8px 24px rgba(0, 0, 0, 0.35);

    font-size: 1.5rem;
}

.industry-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.industry-card p {
    color: var(--text-dim);
    line-height: 1.8;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: var(--primary);
}

.service-showcase {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.service-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-item:nth-child(even) {
    direction: rtl;
}

service-item:nth-child(even) .service-content {
    direction: ltr;
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--text-dim) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-content p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-features li::before {
    content: '→';
    color: var(--accent);
    font-weight: bold;
}

.service-visual {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 12px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-visual::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.05;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Stats Section */
.stats {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1815 0%, var(--primary) 100%);
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-dim);
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background: var(--primary);
}

.about-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-main {
    padding-right: 2rem;
}

.about-main p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.about-main p:first-child {
    font-size: 1.25rem;
    color: var(--text-light);
}

.about-values {
    display: grid;
    gap: 2rem;
}

.value-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateX(10px);
    border-color: rgba(245, 158, 11, 0.3);
}

.value-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.value-item p {
    color: var(--text-dim);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--accent) 0%, #FFD700 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(20, 18, 17, 0.8);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-dark {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-outline-dark {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--accent);
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background: #0a0908;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-dim);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-light);
    margin: 5px 0;
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: #0a0908;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    }
    
/* Animate hamburger into X when menu is open */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-toggle span {
  transition: 0.3s;
}

    .nav-links.active {
        right: 0;
    }

    .service-item,
    .service-item:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .about-content-wrapper {
        grid-template-columns: 1fr;
    }

    .about-main {
        padding-right: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.services-trigger {
  cursor: default;
}

/* Mobile nav logo fix */
@media (max-width: 768px) {
  .logo img {
    max-height: 36px;
    width: auto;
  }
}

/* ===============================
   SERVICES (Hero Wireframe + List)
   Drop-in block for Argo Systems
================================== */

/* Wrapper */
.services {
  padding: 8rem 0;
  background: var(--primary);
  position: relative;
}

/* Big "signature" graphic container */
.services-hero-graphic {
  max-width: 1100px;
  margin: 0 auto 3.5rem;
  padding: 0 2rem;
}

.services-hero-graphic .wireframe-panel {
  height: 320px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  overflow: hidden;
  position: relative;

  /* subtle premium shadow */
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* Wireframe SVG styling */
.services-hero-graphic .wireframe-panel svg {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.70;
  transform: translateY(6px);
}

.services-hero-graphic .wireframe-panel .plane path {
  fill: none;
  stroke: rgba(245, 158, 11, 0.34); /* matches --accent */
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

/* Glow + fade so it doesn't fight text */
.services-hero-graphic .wireframe-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    radial-gradient(circle at 25% 25%, rgba(245, 158, 11, 0.18), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(255, 215, 0, 0.10), transparent 60%),
    linear-gradient(135deg, rgba(0,0,0,0.10), rgba(0,0,0,0.55));
}

/* Optional label overlay (looks sick) */
.services-hero-graphic .wireframe-caption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.3px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
}

.services-hero-graphic .wireframe-caption .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.85);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
}

/* ---- Services list layout ---- */
.service-showcase {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  gap: 1.25rem;
}

/* Card rows */
.service-row {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.03) 0%,
    rgba(255,255,255,0.01) 100%
  );
  padding: 2rem 2.25rem;

  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;

  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* Accent top line shimmer */
.service-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.75), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-row:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.28);
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.06) 0%,
    rgba(255,255,255,0.01) 100%
  );
}

.service-row:hover::before {
  opacity: 1;
}

/* Row header: icon + title */
.service-row-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(255,215,0,0.10));
  border: 1px solid rgba(245, 158, 11, 0.22);
  display: grid;
  place-items: center;
  flex: 0 0 auto;

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    0 10px 26px rgba(0, 0, 0, 0.25);
}

.service-icon svg {
  width: 22px;
  height: 22px;
  opacity: 0.9;
}

/* Title */
.service-row h3 {
  font-size: 1.35rem;
  margin: 0;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.3px;
}

/* Description */
.service-row p {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 80ch;
}

/* Feature list */
.service-row ul {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.service-row li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}

/* Arrow bullet */
.service-row li::before {
  content: "→";
  color: rgba(245, 158, 11, 0.95);
  font-weight: 700;
  flex: 0 0 auto;
  transform: translateY(1px);
}

/* Optional "Learn more" link */
.service-row .service-link {
  margin-top: 0.5rem;
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  width: fit-content;
  color: rgba(245, 158, 11, 0.95);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.service-row .service-link:hover {
  transform: translateX(4px);
  opacity: 0.95;
}

.service-row .service-link span {
  opacity: 0.9;
}

/* -------------------------------
   Responsive (mobile-first)
-------------------------------- */
@media (max-width: 968px) {
  .services {
    padding: 6rem 0;
  }

  .services-hero-graphic {
    margin-bottom: 2.25rem;
    padding: 0 1.25rem;
  }

  .services-hero-graphic .wireframe-panel {
    height: 220px;
  }

  .service-showcase {
    padding: 0 1.25rem;
  }

  .service-row {
    padding: 1.5rem 1.5rem;
  }

  .service-row h3 {
    font-size: 1.2rem;
  }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .service-row,
  .service-row:hover,
  .services-hero-graphic .wireframe-panel svg {
    transition: none !important;
    transform: none !important;
  }
}

/* ---------------------------------
   Mobile heading size adjustments
---------------------------------- */
@media (max-width: 768px) {

  .section-header h2 {
    font-size: 2.1rem;
    line-height: 1.25;
  }

  .section-header p {
    font-size: 1rem;
    line-height: 1.6;
  }

}

/* ===============================
   Mobile nav overlay + close
   Paste at END of CSS file
================================== */

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1999;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Ensure slide-in menu sits above overlay */
@media (max-width: 968px) {
  .nav-links {
    z-index: 2000;
  }
}
/* ===============================
   Mobile menu close button
================================== */

@media (max-width: 968px) {

  .mobile-menu-close {
    position: absolute;
    top: 18px;
    right: 18px;

    width: 44px;
    height: 44px;

    background: #ffffff;
    color: #000000;

    border: none;
    border-radius: 10px;

    font-size: 22px;
    font-weight: 600;
    line-height: 1;

    cursor: pointer;
    z-index: 9999;
  }

  /* Push menu items down so they don’t sit under the X */
  .nav-links {
    padding-top: 80px;
  }
}

