
/* ====== Variables & Reset ====== */
:root {
  --ink: #0c1b3a;
    --ink-dark: #06102a;
    --muted: #6b7280;
    --muted-light: #9ca3af;
    --bg: #f6f8fb;
    --bg-alt: #eef2f8;
    --card: #ffffff;
    --card-dark: #111827;
    --border: #e5e7eb;
    --border-dark: #374151;
    --grad1: #ff0000;
    --grad2: #ace7ff;
    --grad3: #00b4ff;
    --accent: #00e0b8;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
  --ink: #f3f4f6;
  --ink-dark: #f9fafb;
  --muted: #d1d5db;
  --muted-light: #9ca3af;
  --bg: #111827;
  --bg-alt: #1f2937;
  --card: #1a2435;
  --border: #374151;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease;
}

/* ====== Preloader ====== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  width: 200px;
  height: 200px;
  position: relative;
}

.loader:before, .loader:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}

.loader:before {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--grad1), var(--grad2));
  opacity: 0.2;
}

.loader:after {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  background: linear-gradient(135deg, var(--grad1), var(--grad2));
}

@keyframes pulse {
  0%, 100% { transform: scale(0.8); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* ====== Header & Navigation ====== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(10px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

[data-theme="dark"] .header {
  background: rgba(26, 36, 53, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--grad1), var(--grad2));
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.25), inset 0 0 12px rgba(255, 255, 255, 0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 22px;
}

.menu {
  display: flex;
  gap: 28px;
  align-items: center;
}

.menu a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
  transition: var(--transition);
  position: relative;
}

.menu a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--grad1), var(--grad2));
  transition: width 0.3s ease;
}

.menu a:hover {
  opacity: 1;
}

.menu a:hover:after {
  width: 100%;
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  opacity: 0.8;
  transition: var(--transition);
}

.theme-toggle:hover {
  opacity: 1;
  transform: rotate(30deg);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

/* ====== Diagonal accent ====== */
.diagonal-accent {
  position: fixed;
  left: -120px;
  top: -80px;
  z-index: 0;
  pointer-events: none;
  width: 200px;
  height: 120vh;
  opacity: 0.35;
 background: linear-gradient(180deg, rgb(255 0 0), rgb(0 178 255));
  filter: blur(0.3px);
  transform: rotate(62deg);
  border-radius: 16px;
}

/* ====== Vertical Label ====== */
.vertical-label {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 30;
  padding-left: 6px;
}

.vertical-label::before {
 /* content: "";
  display: block;
  width: 3px;
  height: 110px;
  border-radius: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--grad2));
  animation: pulseLine 3s ease-in-out infinite;*/
}

.vertical-label span {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
	animation: pulseLine 3s ease-in-out infinite;
}

.vertical-label span strong {
 color: #ff0000;
}

@keyframes pulseLine {
  0%, 100% { transform: scaleY(1); opacity: 0.9; }
  50% { transform: scaleY(1.25); opacity: 1; }
}

/* ====== Sections Common Styles ====== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--muted);
  font-size: 18px;
  max-width: 700px;
  margin-bottom: 48px;
}

/* ====== Hero Section ====== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  min-height: 90vh;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-content h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  font-size: clamp(40px, 6vw, 64px);
  margin: 0 0 24px;
}

.hero-gradient {
  background: linear-gradient(135deg, var(--grad1), var(--grad2), var(--grad3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.hero-content p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 600px;
}

.btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 28px;
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--grad1), var(--grad2));
  color: #fff;
  box-shadow: 0 12px 24px rgba(124, 58, 237, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(124, 58, 237, 0.35);
}

.btn-outline {
 border: 2px solid #ff0000;
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--grad1);
  background: rgba(124, 58, 237, 0.05);
  transform: translateY(-3px);
}

.hero-visual {
  aspect-ratio: 4/3;
  border-radius: 24px;
  background: radial-gradient(600px 240px at 80% 15%, rgb(255 0 0), #00afff00 60%), linear-gradient(135deg, #ff0000, #90e0ff);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.device {
  position: absolute;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.device::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 179 255 / 38%), rgb(255 0 0 / 46%)), repeating-linear-gradient(90deg, rgb(255 255 255 / 34%) 0 2px, #00000021 2px 4px);
  border-radius: inherit;
}

.device i {
  font-size: 80px;
 color: #f90000;
  z-index: 2;
}

.device.laptop { 
  width: 64%; 
  height: 48%; 
  left: 8%; 
  bottom: 10%; 
  transform: rotate(-6deg);
  animation: floatY 6s ease-in-out infinite;
}

.device.tablet { 
  width: 72%; 
  height: 54%; 
  right: -4%; 
  top: 6%; 
  transform: rotate(6deg);
  animation: floatY 7.5s ease-in-out infinite 0.3s;
}

.device.phone { 
  width: 26%; 
  height: 48%; 
  right: 8%; 
  bottom: 6%; 
  transform: rotate(-10deg);
  animation: floatY 5.5s ease-in-out infinite 0.6s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-12px) rotate(-6deg); }
}

@keyframes floatYTablet {
  0%, 100% { transform: translateY(0) rotate(6deg); }
  50% { transform: translateY(-12px) rotate(6deg); }
}

@keyframes floatYPhone {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  50% { transform: translateY(-12px) rotate(-10deg); }
}

/* ====== Stats Section ====== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 80px 0;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--grad1), var(--grad2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--muted);
  font-size: 16px;
}

/* ====== Services Section ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--grad1), var(--grad2));
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(0, 194, 255, 0.1));
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  color: var(--grad1);
  font-size: 24px;
}

.service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 15px;
}

.service-features {
  list-style: none;
  margin-top: 20px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

.service-features li i {
  color: var(--grad2);
  font-size: 12px;
}

/* ====== Marquee ====== */
.marquee {
  --speed: 26s;
  margin: 80px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  opacity: 0.9;
}

.track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: scroll var(--speed) linear infinite;
}

.track span {
  color: var(--muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ====== Testimonials ====== */
.testimonials {
  margin-top: 80px;
}

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

.testi {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.testi:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.stars {
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-size: 14px;
}

.testi p {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--ink);
  line-height: 1.6;
}

.testi-client {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad1), var(--grad2));
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: 600;
  font-size: 18px;
}

.client-info .name {
  font-weight: 700;
  font-size: 16px;
}

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

/* ====== Projects Section ====== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  transform: translateY(0);
  transform-style: preserve-3d;
  perspective: 800px;
}

.project-card:hover {
  transform: translateY(-8px) rotateY(3deg) rotateX(-3deg);
  box-shadow: var(--shadow-hover);
}

.project-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 27, 58, 0.8), transparent);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-actions {
  display: flex;
  gap: 12px;
}

.project-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  color: var(--ink);
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

.project-btn:hover {
  transform: translateY(-3px);
  background: var(--grad1);
  color: white;
}

.project-body {
  padding: 20px;
}

.project-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  margin-bottom: 8px;
}

.project-body p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 14px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.project-tag {
  background: var(--bg-alt);
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

/* ====== Process Section ====== */
.process {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 80px 0;
 /* margin: 80px 0;*/
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.process-step:not(:last-child):after {
  content: "";
  position: absolute;
  top: 40px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: linear-gradient(to right, var(--grad1), var(--grad2));
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad1), var(--grad2));
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
}

.step-number:after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed var(--grad1);
  opacity: 0.4;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.process-step h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  margin-bottom: 12px;
}

.process-step p {
  color: var(--muted);
  font-size: 14px;
}

/* ====== Contact Section ====== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(0, 194, 255, 0.1));
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--grad1);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-details h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  margin-bottom: 6px;
}

.contact-details p, .contact-details a {
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition);
}

.contact-details a:hover {
  color: var(--grad1);
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--ink);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--grad1);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

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

/* ====== CTA Section ====== */
.cta {
  text-align: center;
  padding: 80px 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(0, 194, 255, 0.12));
  border: 1px solid var(--border);
 /* margin: 80px 0;*/
}

.cta h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4.2vw, 42px);
  margin: 0 0 16px;
}

.cta p {
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 600px;
}

/* ====== Footer ====== */
.footer {
  background: var(--bg-alt);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--grad1), var(--grad2));
  color: white;
  transform: translateY(-3px);
}

.footer-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--ink);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--grad1);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

/* ====== WhatsApp FAB ====== */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #2ee18d);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.4);
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* ====== Back to Top ====== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 100px;
  z-index: 90;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad1), var(--grad2));
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(124, 58, 237, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* ====== Modal ====== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--card);
  border-radius: 20px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--grad1);
  color: white;
}

.modal-body {
  padding: 40px;
  overflow-y: auto;
  max-height: calc(90vh - 40px);
}

/* ====== Reveal Animations ====== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* ====== Responsive Design ====== */
@media (max-width: 1200px) {
  .stats, .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .process-step:nth-child(2):after {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .btns {
    justify-content: center;
  }
  
  .services-grid, .testi-grid, .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
  }
  
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--card);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 99;
  }
  
  .menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .stats, .process-steps, .services-grid, .testi-grid, .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .process-step:after {
    display: none;
  }
  
  .section {
    padding: 70px 20px;
  }
  
  .vertical-label {
    /*display: none;*/
  }
}

@media (max-width: 640px) {
  .btns {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .cta {
    padding: 60px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
