:root {
  --navy-900: #081b32;
  --navy-800: #0f2d4d;
  --gold-500: #f4c76a;
  --gold-400: #f8d990;
  --sand-100: #fffaf0;
  --slate-200: #dfe7f3;
  --slate-700: #4a5973;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(8, 27, 50, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  color: var(--navy-800);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cairo', 'Inter', sans-serif;
  font-weight: 700;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  backdrop-filter: blur(8px);
  background: rgba(8, 27, 50, 0.90);
}

.navbar {
  padding: 0.9rem 0;
}

.navbar-brand {
  color: var(--white) !important;
  font-size: 1.35rem;
  text-decoration: none;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  box-shadow: var(--shadow);
}

.footer-logo {
  width: 58px;
  height: 58px;
}

.navbar-brand small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12rem;
  opacity: 0.8;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-500), #dca63f);
  color: var(--navy-900);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.uae-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.35rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.nav-link {
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 500;
}

.nav-link:hover {
  color: #fff !important;
}

.hero-section {
  background: linear-gradient(135deg, #0c1d33 0%, #12335c 100%);
  color: var(--white);
}

.carousel-item {
  background-size: cover;
  background-position: center;
}

.hero-slide {
  min-height: 650px;
}

.hero-slide {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  animation: heroGlow 18s ease-in-out infinite alternate;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  backdrop-filter: blur(1px);
}

.hero-slide-1 {
  background:
    radial-gradient(circle at top left, rgba(78, 147, 255, 0.45), transparent 30%),
    radial-gradient(circle at bottom right, rgba(247, 189, 70, 0.35), transparent 28%),
    linear-gradient(120deg, rgba(6, 17, 30, 0.93), rgba(18, 52, 94, 0.72), rgba(10, 30, 56, 0.9));
}

.hero-slide-2 {
  background:
    radial-gradient(circle at top right, rgba(52, 211, 153, 0.4), transparent 30%),
    radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.32), transparent 28%),
    linear-gradient(120deg, rgba(8, 22, 34, 0.94), rgba(33, 78, 103, 0.74), rgba(7, 29, 52, 0.9));
}

.hero-slide-3 {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.38), transparent 30%),
    radial-gradient(circle at bottom right, rgba(251, 191, 36, 0.32), transparent 30%),
    linear-gradient(120deg, rgba(9, 21, 40, 0.96), rgba(15, 44, 79, 0.75), rgba(8, 20, 35, 0.92));
}

@keyframes heroGlow {
  0% {
    filter: saturate(1.05) brightness(0.96);
  }
  100% {
    filter: saturate(1.2) brightness(1.08);
  }
}

.hero-content {
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  max-width: 700px;
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 620px;
  opacity: 0.9;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px rgba(6, 18, 32, 0.2);
  padding: 1rem;
}

.panel-header {
  display: flex;
  gap: 0.5rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1rem;
}

.panel-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}

.panel-body {
  display: grid;
  gap: 0.9rem;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 0.9rem 1rem;
}

.mini-card i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(244, 199, 106, 0.18);
  color: #f8d990;
  font-size: 1.1rem;
}

.mini-card strong {
  display: block;
  color: #fff;
  font-size: 0.97rem;
}

.mini-card small {
  color: rgba(255, 255, 255, 0.76);
}

.hero-topline {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  color: rgba(255, 255, 255, 0.84);
}

.uae-inline,
.hero-inline-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-divider {
  opacity: 0.7;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.feature-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), #d89c2d);
  border: none;
  color: var(--navy-900);
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f7d887, #d29a34);
  color: var(--navy-900);
}

.btn-outline-light {
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  border-color: rgba(255, 255, 255, 0.6);
}

.about-section, .services-section, .apps-section, .portfolio-section, .testimonials-section, .contact-section, .ai-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.tech-card {
  background: #fff;
  border: 1px solid rgba(15, 45, 77, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 2rem 1.4rem;
}

.tech-card h4 {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.tech-card p {
  margin-bottom: 0;
  color: var(--slate-700);
  line-height: 1.7;
}

.tech-badge {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04rem;
}

.tf-badge {
  background: linear-gradient(135deg, rgba(255, 138, 0, 0.18), rgba(255, 193, 7, 0.3));
  color: #f07a00;
}

.hf-badge {
  background: linear-gradient(135deg, rgba(75, 107, 255, 0.18), rgba(120, 138, 255, 0.28));
  color: #3e5fe1;
}

.ai-badge {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.12), rgba(59, 130, 246, 0.24));
  color: var(--navy-900);
}

.ai-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 2.25rem;
}

.ai-stack-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(15, 45, 77, 0.04);
  border: 1px solid rgba(15, 45, 77, 0.08);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  color: var(--navy-800);
}

.badge-pill {
  display: inline-block;
  background: rgba(244, 199, 106, 0.15);
  color: var(--navy-800);
  border: 1px solid rgba(244, 199, 106, 0.4);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
}

.about-section h2, .section-heading h2, .contact-section h2 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stats-grid div {
  background: #fff;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-size: 1.6rem;
  color: var(--navy-900);
}

.stats-grid span {
  font-size: 0.8rem;
  color: var(--slate-700);
}

.about-visual {
  position: relative;
  min-height: 420px;
  background: linear-gradient(135deg, rgba(15, 45, 77, 0.06), rgba(244, 199, 106, 0.18));
  border-radius: 32px;
  border: 1px solid rgba(15, 45, 77, 0.08);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 1.25rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--navy-900);
}

.floating-card i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 199, 106, 0.22);
  color: var(--navy-900);
}

.card-one { top: 16%; left: 12%; }
.card-two { top: 42%; right: 10%; }
.card-three { bottom: 12%; left: 18%; }

.service-card, .portfolio-tile, .app-card, .testimonials-section .testimonial-block, .contact-form {
  background: #fff;
  border: 1px solid rgba(15, 45, 77, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.service-card {
  padding: 2rem 1.5rem;
}

.icon-wrap {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(244, 199, 106, 0.2), rgba(15, 45, 77, 0.08));
  color: var(--navy-900);
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

.apps-section {
  background: linear-gradient(180deg, #eef4fb 0%, #ffffff 100%);
}

.app-card {
  padding: 1.5rem;
  text-align: center;
}

.phone-preview {
  width: 140px;
  height: 220px;
  margin: 0 auto 1.25rem;
  border-radius: 36px;
  box-shadow: inset 0 0 0 8px rgba(15, 45, 77, 0.06), 0 12px 28px rgba(8, 27, 50, 0.15);
  background-size: cover;
  background-position: center;
}

.phone-one { background: linear-gradient(135deg, #1f4d7a, #90d8ff); }
.phone-two { background: linear-gradient(135deg, #e4a834, #f8d990); }
.phone-three { background: linear-gradient(135deg, #1f2a44, #7aa0d8); }

.app-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.badge-item img {
  height: 60px;
  width: auto;
  border-radius: 12px;
}

.portfolio-tile {
  text-align: center;
  padding: 2rem 1rem;
}

.portfolio-tile i {
  font-size: 2rem;
  color: var(--gold-500);
  margin-bottom: 1rem;
}

.testimonial-carousel {
  margin-top: 2rem;
}

.testimonial-block {
  max-width: 850px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  text-align: center;
}

.testimonial-block p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--navy-800);
}

.testimonial-block h5 {
  color: var(--navy-900);
  margin-top: 1rem;
}

.contact-form {
  padding: 2rem;
}

.form-control {
  border-radius: 14px;
  border: 1px solid rgba(15, 45, 77, 0.12);
  padding: 0.8rem 0.9rem;
  background: #f9fbff;
}

.form-control:focus {
  border-color: rgba(15, 45, 77, 0.4);
  box-shadow: 0 0 0 0.2rem rgba(15, 45, 77, 0.12);
}

.contact-points {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.contact-points li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--navy-800);
}

.contact-points i {
  color: var(--gold-500);
}

.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4rem;
  padding-bottom: 1rem;
}

.brand-wrap {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.brand-wrap .brand-mark {
  width: 46px;
  height: 46px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a, .footer-links li {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--navy-900);
  background: var(--gold-500);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
}

@media (max-width: 767.98px) {
  .hero-content {
    padding-top: 4.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form {
    padding: 1.25rem;
  }
}