/* Reset + base (kept from original) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Style for link buttons */
.link-button {
  display: inline-flex; /* Use flexbox for alignment */
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  padding: 1rem 2rem;
  background-color: #3b82f6; /* Example blue color */
  color: white !important; /* Ensure text is white */
  text-decoration: none !important; /* Remove underline */
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  gap: 0.5rem; /* Space between text and icon */
  text-align: center;
}
.link-button:hover {
  background-color: #2563eb; /* Darker blue on hover */
  color: white !important;
}
.link-button svg {
   width: 20px;
   height: 20px;
}

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #06b6d4;
  --accent: #ec4899;
  --dark-bg: #0f0f1e;
  --darker-bg: #080812;
  --card-bg: #1a1a2e;
  --card-hover: #232340;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: rgba(99, 102, 241, 0.2);
}

html {
  scroll-behavior: smooth;
}

/* Keep from horizontal overflow on small screens */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--darker-bg);
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Particles Background */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* Navigation */
.navbar {
  background: rgba(15, 15, 30, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(15, 15, 30, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.brand-icon {
  font-size: 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--shadow);
}

/* Hero Section Styles */
.hero-alt {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #0a0a14, #1a1a2e);
}

.hero-alt-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 2;
}

.hero-alt-content {
  animation: fadeInUp 1s ease-out;
}

.hero-alt-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-alt-title span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-alt-lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-alt-description {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 40px;
}

.btn-alt {
  padding: 14px 32px;
  background: var(--card-bg);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.btn-alt:hover {
  background: var(--primary);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow);
}

.hero-alt-visual {
  perspective: 1500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.laptop {
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 16 / 10;
  background: #1e1e2d;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transform: rotateX(10deg) rotateY(-20deg) rotateZ(-5deg);
  transition: transform 0.5s ease;
}

.hero-alt-visual:hover .laptop {
  transform: rotateX(0) rotateY(0) rotateZ(0) scale(1.05);
}

.laptop::after {
  content: '';
  position: absolute;
  bottom: -8%;
  left: 5%;
  width: 90%;
  height: 8%;
  background: #151522;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  transform: perspective(100px) rotateX(-15deg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.laptop-screen {
  width: 100%;
  height: 100%;
  background: #080812;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.screen-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, var(--primary), transparent 40%),
              radial-gradient(circle at 30% 70%, var(--accent), transparent 40%);
  opacity: 0.15;
  filter: blur(80px);
}

.screen-code-line {
  position: absolute;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  transition: opacity 0.4s ease-in-out;
}

.screen-ui-box {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: opacity 0.4s ease-in-out;
}
.box-1 { top: 15%; right: 10%; width: 30%; height: 25%; }
.box-2 { bottom: 15%; right: 20%; width: 40%; height: 20%; }
.box-3 { bottom: 25%; left: 10%; width: 25%; height: 15%; }

.screen-tag {
  position: absolute;
  color: var(--text-muted);
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  font-weight: bold;
  transition: opacity 0.4s ease-in-out;
}
.tag-1 { top: 10%; right: 10%; }
.tag-2 { bottom: 10%; left: 15%; }

.screen-logo-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-primary);
  opacity: 0;
  transition: all 0.4s ease-in-out;
  text-shadow: 0 0 15px var(--shadow);
}

.hero-alt-visual:hover .screen-logo-text {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hero-alt-visual:hover .screen-code-line,
.hero-alt-visual:hover .screen-ui-box,
.hero-alt-visual:hover .screen-tag {
  opacity: 0.1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  filter: blur(80px);
  z-index: 1;
}
.blob-1 { width: 400px; height: 400px; top: 10%; right: 5%; }
.blob-2 { width: 300px; height: 300px; top: 50%; right: 20%; }
.blob-3 { width: 250px; height: 250px; bottom: 15%; right: 10%; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Section Styles */
section:not(#home) {
  position: relative;
  padding: 120px 0;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}
/* ---------- FIXED MARGINS REMOVED: make label center-friendly ---------- */
.section1 {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-top: 50px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

/* Remove wide absolute left margins (was causing mobile overflow) */
/* center the label instead of pushing it to the right */
.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  font-size: 13px;
  /* removed: margin-left:1050px;  and duplicate margin-left */
  margin-top: 20px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* keep large screens styled but center subtitle on smaller screens */
.section-title {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Remove fixed left margin; center the subtitle */
.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto; /* centered */
  padding: 0 12px; /* small padding for narrow screens */
}

/* contact section small tweaks: center instead of fixed left margin */
.se {
  margin: 0 auto;
  margin-top: 20px;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
  text-align: center;
}

/* Services Section */
.services {
  background: var(--dark-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  padding: 48px 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 1; 
  transform: translateY(0);
}

.service-card.visible {
  animation: slideUp 0.6s ease-out forwards;
}

.service-card[data-index="0"] { animation-delay: 0s; }
.service-card[data-index="1"] { animation-delay: 0.1s; }
.service-card[data-index="2"] { animation-delay: 0.2s; }
.service-card[data-index="3"] { animation-delay: 0.3s; }
.service-card[data-index="4"] { animation-delay: 0.4s; }
.service-card[data-index="5"] { animation-delay: 0.5s; }

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 0.05;
}

.service-card:hover {
  transform: translateY(-12px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 20px 60px var(--shadow);
  background: var(--card-hover);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.service-icon-wrapper {
  width: 72px;
  height: 72px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon-wrapper {
  background: rgba(99, 102, 241, 0.2);
  transform: scale(1.1);
}

.service-icon {
  color: var(--primary);
}

.service-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 8px;
}


/* Process Section */
.process {
  background: var(--darker-bg);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.process-step {
  position: relative;
  padding: 0 16px;
}

.process-number-wrapper {
  margin: 0 auto 32px auto;
  position: relative;
  width: 80px;
  height: 80px;
}

.process-number {
  width: 80px;
  height: 80px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.process-step:hover .process-number {
  background: var(--primary);
  color: var(--text-primary);
  border-color: var(--primary-dark);
  transform: scale(1.1);
}

.process-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.process-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -16px; 
  width: calc(100% - 80px); 
  height: 2px;
  background-image: linear-gradient(to right, var(--text-muted) 50%, transparent 50%);
  background-size: 10px 2px;
  background-repeat: repeat-x;
  transform: translateX(50%);
  opacity: 0.5;
}

/* Testimonials Section */
.testimonials {
  background: var(--dark-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr; /* Only one column now */
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  padding: 40px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.author-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.author-role {
  font-size: 14px;
  color: var(--text-muted);
}

/* Contact Section */
.contact {
  background: var(--darker-bg);
}

.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  padding: 16px;
  font-size: 15px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-primary);
  border-radius: 12px;
  font-family: inherit;
  transition: all 0.3s ease;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* CONTACT SIDEBAR / INFO CARD
   ---- Fix: avoid use of large left margins; center the card and cap width ---- */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-left: 20px;
}

/* contact-row: removed large auto margins and kept centered with padding */
.contact-row {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* align items from the left on large screens */
  gap: 36px;
  margin-top: 18px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

/* contact-info-card: ensure centered with max-width and auto margin */
.contact-info-card {
  flex: 1;
  margin: 0;
}

/* Keep default fill-form-button-container styling but center it for mobile */
.fill-form-button-container {
  margin-top: 2rem; 
  /* Add some space above the button */
  text-align: center; /* Center the button within its container */
}

/* second fill-form-button-container definition earlier removed duplication (kept the centered one) */
.contact-info-card {
  padding: 24px 28px;
  background: linear-gradient(180deg, rgba(26,26,46,0.95), var(--card-bg));
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  text-align: center; /* center the content inside contact card */
  max-width: 820px;
  margin: 0 auto; /* center the card */
  box-shadow: 0 8px 30px rgba(2,6,23,0.6);
}

.contact-info-card h3 {
  font-size: 20px;
  margin-bottom: 24px;
  margin-left: 10px;  
}

/* Info items: keep centered layout */
.info-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center; /* center child items */
}

.info-item {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 520px; /* keep rows compact */
  padding: 6px 12px;
  border-radius: 10px;
  transition: background 0.18s ease;
}

.info-item:hover {
  background: rgba(99,102,241,0.02);
}

.info-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(180deg, rgba(99,102,241,0.08), rgba(99,102,241,0.04));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  color: var(--primary);
}

.info-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.info-value {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Make fill-form button centered (this is the main button area) */
.fill-form-button-container {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  padding-top: 10px; 
}

/* small id kept but empty as original (no change) */
#peru {

}

/* Social links */
.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}

.social-link {
  width: 48px;
  height: 48px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Footer */
.footer {
  background: var(--darker-bg);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--primary);
}

/* FOOTER BOTTOM: removed large fixed left padding so it centers on mobile */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  margin-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
  padding-left: 0; /* removed 530px that caused horizontal scroll */
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-legal {
  display: flex;
  gap: 32px;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--text-primary);
}

/* Responsive Design */
/* Keep your original breakpoints, but ensure centering and no overflow */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }
  
  .hero-alt-title {
    font-size: 52px;
  }
  
  .laptop {
    transform: rotateX(5deg) rotateY(-15deg) rotateZ(-3deg);
    max-width: 420px; /* prevent overflow */
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 64px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* ensure section subtitle doesn't stick to the right on medium screens */
  .section-subtitle {
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
  }

  .se {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .nav-cta {
    padding: 8px 20px;
    font-size: 13px;
  }

  .hero-alt {
    padding: 120px 0 80px;
    text-align: center;
  }

  .hero-alt-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-alt-content {
    order: 2;
  }

  .hero-alt-visual {
    order: 1;
  }
  
  .hero-alt-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-alt-title {
    font-size: 42px;
  }

  .laptop {
    max-width: 350px;
    transform: rotateX(5deg);
  }

  .services-grid,
  .process-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
      gap: 48px;
  }
  
  .process-step:not(:last-child)::before {
      content: '';
      position: absolute;
      bottom: -24px;
      left: 50%;
      width: 2px;
      height: 48px;
      background-image: linear-gradient(to bottom, var(--text-muted) 50%, transparent 50%);
      background-size: 2px 10px;
      transform: translateX(-50%);
      opacity: 0.5;
  }
  
  .process-step:not(:last-child)::after {
      display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    align-items: center;
  }

  /* smaller contact card spacing so it centers properly */
  .contact-row {
    padding: 0 12px;
  }

  .contact-info-card {
    padding: 18px;
    max-width: 100%;
  }

  .section-title {
    font-size: 34px;
  }

  .hero-alt-title {
    font-size: 36px;
  }

  .hero-alt-description {
    max-width: 100%;
    padding: 0 12px;
  }

  .blob-1, .blob-2, .blob-3 {
    display: none; /* hide large blurred blobs on small screens to save space */
  }
}

/* Buttons (kept original) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--shadow);
}

.btn-large {
  padding: 18px 40px;
  font-size: 17px;
}

/* end of file */
/* --- Notification Popup Styles --- */
.promo-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 340px;
  background: rgba(26, 26, 46, 0.95); /* Matches your card-bg dark theme */
  border: 1px solid rgba(99, 102, 241, 0.3); /* Matches your primary border */
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  font-family: 'Inter', sans-serif;
  
  /* Animation setup */
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Class to trigger animation via JS */
.promo-popup.show {
  opacity: 1;
  transform: translateY(0);
}

.popup-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent 60%);
  border-radius: 16px;
  pointer-events: none;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
  z-index: 2;
}

.popup-close:hover {
  color: var(--text-primary);
}

.popup-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.popup-icon {
  font-size: 28px;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.popup-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  background: linear-gradient(135deg, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.popup-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.popup-text strong {
  color: var(--secondary); /* Cyan accent */
}

.popup-btn {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-decoration: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  .promo-popup {
    width: calc(100% - 40px);
    right: 20px;
    bottom: 20px;
    padding: 20px;
  }
}