:root {
  --bg: #050816;
  --bg-alt: #0b1026;
  --bg-soft: #111936;
  --surface: #18224b;
  --surface-light: rgba(255, 255, 255, 0.08);
  --surface-lighter: rgba(255, 255, 255, 0.14);
  --text-primary: #f5f7ff;
  --text-secondary: #aab7d9;
  --text-muted: #7c8bb2;
  --accent: #4be9f5;
  --accent-strong: #7d6bff;
  --accent-gradient: linear-gradient(135deg, #4be9f5 0%, #7d6bff 45%, #ff7edb 100%);
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text-secondary);
  font-family: "Manrope", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  font-size: 16px;
  scroll-behavior: smooth;
}

a {
  color: var(--accent);
  transition: 0.3s ease;
}

a:hover,
a:focus {
  color: #8af3ff;
  text-decoration: none;
}

p {
  margin-bottom: 24px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary);
  font-family: "Poppins", "Manrope", sans-serif;
  font-weight: 600;
  margin-bottom: 18px;
}

section {
  padding: 110px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-highlight {
  background: linear-gradient(160deg, #0b1026 0%, #1a2855 70%, #251c53 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h3 {
  font-size: 34px;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.section-header p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 18px;
}

/* Header */
#header {
  height: 86px;
  padding: 18px 0;
  background: rgba(5, 8, 22, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
  backdrop-filter: blur(16px);
  z-index: 997;
}

#header.header-scrolled {
  background: rgba(5, 8, 22, 0.98);
  padding: 14px 0;
  box-shadow: 0 18px 45px rgba(7, 12, 34, 0.45);
}

.brand-wordmark {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1.6px;
  color: var(--text-primary);
  text-transform: uppercase;
}

#header .logo img {
  max-height: 44px;
  margin-right: 12px;
}

.main-nav,
.main-nav * {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav > ul {
  display: flex;
  align-items: center;
}

.main-nav > ul > li {
  margin-left: 18px;
}

.main-nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 12px 16px;
  border-radius: 999px;
  transition: 0.3s ease;
}

.main-nav a:hover,
.main-nav .active > a,
.main-nav li:hover > a {
  color: var(--text-primary);
  background: rgba(75, 233, 245, 0.16);
}

/* Mobile navigation */
.mobile-nav-toggle {
  position: fixed;
  top: 22px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background-image: var(--accent-gradient);
  color: #050816;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 45px rgba(75, 233, 245, 0.35);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.mobile-nav-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(75, 233, 245, 0.35);
}

.mobile-nav-toggle i {
  font-size: 20px;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  bottom: 0;
  width: 280px;
  padding: 90px 28px 40px;
  background: rgba(5, 8, 22, 0.98);
  box-shadow: -24px 0 70px rgba(5, 10, 35, 0.65);
  transition: right 0.35s ease;
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav * {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav a {
  display: block;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 12px 18px;
  border-radius: 12px;
  color: var(--text-secondary);
  transition: 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav .active > a {
  color: var(--text-primary);
  background: rgba(75, 233, 245, 0.16);
}

.mobile-nav-overly {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 22, 0.78);
  display: none;
  z-index: 998;
}

body.mobile-nav-active {
  overflow: hidden;
}

body.mobile-nav-active .mobile-nav {
  right: 0;
}

body.mobile-nav-active .mobile-nav-toggle {
  transform: rotate(90deg);
}

body.mobile-nav-active .mobile-nav-overly {
  display: block;
}

/* Hero */
#intro {
  position: relative;
  padding: 180px 0 140px 0;
  background: radial-gradient(circle at 0% 0%, rgba(75, 233, 245, 0.22), rgba(8, 10, 40, 0))
      , radial-gradient(circle at 90% 10%, rgba(125, 107, 255, 0.25), rgba(8, 10, 40, 0))
      , var(--bg);
}

#intro:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8, 12, 45, 0.65) 0%, rgba(6, 10, 31, 0.9) 100%);
  z-index: 0;
}

#intro .container,
#intro .row,
#intro .hero-content,
#intro .hero-visual {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 54px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-content p {
  color: var(--text-secondary);
  font-size: 19px;
  max-width: 580px;
}

.hero-content .eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 18px;
}

.btn-get-started,
.btn-outline {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 999px;
  transition: 0.35s ease;
  border: 2px solid transparent;
}

.btn-get-started {
  background-image: var(--accent-gradient);
  color: #0a0d22;
  box-shadow: 0 20px 60px rgba(75, 233, 245, 0.25);
}

.btn-get-started:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 70px rgba(125, 107, 255, 0.3);
  color: #050816;
}

.btn-outline {
  margin-left: 12px;
  color: var(--text-primary);
  border-color: rgba(148, 161, 226, 0.4);
  background: transparent;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-highlights {
  padding-left: 20px;
  color: var(--text-secondary);
}

.hero-highlights li {
  margin-bottom: 8px;
}

.hero-visual {
  background: linear-gradient(160deg, rgba(19, 27, 62, 0.9) 0%, rgba(32, 21, 69, 0.9) 100%);
  padding: 26px;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 26px 80px rgba(11, 16, 43, 0.55);
}

.hero-visual:after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-artwork {
  width: 100%;
  border-radius: 20px;
}

.hero-badge {
  position: absolute;
  left: 32px;
  bottom: 34px;
  background: rgba(5, 8, 22, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px 20px;
  color: var(--text-primary);
  box-shadow: 0 18px 40px rgba(5, 12, 40, 0.5);
}

.hero-badge.secondary {
  top: 32px;
  bottom: auto;
  right: 34px;
  left: auto;
  background: rgba(75, 233, 245, 0.12);
}

.hero-badge span {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-badge strong {
  font-size: 20px;
  color: var(--accent);
}

/* About */
#about .content p {
  font-size: 17px;
}

.pillars-list {
  padding-left: 20px;
  margin-bottom: 26px;
}

.pillars-list li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.signature-block {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  color: var(--text-secondary);
}

.signature-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 18px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.metric-card {
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(16, 24, 58, 0.9), rgba(30, 21, 68, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(7, 12, 35, 0.45);
  text-align: left;
}

.metric-card strong {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
}

.metric-card span {
  color: var(--text-secondary);
  font-size: 15px;
}

/* Capabilities */
#capabilities {
  background: radial-gradient(circle at 10% 20%, rgba(75, 233, 245, 0.18), transparent 55%), var(--bg);
}

.capability-card {
  height: 100%;
  background: linear-gradient(160deg, rgba(14, 19, 45, 0.9) 0%, rgba(27, 16, 59, 0.9) 100%);
  border-radius: 22px;
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 22px 60px rgba(5, 11, 34, 0.45);
  transition: transform 0.35s ease, border 0.35s ease;
}

.capability-card:hover {
  transform: translateY(-8px);
  border-color: rgba(75, 233, 245, 0.45);
}

.capability-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 18px;
  font-size: 26px;
  color: var(--text-primary);
  background-image: var(--accent-gradient);
  box-shadow: 0 14px 30px rgba(75, 233, 245, 0.35);
}

.capability-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

.team-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card .team-photo {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  border: 3px solid rgba(75, 233, 245, 0.4);
  box-shadow: 0 18px 40px rgba(8, 13, 42, 0.65);
}

.team-card .team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card .role {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

.team-card .team-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  transition: 0.3s ease;
}

.team-card .team-email::before {
  content: "\f0e0";
  font-family: 'FontAwesome';
  font-size: 14px;
  color: var(--accent);
}

.team-card .team-email:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.14);
}

/* Solutions */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.solution-card {
  background: rgba(9, 14, 38, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 32px 30px;
  box-shadow: 0 25px 70px rgba(8, 10, 36, 0.55);
}

.solution-card h4 {
  font-size: 24px;
  margin-bottom: 12px;
}

.solution-card p {
  color: var(--text-secondary);
  font-size: 16px;
}

.solution-card ul {
  margin-top: 16px;
  padding-left: 20px;
}

.solution-card li {
  margin-bottom: 8px;
  color: var(--text-muted);
}

/* Portfolio */
#portfolio {
  background: var(--bg);
}

#portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 40px auto;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

#portfolio #portfolio-flters li {
  cursor: pointer;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(17, 25, 54, 0.8);
  color: var(--text-secondary);
  font-size: 14px;
  transition: 0.3s ease;
}

#portfolio #portfolio-flters li.filter-active,
#portfolio #portfolio-flters li:hover {
  background-image: var(--accent-gradient);
  color: #050816;
}

.portfolio-item {
  margin-bottom: 30px;
}

.portfolio-wrap {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 70px rgba(6, 11, 32, 0.55);
}

.portfolio-wrap img {
  width: 100%;
  display: block;
}

.portfolio-info {
  padding: 24px 26px 28px 26px;
}

.portfolio-info h4 {
  font-size: 22px;
  margin-bottom: 6px;
}

.portfolio-info p {
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.portfolio-meta span {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Insights */
.insight-card {
  background: linear-gradient(150deg, rgba(16, 23, 58, 0.92) 0%, rgba(33, 16, 63, 0.92) 100%);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
  box-shadow: 0 20px 60px rgba(4, 9, 30, 0.5);
  transition: transform 0.35s ease;
}

.insight-card:hover {
  transform: translateY(-6px);
}

.insight-card h4 {
  font-size: 22px;
}

.insight-card p {
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.insight-tag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 1.4px;
  background: rgba(75, 233, 245, 0.12);
  color: var(--accent);
}

/* Testimonials */
#testimonials .section-header h3 {
  color: #fff;
}

.testimonial-item {
  background: rgba(5, 8, 22, 0.78);
  border-radius: 28px;
  padding: 36px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(5, 8, 26, 0.6);
}

.testimonial-item h3 {
  font-size: 20px;
  margin-bottom: 18px;
}

.testimonial-item p {
  color: var(--text-secondary);
  font-size: 17px;
  font-style: italic;
}

/* Clients */
#clients {
  background: var(--bg);
}

.clients-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 0;
  justify-content: center;
}

.client-logo {
  background: rgba(16, 22, 48, 0.9);
  border-radius: 18px;
  padding: 22px 32px;
  margin: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, border 0.3s ease;
}

.client-logo img {
  max-height: 42px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.3s ease;
}

.client-logo:hover img {
  opacity: 1;
}

.client-logo:hover {
  transform: translateY(-6px);
  border-color: rgba(75, 233, 245, 0.4);
}

/* Contact */
#contact {
  background: linear-gradient(150deg, #080d29 0%, #0f1d41 60%, #1f0f46 100%);
}

.contact-cards {
  display: grid;
  gap: 18px;
}

.contact-card {
  background: rgba(7, 12, 36, 0.85);
  border-radius: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  box-shadow: 0 20px 50px rgba(4, 8, 24, 0.55);
}

.contact-card h4 {
  color: var(--text-primary);
  margin-bottom: 10px;
}

.contact-card span {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-weight: 600;
}

.contact-email {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}

.contact-email i {
  font-size: 20px;
  color: var(--accent);
}

.form .form-control {
  background: rgba(10, 15, 35, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-radius: 14px;
  padding: 12px 16px;
}

.form .form-control:focus {
  box-shadow: none;
  border-color: rgba(75, 233, 245, 0.6);
  background: rgba(7, 12, 30, 0.95);
}

.form .form-control::placeholder {
  color: rgba(168, 183, 221, 0.6);
}

.form button[type="submit"] {
  border: none;
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  background-image: var(--accent-gradient);
  color: #050816;
  transition: transform 0.35s ease;
  box-shadow: 0 20px 60px rgba(75, 233, 245, 0.3);
}

.form button[type="submit"]:hover {
  transform: translateY(-3px);
}

/* Footer */
#footer {
  background: #040612;
  color: var(--text-secondary);
  font-size: 15px;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: linear-gradient(180deg, rgba(9, 13, 33, 0.95) 0%, rgba(4, 6, 18, 1) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#footer .footer-info h3 {
  font-size: 24px;
}

#footer .footer-links ul {
  list-style: none;
  padding: 0;
}

#footer .footer-links ul li {
  padding: 6px 0;
}

#footer .footer-links ul li a {
  color: var(--text-secondary);
}

#footer .footer-links ul li a:hover {
  color: var(--accent);
}

#footer .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  margin-right: 10px;
}

#footer .social-links a:hover {
  background-image: var(--accent-gradient);
  color: #050816;
}

#footer .footer-bottom {
  padding: 24px 0 40px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

/* Back to top */
.back-to-top {
  position: fixed;
  display: none;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  background-image: var(--accent-gradient);
  color: #050816;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  box-shadow: 0 16px 40px rgba(75, 233, 245, 0.35);
  z-index: 999;
}

.back-to-top i {
  line-height: 46px;
}

@media (min-width: 992px) {
  .mobile-nav,
  .mobile-nav-toggle,
  .mobile-nav-overly {
    display: none !important;
  }
}

/* Responsive */
@media (max-width: 1199px) {
  .hero-content h1 {
    font-size: 48px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  #intro {
    padding-top: 140px;
  }

  #header .logo img {
    max-height: 40px;
  }

  .hero-visual {
    margin-top: 40px;
  }

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

@media (max-width: 767px) {
  section {
    padding: 80px 0;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 14px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-wrap {
    border-radius: 22px;
  }

  #footer .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .section-header h3 {
    font-size: 28px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-badge,
  .hero-badge.secondary {
    position: static;
    display: inline-block;
    margin: 14px 8px 0 0;
  }

  .hero-visual {
    text-align: center;
  }

  .solutions-grid {
    gap: 20px;
  }
}
