:root {
      --primary: #2563eb;
      --primary-light: #dbeafe;
      --primary-dark: #1d4ed8;
      --accent: #22c55e;
      --bg: #0b1220;
      --bg-alt: #020617;
      --text: #e5e7eb;
      --muted: #9ca3af;
      --card-bg: #020617;
      --border: #1f2937;
      --radius-lg: 18px;
      --radius-md: 12px;
      --radius-pill: 999px;
      --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.6);
      --shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.4);
      --transition-fast: 180ms ease-out;
    }

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

    body {
      font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      background: radial-gradient(circle at top, #0f172a 0, #020617 45%, #000 100%);
      color: var(--text);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .page-wrapper {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .container {
      width: 100%;
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 1.25rem;
    }

    /* Header */
    header {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(14px);
      background: linear-gradient(to bottom, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.82), transparent);
      border-bottom: 1px solid rgba(30, 64, 175, 0.2);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 0.25rem;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: -40px;
      margin-bottom: -40px;

    }

    nav ul {
      display: flex;
      gap: 1.5rem;
      list-style: none;
      font-size: 0.9rem;
    }

    nav a {
      position: relative;
      color: var(--muted);
      transition: color var(--transition-fast);
    }

    nav a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -0.25rem;
      width: 0;
      height: 2px;
      border-radius: 999px;
      background: linear-gradient(to right, var(--primary), var(--accent));
      transition: width 180ms ease-out;
    }

    nav a:hover {
      color: var(--text);
    }

    nav a:hover::after {
      width: 100%;
    }

    .nav-cta {
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .pill-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.2rem 0.65rem;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(148, 163, 184, 0.4);
      font-size: 0.7rem;
      color: var(--muted);
      background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.2), rgba(15, 23, 42, 0.9));
    }

    .pill-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: #22c55e;
      box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      border-radius: var(--radius-pill);
      padding: 0.55rem 1.15rem;
      font-size: 0.85rem;
      font-weight: 500;
      border: 1px solid transparent;
      cursor: pointer;
      transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
      white-space: nowrap;
    }

    .btn-primary {
      background: linear-gradient(135deg, #2563eb, #22c55e);
      color: #e5e7eb;
      box-shadow: 0 16px 35px rgba(37, 99, 235, 0.55);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 20px 45px rgba(37, 99, 235, 0.75);
    }

    .btn-outline {
      background: transparent;
      border-color: rgba(148, 163, 184, 0.5);
      color: var(--muted);
    }

    .btn-outline:hover {
      border-color: rgba(59, 130, 246, 0.8);
      color: var(--text);
      background: radial-gradient(circle at top, rgba(37, 99, 235, 0.18), transparent);
    }

    /* Hero */
    main {
      flex: 1;
    }

    .hero {
      padding: 4.5rem 0 3.5rem;
    }

    .hero-inner {
      display: grid;
      grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
      gap: 3.5rem;
      align-items: center;
    }

    .hero-kicker {
      margin-bottom: 1.1rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      flex-wrap: wrap;
    }

    .hero-kicker span {
      font-size: 0.75rem;
      color: var(--muted);
    }

    .hero-title {
      font-size: clamp(2.35rem, 4vw, 3.2rem);
      line-height: 1.11;
      font-weight: 600;
      margin-bottom: 0.85rem;
      letter-spacing: 0.02em;
    }

    .hero-title span.gradient {
      background: linear-gradient(135deg, #60a5fa, #22c55e);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero-subtitle {
      font-size: 0.96rem;
      color: var(--muted);
      max-width: 32rem;
      margin-bottom: 1.6rem;
    }

    .hero-cta {
      display: flex;
      align-items: center;
      gap: 0.9rem;
      flex-wrap: wrap;
      margin-bottom: 1.5rem;
    }

    .hero-note {
      font-size: 0.8rem;
      color: var(--muted);
    }

    .hero-note strong {
      font-weight: 500;
      color: #e5e7eb;
    }

    .hero-secondary {
      display: flex;
      gap: 1.5rem;
      align-items: center;
      flex-wrap: wrap;
    }

    .hero-secondary-item {
      font-size: 0.8rem;
      color: var(--muted);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .hero-badge-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: #38bdf8;
    }

    /* Hero visual */
    .hero-visual {
      position: relative;
    }

    .glass-panel {
      background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), rgba(15, 23, 42, 0.95));
      border-radius: 26px;
      border: 1px solid rgba(148, 163, 184, 0.4);
      padding: 1.4rem 1.35rem;
      box-shadow: var(--shadow-soft);
      position: relative;
      overflow: hidden;
    }

    .glass-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at -10% -20%, rgba(56, 189, 248, 0.2), transparent 55%);
      pointer-events: none;
    }

    .glass-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.2rem;
    }

    .glass-dots {
      display: flex;
      gap: 0.3rem;
    }

    .glass-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: #1f2937;
    }

    .glass-dot:nth-child(1) { background: #f97373; }
    .glass-dot:nth-child(2) { background: #fbbf24; }
    .glass-dot:nth-child(3) { background: #34d399; }

    .glass-title {
      font-size: 0.78rem;
      color: var(--muted);
    }

    .stacked-cards {
      display: grid;
      gap: 0.8rem;
    }

    .card {
      border-radius: var(--radius-lg);
      padding: 0.9rem 1rem;
      background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.15), rgba(15, 23, 42, 0.95));
      border: 1px solid rgba(30, 64, 175, 0.6);
      box-shadow: var(--shadow-subtle);
    }

    .card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.4rem;
    }

    .card-title {
      font-size: 0.85rem;
      font-weight: 500;
    }

    .card-tag {
      font-size: 0.68rem;
      padding: 0.18rem 0.5rem;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(148, 163, 184, 0.5);
      color: var(--muted);
    }

    .card-body {
      font-size: 0.78rem;
      color: var(--muted);
    }

    .metrics-row {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-top: 0.5rem;
      font-size: 0.7rem;
      color: var(--muted);
    }

    .metric-value {
      font-size: 0.9rem;
      font-weight: 500;
      color: #e5e7eb;
    }

    .pill-metric {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.15rem 0.55rem;
      border-radius: var(--radius-pill);
      background: rgba(34, 197, 94, 0.12);
      color: #bbf7d0;
      font-size: 0.7rem;
    }

    .pill-metric span {
      font-size: 0.9rem;
    }

    .future-note {
      margin-top: 0.7rem;
      font-size: 0.75rem;
      color: var(--muted);
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .future-tag {
      font-size: 0.7rem;
      padding: 0.1rem 0.6rem;
      border-radius: var(--radius-pill);
      border: 1px dashed rgba(148, 163, 184, 0.5);
    }

    .floating-badge {
      position: absolute;
      right: 20px;
      bottom: 20px;
      transform: translateY(-40%);
      border-radius: var(--radius-lg);
      padding: 0.8rem 1.2rem;
      max-width: 16rem;
      background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.25), rgba(15, 23, 42, 0.98));
      border: 1px solid rgba(34, 197, 94, 0.5);
      font-size: 0.72rem;
      color: var(--muted);
      box-shadow: 0 18px 40px rgba(22, 163, 74, 0.5);
    }

    .floating-badge strong {
      color: #bbf7d0;
      font-weight: 500;
      display: block;
    font-size: 0.78rem;
    line-height: 1.4;
    margin-bottom: 0.3rem;

    }

    .floating-badge span {
      display: block;
      font-size: 0.7rem;
      line-height: 1.4;
      color: #9ca3af;
      margin-top: 0.15rem;
    }

    /* Services section */
    .section {
      padding: 0 0 4rem;
    }

    .section-header {
      text-align: center;
      margin-bottom: 2.4rem;
    }

    .section-kicker {
      font-size: 0.8rem;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.18em;
      margin-bottom: 0.4rem;
    }

    .section-title {
      font-size: 1.4rem;
      margin-bottom: 0.4rem;
    }

    .section-subtitle {
      font-size: 0.9rem;
      color: var(--muted);
      max-width: 30rem;
      margin: 0 auto;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.25rem;
    }

    .service-card {
      background: radial-gradient(circle at top, rgba(30, 64, 175, 0.22), rgba(15, 23, 42, 0.98));
      border-radius: var(--radius-lg);
      border: 1px solid rgba(30, 64, 175, 0.6);
      padding: 1.1rem 1.1rem 1.2rem;
      box-shadow: var(--shadow-subtle);
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
    }

    .service-icon {
      width: 28px;
      height: 28px;
      border-radius: 999px;
      background: radial-gradient(circle at 40% 0, #60a5fa, #1e40af);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
    }

    .service-title {
      font-size: 0.95rem;
      font-weight: 500;
    }

    .service-body {
      font-size: 0.8rem;
      color: var(--muted);
      flex: 1;
    }

    .service-tag {
      font-size: 0.72rem;
      padding: 0.2rem 0.6rem;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(148, 163, 184, 0.5);
      align-self: flex-start;
      color: var(--muted);
    }

    /* CTA section */
    .cta {
      padding-bottom: 3rem;
    }

    .cta-box {
      border-radius: 22px;
      padding: 1.6rem 1.4rem;
      background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.35), rgba(15, 23, 42, 0.98));
      border: 1px solid rgba(59, 130, 246, 0.7);
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1.2rem;
      box-shadow: var(--shadow-soft);
    }

    .cta-text-main {
      font-size: 1rem;
      font-weight: 500;
      margin-bottom: 0.25rem;
    }

    .cta-text-sub {
      font-size: 0.84rem;
      color: var(--muted);
    }

    .cta-actions {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      flex-wrap: wrap;
    }

    .cta-contact {
      font-size: 0.8rem;
      color: var(--muted);
    }

    .cta-contact span {
      color: #e5e7eb;
    }

    /* Footer */
    footer {
      border-top: 1px solid rgba(15, 23, 42, 0.9);
      background: linear-gradient(to top, #020617, rgba(15, 23, 42, 0.9));
      padding: 1.4rem 0;
    }

    .footer-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
      font-size: 0.78rem;
      color: var(--muted);
    }

    .footer-links {
      display: flex;
      gap: 1.1rem;
      flex-wrap: wrap;
    }

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

    .footer-links a:hover {
      color: #e5e7eb;
    }

    /* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text);
  margin: 2px 0;
  transition: 0.3s;
  border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    padding: 0 2rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav {
    position: relative;
    justify-content: center;
  }

  .logo {
    height: 150px;
    width: 150px;
    margin-top: -40;
    margin-bottom: -40;
  }

  .mobile-menu-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .lang-switch{
    display: flex;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--card-bg);
    border-right: 1px solid var(--border);
    transition: left 0.3s ease;
    z-index: 1000;
    padding: 6rem 2rem 2rem;
    overflow-y: auto;
  }

  nav.active {
    left: 0;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  nav ul li a {
    font-size: 1.1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
    color: var(--text);
  }

  nav ul li a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: white;
  }

  .nav-cta {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .hero {
    padding-top: 3.2rem;
    padding-bottom: 4rem;
  }

  .hero-visual {
    order: 1;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 2rem 0 3rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .service-card {
    padding: 1.5rem;
  }

  .cta-box {
    padding: 1.5rem 1rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .service-card,
  .pricing-card,
  .portfolio-card {
    padding: 1.25rem;
  }

  .modal-content {
    padding: 1.5rem;
    max-width: calc(100vw - 2rem);
  }

  .modal-title {
    font-size: 1.3rem;
  }

  .modal-form input,
  .modal-form textarea {
    padding: 0.8rem;
    font-size: 0.95rem;
  }
  .lang-switch {
    display: flex;
    justify-content: left;
    margin-left: 0px;
  
  }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Base */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}


.modal.active {
  display: flex;
}


.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}

.modal-content {
  position: relative;
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  width: 100%;
  max-width: 520px;
  overflow-y: auto;
  z-index: 101;
  animation: fadeIn 0.25s ease-out;
}


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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

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

.modal-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.modal-form .form-group {
  margin-bottom: 1.2rem;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #0f172a;
  color: var(--text);
  font-size: 1rem;
  transition: border var(--transition-fast), background var(--transition-fast);
}

.modal-form input:focus,
.modal-form textarea:focus {
  border-color: var(--primary);
  background: #0b1220;
  outline: none;
}

.cta-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.social-link svg {
  transition: opacity 0.2s ease;
}

.social-link:hover svg {
  opacity: 0.7;
}

/* Portfolio Grid */
/* Portfolio Grid */
.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Portfolio Card */
.portfolio-card {
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.22), rgba(15, 23, 42, 0.98));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30, 64, 175, 0.6);
  padding: 1.1rem 1.1rem 1.2rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* Image */
.portfolio-image img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* Title */
.portfolio-title {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Body */
.portfolio-body {
  font-size: 0.8rem;
  color: var(--muted);
  flex: 1;
}

/* Link */
.portfolio-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: #60a5fa;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.portfolio-link:hover {
  opacity: 0.7;
}

.lang-switch button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  cursor: pointer;
  margin-left: 8px;
  color: var(--text);
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
  z-index: 1000;
  position: relative;
}

.lang-switch button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.featured {
  border: 2px solid #6c5cff;
  transform: scale(1.05);
}

.about-text {
  font-size: 1rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  margin-top: 4rem;
  max-width: 700px;
  text-align: center;
  padding: 1rem;
}

